header._custom {
    padding: 0;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}

header._custom nav.navbar {
    padding: 0px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    z-index: 2;
}

header .nav-wrapper {
    padding: 0 12px 0 0;
    height: 84px;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    width: 100%;
    z-index: 1;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

header._custom .after-image {
    content: "";
    position: absolute;
    top: 6px;
    right: -24px;
    bottom: 0;
    height: 30px;
    width: 30px;
    z-index: 1;
    background: url('' /crtaroma/wp-content/themes/crtaroma/assets/images/custom-nav-right.png'') no-repeat left center / contain;
}

._custom.navwrap::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -24px;
    bottom: 0;
    height: 30px;
    width: 30px;
    z-index: 1;
    transform: scaleX(-1);
    background: url('' /crtaroma/wp-content/themes/crtaroma/assets/images/custom-nav-right.png'') no-repeat left center / contain;
}


/* HEADER CSS */

._custom .nav-container img {
    width: 100%;
    height: 100%;
    max-height: 50px;
    max-width: 262.934px;
    object-fit: contain;
    /* padding-right: 10px; */
}

.top-bar {
    width: 100%;
    background-color: var(--ColorType1);
    padding: 25px 32px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.top-bar.visible {
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 25px 32px;
}

.top-bar span.text,
.top-bar span.text a {
    text-align: center;
    color: var(--ColorWhite);
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
}

.top-bar a span {
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    text-transform: none;
}

.top-bar a.tel {
    color: var(--ColorWhite);
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
}

.top-bar a.text {
    color: var(--ColorType1);
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 30px;
    background: var(--ColorWhite);
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

._custom .menu-item {
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

._custom .menu-item:hover>.sub-menu {
    display: block;
    position: absolute;
    left: 0;
    top: 65px;
    padding: 0;
    list-style: none;
    z-index: 3;
    transition: ease 0.5s;
}

._custom .menu-item-has-children .menu-item-type-custom,
._custom .menu-item-has-children .menu-item-type-post_type {
    padding: 0;
}

._custom .menu-item-has-children {
    display: flex;
    align-items: center;
    padding: 20px 0 20px;
    position: relative;
}

._custom li.menu-item a:hover,
._custom li.menu-item a.active {
    color: var(--ColorType1);
    border-bottom: 2px solid #FF365E;
}

._custom li.menu-item a {
    color: var(--ColorBlack);
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    white-space: pre;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
}

._custom li.menu-item:hover>a {
    color: var(--ColorType1);
    transition: ease 0.5s;
}

._custom li.menu-item:hover>a+ul {
    color: var(--ColorType1);
}

._custom li.menu-item a:hover {
    color: var(--ColorType1);
    transition: ease 0.5s;
}

._custom .menu-item:hover.menu-item-has-children:focus:after,
._custom .menu-item:hover.menu-item-has-children:after,
._custom .menu-item:hover.menu-item-has-children.focus:after,
._custom .menu-item:hover.menu-item-has-children:focus:after {
    transform: translate(0, 0) scaleY(-1);
    height: 25px;
    width: 20px;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='5' viewBox='0 0 7 5' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.5 1.3L3.3 4.5L0.1 1.3L0.9 0.5L3.3 2.9L5.7 0.5L6.5 1.3Z' fill='%23D11242'/%3E%3C/svg%3E");
    transition: all 300ms ease-in-out;
    height: 100%;
}

.menu-item-has-children:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='5' viewBox='0 0 7 5' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.5 1.3L3.3 4.5L0.1 1.3L0.9 0.5L3.3 2.9L5.7 0.5L6.5 1.3Z' fill='%23414042'/%3E%3C/svg%3E");
    display: inline-block;
    transform: translate(0, -4px) scaleY(1);
    height: 25px;
    width: 20px;
    padding-left: 8px;
    top: 31px;
    transition: all 300ms ease-in-out;
    height: 100%;
}

._custom nav.navbar.navbar-expand-lg.bg-white {
    padding: 0;
}

._custom .sticky-top {
    z-index: 998 !important;
}

._custom .__top_bar {
    padding: 16px 0;
    background: var(--ColorType1)
}

._custom .__top_bar._desktop {
    display: none;
}

._custom .__top_bar .header_form {
    display: flex;
    justify-content: end;
    max-width: 900px;
    width: 100%;
    gap: 15px;
}

._custom .__top_bar h5 {
    color: var(--ColorWhite);
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-right: 10px;
}

._custom .wpcf7-spinner {
    display: none;
}

._custom .wpcf7 form.invalid .wpcf7-response-output,
._custom .wpcf7 form.unaccepted .wpcf7-response-output,
._custom .wpcf7 form.payment-required .wpcf7-response-output {
    color: var(--ColorWhite);
}

._custom .sticky_head {
    padding: 0;
    z-index: 10;
    top: 0;
    position: sticky;
}

._custom .truncate-lines-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

._custom .truncate-lines-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

._custom .wpcf7 form.init .wpcf7-response-output,
._custom .wpcf7 form.resetting .wpcf7-response-output,
._custom .wpcf7 form.submitting .wpcf7-response-output {
    display: none;
}

._custom input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.input-text,
._custom input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email.input-text {
    display: flex;
    width: 100%;
    padding: 15px;
    align-items: center;
    gap: 10px;
}

._custom .__top_bar .row ._custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._custom .__top_bar div.inquire p {
    display: flex;
    gap: 10px;
    margin-bottom: 0 !important;
}

._custom .wpcf7 form.sent .wpcf7-response-output {
    background-color: var(--ColorWhite);
    color: var(--ColorBlack);
}

._custom input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background: var(--ColorWhite);
    color: var(--ColorType1);
    transition: ease 0.5s;
}

._custom input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: flex;
    width: 140px;
    height: auto;
    padding: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #FC0;
    border: none;
    color: var(--ColorBlack-2);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: ease 0.5s;
}

._custom ul#menu-menu-seohackernavmenu ul.sub-menu li.menu-item:hover a {
    color: var(--ColorWhite);
    transition: ease 0.5s;
}

._custom ul#menu-menu-seohackernavmenu .menu-item-has-children>a {
    text-align: center;
}

._custom ul#menu-menu-seohackernavmenu li.menu-item,
._custom ul#menu-menu-seohackernavmenu li.menu-item ul.sub-menu li.menu-item {
    position: relative;
}

._custom ul#menu-menu-seohackernavmenu ._custom li.menu-item a {
    padding: 20px 15px 0;
}

._custom ul#menu-menu-seohackernavmenu li.menu-item a::before,
._custom ul#menu-menu-seohackernavmenu li.menu-item ul.sub-menu li.menu-item a::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

._custom a .menu-item-has-children {
    text-align: center;
}

._custom ul.sub-menu {
    display: none;
    position: absolute;
    top: 100px;
    padding-left: 0;
}

._custom ul.sub-menu li {
    color: var(--ColorBlack);
    /* background: #F7F7F7; */
    margin: auto;
    /* width: 300px; */
    display: flex;
    cursor: pointer;
}

._custom ul.sub-menu li a {
    color: var(--ColorBlack);
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    /* white-space: pre; */
    text-align: left !important;
    padding: 0;
    width: 100%;
    transition: ease 0.5s;
}

.sub-menu li {
    background: #F7F7F7;
}

.sub-menu li:hover {
    background: #F7F7F7;
}

._custom ul.sub-menu li:hover a {
    color: var(--ColorType1) !important;
    /* background: #F7F7F7; */
    transition: ease 0.5s;
}

._custom .tablet-logo {
    display: none;
}

._custom .custom-menu-logo {
    display: block;
}

._custom .navbar-expand-lg .navbar-nav,
._custom .navbar-expand-xl .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    list-style: none;
    padding: 0;
    width: 100%;
}

._custom .__custom nav.navbar {
    padding: 0;
}

._custom #navbarSupportedContent {
    flex-grow: 0;
    padding-bottom: 0;
}

._custom.navwrap {
    position: relative;
    margin: 0;
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    max-width: 1268px;
    padding: 18px 40px;
    background: var(--ColorBgWhite);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    border: 0px;
    height: 84px;
    /* overflow: hidden; */
}

._custom.navwrap>a {
    margin-right: 5px;
}

._custom .nav-container {
    display: flex;
    justify-content: space-between;
    width: auto;
}

._custom #primary-menu {
    gap: 50px;
    align-items: center;
}

@media (min-width: 1921px) {
    header._custom {
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }
    header._custom nav {
        max-width: 1268px;
        margin: auto;
    }
}

@media (max-width:1920px) {
    header._custom nav {
        max-width: 1268px;
        margin: revert;
        box-shadow: 0px 3px 15px -5px rgba(0, 0, 0, 0.10);
    }
    header._custom {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }
    section.custom-section.banner::before {
        content: "";
        position: absolute;
        top: 66px;
        left: -6px;
        bottom: 0;
        height: 30px;
        width: 30px;
        z-index: 1;
        transform: scaleX(1);
        background: url('/crtaroma/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
    }
    ._custom.navwrap {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
}

@media (max-width:1360px) {
    header._custom .after-image {
        display: none;
    }
    header._custom nav {
        max-width: 100%;
    }
    ._custom.navwrap {
        max-width: 100%;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    header .nav-wrapper {
        padding: 0;
    }
    ._custom.navwrap::after {
        /* content: "";
        position: absolute;
        top: 86px;
        right: 0px;
        bottom: 0;
        height: 50px;
        width: 50px;
        z-index: 1;
        transform: scaleX(-1);
        background: url('/crtaroma/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain; */
    }
}

@media (max-width:1199px) {
    header._custom {
        padding: 0;
    }
    ._custom.navwrap::after,
    ._custom.navwrap::before {
        display: none;
    }
    .top-bar.visible {
        padding: 25px 30px;
    }
    .row.inquiry-form {
        margin-bottom: 50px;
    }
    .sub-menu li {
        background: var(--ColorWhite);
    }
    ._custom ul#menu-menu-seohackernavmenu .menu-item-has-children>a {
        margin-bottom: 10px;
    }
    ._custom #navbarSupportedContent {
        padding-bottom: 20px;
        /* box-shadow: 0px 15px 10px -15px #11111126; */
    }
    header._custom nav.navbar.navbar-expand-xl {
        padding: 0px;
    }
    section ._right,
    section ._left {
        padding-right: 0;
        padding-left: 0;
    }
    ._custom li.menu-item a {
        max-width: 100%;
        font-size: 18px;
    }
    /* custom-left-menu*/
    ._custom .navbar-expand-lg .navbar-nav,
    ._custom .navbar-expand-xl .navbar-nav {
        display: block;
        min-height: 400px;
        overflow-y: scroll;
        margin-top: 20px;
    }
    ._custom .menu-item {
        display: flex;
        flex-direction: column;
        align-items: start;
        position: relative;
        max-width: 100%;
        width: 100%;
        padding: 20px 15px 20px 15px;
    }
    ._custom ul.sub-menu .menu-item {
        padding: 10px 10px 5px 10px;
    }
    .menu-item-has-children:after {
        display: none;
    }
    ._custom.navwrap {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    ._custom .__top_bar h5 {
        margin-bottom: 20px;
    }
    .top-bar.visible,
    .top-bar {
        flex-direction: column;
    }
    ._custom .menu-item ul.sub-menu {
        display: block;
        position: static;
        padding: 0;
        background: var(--ColorWhite);
        list-style: none;
        z-index: 1;
        width: 100%;
    }
    ._custom ul.sub-menu li {
        /* background: var(--ColorWhite); */
        margin: auto;
        padding: 15px;
        display: block;
        cursor: pointer;
        width: 100%;
    }
    ._custom .menu-item:hover>ul.sub-menu {
        position: unset;
    }
    ._custom .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: normal;
    }
}

@media (max-width:767px) {
    .row.inquiry-form {
        margin-bottom: 40px;
    }
    ._custom .__top_bar .row ._custom {
        flex-direction: column;
    }
    ._custom .__top_bar h5 {
        margin-right: 0;
    }
    header._custom nav.navbar.navbar-expand-xl {
        padding: 0t;
    }
    header._custom {
        padding: 0;
    }
    /* ._custom.navwrap {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    } */
    .top_bar .row {
        gap: 15px;
    }
    .top_bar .header_form {
        justify-content: start;
    }
}

@media (max-width:575px) {
    ._custom .nav-container img {
        width: 100%;
        padding-right: 20px;
    }
    ._custom .__top_bar div.inquire p {
        flex-direction: column;
        gap: 0;
    }
    ._custom.navwrap>a {
        margin-right: 0;
    }
}