/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


@import url("../Divi/style.css");

/* header {
    background-color: #2E2D33 !important;
} */

/* body #main-header .et_menu_container {
    background-color: #2E2D33 !important;
}

body.page-id-206432 #main-header .et_menu_container,
body.home #main-header .et_menu_container {
    background-color: transparent !important;
} */

/* .wpml-ls-slot-27 {
    width: 100px;
}

.wpml-ls-slot-27 > a {
    padding: 6px 0px !important;
}

.wpml-ls-slot-27 > a::after {
    top: 6px !important;
} */


/* photography children pages */
.parent-pageid-206677 #main-content {
    padding-bottom: 80px;
}

.tg-item-overlay {
    border-radius: 20px;
}

.tax-project_category #main-content,
.page-template-template-projects #main-content {
    background: #2E2D33 !important;
    padding-top: 150px;
}

.page-template-template-news #main-content,
.page-template-template-past-workshops #main-content {
    padding-top: 150px;
}

.projects__title {
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
    border-bottom: 1px solid #fff;
}

.workshops__title {
    text-align: center;
    color: #000;
    margin-bottom: 50px;
    border-bottom: 1px solid #000;
}

.news__title {
    text-align: center;
    color: #000;
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
}

.news__subtitle {
    text-align: center;
    color: #000;
    font-size: 14px;
    margin-bottom: 70px;
}

.projects__grid {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;
    padding-bottom: 200px;
}

.home .projects__grid {
    padding-bottom: 0;
}

.projects__grid > article {
    width: calc( (1/3) * 100% );
    padding: 0 15px;
    margin-bottom: 30px;
}

.project__element {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 20px;
}

.project__element__overlay {
    position: absolute;
    background: rgba(46,45,51,.7);
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    opacity: 0;
    visibility: hidden;
}

.projects__grid > article > a:hover .project__element__overlay,
.homeslider article > a:hover .project__element__overlay {
    opacity: 1;
    visibility: visible;
}

.project__element__overlay__title,
.project__element__overlay__category {
    color: #fff;
    text-align: center;
}

.projects__categories {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0 -15px;
    margin-bottom: 50px;
}

.projects__categories__category {
    padding: 0 15px;
}

.projects__categories__category a {
    color: #fff;
    text-transform: uppercase;
}

.workshops__element,
.news__element {
    display: flex;
    flex-flow: row;
    margin: 0 -15px;
    margin-bottom: 100px;
}

.workshops__element__image,
.news__element__image {
    padding: 0 15px;
}

.workshops__element__image__image,
.news__element__image__image {
    width: 300px;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
}

.news__element__image__image {
    width: 400px;
    height: 300px;
}

.workshops__element__text,
.news__element__text {
    padding: 0 15px;
}

.workshops__element__text__title,
.news__element__text__title {
    text-transform: uppercase;
    font-weight: bold;
}

.workshops__element__text__title h2,
.news__element__text__title h2 {
    text-transform: uppercase;
    font-weight: bold;
}

.workshops__element__text__link,
.news__element__text__link {
    margin-top: 30px;
}

.workshops__element__text__link a,
.news__element__text__link a {
    text-decoration: underline;
}

.fw-iconbox-aside .fw-iconbox-title h4,
.fw-iconbox-aside .fw-iconbox-text p {
    display: none;
}

.fw-iconbox-aside a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}


.et_pb_main_blurb_image .et_pb_image_wrap {
    height: 143px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-content: center;
}

.photography__back {
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 100;
}

.photography__back a {
    padding: 10px;
}

.single__back {
    text-align: center;
    position: relative;
    z-index: 100;
}

.single__back a {
    padding: 10px;
}

.project__back {
    text-align: center;
    position: relative;
    z-index: 100;
    padding-bottom: 80px;
}

.project__back a {
    padding: 10px;
    text-transform: uppercase;
}

.single-post .et_pb_bg_layout_light .et-pb-arrow-next,
.single-post .et_pb_bg_layout_light .et-pb-arrow-prev,
.single-project .et_pb_bg_layout_light .et-pb-arrow-next,
.single-project .et_pb_bg_layout_light .et-pb-arrow-prev {
    color: #fff;
}


@media (max-width:1000px) {
    .tax-project_category #main-content,
    .page-template-template-projects #main-content,
    .page-template-template-news #main-content,
    .page-template-template-past-workshops #main-content {
        padding-top: 50px;
    }
    .project__element {
        height: 240px;
    }
    .news__element__image__image {
        width: 300px;
        height: 200px;
    }
}

.aboutslider {
    border-radius: 20px !important;
    overflow: hidden;
}

.abouticons {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;
}

.abouticons__icon {
    width: calc( 1/3 * 100% );
    text-align: center;
    padding: 0 15px;
}

.abouticons__icon__image {
    text-align: center;
    margin-bottom: 20px;
}

.abouticons__icon__image img {
    max-width: 143px;
}

.contactform h3,
.contactform p,
.contactform input,
.contactform textarea {
    color: #fff !important;
}

.contactform input {
    border: 1px solid #fff !important;
}

body #page-container .et_pb_section .contactform .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button {
    color: #fff !important;
    border: 1px solid #fff !important;
}

.contactform ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #fff !important;
}
.contactform ::-moz-placeholder { /* Firefox 19+ */
    color: #fff !important;
}
.contactform :-ms-input-placeholder { /* IE 10+ */
    color: #fff !important;
}
.contactform :-moz-placeholder { /* Firefox 18- */
    color: #fff !important;
}

.homefeatured {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;
}

.homefeatured > article {
    width: calc( (1/3) * 100% );
    padding: 0 15px;
}

.home .forcefullwidth_wrapper_tp_banner {
    position: relative;
}

.home .forcefullwidth_wrapper_tp_banner::after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 250px;
    width: 450px;
    height: 400px;
    background-image: url("http://desfilms.org/wp-content/uploads/2017/12/hero-logo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.page-id-206432 article {
    padding-top: 100px;
}

@media (max-width:980px) {
    /* #main-header {
            background-color: rgba(10,10,10,1) !important;
    } */
    .aboutbuttons a {
        margin-bottom: 20px;
        display: inline-block;
    }
    /* .home .forcefullwidth_wrapper_tp_banner {
        padding-bottom: 80px;
    } */
    .home .forcefullwidth_wrapper_tp_banner::after {
        left: 50%;
        transform: translate(-50%, -50%);
    }
    body.page-id-205710 #main-header .et_menu_container {
        background-color: transparent !important;
    }
    body.page-id-206432 #main-header .et_menu_container {
        margin-top: -3px !important;
    }
    .page-id-206432 article {
        padding-top: 75px;
    }
}

.homeslider .slick-slide {
    padding: 0 15px;
}

.homeslider .slick-list {
    margin: 0 -15px;
}

.homeslider__container {
    position: relative;
}

.homeslider__controls__prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -70px;
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    padding: 20px;
}

.homeslider__controls__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -70px;
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    padding: 20px;
}

.single-post .fluid-width-video-wrapper iframe,
.single-post .fluid-width-video-wrapper object,
.single-post .fluid-width-video-wrapper embed {
    width: auto !important;
    height: auto !important;
    position: static !important;
}

.single-post .fluid-width-video-wrapper {
    padding-top: 0 !important;
}

.single-post .et_pb_gallery {
    margin: 0 auto !important;
}

body .et_pb_column p a {
    padding: 0 !important;
    text-transform: none !important;
    position: static !important;
    border: 0 !important;
    text-decoration: underline;
}


@media (max-width:800px) {
    .projects__grid > article {
        width: 50%;
    }
    .workshops__element,
    .news__element {
        display: block;
        margin: 0 0 50px 0;
    }
    .workshops__element__image,
    .workshops__element__text,
    .news__element__image,
    .news__element__text {
        padding: 0;
    }
    .workshops__element__text,
    .news__element__text {
        margin-top: 30px;
    }
    .workshops__element__image__image,
    .news__element__image__image {
        width: 100%;
    }
    .homeslider__controls__prev {
        left: -60px;
        font-size: 25px;
    }

    .homeslider__controls__next {
        right: -60px;
        font-size: 25px;
    }
}

@media (max-width:600px) {
    .projects__grid > article {
        width: 100%;
    }
    .abouticons {
        display: block;
        margin: 0;
    }

    .abouticons__icon {
        width: 100%;
        margin-bottom: 30px;
    }
    .home .forcefullwidth_wrapper_tp_banner::after {
        width: 350px;
        height: 300px;
    }
}

@media (max-width:500px) {
    .home .forcefullwidth_wrapper_tp_banner::after {
        width: 300px;
        height: 300px;
    }
    .homeslider__controls__prev {
        left: -45px;
        font-size: 20px;
        display: none;
    }

    .homeslider__controls__next {
        right: -45px;
        font-size: 20px;
        display: none;
    }
}
