/*
 Theme Name:   Enfold Child
 Description:  A custom child theme based on the Enfold Theme
 Author:       Caorda Web Solutions
 Author URI:   http://www.caorda.com/
 Template:     enfold
 Version:      1.0.0
 Text Domain:  enfold-child
*/

/* Our Team Archive */
.our-team-wrapper .container{
    max-width: 1100px;
}
.our-team-header{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.our-team-header--overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-color: #2b475b;
}
.our-team-title{
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}
.our-team-content{
    background-color: #fff;
    width: 100%;
    padding: 75px 0;
}
.our-team-description{
    display: block;
    margin: auto;
    max-width: 800px;
}
.our-team-single-item{
    display: block;
    margin-bottom: 40px;
}
.our-team-single-item a{
    color: #2b475b;
}
.our-team-single-item a:hover .our-team-single-item--overlay{
    opacity: 1;
}
.our-team-single-item--thumbnail-wrapper{
    position: relative;
}
.our-team-single-item--thumbnail{
    display: block;
    width: 100%;
    height: 0;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 15px;
    position: relative;
    filter: grayscale(100%);
}
.our-team-single-item--overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: rgba(189, 145, 46, .85);
    transition: all 150ms ease-in-out;
    opacity: 0;
    font-family: Lora,serif;
    z-index: 1;
}
.our-team-single-item--overlay span{
    position: relative;
    display: block;
    font-size: 21px;
}
.our-team-single-item--overlay span:before{
    content: "";
    width: 50px;
    height: 50px;
    display: block;
    margin: auto;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpath d='M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z' fill='%23fff'/%3E%3C/svg%3E");
    background-position: center;
    background-size: contain;
    margin-bottom: 30px;
}
.our-team-posts-container{
    padding-top: 50px;
}
.our-team-filters{
    padding-top: 50px;
}
.our-team-filters ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #2b475b;
    flex-direction: column;
}
.our-team-filters ul li{
    width: 100%;
    border-top: 1px solid #2b475b;
    text-align: center;
}
.our-team-filters ul li:last-of-type{
    margin-right: 0;
}
.our-team-filters ul li a{
    color: #2b475b;
    font-family: Lora,serif;
    font-size: 20px;
    display: block;
    width: 100%;
    border-bottom: 2px solid transparent;
    transition: all 150ms ease-in-out;
    padding-bottom: 5px;
}
.our-team-filters ul li a:hover{
    border-bottom-color: #bd912e;
}
.our-team-filters ul li a.active{
    color: #bd912e
}
@media (min-width: 768px){
    .our-team-posts-container{
        display: flex;
        flex-wrap: wrap;
        margin-left: -15px;
        margin-right: -15px;
    }
    .our-team-single-item{
        width: 50%;
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (min-width: 860px) {
    .our-team-filters ul{
        flex-direction: row;
    }
    .our-team-filters ul li{
        display: inline-block;
        margin-right: 30px;
        border-top: 0;
        width: initial;
    }
    .our-team-filters ul li a.active{
        color: #2b475b;
        border-bottom-color: #bd912e;
    }
}
@media (min-width: 1080px) {
    .our-team-single-item{
        width: 33.3333333%;
    }
    .our-team-filters ul li{
        margin-right: 60px;
    }    
}

/* Our Team Single Posts */
.team-single-wrapper{
    background-color: #fff;
    padding-top: 100px;
}
.team-single-wrapper .container{
    max-width: 1100px;
}
.team-single-content{
    max-width: 800px;
    margin: auto;
}
.team-single-header{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.team-single-headings{
    background-color: #efefef;
    width: 100%;
    display: flex;
    padding: 15% 50px;
    flex-direction: column;   
}
.team-single-featured-image{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 0;
    padding-top: 75%;    
}
h1.team-single-title{
    font-size: 34px !important;
    margin-bottom: 0;
    color: #2b475b;
    font-family: Lora,serif;
    margin-bottom: 5px;
}
.team-single-position{
    color: #2b475b;
    font-family: Lora,serif;
    margin-bottom: 20px;
    font-size: 21px;
}
.team-single-job-title{
    font-size: 21px;
    color: #2b475b;
}
.team-single-form{
    text-align: center;
    padding: 50px 0;
    margin-top: 75px;
    background-color: #f8f8f8;
}
.team-single-form .gform_wrapper{
    max-width: 600px;
    display: block;
    margin: auto;
}
.team-single-form .gform_wrapper .gfield input[type=tel],
.team-single-form .gform_wrapper .gfield input[type=email]{
    border: 1px solid #eee !important;
    color: #2c2c2c !important;
    padding: 12px 22px !important;
}
.team-single-prefooter{
    text-align: center;
    background-color: #2b475b;
    color: #fff;
    padding-top: 130px;
    padding-bottom: 130px;
}
.team-single-prefooter h2{
    margin-bottom: 40px;
}
body.single-team .footer-page-content #av_section_1{
    display: none;
}
@media (min-width: 768px) {
    .team-single-featured-image{
        width: 50%;
        height: auto;
        padding-top: 0;
    }
    .team-single-headings{
        width: 50%;  
    }    
}