/**
Theme Name: MyAga
Author: IDBBN
Author URI: https://idbbn.fi/
Description: A child theme built upon the highly flexible theme ASTRA (https://wpastra.com/), and customised to the specific requirements of MyAGA
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myaga
Template: astra
*/

@font-face {
    font-family: 'Linde Dax Semi Light'; 
    src: URL('assets/fonts/LindeDaxLigWeb.woff'); 
    src: URL('assets/fonts/LindeDaxLigWeb.ttf');
    src: URL('assets/fonts/LindeDaxLigWeb.eot');
    src: URL('assets/fonts/LindeDaxLigWeb.ttf');
    font-weight: normal; 
    font-style: normal;
}

@font-face {
    font-family: 'Linde Dax Semi Light'; 
    src: URL('assets/fonts/LindeDaxSemiLigWeb.woff'); 
    src: URL('assets/fonts/LindeDaxSemiLigWeb.ttf');
    src: URL('assets/fonts/LindeDaxSemiLigWeb.eot');
    src: URL('assets/fonts/LindeDaxSemiLigWeb.ttf');
    font-weight: normal; 
    font-style: normal;
}

@font-face {
    font-family: 'Linde Dax Regular'; 
    src: URL('assets/fonts/LindeDaxRegWeb.woff'); 
    src: URL('assets/fonts/LindeDaxRegWeb.ttf');
    src: URL('assets/fonts/LindeDaxRegWeb.eot');
    src: URL('assets/fonts/LindeDaxRegWeb.ttf');
    font-weight: normal; 
    font-style: normal;
}

@font-face {
    font-family: 'Linde Dax Medium'; 
    src: URL('assets/fonts/LindeDaxMedWeb.woff?hsw0h3'); 
    src: URL('assets/fonts/LindeDaxMedWeb.ttf?hsw0h3');
    src: URL('assets/fonts/LindeDaxMedWeb.eot?hsw0h3');
    src: URL('assets/fonts/LindeDaxMedWeb.ttf?hsw0h3');
    font-weight: normal; 
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Linde Dax Regular' !important;
}

/* fix store finder container */
#snippet_content{
    clear: both;
    display: table;
    width:100%;
    border:1px dotted grey;
    padding:20px;
}

/* fix headers on mobile */
@supports (-webkit-overflow-scrolling: touch) {
    .uagb-section__background-image {
        background-attachment:scroll !important;
    }
}

h1, h2, h3, h4 {
    text-transform: uppercase;
}

.uagb-button__link {
    text-transform: uppercase;
}

p:empty {
    display: none;
}

.sub-menu{
    /* border-top:2px solid #e10014 !important; */
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5) !important;
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5) !important;
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5) !important;
}

/* AGA blocks and patterns */
.aga-fixed-height, .aga-fixed-height-block {
    position: relative;
    height:440px;
}

.aga-min-height {
    position: relative;
    min-height:440px;
}

.aga-blog .aga-min-height {
    min-height:320px;
}


.aga-flex-container .uagb-column__inner-wrap, 
.aga-fixed-container .uagb-column__inner-wrap {
    flex-direction: column;
    display: flex;
    width:100%;
}

.aga-flex-container .aga-flex,
.aga-fixed-container .aga-flex {
    flex:1 !important;
}

.aga-flex-container .aga-flex-height,
.aga-fixed-container .aga-fixed-height {
    flex:1 !important;
}

.aga-flex-container .aga-button-align,
.aga-fixed-container .aga-button-align {
    height:60px;
    margin-top:20px;
}

.aga-flex-width-column {
    flex:1 !important;
}

.aga-fixed-width-column {
    width:440px;
    min-width:440px;
    max-width:440px;
}

.aga-fixed-width-column .uagb-column__inner-wrap {
    padding:0;
}
    

@media (max-width: 768px) {
    .aga-fixed-width-column {
        padding-bottom:100%;
        width:100%;
        min-width:100%;
        max-width:100%;
    }

    .aga-fixed-height, .aga-fixed-height-block, .aga-min-height {
        position: relative;
        height:auto !important;
        min-height:auto !important;
    }
}

/* Product Page */
.aga-product .uagb-section__wrap {
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1240px;
}

.wp-block-columns {
    margin: 0;
}

.gallery-container {
    margin-bottom:2em;
}

.slider-for.square .slick-track
{
    display: flex !important;
    max-height:440px;
}

.slider-for.square .slick-slide {
    display: flex;
    height: auto;
    margin-top:auto;
}

.slider-for.square img{
    display: block;
    max-width:600px;
    max-height:600px;
    width: 100%;
    height: auto;
    margin: auto;
}

.slider-for video {
    border:1px dotted grey;
    width: 100%;
    max-height: 100%;
}

.slider-nav.square .slick-slide
{
    height: inherit !important;
    max-height:440px;
}

.slider-nav.square .slick-track
{
    display: flex !important;
    max-height:440px;
}

.slider-nav.square .slick-slide {
    display: flex;
    height: auto;
    margin-top:auto;
}

.slider-nav.square img{
    display: block;
    max-width:300px;
    max-height:220px;
    width: auto;
    height: auto;
    margin: auto;
}

.slider-nav.square .slick-slide
{
    height: inherit !important;
    max-height:440px;
}

.slick-prev, .slick-next {
    position: absolute;
    top:50%;
    margin-top:-30px;
    
    width:40px;
    height:40px;
    padding:0;
    font-size:0;
    background:#FFF;
    border:2px solid #2c2e34;
    color:#2c2e34;
    z-index:50;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev:before, .slick-next:after {
    font: 40px/1 'FontAwesome';
}

.slick-prev:before {
    content: "\f104";
}

.slick-next:after {
    content: "\f105";
}

.slick-prev:hover, .slick-next:hover, .slick-prev:hover, .slick-next:hover {
    color: #e10014;
    background: #FFF;
    border:2px solid #e10014;
}

.slick-prev:focus, .slick-next:focus, .slick-prev:active, .slick-next:active {
    color: #e10014;
    background: #FFF;
    border:2px solid #e10014;
}

@media (min-width: 769px) {
    .aga-block-slider .aga-embed-container { 
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .aga-block-slider .aga-embed-container iframe, .aga-block-slider .aga-embed-container object, .aga-block-slider .aga-embed-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close:hover {
    cursor: pointer;
}

.mfp-container:hover {
    cursor: default;
}

.image-source-link {
    color: #98C3D1;
}

.mfp-with-zoom.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/*BLUR background */
* {
    transition: filter 0.25s ease;
}

.mfp-wrap~* {
    filter: blur(5px);
}

.mfp-ready .mfp-figure {
    opacity: 0;
}

/* start state */
/* animate in */
/* animate out */
.mfp-zoom-in .mfp-figure,
.mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler {
    opacity: 0;
    transition: all 0.3s ease-out;
    transform: scale(0.95);
}

.mfp-zoom-in .mfp-preloader {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-in.mfp-image-loaded .mfp-figure,
.mfp-zoom-in.mfp-ready .mfp-iframe-holder .mfp-iframe-scaler {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-ready .mfp-preloader {
    opacity: 0.8;
}

.mfp-zoom-in.mfp-removing .mfp-figure,
.mfp-zoom-in.mfp-removing .mfp-iframe-holder .mfp-iframe-scaler {
    transform: scale(0.95);
    opacity: 0;
}

.mfp-zoom-in.mfp-removing .mfp-preloader {
    opacity: 0;
}

.mfp-iframe-scaler {
    overflow: visible;
}

.mfp-zoom-out-cur {
    cursor: auto;
}

.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: pointer;
}

embed-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 250%;
}

.video-play {
    width: 185px;
    height: 185px;
    padding-top: calc(50% - 30px);
}

/* Tabs */
.tabbed {
    overflow-x: hidden;
    /* so we could easily hide the radio inputs */
    margin: 0;
    padding:0;
}

.tabbed [type="radio"] {
    /* hiding the inputs */
    display: none;
}

.tabs {
    display: flex;
    align-items: stretch;
    list-style: none !important;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}

.tab>label {
    display: block;
    margin-bottom: -1px;
    padding: 12px 0px;
    margin-right: 20px;
    border-top: 4px solid #FFF;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-content {
    display: none;
}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
.tabbed [type="radio"]:nth-of-type(1):checked~.tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked~.tabs .tab:nth-of-type(2) label,
.tabbed [type="radio"]:nth-of-type(3):checked~.tabs .tab:nth-of-type(3) label,
.tabbed [type="radio"]:nth-of-type(4):checked~.tabs .tab:nth-of-type(4) label,
.tabbed [type="radio"]:nth-of-type(5):checked~.tabs .tab:nth-of-type(5) label,
.tabbed [type="radio"]:nth-of-type(6):checked~.tabs .tab:nth-of-type(6) label,
.tabbed [type="radio"]:nth-of-type(7):checked~.tabs .tab:nth-of-type(7) label,
.tabbed [type="radio"]:nth-of-type(8):checked~.tabs .tab:nth-of-type(8) label,
.tabbed [type="radio"]:nth-of-type(9):checked~.tabs .tab:nth-of-type(9) label,
.tabbed [type="radio"]:nth-of-type(10):checked~.tabs .tab:nth-of-type(10) label {
    border-bottom-color: #fff;
    border-top-color: #e10014;
    background: #fff;
    color: #222;
}

.tabbed [type="radio"]:nth-of-type(1):checked~.tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked~.tab-content:nth-of-type(2),
.tabbed [type="radio"]:nth-of-type(3):checked~.tab-content:nth-of-type(3),
.tabbed [type="radio"]:nth-of-type(4):checked~.tab-content:nth-of-type(4),
.tabbed [type="radio"]:nth-of-type(5):checked~.tab-content:nth-of-type(5),
.tabbed [type="radio"]:nth-of-type(6):checked~.tab-content:nth-of-type(6),
.tabbed [type="radio"]:nth-of-type(7):checked~.tab-content:nth-of-type(7),
.tabbed [type="radio"]:nth-of-type(8):checked~.tab-content:nth-of-type(8),
.tabbed [type="radio"]:nth-of-type(9):checked~.tab-content:nth-of-type(9),
.tabbed [type="radio"]:nth-of-type(10):checked~.tab-content:nth-of-type(10) {
    display: block;
}

.wp-block-button.is-style-outline .wp-block-button__link{
    border-color:#e10014;
    color:#e10014;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus{
    color:#FFF;
}

.breadcrumb, .breadcrumb a {
    color:#777;
}

.related-products h3,
.related-products h4 {
    line-height:1.6em;
    margin-top:0.6em;
    margin-bottom:0.8em;
}

.related-products p {
    line-height:1.4em;
}

.related-products .wp-block-column {
    color:#000;
}
.related-products .wp-block-column img {
    margin-bottom: 20px;
}

.related-products .related-thumb {
    padding-bottom:100%;
    background-size:cover;
    background-position: center;
}

.edit-product {
    position: absolute;
    top:0;
    right:0;
    font-size:0.8;
    background:#000;
    color:#FFF;
    border:2px dotted #000;
    padding: 0.6em 1.2em;
    text-decoration:none;
    z-index:999;
}

.edit-product:hover {
    background:red;
    color:#FFF;
}


/* SLItER BLOCK */
.aga-slider-container {
    padding-left: 40px;
    padding-right: 40px;
	padding-top: 20px;
    padding-bottom: 60px;
}

.aga-block-slider {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.aga-block-slider .aga-block-txt .aga-section__inner-wrap {
	padding-top: 60px;
	padding-bottom: 60px;
	padding-left: 70px;
	padding-right: 100px;
}

.aga-blog .aga-block-slider .aga-block-txt .aga-section__inner-wrap {
	padding-top: 40px;
	padding-bottom: 40px;
	padding-left: 40px;
	padding-right: 40px;
}

.aga-block-slider .aga-fixed-width-column {
    position: relative;
    width:440px;
}

.aga-blog .aga-block-slider .aga-fixed-width-column {
    position: relative;
    width:320px;
}

.aga-block-slider .aga-fixed-height-column {
    position: relative;
    height:440px;
}

.aga-blog .aga-block-slider .aga-fixed-height-column {
    position: relative;
    height:320px;
}

.aga-block-slider .aga-columns__inner-wrap {
	display: flex;
	flex-wrap: nowrap
}

@media (max-width: 976px) {
    .aga-slider-container {
        margin-left: 0px;
        margin-right: 0px;
    }

    .aga-block-slider .aga-block-txt .aga-section__inner-wrap {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    .aga-block-slider .aga-fixed-height-column {
        position: relative;
        height:auto;
    }
    
    .aga-blog .aga-block-slider .aga-fixed-height-column {
        position: relative;
        height:auto;
    }
    
    .aga-block-slider .aga-columns__inner-wrap {
        display: block;
        flex-wrap:unset;
    }

    .aga-block-slider .aga-responsive-img{
        padding-bottom:66%;
    }
}

/* SLIDER DOTS */
.aga-block-slider .slick-dots {
	position: absolute;
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 1rem 0;
	list-style-type: none !important;
}

.aga-block-slider .slick-dots li {
	margin: 0 0.25rem;
}

.aga-block-slider .slick-dots button {
	display: block;
	width: 1rem;
	height: 1rem;
	padding: 0;
	border: none;
	border-radius: 100%;
	background-color: #cccdcf;
	text-indent: -9999px;
}

.aga-block-slider .slick-dots li.slick-active button {
	background-color: red;
}

/* SLIDER NAV */
.aga-block-slider .slick-next,  .aga-block-slider .slick-prev {
    margin-top:0px;
    width:40px;
    height:40px;
}

.aga-block-slider .slick-prev:before, .aga-block-slider .slick-next:after {
    font: 30px/1 'FontAwesome';
}

.aga-block-slider .slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 50;
    margin-top: -12px;
}

@media (max-width: 976px) {
}
   
@media (max-width: 768px) {
    .aga-block-slider .slick-next {
        margin-right:-15px;
    }

    .aga-block-slider .slick-prev {
        margin-left:-15px;
    }

    .aga-columns__reverse-mobile .aga-columns__inner-wrap {
        display: flex;
        flex-direction: column-reverse;
    }
}


/* blog/category header */
.ast-advanced-headers-wrap {
    position:relative;
}

.ast-advanced-headers-wrap .ast-advanced-headers-title {
    margin:0;
    padding:0;
    line-height: 0.8em;
}

.ast-advanced-headers-wrap .taxonomy-description {
    position:absolute;
    width:100%;
    margin-top:0;
}

/* category list style */ 
ul.ast-post-category-list {
    margin: 1.6em 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

ul.ast-post-category-list li {
    display: inline;
}

ul.ast-post-category-list li:after{

}

ul.ast-post-category-list a {
    display: inline-block;
    padding:0.2em 1em;
    margin:0.6em;
}

ul.ast-post-category-list a.selected {
    background: red;
    color: #FFF;
}

.cat-links a, .cat-links a:hover, .cat-links a:focus {
    background: red;
    color: #FFF;
    padding:0.2em 1em;
}

/* blog thumbnail */
.rpwwt-post-categories {
    line-height: 1em;
    margin-bottom: 1.6em;
}

.rpwwt-post-title {
    font-weight:bold;
    padding:0;
    margin:0;
}


/* product */
.wp-block-columns {
    margin: 0;
}

.item-slick.slick-slide.slick-current.slick-active {
    outline: none !important;
}

.slider-for {
    margin-bottom: 15px;
}

.slider-nav {
    margin: auto;
}

.slider-nav .item-slick {
    max-width: 185px;
    margin-right: 15px;
    outline: none !important;
    cursor: pointer;
    text-align: center;
    color: #e10014;
}

.item-slick.oembed {
    background:#EEE;
}

.slider-nav .item-slick img {
    max-width: 100%;
    background-size: cover;
    background-position: center;
}

.slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 50;
    margin-top:0px;
}

.slick-prev:before, .slick-next:before {
    padding:10px;
    opacity:1;
}

.slick-prev:hover:before, .slick-next:hover:before {
    padding:10px;
    opacity:1;
    margin-bottom:-40px;
}


.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close:hover {
    cursor: pointer;
}

.mfp-container:hover {
    cursor: default;
}

.image-source-link {
    color: #98C3D1;
}

.mfp-with-zoom.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/*BLUR background */
* {
    transition: filter 0.25s ease;
}

.mfp-wrap~* {
    filter: blur(5px);
}

.mfp-ready .mfp-figure {
    opacity: 0;
}

/* start state */
/* animate in */
/* animate out */
.mfp-zoom-in .mfp-figure,
.mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler {
    opacity: 0;
    transition: all 0.3s ease-out;
    transform: scale(0.95);
}

.mfp-zoom-in .mfp-preloader {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-in.mfp-image-loaded .mfp-figure,
.mfp-zoom-in.mfp-ready .mfp-iframe-holder .mfp-iframe-scaler {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-ready .mfp-preloader {
    opacity: 0.8;
}

.mfp-zoom-in.mfp-removing .mfp-figure,
.mfp-zoom-in.mfp-removing .mfp-iframe-holder .mfp-iframe-scaler {
    transform: scale(0.95);
    opacity: 0;
}

.mfp-zoom-in.mfp-removing .mfp-preloader {
    opacity: 0;
}

.mfp-iframe-scaler {
    overflow: visible;
}

.mfp-zoom-out-cur {
    cursor: auto;
}

.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: pointer;
}

embed-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 250%;
}

.video-play {
    width: 185px;
    height: 185px;
    padding-top: calc(50% - 30px);
    color: #FFFFFF;
}

/* Tabs */
.tabbed {
    overflow-x: hidden;
    /* so we could easily hide the radio inputs */
    margin: 0;
    padding:0;
}

.tabbed [type="radio"] {
    /* hiding the inputs */
    display: none;
}

.tabs {
    display: flex;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}

.tab>label {
    display: block;
    margin-bottom: -1px;
    padding: 12px 0px;
    margin-right: 20px;
    border-top: 4px solid #FFF;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-content {
    display: none;
}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
.tabbed [type="radio"]:nth-of-type(1):checked~.tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked~.tabs .tab:nth-of-type(2) label,
.tabbed [type="radio"]:nth-of-type(3):checked~.tabs .tab:nth-of-type(3) label,
.tabbed [type="radio"]:nth-of-type(4):checked~.tabs .tab:nth-of-type(4) label,
.tabbed [type="radio"]:nth-of-type(5):checked~.tabs .tab:nth-of-type(5) label {
    border-bottom-color: #fff;
    border-top-color: #e10014;
    background: #fff;
    color: #222;
}

.tabbed [type="radio"]:nth-of-type(1):checked~.tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked~.tab-content:nth-of-type(2),
.tabbed [type="radio"]:nth-of-type(3):checked~.tab-content:nth-of-type(3),
.tabbed [type="radio"]:nth-of-type(4):checked~.tab-content:nth-of-type(4) {
    display: block;
}

.wp-block-button.is-style-outline .wp-block-button__link{
    border-color:#e10014;
    color:#e10014;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus{
    color:#FFF;
}

.breadcrumb, .breadcrumb a {
    color:#777;
}

.related-products h3,
.related-products h4 {
    line-height:1.4em;
    margin-bottom:0.6em;
}

.related-products p {
    line-height:1.4em;
}

.related-products .wp-block-column {
    color:#000;
}
.related-products .wp-block-column img {
    margin-bottom: 20px;
}


.aga-top-margin{
    margin-top:6em;
}

/* featured products */

.aga-featured-section {
    margin:40px;
    margin-bottom:40px;
}

.featured-products {
    display: flex;
    justify-content: center;
    gap:calc(32px);
    text-align:left;
    flex-wrap: wrap;
    max-width:1240px;
    margin:auto;
}

.featured-products h3,
.featured-products h4 {
    line-height:1.6em;
    margin-top:0.6em;
    margin-bottom:0.8em;
}

.featured-products p {
    line-height:1.4em;
}

.featured-products .featured-column {
    color:#000;
    width:calc(20% - 26px);
    display:inline-block;
}

@media only screen and (max-width: 921px) {
    .featured-products .featured-column {
        width:calc(33.33% - 25px);
    }
}

@media only screen and (max-width: 740px) {
    .featured-products .featured-column {
        width:calc(100% - 40px);
    }
}

.featured-products .featured-column img {
    margin-bottom: 20px;
}

.featured-products .related-thumb {
    padding-bottom:100%;
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Media Bank */
.aga-media-bank .uagb-section__wrap {
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1240px;
}

.aga-media-bank h3 {
    margin-top:1em;
}

.aga-media-bank h4 {
    margin-top:1.6em;
    margin-bottom:0.6em;
}

.aga-media-bank .aga-grid-columns {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-wrap: break-word;
    text-align:center;
}

.aga-media-bank .aga-grid-img {
    padding-bottom: 100%;
    background-repeat:no-repeat;
    background-size: contain;
    background-position: center bottom;
}

.aga-media-bank .aga-grid-label {
    display:block;
    margin-top:1.6em;
}

@media screen and (max-width: 1200px) {
    .aga-media-bank .aga-grid-columns {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width: 600px) {
    .aga-media-bank .aga-grid-columns {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* languag flag spacing */
.wpml-ls-flag{
    margin-right:0.4em;
}

/* hide reCaptcha */
.grecaptcha-badge { visibility: hidden; }

.header-space {
    margin-top:6em;
}

@media only screen and (max-width: 921px) {
    .header-space {
        margin-top:8em;
    }
}