/* use this file just theme versions */
/* 1.1 version */
.wpcf7 input, .wpcf7 textarea {
    margin-bottom: 15px;
}

p.page_title {
    line-height: 1.4;
}

#main_header .dropdown-menu {
    top: 50px;
}

#main_header.header_after_scroll .dropdown-menu {
    top: auto;
}

.dropdown-menu {
    margin-top: 0;
}

.woocommerce .quantity .qty {
    width: 4.631em;
    text-align: center;
    height: 36px;
}

.checkout_coupon button.button {
    height: 55px;
}

.archive .portfolio {
    padding: 0px 0;
}

@media (max-width:992px) {
    .dropdown-menu {
        position: relative;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        float: none;
    }
}

#mobile_header .menu li.active a {
    color: #eeb501;
}

#mobile_header .menu_toggle a {
    cursor: pointer;
}

.image_overlay {
    opacity: 0.5;
}

/* Gutenberg updates */
.wp-block-cover p.wp-block-cover-text {
    color: #fff;
}

.wp-block-button {
    margin-bottom: 15px;
}

.wp-block-gallery.nt-theme-content-list {
    padding: 0px !important;
    margin: 0 0 30px !important;
}

.wp-block-gallery.alignleft.columns-2.is-cropped.nt-theme-content-list {
    margin-right: 15px !important;
}

.wp-block-quote.is-large, .wp-block-quote.is-style-large {
    margin: 30px 0 32px 45px;
    padding: 0 1em;
}

.wp-block-archives.wp-block-archives-dropdown .nice-select {
    float: none;
    max-width: 250px;
}

.wp-block-columns.alignwide.has-3-columns blockquote {
    margin: 0 auto !important;
}

.wp-block-archives.wp-block-archives-list,
.wp-block-archives.wp-block-archives-dropdown,
.wp-block-categories.wp-block-categories-list,
.wp-block-latest-comments.has-avatars.has-dates.has-excerpts,
.wp-block-latest-comments,
.wp-block-latest-posts.wp-block-latest-posts__list,
.wp-block-latest-posts.is-grid {
    margin-bottom: 30px !important;
}

.wp-block-media-text {
    margin-bottom: 30px;
}

.nt-theme-content .wp-block-archives.wp-block-archives-dropdown .nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 0 5px 5px 0 !important;
}

.wp-block-embed {
    margin-bottom: 2em;
}

ul.wp-block-latest-posts.wp-block-latest-posts__list.has-dates li {
    margin-bottom: 20px;
}

ul.wp-block-categories.wp-block-categories-list li,
ul.wp-block-archives.wp-block-archives-list li {
    margin-bottom: 10px;
}

.wp-block-gallery {
    padding: 0 !important;
    margin: 0 5px 20px 0px;
}

.wp-block-latest-comments {
    padding: 0;
}

.wp-block-image {
    margin-bottom: 2em;
}

.wp-block-cover {
    margin: 0 25px 25px 0;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
    padding-left: 0;
}


/* header start */

@media (min-width: 992px) {
    #main_header {
        display: flex;
        align-items: center;
    }
    #main_header .header_right {
        float: none;
        margin: 0;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: 0!important;
    }
    #main_header .header_right ul.menu {
        float: none;
        height: 100%;
        position: relative;
    }
    #main_header .header_right ul.menu li {
        line-height: 50px;
    }
    li.item-has-children:hover > ul {
        display: block;
    }
}
#main_header .dropdown-menu {
    top: 100%;
}
#mobile_header .menu .dropdown-menu li> a {
    color: #113d67;
}
#mobile_header .menu .dropdown-menu li:hover> a {
    color: #fff;
}

.caret-mobile {
display:none;
}
@media (max-width: 992px) {
    .caret-desktop {
        display:none;
    }
    li.item-has-children,
    li.item-has-children > a{
        position: relative;
    }
    #mobile_header .menu ul li.active .dropdown-menu li > a {
        color: #fff;
    }
    #mobile_header .menu ul li.active .dropdown-menu li > a:hover {
        color: #eeb501;
    }
    .caret-mobile {
        border: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #eeb501;
        cursor:pointer;
    }
    .caret:hover {
        background-color: #01101f;
    }
    .caret:before{
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        font-size: 14px;
        font-weight: 900;
        color: #fff;
    }
    li.item-has-children.open .caret:before{
        content: "\f106";
    }

}
.project_description .image img {
    width: auto;
}
#main_header.sticky-off {
    position: absolute;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#main_header.sticky-off.header_after_scroll {
    background: transparent;
}
.portfolio .mobile-heading,
.portfolio.mobile-yes .arrows_controls.mobile-controls {
    display: none;
}
@media screen and (max-width: 991px) {
    .portfolio.mobile-yes .row {
        font-size: 0px;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .portfolio.mobile-yes .second_big_section img {
        width: auto;
        max-width: 100%;
        height: auto;
    }
    .portfolio.mobile-yes .col-md-5.first_big_section h2 {
        display: none;
    }
    .portfolio.mobile-yes .second_big_section {
        position: relative;
    }
    .portfolio.mobile-yes .col-md-5.first_big_section {
        margin-top: 20px;
    }
    .portfolio.mobile-yes .arrows_controls:not(.mobile-controls) {
        display: none;
    }
    .portfolio.mobile-yes .arrows_controls.mobile-controls {
        display: inline-block;
        position: absolute;
        top: 50%;
        right: 15px;
        z-index: 999;
        transform: translateY(-50%);
    }
    .portfolio.mobile-yes .second_big_section,
    .portfolio.mobile-yes .third_big_section {
        display: inline-block;
    }
    .portfolio.mobile-yes {
        display: block!important;
    }
    .portfolio.mobile-yes .btn_foevis {
        margin-top: 10px;
    }
    .portfolio.mobile-yes .mobile-heading {
        display: block;
    }
}
#mobile_header.sticky-on.header_after_scroll .menu_toggle a {
    color: #000;
}
