@media (max-width: 1400px) {
    .custom-theme-body .custom-top-search.block-search input::placeholder {
        font-size: 15px;
    }
}

@media (max-width: 1300.98px) {
    .header_cards form .input-group {
        width: 30%;
    }

    .testimonials .owl-stage {
        margin-left: -25%;
    }

    .progress_section div:nth-child(3)>h4::after {
        left: 28%;
    }

    .custom-theme-body .custom-top-search.block-search input::placeholder {
        font-size: 12px;
    }

    .catalogsearch-result-index .product-items li.product {
        max-height: fit-content;
    }
}

@media (max-width: 1199.98px) {

    .custom-theme-body .custom-top-search.block-search input::placeholder {
        font-size: 18px;
    }

    /* .header_cards form .input-group {
        width: 35%;
    } */

    .testimonials div.owl-stage-outer {
        padding-left: unset;
    }

    .testimonials .owl-stage {
        margin-left: unset;
    }

    .testimonials div.owl-stage-outer {
        margin-left: -5%;
    }

    .custom-top-search {
        width: 250px;
        margin-left: 0;
    }

    .nav-top-links {
        margin-top: 0;
        padding: 0;
    }

    .nav-top-link {
        margin-right: 15px;
    }

    .user-icons {
        margin-right: 5px;
    }

    .custom-theme-body .product .product-info {
        margin-left: 15px;
    }
}

@media (max-width: 991.98px) {
    .catalogsearch-result-index.page-layout-1column .column.main {
        padding: 0 15px;
    }

    .block.contact-agent,
    .cms-container .header-text {
        margin: auto;
    }

    .block.contact-agent .action.subscribe {
        position: relative;
    }

    .filter-options .filter-options-content {
        width: 100%;
    }

    .custom-theme-body.catalogsearch-result-index .page-main .block-search input {
        position: relative;
    }

    .catalogsearch-result-index .product-items li .product-item-description a {
        position: relative;
    }

    .catalogsearch-result-index .product-item-description .col-lg-4 {
        margin: 10px 0;
    }

    .statistics .number br {
        display: none;
    }

    .leadership .col-lg-4 {
        margin-bottom: unset !important;
        margin-top: 50px;
    }

    .solutions-overview .cms-container .row {
        margin-bottom: 85px;
        margin-top: 15px;
    }

    .solutions-overview .soluzioni .row {
        padding: 0;
    }

    .solutions-overview .col-footer {
        margin-top: 0;
        margin-bottom: 45px;
    }

    .custom-theme-body .product .product-info {
        margin-left: 0;
    }

    .custom-theme-body .product .product-info {
        margin-left: 0;
    }

    .header.panel>.header.links>li {
        margin-left: 5px;
    }

    .page-header .header.panel {
        max-width: 100%;
    }

    .nav-top-links {
        padding: 0;
    }

    .nav-top-link {
        margin-right: 10px;
    }

    .header_cards .col-lg-2 {
        flex: 0 0 40%;
        max-width: 49%;
    }

    .header_cards .card {
        margin-top: 5%;
    }

    .header_cards form .input-group {
        width: 45%;
    }

    .header_cards form button {
        margin-top: 5% !important;
    }

    .progress_section .col-lg-3 {
        width: 25%;
    }

    .progress_section .col-lg-3 h4 {
        display: grid;
    }

    .progress_section div:nth-child(2)>h4::after {
        left: 22%;
    }

    .progress_bottom {
        text-align: center;
    }

    .progress_bottom a:not(.custom-button) {
        margin: auto;
    }

    .progress_bottom button {
        width: 90%;
    }

    .progress_bottom>div>div:nth-child(2) img {
        margin-top: 10%;
    }

    .owl-carousel .owl-item .testimonial img {
        width: unset !important;
    }

    .testimonial .row .col-lg-3 {
        width: 20%;
    }

    .testimonial .row .col-lg-9 {
        width: 60%;
    }

    .custom-footer {
        padding: 40px 10px;
    }

    .custom-footer .col-lg-3.address {
        width: 20%;
    }

    .custom-footer .col-lg-3.address li a {
        white-space: nowrap;
    }

    .custom-footer .col-lg-6.footer-links {
        width: 70%;
    }

    .custom-footer .col-lg-6.footer-links .col-lg-3 {
        width: 30%;
    }

    .top-footer .col-lg-6 p {
        width: 100%;
    }

    .custom-theme-body .product-action-link {
        display: block;
    }

    .user_search .block-search {
        width: 90%;
    }

    .user-links-dropdown .user-info .col-lg-2 {
        width: 20%;
    }

    .user-links-dropdown .user-info .col-lg-9 {
        width: 80%;
    }

    .user-initials {
        width: 48px;
        height: 48px;
        float: right;
        /*margin-top: 2%;*/
    }

    .user-links-dropdown .user-info .user-initials {
        float: unset;
    }

    .dashboard-card {
        max-width: 100%;
        margin-top: 5%;
    }

    .custom-top-search {
        width: auto;
        display: none !important;
    }

    .progress_section div:nth-child(3)>h4::after {
        left: unset;
        right: 10%;
    }

    .cms-home .header_cards {
        padding-bottom: 20px;
    }

    .cms-home .header_cards form {
        position: relative;
        bottom: unset;
        margin-top: 15%;
    }

    /*Family page*/

    .cms-container {
        text-align: center;
    }

    .cms-container.soluzioni .col-body ul {
        text-align: left;
        margin: auto;
    }

    .cms-container .col-6 {
        margin: 20px 0;
    }

    .reverse-wrap {
        flex-wrap: wrap-reverse;
    }

    .cms-container .col-lg-6>img,
    .empty-placeholder {
        margin: auto;
        margin-top: 30px;
    }

    .rectangle:nth-child(odd) {
        display: none;
    }


    .statistics .cms-container .row .col-lg-4 {
        margin: 10% 0;
    }


    .cms-container .number strong {
        margin-bottom: 10px;
    }

    /*Contact Agent*/
    .contactagent-index-index input,
    .contactagent-index-index .select ul {
        max-width: 100%;
    }

    /* .contactagent-index-index .select ul {
        width: 95%;
    } */

    .contactagent-index-index .select ul li {
        max-width: 95%;
    }

    .contactagent-index-index .select .arrow {
        /* right: 7px; */
        right: 10px;
    }

    .category-with-only-static-block .header_cards form {
        position: relative;
    }

    .col-header,
    .col-body p,
    .col-footer,
    .col-footer .row,
    .clienti .col-header img {
        margin: auto;
    }

    .col-footer .row {
        max-width: 33%;
        margin-top: 15px;
    }

    .col-body ul {
        text-align: left;
        margin: auto;
    }

    .col-footer {
        margin-top: 15%;
    }

    .checkout-onepage-success.page-layout-2columns-right .page-wrapper .sidebar-main,
    .checkout-onepage-success.page-layout-2columns-right .page-wrapper .column.main {
        width: 100%;
    }
    .checkout-onepage-success.page-layout-2columns-right .page-wrapper .sidebar-main {
        margin-bottom: 32px;
    }
    .checkout-onepage-success .page-wrapper .checkout-success {
        padding-right: 0;
    }
    .checkout-onepage-success .page-wrapper .popular-products,
    .checkout-onepage-success .page-wrapper .checkout-success .dashboard-card,
    .checkout-onepage-success .checkout-success .card-title {
        display: none;
    }
    .checkout-onepage-success .column.main {
        min-height: unset;
    }
    .checkout-onepage-success .page-wrapper .checkout-success .order-success-message .success-message {
        font-size: 16px;
        width: 100%;
        text-align: center;
    }
    .page-wrapper #tick-mark {
       display: none;
    }
    .checkout-onepage-success .page-wrapper .checkout-success .success-title {
        text-align: center;
        margin-left: 0;
    }
    #title-tick-mark {
        position: relative;
        display: inline-block;
        width: 32px;
        height: 32px;
        background-color: #00D6A6;
        border-radius: 50%;
        top: 8px;
        margin-right: 10px;
    }
    #title-tick-mark::before {
        position: absolute;
        left: 1px;
        top: 46%;
        height: 25%;
        width: 3px;
        background-color: #FFFFFF;
        content: "";
        transform: translateX(10px) rotate(-45deg);
    }
    #title-tick-mark::after {
        position: absolute;
        left: 5px;
        bottom: 10px;
        height: 3px;
        width: 40%;
        background-color: #FFFFFF;
        content: "";
        transform: translateX(10px) rotate(-45deg);
        transform-origin: left bottom;
    }
    .checkout-onepage-success .page-wrapper .checkout-success .success-title strong {
        vertical-align: middle;
    }
    .checkout-onepage-success .sidebar-main .sidebar-order-totals,
    .checkout-onepage-success .sidebar-main .sidebar-grand-total {
        display: none;
    }
    .checkout-onepage-success .checkout-success {
        margin-top: 60px;
    }
}

@media (max-width: 767.98px) {
    .contact-agent-page .contact-agent-container {
        /* text-align: center; */
    }

    .header-cards-wrapper {
        justify-content: space-around;
    }

    .filter-options {
        flex-direction: column;
        align-items: center;
    }

    .block.filter p {
        margin: auto;
        margin-bottom: 10px;
        padding-left: 0;
    }

    .filter-options-content ol {
        position: static;
    }

    .catalogsearch-result-index .product-item .custom-attributes {
        text-align: center;
    }

    .catalogsearch-result-index .product-item .custom-attributes .col-lg-3 {
        margin-bottom: 10px;
    }

    .filter-options .filter-options-content {
        margin-bottom: 60px;
    }

    #result-product-list {
        margin-top: 0;
    }

    .catalogsearch-result-index .products-list .product-item-info {
        text-align: center;
    }

    .catalogsearch-result-index .page-main .block-search {
        max-width: 100%;
    }

    .custom-theme-body.catalogsearch-result-index .page-main .block-search .action.search {
        top: -10px;
        right: 5%;
        /*right: 0;*/
    }

    /*
    .catalogsearch-result-index .category-tabs{
        padding-top: 20px;
    }
    */

    .catalogsearch-result-index #search_mini_form {
        position: relative;
    }

    .products-list .product-item-photo {
        display: inline;
    }

    .long-description ul {
        width: fit-content;
        margin: auto;
        text-align: left;
    }

    .col-footer .row {
        max-width: 80%;
    }

    /*Contact Agent*/

    .contactagent-index-index .select ul {
        width: 100%;
    }

    .contact-wrapper .contact-form-static-block,
    .contact-agent-page .col-md-5 {
        margin-top: 50px;
    }

    .contactagent-index-index .select .arrow {
        /* top: 55px; */
        right: 10px;
    }

    .agency-view>.row .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
        text-align: center;
    }

    .agency-view .top-wrapper span {
        display: block;
        text-align: center;
    }

    .progress_section div:nth-child(3)>h4::after {
        right: 26%;
    }

    .custom-theme-body .product .product-info {
        padding-left: 0;
    }

    .user_search p {
        max-width: 400px;
        width: auto;
    }

    .full-width-card .chart-legend li {
        display: list-item;
        margin-top: 20px;
    }

    .testimonials div.owl-stage-outer {
        margin-left: 0;
    }

    .testimonial {
        margin-right: 10px;
        max-width: 550px;
    }

    div.columns>div>div:nth-child(7) .row:before {
        display: none;
    }

    .page-header .header.panel {
        max-width: 90%;
    }

    .active.nav-toggle:before {
        content: '+';
        font-family: 'Styrene A';
        font-weight: 400;
        font-size: 35px;
        color: #202020;
        transform: rotate(45deg);
    }

    #responsiveMenu {
        /* width: auto; */
        width: 100%;
        height: 100vh;
        position: fixed;
        overflow: auto;
        overflow-x: hidden;
        background: #ffffff;
        right: 0;
        top: 70px;
        z-index: 9;
        border-top: 1px solid #E5E5E5;
        padding: 40px 20px;
        /*padding: 100px 50px;*/
    }

    #responsiveMenu .c-dropdown-menu {
        position: static;
        border-bottom: 2px solid #BABABA;
    }


    .hasdropdown:after {
        display: none;
    }

    .c-dropdown-menu:after {
        content: '';
        background-color: #ffffff;
        box-shadow: 0px 50vh 0 50vh #ffffff;
    }

    #responsiveMenu .c-dropdown-menu ul {
        text-align: left;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-4,
    #responsiveMenu .c-dropdown-menu .col-lg-2 {
        display: flex;
        align-items: center;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-4 div,
    #responsiveMenu .c-dropdown-menu .col-lg-2 div {
        padding-left: 5%;
        text-align: left;
        width: 100%;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2,
    #responsiveMenu .c-dropdown-menu .col-lg-4 {
        padding-left: 0;
        height: 70px;
        border-bottom: 1px solid #E5E5E5;
    }

    #responsiveMenu .c-dropdown-menu img {
        float: left;
        max-width: 56px;
        max-height: 56px;
    }

    #responsiveMenu .c-dropdown-menu .active img {
        margin-block-end: auto;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2 ul,
    #responsiveMenu .c-dropdown-menu p {
        /*width: 100%;*/
        display: none;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2.active ul {
        display: block;
        margin-top: 20%;
    }

    .c-dropdown-menu h5 a {
        padding-top: 0;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2.active {
        height: auto;
        align-items: baseline;
        padding-top: 7px;
        background: #E5FCF7;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2.active::after,
    #responsiveMenu .c-dropdown-menu .col-lg-2.active::before {
        position: absolute;
        content: '';
        height: 101%;
        width: 50%;
        left: -50%;
        top: -1px;
        background: #E5FCF7;
        border-bottom: 1px solid #E5E5E5;
        border-top: 1px solid #E5E5E5;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2.active::after {
        right: -50%;
        left: unset;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2.active h5 {
        position: absolute;
        top: 11.5%;
        width: 82%;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2.active li {
        border: none !important;
    }

    #responsiveMenu .c-dropdown-menu .col-lg-2.active li a {
        font-size: 14px !important;
        color: #000000;
    }

    #responsiveMenu .c-dropdown-menu h5 a.arrow-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid #FF7261;
        border-bottom: none;
        top: 35px;
        right: 10px;
    }

    #responsiveMenu .c-dropdown-menu .active h5 a.arrow-link:after {
        border-top: none;
        border-bottom: 8px solid #FF7261;
        top: 10px;
    }

    #responsiveMenu ul {
        display: contents;
        /* display: list-item !important;
        list-style: none !important;
        text-align: -webkit-right; */
    }

    #responsiveMenu ul li {
        list-style: none !important;
        color: #202020;
        font-size: 18px !important;
        /*font-size: 20px !important;*/
        margin-right: 10px;
        line-height: 24px;
        border-bottom: 1px solid #E5E5E5;
        position: relative;
    }

    #responsiveMenu .hasdropdown.icon-right-open::before {
        position: absolute;
        right: 0;
        color: #FF7261;
    }

    #responsiveMenu .hasdropdown.icon-left-open::before {
        position: unset;
        right: unset;
    }

    #responsiveMenu .widget.block {
        margin-top: 0;
    }

    #responsiveMenu ul li a:not(.create) {
        background: none !important;
        color: #202020;
        font-size: 20px !important;
        border: none !important;
        width: 100%;
        text-align: right;
        font-weight: normal;
        padding: 0;
    }

    #responsiveMenu ul li a.arrow-link {
        display: block;
    }

    #responsiveMenu ul li a.hasdropdown {
        width: 100%;
        display: block;
    }

    #responsiveMenu ul li a.hasdropdown.active {
        border-bottom: 1px solid #E5E5E5 !important;
        padding-bottom: 20px;
    }

    #responsiveMenu ul.header.links li {
        border: none;
        text-align: center;
        display: block;
        width: 100%;
        padding: 5px;
        border-bottom: 1px solid #E5E5E5;
        padding: 4px 5px 14px 5px;
    }

    #responsiveMenu ul.header.links li:last-child {
        border-bottom: none;
    }

    #responsiveMenu ul.header.links li a {
        display: block;
        width: 100%;
        height: auto;
    }

    #responsiveMenu .nav-top-link {
        padding: 4px 5px 14px 5px;
    }

    .header.links li.authorization-link:not(.user-link-menu) {
        float: none;
        margin-left: 0;
        margin-right: 10px;
    }

    #responsiveMenu .header.links li:not(.user-link-menu):last-child a {
        margin: auto;
        font-weight: normal;
        width: 100%;
        max-width: 200px;
    }

    #responsiveMenu .header.links li:not(.user-link-menu):last-child a {
        max-width: 100%;
    }

    .panel.header .nav-top-links,
    .panel.header .header.links {
        display: none;
    }

    .user-initials {
        margin-top: 3%;
    }

    .user-links-dropdown {
        right: 12%;
    }

    .user-links-dropdown .user-initials {
        float: left;
    }

    .user-icons {
        float: right;
    }

    .progress_section .col-lg-3 {
        width: 49%;
    }

    .progress_section .col-lg-3 h4 {
        display: block;
    }

    .progress_section div:nth-child(2)>h4::after {
        left: 30%;
    }

    .progress_section .dotted-line {
        display: none;
    }

    .header_cards form .input-group {
        width: 95%;
        margin-top: 5%;
        /*display: list-item;*/
    }

    .select .arrow {
        position: absolute;
        right: 0;
        z-index: 999;
        top: -16px;
    }

    .select ul {
        position: relative;
    }

    .header_cards form button {
        margin-top: 0 !important;
        width: 95%;
    }

    .custom-footer {
        display: flex;
    }

    .custom-footer .col-lg-3.address {
        width: 100%;
        /*margin-top: 40%;*/
    }

    .custom-footer .col-lg-6.footer-links {
        width: 100%;
        display: contents;
    }

    .custom-footer .col-lg-3.address {
        margin-bottom: 50px;
    }

    /* .top-footer {
        padding: 50px;
    } */

    .custom-theme-body .product-action-link {
        padding: 15px 0;
    }

    .custom-theme-body .products .product {
        max-width: unset;
        margin-top: 20px;
    }

    .custom-theme-body .block-search .action.search {
        right: 30px;
        top: -3px;
    }

    .searchsuite-autocomplete {
        left: 0;
        top: -3px;
    }

    .block-search .control {
        border: none;
    }

    #searchsuite-autocomplete>div:nth-child(1) {
        border-top: 1px solid #bababa;
    }

    .custom-theme-body.user-dashboard-index .block-search .action.search {
        top: 1%;
        left: 30%;
    }

    .custom-theme-body.user-dashboard-index .custom-top-search.block-search input {
        display: none;
        left: 30%;
        width: 0%;
        top: -70px;
    }

    .custom-theme-body.user-dashboard-index .block-search .action.search.active {
        right: 12%;
        left: unset;
        transition: 1s linear;
    }

    .custom-theme-body.user-dashboard-index .custom-top-search.block-search input.active {
        display: block;
        width: 100%;
        transition: 1s linear;
    }

    .progress_bottom a {
        width: 90%;
        height: auto;
        display: block;
    }

    .progress_bottom a:after {
        top: 25%;
    }

    .action.nav-toggle {
        left: unset;
        right: 25px;
        top: 2%;
    }

    .page-product-grouped .page-footer {
        margin-top: 15%;
    }


    .block.newsletter .action.subscribe {
        /* left: -100px;
        width: 100px; */
        padding-left: 0;
        padding-right: 0;
    }

    .catalogsearch-result-index .empty-results .col-lg-6 img {
        max-width: 100%;
        max-height: 100%;
        float: right;
        margin-bottom: 20px;
    }

    .filter-options-content ol.select-active {
        position: relative;
    }
    .customer-custom-account .block.block-dashboard-info .fieldset > .field:not(.customer_image),
    .customer-custom-account .block .fieldset > .field.new.password, 
    .customer-custom-account .block .fieldset > .field.confirm.password {
        margin-bottom: 0;
    }
    .customer-custom-account .fieldset > .field > .control {
        margin-bottom: 10px;
    }
    .checkout-onepage-success .top-title {
        width: unset;
        line-height: 10px;
        font-size: 15px;
        justify-content: center;
    }
    .checkout-onepage-success .top-title span {
        height: 24px;
    }

}


@media (max-width: 575.98px) {
    .category-tabs ul {
        display: flex;
        justify-content: center;
    }

    .catalogsearch-result-index .product-items li .product-item-description .short-description p {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        /* number of lines to show */
        -webkit-box-orient: vertical;
        text-align: left;
    }

    .catalogsearch-result-index .product-items li.product {
        padding: 10px 5px;
    }

    .block.contact-agent input {
        padding-left: 10px;
    }

    div.cms-page-container.solution>div:nth-child(4) {
        margin-bottom: 50px;
    }

    .col-footer .row {
        max-width: 100%;
    }

    .contact-index-index form fieldset .field.terms label,
    .contactagent-index-index form .field.terms label {
        left: unset;
    }

    .progress_section .col-lg-3 h4 {
        display: grid;
    }

    .header_cards .card {
        padding: 30px 0;
    }

    .header_cards .card p {
        width: 95%;
    }

    .header_cards form .input-group {
        margin-top: 10%;
    }

    .custom-footer .col-lg-6.footer-links .col-lg-3 {
        width: 40%;
    }

    .testimonial {
        max-width: 350px;
        max-height: unset;
    }

    .testimonial .col-10 {
        padding-left: 50px;
    }

    .testimonial .col-10 p {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .progress_bottom .row {
        width: 100%;
    }

    .progress_section div:nth-child(3)>h4::after {
        left: 25%;
        bottom: 5px;
        width: 50%;
    }

    .progress_bottom a {
        width: 100%;
        padding: 20px 5px;
        font-size: 18px;
        display: flex;
    }

    .progress_bottom a:after {
        top: 28%;
    }

    .progress_bottom a img {
        width: 54px;
        height: 54px;
    }

    .custom-theme-body .block-search .action.search:before {
        padding: 10px 11px;
    }

    .page-product-grouped .page-footer {
        margin-top: 20%;
    }

    .cms-container {
        padding: 50px 0;
    }

    .cms-container.contact-agent {
        padding: 50px 15px;
    }

    .rectangles {
        display: none;
    }

    .cms-page-container.family>div:nth-child(4)>div.cms-container {
        display: table-cell;
    }

    .cms-page-container.solutions-overview .col-body ul {
        padding-right: 5px;
        padding-left: 5px;
        margin: 35px auto;
    }

}

@media (max-width: 500px) {

    .category-tabs .col-lg-12 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .category-tabs ul li {
        margin-right: 0;
    }

    .category-tabs ul li a {
        padding: 10px 15px;
    }

    .custom-theme-body.catalogsearch-result-index .page-main .block-search .action.search {
        right: 7%;
    }

    .header-cards-wrapper {
        justify-content: center;
    }

    .header_cards .col-lg-2 {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .progress_section h2 br {
        display: none;
    }

    .header_cards {
        padding: 30px 15px;
    }

    .testimonial h5 {
        white-space: nowrap;
    }

    .user-icons {
        display: none;
    }

    .custom-theme-body .block-search input::placeholder {
        font-size: 12px;
    }

    .custom-theme-body .block-search .action.search {
        right: 25px;
    }

    .user-initials {
        margin-right: 10px;
        margin-top: 5%;
    }

    .select ul li:first-child {
        width: 75%;
    }

    .contactagent-index-index .select ul li:first-child {
        width: 95%;
    }

    .block-search .label.active+.control input {
        position: absolute;
    }

    .page-product-grouped .page-footer {
        margin-top: 30%;
    }

    .agency-view .agency-title {
        font-size: 18px;
        text-align: center;
    }
}

@media (max-width: 450px) {

    .checkout-onepage-success .top-title {
        display: none;
    }
    
}

@media (max-width: 400px) {

    #intercom {
        bottom: 70px;
    }

    .cms-container .col-body li a {
        max-width: 95%;
    }

    .cms-container .col-body li a:after {
        right: -25px;
    }

    .login-block p img {
        height: 40px;
    }

    .login-block p {
        display: flex;
    }

    .progress_section div:nth-child(2)>h4::after {
        left: 10%;
    }

    .custom-footer .col-lg-6.footer-links .col-lg-3 {
        width: 90%;
    }

    .testimonial blockquote {
        font-size: 18px;
    }

    .testimonial {
        max-width: 300px;
    }

    .top-footer .col-lg-6 p:first-child {
        font-size: 18px;
    }

    .custom-theme-body .block-search .action.search {
        right: 20px;
    }

    .user-links-dropdown {
        right: 17%;
        width: 253px;
    }

    .user-links-dropdown .sign-out {
        width: 100%;
    }

    .user-links-dropdown p {
        font-size: 10px;
    }

    .page-product-grouped .page-footer {
        margin-top: 40%;
    }

    .progress_bottom .row {
        padding: 0;
    }
    .customer-custom-account form.form-edit-account .field.customer_image .user-initials {
        margin-bottom: 10px;
    }
}

@media (max-width: 320px) {
    .testimonial blockquote {
        font-size: 15px;
    }

    .testimonial {
        max-width: 250px;
    }

    .testimonial h5 {
        font-size: 18px;
    }

    .block-search input {
        left: 0;
        top: -60px;
    }

    .catalogsearch-result-index .page-main .block-search {
        margin-bottom: 0;
    }

    .custom-theme-body.catalogsearch-result-index .page-main .block-search input {
        top: 0;
    }

    .block-search .label {
        display: none;
    }

    .custom-theme-body .block-search .action.search {
        display: block;
        background: none;
        border: none;
    }

    .custom-theme-body .block-search .action.search span {
        visibility: hidden;
    }

    .custom-theme-body .block-search .action.search:before {
        padding: 9px 11px;
        padding-top: 10px;
        position: absolute;
        right: 18px;
        top: 20px;
        margin-top: 0;
    }


}

@media (min-width: 321px) {

    .minicart-wrapper {
        margin-top: 0;
    }

    .block-search .label.active+.control input {
        position: absolute;
    }

    .block-search .label {
        display: none !important;
    }

    .block-search input {
        left: 0;
        bottom: 0;
        margin: unset;
        position: absolute;
    }

    .block-search .action.search {
        display: inline-block;
        background-image: none;
        background: none;
        -moz-box-sizing: content-box;
        border: 0;
        box-shadow: none;
        line-height: inherit;
        margin: 0;
        padding: 0;
        text-decoration: none;
        text-shadow: none;
        font-weight: 400;
        padding: 5px 0;
        position: absolute;
        right: 10px;
        top: -3px;
        z-index: 1
    }

    .block-search .action.search>span {
        display: none;
    }


}

@media (min-width: 992px) {

    .custom-theme-body:not(.catalogsearch-result-index):not(.agency-agency-result):not(.sales-order-history) .products .product {
        max-width: 402px;
    }

    .block-search input,
    .block-search .label.active+.control input {
        position: relative;
    }

    .cms-page-view .block-search .action.search,
    .catalog-category-view .block-search .action.search,
    .custom-theme-body .block-search .action.search {
        top: 0;
    }

    .lg-float-right {
        float: right;
    }
    .lg-float-left {
        float: left;
    }

    /* homepage */
    .top-footer .col-lg-6:nth-child(2) img {
        float: right;
        max-height: 350px;
        width: auto;
        height: auto;
    }
    /*.checkout-onepage-success .sidebar-main .sidebar-order-link {
        display: none;
    }*/
    #title-tick-mark {
        display: none;
    }
    .checkout-onepage-success .sidebar-main .credit-block,
    .checkout-onepage-success .sidebar-main .remaining-credit {
        display: none;
    }
}

@media (min-width: 300px) {

    .block-search .action.search:before {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-size: 22px;
        line-height: 22px;
        color: #8f8f8f;
        content: url('../images/lente.svg');
        margin: 0;
        vertical-align: top;
        display: inline-block !important;
        font-weight: normal;
        overflow: hidden;
        speak: none;
        text-align: center;
    }


}

@media screen and (min-width: 480px) {
    .page-wrapper .top-footer {
        padding: 50px;
    }
}

@media screen and (min-width: 480px) {
    .page-wrapper .top-footer {
        padding: 50px;
    }
}


@media screen and (min-width: 768px) {
    .page-wrapper .top-footer {
        padding: 50px 100px;
    }
    .checkout-onepage-success.page-layout-2columns-right .column.main {
        width: 67.6%;
    }
    .checkout-onepage-success.page-layout-2columns-right .sidebar-main {
        width: 32.4%;
    }
}


@media (min-width: 1200px) {
    .custom-top-search {
        width: 300px;
    }

    .mt-8 {
        margin-top: 80px;
    }

    .cms-container .col-body ul,
    .cms-container .col-header {
        max-width: 540px;
    }

    .contact-index-index #contact-form input:not(#terms) {
        height: 50px;
        max-width: 292px;
    }

    .middle_header h2 {
        font-size: 43px;
        line-height: 56px;
        /* font-size: 50px;
        line-height: 60px; */
    }
    .contactagent-index-index .page-main {
        max-width: 1280px;
    }

}

@media (min-width: 1300px) {
    .custom-top-search {
        width: 370px;
    }

}

@media (min-width: 1400px) {
    .custom-top-search {
        width: 450px;
    }
}
@media screen and (max-width: 991.98px) {
    .top-footer .col-lg-6:nth-child(2) img {
        margin-top: 20px;
        height: auto;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .top-footer .col-lg-6:nth-child(2) img {
        max-width: 400px;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .c-dropdown-menu {
        padding: 0 15px;
    }

    .c-dropdown-menu .row {
        padding-bottom: 15px;
    }

    .c-dropdown-menu .col-lg-2 {
        width: 50%;
    }


    .top-footer .col-lg-6:nth-child(2) img {
        max-width: 500px;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .c-dropdown-menu {
        padding: 0 15px;
    }

    .c-dropdown-menu .row {
        padding-bottom: 15px;
    }

    .c-dropdown-menu .col-lg-2 {
        width: 50%;
    }


    .top-footer .col-lg-6:nth-child(2) img {
        max-width: 500px;
    }
}