/**
 *  Featured Projects
 */

 .pagination-buttons {
    display: flex;
    line-height: 106px;
    vertical-align: middle;
    align-items: center;
    margin-bottom: 20px;
}

.featured-projects .btn-previous,
.featured-projects .btn-next {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    text-align: center;
    line-height: 60px;
    vertical-align: middle;
    color: #636366;
    margin-left: 10px;
    transition: background-color 0.3s;
    border: none;
}

/****** Desktop ****/

@media ( min-width: 1025px ) {
    .featured-projects {
        background-color: white;
        display: block;
    }

    .featured-projects-holder-view .slick-slide > div {
        margin-right: 15px;
        margin-left: 15px;
    }

    .featured-projects-holder {
        margin-left: -15px;
        margin-right: -15px;
    }

    .featured-projects-holder .slick-track {
        display: flex;
    }

    .home .featured-projects {
        margin-bottom: 10px;
    }

    .featured-projects-header {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .featured-title {
        display: flex;
        align-items: center;
    }

    .featured-title h2 {
        padding-right: 30px;
        margin-bottom: 20px;
    }

    .header-separator {
        display: block;
        width: 1px;
        height: 55px;
        border-right: 1px solid #ccc;
    }

    .projects-all {
        line-height: 20px;
        vertical-align: middle;
        color: #939598;
        font-weight: bold;
        margin-left: 30px;
        margin-top: 10px;
        font-size: 20px;
    }

    .projects-all span {
        font-size: 61px;
        font-weight: bold;
        line-height: 61px;
        vertical-align: middle;
        width: 30px;
        padding: 0;
        margin: 0;
    }

    .featured-projects .btn-previous:hover,
    .featured-projects .btn-next:hover,
    .featured-projects .btn-previous:active,
    .featured-projects .btn-next:active {
        background-color: #f8cc41;
        color: white;
        border: none;
    }

    .featured-projects-holder-view {
        max-width: 1354px;
        overflow: hidden;
        display: block;
    }

    .featured-projects-tablet-view,
    .featured-projects-mobile-view {
        display: none;
    }

    .featured-projects-holder .featured-project-block {
        display: block;
        position: relative;
        float: left;
    }
/* 
    .featured-projects-holder .featured-project-block:last-child {
        margin-right: 0;
    } */

    .project-image {
        display: block;
        width: auto;
        height: auto;
        background-color: #f7f7f7;
    }

    .featured_project_image {
        display: block;
        width: 100%;
        height: 300px;
        background-color: #f7f7f7;
    }

    .featured-project-block .featured_project_image img {
        transition: all 0.4s ease-in-out;
    }

    .featured-project-block:hover .featured_project_image img {
        -webkit-transform: scale( 0.9 );
                transform: scale( 0.9 );
        margin-top: 10px;
    }

    .featured-project-block:hover .link_blue_learn_more {
        color: #56abd9;
    }

    .project-image img {
        -o-object-fit: cover;
           object-fit: cover;
    }

    .project-details {
        position: relative;
        background-color: white;
        display: block;
        top: 80%;
        left: 5%;
        box-shadow: 0px 0px 20px rgba( 25, 41, 65, 0.08 );
        padding: 15px 30px 30px;
        border-radius: 3px;
        width: 375px;
        margin-top: -50px;
        margin-bottom: 9px;
    }

    .project-details h4 {
        margin-top: 0.7em;
        margin-bottom: 0.3em;
        font-size: 19px;
        color: #636366;
    }

    .project-details p {
        margin-top: 1em;
        margin-bottom: 1.2em;
        line-height: 1.5em;
        font-size: 15px;
        font-weight: normal;
        color: #85878a;
    }

    .link_blue_learn_more {
        color: #0081c6;
        font-size: 18px;
        font-weight: bold;
    }

    .featured-projects-holder-view,
    .featured-projects-holder {
        /* width: 100%; */
        max-width: none;
    }

    /* .featured-projects-holder {
        margin-left: -25px;
    }

    .featured-projects-wrapper {
        width: 100%;
    } */

    /* .slick-list.draggable {
        padding: 0 33% 0 0 !important;
        width: 123% !important;
        overflow: visible !important;
    } */

    .featured-projects .slick-list.draggable {
        padding: 0 !important;
        width: unset !important;
        overflow: visible !important;
    }
}

@media ( min-width: 1024px ) {
    .featured-projects .slick-list.draggable {
        padding: 0 !important;
        width: 100% !important;
    }
}

@media ( min-width: 1100px ) {
    .featured-projects .slick-list.draggable {
        padding: 0 !important;
    }
}

@media ( min-width: 1200px ) {
    .featured-projects .slick-list.draggable {
        padding: 0 !important;
    }
}

@media ( min-width: 1366px ) {
    .featured-projects .slick-list.draggable {
        padding: 0 !important;
        width: 100% !important;
    }
}

/****** Tablet ****/

@media ( max-width: 1024px ) {
    .featured-projects-holder-view .slick-slide > div {
        margin-right: 15px;
        margin-left: 15px;
    }

    .featured-projects-holder {
        margin-left: -15px;
        margin-right: -15px;
    }

    .featured-projects {
        background-color: white;
        display: block;
        padding: 0 32px;
    }

    .featured-projects-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .featured-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .featured-title h2 {
        padding-right: 30px;
        margin-bottom: 20px;
    }

    .header-separator {
        display: block;
        width: 1px;
        height: 35px;
        border-right: 1px solid #ccc;
    }

    .projects-all {
        line-height: 20px;
        vertical-align: middle;
        color: #939598;
        font-weight: bold;
        margin-left: 30px;
        margin-top: 0px;
        font-size: 20px;
    }

    .projects-all span {
        font-size: 61px;
        font-weight: bold;
        line-height: 61px;
        vertical-align: middle;
        width: 30px;
        padding: 0;
        margin: 0;
    }

    .pagination-buttons {
       margin-bottom: 0;
    }

    .featured-projects-mobile-view {
        display: none;
    }

    .featured-projects-tablet-holder {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .featured-projects-tablet-block {
        width: calc( 50% - 15px );
        display: block;
        position: relative;
        margin-bottom: 40px;
    }

    .featured-projects-tablet-title {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
        bottom: 0;
        width: 80%;
        background-color: white;
        left: 10%;
        box-shadow: 0 3px 5px rgba( 100, 100, 100, 0.2 );
        padding: 0 10px;
        font-size: 20px;
        font-weight: bold;
        border-radius: 3px;
        transition: background-color 0.3s;
        align-items: center;
        margin-top: -40px;
    }

    .featured-projects-tablet-block:nth-child( 3 ),
    .featured-projects-tablet-block:nth-child( 4 ) {
        margin-bottom: 0;
    }

    .featured-projects-tablet-title h4 {
        width: 90%;
        color: #85878a;
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 0;
        line-height: 1.2em;
    }

    .featured-projects-tablet-title span {
        line-height: 67px;
        vertical-align: middle;
        color: #0081c6;
        width: 10%;
    }

    .featured-projects-tablet-title:hover {
        background-color: #ecb609;
        color: white;
    }

    .featured-projects .btn-previous, 
    .featured-projects .btn-next {
        display: block;
        width: 40px;
        height: 40px;
        background-color: #f0f0f0;
        text-align: center;
        line-height: 40px;
        vertical-align: middle;
        color: #636366;
        transition: background-color 0.3s;
        border: none;
        top: 50%;
        margin-left: 0;
    }
}

/****** Mobile ****/
@media ( max-width: 600px ) {
    .featured-projects {
        background-color: white;
        display: block;
        padding: 0 22px;
    }

    .featured-projects-tablet-view {
        display: none;
    }

    .featured-projects-mobile-view {
        display: block;
        width: 100%;
        position: relative;
        padding: 0 0 20px;
    }

    .featured-projects-mobile-holder {
        position: relative;
        display: block;
        min-height: 352px;
    }

    .featured-projects-header {
        display: flex;
        width: 100%;
        text-align: left;
    }

    .featured-title {
        display: block;
    }

    .featured-title h2 {
        padding-right: 0;
        margin-bottom: 20px;
        font-size: 28px;
        text-align: left;
    }

    .featured-title > h2 {
        margin-top: 0;
    }

    .header-separator,
    .projects-all {
        display: none;
    }

    .featured-projects-mobile-img img {
        -o-object-fit: cover;
           object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .featured-projects-mobile-titles {
        display: block;
        position: absolute;
        width: 90%;
        bottom: -20px;
        left: 5%;
        background-color: white;
        padding: 0 10px;
        box-shadow: 0 3px 5px rgba( 100, 100, 100, 0.2 );
        border-radius: 3px;
    }

    .featured-projects-mobile-title {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        border-bottom: 1px solid #dedede;
        transition: color 0.3s;
    }

    .featured-projects-mobile-title:last-child {
        border-bottom: none;
    }

    .featured-projects-mobile-title h4 {
        font-size: 13px;
        word-wrap: break-word;
        width: 90%;
        color: #85878a;
    }

    .featured-projects-mobile-title span {
        line-height: 52px;
        vertical-align: middle;
        width: 10%;
        text-align: right;
        color: #0081c6;
    }

    .featured-projects-mobile-title:hover {
        color: #e2b115;
    }

    .pagination-buttons {
        margin-bottom: 20px;
     }
}

.featured-projects-holder-view .slick-slide {
    margin-left: 0;
}
/* 
.featured-projects-holder-view .slick-list {
    padding-right: 98px;
} */

.featured_project_image {
    height: 290px;
}

.featured_project_image img {
    object-fit: cover;
    -o-object-fit: cover;
    width: 100%;
    height: 100%;
}

.project-details.box-shadow {
    margin-bottom: 9px;
    position: relative;
    width: 90%;
    min-height: 80px;
    height: auto !important;
    background-color: #fff;
    display: block;
    top: 80%;
    left: 5%;
    padding: 15px 30px 20px;
    border-radius: 3px;
    margin-top: -40px;
    z-index: 900;
    
}

@media (max-width: 767px) {
    .featured-projects-holder-view .slick-slide {
        margin-right: 10px;
        margin-left: 10px;
        width: 100%;
    }

    .featured-projects-holder-view .slick-list {
        padding-right: 0;
    }
}




/**
 *  Innerpage Featured Employees (Slider)
 */
.featured-employees .featured_project_image {
    height: auto;
}

.page-template-page-spotlight .featured-employees {
    margin-top: 25px;
}

.featured-employees .project-details h4 {
    margin-top: .5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 1200px) {
    
    .featured-employees .featured_project_image {
        height: 290px;
    }

    .page-template-page-spotlight .featured-employees {
        margin-top: 50px;
    }

}

