/**** IMPORT TO ACF CSS ******/

.employee_container{
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 250px 250px 250px;
        grid-template-columns: 250px 250px 250px;
    -ms-grid-rows: 250px;
        grid-template-rows: 250px;
    grid-gap: 50px;
    padding: 0;
    width: 62.3%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0 auto;
    padding: 80px 0px;
    -webkit-transition: max-width .5s ease;
    -o-transition: max-width .5s ease;
    transition: max-width .5s ease;
}

.employee_gallery .left-line{
    height: 500px;
    width: 95.1%;
    position: absolute;
    right: 0;
    border-left: 2px solid #fefefe;
    z-index:0;
    background-color: rgba(0,36,54,.7);
}

.body_content_bottom_link{
    display: none;
}


.employee-headshot-wrapper{
    border-radius: 350px;
    height: 250px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
} 

.employee-headshot-wrapper:hover .headshot-hover{
    background-color: rgba(82,82,82,0.5);
    color: white;
}



.employee-headshot-wrapper:hover .headshot-hover div{

     font-family: 'Open Sans', sans-serif;
     color: white;
}

.headshot-hover{
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 350px;
    background-color: transparent;
    -webkit-transition: background .3s ease-in;
    -o-transition: background .3s ease-in;
    transition: background .3s ease-in;
    color: transparent;
    text-transform: uppercase;
}

.headshot-hover h2{
    font-weight: bolder;
}

.headshot-hover h5{
    font-weight: lighter;
}

.headshot-hover div{
    background-color:transparent;
    width:100%;
    padding: 0 10px;
    color: transparent;
    -webkit-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
    height: 50px;
    line-height: 140%;

}


.headshot-hover div:hover{
    color: rgb(245, 122, 29);
}

.modal-wrapper{
    left: 0;
    bottom: 0;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.employee-headshot-wrapper .modal{
    background-color: #222;
    height: 290px;
    /* width: 60%; */
    position: fixed;
    bottom: 0;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    line-height: 140%;
    padding: 0px 400px;
    color: #fff;
    -webkit-box-shadow: 1px 1px 10px #303135;
            box-shadow: 1px 1px 10px #303135;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow-y: scroll;
    -webkit-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
    -webkit-transition: padding .3s ease-in;
    -o-transition: padding .3s ease-in;
    transition: padding .3s ease-in;
}

.employee-headshot-wrapper .modal p{
    display: none;
    max-height: 100%;
}

.modal-close{
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
}

.display-flex{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
}

.display-block{
    display: block;
    -webkit-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
}

.display-none{
    display: none;
    -webkit-transition: .2s ease-out;
    -o-transition: .2s ease-out;
    transition: .2s ease-out;
}



@media screen and (max-width: 1140px) {
    .employee-headshot-wrapper .modal{
       padding: 0px 200px;
    }
}

@media screen and (max-width: 788px) {

  .employee_container{
    -ms-grid-columns: auto;
        grid-template-columns: auto;
    -ms-grid-rows: 300px 300px 300px;
        grid-template-rows: 300px 300px 300px;
    width: 84%;
  }

  .employee-headshot-wrapper .modal{
    width: 100%;
    height: auto;
  }
}


@media screen and (max-width: 645px) {
    .employee-headshot-wrapper .modal{
        padding: 0px 100px;
    }
}

@media screen and (max-width: 450px){
    .employee-headshot-wrapper .modal{
        padding: 0px 50px;
    }

    .headshot-hover{
        background-color: rgba(82,82,82,0.5);
    }

    .headshot-hover div{
        color: #fefefe;
    }

}