/*
FONTS:
font-family: 'ADPortsGroup', sans-serif;

COLORS:
text #4f9dc8
principal #11325b
secundari #c42a34
tercer #CCCCCC

HEIGHTS:
header-height 94px
responsive-header-height 60px;
footer-height 300px
*/

html,
body{
    /* overflow-x: hidden; */
    font-family: 'ADPortsGroup', sans-serif;
    font-size: 16px;
    color: #11325b;
    margin: 0;
}
a {
   outline: 0 !important;
}
a::after{
   outline: 0 !important;
}
a, a:hover, a:active, a:visited, a:focus {
    text-decoration: none !important;
    color: inherit;
}
p{
    font-size: 1rem;
    line-height: 1.3em;
}



h1{
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 1em;
}
h2{
    font-size: 2.2em;
    line-height: 1.2em;
}
h3{
    font-size: 2.2em;
}
img{
    height: auto;
}
.mobile{
    display: none;
}

/* plugins */
.grecaptcha-badge{
    visibility: hidden;
}
#cookie-notice .cn-button{
    background: #ffffff;
    color: #11325b;
}


/*upload field*/
/*upload field*/
.upload-field{
    max-width: 600px;
    margin: 0 auto;
    display: block;
    margin-bottom: 2rem;
}
.upload-field .wpcf7-form-control-wrap{
    margin-bottom: 0;
    margin-top: 2rem;
}
.upload-field .wpcf7-form-control-wrap h3{
    position: relative;
}
.codedropz-upload-wrapper{
    max-width: 500px;
    display: block;
    margin: 0 auto;
}
.upload-field .wpcf7-form-control-wrap h3::before{
    content: '';
    background-image: url('');
    width: 30px;
    height: 40px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    margin-right: 1em;
}
.codedropz-upload-inner span,
.codedropz-upload-inner .codedropz-btn-wrap,
.dnd-upload-counter
{
    display: none;
}

/*chevron*/
.chevron::before {
	border-style: solid;
	border-width: 0.2em 0.2em 0 0;
	content: '';
	display: inline-block;
	height: 0.45em;
	left: 0.15em;
	position: relative;
	top: -0.15em;
	transform: rotate(-45deg);
	vertical-align: middle;
    width: 0.45em;
    margin-right: .5em;
}
.chevron.right:before {
	left: 0;
	transform: rotate(45deg);
}
.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}
.chevron.left:before {
	left: 0.25em;
	transform: rotate(-135deg);
}
.chevron.bottom:before {
	top: 0;
	transform: rotate(135deg);
}
.chevron.left:before {
	left: 0.25em;
	transform: rotate(-135deg);
}
.chevron a{
    transition: .2s;
}
.chevron a:hover {
    padding-left: .5em;
}

/*gutenberg styles*/
.doc-styles h1{
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.3em;
    margin-top: 1em;
}
.doc-styles h2{
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2em;
}
.doc-styles p,
.doc-styles ul li,
.doc-styles ol li
{
    font-size: 1.1rem;
    font-weight: normal;
    line-height: 1.4em;
}
.doc-styles p.has-small-font-size{
    font-size: 0.93rem;
    font-weight: normal;
    line-height: 1.5em;
}
.doc-styles p.has-medium-font-size{
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.33em;
}
.doc-styles p.has-large-font-size{
    font-size: 2.25rem;
    font-weight: normal;
    line-height: 1.33em;
}
.doc-styles p.has-huge-font-size{
    font-size: 3.8rem;
    font-weight: normal;
    line-height: 1.15em;
}
p:not(.has-text-color) a{
    color: #c42a34;
}
.doc-styles p img{
    vertical-align: middle;
    transform: translateY(-2px);
}
.doc-styles ul li,
.doc-styles ol li{
    margin-bottom: 1rem;
}

/* images */
.doc-styles .wp-block-image{
    margin: 0;
}
.doc-styles .wp-block-image img{
    height: auto;
}
.doc-styles .wp-block-image.full-width img{
    width: 100%;
    height: auto;
}

.wp-block-cover-image .wp-block-cover__inner-container, .wp-block-cover .wp-block-cover__inner-container{
    width: 100%;
}

/*effects*/

/*appear*/
.appear{
    overflow: hidden;
}
.appear .move{
    display: inline-block;
    position: relative;
    transition: .5s ease;
    opacity: 0;
}
.appear.off-screen .move{
    transform: translate3d(-150%,0,0);
    transition: 0s ease;
    opacity: 0;
}
.appear.left .move{
    transform: translate3d(-150%,0,0);
}
.appear.leftrotate .move{
    transform: rotate(30deg) translate3d(-150%,200%,0)
}
.appear.right .move{
    transform: translate3d(150%,0,0);
}
.appear.rightrotate .move{
    transform: rotate(-30deg) translate3d(150%,200%,0)
}
.appear.top .move{
    transform: translate3d(0,-150%,0);
}
.appear.bottom .move{
    transform: translate3d(0,150%,0);
}
.appear.on-screen .move{
    transform: translate3d(0,0,0);
    opacity: 1;
    transition: .5s ease;
}
.appear.zoom .move{
    transform: scale(0);
    transition: all 400ms cubic-bezier(.47,1.64,.41,.8);
}
.appear.on-screen.zoom .move{
    transform: scale(1);
}

.appear .move.delay{
    transition-delay: 150ms !important;
}
.appear .move.delayx2{
    transition-delay: 500ms !important;
}

/* decorations */
.line-left{
    padding-left: 3.8rem;
    position: relative;
    transition: .2s;
}
.line-left::before{
    content: '';
    position: absolute;
    width: 2.86rem;
    left: 0;
    top: .6em;
    height: .25rem;
    background-color: #CCCCCC;
}
.doc-styles .line-left a{
    color: inherit;
    transition: .2s;
}
.doc-styles .line-left a:hover{
    color: #CCCCCC;
}
.line-left a:hover{
    padding-left: .4rem;
}
.line-bottom{
    position: relative;
    padding-bottom: 1em;
}
.line-bottom::after{
    content: '';
    width: 100px;
    height: 4px;
    background: #11325b;
    position: absolute;
    bottom: 0;
    left: 0;
}
.line-bottom.center::after{
    left: calc(50% - 50px);
}

.underline {
	border-bottom: solid 1px;
	padding-bottom: .5em;
}
.underlined{
    text-decoration: underline;
}

.box-shadow{
    box-shadow: 0 7px 23px 0 rgba(0,0,0,0.18);
    display: block;
}

.list-line::before{
    content: '';
    position: relative;
    height: 1em;
    width: 6px;
    display: inline-block;
    margin-right: .7em;
    background-color: #CCCCCC;
    transform: translateY(.13em);
}
p.list-line a{
    transition: .2s;
}
.doc-styles p.list-line:not(.has-text-color) a{
    color: #3A3A3A;
}
p.list-line a:hover{
    padding-left: .5em;
}

/* columns */
.wp-block-columns{
    margin-bottom: 0;
    width: 100%;
}
.wp-block-column:not(:first-child){
    margin-left: 3rem;
}
.wp-block-columns.vertical{
    flex-direction: column;
}
.wp-block-columns.align-items-center{
    align-items: center;
}
.wp-block-column.no-grow{
    flex-grow: 0;
    flex-basis: auto;
}
.wp-block-columns.cols-2{
    flex-flow: row wrap;
}
.wp-block-columns.cols-2 .wp-block-column{
    flex-basis: calc(50% - 1.5rem);
    flex-grow: 0;
    margin-bottom: 3rem;
}
.wp-block-columns.cols-2 .wp-block-column:nth-child(2n-1){
    margin-left: 0;
}


.wp-block-columns.cols-3{
    flex-flow: row wrap;
}
.posts-wrapper.wp-block-columns.cols-3 .wp-block-column{
    flex-basis: calc(33% - 4rem);
    flex-grow: 0;
    margin-bottom: 3rem;
    margin-left: 5rem;
}
.posts-wrapper.wp-block-columns.cols-3:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(3n-2){
    margin-left: 0;
}

/* margins */
.doc-styles .no-margin{
    margin: 0;
}
.doc-styles .no-margin-left{
    margin-left: 0;
}
.doc-styles .no-margin-bottom{
    margin-bottom: 0;
}
.doc-styles .no-margin-top{
    margin-top: 0;
}

/* animations */
.bounce {
    animation-name: bounce;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}
@keyframes bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-2em); }
    100% { transform: translateY(0); }
}

/* MENUS */
ul.menu,
.menu ul{
    padding: 0;
    margin: 0;
}
ul.menu li,
.menu ul li
{
    list-style: none;
    display: block;
}
ul.menu li a,
.menu ul li a{
    font-weight: bold;
}
ul.menu li.menu-item-has-children{
    position: relative;
}
ul.menu li.menu-item-has-children .sub-menu{
    display: none;
    background: #FFFFFF;
    position: absolute;
    text-align: left;
    padding: 30px 10px 20px 10px;
    width: 200px;
    left: 0;
}
ul.menu li.menu-item-has-children:hover .sub-menu{
    display: block;
}
ul.menu li.menu-item-has-children .sub-menu li{
    display: block;
}

/* Hover canvi color*/
.hover-color ul.menu li a{
    transition: .2s;
}
.hover-color ul.menu li a:hover,
.hover-color ul.menu li.current_page_item a
{
    color: #CCCCCC;
}

/* Hover border*/
.hover-border ul.menu li{
    padding: 1rem;
}
#header .hover-border ul.menu li a {
    transition: color 0.25s 0.08c42a3433s;
    position: relative;
    padding: 1rem;
}
.hover-border ul.menu li a::before, .hover-border ul.menu li a::after {
    border: 0 solid transparent;
    box-sizing: border-box;
    content: '';
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    right: 0;
}
.hover-border ul.menu li a::before {
    border-bottom-width: 4px;
    border-left-width: 4px;
}
.hover-border ul.menu li a::after {
    border-top-width: 4px;
    border-right-width: 4px;
}
.hover-border ul.menu li a:hover::before, .hover-border ul.menu li a:hover::after {
    border-color: #ffe593;
    transition: border-color 0s, width 0.25s, height 0.25s;
    width: 100%;
    height: 100%;
}
.hover-border ul.menu li a:hover::before {
    transition-delay: 0s, 0s, 0.25s;
}
.hover-border ul.menu li a:hover::after {
    transition-delay: 0s, 0.25s, 0s;
}

/*.link-arrow*/
.link-arrow {
    font-weight: bold;
    font-size: 1.1rem;
}
.link-arrow img{
    height: 16px;
    width: auto !important;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    transition: .2s;
}
.link-arrow:hover img{
    transform: translateX(10px);
}

/* Hover linea */
.hover-linea ul.menu li a::after{
    content: '';
    height: 3px;
    width: 0;
    background: #11325b;
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    transition: .2s;
}
.hover-linea ul.menu li a:hover::after{
    width: calc(100% - 2rem);
}
/* Hover linea */
.doc-styles p.hover-linea a{
    position: relative;
    display: inline-block;
}

.hover-linea ul.menu li a::after,
.doc-styles p.hover-linea a::after
{
    content: '';
    height: 3px;
    width: 0;
    background: #11325b;
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    transition: .2s;
}
.hover-linea ul.menu li a:hover::after{
    width: calc(100% - 2rem);
}
.doc-styles p.hover-linea a::after{
    left: 0;
    bottom: 0;
}
.doc-styles p.hover-linea a:hover::after{
    width: 100%;
}

/*SIDE MENU*/
#side-menu{
    position: fixed;
    /* responsive-header-height */
    top: 60px;
    left: 0;
    transform: translateX(100%);
    background: #ffffff;
    color: #4f9dc8;
    height: calc(100vh - 48px);
    width: 100%;
    padding: 1em;
    transition: .2s;
    z-index: 9;
    box-sizing: border-box;
    overflow: auto;
    padding-bottom: 2em;
}
body.menu-open #side-menu{
    transform: translateX(0);
}
#side-menu ul li{
    margin-bottom: 1.5em;
}
#side-menu form.search-form{
    margin-bottom: 1em;
}
#side-menu form.search-form input[type="search"]{
    font-size: 1.3em;
    padding: .5em .5em .5em 2em;
    background: transparent;
    color: #4f9dc8;
    border: solid 1px #4f9dc8;
}
#side-menu .search-form svg{
    height: 1.4em;
    width: 1.4em;
    left: .8em;
}
#side-menu .search-form svg g{
    fill: #4f9dc8;
}
#side-menu .language{
    margin-bottom: 1em;
    text-align: center;
}
#side-menu .menu-item-has-children>a::after{
	border-style: solid;
	border-width: 0.2em 0.2em 0 0;
	content: '';
	display: inline-block;
	height: 0.45em;
	position: relative;
	top: 0;
	vertical-align: middle;
    width: 0.45em;
    margin-left: .5em;
    top: -.4em;
	transform: rotate(135deg);
}
#side-menu .sub-menu{
    position: relative;
    padding: 1em 2em 0 2em;
    width: 100%;
    box-sizing: border-box;
}
#side-menu li.open .sub-menu{
    display: block;
}
#side-menu li.open .sub-menu li a{
    font-size: 1.1rem;
}
#menu-button{
    display: none;
    cursor: pointer;
    position: absolute;
    height: 100%;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    right: 0;
    top: 0;
    padding-left: 1em;
    padding-right: 1em;
}
#menu-button .lineamenu{
    display: block;
    width: 30px;
    height: 4px;
    background: #11325b;
    transition: .2s;
}
#menu-button .lineamenu:not(:first-of-type){
    margin-top: .4em;
}


/* menu open background*/
body.menu-open #menu-button .lineamenu{
    background: #FFFFFF;
}
body.menu-open #menu-button .lineamenu:nth-child(1){
    transform: rotate(45deg) translate(7px, 8px);
    background-color: #c42a34;
}
body.menu-open #menu-button .lineamenu:nth-child(2){
    opacity: 0;
}
body.menu-open #menu-button .lineamenu:nth-child(3){
    transform: rotate(-45deg) translate(7px, -8px);
    background-color: #c42a34;
}

/* menu open move*/
/* #side-menu{
    width: 300px;
    height: 100vh;
    right: 0;
    left: auto;
    top: 0;
}
body.menu-open #menu-button{
    background: none;
}
body.menu-open #menu-button .lineamenu{
    background: #18355D;
}
#header,
#content,
#footer
{
    transition: .2s;
}
body.menu-open #header,
body.menu-open #content,
body.menu-open #footer
{
    transform: translateX(-300px);
} 
body.menu-open #menu-button .lineamenu:nth-child(even){
    transform: translateX(3px);
}
body.menu-open #menu-button .lineamenu:nth-child(odd){
    transform: translateX(-3px);
}*/


/* POP UPS */
.popup-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.6);
}
.popup-wrapper .popup{
    position: relative;
    max-width: 600px;
    max-height: 80vh;
    padding: 2rem 3rem;
    box-sizing: border-box;
}
.popup-wrapper .popup .popup-content{
    position: relative;
    z-index: 2;
    line-height: 1.4em;
    overflow: auto;
}
.popup-wrapper .popup .popup-background{
    opacity: 1;
    background: #ffffff;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
}
.popup-wrapper .popup .popup-background.with-image{
    opacity: 1;
}
.popup-wrapper .popup .popup-close{
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 1;
}
.popup-wrapper .popup figure{
    margin: 0;
}

/* Style The Dropdown Button */
.dropbtn {
    padding: .9em 1.4em .95em 0em;
    font-size: 1em;
    line-height: 1em;
    border: none;
    cursor: pointer;
}
.dropbtn::after{
    content: '';
    display: inline-block;
    position: relative;
    height: 0em;
    width: 0em;
    left: 0.15em;
    top: 0.25em;
    vertical-align: top;
    margin-left: 10px;
    border-top: 0;
    border-left: .4em solid transparent;
    border-right: .4em solid transparent;
    border-top: .5em solid #11325b;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #c42a34;
    width: 100%;
    z-index: 1;
    text-align: left;
}
.dropdown-content a {
    color: #11325b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #11325b
}
.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
    display: block;
}

.dropdown.desplegable{
    border: solid 1px #11325b;
    width: 340px;
}
.dropdown.desplegable .dropbtn {
    padding: .9em 1.4em .95em 1.4em;
    font-size: 1.1em;
}
.desplegable .dropbtn::after {
	position: absolute;
	right: 1em;
	left: auto;
	top: 1.2em;
}
.desplegable .dropdown-content a:hover {
    background-color: #11325b;
    color: #FFFFFF;
}

/*SOCIAL MEDIA*/
.social-media a{
    display: inline-block;
}
.social-media a:not(:first-of-type){
    margin-left: 2em;
}
.social-media a img{
    height: 20px;
    width: auto;
}

/* WIDTH I PADDINGS */
#content{
    position: relative;
    /* header-height */
    padding-top: 94px;
    /* footer-height */
    min-height: calc(100vh - 405px);
}
.doc-styles>.wp-block-group,
.doc-styles>p,
.doc-styles>h1,
.doc-styles>h2,
.doc-styles>h3,
.doc-styles>h4,
.doc-styles>h5,
.doc-styles>h6,
.doc-styles>ul,
.doc-styles>ol,
.doc-styles>.wp-block-columns,
.doc-styles>.wp-block-image,
.doc-styles>.wp-block-gallery,
.doc-styles>.lwptoc,
.doc-styles>.wp-block-video
{
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 3%;
    padding-right: 3%;
}
.doc-styles>ul,
.doc-styles>ol{
    padding-left: 5%;
    padding-right: 5%;
}

.doc-styles .max-width
{
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.doc-styles .max-width-narrow
{
    max-width: 630px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.doc-styles .max-width-wide,
.doc-styles>.content-area
{
    max-width: 1230px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.doc-styles .full-width{
    max-width: none;
    margin-left: inherit;
    margin-right: inherit;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}
.doc-styles .full-width.padding-sides{
    padding-left: 10%;
    padding-right: 10%;
}
.padding-sides{
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
}
.padding-sides-big{
    padding-left: 15%;
    padding-right: 15%;
    box-sizing: border-box;
}


/*HEADER*/
#header{
   position: fixed;
   z-index: 99;
   width: 100%;
   background: #FFFFFF;
   transition: .2s;
}
#header.hide{
    position: absolute;
}
#header.show{
    animation-name: appearheader;
    animation-duration: .3s;
}
@keyframes appearheader {
    from {top: -100%;}
    to {top: 0;}
}
#header>.wp-block-columns{
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
#header .logo{
    flex-grow: 1;
}
#header .logo img{
    height: 55px;
    width: auto;
    transition: .2s;
    display: block;
}
#header.slim{
    background-color: #ffffff;
}
/* #header.slim .logo img{
    height: 35px;
    width: auto;
    transition: .2s;
    transform: translateY(0);
} */
#header ul.menu li{
    display: inline-block;
}
#header ul.menu li a{
    position: relative;
    height: 100%;
    padding: 2rem 1rem;
    display: block;
    line-height: 1.2em;
    font-weight: normal;
    transition: .2s;
    font-size: 1.1rem;
}
#header.slim ul.menu li a{
    padding: 1rem;
}
#header.slim  .hover-linea ul.menu li a::after{
    bottom: .5rem;
}
#header ul.menu{
    margin-right: 2rem;
}
#header .language{
    margin-right: 1.5rem;
}
#main-menu.wp-block-columns{
    width: auto;
    align-items: center;
    justify-content: space-between;
}


.page-template-template-headerinverted #header{
    color: #ffffff;
}
/* .page-template-template-headerinverted #header .logo img{
    filter: invert(1);
} */
.page-template-template-headerinverted #header svg g{
    fill: #ffffff;
}
.page-template-template-headerinverted #header.slim{
    color: inherit;
}
.page-template-template-headerinverted #header.slim .logo img{
    filter: none;
}
.page-template-template-headerinverted #header.slim svg g{
    fill: #000000;
}
.page-template-template-headerinverted #header #menu-button .lineamenu{
    background: #ffffff;
}
.page-template-template-headerinverted #header ul.menu li a{
    color: #ffffff;
}
.page-template-template-headerinverted #header.slim ul.menu li a{
    color: #11325b;
}
.page-template-template-headerinverted #header .logo .normal{
    display: none;
}
.page-template-template-headerinverted #header.slim .logo .normal{
    display: block;
}
.page-template-template-headerinverted #header.slim .logo .inverted{
    display: none;
}


/* NEWSLETTER */
.newsletter{
    /* background-color: #11325b;
    color: #FFFFFF; */
    /* padding-top: 2em;
    padding-bottom: 2em; */
    text-align: center;
}
.newsletter input{
    max-width: 450px;
    border-radius: 30px;
}
.newsletter p.has-large-font-size{
    margin-top: .5em;
    margin-bottom: .5em;
}
.newsletter div.wpcf7 .ajax-loader{
    display: none;
}
.newsletter .wpcf7-spinner{
    display: none;
}
.newsletter input[type="submit"]{
    margin-top: 30px;
}


/*FOOTER*/
.footer-wrapper{
    width: 100%;
    clear: left;
}
.footer-wrapper .footer-info{
    background: #FFFFFF;
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
}
.footer-wrapper .bottom-bar{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    background: #11325b;
    color: #FFFFFF;
    padding-top: 2em;
    padding-bottom: 2em;
}

#footer .top-bar{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-top: 2rem;
}
#footer .top-bar ul li{
    display: inline-block;
}
#footer .top-bar ul li:not(:first-of-type)::before{
    content: '|';
    margin-left: 1em;
    margin-right: 1em;
}

.footer-wrapper .footer-info .wp-block-column:not(:last-of-type){
    border-right: solid 1px #01003344;
}
.footer-wrapper .footer-info .wp-block-column:not(:first-child) {
	padding-left: 2.5vw;
	padding-right: 2.5vw;
	margin: 0;
}

.footer-wrapper .bottom-bar ul li{
    display: inline-block;
}
.footer-wrapper .bottom-bar ul li:not(:first-of-type){
    margin-left: 2em;
}
#footer.footer-wrapper .bottom-bar ul.menu li a{
    font-size: .9rem;
}
.footer-wrapper .footer-info ul.menu li{
    margin-bottom: 1rem;
}
#return-to-top {
	cursor: pointer;
	margin-right: 5vw;
	padding: 1vw;
	margin-top: .75vw;
    position: absolute;
    top: 0;
    right: 0;
}
#return-to-top svg g{
    fill: #11325b;
}

.footer-wrapper .footer-info.alt .wp-block-column{
    flex-grow: 0;
    flex-basis: auto;
    order: 2;
}
.footer-wrapper .footer-info.alt .wp-block-column{
    margin-left: 5%;
    margin-right: 5%;
}

p.with-icon{
    /* padding-left: 30px; */
    position: relative;
}
p.with-icon svg,
p.with-icon img{
    /* position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: auto; */
    display: inline-block;
    width: 20px;
    height: auto;
    position: relative;
}

.contact-whatsapp {
    font-size: 1em;
    text-align: center;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
}
.contact-whatsapp a {
    display: flex;
    align-items: center;
	background: #c42a34;
	border-radius: 30px;
	padding: 1rem 1rem;
	transition: .2s;
	line-height: 1em;
	font-size: 1.2em;
	box-shadow: 3px 4px 10px rgba(0,0,0,.1);
}
.contact-whatsapp img{
    height: 30px;
    width: auto;
    margin-left: .6rem;
    transform: translateY(-1px);
    vertical-align: middle;
}

/* cart button */
.cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	background-color: #c42a34;
	border-radius: 50px;
	font-size: .8em;
	width: 20px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#cart-button{
    position: relative;
    cursor: pointer;
    height: 25px;
    width: auto;
    margin-left: 2em;
}
#search-button g{
    fill: #11325b;
}
#search-button svg{
    height: 100%;
    width: auto;
}

/*Search*/
#search-button{
    cursor: pointer;
    height: 25px;
    width: auto;
}
#search-button g{
    fill: #11325b;
}
#search-button svg{
    height: 100%;
    width: auto;
}
#search-button:hover svg g{
    transition: .2s;
}
#search-button:hover svg g{
    fill: #11325b;
}
.search-result{
    margin-bottom: 50px;
}
#close-search svg g{
    stroke: #11325b;
    stroke-width: 7;
}
#search{
    position: fixed;
    z-index: 6;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #FFFFFF;

    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;

    transition: .2s;
}
#search.open{
    top: 0;
}
#search #close-search{
    cursor: pointer;
}   
#search form{
    width: calc(100% - 3em);
}
form.search-form input[type="search"]{
    width: 100%;
    font-size: 2em;
    border: none;
    border-bottom: solid 2px #11325b;
    padding-left: 1.5em;
    padding-bottom: .3em;
}
#search #close-search{
    width: 2em;
    height: 2em;
    margin-left: 1em;
}
#search #close-search svg{
    height: auto;
    width: 100%;
}   

.search-form label{
    position: relative;
}
.search-form svg g{
    fill: #11325b;
}
.search-form svg{
    position: absolute;
    left: 0;
    top: auto;
    bottom: 0;
    width: 2em;
    height: 2em;

}

/* SEARCH PAGE */
#search-page{
    background: #11325b;
    width: 100%;
    margin-bottom: 3em;
}
#search-page input[type="submit"]:hover{
    background: #FFFFFF;
    color: #11325b;
}
#search-page input{
    padding: .5em .5em .5em 1.3em;
    height: auto;
    font-size: 3em;
    width: 100%;
    border: none;
    background: transparent;
}
#search-page svg{
    height: 2.5em;
    width: 2.5em;
}

/* INPUTS BUTTONS*/
input[type="text"], 
input[type="email"],
input[type="password"],
input[type="tel"],
textarea
{
    width: 100%;
    box-sizing: border-box;
    padding: .5em 1em;
    font-size: 1em;
    border: none;
    font-family: 'ADPortsGroup', sans-serif;
    border: solid 1px #11325b;
    margin-top: .5em;
    border-radius: 20px;
}
input[type="text"]:focus, 
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus
{
    border-color: #c42a34;
}
input[type="checkbox"]{
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    height: 1em;
    line-height: 1em;
    transform: scale(1.9) translateY(-1px);
    margin-right: 10px;
    vertical-align: middle;
} 
input[type="submit"],
.button,
p.button-link a,
.wp-block-button a,
.comment-reply-link,
.woocommerce-message a.button,
.woocommerce .cart .button,
.woocommerce a.button
{
    font-family: 'ADPortsGroup', sans-serif;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    border: solid 1px #c42a34;
    background: #c42a34;
    color: #ffffff;
    cursor: pointer;
    line-height: 1em;
    font-weight: bold;
    transition: .3s;
    font-size: 1.1rem;
    border-radius: 0;
    display: inline-block;
    min-width: 180px;
    text-align: center;
}
input[type="submit"]:hover,
.button:hover,
p.button-link a:hover,
.wp-block-button a:hover,
.comment-reply-link:hover,
.woocommerce-message a.button:hover,
.woocommerce .cart .button:hover,
.woocommerce a.button:hover
{
    background: #ffffff;
    border-color: #c42a34;
    color: #c42a34;
}
p.button-link{
    font-size: 1em;
}
.button-link a img{
    vertical-align: middle;
    margin-right: .5em;
    transform: translateY(-1px);
}
textarea{
    border-radius: 20px;
}
.newsletter textarea{
    max-width: 450px;
}
/* Comments */
.commentlist{
    padding: 0;
    list-style: none;
}
.commentlist .children{
    list-style: none;
    padding: 0;
    background: #eee;
}
.commentlist .comment{
    background-color: #f7f7f7;
    padding: 1.5em;
}
.commentlist .comment
{
    margin-bottom: 3rem;
}
.commentlist .children .comment{
    margin-top: 3rem;
    margin-bottom: 0;
    background: #eee;
}
.comment-reply-link{
    display: inline-block;
    padding: .5em 1em;
    font-size: 1rem;
}
.comment-author,
.comment-meta
{
    opacity: .5;
}

/* PAGINATION */
.pagination .screen-reader-text{
    display: none;
}
.pagination{
    display: block;
    margin-top: 50px;
    text-align: center;
    width: 100%;
}
.pagination .page-numbers
{
    display: inline-block;
    margin-bottom: 1em;
    padding: .5em 1em;
    border: solid 1px #11325b;
    transition: .2s; 
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover
{
    background: #11325b;
    color: #FFFFFF;
}

/* HOME */
.home-intro{
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

/* CONTACT */
.contact .contact-info p a{
    font-size: 1em;
    font-weight: normal;
}

/* post wrapper */
.post-wrapper{
    height: 100%;
    display: flex;
    flex-flow: column wrap;
}
.post-wrapper .wp-block-image{
    padding: 0;
    position: relative;
    padding-bottom: 56.6%;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1em;
}
.post-wrapper .wp-block-image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-wrapper .wp-block-image .arrow{
    height: 50px;
    width: 50px;
    padding: 10px;
    box-sizing: border-box;
    background: #ffffff;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: auto;
}
.post-wrapper .wp-block-image .arrow img{
    height: 30px;
    width: 30px;
    object-fit: contain;
    object-position: center;
    transition: .2s;
    margin-top: 10px;
    margin-left: 10px;
}
.post-wrapper:hover .wp-block-image .arrow img{
   transform: translateX(10px);
}

.post-wrapper img.attachment-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: .2s;
    display: block;
}
.post-wrapper:hover img.attachment-post-thumbnail {
    transform: scale(1.05);
}
.post-wrapper.box-shadow .block-text{
    flex-grow: 1;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem;
}
.post-wrapper .post-title{
    padding: 0;
    flex-grow: 1;
    margin: 0;
    margin-bottom: 1em;
    transition: .2s;
}
.post-wrapper:hover p.title{
    color: #E73029;
}

/* scroll template */
.main-scroll{
    height: 100vh;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
}
/* image header template*/
.image-header{
    height: 25vw;
    background-position: center center;
    background-size: cover;
}
.image-header-template h1{
    margin-top: -.6em;
}


/* VIDEOS embed iframe */
.wp-block-video video{
    width: 100%;
    height: auto;
}
.wp-block-embed{
    margin: 0;
    width: 100%;
}
.wp-block-embed .wp-block-embed__wrapper{
    margin: 0 auto;
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
}
.wp-block-embed iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

/* Extra profile */
.form-field-wrapper{
    margin-bottom: 2em;
}
.form-field-wrapper>label{
    font-weight: bold;
    margin-bottom: .75em;
    display: block;
}
.option-group-wrapper{
    display: flex;
    flex-flow: row wrap;
}
.option-group-wrapper .option-group{
    flex-basis: 50%;
    margin-bottom: .5em;
}

/* REUSABLE BLOCKS */

/* fullsize-blocks */
.fullsize-blocks .wp-block-columns{
    margin-bottom: 0;
}
.fullsize-blocks .wp-block-columns .wp-block-column{
    margin-left: 0;
    flex-basis: 50%;
}
.fullsize-blocks .wp-block-columns .wp-block-column .wp-block-image img{
    display: block;
    width: 100%;
}
.fullsize-blocks .wp-block-columns .wp-block-column.text-column{
    padding-left: 7vw;
    padding-right: 7vw;
    box-sizing: border-box;
}

/* page-header */
.doc-styles .page-header h1{
    margin-top: 0;
}
.page-header .wp-block-columns .wp-block-column{
    margin-left: 0;
}
.page-header .wp-block-columns .wp-block-column:first-of-type{
    position: relative;
    z-index: 2;
}
.page-header .wp-block-columns .wp-block-column .wp-block-image img{
    width: 130%;
    float: right;
    max-width: none;
}

/* Steps */
.steps .step {
    border-radius: 40px;
    background-color: #00A4C2;
    padding-top: 1rem;
    height: 100%;
}
.steps .step .text{ 
    padding: .1rem 2rem .5rem 2rem;
    border-radius: 0 0 40px 40px;
    background-color: #ffffff;
    flex-grow: 1;
}
.steps .step .numero{
    color: #ffffff;
    margin: 0;
    margin-bottom: .5em;
}
.steps .step .wp-block-group__inner-container{
    display: flex;
    flex-flow: column wrap;
    height: 100%;
}

/* pla preu */
.pla-preu{
    border-radius: 40px;
    padding: 2rem;
    height: 100%;
    box-sizing: border-box;
}
.pla-preu .button-link{
    margin-top: 2rem;
}
.pla-preu .line-bottom::after{
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
}
.pla-preu.color-white .line-bottom::after{
    background-color: #ffffff;
}
.pla-preu.color-white p{
    color: #ffffff;
}
.pla-preu .wp-block-group__inner-container{
    display: flex;
    flex-flow: column wrap;
    height: 100%;
}
.pla-preu p.add_to_cart_inline{
    border: none !important;
    padding: 0 !important;
    text-align: center;
}
.pla-preu p.add_to_cart_inline .woocommerce-Price-amount{
    display: none;
}

/* columnes-img-text */
.columnes-img-text .wp-block-column{
    margin-left: 0;
    position: relative;
    background: #000000;
    cursor: pointer;
}
.columnes-img-text .wp-block-column .text-group{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .75);
    padding: 3rem;
    box-sizing: border-box;
    pointer-events: none;
    display: flex;
    flex-flow: column wrap;
}
.columnes-img-text .wp-block-column .text-group .wp-block-group__inner-container{
    display: flex;
    flex-flow: column wrap;
    height: 100%;
}
.columnes-img-text .text-group p{
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
}
.columnes-img-text .text-group h2{
    color: #ffffff;
    font-size: 2rem;
    margin: 0;
    flex-grow: 1;
}
.columnes-img-text .wp-block-column:hover .text-group{
    background: #c42a34;
}
.columnes-img-text .wp-block-column img{
    opacity: .7;
    transition: .2s;
    width: 100%;
    height: auto;
}
.columnes-img-text .wp-block-column:hover img{
    opacity: 1;
}

/* SLIDER draggable */
.slider.draggable {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: grab;
}
.slider.draggable.is-grabbing {
    cursor: grabbing;
}
.slider.draggable > .wp-block-group__inner-container {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    width: 10000px;
}
.slider.draggable .wp-block-group__inner-container.shifting {
    transition: left .2s ease-out;
}
.slider.draggable .slide {
    position: relative;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    transition: all 1s;
    padding-left: 2.5vw;
    padding-right: 2.5vw;
    box-sizing: border-box;
}
.slider.draggable .items-per-screen{
    display: none;
}


/* SLIDER arrows */
.slider-wrapper.arrows .wp-block-group__inner-container{
    display: flex;
    flex-flow: row wrap;
    position: relative;
}
.slider-wrapper.arrows .navigation{
    width: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    padding: 15px;
    box-sizing: border-box;
}
.slider-wrapper.arrows .navigation.next{
    right: 1em;
}
.slider-wrapper.arrows .navigation.prev{
    left: 1em;
    display: none;
}
.slider-wrapper.arrows .navigation img{
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
}
.slider-wrapper.arrows .slider-container {
    overflow: hidden;
    width: 100%;
}
.slider.arrows {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: .3s;
}
.slider.arrows > .wp-block-group__inner-container {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    width: 10000px;
}
.slider.arrows .wp-block-group__inner-container.shifting {
    transition: left .2s ease-out;
}
.slider.arrows .slide {
    position: relative;
    width: 100vw;
    height: 100%;
    transition: all 1s;
    padding-left: 1vw;
    padding-right: 1vw;
    box-sizing: border-box;
    padding: 0;
}
.slider.arrows .items-per-screen{
    display: none;
}




/* SLIDER buttons */
.slider-wrapper.buttons .wp-block-group__inner-container{
    display: flex;
    flex-flow: row wrap;
    position: relative;
}
.slider-wrapper.buttons .slider-container {
    overflow: hidden;
    width: 100%;
}
.slider.buttons {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: .3s;
}
.slider.buttons > .wp-block-group__inner-container {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    width: 10000px;
    justify-content: flex-start !important;
}
.slider.buttons .wp-block-group__inner-container.shifting {
    transition: left .2s ease-out;
}
.slider.buttons .slide {
    position: relative;
    width: 100vw;
    height: 100%;
    transition: all 1s;
    padding-left: 1vw;
    padding-right: 1vw;
    box-sizing: border-box;
    padding: 0;
}
.slider.buttons .items-per-screen{
    display: none;
}
.slider-wrapper.buttons .wp-block-group__inner-container .wp-block-group__inner-container .wp-block-group__inner-container .wp-block-group__inner-container{
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

.buttons-slider {
    text-align: center;
    position: absolute;
    bottom: 30px;
    z-index: 2;
    width: 100%;
    left: -13%;
}
.buttons-slider .wp-block-group__inner-container{
    position: relative !important;
    display: block !important;
    /* height: 20px !important;
    width: auto !important; */
    text-align: center;
}
.buttons-slider .button-slider{
    height: 14px;
    width: 14px;
    /* border: solid 2px #ffffff; */
    display: inline-block;
    border-radius: 50%;
    margin-left: 7px;
    margin-right: 7px;
    background: #ffffff;
}
.buttons-slider .button-slider.active{
    background-color: #E9865F;
}



/* block with background */
.block-with-background{
    position: relative;
}
.block-with-background .column-text {
	margin-left: 0;
	background: rgb(255,255,255);
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 29%);
	position: absolute;
	right: 0;
	width: 65%;
	padding-left: 15%;
	height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}
.block-with-background .column-image {
	width: 65%;
	flex-basis: 65%;
	flex-grow: 0;
}
.block-with-background p a{
    color: #11325b;
}
.block-with-background p.has-large-font-size a{
    transition: .2s;
}
.block-with-background p.has-large-font-size:hover a{
    color: #c42a34;
}

/* counter-animation */
/* .counter-animation{
    text-align: center;
} */
.counter-animation p{
    margin-bottom: 0;
    margin-top: .5em;
    display: inline-block;
}
 
/* paragraph-square */
.paragraph-square{
    position: relative;
    padding-left: 7rem;
    box-sizing: border-box;
    min-height: 20rem;
    display: flex;
    align-items: center;
}
.paragraph-square::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #CCCCCC;
    width: 20rem;
    height: 20rem;
    z-index: -1;
}

/*text-loop*/
.text-loop{
    position: relative;
}
.text-loop p a::after{
    content: attr(data-content);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    color: #11325b;
}
.text-loop p a:hover::after{
    opacity: 1;
}
.text-loop p a:hover{
    animation-name: text-loop;
    animation-duration: 14s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.text-loop p a{
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}
.text-loop .wp-block-image{
    position: absolute;
    z-index: 0;
    right: 10vw;
    top: -50%;
    transform: rotate(2deg);
    opacity: 0;
    transition: .2s;
    pointer-events: none;
}
.text-loop:hover .wp-block-image{
    transform: rotate(5deg);
    opacity: 1;
}
@keyframes text-loop {
    from {transform: translateX(0);}
    to {transform: translateX(-100%);}
}

/* sections */
.section .next-section{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 3rem;
    width: 2rem;
    height: auto;
    background: #CCCCCC;
    cursor: pointer;
}
.section .wp-block-columns{
    margin-bottom: 0;
}
.section .wp-block-columns .wp-block-column{
    margin-left: 0;
    flex-basis: 50%;
    padding-left: 12vw;
    padding-right: 7vw;
    box-sizing: border-box;
}
.doc-styles .section  p.has-large-font-size{
    font-size: 2.8em;
    font-weight: normal;
    line-height: 1.3em;
    margin-top: 1em;
    margin-top: 0;
    margin-bottom: 0;
}
.section .wp-block-columns .wp-block-column.main-section{
    padding-right: 0;
    padding-left: 0;
}
.section .wp-block-columns .wp-block-column.main-section h1{
    padding-left: 20vw;
    padding-right: 7vw;
    position: relative;
    font-size: 6vw;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.2em;
}
.section .wp-block-columns .wp-block-column.main-section h1 strong{
    font-weight: inherit;
    color: #CCCCCC;
}
.section .wp-block-columns .wp-block-column.main-section p{
    margin-left: 20vw;
    margin-right: 7vw;
    position: relative;
}
.section .wp-block-columns .wp-block-column.main-section h1::before{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 14vw;
    background: #11325b;
}
.section .wp-block-columns .wp-block-column.featured-img{
    align-self: flex-end;
    padding-right: 0;
    padding-left: 0;
    padding-right: 8rem;
    height: 100%;
    padding-top: 15vh;
}
.section .wp-block-columns .wp-block-column.featured-img figure{
    width: 100%;
    height: 100%;
}
.section .wp-block-columns .wp-block-column.featured-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
}
.section .wp-block-group__inner-container{
    height: 100%;
}
.section .wp-block-group__inner-container .wp-block-columns{
    height: 100%;
}
.section .wp-block-columns .wp-block-column .icon img{
    height: 7em;
    width: auto;
}
.section.centered-text .wp-block-group__inner-container{
    height: 100%;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
}
.section.footer-replace{
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-end;
}
.section.footer-replace .wp-block-columns .wp-block-column{
    flex-basis: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}
.section.footer-replace #return-to-top{
    align-self: flex-end;
}
.section.footer-replace .wp-block-group__inner-container{
    height: 100%;
    padding-top: 245px;
    box-sizing: border-box;
}
.section.footer-replace .footer-wrapper {
	margin-bottom: -28px;
	margin: 0;
	height: 100%;
	display: flex;
	flex-flow: column;
}

/* call-to-action-big */
.call-to-action-big a{
    transition: .2s;
    display: inline-block;
}
.call-to-action-big a:hover{
    transform: scale(1.1);
}

/* home-img-background */
.home-img-background{
    position: relative;
    height: calc(100vh - 123px);
    width: 100%;
    display: flex;
    overflow: visible;
    overflow-x: clip;
    padding-top: 120px;
    box-sizing: border-box;
}

.home-img-background .wp-block-group__inner-container,
.home-img-background .wp-block-columns,
.doc-styles .home-img-background .wp-block-image
{
    width: 100%;
    height: 100%;
}
.home-img-background .wp-block-group__inner-container{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}
.home-img-background .background-image{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
.home-img-background .background-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-img-background .content-block{
    width: 100%;
    position: relative;
    z-index: 1;
}
.home-img-background .scroll-down{
    position: absolute;
    bottom: 0;
    z-index: 1;
    cursor: pointer; 
    width: 100%;
    height: auto;
}
.home-img-background .scroll-down figure{
    position: relative;
    height: 60px;
    width: 60px;
}
.home-img-background .scroll-down img{
    object-fit: contain;
    object-position: center;
}
.home-img-background .wp-block-video.background-image{
    margin-top: 0;
    background: #000000;
}
.home-img-background .wp-block-video.background-image video{
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: .8;
}
.doc-styles .home-img-background h1{
    font-size: 3.8rem;
    line-height: 1.2em;
}

/* img-background */
.img-background{
    position: relative;
    height: auto;
    width: 100%;
    display: flex;
    overflow: hidden;
}
.img-background .wp-block-group__inner-container,
.img-background .wp-block-columns,
.doc-styles .img-background .wp-block-image
{
    width: 100%;
    height: 100%;
}
.img-background .wp-block-group__inner-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.img-background .background-image{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
.img-background .background-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-background .content-block{
    width: 100%;
    position: relative;
    z-index: 1;
}
.doc-styles .img-background p{
    color: #ffffff;
}
.img-background.link .content-block{
    pointer-events: none;
}
.img-background.link {
    height: 100%;
    overflow: hidden;
}
.img-background.link .background-image img{
    transition: .2s;
}
.img-background.link:hover .background-image img{
    transform: scale(1.05);
}
.img-background .wp-block-video.background-image{
    margin-top: 0;
    background: #000000;
}
.img-background .wp-block-video.background-image video{
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: .8;
}

/* link-img-block */
.link-img-block{
    position: relative;
    overflow: hidden;
}
.link-img-block img{
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s;
}
.link-img-block:hover img{
    transform: scale(1.05);
}
.link-img-block p{
    color: #ffffff;
}
.link-img-block p strong{
    font-weight: bold;
}
.link-img-block .link-text{
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    height: 22em;
    background-color: rgba(0,0,0,.42);
    padding-bottom: 3em;
    padding-left: 10%;
    padding-right: 10%;
    pointer-events: none;
    transition: .2s;
}
.link-img-block:hover .link-text{
    background-color: rgba(0,0,0,.6);
}
.link-img-block .link-text .wp-block-group__inner-container{
    transition: .2s;
}
.link-img-block:hover .link-text .wp-block-group__inner-container{
    transform: translateY(-1em);
}

/* slide-doc */
.slideshow {
	position: relative;
    width: 100%;
    height: 100vh;
	overflow: hidden;
}
.slide-doc{
	width: 100%;
	height: 100%;
	top: 0;
	position: absolute;
}
.slide-doc > .wp-block-group__inner-container{
	width: 100%;
    height: 100%;	
    position: relative;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 100%;
	align-items: center;
	justify-items: center;
}
.slide--current {
	position: relative;
}
.slide__img-wrap {
	grid-area: 1 / 1 / 1 / 1;
	width: 100%;
	height: calc(100vh);
	max-height: 100%;
	overflow: hidden;
	position: relative;
	opacity: 0;
	outline: 3px solid transparent;
}
.slide__img-wrap img {
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-size: cover;
	background-position: 50% 50%;
	position: absolute;
	backface-visibility: hidden;
	pointer-events: none;
}
.slide__img-wrap img::after {
	content: '';
	background: #11325b;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.slide__number {
	font-size: 2rem;
	position: absolute;
	bottom: 47px;
	opacity: 0;
}
.slide__title {
	margin: 0;
	grid-area: 1 / 1 / 1 / 1;
	color: var(--color-title);
	position: relative;
	margin-bottom: 1.25rem;
	opacity: 0;
}
.slide--current .slide__img-wrap,
.slide--current .slide__number,
.slide--current .slide__title {
	opacity: 1;
}
.slidenav {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    height: 100%;
    pointer-events: none;
}
.slidenav > .wp-block-group__inner-container{
    width: 100%;
    height: 100%;
    display: flex;
	justify-content: space-between;
	align-items: center;
	text-transform: lowercase;
}
.slidenav p.slidenav__item {
    pointer-events: auto;
    cursor: pointer;
	border: 0;
	background: none;
	padding: 1rem;
	margin: 0.85rem;
	text-transform: inherit;
	position: relative;
	line-height: 1;
    color: var(--color-nav);
    font-size: 1rem;
}
.slidenav__item::before,
.slidenav__item::after {
	content: '';
	position: absolute;
	width: 3rem;
	height: 1px;
	background: currentColor;
	top: 50%;
}
.slidenav__item::before {
	right: 100%;
}
.slidenav__item::after {
	left: 100%;
}
.slidenav__item:hover {
	color: var(--color-link-hover);
}
.slidenav__item--prev {
	transform: rotate(-90deg) translateY(-50%);
}
.slidenav__item--next {
	transform: rotate(90deg) translateY(-60%);
}
.slide__revealer{
    height: 0;
    position: absolute;
}

/* hover-ampliacio */
.hover-ampliacio{
    overflow: hidden;
    display: block;
}
.hover-ampliacio img{
    transition: .2s;
    display: block;
}
.hover-ampliacio:hover img{
    transform: scale(1.05);
}

/* svg animations */
.svg-animation{
    margin: 0;
}
.svg-animation svg{
    width: 100%;
    height: auto;
}

/* PLUGINS */

/* table of contents */
.lwptoc-light .lwptoc_i{
    background: none;
    border: solid 1px #11325b;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem;
}
.lwptoc_header .lwptoc_title{
    color: #11325b;
    font-size: 2em;
    margin: 0;
}
.lwptoc-light .lwptoc_i .lwptoc_item_label{
    color: #11325b;
    font-size: 1.2em;
    margin-top: .5em;
    display: block;
}

/* wpcf7 form */
span.wpcf7-list-item{
    margin: 0 1em 0 0;
}
.wpcf7-form-control-wrap {
	position: relative;
	margin-bottom: 1em;
	display: block;
}
.accept-policy .wpcf7-form-control-wrap{
    display: inline-block;
    margin: 0;
    font-size: 1rem;
}
.is-required{
    position: relative;
    display: block;
}
.is-required::after{
    content: '*';
    color: #FF0033;
    position: absolute;
    right: -1em;
    top: 3em;
}
.wpcf7 label{
    width: 100%;
    margin-bottom: -1rem;
}
.wpcf7 textarea {
    height: 150px;
}
.wpcf7-form-control-wrap{
    margin-bottom: 0;
}
.newsletter .wpcf7-form-control-wrap{
    margin-bottom: 1rem;
}
.wpcf7 .select2-container{
    width: 100% !important;
}
.wpcf7 .select2-container--default .select2-selection--single{
    border: solid 2px #010033;
    border-radius: 0;
    height: auto;
    padding-top: .5em;
    padding-bottom: .5em;   
}
.wpcf7 .select2-container--default .select2-selection--single .select2-selection__arrow{
    top: .7em !important;
}
.wpcf7 .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #FF0033 transparent transparent transparent;
    border-width: 8px 7px 0 7px;
    margin-left: -20px;
}
.wpcf7-form .wp-block-column:not(:first-child){
    margin-left: 2vw;
}
.inline-field .wpcf7-form-control-wrap{
    display: inline;
}
.message-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .15);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.message-wrapper .message{
    padding: 3rem;
    background: #ffffff;
    max-width: 600px;
    text-align: center;
}
.message-wrapper p{
    font-size: 1.1em;
    text-align: center;
    margin: 0;
}
.message-wrapper p.button-link{
    margin-bottom: 0;
    margin-top: 2em;
}
.button-tanca-popup:hover
{
    background: #fff;
}
.wpcf7 form.sent .wpcf7-response-output{
    border: none;
}

/* Store locator*/
#wpsl-search-wrap .wpsl-input, #wpsl-search-wrap .wpsl-select-wrap, #wpsl-search-wrap #wpsl-radius, #wpsl-search-btn, #wpsl-search-wrap #wpsl-radius, #wpsl-search-wrap #wpsl-results, #wpsl-search-wrap .wpsl-input input, #wpsl-search-wrap .wpsl-input label{
    display: flex;
    align-items: center;
}
.wpsl-search{
    background: none;
    padding: 0;
}
.wpsl-input label, #wpsl-radius label, #wpsl-category label{
    width: auto !important;
}
#wpsl-search-btn, #wpsl-search-wrap input[type="submit"]{
    width: 100%;
    box-sizing: border-box;
    padding: .7em 1em;
    font-size: 1em;
    border: none;
    font-family: 'ADPortsGroup', sans-serif;
    border: solid 1px #11325b;
    background: #FFFFFF;
    color: #11325b;
    margin-top: .5em;
}
#wpsl-search-btn:hover, #wpsl-search-wrap input[type="submit"]:hover{
    color: #FFFFFF;
    background: #11325b;
}
#wpsl-search-btn, #wpsl-search-wrap input{
    border-radius: 0;
}
#wpsl-search-wrap form{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}
#wpsl-search-wrap form>div{
    margin-bottom: 20px;
}
.wpsl-dropdown{
    border-radius: 0px;
}
a.wpsl-directions{
    display: block;
    font-weight: bold;
    font-size:1em;
    margin-top: 20px;
}
a#wpsl-direction-start{
    display: block;
    font-weight: bold;
    font-size:1em;
    margin-top: 20px;
}
#wpsl-search-btn, #wpsl-search-wrap div{
    margin: 0;
}
#wpsl-wrap #wpsl-result-list li{
    padding: 20px 0;
    margin-bottom: 50px;
}
#wpsl-search-wrap #wpsl-radius{
    margin-right: 30px;
}
#wpsl-search-input{
    margin-left: 8px;
}

/* FAQs */
.rank-math-list-item{
    overflow: hidden;
    border: solid 1px #11325b;
    padding: 1em;
}
.rank-math-list-item:not(:first-of-type){
    border-top: 0;
}
.rank-math-answer{
    height: 1px;
    transition: .2s;
    opacity: 0;
}
.open .rank-math-answer{
    height: 100%;
    opacity: 1;
}

/*shortcodes*/
/*wp-query*/
.wp-block-columns.wp-query{
    flex-flow: row wrap;
}
.wp-block-columns.wp-query .wp-block-column{
    flex-grow: 0;
    flex-basis: calc(100%/3 - (5%*2)/3 );
    margin-bottom: 3rem;
    display: block;
}
.wp-block-columns.wp-query .wp-block-column:not(:first-child){
    margin-left: 0;
}
.wp-block-columns.wp-query .wp-block-column:not(:nth-child(3n+1)){
    margin-left: 5%;
}


/* WOOCOMMERCE */

.woocommerce-page #content{
    margin-top: 50px;
}

/* cart popup */
.cart-popup-wrapper{
	position: fixed;
	width: 100%;
	height: 100%;
	top:0;
	left: 0;
	background: rgba(0,0,0,.5);
	z-index: 99;
	display: flex;
	justify-content: center;
	align-items: center;
}
.cart-popup{
	background: #fff;
	width: auto;
	height: auto;
	text-align: center;
    padding: 2em 2em 3em 2em;
    max-width: 700px;
	box-sizing: border-box;
}
.cart-popup-wrapper .tancar-popup.icon-tancar{
	height: 30px;
    width: 30px;
    cursor: pointer;
    float: right;
    transform: translate(10px, -10px);
}
.cart-popup-wrapper .tancar-popup.icon-tancar svg{
	height: 100%;
    width: 100%;
}
.cart-popup-wrapper button.tancar-popup{
    margin-top: 1em;
}
.cart-popup p:first-of-type{
    margin-top: 2em;
}

/* archive */
.product-category{
    position: relative;
    margin-bottom: 3rem;
    min-height: 50px;
}
.product-category .category-image{
    overflow: hidden;
}
.product-category .category-image img{
    width: 100%;
    height: auto;
    display: block;
    transition: .2s;
}
.category-name{
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    padding: 1em;
    background: rgba(61, 78, 86, .75);
    color: #ffffff;
    box-sizing: border-box;
    transition: .2s;
}
.product-category:hover .category-name{
    background: #c42a34;
}
.product-category:hover .category-image img{
    transform: scale(1.05);
}
.products-list .wp-block-column{
    margin-bottom: 3rem;
}
.product-wrapper{
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    margin-bottom: 0;
}
.product-wrapper .product-link{
    flex-grow: 1;
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}
.product-wrapper .product-link .wp-block-group{
    flex-grow: 1;
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}
.product-wrapper .product-link .wp-block-group .product-title{
    flex-grow: 1;
}
.products-list .wp-block-column{
    margin-bottom: 3rem;
}
.product-wrapper .product-title{
    margin-bottom: .25em;
    flex-grow: 1;
}
.product-short-description p{
    margin: 0;
    font-size: 1rem;
}
.product-wrapper .product-price{
    color: #c42a34;
}
.product-wrapper .wp-block-image{
    overflow: hidden;
}
.product-wrapper .wp-block-image img{
    transition: .2s;
    width: 100%;
    height: 100%;
}
.product-wrapper:hover .wp-block-image img{
    transform: scale(1.05);
}

.woocommerce form.cart{
    display: flex;
}
.woocommerce form.cart .button{
    border-radius: 0;
}
.woocommerce .quantity{
    border: solid 1px #11325b;
}
.woocommerce .quantity .qty{
    height: 100%;
    box-sizing: border-box;
    border: none;
}

ul.product-categories{
    padding-left: 15px;
}
ul.product-categories li{
    list-style: none;
    margin-bottom: 1em;
    margin-top: 1em;
}
ul.product-categories.main > li a{
    border-left: solid 4px #c42a34;
    padding-left: 10px;
    border-bottom: solid 1px #DDDDDD;
    width: 100%;
    display: block;
    padding-bottom: .3em;
    padding-top: .3em;
}
ul.product-categories.main ul.product-categories > li a{
    border-left: none;
    padding-left: 0;
    border-bottom: none;
    padding-bottom: 0;
}

ul.product-categories.main li.current > a,
ul.product-categories.main li > a:hover
{
    color: #c42a34;
}

/*Product single*/
.woocommerce #content div.product .summary-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    flex-flow: row wrap;
    height: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images{
    float: none;
    width: calc(100% - 350px);
    padding-right: 50px;
    box-sizing: border-box;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    justify-content: center;
}
.woocommerce #content div.product div.images .flex-viewport{
    height: 100% !important;
    width: calc(100% - 120px);
    order: 2;
}
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary{
    float: none;
    width: 350px;
    position: relative;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}
.woocommerce #content div.product .summary-wrapper h1{
    margin-bottom: 0;
}
.woocommerce #content div.product .summary-wrapper .product-content{
    margin: 0;
}
.woocommerce #content div.product .summary-wrapper .woocommerce-product-gallery__image img{
    max-width: 100%;
    max-height: 70vh;
    width: 70%;
    height: auto;
    margin: 0 auto;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a
{
    display: flex;
    align-items: center;
}

.woocommerce div.product p.price, .woocommerce div.product span.price{
    color: #11325b;
    font-size: 2.2em;
    margin: 0;
    font-family: 'ADPortsGroup', sans-serif;
}
.woocommerce .summary p.tax-info{
    margin: 0;
    font-size: .8em;
}
.woocommerce div.product form.cart{
    margin-top: 2em;
}
.woocommerce div.product form.cart .button,
.woocommerce-cart #content .wc-proceed-to-checkout a.checkout-button,
.woocommerce #content button.button.alt,
.woocommerce #content button.button,
#content .woocommerce button.button.alt,
#content .woocommerce button.button
{
    background: transparent;
    border: solid 1px #11325b;
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    text-align: center;
    font-weight: bold;
    color: #11325b;
    border-radius: 50px;
    display: block;
    font-family: 'ADPortsGroup', sans-serif;
    transition: .2s;
    float: none;
    box-sizing: border-box;
    width: 100%;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce-cart #content .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #content button.button.alt:hover,
.woocommerce #content button.button:hover,
#content .woocommerce button.button.alt:hover,
#content .woocommerce button.button:hover
{
    background: #11325b;
    color: #ffffff;
}
.woocommerce div.product div.images .flex-control-thumbs li{
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
}
.woocommerce div.product div.images .flex-control-thumbs{
    display: flex;
    justify-content: center;
    width: 120px;
    height: 100%;
    flex-flow: column;
    order: 1;
}
.woocommerce div.product div.images .flex-control-thumbs li img{
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    height: auto;
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    top: 50%;
    transform: translateY(-50%);
}
.woocommerce-notices-wrapper>div {
	display: flex;
	align-items: center;
	flex-flow: row-reverse wrap;
	justify-content: space-between;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error
{
    border: none;
    font-size: 1.2rem;
    line-height: 1.5rem !important;
    padding-left: 3.5em !important;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    justify-content: flex-start;
}
.woocommerce-message::before,
.woocommerce-info::before
{
    color: #F22434;
}
#content>.woocommerce{
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce button.button.alt,
.woocommerce button.button
{
    font-family: 'ADPortsGroup', sans-serif;
    border: solid 1px #11325b;
    background: #F22434;
    color: #11325b;
    border-radius: 40px;
    padding: 1rem 3rem;
    font-size: 1.3rem;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button:hover
{
    background: #F22434;
    color: #11325b;
    border-color: #F22434;
}
.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text{
    width: auto;
}
.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, .woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon{
    display: flex;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
    background: none;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
    float: none;
    display: block;
    margin: 2em auto;
}
.woocommerce-MyAccount-navigation li{
    font-size: 1.2em;
    margin-bottom: 1em;
}
.woocommerce .quantity .qty{
    height: 100%;
    box-sizing: border-box;
}
.woocommerce div.product form.cart{
    display: flex;
}


/*star rating for products*/
.rating-custom div.product .woocommerce-product-rating {
    margin-bottom: 1.618em;
}
.rating-custom .woocommerce-product-rating .star-rating {
    margin: .5em 4px 0 0;
    float: left;
}
.rating-custom .woocommerce-product-rating::after, .rating-custom .woocommerce-product-rating::before {
    content: ' ';
    display: table;
}
.rating-custom .woocommerce-product-rating {
    line-height: 2;
}
.rating-custom .star-rating {
    float: right;
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star;
}
.rating-custom .star-rating::before {
    content: '\73\73\73\73\73';
    color: #d3ced2;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}
.rating-custom .star-rating {
    line-height: 1;
    font-size: 1em;
    font-family: star;
}
.rating-custom .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}
.rating-custom .star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0;
}
.rating-custom .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}




/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    font-size: 1rem;
}

/* sharing box */
.sharing-box{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.sharing-box .share-button:not(:first-of-type){
    margin-left: 2em;
}
.sharing-box .share-button svg{
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    transition: .2s;
}
.sharing-box .share-button svg g{
    fill: #18355D;
}
.sharing-box .share-button:hover svg{
    transform: translateY(-5px);
}

.centered{
    text-align: center;
}

@media (max-height: 750px) { 

    /* REUSABLE BLOCKS */

    /* fullsize-blocks */
    .section .wp-block-columns .wp-block-column .icon{
        display: none;
    }
    .section .wp-block-columns .wp-block-column{
        align-self: flex-end !important;
    }
}

/* BREAKPOINTS */
@media (max-width: 1336px) {
    .padding-sides,
    .max-width
    {
        padding-left: 5%;
        padding-right: 5%;
    }
    .doc-styles>.wp-block-group,
    .doc-styles>p,
    .doc-styles>h1,
    .doc-styles>h2,
    .doc-styles>h3,
    .doc-styles>h4,
    .doc-styles>h5,
    .doc-styles>h6,
    .doc-styles>.wp-block-columns,
    .doc-styles>.wp-block-image,
    .doc-styles>.wp-block-gallery,
    .doc-styles>.content-area
    {
        padding-left: 5%;
        padding-right: 5%;
    }
    .doc-styles>ul,
    .doc-styles>ol{
        padding-left: 8%;
        padding-right: 8%;
    }

    /* header */
    #header{
        /* responsive-header-height */
        height: 60px;
    }
    #menu-button{
        display: flex;
    }
    #header #main-menu .menu-main-container,
    #header #search-button
    {
        display: none;
    }
    #cart-button{
        margin-right: 1rem;
        margin-left: 0;
    }
    #header .logo img,
    #header.slim .logo img
    {
        height: 35px;
        width: auto;
        transition: .2s;
    }

    #content{
        padding-top: 60px;
    }

    /* SEARCH */
    #search-page input{
        padding: .5em .5em .5em 1.3em;
        font-size: 1.5em;
    }
    #search-page svg{
        height: 1.3em;
        width: 1.3em;
    }

    /* slider draggable */
    .slider.draggable .slide{
        padding-left: 5%;
        padding-right: 5%;
    }

    /* Reusable blocks */
    .doc-styles>.wp-block-group.fullsize-blocks{
        padding-left: 0;
        padding-right: 0;
    }

    /* columnes-img-text */
    .columnes-img-text.wp-block-columns{
        flex-flow: row wrap;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 991px) {
    /* columns */
    .wp-block-columns{
        flex-flow: row wrap;
    }
    .wp-block-columns .wp-block-column {
        flex-basis: calc(50% - 1.5rem) !important;
        flex-grow: 0 !important;
        margin-left: 0;
        margin-bottom: 3rem;
    }
    .wpcf7-form .wp-block-columns .wp-block-column{
        margin-bottom: 0;
    }
    .wp-block-column:not(:nth-child(2n - 1)){
        margin-left: 3rem;
    }


    .wp-block-columns.cols-3 .wp-block-column{
        flex-basis: calc(50% - 1.5rem) !important;
        flex-grow: 0 !important;
        margin-left: 0;
        margin-bottom: 3rem;
    }
    .wp-block-columns.cols-3:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(3n-2){
        margin-left: 3rem;
    }
    .wp-block-columns.cols-3:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(2n-1){
        margin-left: 0;
    }

    /* reusable blocks */
    /* block-with-background */
    .block-with-background.wp-block-columns{
        flex-flow: column wrap;
    }
    .block-with-background .column-image{
        flex-basis: 100% !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    .block-with-background .column-text{
        position: relative;
        width: 100%;
        padding: 0;
        margin: 0;
        background: none;
    }
    .block-with-background .column-text p{
        margin-top: .5rem;
        margin-bottom: .5rem;
    }

     /* columnes-img-text */
     .columnes-img-text .wp-block-column{
        width: 100% !important;
        flex-basis: 100% !important;
        height: auto;
        overflow: hidden;
        margin-bottom: 0 !important;
    }
    .columnes-img-text .wp-block-column img{
        height: 100%;
        width: 100%;
        object-fit: center;
        object-fit: cover;
    }

    /* woocommerce */
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images{
        width: 100%;
        padding: 0;
    }
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary{
        width: 100%;
    }
    .woocommerce #content div.product div.images .flex-viewport{
        width: 100%;
    }
    .woocommerce div.product div.images .flex-control-thumbs{
        width: 100%;
        flex-flow: row wrap;
        order: 2;
        margin-top: 20px;
        justify-content: center;
    }
    .woocommerce div.product div.images .flex-control-thumbs li{
        width: 80px;
        height: 80px;
        margin-left: 10px;
        margin-right: 10px;
    }

    /* FOOTER */
    .footer-wrapper .bottom-bar{
        flex-flow: column wrap;
        align-items: flex-start;
    }
    .footer-wrapper .menu-footer{
        display: none;
    }
    #footer .top-bar ul li:not(:first-of-type)::before{
        content: '';
        display: none;
    }
    #footer .top-bar ul li{
        display: block;
        margin-bottom: 1rem;
    }
    .footer-wrapper .footer-info .wp-block-column:not(:last-of-type){
        border: none;
    }
    .footer-wrapper .footer-info .wp-block-column:not(:first-child) {
        padding-left: 0;
        padding-right: 0;
    }

}

@media (max-width: 811px) { 

    /* hide / show */
    .mobile{
        display: block;
    }
    .desktop{
        display: none;
    }

    /* columns */
    .wp-block-columns .wp-block-column{
        flex-basis: 100% !important;
    }
    .wp-block-column:not(:first-child),
    .wpcf7-form .wp-block-column:not(:first-child)
    {
        margin-left: 0;
    }

    .wp-block-columns.cols-3:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(3n-2){
        margin-left: 0;
    }

    /* header */
    #header > .wp-block-columns{
        padding-left: 5%;
        padding-right: 5%;
    }
    #menu-button{
        position: relative;
        padding-right: 0;
    }
    #cart-button{
        margin-right: .5rem;
    }


    /* ESTILS DOC */
    .doc-styles h1{
        font-size: 1.6em;
    }
    .doc-styles p,
    .doc-styles ul li,
    .doc-styles ol li
    {
        font-size: 1.1rem;
    }
    .doc-styles p.has-small-font-size{
        font-size: 0.9rem;
        font-weight: normal;
        line-height: 1.5em;
    }
    .doc-styles p.has-medium-font-size{
        font-size: 1.4rem;
        font-weight: normal;
        line-height: 1.33em;
    }
    .doc-styles p.has-large-font-size{
        font-size: 1.7rem;
        font-weight: normal;
        line-height: 1.33em;
    }
    .doc-styles p.has-huge-font-size{
        font-size: 2rem;
        font-weight: normal;
        line-height: 1.15em;
    }

    /* SIDEBAR */
    .content-with-sidebar-wrapper{
        display: flex;
        flex-flow: row wrap;
        position: relative;
    }
    .content-with-sidebar-wrapper #sidebar{
        width: 250px;
        margin-right: 50px;
    }
    .content-with-sidebar-wrapper #sidebar .sidebar-content{
        height: auto;
    }
    .content-with-sidebar-wrapper .content{
        width: calc(100% - 300px);
    }
    
    /* REUSABLE BLOCKS */
    /* page-header */
    .doc-styles .page-header h1{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    /* fullsize-blocks */
    .fullsize-blocks .wp-block-columns:nth-child(even){
        display: flex;
        flex-flow: column-reverse wrap;
    }
    .fullsize-blocks .wp-block-columns{
        margin-bottom: 2em;
        margin-top: 2em;
    }

    /*section*/
    .section .wp-block-columns .wp-block-column{
        align-self: center !important;
    }
    .section .wp-block-columns .wp-block-column.main-section{
        position: relative;
        z-index: 2;
        flex-basis: 100%;
    }
    .section .wp-block-columns .wp-block-column.text-column{
        position: relative;
        z-index: 2;
    }
    .section .wp-block-columns .wp-block-column.featured-img{
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(50%, -50%);
    }
    .section .wp-block-columns .wp-block-column.featured-img img{
        padding: 0;
        opacity: .17;
    }
    .section .next-section,
    .section .wp-block-columns .wp-block-column .icon
    {
        display: none;
    }
    .section.footer-replace{
        justify-content: flex-start;
        overflow: scroll;
    }
    .section .wp-block-columns .wp-block-column.main-section h1{
        padding-left: 20vw;
        padding-right: 10vw;
        font-size: 4em;
    }
    .doc-styles .section p.has-large-font-size{
        font-size: 1.8em;
    }

    /* .home-img-background */
    .home-img-background{
        height: auto;
    }
    .home-img-background .content-block{
        padding: 15vh 10vw 10vw 10vw;
        box-sizing: border-box;
    }
    .home-img-background .scroll-down{
        display: none;
    }

    /* home intro */
    .home-intro{
        height: auto;
        padding-top: 8em;
        padding-bottom: 5em;
    }

    /* text loop */
    .text-loop{
        margin-bottom: 1em;
    }

    /* slider draggable */
    .slider.draggable .slide{
        padding-left: 10%;
        padding-right: 10%;
    }

    /* slider arrows */
    .slider-wrapper.arrows .navigation{
        width: 50px;
        height: 50px;
        padding: 10px;
        top: auto;
        bottom: 0;
    }
    .slider-wrapper.arrows .slider-container {
        width: 100%;
    }

    #footer.footer-wrapper .footer-info .wp-block-column{
        margin-bottom: 35px;
    }

    .doc-styles p, .doc-styles ul li, .doc-styles ol li {
        font-size: 1rem;
    }
}

@media (max-width: 543px) { 
    .padding-sides,
    .max-width{
        padding-left: 10%;
        padding-right: 10%;
    }
    .doc-styles>.wp-block-group,
    .doc-styles>p,
    .doc-styles>h1,
    .doc-styles>h2,
    .doc-styles>h3,
    .doc-styles>h4,
    .doc-styles>h5,
    .doc-styles>h6,
    .doc-styles>.wp-block-columns,
    .doc-styles>.wp-block-image,
    .doc-styles>.wp-block-gallery,
    .doc-styles>.content-area
    {
        padding-left: 10%;
        padding-right: 10%;
    }
    .doc-styles>ul,
    .doc-styles>ol{
        padding-left: 13%;
        padding-right: 13%;
    }

    input[type="submit"],
    .button,
    .button-link a{
        min-width: 250px;
    }

    .hide-mobile{
        display: none;
    }
}