/*
 *
 * IMPORTANT: UTILIZING THE AUTOMATIC UPDATE FEATURE OF THIS CHILD THEME WILL OVERWRITE
 * ANY CUSTOM CODE PLACED WITHIN THIS FILE. IF YOU WISH TO AUTOMATICALLY UPDATE, PLEASE
 * PLACE YOUR CODE IN THEME OPTIONS >> CUSTOM CSS OTHERWISE YOU CAN MANUALLY UPDATE
 * THE THEME FILES
 *
 */

/*
   Header homepage styles 
*/

/**
 * #.#  Homepage #1 hero header
 *
  * Slider
 */

.home-slider .et_pb_slider {
    width: 100%;
    overflow: visible;
}

.home-slider .et_pb_slide:before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
}

.home-slider .et_pb_slide_description {
    position: relative;
    z-index: 10;
}

.home-slider .et_pb_slide_content {
    line-height: 1.5;
    font-size: 22px;
}

.home-slider .et_pb_slide .et_pb_slide_title {
    font-weight: 900 !important;
    line-height: 1.25;
    font-size: 60px !important;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0 !important;
    margin-bottom: 10px;
    display: inline-block; /* display inline to get true witdh */
}

.home-slider .et_pb_slide .et_pb_slide_title:before {
    content: '';
    position: absolute;
    left: -35px;
    top: -10px;
    width: 20px;
    height: 80px;
    border-left-width: 7px;
    border-left-style: solid;
    border-bottom-width: 7px;
    border-bottom-style: solid;
}

.home-slider .et_pb_slide .et_pb_slide_title:after {
    content: '';
    position: absolute;
    left: -35px;
    top: -10px;
    width: 80px;
    height: 15px;
    border-right-width: 7px;
    border-right-style: solid;
    border-top-width: 7px;
    border-top-style: solid;
}

.home-slider .et_pb_button {
    min-width: 190px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.home-slider .et_pb_bg_layout_dark .et_pb_button,
.home-slider .et_pb_bg_layout_dark .et_pb_button:hover {
    color: #fff !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.home-slider .et_pb_slides {
    position: relative;
}

.home-slider .et-pb-controllers {
    font-size: 0;
}

.home-slider .et-pb-controllers a {
    position: relative;
}

.home-slider .et-pb-controllers a:before {
    content: "";
    position: absolute;
    top: -9px;
    left: -9px;
    width: 21px;
    height: 21px;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 50%;
}

.home-slider .et-pb-controllers a:hover {
    background: #fff !important;
}

.home-slider .et-pb-controllers a:hover:before {
    border-color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 981px) {
    .home-slider .et-pb-controllers {
        left: auto;
        width: 30px;
        right: 50px;
        top: 50%;
        text-align: right;
    }

    .home-slider .et-pb-controllers a {
        display: block;
        margin: 0 0 25px auto !important;
    }
}

@media (max-width: 980px) {
    .home-slider .et-pb-controllers a {
        margin: 0 12px 10px !important;
    }
}

@media (min-width: 767px) and (max-width: 980px) {
    .home-slider .et_pb_slide_content {
        font-size: 21px;
    }

    .home-slider .et_pb_slide .et_pb_slide_title {
        font-size: 50px !important;
    }

    .home-slider .et_pb_slide .et_pb_slide_title:before {
        height: 70px;
    }

    .home-slider .et_pb_slide .et_pb_slide_title:after {
        width: 70px;
    }
}

@media (max-width: 766px) {
    .home-slider .et_pb_slide_content {
        font-size: 18px !important;
    }

    .home-slider .et_pb_slide .et_pb_slide_title {
        font-size: 40px !important;
    }

    .home-slider .et_pb_slide .et_pb_slide_title:before {
        height: 60px;
        width: 10px;
        left: -20px;
        top: -5px;
        border-left-width: 5px;
        border-bottom-width: 5px;
    }

    .home-slider .et_pb_slide .et_pb_slide_title:after {
        width: 55px !important;
        left: -20px;
        top: -5px;
        height: 10px !important;
        border-right-width: 5px;
        border-top-width: 5px;
    }
}

/**
 * #.#  Homepage #2 hero header
 *
  * Video slider
 */

.home-2-video-header .et_pb_module_header {
    margin-bottom: 0;
    padding-bottom: 0;
}

.home-2-video-header .et_pb_fullwidth_header_overlay {
    opacity: 0.9;
}

.home-2-video-header .et_pb_fullwidth_header_subhead {
    display: inline-block;
    padding: 35px 30px !important;
    position: relative;
    line-height: 1.5 !important;
}

.home-2-video-header .et_pb_fullwidth_header_subhead:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-right-width: 5px;
    border-right-style: solid;
    border-top-width: 5px;
    border-top-style: solid;
    -webkit-animation: bordertopright 4s;
    -webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
    animation-delay: 2s;
    width: 100%;
    height: 100%;
}

.home-2-video-header .et_pb_fullwidth_header_subhead:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    border-left-width: 5px;
    border-left-style: solid;
    border-bottom-width: 5px;
    border-bottom-style: solid;
    -webkit-animation: borderbottomleft 4s;
    -webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
    animation-delay: 2s;
    width: 100%;
    height: 100%;
}


@-webkit-keyframes bordertopright {
    from {
        width: 0;
        height: 0;
    }
    to {
        width: 100%;
        height: 100%;
    }
}

@keyframes bordertopright {
    from {
        width: 0;
        height: 0;
    }
    to {
        width: 100%;
        height: 100%;
    }
}

@-webkit-keyframes borderbottomleft {
    from {
        width: 0;
        height: 0;
    }
    to {
        width: 100%;
        height: 100%;
    }
}

@keyframes borderbottomleft {
    from {
        width: 0;
        height: 0;
    }
    to {
        width: 100%;
        height: 100%;
    }
}

/**
 * #.#  Blog
 *
 */

.home-blog .et_pb_post {
    border: none;
    padding: 30px;
    -webkit-box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.06);
    transition: 0.5s ease-in-out;
}

.home-blog .et_pb_post:hover {
    -webkit-box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.2);
}

.home-blog .et_pb_post .et_pb_image_container {
    margin: -30px -30px 20px;
}

.home-blog h2.entry-title {
    line-height: 1.1;
    font-size: 20px;
}

.home-blog .post-content p {
    display: none;
}

.home-blog .more-link {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
    line-height: 1;
}

.home-blog .more-link:after {
    font-family: "ETmodules";
    content: '\24';
    margin-left: 5px;
    line-height: 1.2;
}

/**
 * #.#  Numbers counrter
 *
 */

.home-number-counter h3 {
    text-transform: uppercase;
    line-height: 1.25;
    font-size: 15px;
    color: #666;
    padding-top: 10px;
}

.home-number-counter .percent {
    height: 45px !important;
}

.home-number-counter .et_pb_number_counter .percent p {
    font-size: 45px;
    line-height: 45px !important;
    color: #888 !important;
}

@media (min-width: 1151px) {
    .home-number-counter .et_pb_number_counter {
        text-align: left;
        font-size: 0;
        border-left: 1px solid;
        padding: 0 25px;
        display: table;
    }

    .home-number-counter .et_pb_column:first-child .et_pb_number_counter {
        border: none;
    }

    .home-number-counter h3 {
        padding-top: 0 !important;
        display: table-cell;
        vertical-align: middle;

    }

    .home-number-counter .percent {
        display: table-cell;
        vertical-align: middle;
        padding-right: 15px;
    }
}

@media (min-width: 981px) and (max-width: 1150px) {
    .home-number-counter .et_pb_number_counter {
        border-left: 1px solid;
        padding: 0 20px;
    }

    .home-number-counter .et_pb_column:first-child .et_pb_number_counter {
        border: none;
    }
}

@media (min-width: 600px) and (max-width: 980px) {
    .home-number-counter .et_pb_number_counter {
        text-align: left;
        font-size: 0;
        display: table;
        width: 100%;
    }

    .home-number-counter h3 {
        padding-top: 0 !important;
        display: table-cell;
        vertical-align: middle;
    }

    .home-number-counter .percent {
        display: table-cell;
        vertical-align: middle;
        padding-right: 15px;
    }
}

@media (min-width: 479px) and (max-width: 980px) {
    .home-number-counter {
        padding: 10px 0 !important;
        position: relative;
    }

    .home-number-counter:before {
        content: '';
        position: absolute;
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
    }

    .home-number-counter:after {
        content: '';
        position: absolute;
        height: 1px;
        width: 100%;
        top: 50%;
        left: 0;
        visibility: visible !important;
    }

    .home-number-counter .et_pb_number_counter {
        padding: 25px;
    }
}

@media (max-width: 478px) {
    .home-number-counter .et_pb_number_counter {
        border-bottom: 1px solid;
        padding-bottom: 20px;
        margin-bottom: 20px !important;
    }

    .home-number-counter .et_pb_column:last-child .et_pb_number_counter {
        border-bottom: none;
    }
}

/**
 * #.#  Brand images
 *
 */

.brand-image {
    padding: 20px 15px;
    border-radius: 3px;
    transition: all 0.5s ease;
    border: 1px solid;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.brand-image:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.brand-image img {
    height: 85px;
    width: auto;
    margin: 0 auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}