/* header */
.module-header.style-8 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 35px 0;
}

.module-header.style-8 .ry-left {
    width: 145px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.module-header.style-8 .ry-left img {
    max-width: 220px;
    width: 100%;
}

@media (max-width: 1024px) {
    .module-header.style-8 .ry-left img {
        width: 150px;
    }
}

.module-header.style-8 .ry-right {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 1000px;
}

.module-header.style-8 .ry-right .ry-leads {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    max-width: 1000px;
    float: right;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget {
    margin-right: 20px;
    width: 280px;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control {
    height: 72px;
    background-color: transparent;
    border: 1px solid rgba(191, 191, 191, 0.4);
    border-right: none !important;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 16px 28px;
    color: #ffffff;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::-webkit-input-placeholder {
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    opacity: 1;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control:-ms-input-placeholder {
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    opacity: 1;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::-ms-input-placeholder {
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    opacity: 1;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::placeholder {
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    opacity: 1;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus {
    color: #ffffff;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-webkit-input-placeholder,
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus:-ms-input-placeholder,
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-ms-input-placeholder,
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-webkit-input-placeholder {
    opacity: 0.3;
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-webkit-input-placeholder,
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus:-ms-input-placeholder,
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-ms-input-placeholder,
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::placeholder {
    opacity: 0.3;
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary {
    height: 72px;
    background-color: transparent !important;
    border: 1px solid rgba(191, 191, 191, 0.4);
    border-left: 0 !important;
    position: relative;
    left: 1px;
    padding: 16px 26px !important;
    border-radius: 0 !important;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary:before,
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary:after {
    display: none !important;
}

.module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary:hover {
    background-color: transparent;
}

@media (max-width: 1160px) {
    .module-header.style-8 .ry-right .ry-leads .search-bar-widget {
        width: 220px;
    }

    .module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control {
        padding: 16px 0 16px 15px;
    }
}

.module-header.style-8 .ry-right .ry-leads .ry-contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 450px;
}

@media (max-width: 1160px) {
    .module-header.style-8 .ry-right .ry-leads .ry-contact {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        min-width: 400px;
    }
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    width: 225px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:hover .contact__overlay {
    -webkit-transform: scale(15);
    transform: scale(15);
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:hover span {
    color: #333333;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__overlay {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    top: 22px;
    left: 20px;
    z-index: -1;
    -webkit-transition: -webkit-transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
    transition: -webkit-transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
    transition: transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
    transition: transform 1.6s cubic-bezier(0.24, 1, 0.3, 1),
        -webkit-transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
    -webkit-transform: scale(0);
    transform: scale(0);
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li span.call_us,
.module-header.style-8 .ry-right .ry-leads .ry-contact li a {
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    font-weight: 600;
    font-size: calc(15px + 0 * ((100vw - 500px) / 1100));
    line-height: 19px !important;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(1) a {
    color: #ffffff;
    letter-spacing: 2px;
    text-decoration: none;
    display: block;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(1):hover span {
    color: #ffffff !important;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) {
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2):hover span {
    color: #ffffff !important;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2):hover .contact__overlay {
    -webkit-transform: scale(0);
    transform: scale(0);
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) .contact__overlay {
    -webkit-transform: scale(15);
    transform: scale(15);
    left: 25px;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) span.call_us,
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) a {
    color: #333333;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    max-width: 137px;
    line-height: 18px !important;
    text-decoration: none;
    text-align: left;
    font-size: calc(14px + 0 * ((100vw - 500px) / 1100));
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) fa {
    position: relative;
    left: 1px;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__icon {
    min-width: 45px;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__icon .icon__wrap {
    width: 35px;
    height: 35px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
}

.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__icon .fa {
    color: #ffffff;
    font-size: 13px;
}

@media (max-width: 1160px) {
    .module-header.style-8 .ry-right .ry-leads .ry-contact li {
        width: 200px;
    }
}

.module-header.style-8 .ry-right .ry-menu {
    width: 100%;
}

.module-header.style-8 .ry-right .ry-menu .nav-menu {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 60px;
    position: relative;
    top: 30px;
    max-width: 1024px;
    float: right;
}

.module-header.style-8 .ry-right .ry-menu .nav-menu li {
    list-style-type: none;
}

.module-header.style-8 .ry-right .ry-menu .nav-menu li a {
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: calc(16px + 1 * ((100vw - 500px) / 1100));
    padding-bottom: 18px !important;
    display: block;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .module-header.style-8 .ry-right .ry-menu .nav-menu li a {
        font-size: 14px;
    }
}

.module-header.style-8 .ry-right .ry-menu .nav-menu li:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transition: all ease 0.4s;
    transition: all ease 0.4s;
    padding: 0;
    top: 50px;
}

/*The following added for opening the menu from left for the last children */
/* START */
.module-header.style-8 .ry-right .ry-menu .nav-menu li:last-child:hover .dropdown-menu:last-child {
    left: unset;
    right: 0;
}

/* END */

.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    border: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 30px 10px;
    margin-top: 2px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.03);
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.03);
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    position: relative;
}

.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li a {
    width: 100% !important;
    padding: 4px 30px !important;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    text-transform: uppercase;
    line-height: 24px !important;
    font-size: calc(13px + 1 * ((100vw - 500px) / 1100));
}

.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li a:hover {
    opacity: 0.6;
}

.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li:hover a {
    background: transparent;
}

body.default .module-header.style-8 {
    position: relative;
}

body.default .module-header.style-8.fixed {
    position: fixed !important;
}

@media (max-width: 1024px) {
    .module-header.style-8 {
        padding: 30px 40px 30px 0;
    }
}

.module-header.style-8.style2 .ry-right .ry-leads .ry-contact li:nth-child(2) span.call_us {
    color: #fff;
}

.module-header.style-8.style2 .ry-right .ry-menu .nav-menu li .dropdown-menu li:hover a {
    background: transparent;
}

/* HEADER */
.module-header.style-8 {
    padding-top: 0 !important;
    padding-bottom: 0;
    position: relative;
    background: #fff !important;
}

.module-header.style-8 .text-banner {
    padding: 14px 0;
    background: #333333;
    transition: 0.2s;
}

.module-header.style-8 .text-banner .text-wrapper a {
    font-size: 14px !important;
    line-height: 1 !important;
    text-transform: uppercase;
    color: #333333;
    letter-spacing: 1px;
    font-weight: 300;
    display: block;
}

.module-header.style-8 .ry-container .ry-left {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    top: 50%;
}

.module-header.style-8 .ry-container .ry-left img {
    max-width: 275px;
    transition: 0.2s;
}

.module-header.style-8 .ry-container .ry-right {
    max-width: 100%;
}

.module-header.style-8 .ry-container .ry-right .ry-leads-v2 {
    padding: 40px 0;
    transition: 0.2s;
}

.module-header.style-8 .ry-contact-v2 {
    display: flex;
    justify-content: space-between;
}

.module-header.style-8 .ry-btn {
    height: 50px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    align-items: center !important;
    display: flex !important;
    color: #333 !important;
}

.module-header.style-8 .ry-btn svg {
    width: 18px;
    margin-right: 10px;
    fill: #3333;
}

.module-header.style-8 .ry-btn.btn-transparent:hover {
    background: #1385a1 !important;
    color: #fff !important;
}

.module-header.style-8 .menu-wrapper.new {
    display: flex;
    justify-content: center;
}

.module-header.style-8 .menu-wrapper.new .ry-right {
    max-width: 100%;
    /* border-top: 1px solid #ccc; */
    max-width: 1600px;
    width: 90%;
}

/* IF the MOCKUP need container
.module-header.style-8 .menu-wrapper.new .ry-right .ry-menu {
max-width: 1000px;
}
*/
.module-header.style-8 .menu-wrapper.new .ry-right .nav-menu {
    max-width: 100%;
    float: unset;
    top: 0 !important;
}

.module-header.style-8 .ry-right .ry-menu .nav-menu>li>a {
    color: #333 !important;
    font-size: 18px !important;
    padding-bottom: 0 !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 300;
}

.ry-menu .ry-nav li.dropdown .dropdown-toggle span {
    margin-left: 5px;
}

.module-header.style-8.fixed .menu-wrapper.new .ry-right {
    /*padding-top: 20px;*/
}

.module-header.style-8.fixed .text-banner {
    height: 0;
    padding: 0;
    visibility: hidden;
    transition: 0.2s;
}

.module-header.style-8 .ry-menu .ry-nav li.dropdown .dropdown-toggle span {
    display: inline-block;
    margin-left: 5px;
}

.module-header.style-8 .ry-btn.btn-transparent {
    background: transparent !important;
    border: 1px solid;
    height: 60px !important;
    border-radius: 10px;
    letter-spacing: initial;
}

.module-header.style-8 .ry-btn:hover svg {
    fill: #fff;
}

.ry-btn:hover {
    color: #ffffff !important;
}

.module-header.style-8 .ry-btn span {
    font-weight: 700;
    margin-left: 5px;
}

.module-header.style-8.fixed .ry-container .ry-right .ry-leads-v2 {
    transition: 0.2s;
}

.module-header.style-8.fixed .ry-container .ry-left img {
    max-width: 150px;
    transition: 0.2s;
}

/* END HEADER */
@media (max-width: 1540px) {
	.module-header.style-8 .ry-right .ry-menu .nav-menu>li>a {font-size: 16px !important;}
}
@media (max-width: 1080px) {
    .text-banner {
        position: fixed;
        z-index: 99;
    }

    .module-header.style-8 {
        display: none !important;
    }

    .mobile-header.style-8 {
        display: block !important;
    }

    .mobile-header.style-8 .mobile-container .flex-wrap .mobile_logo img {
        max-width: 150px !important;
        min-width: 150px !important;
    }

    .mobile-header.style-8 .text-wrapper a {
        display: block;
        line-height: 1;
        font-size: 12px;
        background: #000;
        color: #fff;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9;
    }

    .mobile-header.style-8 .mobile-container .mobile-nav button .hamburger-inner,
    .mobile-header.style-8 .mobile-container .mobile-nav button .hamburger-inner:before,
    .mobile-header.style-8 .mobile-container .mobile-nav button .hamburger-inner:after,
    .mobile-header.style-8 .mobile-container .flex-wrap .flex-item.right-nav .mobile-button a {
        color: #ffffff !important;
        background: #009ec5 !important;
    }

    #menu_container .mm-listview .mm-listitem a {
        font-size: 16px;
    }

    .mobile-container .flex-wrap .flex-item.right-nav .mobile-button a .fa:before {
        display: none;
    }

    /* CHANGES ON INSIDE MOBILE SIDEBAR */
    #menu_container .mm-listview .mm-listitem a,
    .mm-listitem>a,
    .mm-listitem>span {
        font-size: 16px;
        text-transform: uppercase !important;
        letter-spacing: initial !important;
    }

    .mm-menu_theme-black .mm-btn:after,
    .mm-menu_theme-black .mm-btn:before,
    .mm-menu_theme-black .mm-listview .mm-btn_next:after,
    .mm-listitem,
    .mm-listitem .mm-btn_next,
    .mm-listitem .mm-btn_next:before,
    .mm-listitem:after,
    .mm-listview {
        border-color: #ffffff44;
    }

    .mm-menu_theme-black .mm-navbar>*,
    .mm-menu_theme-black .mm-navbar a {
        color: #fff;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 400;
    }
}

@media (max-width: 460px) {
    .text-banner .text-wrapper a {
        font-size: 10px;
        padding: 0 10px;
    }

    .mobile-header.style-8 .mobile-container .flex-wrap .mobile_logo img {
        max-width: 180px;
        min-width: 180px;
    }

    .mobile-header.style-8 .mobile-container .flex-wrap .flex-item.right-nav .mobile-button a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .mobile-header.style-8 .mobile-container {
        padding: 17px 0;
    }
}

@media (max-width: 361px) {
    .mobile-header.style-8 .mobile-container {
        top: 34px;
    }
}