.portfolio_title .img_cover {
    position: absolute;
    background-color: #629922;
    width: 100%;
    height: 140px;
    opacity: 0.6;
}

/* image List */
.content {
    width: 72.265%;
}

.content .image_wrapper {
    display: inline-block;
    cursor: pointer;
    width: 22.8%;
    height: 210px;
    margin-bottom: 30px;
    background-color: #dbdbdb;
    vertical-align: middle;
    overflow: hidden;
}

.content .image_wrapper img {
    width: 100%;
    height: 100%;
    /*-moz-transition: all 1s;*/
    /*-webkit-transition: all 1s;*/
    /*transition: all 1s;*/
}

.content .image_wrapper:hover img {
    /*-moz-transform: scale(1.1);*/
    /*-webkit-transform: scale(1.1);*/
    /*transform: scale(1.1);*/
    /*opacity: 0.8;*/
    background-color: black;
}

.content .image_wrapper {
    border-radius: 2px;
    margin-right: 2%; /*2.5%*/
}

.content .image_wrapper:nth-child(4n) {
    margin-right: 0;
}

.content .image_wrapper:hover {
    opacity: 0.9;
}
/*modal*/
.carousel-inner img{
    width: 100%;
    height: 100%;
}
.modal-title{
    font-size: 20px;
}
/* Modal: center */
.modal {
        text-align: center;
}
 
@media screen and (min-width: 768px) { 
        .modal:before {
                display: inline-block;
                vertical-align: middle;
                content: " ";
                height: 100%;
        }
}
 
.modal-dialog {
        display: inline-block;
        text-align: left;
        vertical-align: middle;
}

.thumbnail {margin-bottom:6px;}

.carousel-control.left,.carousel-control.right{
    background-image:none;
    margin-top:10%;
    width:5%;
}

/* Style the tab */
div.tab {
    overflow: hidden;
    border-bottom: 1px solid #e6e6e6;
}

/* Style the buttons inside the tab */
div.tab button {
    /*background-color: inherit;*/
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px 0;
    margin-right: 5px;
    width: 17.801%;
    transition: 0.3s;
    border-radius: 3px;
    color: #787878;
    background-color: #fafafa;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #e6e6e6;
    color: #969696;
}

/* Create an active/current tablink class */
div.tab button.active {
    background-color: #147d4b;
    color: #ffffff;
}
div.tab button.active:hover{
    background-color: #469169;
    color: #ffffff;
}
/* Style the tab content */
.tabcontent {
    display: none;
    font-size: 16px;
    padding: 6px 12px;
    /*border: 1px solid #e6e6e6;*/
    border-radius: 5px;
    border-top: none;
}

/* Image Empty*/
.img_empty_container{
    padding: 10px;
}
.img_empty{
    text-align: center;
}
.img_empty.img{
    position: relative;
    margin-left: 50%;
    width: 15%;
    left: -7.5%;
}
.img_empty.text{
    font-size: 15px;
    color: #787878;
}

@media ( max-width: 767px) {
    div.tab button {
        width: 30%;
    }
    .content .image_wrapper {
        width: 100%;
        height: auto;
    }
}