
/* MENU CUSTOM STYLES */
.header__nav ul li.menu-item-has-children {
    position: relative;
    padding-right: 25px;
}

.header__nav ul li.menu-item-has-children .linkarr {
    content: '';
    width: 18px;
    height: 10px;
    position: absolute;
    right: 0;
    top: 7px;
    background: url(../img/menu-arrow.svg) no-repeat center/100%;
    cursor: pointer;
}

.header__nav .sub-menu {
    position: absolute;
    left: 0;
    top: 36px;
    background: #fff;
    display: block;
    /* width: 206px; */
    width: max-content !important;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transform: translateY(-15px);
    transition: 0.3s;
}

.header__nav ul li.menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: translateY(0);
}

.header__nav .sub-menu li a {
    color: #1C4B85;
    padding: 8px 20px;
    display: block;
    font-size: 14px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    font-weight: 400;
}

.header__nav .sub-menu li.menu-item-has-children {
    padding-right: 0;
}

.header__nav .sub-menu li a:hover {
    background: rgba(28, 75, 133, 0.1);
    opacity: 1;
}

.header__nav .sub-menu li.menu-item-has-children .linkarr {
    content: '';
    background: url(../img/menu-arrowright.svg) no-repeat center/100%;
    transform: rotate(-90deg);
    width: 14px;
    height: 7px;
    top: 15px;
    right: 7px;
}

.header__nav .menu-item-has-children .menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.header__nav .sub-menu .sub-menu {
    position: absolute;
    display: block;
    top: 0;
    background: #fff;
    width: 206px;
    padding: 8px 0;
    left: 100%;
    z-index: 2;
    -webkit-box-shadow: 0 0 10px #999;
    box-shadow: 0 0 10px #999;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    -webkit-transform: translateX(-15px);
    transform: translateX(-15px);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

@media(max-width:1199.8px) {
    .header__nav ul li.menu-item-has-children .linkarr {
        top: 16px;
        width: 24px;
        height: 24px;
        background-size: 18px;
        transition: 0.3s;
        pointer-events: all;
    }

    .header__nav .sub-menu li a {
        color: #fff;
        font-size: 16px;
        padding-left: 0;
    }

    .header__nav .sub-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        z-index: 1;
        top: 0;
        background: transparent;
        width: 100%;
        transform: translateY(0);
        display: none;
        padding: 0;
        transition: 0s;
    }

    .header__nav .sub-menu li.menu-item-has-children .linkarr {
        background: url(../img/menu-arrow.svg) no-repeat center/100%;
        transform: rotate(0deg);
        right: -20px;
    }

    .header__nav .sub-menu .menu-item-has-children:hover .sub-menu {
        position: relative;
        display: none;
        width: 100%;
        left: 0;
        transition: 0s;
        background: transparent;
        box-shadow: none;
        padding-left: 15px;
    }
}


.faqs.faqs_advergy .faqsaccordeon {
    display: block !important;
}


.footer {
    position: relative;
    z-index: 5;
}

/* ------------------------------------------ form styles  ----------------------------------------  */

.inputfield.confirmation{
    margin-bottom: 30px;
}

.formbtn.disabled{
    pointer-events: none;
    background: #D4DCE7;
}
.wpcf7-spinner {
    display: inline-block!important;
    background-color: #23282d!important;
    height: 24px!important;
    padding: 0!important;
}

/* select styles */
.select2-container--default .select2-results__option--selected {
    background-color: transparent;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #ddd;
}

/* ------------ */
.hideupload-1,
.hideupload-2,
.hideupload-3,
.hideupload-4 {
    padding: 0;
    margin: 0;
    opacity: 0;
    height: 0;
}

.clearinput {
    margin: 0 !important;
}

.file-upload .wpcf7-form-control-wrap {
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.wpcf7 form .wpcf7-response-output {
    border: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    /* color: #ffb900; */
    color: #FF4E43;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #1C4B85;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    color: #FF4E43;
}

.wpcf7-not-valid-tip {
    display: block;
    position: absolute;
    margin: 4px 0 0 0;
    color: #FF4E43 !important;
    font-size: 10px;
    line-height: 15px;
}

input.wpcf7-not-valid {
    border: 1px solid #FF4E43 !important;
    color: #FF4E43 !important;
}

.maincontsect__form .inputfield>p,
.maincontsect__form .inputfield>span {
    width: 100%;
}


.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    padding-left: 90px;
    padding-bottom: 55px;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    margin-top: 32px;
    margin-bottom: 0;
}


.checkboxes .wpcf7-list-item {
    margin: 0;
}

.select2-dropdown {
    position: absolute;
    top: 32px;
    bottom: initial;
}

.inputfield.phone .wpcf7-form-control-wrap:nth-of-type(1) {
    /* width: 142px; */
    width: 100%;
    border-left: 1px solid #D4DCE7;
}

.ap-form .inputblock .inputfield.phone input {
    max-width: 488px !important;
}



.inputfield.phone .wpcf7-form-control-wrap:nth-of-type(2) {
    width: 346px;
}

.ap-form .inputblock .phone .wpcf7-form-control-wrap:nth-of-type(1) input:focus {
    border: 1px solid #D4DCE7;
    border-left: none;
}

.intl-tel-input .flag-container {
    padding: 0px;
}


.flag-container:hover .selected-flag {
    background-color: inherit !important;
}


.intl-tel-input.allow-dropdown input[type=text] {
    background: #fff;
}

.intl-tel-input .flag-container {
    width: 100%;
}
.intl-tel-input.allow-dropdown .selected-flag, .intl-tel-input.separate-dial-code .selected-flag {
    width: 100%;
}

.intl-tel-input .selected-flag .iti-arrow {
    border: none;
    margin: 0;
    /* right: -80px; */
    right: 5px;
    background-image: url(../img/new/arrow_own.svg);
    width: 24px;
    height: 24px;
    background-size: cover;
    transform: translateY(-50%);
}

.wpcf7-form-control-wrap {
    max-width: 488px;
    width: 100%;
}

@media(max-width:991.8px) {

    .wpcf7-form-control-wrap {
        max-width: 356px;
    }


    .inputfield.phone .wpcf7-form-control-wrap:nth-of-type(2) {
        width: 220px;
    }

    .inputfield.phone .wpcf7-form-control-wrap .intl-tel-input input {
        padding-left: 40px;
        height: 44px;
    }
}

@media(max-width:767.8px) {
    .ap-heroscreen .pi-heroscreen__bottom {
        padding: 25px 10px;
    }

    .ap-heroscreen .pi-heroscreen__bottom h2 {
        font-size: 20px;
        margin-bottom: 0px;
    }

    .ap-heroscreen .pi-heroscreen__bottom p {
        font-size: 12px;
    }

    .select2-dropdown {
        top: 46px;
    }

    .inputfield.phone .wpcf7-form-control-wrap .intl-tel-input input {
        max-width: 100% !important;
    }

    .inputfield.phone .wpcf7-form-control-wrap:nth-of-type(2) {
        width: 50%;
    }

    .inputfield.phone .wpcf7-form-control-wrap:nth-of-type(2) input {
        max-width: 100% !important;
    }
}







.intl-tel-input .country-list {
    position: absolute;
    z-index: 2;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0 0 0 -1px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .2);
    background-color: #fff;
    border: 1px solid #ccc;
    white-space: nowrap;
    max-height: 200px;
    overflow-y: scroll;
}

.intl-tel-input.iti-container {
    position: absolute;
    z-index: 2;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0 0 0 -1px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .2);
    background-color: #fff;
    border: 1px solid #ccc;
    white-space: nowrap;
    max-height: 200px;
    overflow-y: scroll;
}

/* custom check */

.custom input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom input+span {
    display: inline-flex;
    align-items: center;
    user-select: none;
    color: rgba(42, 42, 42, 0.75);
    cursor: pointer;
}

.custom input+span::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #F2F4F8;
    border: 1px solid #D4DCE7;
    border-radius: 1px;
    margin-right: 20px;
    transition: .3s;
    cursor: pointer;
}

.custom input:checked+span::before {
    background-image: url(../img/new/checkbox_check.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ------------------------------------ google review style ------------------------------  */
/* .googlereviews .ti-widget.ti-goog .ti-col-4 .ti-review-item {
    flex: 0 0 30%;
    max-width: 30%;
}

.googlereviews .ti-stars,
.googlereviews .ti-review-content {
    padding-left: 55px;
}

.googlereviews .ti-widget.ti-goog .ti-profile-img img {
    width: 50px !important;
    height: 50px !important;
    padding: 0px !important;
    display: block;
    border-radius: 30px;
    min-width: initial !important;
    max-width: initial !important;
    object-fit: cover;
    object-position: top;
}

.ti-inner {
    cursor: pointer;
}

.ti-footer {
    display: none;
}

.ti-widget.ti-goog .ti-reviews-container-wrapper {
    overflow: visible !important;
}

.googlereviews__head {
    padding-top: 40px;
}

.ti-widget.ti-goog .ti-controls {
    top: -75px !important;
    right: 0;
    width: 196px !important;
}

.ti-prev::after,
.ti-prev::before,
.ti-next::after,
.ti-next::before {
    display: none !important;
}

.ti-prev,
.ti-next {
    width: 72px !important;
    height: 72px !important;
    background-color: #1C4B85;
    border: 1px solid #1C4B85;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
    margin: 0;
    display: block !important;
}

.ti-prev:hover,
.ti-next:hover {
    transform: scale(1) !important;
}

.ti-prev {
    background-image: url(../img/slarrleft.svg);
}

.ti-next {
    background-image: url(../img/slarrright.svg);
} */

/* -------------------------------- google popup styles -------------------------------- */
/* .googlereview .ti-review-header {
    display: flex;
    align-items: center;
}

.googlereview .ti-profile-img img {
    width: 50px;
    height: 50px;
}

.googlereview .ti-profile-details {
    padding-left: 16px;
}

.googlereview .ti-name {
    margin: 0;
    color: #2A2A2A;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

.googlereview .ti-date {
    margin: 0;
    color: #999999;
    font-size: 12px;
    line-height: 18px;
}

.googlereview .ti-review-content {
    font-size: 16px;
    line-height: 160%;
    padding-left: 66px;
    color: rgba(42, 42, 42, 0.6);
    height: auto !important;
}

.googlereview .ti-stars {
    padding-left: 66px;
}

.googlereview .ti-star.f {
    background-image: url(https://cdn.trustindex.io/assets/platform/Google/star/f.svg);
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0 !important;
    margin-right: 1px !important;
    background-size: contain;
    background-repeat: no-repeat;
}

.ti-widget.ti-goog .ti-read-more,
.googlereview .ti-read-more {
    display: none !important;
}

.rewiewpopup .popup-google-btn {
    color: #1C4B85;
    display: inline-block;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    padding: 20px 0 0 66px;
}

.rewiewpopup .popup-google-btn img {
    margin-left: 4px;
    vertical-align: middle;
    margin-top: -3px;
    transition: 0.3s;
}

.rewiewpopup .popup-google-btn:hover img {
    transform: translateX(10px);
}

@media (max-width: 479px) {
    .googlereviews .ti-widget.ti-goog .ti-controls-dots {
        display: none !important;
    }
} */