@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Regular.eot');
    src: url('../fonts/satoshi/Satoshi-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/satoshi/Satoshi-Regular.svg#Satoshi-Regular') format('svg'),
        url('../fonts/satoshi/Satoshi-Regular.ttf') format('truetype'),
        url('../fonts/satoshi/Satoshi-Regular.woff') format('woff'),
        url('../fonts/satoshi/Satoshi-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Light.eot');
    src: url('../fonts/satoshi/Satoshi-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/satoshi/Satoshi-Light.svg#Satoshi-Light') format('svg'),
        url('../fonts/satoshi/Satoshi-Light.ttf') format('truetype'),
        url('../fonts/satoshi/Satoshi-Light.woff') format('woff'),
        url('../fonts/satoshi/Satoshi-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Medium.eot');
    src: url('../fonts/satoshi/Satoshi-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/satoshi/Satoshi-Medium.svg#Satoshi-Medium') format('svg'),
        url('../fonts/satoshi/Satoshi-Medium.ttf') format('truetype'),
        url('../fonts/satoshi/Satoshi-Medium.woff') format('woff'),
        url('../fonts/satoshi/Satoshi-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'CreatoDisplay';
    src: url('../fonts/creatodisplay/CreatoDisplay-Bold.eot');
    src: url('../fonts/creatodisplay/CreatoDisplay-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/creatodisplay/CreatoDisplay-Bold.svg#CreatoDisplay-Bold') format('svg'),
        url('../fonts/creatodisplay/CreatoDisplay-Bold.ttf') format('truetype'),
        url('../fonts/creatodisplay/CreatoDisplay-Bold.woff') format('woff'),
        url('../fonts/creatodisplay/CreatoDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}


/*--------------------------------------------------------------
=== BASE ===
--------------------------------------------------------------*/
body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

body > * {
    width: 100%;
}

main {
    flex-grow: 1;
    max-width: 100vw;
    /*overflow-x: hidden;*/
}

ul.no-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.mlr-auto {
    margin-left: auto;
    margin-right: auto;
}

.m-0 {
    margin: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

.max-w-900 {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px !important;
}

.max-w-800 {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px !important;
}

.w-50p {
    width: 50%;
}

.img-contain,
.img-contain img {
    object-fit: contain !important;
    object-position: center;
}

.img-top,
.img-top img {
    object-position: center top !important;
}

.img-bot,
.img-bot img {
    object-position: center bottom !important;
}

.gutenberg_wrapper > ul,
.gutenberg_wrapper > ol {
    padding-left: calc(var(--bs-gutter-x, 0.75rem) + 2.2rem) !important;
    margin-bottom: 1.6rem;
}

.gutenberg_wrapper > ul > li,
.gutenberg_wrapper > ol > li {
    margin-bottom: 1rem;
}

.gutenberg_wrapper > ul img,
.gutenberg_wrapper > ol img {
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.img-fullbox div {
    display: flex;
    width: 100%;
    height: 100%;
}

.img-fullbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-left .elementor-image-box-wrapper,
.img-right .elementor-image-box-wrapper {
    display: block !important;
}

.img-left figure,
.img-right figure {
    margin-bottom: 2rem !important;
}

@media (max-width: 767px) {

    img.alignleft,
    img.alignright {
        display: block;
        margin-top: .75rem;
        margin-bottom: .75rem;
    }
}

@media (min-width: 768px) {

    .img-left figure,
    img.alignleft {
        float: left;
        margin-right: 2rem !important;
    }

    .img-right figure,
    img.alignright {
        float: right;
        margin-left: 2rem !important;
    }

    img.alignleft,
    img.alignright {
        margin-top: .4rem;
        margin-bottom: 1rem;
    }

    img.alignleft {}

    img.alignright {}
}

.affiliations.owl-carousel .owl-stage {
    display: flex;
}

.affiliations.owl-carousel .owl-item {
    display: flex;
    float: none !important;
}

.elementor_carousel .owl-carousel {
    padding-left: 38px;
}

.elementor_carousel .owl-stage {
    display: flex;
}

.elementor_carousel .owl-item > .elementor-column {
    width: auto !important;
}

.elementor_carousel .owl-prev {
    margin-left: -38px;
}

.elementor_carousel .owl-next {}

@media (max-width: 566px) {
    .elementor_carousel .owl-item > .elementor-column {
        margin: 0 auto;
    }

    .elementor_carousel .owl-carousel {
        padding-left: 5px;
    }

    .elementor_carousel.affiliation-section .owl-prev {
        left: -20px;
    }

    .elementor_carousel.affiliation-section .owl-next {
        right: -20px;
    }

    .elementor_carousel.affiliation-section .elementor-flip-box {
        margin: 0 auto;
        width: 250px;
    }
}

@media (min-width: 768px) {
    .affiliations.owl-carousel .owl-stage-outer {
        padding-left: 36px;
    }
}

.elementor-editor-active .elementor_carousel > * {
    max-width: 100%;
    overflow: auto;
}

.elementor-editor-active .elementor_carousel .elementor-column {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
}

/* heads color */
.page-title a {
    color: #001740;
}

/* margins to the main elements */
.gutenberg_wrapper {
    padding-top: 1px;
    padding-bottom: 1px;
}

.gutenberg_wrapper:last-child > *:last-child {
    padding-bottom: 3rem;
}

.gutenberg_wrapper h1,
.gutenberg_wrapper > h2,
.gutenberg_wrapper > h3,
.gutenberg_wrapper > h4,
.gutenberg_wrapper > h5,
.gutenberg_wrapper > h6,
.gutenberg_wrapper > figure,
.gutenberg_wrapper > .wp-block-columns,
.gutenberg_wrapper > .wp-block-group,
.gutenberg_wrapper > .wp-block-buttons,
.gutenberg_wrapper > .wp-block-separator {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.gutenberg_wrapper > .wp-block-buttons + .wp-block-buttons {
    margin-top: -.5rem;
}

.gutenberg_wrapper > p,
.gutenberg_wrapper > .wp-block-image {
    margin-bottom: 1.6rem;
}

.gutenberg_wrapper > p:first-child,
.gutenberg_wrapper > .section_page-header + p,
.gutenberg_wrapper > div[class*="wp-"]:first-child,
.gutenberg_wrapper > .section_page-header + div[class*="wp-"] {
    margin-top: 3rem;
}

.gutenberg_wrapper h1:last-child,
.gutenberg_wrapper > h2:last-child,
.gutenberg_wrapper > h3:last-child,
.gutenberg_wrapper > h4:last-child,
.gutenberg_wrapper > h5:last-child,
.gutenberg_wrapper > h6:last-child,
.gutenberg_wrapper > figure:last-child,
.gutenberg_wrapper > .wp-block-columns:last-child,
.gutenberg_wrapper > .wp-block-group:last-child,
.gutenberg_wrapper > .wp-block-buttons:last-child,
.gutenberg_wrapper > .wp-block-separator:last-child,
.gutenberg_wrapper > p:last-child {
    margin-bottom: 6rem;
}

body h1.elementor-heading-title {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
}

.total_pages_one {
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .gutenberg_wrapper .page-header h1 {
        margin: 0 !important;
    }
}

@media (min-width: 768px) {
    .gutenberg_wrapper .page-header h1 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

.aligncenter iframe {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.content-area.posts-wrapper {
    padding-bottom: 3rem;
}

.gutenberg_wrapper > h4 + .wp-block-table {
    margin-top: -.3rem;
}

/* heading arr */
.gutenberg_wrapper > h1:before,
.gutenberg_wrapper > h2:before,
.gutenberg_wrapper > h3:before,
.gutenberg_wrapper > div:not(.section_page-header) h1:before,
.gutenberg_wrapper > div:not(.section_page-header) h2:before,
.gutenberg_wrapper > div:not(.section_page-header) h3:before,
.is-root-container > h1:before,
.is-root-container > h2:before,
.is-root-container > h3:before,
.is-root-container > div:not(.section_page-header) h1:before,
.is-root-container > div:not(.section_page-header) h2:before,
.is-root-container > div:not(.section_page-header) h3:before,
.post-heading h1:before,
.post.type-post h2:before,
.post.type-post h3:before,
.related.products > .col-sm-12 > h2:before,
.related.products > .col-sm-12 > h3:before,
.woocommerce h1:before,
.woocommerce h3:before,
h2.woocommerce-Reviews-title:before,
h3.woocommerce-Reviews-title:before,
.page-template-page-events .page-header.events-wrapper-js h1:before,
.page-template-page-events .page-header.events-wrapper-js h3:before,
.theme-apg h2.text-center:before,
.theme-apg h3.text-center:before,
.post-wrapper .post h2.page-title:before,
.post-wrapper .post h3.page-title:before,
body.search-results .post-item article h4:before,
body.search-results .post-item article h3:not(.exad-flip-box-front-title):before,
.heading-arrow:before {
    content: "" !important;
    display: inline-block;
    vertical-align: middle;
    background: url(/wp-content/themes/apg/front/img/title-arr.png) center/contain no-repeat !important;
}

.heading-arrow {
    font-family: 'CreatoDisplay', sans-serif !important;
    font-weight: 700;
}

.no-arr:before,
.no-arr h1:before,
.no-arr h2:before,
.no-arr h3:before {
    display: none !important;
}

.gutenberg_wrapper > h1:before,
.gutenberg_wrapper div:not(.section_page-header) h1:before,
.is-root-container > h1:before,
.is-root-container div:not(.section_page-header) h1:before,
.post-heading h1:before,
.woocommerce h1:before,
.page-template-page-events .page-header.events-wrapper-js h1:before,
.heading-arrow:before {
    margin: -5px 16px 0 0 !important;
    width: 17px;
    height: 33px !important;
}

.gutenberg_wrapper > h2:before,
.gutenberg_wrapper div:not(.section_page-header) h2:before,
.is-root-container > h2:before,
.is-root-container div:not(.section_page-header) h2:before,
.related.products > .col-sm-12 > h2:before,
h2.woocommerce-Reviews-title:before,
.theme-apg h2.text-center:before,
.post-wrapper .post h2.page-title:before,
.post.type-post h2:before {
    margin: -5px 8px 0 0 !important;
    width: 13px;
    height: 29px !important;
}

.gutenberg_wrapper > h3:before,
.gutenberg_wrapper div:not(.section_page-header) h3:before,
.is-root-container > h3:before,
.is-root-container div:not(.section_page-header) h3:before,
.related.products > .col-sm-12 > h3:before,
h3.woocommerce-Reviews-title:before,
.theme-apg h3.text-center:before,
.post-wrapper .post h3.page-title:before,
.post.type-post h3:before {
    margin: -5px 8px 0 0 !important;
    width: 13px;
    height: 29px !important;
}


body.search-results .post-item article h4:before {
    margin: -5px 8px 0 0 !important;
    width: 10px;
    height: 22px !important;
}

.acf-block-preview .section_page-header h1:before {
    display: none !important;
}

/* / */

/* page-header elementor */
@media (min-width: 768px) {
    .elementor-section.page-header .sec-w-arr-and-content {
        margin-left: calc(50% - 590px);
    }

    .elementor-section.page-header .page-header_arr_wrapper {
        width: 540px !important;
    }

    .elementor-section.page-header .no-arr,
    .elementor-section.page-header .no-arr div,
    .elementor-section.page-header .no-arr .elementor-heading-title {
        display: inline-block !important;
        width: auto !important;
        padding: 0 !important;
    }
}

/* page-header with image only */
.page-header-img {
    padding: 0 !important;
    max-width: 100% !important;
}

.page-header-img * {
    width: 100% !important;
}


/*--------------------------------------------------------------
    === Video ===
 --------------------------------------------------------------*/
.video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.video-wrapper .inner {
    position: relative;
    padding-top: 57%;
}

.video-wrapper iframe {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}


/*--------------------------------------------------------------
    === WP Form ===
 --------------------------------------------------------------*/

/* wp button */
.wp-block-button:not(.is-style-outline) {}

.wp-block-button.is-style-outline {}

.wp-block-button__link,
a.wp-block-button__link,
input[type="submit"] {
    display: inline-block;
    line-height: 1.5;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 100px !important;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wp-block-button:not(.is-style-outline) a.wp-block-button__link {
    padding: 7px 30px;
    color: #fff;
    border: 4px solid #ece6d8;
    background: #ff930d !important;
}

input[type="submit"].submit {
    padding: .5rem 1rem;
    min-width: 10rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    border: 2px solid #ece6d8;
    background: #ff930d !important;
}

input[type="submit"] {}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) a.wp-block-button__link:hover,
input[type="submit"]:hover {
    background: #E17F00 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline a.wp-block-button__link {
    padding: 7px 30px;
    color: #ff930d;
    border: 2px solid #ff930d;
    background: transparent !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline a.wp-block-button__link:hover {
    color: #fff !important;
    background: #ff930d !important;
}

/* wp input field */
input[type="password"],
input.input-text {
    padding-top: 2px;
    padding-bottom: 2px;
    height: 2.5rem;
    line-height: 2.2rem;
    text-indent: 4px;
    border: 1px solid rgba(190, 190, 190, .5);
}

/* select */
.select-wrapper {
    position: relative;
    width: 440px;
    max-width: 100%;
}

.select-wrapper select {
    border: 1px solid rgba(190, 190, 190, .5);
    width: 100%;
    padding: 9px;
    background: #fff;
    color: #626262;
    font-size: 16px;
    -webkit-appearance: none;
}

.woocommerce .select2-container--default .select2-selection--single {
    height: 2.5rem;
    border-radius: 0;
    border: 1px solid rgba(190, 190, 190, .5);
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 2.3rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 3px !important;
}

/* Post Password Form */
.post-password-form {
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
}

@media (max-width: 560px) {

    .post-password-form label,
    .post-password-form input[type=password] {
        display: block;
    }

    .post-password-form input[type=password] {
        margin: 1rem auto;
    }
}

#account_password_ls-error {
    display: block;
}


/*--------------------------------------------------------------
=== WP Gallery ===
--------------------------------------------------------------*/
.wp-block-gallery.has-nested-images figure.wp-block-image {
    flex-grow: inherit !important;
}

/* filters */
.filter-header {
    margin-bottom: 0.5rem;
    padding-top: 12px;
    align-items: baseline;
}

.filter-header .title {
    margin: 0 !important;
    padding-right: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.filter-header .clear {
    margin-bottom: -2px;
}

.filter-button {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    width: 100%;
    color: #001740;
    border: 0;
    background: none;
}

.filter-button:hover,
.filter-button:focus {
    color: #396B84;
}

.filter-name {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.filter-button-arr {
    position: relative;
    margin: 8px 0 0 8px;
    display: inline-block;
    width: 14px;
    height: 14px;
    font-size: 0;
    transition: .25s ease-in-out;
}

.filter-button.collapsed .filter-button-arr {
    margin-top: 5px;
    transform: rotate(180deg);
}

.filter-button-arr:before,
.filter-button-arr:after {
    position: absolute;
    content: "";
    width: 62%;
    height: 2px;
    top: 30%;
    background: #001740;
}

.filter-button:hover .filter-button-arr:before,
.filter-button:hover .filter-button-arr:after,
.filter-button:focus .filter-button-arr:before,
.filter-button:focus .filter-button-arr:after {
    background: #396B84;
}

.filter-button-arr:before {
    right: 0;
    transform: rotate(45deg);
}

.filter-button-arr:after {
    left: 0;
    transform: rotate(-45deg);
}

.filter-item {
    display: block;
    margin-bottom: 6px;
}

.filter-item:hover,
.filter-item:focus {
    color: #396B84;
}

a.link-show-hide {
    color: #E17F00;
    font-weight: 600;
    text-decoration: none;
}

a.link-show-hide:hover {
    color: #E17F00;
    text-decoration: underline;
}

.filter .link-show-hide > * {
    display: block;
    transition: .25s ease-in-out;
}

.filter .link-show-hide .hide,
.filter .show + .link-show-hide .show {
    display: none;
}

.filter .show + .link-show-hide .hide {
    display: block;
}

.compare-items {
    flex-wrap: nowrap;
}

.product-info-item {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-info .product-info-item .title {
    width: 8rem;
    margin-right: 1rem;
}

.product-info .product-info-item .title + div {
    font-weight: bold;
}

.btn.product-files {
    margin-right: .5rem;
    margin-bottom: .5rem;
}

/* similar-products-item */
.similar-products-item:hover {
    cursor: pointer;
    color: #E17F00;
}

.si-title {
    font-weight: bold;
    margin-bottom: .5rem;
}

.si-item-img {
    width: 120px;
    max-width: 100%;
}

/* configurator-item */
.configurator-item {}

.ci-img img {
    width: 100%;
    height: auto;
}

.ci-btn-line .btn {
    min-width: 10rem;
}

.attribute-thumbnail {
    position: relative;
    /*height: 220px;*/
}

.attribute-thumbnail > .thumbnail {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 2px 0;
}

.attribute-thumbnail .image-wrapper {
    background-size: contain;
    margin: 0 10px;
}

.product-images-container .image-wrapper,
.attribute-thumbnail .image-wrapper {
    max-height: 150px;
    height: 240px;
    overflow: hidden;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
}

.owl-item a.thumbnail {
    margin-right: 2px;
    font-size: .8rem;
    line-height: 1.1;
    color: rgb(0, 23, 64);
    text-decoration: none;
    /*border: 1px solid #ced4da;*/
}

.owl-item a.thumbnail:hover {
    border-color: #E17F00;
    box-shadow: 0 0 0 2px #E17F00 inset;
}

.owl-item .attribute-thumbnail .image-wrapper {
    height: 96px;
}

.owl-item .attribute-thumbnail-caption {
    padding-left: 10px;
    padding-bottom: 10px;
}

.clear-configuration {
    position: relative;
    padding-left: 1.2rem;
    color: #396B84;
    text-decoration: none;
}

.clear-configuration:before,
.clear-configuration:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #396B84;
}

.clear-configuration:before {
    transform: rotate(45deg);
}

.clear-configuration:after {
    transform: rotate(-45deg);
}

.clear-configuration:hover {
    text-decoration: underline;
}

.configure-section .control-label {
    margin-bottom: .5rem;
    font-weight: bold;
}

.configure-section hr {
    height: 0;
}

.modal-title {
    width: 100%;
    text-align: center;
}

.btn-buy-now {
    text-transform: uppercase;
    min-width: 170px;
}

.distributor-item {
    margin: .5rem;
    width: 100px;
}

.distributor-img img {
    width: 100px;
    height: 100px;
    object-position: center;
    object-fit: contain;
}

.distributor-item .price,
.distributor-item .btn-row {
    margin-top: .3rem;
}

.distributor-item .btn {
    width: 100%;
}

#dist-map {
    width: 100%;
    background-color: #fcfef9;
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    #dist-map {
        padding-bottom: 50%;
    }

    .configurator-item .ci-info {
        order: 2;
    }

    .configurator-item .ci-img {
        order: 1;
    }
}

@media (min-width: 768px) {
    #dist-map {
        height: 600px;
    }
}


/*--------------------------------------------------------------
=== WP Table ===
--------------------------------------------------------------*/
.wp-block-table td,
.wp-block-table th {
    border-width: 0 0 1px;
    border-color: #ccc;
}


/*--------------------------------------------------------------
=== HEADER ===
--------------------------------------------------------------*/
#header {
    position: relative;
    border-bottom: 0;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);
    background-color: #030F27;
    min-height: 100px;
}

#header ul {
    list-style: none;
}

#header .navbar {
    margin-bottom: 0;
}

#header .navbar-brand {
    float: left;
    font-size: 18px;
    height: auto;
    line-height: auto;
    padding: 15px 0;
}

#header .navbar-brand > img {
    width: 120px;
    height: 71px;
}

#header .navbar-header {
    width: calc(100% + var(--bs-gutter-x) * .5 * 2);
}

#header .container {
    position: relative;
}

#header .navbar-nav {
    border-radius: 0;
    text-align: center;
    /*float: none;*/
    justify-content: center;
}

#header .navbar-nav li {
    float: none;
    display: inline-block;
    padding: 15px 0;
    flex-grow: 1;
}

#header .navbar-nav li.current_page_item a,
#header .navbar-nav li.current-menu-item a {
    color: #dd821e;
    font-weight: bold;
}

#header .navbar-nav li a {
    border-right: 1px solid #bebebe;
    padding: 0 20px 0 17px;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
}

#header .navbar-nav li a:focus,
#header .navbar-nav li a:active,
#header .navbar-nav li a:hover {
    background: none;
    color: #c7751b;
}

#header .navbar-nav li:last-of-type a {
    border-right: none;
}

#header #contacts li {
    font-size: 13px;
    text-align: right;
    color: #ffffff;
}

#header #lang_switch {
    border: none;
}

#header #lang_switch select {
    text-align: right;
    background: #00224a;
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
}

#header .local-numbers {
    position: absolute;
    top: 10px;
    right: 30px;
    z-index: 99;
}

#header .local-numbers span {
    display: none;
    color: #dd821e;
}

#header .local-numbers .dropdown {
    display: inline-block;
}

#header .local-numbers .dropdown.open .dropdown-toggle:after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 0;
    border-right: .3em solid transparent;
    border-bottom: .3em solid;
    border-left: .3em solid transparent;
}

#header .local-numbers .dropdown-toggle {
    border-color: #030F27;
    border-style: solid;
    border-top: none;
    border-right: none;
    border-left: none;
    background-color: #030F27;
    font-size: .875rem;
    color: #E17F00;
}

#header .local-numbers .dropdown-toggle:focus,
#header .local-numbers .dropdown-toggle:active {
    border-color: transparent;
}

#header .local-numbers .dropdown-toggle:after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
}

#header .local-numbers .dropdown-menu {
    border-radius: 0;
    right: 0;
    left: auto;
}

#header .local-numbers .dropdown-item {
    display: block;
    padding: 5px 10px;
    font-size: 16px;
}

#header .local-numbers .dropdown-item:hover {
    background-color: #E9E4D8;
}

.open .dropdown-menu {
    display: block;
}

.dropdown-menu a:hover {
    background-color: #e9e4d8;
}

.local-numbers a {
    display: block;
    margin-top: -.3em;
    text-decoration: none;
    color: #dd821e;
}

.local-numbers {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    #header .navbar-brand {
        padding: 44px 0 0;
    }
}

@media (min-width: 993px) {
    #header .navbar-nav {
        padding-top: 27px;
    }

    #header .local-numbers .dropdown-toggle {
        font-size: 1rem;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    #header .container {
        width: 100% !important;
    }

    #header .navbar-nav {
        padding-left: 30px;
    }

    #header .navbar-nav li a {
        padding: 0 11px 0 8px;
    }
}

#header-logo {
    top: 0px;
    left: 15px;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent
}

@media (min-width: 768px) {
    .navbar {
        border-radius: 4px
    }
}

@media (min-width: 768px) {
    .navbar-header {
        float: left
    }
}

.navbar-collapse {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid transparent;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1)
}

.navbar-collapse.in {
    overflow-y: auto
}

@media (min-width: 768px) {
    .navbar-collapse {
        width: auto;
        border-top: 0;
        -webkit-box-shadow: none;
        box-shadow: none
    }

    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important
    }

    .navbar-collapse.in {
        overflow-y: visible
    }

    .navbar-fixed-bottom .navbar-collapse,
    .navbar-fixed-top .navbar-collapse,
    .navbar-static-top .navbar-collapse {
        padding-right: 0;
        padding-left: 0
    }
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {

    .single-country .woocommerce-MyAccount-content #billing_country_field label,
    .single-country .woocommerce-MyAccount-content #shipping_country_field label,
    .single-country #checkout-biling #billing_country_field label,
    .single-country #checkout-biling #shipping_country_field label,
    .single-country #checkout-shipping-info #billing_country_field label,
    .single-country #checkout-shipping-info #shipping_country_field label {
        margin-top: 45px;
        margin-bottom: 0;
    }

    #add-msg p {
        width: 50%;
        margin-top: 30px;
    }

    #add-msg .msg-btn-holder {
        margin-top: 30px;
    }

    #add-msg {
        width: 100%;
    }

    .msg-btn-holder {
        width: 30%;
    }

    #header-logo {
        position: relative;
        margin: 0 auto;
        float: none;
        width: 150px;
    }

    .navbar-header {
        float: none;
    }

    .navbarHeader-inner {
        flex-wrap: wrap;
    }

    .navbar-left,
    .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    /*.navbar-collapse.collapse {
        display: none !important; }*/
    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
        display: block !important;
    }

    #menu-header {
        position: relative;
        width: 100%;
        float: left !important;
    }

    #header .navbar-nav li {
        width: 100%;
    }

    #header .navbar-nav li a {
        border-right: 0px;
    }

    #header .navbar-nav {
        margin: 0px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {
    .woocommerce .woocommerce-form-login .woocommerce-SubmitRow {
        width: 100%;
        float: none;
        clear: both;
    }

    .woocommerce-MyAccount-content .css3-metro-dropdown,
    #single-product .css3-metro-dropdown {
        width: 100%;
    }

    #single-product .variations {
        width: 100%;
    }

    .comment-form-comment textarea {
        width: 100%;
    }

    #add-msg i {
        left: 10px;
    }

    #add-msg .msg-btn-holder {
        margin-top: 30px;
    }

    .woocommerce-cart-form__contents .product-thumbnail {
        display: none;
    }

    .progress-title h3 {
        text-align: center;
    }

    .progress-steps {
        width: 100%;
    }

    #checkout-progress {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .step01,
    .step02,
    .step03,
    .step04,
    .step05,
    .step06 {
        width: 29%;
        margin-right: 1%;
    }

    .checkout-form-wrap {
        width: 100%;
        overflow-x: auto;
    }

    .checkout-form-wrap td {
        vertical-align: top;
    }

    .order-header {
        width: 100%;
        float: left;
    }

    .order-header h3 {
        float: left;
    }

    .order-header span {
        float: right;
    }

    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }

    .woocommerce .woocommerce-MyAccount-content .woocommerce-message--info .button {
        margin-top: 10px;
    }

    .woocommerce input.button.alt {
        display: block;
        float: none;
        margin: 20px 0 10px;
    }

    #checkout-payment-info .checkout-back {
        margin: 10px 0 10px 15px;
        display: block;
    }

    #checkout-order-review .checkout-form-wrap .product-thumbnail,
    #checkout-order-review .checkout-form-wrap tfoot tr td:first-child {
        display: none;
    }
}

@media (min-width: 768px) {
    #checkout-order-review .col-sm-4 {
        float: left;
    }

    #checkout-order-review .col-sm-4:not(:last-child) {
        padding-right: 1rem;
    }

    #checkout-order-review .product-subtotal {
        min-width: 150px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    #slider img {
        padding: 0 25px;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 5px 4px;
    }

    .woocommerce .cart .button,
    .woocommerce .cart input.button {
        float: none !important;
        margin-bottom: 10px !important;
    }

    .woocommerce form.woocommerce-cart-form {
        margin-bottom: 20px;
        overflow-x: auto;
    }

    .woocommerce form,
    .woocommerce-billing-fields,
    #checkout-biling,
    #checkout-shipping,
    #checkout-shipping-info select,
    #checkout-shipping-info .input-text,
    #checkout-biling select,
    #checkout-biling .input-text,
    #checkout-shipping .form-row.form-row-first,
    #checkout-biling .form-row.form-row-first,
    #checkout-shipping .form-row.form-row-last,
    #checkout-biling .form-row.form-row-last,
    #checkout-biling .form-row,
    #checkout-shipping-info .form-row,
    #checkout-biling .css3-metro-dropdown,
    #checkout-shipping-info .css3-metro-dropdown,
    .my-account .woocommerce form .form-row.form-row-first,
    .my-account .woocommerce form .form-row.form-row-last,
    .woocommerce .register .form-row input.input-text,
    .woocommerce .woocommerce-form-login .form-row input.input-text,
    .my-account .woocommerce form .form-row,
    .woocommerce form .form-row.form-row-first,
    .my-account .woocommerce form .form-row.form-row-first,
    .my-account .woocommerce form.edit-account .woocommerce-Input,
    .woocommerce .woocommerce-form-login .form-row-last {
        width: 100%;
    }

    .step01,
    .step02,
    .step03,
    .step04,
    .step05,
    .step06 {
        width: 49%;
        margin-right: 1%;
    }

    #checkout-payment-info .checkout-back {
        margin: 10px 0;
        display: block;
        margin-left: 15px;
    }

    .woocommerce input.button.alt {
        margin-bottom: 0;
        display: block;
        float: none;
        margin: 20px 0 10px;
    }
}


/*--------------------------------------------------------------
=== CHECKOUT ===
--------------------------------------------------------------*/
#checkout-order-review .col-sm-4 {
    margin-bottom: 2rem;
}

#checkout-order-review .col-sm-4 h4 {
    padding-bottom: .25rem;
    text-transform: uppercase;
    border-bottom: 1px solid #ece6d8;
}

#checkout-order-review .checkout-form-wrap {
    margin-top: 3rem;
}

#checkout-order-review .checkout-form-wrap .product-quantity {
    text-align: center;
}

#checkout-order-review .checkout-form-wrap tfoot {
    font-weight: 700;
}

#checkout-order-review .checkout-form-wrap tfoot span {
    display: block;
    font-weight: normal;
}

#checkout-order-review .checkout-form-wrap tfoot span.order-prices + br {
    display: none;
}

section.woocommerce-order-details {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.buttons-wrap {
    margin: 0 !important;
    padding: 3.5rem 0 2.5rem;
}

.checkout-heading,
.user-logged-checkout {
    margin: 2rem 0 2.5rem;
}

.checkout-subheading {
    margin: 2rem 0 1.6rem;
    font-weight: 700;
}

.reg-save {
    margin: 1.6rem 0;
    font-weight: 700;
}

#checkout-biling .form-row,
#checkout-shipping-info .form-row {
    width: 455px;
    float: left;
    margin: 0 70px 0 0;
    position: relative;
}

#checkout-guest ul {
    float: left;
}

#checkout-guest .buttons-wrap {
    float: right;
    padding: 0;
    width: auto;
}

#passwordHolder .required:after {
    display: none;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    margin: 1.6rem 0 2.5rem;
    padding: 2rem;
    border: 1px solid rgba(190, 190, 190, .5);
    overflow: hidden;
    list-style: none;
}

.woocommerce-message #add-msg > i {
    margin-right: 1rem;
    margin-left: 1rem;
}

.woocommerce-message #add-msg .msg-fig img {
    max-width: 100%;
}

.msg-btn-holder .button {
    min-width: 100px;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 12px !important;
}

.woocommerce-checkout #checkout-payment-info #payment .form-row-first {
    width: 158px;
    float: left;
    margin: 0 1rem 0 0;
    position: relative;
}

.woocommerce-checkout #checkout-payment-info #payment .form-row-last {
    float: left;
    margin: 0;
    position: relative;
}

.wpml-ls-statics-shortcode_actions {
    width: 80px;
    float: right;
}

.form-row.place-order #place_order {
    float: right;
}

.addedToCart,
.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
}

.woocommerce-checkout #payment div.payment_box {
    padding-bottom: 1.6rem;
}

.wc_payment_method {
    list-style: none;
    border-bottom: 1px solid rgba(190, 190, 190, .5);
}

.store-subscription .radio-choice {
    margin-top: 1.5rem;
}

#checkout-progress-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(190, 190, 190, .5);
    border-bottom: 1px solid rgba(190, 190, 190, .5);
    width: 100%;
}

.payment_box.payment_method_authnet > p {
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .store-subscription .radio-choice {
        padding-right: 1rem;
        display: flex;
        align-items: flex-start;
    }

    #store_subscribe {
        margin-top: 5px;
        min-width: 14px;
    }

    .store-subscription .radio-choice label {
        font-size: 1rem;
    }

    .form-row.place-order #place_order {
        min-width: 0;
    }
}

#checkout-progress {
    display: flex;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 2px solid #ece6d8;
    border-bottom: 2px solid #ece6d8;
}

.progress-title h3 {
    color: #00224a;
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 23px;
}

.progress-steps {
    display: flex;
    flex-wrap: wrap;
}

.step01,
.step02,
.step03,
.step04,
.step05,
.step06 {
    width: 125px;
    float: left;
    display: block;
    cursor: pointer;
}

.progress-steps p {
    display: flex;
    color: gray;
    font-size: 14px;
    line-height: 16px;
    padding: 2px 0 0;
    white-space: nowrap;
}

.progress-steps span {
    border: 1px solid rgba(190, 190, 190, .5);
    height: 35px;
    width: 35px;
    border-radius: 50px;
    background-color: #fff;
    display: block;
    color: gray;
    line-height: 31px;
    padding: 0 0 0 13px;
}

.progress-steps .active p {
    color: #00224a;
    font-size: 14px;
}

.progress-steps .active span {
    background-color: #dd821e;
    color: #fff;
    border: 1px solid #dd821e;
}

@media (max-width:767px) {
    .progress-steps {
        flex-wrap: wrap;
    }

    .step01,
    .step02,
    .step03,
    .step04,
    .step05,
    .step06 {
        width: 115px;
    }

    .progress-title {
        width: 126px;
    }

    .progress-steps span {
        margin: -2px 8px 0 0;
    }

    .step01,
    .step02,
    .step03,
    .step04,
    .step05,
    .step06 {
        margin: 0 12px 0 0;
    }
}

@media (min-width:768px) {
    .progress-title {
        width: 15%;
    }

    .progress-steps span {
        margin: -2px 24px 0 0;
    }

    .step01,
    .step02,
    .step03,
    .step04,
    .step05,
    .step06 {
        margin: 0 42px 0 0;
    }
}

.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#order_lock_option_notes_field {
    width: 100% !important;
    max-width: 100% !important;
}

#checkout-biling label,
#checkout-shipping-info label {
    font-size: 16px;
    line-height: 18px;
    margin: 1.5rem 0 0;
}

#checkout-biling .input-text,
#checkout-biling select,
#checkout-shipping-info .input-text,
#checkout-shipping-info select {
    height: 2.5rem;
    width: 100%;
    border: 1px solid rgba(190, 190, 190, .5);
    /*border: 2px solid #ece6d8;*/
    background-color: #fff;
    line-height: 2.2rem;
    text-indent: 4px;
    box-sizing: border-box;
    margin: 0;
    outline: 0;
}

#checkout-biling .lock-option-field textarea {
    width: 100%;
    height: auto;
}

#billing-addr-info {
    display: inline-block;
    font-size: 12px;
    margin: 3px 0 0 4px;
    color: #000;
}

.woocommerce form .form-row .required {
    border: 0;
    color: red;
    font-weight: 500;
    border-bottom: 0 solid #fff;
    text-decoration: none;
}

.woocommerce form .form-row .required:after {
    display: none;
}

@media (min-width: 768px) {

    #checkout-biling .form-row,
    #checkout-shipping-info .form-row {
        width: 50%;
        max-width: 455px;
        margin: 0 70px 0 0;
        position: relative;
    }

    .woocommerce-account-fields {
        float: left;
        width: 50%;
        max-width: 455px;
    }

    #checkout-biling .radio-wrap {
        text-align: left;
        float: right;
        clear: right;
        width: 50%;
        max-width: 455px;
        margin: 24px 70px 0 0;
    }
}

#checkout-biling .radio-wrap {
    clear: both;
    padding-top: .5rem;
}

#checkout-biling .radio {
    padding-left: 20px;
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

#checkout-biling .radio input[type=radio] {
    position: absolute;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

#checkout-biling .radio label {
    min-height: 20px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-left: 5px;
    color: #00224a;
    font-size: 16px;
    line-height: 18px;
    margin: 0;
    font-weight: 500;
}

.radio-info input[type=radio]:checked + label::before {
    border-color: #bebebe;
}

.radio label::before {
    content: "";
    display: block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    top: 0;
    margin-left: -20px;
    border: 1px solid rgba(190, 190, 190, .5);
    border-radius: 50%;
    background-color: #fff;
    transition: border .15s ease-in-out;
}

.radio label::after {
    position: absolute;
    width: 11px;
    height: 11px;
    left: 3px;
    top: 3px;
    margin-left: -20px;
    display: inline-block;
    content: " ";
    border-radius: 50%;
    background-color: #555;
    transform: scale(0, 0);
    transition: transform .1s cubic-bezier(.8, -.33, .2, 1.33);
}

.radio input[type=radio]:checked + label::after {
    background-color: #dd821e;
    transform: scale(1, 1);
}

.buttons-wrap {
    width: 100%;
    display: flex;
    margin: 55px 0 40px;
    justify-content: space-between;
}

#checkout-biling .buttons-wrap {
    clear: both;
}

#checkout-progress-bottom ul {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

#checkout-progress-bottom li {
    font-size: 14px;
    font-weight: 300;
    line-height: 26px;
    border-right: 1px solid rgba(190, 190, 190, .5);
    margin-right: 2rem;
    padding-right: 2rem;
}

#checkout-faq {
    margin-top: 2.5rem;
    font-size: 14px;
    line-height: 17px;
}

#checkout-faq .p-first {
    margin: 0 0 1.6rem;
    font-weight: 700;
}

#checkout-faq .p-first a {
    display: inline-block;
    box-shadow: 0 1px 0 #dd821e !important;
}

#checkout-faq .p-first + .p-second {
    margin: 0;
}

.shop_table td.product-name {
    padding-top: 8px;
    padding-bottom: 8px;
}

.shop_table .cart-subtotal {
    border-top: 1px solid rgba(0, 0, 0, .1);
    font-size: 1rem;
}

.shop_table .cart-subtotal th,
.shop_table .cart-subtotal td {
    padding-top: 16px;
}

h2 + .shop_table .cart-subtotal {
    border-top: 0;
}

h2 + .shop_table {
    margin-top: -1rem;
}

.woocommerce-order-details h2:not(:first-child) {
    margin-top: 1.6rem;
}

.wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a,
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    font-size: 0.75rem;
}

.wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a,
.wpml-ls-statics-shortcode_actions a.js-wpml-ls-item-toggle:hover {
    color: #fff !important;
    background-color: #030F27 !important;
}

.wpml-ls-statics-shortcode_actions,
.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu,
.wpml-ls-statics-shortcode_actions a {
    border-color: #030F27 !important;
}

.wpml-ls-statics-shortcode_actions a:hover {
    color: #fff !important;
    background-color: #00557A !important;
}

.wpml-ls-statics-shortcode_actions a.js-wpml-ls-item-toggle:hover {}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    color: #E17F00;
    border-width: 4px;
}

.wpml-ls-legacy-dropdown > ul {
    position: relative;
    padding: 0;
    margin: 0 !important;
    list-style-type: none;
}

.wpml-ls-legacy-dropdown .wpml-ls-item {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
    content: '';
    vertical-align: middle;
    display: inline-block;
    border: .35em solid transparent;
    border-top-color: transparent;
    border-top-style: solid;
    border-top-width: 0.35em;
    border-right-width: 0.35em;
    border-bottom-width: 0.35em;
    border-left-width: 0.35em;
    border-top: .5em solid;
    border-top-width: 0.5em;
    position: absolute;
    right: 10px;
    top: -webkit-calc(50% - .175em);
    top: calc(50% - .175em);
    color: #e17f00;
    border-width: 4px;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    visibility: hidden;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-top: 1px solid #cdcdcd;
    padding: 0;
    margin: 0;
    list-style-type: none;
    z-index: 101;
}

/* language dropdown */
.wpml-ls-legacy-dropdown {
    width: 5rem !important;
    max-width: 100%;
    position: absolute;
    right: 30px;
    top: 83px;
}

.wpml-ls-legacy-dropdown > ul {
    position: relative;
    padding: 0;
    margin: 0 !important;
    list-style-type: none
}

.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover .wpml-ls-sub-menu,
.wpml-ls-legacy-dropdown .wpml-ls-current-language:focus .wpml-ls-sub-menu {
    visibility: visible
}

.wpml-ls-legacy-dropdown .wpml-ls-item {
    padding: 0;
    margin: 0;
    list-style-type: none
}

.wpml-ls-legacy-dropdown a {
    display: block;
    text-decoration: none;
    color: #444;
    border: 1px solid #cdcdcd;
    background-color: #fff !important;
    padding: 5px 10px;
    line-height: 1
}

.wpml-ls-legacy-dropdown a span {
    vertical-align: middle
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    position: relative;
    padding-right: -webkit-calc(10px + .7em + .7em);
    padding-right: calc(10px + .7em + .7em)
}

.rtl .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    padding-right: 10px;
    padding-left: -webkit-calc(10px + .7em + .7em);
    padding-left: calc(10px + .7em + .7em)
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    content: '';
    vertical-align: middle;
    display: inline-block;
    border: 4px solid transparent !important;
    border-top: 4px solid !important;
    position: absolute;
    right: 10px;
    top: -webkit-calc(50% - .175em);
    top: calc(50% - .175em)
}

.rtl .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    right: auto;
    left: 10px
}

.wpml-ls-legacy-dropdown a:hover,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover > a {
    color: #000;
    background: #eee
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    visibility: hidden;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-top: 1px solid #cdcdcd;
    padding: 0;
    margin: 0;
    list-style-type: none;
    z-index: 101
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    border-width: 0 1px 1px 1px
}

.wpml-ls-legacy-dropdown .wpml-ls-flag {
    display: inline;
    vertical-align: middle;
    width: 18px;
    height: 12px
}

.wpml-ls-legacy-dropdown .wpml-ls-flag + span {
    margin-left: .4em
}

.rtl .wpml-ls-legacy-dropdown .wpml-ls-flag + span {
    margin-left: 0;
    margin-right: .4em
}


/*--------------------------------------------------------------
=== FOOTER ===
--------------------------------------------------------------*/
footer {
    background: #001740;
    color: #fff;
}

footer .line-2 {
    background: #030F27;
}

footer .line-1 .container {
    padding-top: 20px;
    padding-bottom: 24px;
}

footer .line-2 .container {
    padding-top: 30px;
    padding-bottom: 20px;
}

footer div.row {
    z-index: 1;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

footer div.row .col-lg-3 {
    display: flex;
    flex-direction: column;
}

footer div.row .col-lg-3.last ul.text-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

footer .line-2 .row > * {
    width: auto;
}

footer .line-2 .col-1 {
    flex-grow: 1;
}

footer .logo-col img {
    width: 140px;
}

@media (max-width: 767px) {
    footer .line-1 div.row {
        flex-direction: column;
    }

    .footer-line2 * {
        justify-content: center;
    }
}

footer b {
    color: #fff;
}

footer a,
footer p {
    color: #ffffff;
}

footer .col-lg-12 > p {
    font-size: 12px;
}

footer ul {
    display: block;
    padding-left: 0;
    text-align: left;
    list-style: none;
}

footer ul .menu-item a,
footer #copyright a {
    color: #ffffff;
    text-decoration: none;
}

footer ul .menu-item a {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

footer ul .menu-item a:hover,
footer ul .menu-item a:focus,
footer #copyright a:hover,
footer #copyright a:focus {
    color: #E17F00;
    text-decoration: none;
}

footer ul#social-links {
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
    text-align: left;
    list-style: none;
}

footer ul#social-links li {
    margin-right: 15px;
}

footer ul#social-links svg {
    width: 1.5rem;
}

footer ul#social-links a[href *="twitter.com"] svg {
    width: 1.2rem;
}

footer ul#social-links a:hover svg .social-ico {
    fill: #E17F00;
}

footer ul#social-links a[href*="youtube"] {
    margin-left: -3px;
    margin-right: 1px;
}

footer ul#social-links a[href*="youtube"] svg {
    width: 1.8rem;
    height: 1.5rem;
}

footer h4 {
    margin-bottom: 10px;
    padding-top: 15px;
    color: #ffffff;
}

footer .col-lg-4 + .col-lg-4 > h4 {
    padding-left: 3%;
}

footer i {
    color: #ffffff;
    font-size: 24px !important;
}

footer #awards li {
    flex-grow: 0;
    padding-right: 3%;
}

footer i:hover {
    color: #E17F00;
}

footer .line-2 .col-2 {
    font-size: 1rem;
    line-height: 1.428;
}

footer .line-2 .col-2 * {
    text-align: right;
}

footer .text-right li:nth-child(1) {
    color: #ffffff;
    font-weight: 300;
}

footer .text-right li:nth-child(n+2) {
    font-family: 'CreatoDisplay', sans-serif !important;
    font-weight: 700;
}

footer #copyright {
    margin-top: 8px;
    padding: 0;
    font-size: 12px;
    line-height: 1.429;
    color: #fff !important;
}

footer #copyright p {
    color: #fff !important;
}

@media only screen and (max-width: 1405px) {
    footer {
        /*padding-left: 10px;*/
    }

    footer .col-lg-3:first-child {
        padding-left: 15px !important;
    }
}

@media only screen and (max-width: 1024px) {
    footer .col-lg-3.last {
        margin-top: 20px;
        padding-right: 0 !important;
    }

    footer .col-lg-3.last .pull-right {
        float: none !important;
    }

    footer .col-lg-3.last .text-right {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    footer .col-lg-3.last {
        padding-right: 0 !important;
    }
}

@media (max-width: 767px) {
    footer a img.img-responsive {
        float: left !important;
    }

    footer ul.text-right {
        padding-top: 15px;
        float: left !important;
        text-align: left !important;
    }

    footer ul#social-links {
        width: 100%;
    }
}

.screen-reader-text {
    position: absolute !important;
    top: -10000em;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    word-wrap: normal !important;
}

@media (max-width: 1199px) {
    footer .container:before {
        display: none;
    }

    footer div.row .col-lg-3.last ul.text-right {
        margin-bottom: 30px;
    }
}

@media (min-width: 993px) {
    footer .logo-col {
        margin-left: calc(30px + 3%);
    }
}

@media (max-width: 992px) {
    footer .line-2 > .container > .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer ul#social-links {
        justify-content: center;
    }

    footer .line-2 .col-2 ul {
        text-align: center !important;
    }
}


/*--------------------------------------------------------------
=== SEARCH BAR ===
--------------------------------------------------------------*/
@media (max-width:767px) {

    .page-head_media-library .d-flex,
    .page-head_media-library .search-form {
        flex-direction: column;
    }

    .page-head_media-library .search-form .submit {
        margin-top: 10px;
    }
}

@media (min-width:768px) {
    .page-head_media-library .d-flex {
        align-items: center;
    }

    .page-head_media-library .search-bar {
        padding-left: 20px;
    }

    .page-head_media-library .search-form .submit {
        margin-left: 10px;
    }
}

.page-head_media-library .title {
    white-space: nowrap;
}

.search-bar {
    padding: 20px 0;
    margin: 0;
}

.search-bar #search {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.search-bar #search input[type=submit] {
    height: auto;
    width: 145px !important;
    line-height: 1;
    width: auto;
    padding: 11px 8px;
}

#search input[type="submit"],
.wp-block-search button.wp-block-search__button {
    color: #ffffff;
    background-color: #ff930d;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    border-radius: 100px;
    border: 4px solid #ece6d8;
    line-height: 36px;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

#search input[type="submit"]:hover,
.wp-block-search button.wp-block-search__button:hover {
    background: #E17F00;
}

#search input[type='text'],
.wp-block-search input[type=search] {
    padding: 7px 9px;
    width: 70%;
    position: relative;
    border: 4px solid #ece6d8;
}

form.wp-block-search {
    margin-top: 3rem !important;
    margin-bottom: 6rem !important;
    padding: 0 !important;
}

form.wp-block-search > label {
    display: none;
}

.wp-block-search input[type=search] {
    flex-grow: 0 !important;
}

@media (max-width:767px) {
    form#search {
        display: flex;
    }
}


/* select-group */
.section_select-group {
    background: #e9e4d8;
}

.select-group_wrapper {
    margin-bottom: 1rem;
    align-items: center;
}

.section_select-group .title {
    font-weight: bold;
    white-space: nowrap;
}

.select-group_item .dropdown .btn {
    width: 100%;
    font-weight: bold;
    text-align: left;
    border-width: 0 0 1px 0;
}

.select-group_item .dropdown .btn:hover,
.select-group_item .dropdown .btn:focus {}

.select-group_item .dropdown .dropdown-toggle:after {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width:767px) {
    .select-group_wrapper {
        flex-direction: column;
    }

    .section_select-group .title {}

    .select-group_item {
        margin-top: 6px;
        width: 100%;
    }
}

@media (min-width:768px) {
    .select-group_wrapper {
        align-items: center;
    }

    .section_select-group .select-group_item {
        padding-left: .5rem;
        flex-basis: 20%;
        flex-grow: 1;
    }
}


/*--------------------------------------------------------------
=== section_featured-resources ===
--------------------------------------------------------------*/
.section_featured-resources {
    background-color: #00557A;
}

.section_featured-resources .section-intro {
    color: #fff;
    text-align: center;
}


/*--------------------------------------------------------------
=== GALLERY base ===
--------------------------------------------------------------*/

/* General Carousells styling */
.owl-dots {
    display: none !important;
}

.owl-nav .owl-next {
    position: absolute;
    z-index: 55;
    top: 50%;
    right: -25px;
    transform: translate(0, -50%);
    background: none;
    margin: 0;
    padding: 0;
    background: transparent url("/wp-content/themes/apg/front/img/right.png") center top !important;
    width: 51px;
    height: 79px;
}

.owl-nav .owl-next.disabled {
    display: none;
}

.owl-nav .owl-prev {
    position: absolute;
    z-index: 55;
    top: 50%;
    left: -10px;
    transform: translate(0, -50%);
    background: none;
    margin: 0;
    padding: 0;
    background: transparent url("/wp-content/themes/apg/front/img/left.png") center top !important;
    width: 51px;
    height: 79px;
}

.owl-nav .owl-prev span,
.owl-nav .owl-next span {
    display: none;
}

.carousel_base {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.carousel_base .owl-carousel {
    /*padding: 0 24px;*/
}

.carousel_base .owl-wrapper-outer {}

.carousel_base .owl-wrapper {
    display: flex !important;
}

.carousel_base .owl-item {
    /*width: 312px!important;*/
    padding-left: 10px;
    padding-right: 10px;
    /*border: 2px solid red!important;*/
}

.carousel_base .owl-item .item {
    height: 100%;
    /*border: 1px solid blue;*/
    background-color: #fff;
}

.carousel_base .owl-item .item .featured-resources_item {
    height: 100%;
    /*border: 3px solid green;*/
    display: flex;
    flex-direction: column;
}

.carousel_base .owl-item .item .featured-resources_item .featured-resources_content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: .75rem;
    /*border: 2px solid red;*/
}

.carousel_base .owl-item .item .featured-resources_item .featured-resources_content,
.carousel_base .owl-item .item .featured-resources_item .featured-resources_content a {
    /*color: #fff;*/
}

.carousel_base .owl-item .item .featured-resources_item .featured-resources_content .featured-resources_text {
    flex-grow: 1;
    margin-top: .5rem;
}

.carousel_base .owl-item .item .featured-resources_item .featured-resources_content .featured-resources_tags {
    margin-top: .5rem;
    font-size: .8em;
}

.carousel_base .owl-item .item .featured-resources_item .featured-resources_content .featured-resources_tags a {
    text-decoration: none;
}

.featured-resources_cover {
    position: relative;
    /*padding-bottom: 56.35%;*/
    padding-bottom: 100%;
}

.featured-resources_cover img {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    object-position: center;
    object-fit: contain;
}

.featured-resources_cover.cover-full img {
    object-fit: cover;
}

.featured-resources_ico {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 5rem;
    color: #E17F00;
}

.featured-resources_cover iframe {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
}

.section_featured-resources .owl-buttons > div {
    top: 34%;
}

@media (min-width:600px) {
    .carousel_base .owl-item {}
}


/*--------------------------------------------------------------
=== SECTION PRODUCT-FAMILIES ===
--------------------------------------------------------------*/
.section_product-families .owl-controls {
    display: block !important;
}

.section_product-families .item {
    cursor: pointer;
}

.section_product-families .carousel-base_cover {
    height: 150px;
}

.section_product-families .carousel-base_cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.section_product-families .carousel-base_content {
    font-weight: bold;
    text-align: center;
}

.section_product-families .item:hover .carousel-base_content {
    color: #E17F00;
}


/*--------------------------------------------------------------
=== SECTION EXPLORE-MORE ===
--------------------------------------------------------------*/
.explore-more_item {
    align-items: center;
}

.section_explore-more .explore-more_cover {
    position: relative;
    width: 120px;
    padding-bottom: 100%;
}

.section_explore-more .explore-more_cover.cover-full img,
.section_explore-more .explore-more_cover iframe {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    object-position: center;
    object-fit: cover;
}

.explore-more_content {
    padding-left: 1rem;
}


/*--------------------------------------------------------------
=== LINK-LIST ===
--------------------------------------------------------------*/
.link-list a {
    position: relative;
    display: block;
    padding: 0 1rem 0 0;
    text-decoration: none;
}

.link-list a .arr {
    position: absolute;
    right: -5px;
    top: 11px;
    font-size: 0 !important;
    background: none !important;
    padding: 0 !important;
    width: .8rem;
    height: .8rem;
    transform: rotate(-90deg);
}

.link-list a .arr:before,
.link-list a .arr:after {
    position: absolute;
    content: "";
    width: 61%;
    height: 2px;
    top: 30%;
    background: #337ab7;
}

.link-list a .arr:before {
    left: 0;
    transform: rotate(45deg);
}

.link-list a .arr:after {
    right: 0;
    transform: rotate(-45deg);
}

.link-list a:hover {
    color: #E17F00;
}

.link-list a:hover .arr:before,
.link-list a:hover .arr:after {
    background: #E17F00;
}


/*--------------------------------------------------------------
=== SECTION NEWS ===
--------------------------------------------------------------*/
.section_news {
    background: #e9e4d8;
}

.section_news .news_wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.post-wrapper header {
    position: relative;
}

.post-wrapper .entry-meta {
    margin: 0 0 .5rem 0;
    border-bottom: 1px solid #fff;
    display: flex;
    flex-wrap: wrap;
}

.post-wrapper .entry-meta > div {
    white-space: nowrap;
}

.post-wrapper .entry-meta > div > * {
    display: inline-block;
}

.post-wrapper .entry-meta > div:not(:last-child) {
    margin-right: 1rem;
}

.post-wrapper .entry-meta h4 {
    font-size: 1rem;
    font-weight: 400;
}

.post-wrapper .entry-meta i {
    font-size: .95rem;
}

@media (max-width: 991px) {
    .post-wrapper .entry-meta {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .post-wrapper .entry-meta {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .post-wrapper .entry-meta {
        padding-right: 13.3rem;
    }
}

.post_title a {
    color: inherit;
    text-decoration: none;
}

.post_title a:hover {
    color: #E17F00;
    text-decoration: underline;
}

.post_title {}

.post-content_text {
    margin-bottom: 1rem;
}


/*--------------------------------------------------------------
=== SEARCH SECTION ===
--------------------------------------------------------------*/
.search-bar {
    background: #fcfaf7;
}

.no-bg .search-bar {
    background: none !important;
}

.search-bar {
    padding: 20px 0;
    margin: 0;
}

.search-bar #search,
form.wp-block-search .wp-block-search__inside-wrapper {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

form.wp-block-search .wp-block-search__inside-wrapper {
    padding-left: 12px;
    padding-right: 12px;
}

.search-bar #search input[type=submit],
.wp-block-search button.wp-block-search__button {
    z-index: 1;
    height: auto;
    width: 145px !important;
    line-height: 1;
    width: auto;
    padding: 11px 8px;
}

.wp-block-search button.wp-block-search__button {
    margin: 0 !important;
}

@media (min-width: 768px) {
    #reach_search + .search-results_all {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width:767px) {
    #reach_search + .search-results_all {
        padding-left: 13px;
    }
}

@media (min-width:768px) {
    #reach_search + .search-results_all {
        padding-left: 21px;
    }
}

#reach_search_field {
    width: 70%;
}

.reachelem_pdf_header {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: #001740;
}

.search-results_all p.description {
    font-size: 18px;
    font-weight: 500;
}

.reachelem_pdf-item.description span {
    text-transform: uppercase;
    padding-left: 5px;
}

.search-results_all .reachelem_pdf-download_link {
    margin-left: 1rem;
}

.search-results_all .reachelem_pdf-download_link:before {
    content: "";
    margin-bottom: -2px;
    display: inline-block;
    vertical-align: baseline;
    width: 22px;
    height: 22px;
    background: url(/wp-content/themes/apg/front/img/pdf-red-blue.svg) left top/auto 44px no-repeat;
}

#header-support-wrap {
    position: absolute;
    ;
    width: 100%;
    padding: 23px 0 20px;
    text-align: right;
    background: #fcfaf7;
}

#header-support-wrap a {
    white-space: nowrap;
    padding-right: 20px;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #dd821e;
    background: none;
    text-decoration: none !important;
}

@media only screen and (max-width: 1404px) {
    #header-support-wrap a {
        padding-right: 5px;
    }
}

#header-support-wrap img {
    margin-top: -3px;
    height: 40px;
    object-fit: contain;
}

#header-support-wrap span {
    margin-left: 5px;
}

@media only screen and (max-width: 1024px) {
    .search-bar #search {
        width: 100%;
        padding-right: 60px;
    }

    #header-support-wrap span {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {

    .search-bar #search,
    form.wp-block-search .wp-block-search__inside-wrapper {
        width: 60%;
    }
}


/*--------------------------------------------------------------
=== PRODUCT ITEM ===
--------------------------------------------------------------*/
.flexslider div.owl-stage,
.flexslider div.owl-item {
    width: auto !important;
}

.owl-nav.disabled,
.owl-dots.disabled {
    display: none;
}

.product-item {
    padding: 0 !important;
    gap: 0 !important;
    min-height: 300px;
}

.product-item > * {
    padding: 1.5rem 2rem;
}

.product-item .product-item_title {}

.product-item .product-item_content {}

.product-item_title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item_img {
    margin: 0 !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.product-item_img img {
    opacity: .35;
}

.product-item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-item_img + * {
    position: relative;
}

.product-item_content {}

/* reviews */
#review_form .comment-form label {
    min-width: 4.3rem;
}

@media (max-width: 781px) {
    .product-item_title {
        min-height: 200px;
    }

    #review_form .comment-form .comment-form-cookies-consent {
        display: flex;
        align-items: flex-start;
    }

    #review_form .comment-form input {
        margin: .4rem .4rem 0 0;
    }
}

.product-title-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    min-height: 210px;
    font-size: 2.25rem;
    font-weight: 700;
}

.product-title-col-img {
    position: relative;
}

@media (min-width: 768px) {

    .product-title-col,
    .product-title-col-img {
        min-height: 420px;
    }

    .product-title-col-img .wp-block-cover {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }
}


/*--------------------------------------------------------------
    === to wp-admin ===
 --------------------------------------------------------------*/
.is-desktop-preview .editor-styles-wrapper {
    padding: 0;
}

html body .wp-block {
    position: relative;
}

html :where(.wp-block) .wp-block:not(.container) {
    max-width: none !important;
}

html body .wp-block:not(.container) {
    /*max-width: none!important; border: 1px solid red;*/
}

html body .wp-block.full-w,
html body .wp-block[data-type="acf/page-header"],
html body .wp-block[data-type="acf/accordion"],
html body .wp-block[data-type="acf/tabs"],
html body .wp-block[data-type="acf/tabs-special"],
html body .wp-block[data-type="acf/promo"],
html body .wp-block[data-type="acf/search-bar"] {
    max-width: none !important;
}

html body .wp-block.full-w .acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields,
html body .wp-block[data-type="acf/page-header"] .acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields,
html body .wp-block[data-type="acf/accordion"] .acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields,
html body .wp-block[data-type="acf/tabs"] .acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields,
html body .wp-block[data-type="acf/tabs-special"] .acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields,
html body .wp-block[data-type="acf/promo"] .acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields,
html body .wp-block[data-type="acf/search-bar"] .acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields {
    max-width: 840px;
}

.acf-tooltip {
    max-width: 300px !important;
}

.acf-block-component.acf-block-body > div > .acf-block-fields.acf-fields {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-table th {
    text-align: inherit;
}

@media (max-width:767px) {

    .has-table_title thead,
    .has-table_title thead tr,
    .has-table_title thead tr th:first-child {
        display: block
    }

    .has-table_title thead tr th + th {
        display: none;
    }

    .has-table_title tbody {
        display: table;
    }
}


/*--------------------------------------------------------------
    === BLOG ===
 --------------------------------------------------------------*/
.post-wrapper.post-grid-item article h2 a {
    color: #001740;
}

.single-post-wrapper .post-heading {
    margin: 3rem 0;
}

.posts-grid-wrapper {
    justify-content: space-between;
}

@media (max-width:767px) {
    .posts-wrapper .post-grid-item {
        width: 100%;
    }
}

@media (min-width:768px) {
    .posts-wrapper .post-grid-item {
        width: 47%;
    }
}

.post-template-default .post.type-post.format-standard header {
    margin-bottom: 3rem;
}

.post-template-default .post.type-post.format-standard header .entry-meta > div {
    display: flex;
    width: 100%;
}

.post-template-default .post.type-post.format-standard header .popover {
    top: 3rem !important;
}

.post.type-post.format-standard header,
.events-wrapper-js + .container .post-wrapper header,
.upcoming-events header,
.previous-events header {
    position: relative;
}

.post.type-post.format-standard header .entry-meta > div:nth-child(2) {
    flex-wrap: wrap;
}

.post.type-post.format-standard header .modal-wrap,
.events-wrapper-js + .container .post-wrapper header .modal-wrap,
.previous-events .post-wrapper header .modal-wrap,
.page-header.events-wrapper-js #content .post-wrapper header .modal-wrap {
    text-align: right;
}

.post.type-post.format-standard header .modal-wrap .popover,
.events-wrapper-js + .container .post-wrapper header .modal-wrap .popover,
.upcoming-events header .modal-wrap .popover,
.previous-events header .modal-wrap .popover {
    left: auto;
    right: 0;
    top: auto !important;
    /*margin-top: 1.5rem;*/
}

.post.type-post.format-standard header .modal-wrap .popover-content,
.events-wrapper-js + .container .post-wrapper header .modal-wrap .popover-content {
    padding-right: .2rem;
    padding-bottom: .2rem;
    display: flex;
    align-items: flex-start;
}

.post.type-post.format-standard header .modal-wrap .popover-content > *,
.events-wrapper-js + .container .post-wrapper header .modal-wrap .popover-content > * {
    margin: 0 .3rem .3rem 0;
    max-height: 20px;
    min-height: calc(1rem + 4px);
}

.post.type-post.format-standard header .entry-meta > div:nth-child(2) h4:not(:last-child) {
    margin-right: .5rem;
}

.post.type-post header .popover-content {
    position: absolute;
    right: 0;
    top: 0;
    padding: .2rem 0 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.page-template-page-events .post.type-post header .popover-content {
    top: -2rem;
    margin-top: 0 !important;
}

.post.type-post header .popover-content > * {
    margin-left: 4px;
    height: 20px !important;
    white-space: nowrap;
}

.post.type-post header .popover-content .fb_iframe_widget {
    display: flex !important;
}

.post.type-post header .popover-content .PIN_1697810956368_button_pin {
    border-radius: 3px !important;
}

.post.type-post.format-standard header .modal-wrap .popover-content .twitter-share-button,
.events-wrapper-js + .container .post-wrapper header .modal-wrap .popover-content .twitter-share-button,
.upcoming-events header .modal-wrap .popover-content .twitter-share-button,
.previous-events header .modal-wrap .popover-content .twitter-share-button,
.twitter-share-button {
    padding: 4px;
    font-size: 11px;
    line-height: 1;
    color: #fff !important;
    vertical-align: middle;
    border-radius: 3px;
    background-color: #000;
}

.post.type-post.format-standard header .modal-wrap .popover-content .twitter-share-button:before,
.events-wrapper-js + .container .post-wrapper header .modal-wrap .popover-content .twitter-share-button:before,
.upcoming-events header .modal-wrap .popover-content .twitter-share-button:before,
.previous-events header .modal-wrap .popover-content .twitter-share-button:before,
.twitter-share-button:before {
    content: "";
    margin-right: .2rem;
    display: inline-block;
    vertical-align: middle;
    width: .65rem;
    height: .65rem;
    background: url("/wp-content/themes/apg/front/img/ico-twitter.svg") center / 1rem 1rem no-repeat;
}

.popover-content a[href *="pinterest.com"] {
    padding: 4px 4px 4px calc(1rem + 8px);
    font-size: 11px;
    line-height: 1;
    color: #fff;
    vertical-align: middle;
    border-radius: 3px;
    background: url("/wp-content/themes/apg/front/img/ico-pinterest.svg") 4px center / 1rem 1rem no-repeat #e60023;
}

.post.type-post.format-standard header .entry-meta > div:nth-child(1) > img,
.post.type-post.format-standard header .entry-meta > div > img,
.post.type-post.format-standard header .share-button > img {
    display: none;
}

.post.type-post.format-standard header .entry-meta > div:before,
.share-button:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    line-height: 1;
    margin-right: .5rem;
}

.post.type-post.format-standard header .entry-meta > div:nth-child(1):before {
    content: "\f073";
}

.post.type-post.format-standard header .entry-meta > div:nth-child(2):before,
body.single {
    content: "\f02b";
}

header .entry-meta > div.meta-tag:before,
header .entry-meta > div.entry-meta-tag:before {
    content: "\f02b" !important;
}

.share-button:before {
    content: "\f1e0";
    margin: 0;
}

.share-button {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    padding-top: .2rem;
    color: #fff;
    text-align: center;
    border-radius: 100%;
    background: #dd821e;
}

.share-button:hover {
    color: #fff;
    background: #d27802;
}


.related-posts {
    margin-top: 5rem;
}

.related-posts .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts > .posts-wrapper {
    display: flex;
    width: 100%;
}

.related-posts .post-grid-item header {
    margin: 0 0 1rem !important;
    display: flex;
    width: 100%;
    border-bottom: 2px solid #eee;
}

.related-posts .post-grid-item header .entry-meta {
    display: flex;
    margin-bottom: .25rem !important;
    padding-top: .2rem;
    width: calc(100% - 2rem);
}

.related-posts header .entry-meta > div {
    width: auto !important;
}

.related-posts header .entry-meta > div:first-child {
    white-space: nowrap;
}

.related-posts header .entry-meta > div:nth-child(2):before {
    content: "\f406";
}

.related-posts header .modal-wrap {
    margin-top: 0 !important;
}

.related-posts .share-button {
    width: 1.5rem;
    height: 1.5rem;
    font-size: .8rem;
}

.related-posts header + .page-title {
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .related-posts .post-grid-item {
        flex: 0 0 50%;
    }

    .related-posts .post-grid-item:nth-child(1) {
        padding-right: 2rem;
    }

    .related-posts .post-grid-item:nth-child(2) {
        padding-left: 2rem;
    }
}

@media (max-width: 991px) {

    .related-posts > .posts-wrapper,
    .related-posts header .entry-meta {
        flex-direction: column;
    }
}

body.single.single-post article .wp-block-image img {
    margin-bottom: 1.6rem;
}


/*--------------------------------------------------------------
    === EVENTS ===
 --------------------------------------------------------------*/
.events-el h2 {
    margin-bottom: 2rem;
}

.gutenberg_wrapper.distributors > *:last-child {
    margin-bottom: 0;
}

.page-header.events-wrapper-js {
    margin-bottom: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background: #fcfaf7;
}

.events-wrapper-js .heading-posts-filter {
    justify-content: center;
}

.events-wrapper-js .heading-posts-filter input.field {
    padding: 7px 9px;
    border: 4px solid #ece6d8;
    margin-right: .5rem;
}

.events-wrapper-js .heading-posts-filter .submit {
    /*padding-top: .5rem; font-weight: 600; border: 4px solid #ece6d8;*/
}

@media (max-width: 767px) {
    .events-wrapper-js .heading-posts-filter input.field {
        width: 100%;
        margin-bottom: .4rem;
    }
}

@media (min-width: 768px) {
    .events-wrapper-js .heading-posts-filter input.field {
        width: calc(100% - 140px - 1rem);
        max-width: 600px;
    }

    .events-wrapper-js .heading-posts-filter .submit {
        width: 140px;
        margin-left: 1rem;
    }
}

.page-template-page-events .page-header.events-wrapper-js {
    margin-top: 5rem;
}

.page-template-page-events .page-header.events-wrapper-js,
.page-template-page-events .gutenberg_wrapper.distributors {
    margin-bottom: 3rem;
}

.page-template-page-events .page-header.events-wrapper-js main {
    padding-bottom: 5rem;
}

.page-template-page-events .page-header.events-wrapper-js h1 {
    margin-bottom: 3rem;
    text-align: center;
}

.page-template-page-events .heading-posts-filter {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
}

.page-template-page-events .heading-posts-filter input {
    margin-right: 1rem;
    padding-top: .4rem;
    padding-bottom: .4rem;
    border: 1px solid rgba(190, 190, 190, .5);
}

.page-template-page-events .heading-posts-filter a.submit {
    width: 150px;
}

.page-header.events-wrapper-js #content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.page-template-page-events h2 {
    margin-bottom: 3rem;
}

.events-wrapper-js ~ .container .post-wrapper {
    padding-top: 1.5rem;
}

.events-wrapper-js ~ .container .post-wrapper a.page-title,
.page-header.events-wrapper-js #content .post-wrapper a.page-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #001740;
}

.events-wrapper-js ~ .container .post-wrapper .border-divider,
.page-header.events-wrapper-js #content .post-wrapper .border-divider {
    margin: .5rem 0;
    height: 1px;
}

.events-wrapper-js ~ .container .post-wrapper .btn-orange,
.events-wrapper-js ~ .container .post-wrapper .btn-orange-js,
.page-header.events-wrapper-js #content .post-wrapper .btn-orange-js {
    padding: 0.57rem 0.75rem 0;
}

.events-wrapper-js ~ .container .post-wrapper .btn-orange {
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .heading-posts-filter .submit {
        margin-top: 1rem;
    }
}

@media (min-width: 769px) {

    .upcoming-events .post-wrapper,
    .page-header.events-wrapper-js #content .post-wrapper {
        flex: 0 0 33.33% !important;
    }
}

.post-wrapper.item img {
    max-width: 100%;
    height: auto;
}

.previous-events {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.previous-events .post-wrapper.item {
    padding: 1.5rem;
}

.previous-events .post-wrapper.item .share-button {
    width: 1.5rem;
    height: 1.5rem;
    font-size: .8rem;
}

/* Upcoming Events */
.page-template-page-events .post-wrapper {
    padding: 0 2rem 2rem;
}

.page-template-page-events .post-wrapper .entry-meta {
    /*margin-bottom: 0;*/
}

.page-template-page-events .post-wrapper.page-title {
    font-weight: 700;
}

@media (min-width: 769px) {
    .page-template-page-events .post-wrapper {
        flex: 0 0 50%;
    }

    .previous-events .post-wrapper {
        flex: 0 0 33.33% !important;
    }
}

/* Previous Events */
.previous-events {
    margin-bottom: 5rem;
}

.single-event .entry-content {
    margin-bottom: 2rem;
}

.event-social-links {
    margin-top: 1rem;
}

.event-social-links a {}

.event-social-links i {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-size: auto 1rem;
    background-position: center;
    background-color: #000;
    border-radius: 100%;
}

.event-social-links i:before {
    display: none;
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 900;
    line-height: 1;
}

.fa-twitter {
    background-image: url("/wp-content/themes/apg/front/img/ico-twitter.svg");
}

.fa-facebook-official {
    background-image: url("/wp-content/themes/apg/front/img/ico-facebook-f.svg");
}

.fa-linkedin-square {
    background-image: url("/wp-content/themes/apg/front/img/ico-linkedin-in.svg");
}

.fa-youtube-play {
    background-image: url("/wp-content/themes/apg/front/img/ico-youtube-c.svg");
}

.fa-instagram {
    background-image: url("/wp-content/themes/apg/front/img/ico-instagram.svg");
    background-size: auto 1.22rem !important;
}

.event-social-links a:hover .fa-twitter {
    background-color: #000;
}

.event-social-links a:hover .fa-facebook-official {
    background-color: #4867aa;
}

.event-social-links a:hover .fa-linkedin-square {
    background-color: #0077b7;
}

.event-social-links a:hover .fa-youtube-play {
    background-color: #ff0024;
}

.event-social-links a:hover .fa-instagram {
    background-color: #ff0024;
}

.organizer-meta {
    margin-top: 2rem;
}

.post-template-default.single-post .single-post-wrapper {
    padding-bottom: 5rem;
}

.post-template-default.single-post .single-post-wrapper .post.type-post header {
    margin-bottom: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e6e6e6;
}

.post-template-default.single-post .single-post-wrapper .post.type-post header .entry-meta {
    font-size: 1.375rem;
    line-height: 1.1;
    font-weight: 600;
}

/* Schedule Meeting Popup */
#scheduleMeetingModal .modal-dialog {
    width: 550px;
    max-width: 100%;
}

#scheduleMeetingModal .modal-content {
    padding: 20px;
}


/*--------------------------------------------------------------
    === STORE ===
 --------------------------------------------------------------*/

/* switchStoreModal */
#switchStoreModal .modal-dialog {
    margin-top: 10%;
    max-width: 630px;
}

#switchStoreModal .modal-dialog .modal-content .modal-header {
    border: none;
}

#switchStoreModal .modal-dialog .modal-content .modal-header .modal-title {
    font-size: 28px;
    text-align: center;
    padding: 30px 0 0;
    margin: 0;
    line-height: 1.42857143;
}

#switchStoreModal .modal-dialog .modal-body {
    padding: 2em 2em 0;
}

#switchStoreModal .modal-dialog .modal-body .text-center {
    font-size: 19px;
    color: #001740;
    font-weight: 500;
}

#switchStoreModal .modal-dialog .modal-content .modal-footer {
    flex-direction: column;
    border: none;
    padding-bottom: 50px;
}

#switchStoreModal .modal-dialog .modal-content .modal-footer button {
    margin: 10px auto 0;
    text-transform: uppercase;
    background: #ff930d;
    color: #fff;
    border-radius: 100px;
    border: 4px solid #ece6d8;
    padding: 7px 30px;
    font-weight: 500;
    line-height: 1;
    height: auto;
    min-height: 2.6rem;
}

/* / */

.woocommerce-page main.container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.woocommerce-products-header > .container {
    padding: 0;
}

.woocommerce-page #search-bar {
    padding-top: 2rem;
}

.woocommerce-page #search-bar > .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.woocommerce-page #search-bar > .container > * {
    margin-bottom: 1rem;
}

.woocommerce-page #search-bar .search-holder {
    flex-grow: 1;
}

.woocommerce-page-shop #search-bar #search {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.woocommerce-page #search-bar #search input[type="submit"] {
    margin-left: 0.5em;
    max-width: 145px;
    line-height: 1;
}

.shop-controls {
    display: flex;
    list-style: none;
    margin: 0 !important;
    padding-left: 0 !important;
    font-size: .875rem;
    font-weight: 400;
}

.shop-controls li {
    padding: 0 .5rem;
}

.shop-controls li:not(:last-child) {
    border-right: 2px solid #ece6d8;
}

.shop-controls a,
.header-cart-info a {
    color: inherit;
}

.shop-controls a:hover,
.header-cart-info:hover a {
    color: #c7751b;
}

.header-cart-info {
    float: right;
    text-align: right;
    font-size: 1rem;
    padding-right: .5rem;
}


.woocommerce-page #messages {
    margin-top: 2rem;
}

.woocommerce-page #messages p {
    margin-bottom: .3rem;
    padding: 5px 10px;
    font-size: .8125rem;
    color: #fff;
    border-radius: 5px;
    background: #d27802;
}

.woocommerce-page #messages p:nth-child(1) {
    background: #396b84;
}


/*--------------------------------------------------------------
=== PRODUCT FILTER ===
--------------------------------------------------------------*/
.product-filter .container {
    display: flex;
    flex-wrap: wrap;
}

.product-filter .container > div {
    display: flex;
}

.product-filter .container > div:not(:last-child) {
    margin-right: 1rem;
}

.product-filter .filter-category .select-wrapper {
    width: 250px;
}

.product-filter .filter-per_page .select-wrapper {
    width: 80px;
}

.product-filter .filter-ordering .select-wrapper {
    width: 250px;
}

.product-filter label {
    padding-top: .4rem;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .product-filter label {
        display: block;
        min-width: 90px;
    }

    .product-filter .container {
        flex-direction: column;
    }

    .product-filter .container > div:not(:last-child) {
        margin-bottom: .2rem;
    }
}

@media (min-width: 992px) {
    .product-filter .container > div > * {
        margin-right: .4rem;
    }
}


/*--------------------------------------------------------------
=== PRODUCT PAGE ===
--------------------------------------------------------------*/
.cash-drawer-template-default .single-product .container > .row > *,
.cash-drawer-template-default .single-product-line1.row > * {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .product-img .carousel-item {
        padding-bottom: 240px;
    }

    .product-img .carousel-item img {
        width: 240px;
    }
}

.product-template-default .slides li {
    text-align: center;
}

.product-template-default #carousel {
    padding: 0 30px;
}

.product-template-default main > .woocommerce-breadcrumb {
    margin-bottom: 2rem;
}

.product-template-default main > .row {
    padding: 0 !important;
}

.product-template-default main > .woocommerce-breadcrumb {
    padding-top: 1rem;
}

.product-template-default main > .row > section#single-product {}

@media (min-width: 576px) {
    .product-template-default section#single-product {
        flex: 0 0 auto;
        width: 50%;
        padding-left: 2rem;
    }
}

@media (min-width: 992px) {
    .product-template-default section#single-product {
        width: 66.66666667%;
    }
}

.flexslider {
    position: relative;
}

.flexslider .slides {
    margin: 0;
    padding: 0;
}

.flexslider img {
    max-width: 100%;
    height: auto;
}

.flexslider .flex-direction-nav {
    list-style: none;
}

.flexslider .flex-direction-nav a {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2rem;
    font-size: 0;
}

.flexslider .flex-direction-nav .flex-nav-prev a {
    left: 0;
    background: url("/wp-content/themes/apg/front/img/carousel-left.png") center / 1.5rem auto no-repeat !important;
}

.flexslider .flex-direction-nav .flex-nav-next a {
    right: 0;
    background: url("/wp-content/themes/apg/front/img/carousel-right.png") center / 1.5rem auto no-repeat !important;
}

#carousel.flexslider ul {
    display: flex;
    list-style: none;
}

#carousel li {
    padding-right: .4rem;
    width: auto !important;
}

#carousel li img {
    width: 90px;
}

.product .stock .fa {
    margin-right: .5rem;
}

.woocommerce #single-product div.product p.price,
.woocommerce #single-product div.product span.price {
    font-size: 4.6875rem !important;
    font-weight: 800 !important;
    color: inherit !important;
}

.cart .button,
.compare.button,
.woocommerce-message .button,
.checkout-button,
.return-to-shop .button,
.woocommerce-Button,
.woocommerce .button,
.checkout-back,
.checkout-next,
.dl-pdf,
.reg-control button,
form.woocommerce-ResetPassword.lost_reset_password a.lost-pass,
button.request-quote-button,
.post-password-form input[type=submit],
a.woosc-table-settings {
    display: inline-block;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-bottom: 2px;
    min-width: 160px;
    height: 2.6rem;
    font-size: 1rem !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    color: #fff !important;
    background-color: #ff930d !important;
    border-radius: 10rem !important;
    border: 3px solid #ff930d !important;
}

.cart a.button,
a.compare.button,
.woocommerce-message a.button,
a.checkout-button,
.return-to-shop a.button,
a.woocommerce-Button,
.woocommerce a.button,
a.checkout-back,
a.checkout-next,
a.dl-pdf,
form.woocommerce-ResetPassword.lost_reset_password a.lost-pass,
a.woosc-table-settings {
    padding-top: .57rem !important;
}

/*.cart input.button { padding-bottom: .275rem !important;}*/

a.dl-pdf {
    height: auto;
    min-height: 2.6rem;
    padding-bottom: .57rem;
}

.button-lg,
.checkout-button {
    font-size: 1.25rem !important;
    height: 3.125rem;
}

.cart .button:hover,
.compare.button:hover,
.woocommerce-message .button:hover,
.checkout-button:hover,
.return-to-shop .button:hover,
.woocommerce-Button:hover,
.woocommerce .button:hover,
.checkout-back:hover,
.checkout-next:hover,
.dl-pdf:hover,
.reg-control button:hover,
form.woocommerce-ResetPassword.lost_reset_password a.lost-pass:hover,
button.request-quote-button:hover,
.post-password-form input[type=submit]:hover,
a.woosc-table-settings:hover {
    background: #e17f00 !important;
    border-color: #e17f00 !important;
}

.cart .button {
    margin-left: .5rem !important;
}

.compare.button {
    margin-top: 1rem;
}

.product_meta {
    padding-top: .3rem;
}

.product_meta .sku_wrapper,
.woocommerce-product-details__short-description > span:first-child {
    font-weight: 700;
}

#single-product form.cart,
#single-product form.cart .quantity-field {
    display: flex;
    align-items: center;
}

#single-product form.cart,
#single-product form.cart .quantity-field > *:not(:last-child) {
    margin-right: .4rem;
}

#single-product form.cart {
    clear: both;
    margin-top: 2rem;
}

#single-product form.cart p {
    margin: 0;
}

.product-info .stock.in-stock i {
    margin-right: .6rem;
    color: green;
    font-size: 1rem;
}

form.cart .input-text.qty,
textarea#comment,
input[type="text"],
input[type="email"],
input[type="date"],
input[type="password"],
input[type="tel"] {
    max-width: 100%;
    border: 1px solid rgba(190, 190, 190, .5);
}

@media (max-width: 767px) {
    form.cart .input-text.qty {
        width: 40px;
    }
}

@media (min-width: 768px) {
    form.cart .input-text.qty {
        width: 60px;
    }
}

.stepper .stepper-arrow {
    display: none;
}

/* checkout-order-review */
#checkout-order-review .order-header {
    margin: 2rem 0 2.5rem;
}

.woocommerce-MyAccount-orders a.button {
    min-width: 100px;
    margin: 5px 5px 5px 0;
    text-transform: uppercase;
    font-size: 12px !important;
    padding-top: .4rem !important;
    padding-bottom: .4rem !important;
    height: auto !important;
}

.woocommerce-order-details .woocommerce-columns--addresses {
    margin-top: 2rem;
}

.woocommerce-order-details .woocommerce-customer-details {
    margin-top: 3rem;
}

.woocommerce-order-details .woocommerce-customer-details .col-1,
.woocommerce-order-details .woocommerce-customer-details .col-2 {
    margin-top: 2rem;
    width: 100%;
}

.woocommerce-order-details .woocommerce-customer-details th,
.woocommerce-order-details .woocommerce-customer-details td {
    font-size: 1.125rem;
}

.woocommerce-order-details .woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    margin-top: 0;
}

body.page-template-order-review.woocommerce-order-received.woocommerce-page main.container {
    padding-bottom: 0;
}


/* woocommerce-message */
.woocommerce-message {
    margin-bottom: 3rem;
    padding: 1rem;
    text-align: center;
    border: 2px solid #ece6d8;
}

.woocommerce-message #add-msg {
    display: flex;
}

.woocommerce-message #add-msg > i {
    margin-right: .5rem;
}

.woocommerce-message #add-msg .msg-fig {
    width: 14%;
    margin-right: 1rem;
}

.woocommerce-message #add-msg > p {
    flex-grow: 1;
    width: 60%;
    margin-right: 1rem;
}

.woocommerce-message #add-msg .msg-btn-holder {
    display: flex;
    white-space: nowrap;
}

.woocommerce-message #add-msg .msg-btn-holder .button {
    min-width: 100px;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 12px !important;
    padding-top: .4rem !important;
    padding-bottom: .4rem !important;
    height: auto !important;
}

.woocommerce-message .button {
    min-width: 100px;
}

@media (max-width:767px) {
    #add-msg {
        width: 100%;
        flex-wrap: wrap;
    }

    .msg-btn-holder {
        width: 100%;
        justify-content: center;
    }

    .msg-fig,
    .woocommerce-message #add-msg .msg-fig {
        width: 80px;
        margin: 0 auto 1rem !important;
        margin-right: 0;
    }

    #add-msg p,
    .woocommerce-message #add-msg > p {
        width: 100%;
        margin: 0;
    }

    .woocommerce-message #add-msg > i {
        position: absolute;
        margin: 30px 0 0 2rem;
    }
}

@media (min-width:768px) {
    .woocommerce-message #add-msg {
        align-items: center;
    }
}

/* woocommerce-Reviews */
.woocommerce-Reviews {
    margin-top: 3rem;
}

.woocommerce-Reviews .required {
    font-size: 0;
}

.woocommerce-Reviews .required:after {
    font-size: 1rem;
}

.woocommerce-Reviews .comment-form-rating {
    margin-top: 1rem;
}

.stars a {
    font-size: 0;
}

.stars a:before {
    content: "\f005";
    float: left;
    margin: 0;
    text-indent: 0;
    font: 900 1rem/1 'Font Awesome 6 Free';
    color: #dd821e;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.stars a.active ~ a::before,
.stars:not(.selected) a::before {
    color: gray;
}

.woocommerce-Reviews .comment-form-comment label {
    display: block;
    margin-bottom: .2rem;
}


/* related.products */
.related.products {
    margin-top: 5rem;
}

.product-list .container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.related.products > .col-sm-12 > h2 {
    margin-bottom: 2rem;
}

.post-template-default.single-post .single-post-wrapper .post.type-post header {
    padding-bottom: 0;
    border: 0;
}

/* product list */
.product-list div.product {
    padding: 0 15px 30px;
}

.product-list div.product a.woocommerce-LoopProduct-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px 10px;
    color: #001740;
    border: 2px solid #ece6d8;
}

.product-list div.product a.woocommerce-LoopProduct-link:hover {
    border-color: #FF930D;
}

.product-list div.product a:hover.woocommerce-LoopProduct-link:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    opacity: .55;
}

.product-list div.product .woocommerce-LoopProduct-link h2 {
    font-size: 1.5rem;
}

.product-list div.product figure {
    flex-grow: 1;
}

.product-list div.product img {
    max-width: 100%;
    height: auto;
}

.product-list div.product .price {}

.product-list div.product .stock {
    margin: 0 !important;
}

.product-list div.product .out-of-stock {
    color: #F2542D;
}

@media (max-width: 543px) {
    .row.product-list .container {
        margin: 0 !important;
    }

    .product-list div.product {
        margin-left: auto;
        margin-right: auto;
        width: 350px;
        max-width: 100%;
    }
}

/* product-nav */
.product-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.product-nav > div {
    padding: 0;
}


/*--------------------------------------------------------------
    === BLOG, PRESS ===
 --------------------------------------------------------------*/
/* post-filters  */
.post-filters {
    margin-bottom: 1.25rem;
    padding: 2rem 0;
    background: #fcfaf7;
}

.post-filters .row {
    justify-content: center;
    text-align: center;
}

@media (max-width: 575px) {
    .post-filters .row > div:not(:last-child) {
        margin-bottom: .4rem;
    }
}

/* / */

.top-posts-ctrl {
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: right;
}

.top-posts-ctrl .pull-right a {
    min-width: 110px;
}

.top-posts-ctrl .pull-right a + a {
    margin-left: .3rem;
}

.top-posts-ctrl .row + .row {
    margin-top: .5rem;
}

.post-wrapper.post-grid-item .page-title a {
    color: #001740;
}

.page-template-page-blog .posts-wrapper .post-grid-item .entry-meta {
    margin-bottom: .5rem;
}

.page-template-page-blog .post.type-post.format-standard header .entry-meta > div:nth-child(2):before,
.post.type-post.format-standard header .entry-meta > div:nth-child(2):before {
    content: "\f007";
}

.posts-wrapper .post-grid-item header .modal-wrap {
    float: right;
}

.posts-wrapper div:not(.related-posts) .post-grid-item header .modal-wrap,
div:not(.related-posts) .post header .entry-meta + .modal-wrap,
.events-wrapper-js + .container .post-wrapper header .modal-wrap,
.page-header.events-wrapper-js #content .post-wrapper header .modal-wrap {
    margin-top: -2.6rem;
}

.upcoming-events .post-wrapper .modal-wrap,
.previous-events .post-wrapper .modal-wrap {
    margin-top: -2.3rem !important;
}

.posts-wrapper .post-grid-item:not(:last-child) {
    margin-bottom: 4rem;
}

.posts-wrapper .post-grid-item .post > img {
    margin-bottom: .85rem;
    max-width: 100%;
    height: auto;
}

.posts-wrapper .post-grid-item .btn-orange {
    margin-top: 1rem;
}

.posts-wrapper .post-grid-item header .share-button,
.events-wrapper-js + .container .post-wrapper header .share-button,
.page-header.events-wrapper-js #content .post-wrapper header .share-button {
    width: 1.5rem;
    height: 1.5rem;
    font-size: .8rem;
}

.row.post-navigation {
    margin-top: 3rem;
    margin-bottom: 5rem;
}

article.post div.wp-block-image {
    /*clear: both;*/
}

.wp-block-image.alignright {
    float: right;
    clear: right !important;
    margin: 0 0 .5rem 2rem;
}

article.post hr {
    width: 100%;
}

@media (max-width: 991px) {

    .posts-wrapper div:not(.related-posts) .post-grid-item header .modal-wrap,
    div:not(.related-posts) .post header .entry-meta + .modal-wrap,
    .events-wrapper-js + .container .post-wrapper header .modal-wrap,
    .page-header.events-wrapper-js #content .post-wrapper header .modal-wrap {
        margin-top: -2.2rem;
    }
}

@media (min-width: 992px) {
    .page-template-page-blog .posts-wrapper .post-grid-item .entry-meta {
        display: flex;
    }

    .page-template-page-blog .posts-wrapper .post-grid-item .entry-meta > div {
        width: auto !important;
    }
}

/* woocommerce-cart */
*:not(body).woocommerce-cart {
    padding: 5rem 0;
}

.woocommerce-cart-form {
    padding: 2rem 0 3rem;
}

.shop_table {
    width: 100%;
}

.shop_table thead {
    border-bottom: 2px solid #ece6d8;
}

.shop_table th {
    padding-bottom: 4px;
}

.shop_table th:not(:last-child) {
    padding-right: 12px;
}

.shop_table .cart_item:not(:first-child) {
    padding-top: 6px;
    border-top: 1px solid #ece6d8;
}

.shop_table td.product-thumbnail {
    padding-right: calc(1rem + 1vw);
}

.shop_table td.product-thumbnail img {
    max-width: 100%;
    height: auto;
    min-width: 120px;
}

.shop_table td.product-name a {
    font-weight: 700;
}

.shop_table td.product-name ul,
.shop_table td.product-name ol {
    padding: 0;
}

.shop_table td.product-price,
td.product-quantity,
td.product-subtotal {
    padding-right: .75rem;
}

.shop_table input.input-text {
    border: 1px solid rgba(190, 190, 190, .5);
}

.shop_table .input-text.qty {
    width: 40px;
}

.shop_table td.product-remove {
    text-align: center;
}

.shop_table td.actions {
    padding-top: 12px;
    text-align: right;
    border-top: 2px solid #ece6d8;
}

.shop_table td.actions a,
.shop_table td.actions button {
    margin-top: 4px;
    margin-bottom: 4px;
}

.shop_table .coupon {
    margin-bottom: 1rem;
}

.shop_table #coupon_code {
    height: 2.5rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.cart-collaterals h2 {
    padding-bottom: 2rem;
    border-bottom: 2px solid #ece6d8;
}

.cart-collaterals .wc-proceed-to-checkout {
    margin-top: 1rem;
    padding-top: 1rem;
    text-align: right;
    border-top: 2px solid #ece6d8;
}

.checkout-button {
    text-transform: uppercase;
    padding-bottom: .275rem !important;
    line-height: 1.6 !important;
}

a.checkout-button.button {
    padding-top: .64rem !important;
}

.cart-empty.woocommerce-info {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.return-to-shop {
    text-align: center;
}

@media (max-width: 767px) {
    .shop_table.cart .actions .button {
        width: 200px;
    }

    .shop_table td.product-name {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .shop_table th {
        white-space: nowrap;
    }

    .shop_table .input-text.qty {
        width: 60px;
    }

    .shop_table td.product-name {
        width: 70%;
    }
}

ul#shipping_method {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

ul#shipping_method li {
    display: flex;
    align-items: flex-start;
}

ul#shipping_method li input {
    margin: 1px 5px 0 0;
}

/*--------------------------------------------------------------
    === SEARCH RESULTS ===
 --------------------------------------------------------------*/
.search-results-wrapper {
    padding-top: 5rem;
}

.search-results-wrapper .post-item:not(:last-child) {
    margin-bottom: 3rem;
}

.search-results-wrapper .post-item .summary-content {
    margin-bottom: 1rem;
}

.search-results-wrapper .post-navigation {
    margin-top: 3rem;
    margin-bottom: 2rem;
}


/*--------------------------------------------------------------
    === PARTNERS ===
 --------------------------------------------------------------*/
.page-template-page-partners .gutenberg_wrapper {
    text-align: center;
}

.page-template-page-partners .gutenberg_wrapper .is-layout-flex.wp-container-5.wp-block-columns {
    justify-content: center;
}

.page-template-page-partners .gutenberg_wrapper .is-layout-flow.wp-block-column {
    flex-basis: auto;
    flex-grow: inherit;
}

#parnters-boxes > hr {
    display: none;
}

#parnters-boxes .shell .pagination-counter {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: right;
}

#parnters-boxes .shell .parnters {
    display: flex;
    flex-wrap: wrap;
}

#parnters-boxes .shell .parnters .single-partner {
    flex: 0 0 100%;
    text-align: center;
}

#parnters-boxes .shell .parnters .single-partner a {
    display: block;
}

#parnters-boxes .shell .parnters .single-partner a[href*="www"],
#parnters-boxes .shell .parnters .single-partner a[href*="http"],
#parnters-boxes .shell .parnters .single-partner a[href*="mailto"] {
    font-size: .9rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

#parnters-boxes .shell .parnters .single-partner h3 {
    margin-bottom: 1rem;
    min-height: 3.6rem;
}

#parnters-boxes .shell .parnters .single-partner article {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 4px solid #ece6d8;
}

#parnters-boxes .shell .parnters .single-partner figure.tabs5 img {
    width: 200px !important;
    max-width: 180px;
    height: 80px !important;
    object-position: center;
    object-fit: contain;
}

@media (min-width: 768px) {
    #parnters-boxes .shell .parnters .single-partner {
        flex: 0 0 50%;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #parnters-boxes .shell .parnters .single-partner figure.tabs5 img {
        width: 100% !important;
    }
}

@media (min-width: 993px) {
    #parnters-boxes .shell .parnters .single-partner {
        flex: 0 0 33.33%;
    }
}

@media (min-width: 1200px) {
    #parnters-boxes .shell .parnters .single-partner {
        flex: 0 0 25%;
    }
}

#parnters-boxes .post-navigation {
    margin-top: 2rem;
}


/*--------------------------------------------------------------
=== FLIP BOX ===
--------------------------------------------------------------*/
.flip-wrapper .exad-flip-box-back-content,
.flip-wrapper .exad-flip-box-front-content {
    height: 100%;
}

@media (max-width: 767px) {
    .flip-wrapper .elementor-widget-exad-flipbox {
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

.flip-wrapper h2:before {
    width: 10px !important;
    height: 22px !important;
}

.fw-with-icon_small .exad-flip-box-front-image img,
.fw-with-icon_small .exad-flip-box-back-image img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
}

.fw-with-icon_h150 .exad-flip-box-front-image,
.fw-with-icon_h150 .exad-flip-box-back-image {
    width: 100% !important;
    height: 150px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fw-with-icon_h150 .exad-flip-box-front-image img,
.fw-with-icon_h150 .exad-flip-box-back-image img {
    width: auto !important;
    height: auto !important;
}


/*--------------------------------------------------------------
    === HOMEPAGE ===
 --------------------------------------------------------------*/
/* PROMO lines */
body.home {
    /*overflow-x: hidden;*/
}

.home-promoblock-wrapper,
.promoblock-img-col div {
    margin: 0 !important;
}

.home-promoblock-wrapper {
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.home-promoblock .home-promoblock-wrapper {
    position: relative !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center;
}

@media (min-width: 1600px) {
    .home-promoblock .home-promoblock-wrapper {
        max-width: 1500px !important;
    }
}

.home-promoblock {
    position: relative;
    margin-bottom: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    align-items: unset !important;
    overflow: hidden;
    gap: 1rem !important;
}

.home-promoblock,
.home-promoblock .home-promoblock-wrapper {
    min-height: 380px;
}

.home-promoblock ~ .home-promoblock {
    margin-top: 0 !important;
}

.home-promoblock h3 {
    margin-bottom: 1.1rem;
}

.home-promoblock .wp-block-buttons {
    margin-top: 1.1rem;
}

.home-promoblock .home-promoblock-img figure,
.home-promoblock figure.home-promoblock-mask,
.home-promoblock figure.home-promoblock-mask > div {
    position: static !important;
    margin: 0 !important;
}


.home-promoblock > div > div,
.home-promoblock figure {
    margin-bottom: 0 !important;
}

.home-promoblock .home-promoblock-img,
.home-promoblock .home-promoblock-img img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
}

.home-promoblock .home-promoblock-img img {
    object-fit: cover;
    object-position: center;
}

.home-promoblock-mask {
    z-index: 1;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.home-promoblock-mask img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
    object-position: right center;
}

/*  home-promoblock-odd */
.home-promoblock-odd.home-promoblock .home-promoblock-wrapper .promoblock-img-col {
    position: absolute !important;
    left: 0;
    width: calc(170px + 17.5%) !important;
    opacity: .35;
}

.home-promoblock-odd.home-promoblock .wp-block-cover {
    min-height: 380px;
}

.home-promoblock-odd.home-promoblock .promoblock-img .wp-block-cover__inner-container.block-editor-block-list__layout {
    display: none !important;
}

.home-promoblock-odd.home-promoblock .home-promoblock-wrapper .promoblock-content-col {
    z-index: 1;
    position: relative !important;
}

/*  home-promoblock-even */
.home-promoblock-even.home-promoblock {
    justify-content: flex-end;
}

.home-promoblock-even.home-promoblock .promoblock-content-col {
    z-index: 3;
    position: relative;
    flex-grow: 0;
    flex-basis: 500px !important;
    width: 500px;
}

.home-promoblock-even.home-promoblock .promoblock-content-col > * {
    max-width: 500px;
}

.home-promoblock-even.home-promoblock .promoblock-img-col {
    z-index: 0;
    position: absolute !important;
    right: -10%;
    top: 0;
    bottom: 0;
    width: calc(230px + 21%) !important;
    min-width: 250px;
    opacity: .35;
}

body.wp-admin .home-promoblock-even.home-promoblock .promoblock-img-col {
    /*flex-basis: calc(230px + 33%)!important;*/
}

.home-promoblock-even.home-promoblock .promoblock-img-col {}

.home-promoblock-even.home-promoblock .promoblock-img-col > .wp-block {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
}

.home-promoblock-even.home-promoblock .promoblock-img-col > .wp-block figure,
.home-promoblock-even.home-promoblock .promoblock-img-col > .wp-block figure .components-resizable-box__container {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
}

.home-promoblock .promoblock-content-col .block-editor-block-list__block[data-type="core/spacer"] {
    margin: 0 !important;
}

.home-promoblock .promoblock-content-col .block-editor-block-list__block[data-type="core/spacer"]::before {
    display: none;
}

hr.home-promoblock-L1,
hr.home-promoblock-L2 {
    /*z-index: 2;*/
    position: absolute !important;
}

hr.home-promoblock-L1 {
    left: -50%;
    right: 0;
    margin: 0 !important;
    height: 100% !important;
    transform: skewX(-28deg);
    transform-origin: 0;
    width: 71% !important;
}

body.wp-admin hr.home-promoblock-L1 {
    left: -47%;
}

hr.home-promoblock-L2 {
    top: 0;
    bottom: 0;
    right: -50.5%;
    margin: 0 !important;
    width: 70% !important;
    height: 100% !important;
    transform: skewX(-28deg);
    transform-origin: 0;
}

@media (max-width: 767px) {
    .home-promoblock .home-promoblock-wrapper .promoblock-content-col {
        padding: 0 20px;
    }
}

@media (min-width: 782px) {
    .home-promoblock-odd.home-promoblock .promoblock-content-col {
        padding-left: 1rem;
    }
}

@media (min-width: 782px) and (max-width: 1145px) {


    .home-promoblock-even.home-promoblock .promoblock-content-col {
        padding-left: 3rem;
    }

    .home-promoblock-even.home-promoblock .promoblock-img-col {
        flex-basis: calc(230px + 25%) !important;
    }

    hr.home-promoblock-L1 {
        transform: skewX(-20deg);
    }
}


/* TILES */
.tile.has-link {
    position: relative;
}

.tile {
    padding: 0 1rem;
    min-width: 228px;
    max-width: 265px;
    border: 2px solid #FF930D;
    background: #fff;
}

.tile.tile-empty {
    border-color: transparent;
}

.tile .wp-block-image {
    padding: 1rem;
    background: #FF930D;
}

.tile.selected {
    background: #E9E4D8;
}

.tiles-wrapper {
    max-width: none !important;
    margin: 0 !important;
}

.tiles-wrapper .tiles-wrapper-bg:before {
    display: none;
}

.tiles-wrapper-bg {
    position: relative;
    margin: 0 auto !important;
    padding: 5rem 0;
    justify-content: center;
    max-width: 1320px !important;
}

.tiles-wrapper-bg .owl-stage-outer {
    padding-left: 38px;
}

.tiles-wrapper-bg + .tiles-wrapper-bg {
    margin-top: -3rem !important;
    padding-top: 0;
}

.job-location-tiles .wp-block-cover {
    align-items: flex-start;
    padding-top: 4rem;
}

.tiles-wrapper .affiliations.owl-carousel .owl-stage-outer {
    padding: 1.5rem 0;
}

@media (max-width: 767px) {
    .tiles-wrapper .wp-block-cover {
        padding: 0;
    }

    .tiles-wrapper-bg {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .tiles-wrapper .affiliations.owl-carousel .owl-stage-outer {
        padding-left: 38px;
    }
}

/* on the page - body.page */
body.page .tile {
    padding-bottom: 1.5rem;
    transition: .25s ease-in-out;
}

body.page .tile .wp-block-image {
    margin: 0 -1.1rem 2rem;
}

body.page .tile .wp-block-image figure {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.page .tile .wp-block-image img {
    height: 100%;
    object-fit: contain;
}

body.page .tile .cover-link a {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 0;
}

body.page .tile.has-link:hover {
    z-index: 44;
    transform: scale(1.1);
}

body.page .tile.selected.has-link:hover {
    transform: none !important;
}

body.page .tile.selected .cover-link a {
    cursor: default;
}

@media (max-width: 781px) {
    .tile {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* on the admin panel - .wp-admin */
.wp-admin .tile.has-link {
    padding-bottom: 2rem;
}

.wp-admin .tile .cover-link {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    background: #FF930D;
}

.wp-admin .tile .cover-link a {
    display: inline-block;
    width: 100%;
    color: #fff;
    font-weight: 700;
}

.wp-admin .tile .wp-block-image {
    margin: -2rem -1.1rem 2rem !important;
    width: calc(100% + 2px);
}

/* TILES on elementor */
.tile-elementor {
    padding: 6px;
    min-width: 200px;
    max-width: 220px;
    min-height: 360px !important;
    background: #fff;
}


/* APG BY NUMBERS */
.apg-by-numbers {
    margin-top: 0 !important;
    max-width: none !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-weight: 400;
}

.apg-by-numbers > div {}

.apg-by-numbers > div,
html .apg-by-numbers:where(.wp-block) > div.wp-block:not(.container) {
    max-width: 800px !important;
    margin-left: auto;
    margin-right: auto;
}

.apg-by-numbers > .wp-block-column > .wp-block-columns {
    gap: 0;
}

.apg-by-numbers-col1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8.5rem calc(10px + 5%) 0 18px;
    /*background: url(/wp-content/themes/apg/front/img/globe.png) no-repeat center top/650px auto;*/
}

.apg-by-numbers-bg {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.apg-by-numbers-bg img {
    object-fit: contain !important;
}

.apg-by-numbers-bg .wp-block-cover__inner-container.block-editor-block-list__layout {
    display: none !important;
}

.h-apg-by-the-numbers,
.apg-by-numbers-col1 p {
    position: relative;
    z-index: 1;
}

.h-apg-by-the-numbers {
    margin-left: -18px !important;
    margin-right: 0 !important;
}

.apg-by-numbers-col1 p {
    font-size: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.apg-by-numbers .number-highlighted mark {
    padding: 0;
    font-size: 2.125rem;
    font-weight: 300;
}

.apg-by-numbers .number-col {
    margin: 0 !important;
    padding: .625rem 1.25rem;
    border-left: 3px solid #00557a;
}

.apg-by-numbers .number-col:not(:last-child) {
    border-bottom: 3px solid #00557a;
}

.apg-by-numbers .number {
    margin: 0 !important;
    font-size: 4.6875rem;
    font-weight: 300;
    line-height: 1;
}

.apg-by-numbers .number-desc {
    margin: 0 !important;
    font-size: 1rem;
    line-height: 1.2;
}


/* RESOURCES */
.resources-section {
    max-width: 1320px;
}

.resource-item {
    margin: 0 auto;
    padding: 2.4rem 1.25rem 1.25rem;
    width: 240px;
    max-width: 265px;
    min-width: 240px;
}

.resource-item.has-white-color.has-text-color a {
    color: #fff;
    text-decoration: underline;
}

.resource-item p {
    font-size: 1rem;
    font-weight: 400;
}

@media (max-width: 767px) {
    .resources-section.owl-carousel .owl-nav button.owl-prev {
        left: 10px;
    }

    .resources-section.owl-carousel .owl-nav button.owl-next {
        right: 10px;
    }

    .affiliations-home .owl-carousel .owl-nav button.owl-prev {
        left: -14px;
    }

    .affiliations-home .owl-carousel .owl-nav button.owl-next {
        right: -14px;
    }
}


/* TESTIMONIALS home */
.testimonials-home {
    position: relative;
    max-width: none !important;
    margin-bottom: 0 !important;
    padding: 6rem 0 5.5rem !important;
    overflow: hidden;
}

.testimonials-home-left,
.testimonials-home-right {
    position: absolute;
    top: -3%;
    bottom: -3%;
    opacity: .35;
    width: 22%;
}

.testimonials-home-left,
.testimonials-home-right {
    margin: 0 !important;
}

.testimonials-home-left img,
.testimonials-home-right img {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100% !important;
    max-width: none;
    width: auto !important;
}

.testimonials-home-left {
    left: 0;
}

.testimonials-home-right {
    right: 0;
}

.testimonials-home-left img {
    right: 0;
}

.testimonials-home-right img {
    left: 0;
}

.testimonials-home-content {
    z-index: 1;
    position: relative;
}

.testimonials-home blockquote {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-home blockquote > p {
    position: relative;
    margin-bottom: .5rem;
    padding: 8px 0 .6rem 30px;
    font-family: 'CreatoDisplay', sans-serif;
    border-bottom: 3px solid #001740;
}

.testimonials-home blockquote > p:first-child:before {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: url(/wp-content/themes/apg/front/img/quotes.svg) center/contain no-repeat;
}

.testimonials-home blockquote cite {
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
}

@media (max-width: 767px) {

    .testimonials-home-left,
    .testimonials-home-right {
        width: 32%;
        opacity: .15;
    }
}

html body.wp-admin .testimonials-home {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

html body.wp-admin .testimonials-home-left,
html body.wp-admin .testimonials-home-right {
    position: absolute !important;
    top: calc(-3rem - 3%) !important;
    bottom: calc(-3rem - 3%) !important;
    display: block !important;
    width: 100% !important;
}

html body.wp-admin .testimonials-home-left > div,
html body.wp-admin .testimonials-home-right > div {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block !important;
    width: 100%;
    height: 100%;
}

html body.wp-admin .testimonials-home-left .components-resizable-box__container,
html body.wp-admin .testimonials-home-right .components-resizable-box__container {
    height: 100% !important;
}

html body.wp-admin .testimonials-home-left figcaption,
html body.wp-admin .testimonials-home-right figcaption {
    display: none !important;
}


/* ELEMENTOR TESTIMONIALS - Reliable Opinions  */
.testimonials-wrapper h2.testimonial-author {
    margin-top: .2rem !important;
}

.testimonials-wrapper h2.testimonial-author:before {
    display: none !important;
}

@media (max-width: 768px) {
    .testimonials-wrapper .post-wrapper {
        padding-bottom: 2rem;
    }
}

/* AFFILIATIONS */
.affiliations-home {
    margin: 0 0 -.1rem !important;
    padding: 3rem 0 0;
    max-width: none !important;
}

.affiliation-front,
.affiliation-back {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*padding: 3.75rem 1rem 40.175%;/*/
    /*max-width: 240px;*/
    padding: 20px 20px 80px 20px;
    max-width: 265px;
    height: 340px;
}

.affiliation-front .bottom-arr,
.affiliation-back .bottom-arr {
    margin: 0 !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
}

.affiliation-back p {
    font-size: 1rem;
    line-height: 1.4;
}

.affiliation-wrapper {
    perspective: 1000px;
    width: 240px;
    max-width: 265px;
    height: 340px;
    position: relative;
}

@media (max-width: 767px) {
    .affiliations-home {
        padding: 0;
    }

    .affiliations {
        justify-content: center;
    }

    .affiliation-wrapper {
        margin: 0 auto;
    }
}

/* on the page */
body.page .affiliation-front-wrapper,
body.page .affiliation-back-wrapper {
    transition: all .5s;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body.page .affiliation-front-wrapper {
    z-index: 2;
}

body.page .affiliation-back-wrapper {
    z-index: 1;
    transform: rotateY(-180deg);
}

body.page .affiliation-wrapper:hover .affiliation-front-wrapper {
    z-index: 1;
    transform: rotateY(180deg);
}

body.page .affiliation-wrapper:hover .affiliation-back-wrapper {
    z-index: 2;
    transform: rotateY(0deg);
}

/* on the admin panel */
html body.wp-admin .wp-block-post-content > * {
    max-width: 1320px !important;
    margin-left: auto;
    margin-right: auto;
}

html body.wp-admin .wp-block-post-content > div[data-type="acf/page-header"],
html body.wp-admin .wp-block-post-content > div.home-promoblock,
html body.wp-admin .wp-block-post-content > div.tiles-wrapper,
html body.wp-admin .wp-block-post-content > div.apg-by-numbers,
html body.wp-admin .wp-block-post-content > div.testimonials-home,
html body.wp-admin .wp-block-post-content > div.affiliations-home {
    max-width: none !important;
}

html body.wp-admin .affiliations {
    max-width: 1320px !important;
    overflow: auto;
    justify-content: flex-start;
}

.wp-admin .affiliation-wrapper {
    height: auto;
    flex: 0 0 240px !important;
    max-width: 240px;
    min-width: 240px;
}

/* affiliations-elementor */
.affiliations-elementor .affiliations-item {
    min-width: 250px;
}


/*--------------------------------------------------------------
    === CONTACT US ===
 --------------------------------------------------------------*/
.btn-contact {
    min-height: 300px !important;
}

body:not(.elementor-editor-active) .contact-hidden {
    overflow: hidden;
    max-height: 0;
    transition: .5s ease-in-out;
    opacity: 0;
}

.content-contact.selected {
    max-height: 1000em !important;
    opacity: 1 !important;
}

.btn-contact .elementor-heading-title {
    min-height: 2.5em;
}

.content-contact h2 img {
    margin-top: -.3rem;
}


/*--------------------------------------------------------------
    === POPUP ===
 --------------------------------------------------------------*/
.modal.fade.in {
    min-height: 100%;
}

.modal.show {
    display: flex !important;
    justify-content: center;
}

.modal button.close,
.modal button.btn-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 2.5rem;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    color: #dd821e;
    border: 0;
    background: none;
}

.modal button.close:hover {
    color: #E17F00;
}

.modal button.close .glyphicon.glyphicon-remove:before,
.modal button.btn-close:before {
    content: "×";
}

.modal .modal-title {
    margin-top: 2px;
    font-size: 1.4rem;
}

.modal .form-group {
    margin-bottom: 1.1rem;
}

.modal .row:last-child .form-group:last-child {
    margin-bottom: 0;
}

.modal .modal-content > h4 {
    padding: 1rem 1rem 0;
    font-size: 1.5rem;
    text-align: center;
}

.modal #message {
    width: 100%;
    height: 7rem;
}

#contactAuthor .modal-body {
    padding-bottom: 0;
}

#contactAuthor .modal-footer {
    justify-content: center;
    border: 0;
    padding-top: 0;
}

#contactAuthor .modal-footer button {
    min-width: 9rem;
}

.modal .hbspt-form {
    padding: 1.5rem;
}

@media (max-width:768px) {
    .modal button.close {
        right: 0;
        top: 0;
    }
}

@media (min-width:769px) {
    .modal button.close {
        right: .5rem;
        top: .5rem;
    }
}

/*--------------------------------------------------------------
    === MY ACCOUNT ===
 --------------------------------------------------------------*/
/* Register hide default */
.create-account-node {
    display: none;
}

form.woocommerce-ResetPassword.lost_reset_password {
    max-width: 735px;
    margin: 0 auto;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-top: 3rem;
}

form.woocommerce-ResetPassword.lost_reset_password > .clear {
    display: none;
}

form.woocommerce-ResetPassword.lost_reset_password button[value="Reset password"] {
    margin-top: 1.8rem;
}

form.woocommerce-ResetPassword.lost_reset_password .woocommerce-LostPassword.lost_password {
    clear: both;
    margin-top: 3rem;
}

@media (min-width: 1200px) {

    .my-account .woocommerce form .form-row,
    .woocommerce form .form-row.form-row-first,
    .woocommerce form .form-row.form-row-last,
    .woocommerce-MyAccount-content .editAddr .form-row-wide,
    #customer_login .woocommerce-form-login .woocommerce-SubmitRow,
    #customer_login .woocommerce-form-login .woocommerce-LostPassword,
    .woocommerce .register .form-row {
        position: relative;
        float: left;
        margin: 0 70px 0 0;
        width: 50%;
        max-width: 455px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {

    .my-account .woocommerce form .form-row,
    .woocommerce form .form-row.form-row-first,
    .woocommerce form .form-row.form-row-last,
    .woocommerce-MyAccount-content .editAddr .form-row-wide,
    #customer_login .woocommerce-form-login .woocommerce-SubmitRow,
    #customer_login .woocommerce-form-login .woocommerce-LostPassword,
    .woocommerce .register .form-row {
        position: relative;
        float: left;
        padding: 0 70px 0 0;
        width: 50%;
    }
}

@media (max-width: 767px) {

    .my-account .woocommerce form .form-row,
    .woocommerce form .form-row.form-row-first,
    .woocommerce form .form-row.form-row-last,
    .woocommerce-MyAccount-content .editAddr .form-row-wide,
    #customer_login .woocommerce-form-login .woocommerce-SubmitRow,
    #customer_login .woocommerce-form-login .woocommerce-LostPassword,
    .woocommerce .register .form-row {
        position: relative;
        width: 100%;
    }

    .form-row.woocommerce-SubmitRow {
        margin-top: 2rem;
    }
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
}

.woocommerce form .form-row input.input-text.wc-credit-card-form-card-number {
    width: 273px;
}

.woocomerce-FormRow.form-row {
    clear: both;
}

.single-country #checkout-biling #billing_state_field,
.single-country #checkout-biling #shipping_state_field,
.single-country #checkout-shipping-info #billing_state_field,
.single-country #checkout-shipping-info #shipping_state_field,
.woocommerce-MyAccount-content #billing_city_field,
.woocommerce-MyAccount-content #billing_email_field,
.woocommerce-MyAccount-content #shipping_address_1_field {
    clear: left;
}

.woocommerce-input-wrapper,
.woocommerce-input-wrapper .css3-metro-dropdown {
    display: block;
    width: 100% !important;
}

.woocommerce-address-fields__field-wrapper + .woocomerce-FormRow.form-row {
    padding-top: 3rem;
    text-align: center;
}

.woocommerce-EditAccountForm.edit-account .woocommerce-Button {
    margin-top: 2rem;
}

.woocommerce-EditAccountForm.edit-account fieldset {
    margin-top: 4rem;
}

@media (min-width: 1200px) {

    .woocommerce-MyAccount-content #billing_address_2,
    .woocommerce-MyAccount-content #shipping_address_2 {
        margin-top: 3.85rem;
    }
}

.woocommerce-MyAccount-content label:not(.error) {
    margin-top: 2rem;
}

.woocommerce-address-fields button {
    margin: 0 auto;
    display: block;
}

#customer_login .u-column1 {
    width: 100% !important;
}


@media (max-width: 767px) {
    .woocommerce-form-login .form-row label {
        margin: 1rem 0 .4rem;
    }
}

@media (min-width: 768px) {
    .woocommerce-form-login .form-row label {
        margin: 2rem 0 1rem;
    }
}

.woocommerce-form-login .form-row input.input-text,
.woocommerce .register .form-row input.input-text {
    width: 100%;
}

#customer_login .woocommerce-form-login .woocommerce-LostPassword {
    margin-top: 6px;
}

#customer_login .reg-control {
    margin-top: 3rem;
    width: 100% !important;
}

#customer_login .reg-controlled {
    margin-top: 3rem;
    width: 100% !important;
}

#customer_login .reg-controlled .register {}

.woocommerce .register .form-row label {
    margin: 15px 0;
}

.woocommerce-privacy-policy-text {
    clear: both;
    margin: 0 auto;
    padding-top: 1rem;
    max-width: 900px;
}

#customer_login .woocomerce-FormRow {
    margin-top: 2rem;
    width: 100%;
    max-width: none;
    text-align: center;
}

.u-columns.col2-set.nowrap {
    display: flex;
    flex-wrap: nowrap !important;
}

#customer_login.u-columns.col2-set,
form.editAddr,
form.edit-account {
    margin-top: 4rem;
}

#customer_login.u-columns.col2-set {
    margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-notices-wrapper {
    margin-top: 1rem;
}

.woocommerce-message .woocommerce-Button + * {
    margin-top: 1rem;
}

#customer_login.u-columns.col2-set,
.woocommerce-Addresses.u-columns.col2-set {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-Addresses.u-columns.col2-set {
    margin-top: 2rem;
}

#customer_login.u-columns.col2-set .reg-control {
    width: auto;
}

#customer_login.u-columns.col2-set h2 {
    margin-bottom: 2rem;
}

input.rememberme {
    margin-left: 1rem;
}

form.editAddr .css3-metro-dropdown {
    display: inline-block;
    width: 245px;
}

#checkout-biling,
#checkout-shipping-info,
#checkout-shipping-method,
#checkout-payment-info {
    padding-top: 2rem;
}

#authnet-card-expiry {
    width: 100px;
}

#store_subscribe {
    margin-right: 4px;
}

form.editAddr label,
#customer_login.u-columns.col2-set .u-column1 .form-row > label,
#customer_login.u-columns.col2-set .u-column2 .form-row > label,
form.edit-account label,
#wc-authnet-cc-form label {
    width: 100%;
}


@media (max-width:767px) {

    #customer_login.u-columns.col2-set .u-column1,
    #customer_login.u-columns.col2-set .u-column2,
    .woocommerce-Addresses.u-columns.col2-set > * {
        width: 100%;
    }

    #customer_login.u-columns.col2-set .u-column1 {
        margin-bottom: 4rem;
    }
}

@media (min-width:768px) {

    #customer_login.u-columns.col2-set .u-column1,
    #customer_login.u-columns.col2-set .u-column2,
    .woocommerce-Addresses.u-columns.col2-set > * {
        width: 50%;
    }

    #customer_login.u-columns.col2-set .u-column1 .form-row > label.woocommerce-form__label-for-checkbox {
        width: auto !important;
    }

    .woocommerce-EditAccountForm.edit-account .u-columns.col2-set .u-column1.col-1 {
        width: 50%;
    }
}

/* REQUEST A QUOTE */
#quote-form textarea {
    width: 100%;
}

/* elem-TestimonialCarousel */
#elem-TestimonialCarousel .elementor-main-swiper.swiper-container {
    width: calc(100% - 60px) !important;
}

/* COMPARE */
.product-list div.product a.woocommerce-LoopProduct-link {
    margin-bottom: -4rem;
    padding-bottom: 4rem;
}

.br_compare_popup_block {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

div.br_new_compare_block .br_top_table .br_show_compare_dif {
    line-height: 1;
}

.br_compare_button {
    display: flex;
    float: left;
    width: calc(100% - 164px) !important;
    min-height: 3.5rem;
    font-size: 1rem;
    line-height: 1;
    text-align: left !important;
    background: none !important;
}

.br_compare_button:hover,
.br_compare_button:hover .fa-check-square-o {
    color: #d27802 !important;
}

.br_compare_button .fa {
    min-width: 1.2em;
    max-width: 1.2em;
}

.br_compare_button + a {
    float: right;
    clear: right;
    white-space: nowrap;
    margin-top: .4rem;
    padding: .3rem .3rem .4rem !important;
    height: auto;
    width: 161px;
}

.product-list .br_compare_button {
    margin-left: .5rem;
}

.product-list .br_compare_button + a {
    margin-right: .5rem;
    margin-top: -3.4rem;
}

.product-list .br_compare_button,
.product-list .br_compare_button + a {
    z-index: 2;
    position: relative;
}

#single-product .br_compare_button {
    width: 142px !important;
}

#single-product .br_compare_button + a {
    float: left;
}

body .br_new_compare_block table,
body .br_new_compare_block th,
body .br_new_compare_block td {
    border-color: #ece6d8 !important;
}

@media (max-width: 767px) {
    .br_compare_popup_block {
        max-width: 100%;
        overflow: auto;
    }

    body .br_new_compare_block a,
    body .br_new_compare .br_right_table th,
    body .br_new_compare .br_right_table td,
    body .br_new_compare .br_left_table th,
    body .br_new_compare .br_left_table td,
    body .br_top_table th,
    body .br_top_table td {
        font-size: 12px !important;
    }

    body .br_new_compare .br_right_table thead tr td a,
    body .br_new_compare .br_right_table thead tr th a {
        height: 60px !important;
    }

    body div.br_new_compare .br_right_table tr td,
    body div.br_new_compare .br_right_table tr th,
    body div.br_new_compare .br_left_table,
    body div.br_new_compare_block .br_top_table table th,
    body div.br_new_compare_block .br_top_table table td {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
    }

    body .br_new_compare .br_right_table thead tr td,
    body .br_new_compare .br_right_table thead tr th {
        height: 100px !important;
        block-size: 100px !important;
    }

    body .br_new_compare .br_right_table .br_description_row td div {
        height: 100px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* compare settings */
.woosc-settings input[type="checkbox"] {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.woosc-settings input:checked[type="checkbox"] {
    background-color: #E17F00;
    border-color: #E17F00;
}

.woosc-settings input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

/* --> it has been moved to the global.css */
#account_password_field,
#checkout-biling .create-account,
.create-account-node,
.faqs_search_element.hidden {
    display: none;
}

.getdistributorsbycontry,
.filter-sending .filters-body,
.dl-pdf-createPDF {
    position: relative;
}

.getdistributorsbycontry::before,
.filter-sending .filters-body::before,
.dl-pdf-createPDF::before {
    content: '';
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -10px;
    border-radius: 5px;
    position: absolute;
    background-color: rgba(0, 0, 0, .2);
    z-index: 1;
}

.getdistributorsbycontry .spinner,
.filter-sending .filters-body .spinner,
.dl-pdf-createPDF .spinner {
    visibility: visible;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0 0 -12px -12px;
    z-index: 2;
}

.getdistributorsbycontry .spinner::before,
.filter-sending .filters-body .spinner::before,
.dl-pdf-createPDF .spinner::before {
    content: '';
    position: absolute;
    background-color: #fbfbfc;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.filter-item:not(.disabled) {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {

    .getdistributorsbycontry .spinner::before,
    .filter-sending .filters-body .spinner::before,
    .dl-pdf-createPDF .spinner::before {
        animation-name: blink;
        animation-duration: 2000ms;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    from {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


.single-product:hover .woosc-btn {
    display: block;
}

.single-product {
    position: relative;
}

.single-product .woosc-btn {
    position: absolute;

    top: 50%;
    margin-top: 5px;
    left: 50%;
    margin-left: -73px;
    display: none;


}

.woosc-btn {
    width: 146px;
    cursor: pointer;
    padding: 0 0 3px;
    color: #fff;
    background-color: #dd821e;
    height: 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100px;
    border: 0;
    line-height: 36px
}


.woosc-area.woosc-bar-left .woosc-inner .woosc-bar .woosc-bar-btn {
    display: none
}

.woosc-table-inner .ps-theme-wpc > .ps-scrollbar-x-rail > .ps-scrollbar-x {
    height: 10px !important;
}

.woosc-table-inner .ps-theme-wpc > .ps-scrollbar-y-rail > .ps-scrollbar-y {
    width: 10px !important;
}

@media (max-width:768px) {
    .single-product .woosc-btn {

        display: block;


    }
}

/* HubSpot Form */
.hs-form {
    margin-top: 2.5rem;
}

.hs-form fieldset {
    margin-bottom: .75rem !important;
}

.hs-form .hs-error-msgs {
    font-size: 1.2rem;
    line-height: 1.2;
    color: red;
}

.hs-form .input select {
    border-radius: 0;
    border: 1px solid rgba(190, 190, 190, .5);
    background-color: #fff;
}

.hs_recaptcha,
.hs_submit {
    margin-top: 2rem;
}

.hs-form fieldset.form-columns-1 .hs-input {
    width: 100% !important;
}

.hs-center form > *,
.hs-center .grecaptcha-badge {
    margin-left: auto !important;
    margin-right: auto !important;
}

.hs-center .hs_submit {
    text-align: center;
}

/*CUSTOM BANNER*/
.page-id-86417 .header-content,
.page-id-86817 .header-content,
.page-id-83410 .header-content,
.page-id-86965 .header-content,
.page-id-87026 .header-content,
.page-id-86999 .header-content,
.page-id-87634 .header-content,
.page-id-1326 .header-content,
.page-id-89385 .header-content,
.page-id-89706 .header-content,
.page-id-89788 .header-content,
.page-id-346 .header-content,
.page-id-89584 .header-content,
.page-id-90307 .header-content,
.page-id-90437 .header-content,
.page-id-67281 .header-content,
.page-id-91291 .header-content,
.page-id-519 .header-content {
    display: none !important;
}

.page-id-519 .section_page-header img {
    height: 800px;
}

.no-chevron:before {
    display: none !important;
}

.learnmore-smarttill {
    background-color: #001740;
    padding: 25px;
    border-radius: 25px;
}

.more-casestudies {
    background-color: #fcfaf7;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0px 10px 10px #bdbdbd;
    border: 1px solid #ece6d8;
}

.pad-0 {
    padding: 0px;
}

.pad-t0 {
    padding-top: 0px;
}

.pad-25 {
    padding: 25px;
}

.pad-50 {
    padding: 50px;
}

.txt-white {
    color: #ffffff;
}

.new-heading {
    font-size: 40px;
    text-transform: uppercase;
}

.graybox {
    background-color: #e7eaf3;
    padding: 5% !important;
    border-radius: 25px;
    box-shadow: 0 25px 25px #b3b6bf;
}

.box-image{
    background-image: url(https://apgsolutions.com/wp-content/uploads/2025/08/InterestedIn-BecomingAPartner.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
/*SMARTTILL CALCULATOR*/
.calculoid-background {
    background-color: #e7eaf3 !important;
    max-width: 1280px !important;
}

.ng-scope.gridster {
    height: 900px !important;
}

#calculoid-field-914362 {
    background-color: transparent !important;
}

.ng-scope ul li {
    background-color: #021d49 !important;
    border-radius: 25px !important;
    padding: 25px !important;
}

.calculoid-box h2 {
    color: #ffffff !important;
}

.ng-scope ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}

#calculoid-field-914360,
#calculoid-field-914359 {
    width: 95% !important;
    position: static;
    margin: 20px 20px 0 20px !important;
}

#calculoid-field-914363,
#calculoid-field-914364,
#calculoid-field-914365,
#calculoid-field-914366,
#calculoid-field-914367,
#calculoid-field-914368 {
    width: 95% !important;
    height: auto !important;
    position: relative;
}

#calculoid-field-914363,
#calculoid-field-914364 {
    top: 120px !important;
}

#calculoid-field-914365,
#calculoid-field-914366 {
    top: 150px !important;
}

#calculoid-field-914367,
#calculoid-field-914368 {
    top: 180px !important;
    background-color: #ff930d !important;
}

#calculoid-field-914360,
#calculoid-field-914359 {
    background-color: #ffffff !important;
    height: 170px !important;
}

#calculoid-field-914360 h2,
#calculoid-field-914359 h2,
#calculoid-field-914360 p,
#calculoid-field-914359 p {
    color: #000000 !important;
}

#calculoid-field-914360 h2,
#calculoid-field-914359 h2 {
    margin-bottom: 0 !important;
}

#calculoid-field-914362 {
    top: 210px !important;
}

#calculoid-field-914362 h2 span {
    text-transform: capitalize;
    color: #000000 !important;
}

.calculoid-formula-field,
.calculoid-form-control {
    border: none !important;
    background-color: #e7eaf3 !important;
    border-radius: 25px !important;
}

.calculoid-info {
    display: none;
}

/*SMARTTILL CALCULATOR*/


/*PRODUCT PAGE HEADER
.page-id-87634 .section_page-header .header-image{
    height: auto;
}
.page-id-87634 .search-bar{
    display: none;
}*/
/*PRODUCT PAGE HEADER*/

/*CUSTOM MARGIN PADDING*/
.apg-blue-background {
    background-color: #001740;
}

.apg-allpad {
    padding: 50px;
}

.apg-rows {
    padding: 0 75px 75px !important;
}

.apg-margin-5 {
    margin: 100px !important;
}

.apg-rows-nomarg {
    margin: 0 !important;
}

.apg-rows-nomargtop {
    margin-top: 0 !important;
}

.apg-rows-nomargbottom {
    margin-bottom: 0 !important;
}

.gutenberg_wrapper .vasario-arlo-details-column > .arlo-vasario-title,
.gutenberg_wrapper .vasario-arlo-details-column > .arlo-vasario-part-number {
    margin-bottom: 0 !important;
}

.gutenberg_wrapper .vasario-arlo-details-column {
    margin-left: -50px !important;
}

/* BUTTONs */
.wp-block-buttons .wp-block-button.animated_apg_button a.wp-block-button__link.wp-element-button {
    width: 300px;
    height: 80px;
    color: #ffffff;
    background-color: #0a173e !important;
    box-shadow: inset 0 0 0 0 #f7921d;
    transition: ease-out 0.3s;
    font-size: 1.2rem;
    border: 2px solid #0a173e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
}

.wp-block-buttons .wp-block-button.animated_apg_button a.wp-block-button__link.wp-element-button:hover {
    box-shadow: inset 300px 0 0 0 #f7921d;
    border: 2px solid #f7921d;
    color: #0a173e;
    margin-left: 20px;
}

/* BACKGROUNDs */
.bg-darkBlue {
    z-index: 1;
    position: relative;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    color: #fff;
}

.bg-darkBlue > * {
    z-index: 1;
    position: relative;
}

.bg-darkBlue:before {
    z-index: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #0A173E;
    content: "";
}

@media (max-width:1320px) {}

@media (min-width:1321px) {
    .bg-darkBlue:before {
        left: calc(-50vw + 508px);
        right: calc(-50vw + 668px);
    }
}

.bg-Orange {
    z-index: 1;
    position: relative;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    color: #fff;
}

.bg-Orange > * {
    z-index: 1;
    position: relative;
}

.bg-Orange:before {
    z-index: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #f7921d;
    content: "";
}

@media (max-width:1320px) {}

@media (min-width:1321px) {
    .bg-Orange:before {
        left: calc(-50vw + 508px);
        right: calc(-50vw + 668px);
    }
}

/* LISTs */
ul.list-w-check {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

ul.list-w-check li {
    padding: 0 0 20px 30px;
    background: url('/wp-content/themes/apg/front/img/check-1.png') no-repeat left top;
}



/* --- SMARTTILL SOLUTION page */
/*.smarttill-sn { max-width: 1000px!important; margin-left: auto!important; margin-right: auto!important;}*/
.gutenberg_wrapper > div:not(.section_page-header) h1:before,
.gutenberg_wrapper > div:not(.section_page-header) h2:before {
    display: none !important;
}

.smarttill-sn p,
.smarttill-sn ul,
.smarttill-sn ol {
    font-family: arial;
}

.smarttill-sn .mb-0 {
    margin-bottom: 0 !important;
}

.smarttill-sn .gap-0 {
    gap: 0 !important;
}

.smarttill-sn .list-ico {
    margin-top: -1rem !important;
}

/* @media (min-width:768px) {
    .smarttill-sn h1 { font-size: 70px!important;}
    .smarttill-sn h2 { font-size: 40px!important;}
} */

.smarttill-head {
    z-index: 2;
    position: relative;
}


.smarttill-sn-1 {
    margin-top: -80px !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
}

.smarttill-sn-1 h1 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.smarttill-sn-2 {
    margin-top: 0 !important;
}

.smarttill-sn-2 > p {
    width: 100%;
}

.smarttill-sn-2 .smarttill-hexagon-flip {
    margin-top: -100px !important;
}

.smarttill-sn-3 {
    margin-top: -32px !important;
}

.smarttill-sn-5 .subcol-2 {
    max-width: 500px;
}

.smarttill-sn-7 h3 {
    margin-bottom: 0 !important;
}

.smarttill-sn-9 form {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.post-filters .container .row div:nth-of-type(3) {
    display: none;
}
@media (max-width:767px) {
    .smarttill-sn-2 .wp-block-image {
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }

    .smarttill-sn-2 h3.wp-block-heading {
        text-align: center;
    }

    .smarttill-sn-6 .wp-block-image .alignright {
        float: none;
        margin: 0 0 0 -24px;
    }

    .smarttill-sn-7 .wp-block-image {
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width:768px) {
    .smarttill-sn-0 .logo-title {
        padding-bottom: 170px;
    }

    .smarttill-sn-1 {
        margin-top: -180px !important;
    }

    .smarttill-sn-5 .wp-block-columns {
        justify-content: space-around;
    }

    .smarttill-sn-5 .subcol-1 {
        flex: 0 0 36% !important;
    }

    /*.smarttill-sn-8 .wp-block-heading.section-title { font-size: 70px!important;}*/
}

@media (min-width:1001px) {
    .smarttill-sn-0 .smarttill-hexagon img {
        min-width: 600px;
    }
}


.results-items_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.results_item {
    background-color: #ffffff;
    box-shadow: 0 20px 20px #cbcbcb;
    border-radius: 10px;
    margin: 20px;
    padding: 20px !important;
    background-image: url(https://apgsolutions.com/wp-content/uploads/2025/05/ResourcesBG.png);
    background-size: cover;
    background-repeat: no-repeat;
    border: none !important;
    transition: all 0.3s;
}

.results_item p {
    display: none;
}

.results_item .results-item_title a {
    color: #00224a !important;
}

.results_item:hover {
    box-shadow: 0 5px 10px #cbcbcb;
}