/*!
Theme Name: Yankee
Theme URI: https://webtend.net/wp/yankee/
Author: WebTend
Author URI: https://webtend.net/
Description: Yankee is clean, modern and professional Creative Digital Agency WordPress Theme. It is a clean, modern and simple theme that was built for designers, photographers, fashion agencies, freelancers.
Version: 1.4.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: yankee
Tags: custom-logo, custom-colors, custom-menu, editor-style, featured-images, footer-widgets, block-patterns, sticky-post, threaded-comments, translation-ready
*/



.portfolio-boxes .portfolio-box .portfolio-thumb .thumb {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-color: inherit !important;
}

.header-nav.header-nav-five .nav-container .menu-items li a {
    font-family: sans-serif;
}
.wpcf7-form-control-wrap {
    width: 100%;
}
.input-group br {
    display: none;
}
.wpcf7 .input-group .icon {
    top: 27px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    display: none !important;
}

.yankee-portfolio-boxes-type-2 img {
    width: 100%;
}

.yankee-portfolio-boxes-type-2 img {
    width: 100%;
}
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-desc {
    right: 0;
}
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-desc p,
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-desc ul {
    color: white;
    font-size: 12px;
}
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-desc .title{
    color: white;
}
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-thumb {
    height: 100%;
    display: flex;
    align-items: center;
}
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box {
    height: 100%;
}
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-desc {
    padding: 20px;
}

.banner-style-four .banner-text .banner-text {
    color: white;
    text-align: right;
    max-width: 400px;
    font-size: 19px;
    margin-bottom: 0;
    font-weight: bold;
}


.banner-style-four .banner-text .banner-title-2,
.banner-style-four .banner-text .banner-title-1 {
    text-align: right;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin: 0;
}

.banner-style-four .banner-text .banner-title-1 {
    text-align: left;
}

.banner-tags-right {
    text-align: right;
}

.banner-btns-right {
    justify-content: flex-end !important;
}

@media (max-width: 770px) {
    .banner-style-four .banner-text .banner-title-2 {
        text-align: left;
    }
    .banner-tags-right {
        text-align: left;
    }

}




.yankee-feature-boxes-three .feature-box {
    /*overflow-y: hidden;*/
    /*padding-left: 5px;*/
    /*padding-right: 5px;*/
}
.yankee-feature-boxes-three .feature-box .portfolio-desc {
    position: absolute;
    left: 0;
    bottom: 0;
    /*right: 45px;*/
    background-color: #121111;
    /*padding: 45px 40px 35px;*/
    -webkit-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
    opacity: 0;
    visibility: hidden;
    padding: 30px;
    right: 0;
}

.yankee-feature-boxes-three .feature-box .portfolio-desc .title {
    color: white;
}
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-desc p,
.yankee-portfolio-boxes-type-2 .portfolio-boxes .portfolio-box .portfolio-desc ul {
    color: white;
    font-size: 12px;
}


@media (max-width: 575px) {
    .yankee-feature-boxes-three .feature-box .portfolio-desc {
        right: 0;
        padding: 45px 30px 35px;
    }
}
.yankee-feature-boxes-three .feature-box:hover .portfolio-desc {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.service-category-column-two-img,
.service-category-column-two-img .elementor-widget-container {
    height: 100%;
}
.service-category-column-two-img .elementor-widget-container img {
    height: 100%;
    object-fit: cover;
}





.modal-container-boxes-type-2 {
    position: fixed;
    z-index: 10000; /* 1 */
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-container-boxes-type-2.is-visible {
    visibility: visible;
}

.modal-container-boxes-type-2 .modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal-container-boxes-type-2.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-container-boxes-type-2 .modal-wrapper {
    /*position: absolute;*/
    z-index: 9999;
    /*top: 6em;*/
    /*left: 50%;*/
    /*width: 32em;*/
    /*margin-left: -16em;*/
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
    max-width: 550px;
    width: 100%;
    margin: 0 20px;
}

.modal-container-boxes-type-2 .modal-transition {
    transition: all 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;

    padding: 20px;
    border-radius: 10px;
    background-color: #1d2122;

    color: white;
}
.modal-container-boxes-type-2 .modal-transition h5 {
    color: white;
    margin-bottom: 0;
}

.modal-container-boxes-type-2.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}

.modal-container-boxes-type-2 .modal-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
    color: #aaa;
    background: none;
    border: 0;
}

.modal-container-boxes-type-2 .modal-close:hover {
    color: #777;
}



.header-nav .nav-container .menu-items li a {
    padding: 0;
}
@media (max-width: 1199px) {
    .header-nav.header-nav-five .nav-container {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .header-nav.header-nav-five .nav-container {
        padding: 0 30px 0 0;
    }
}


@media (max-width: 1024px) {
    .mob-vertical-cover .elementor-widget-wrap {
        background-position: top !important;
    }
    .banner-style-four .banner-text .banner-title-2,
    .banner-style-four .banner-text .banner-title-1 {
        font-size: 21px;
    }
}
@media (max-width: 575px) {
    header .nav-container .site-logo {
        margin-left: 20px;
    }
}
