/*
Theme Name: lemagazine
Theme URI: https://lemagazine.es/
Version: 1.0
Description: Tema hijo de "WP Bootstrap Starter" para tener una base
Author: Arnau Giannoni
Author URI: https://www.hiexperiencedesign.com/
Template: wp-bootstrap-starter
*/
 
@import url("../wp-bootstrap-starter/style.css");

@font-face {
	font-family: "Telegraf";
	src: url("fonts/Telegraf/regular/Telegraf-Regular.otf") format("opentype"),
		 url("fonts/Telegraf/regular/Telegraf-Regular.woff") format("woff"),
		 url("fonts/Telegraf/regular/Telegraf-Regular.woff2") format("woff2");
}
@font-face {
	font-family: "Telegraf";
	src: url("fonts/Telegraf/ultraBold/Telegraf-UltraBold.otf") format("opentype"),
		 url("fonts/Telegraf/ultraBold/Telegraf-UltraBold.woff") format("woff"),
		 url("fonts/Telegraf/ultraBold/Telegraf-UltraBold.woff2") format("woff2");

    font-weight: bold;
}


@font-face {
	font-family: "TiemposHeadline";
	src: url("fonts/TiemposHeadline/light/TiemposHeadline-Light.otf") format("opentype"),
         url("fonts/TiemposHeadline/light/TiemposHeadline-Light.ttf") format("truetype"),
		 url("fonts/TiemposHeadline/light/TiemposHeadline-Light.woff") format("woff"),
		 url("fonts/TiemposHeadline/light/TiemposHeadline-Light.woff2") format("woff2");
}
@font-face {
	font-family: "TiemposHeadline";
	src: url("fonts/TiemposHeadline/medium/TiemposHeadline-Medium.otf") format("opentype"),
         url("fonts/TiemposHeadline/medium/TiemposHeadline-Medium.ttf") format("truetype"),
		 url("fonts/TiemposHeadline/medium/TiemposHeadline-Medium.woff") format("woff"),
		 url("fonts/TiemposHeadline/medium/TiemposHeadline-Medium.woff2") format("woff2");

    font-weight: bold;
}

:root {
    --body-color:   #F7F7F5;
    --black-color:  #222222;
    --white-color:  #FFFFFF;
    --accent-color: #FFBB9B;

    --title-font: "Telegraf", "TiemposHeadline", sans-serif;
    --text-font: "TiemposHeadline", "Telegraf", sans-serif;
}

/* GENERIC ELEMENTS */
body, html{
    min-width: 375px;

    font-family: var(--text-font);
    color: var(--black-color);
    font-size: 24px;
    font-weight: normal;
    
    letter-spacing: 0.025em;
	line-height: 1.7em;

    background-color: var(--body-color);
}
/* titles */
#page h1, #page .h1,
#page h2, #page .h2,
#page h3, #page .h3,
#page h4, #page .h4,
#page h5, #page .h5,
#page h6, #page .h6,
#page .title,
#page #main_navigation #main-nav > ul,
#page footer#colophon #footer-nav > ul,
#page blockquote > p,
#page .addtoany_content_bottom .addtoany_list a{
    color: inherit;
    font-size: 1.5em; /* 36px */
    font-weight: bold;
    line-height: 1.16em;
    letter-spacing: -0.5px;
    padding: 0;
}
#page h1, #page .h1,
#page h2, #page .h2,
#page h3, #page .h3,
#page h4, #page .h4,
#page h5, #page .h5,
#page h6, #page .h6,
#page .title{
    margin: 0 0 0.5em;
}
#page h1:not(:first-child), #page .h1:not(:first-child),
#page h2:not(:first-child), #page .h2:not(:first-child),
#page h3:not(:first-child), #page .h3:not(:first-child),
#page h4:not(:first-child), #page .h4:not(:first-child),
#page h5:not(:first-child), #page .h5:not(:first-child),
#page h6:not(:first-child), #page .h6:not(:first-child),
#page .title:not(:first-child){
    margin-top: 1.5em;
}
#page h1, #page .h1,
#page h2, #page .h2,
#page h3, #page .h3,
#page .title,
#page b, #page strong,
#page #main_navigation #main-nav > ul,
#page footer#colophon #footer-nav > ul,
#page .addtoany_content_bottom .addtoany_list a,
#page .btn{
    font-family: var(--title-font);
    letter-spacing: -0.1px;
    font-weight: bold;
}
#page b, #page strong{
    font-family: var(--text-font);
}
#page blockquote > p{
    font-family: var(--text-font);
    letter-spacing: 0;
}
#page h1, #page .h1{
    font-size: 2.9em; /* 70px */
}
#page h2, #page .h2,
#page h4, #page .h4,
#page #main_navigation #main-nav > ul,
#page footer#colophon #footer-nav > ul,
#page blockquote > p,
#page .addtoany_content_bottom .addtoany_list a{
    font-size: 2.35em; /* 56px */
}
#page h3, #page .h3,
#page #content.site-content #comments_wrapper .comments-title,
#page h5, #page .h5{
    font-size: 1.75em; /* 42px */
}
/* text */
#page p:last-child{
    margin-bottom: 0; 
}

#page small, #page .small,
#page .sub-footer{
    font-size: 0.66em; /* 16px */
    line-height: 1.4em;
}
#page big, #page .big,
#page blockquote > cite{
    font-size: 1.25em; /* 30px */
    line-height: 1.4em;
}
#page i,
#page blockquote > cite{
    font-style: italic;
    letter-spacing: 0;
}
/* Font Awesome icons */
#page i.fa, #page i.fab,
#page i.fad, #page i.fal,
#page i.far, #page i.fas{
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
}
#page i.fa + span, #page i.fab + span,
#page i.fad + span, #page i.fal + span,
#page i.far + span, #page i.fas + span{
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5em;
}
/* links */
#page a, #page a:hover, #page a:focus, #page a:visited, #page a:active{
    position: relative;
    display: inline;
    vertical-align: middle;
    overflow: hidden;
    line-height: inherit;
    color: inherit;
    text-decoration: none;
    outline: none;
}
/*
#page .nav > li > a:focus,
#page .nav > li > a:hover{
    background: none;
}
*/
#page .menu.nav > li{
    padding: 0 0.2em 0.4em;
}
#page .menu.nav > li:last-child{
    padding-bottom: 0;
}
#page .menu.nav > li > a{
    padding: 0;
}
/** NEW UNDERLINE EFFECT **
#page a,
#page a .underline-element{
    text-decoration: none;
    background: none;
    background-image: linear-gradient(currentColor,currentColor);
    background-position: -1px 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s;

    border-bottom: 1px solid currentColor;
}
#page a:hover,
#page a:hover .underline-element{
    background-size: 100% 2px;
}
/* link only hover/focus underline *
#page a.no-underline,
#page a.never-underline.no-underline .underline-element,
#page .menu.nav a,
#page .navbar-nav .menu-item:not(.current-menu-item) a,
#page #content.site-content .post .entry-header .entry-meta a,
#page .addtoany_content_bottom .addtoany_list a,
#page h1 a, #page .h1 a,
#page h2 a, #page .h2 a,
#page h3 a, #page .h3 a,
#page h4 a, #page .h4 a,
#page h5 a, #page .h5 a,
#page h6 a, #page .h6 a{
    border-bottom: none;
}
/* never underline *
#page a.never-underline,
#page a.never-underline:hover{
    background-size: 0% 2px;
    border-bottom: none;
}
/** OLD UNDERLINE EFFECT **/
#page a::before,
#page a::after,
#page a.never-underline .underline-element::before,
#page a.never-underline .underline-element::after,
#page .navigation.post-navigation a > span:not(.title)::after{
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0.1em;
    left: 0;
    
    width: 100%;
    height: 1px;
    background-color: currentColor;
    
    transition: all 0.5s cubic-bezier(1,0,0.29,1) 0.2s;
}
#page a::before,
#page a.never-underline .underline-element::before{
    z-index: 2;
    width: 20px;

    left: -20px;
    background-color: var(--body-color);
    transition: left 1s;
}
#page a:hover::before,
#page a.never-underline:hover .underline-element::before{
    left: 100%;
}
/* link only hover/focus underline */
#page a.no-underline::before,
#page a.never-underline.no-underline .underline-element::before,
#page .menu.nav a::before,
#page .navbar-nav .menu-item:not(.current-menu-item) a::before,
#page #content.site-content .post .entry-header .entry-meta a::before,
#page .addtoany_content_bottom .addtoany_list a::before,
#page h1 a::before, #page .h1 a::before,
#page h2 a::before, #page .h2 a::before,
#page h3 a::before, #page .h3 a::before,
#page h4 a::before, #page .h4 a::before,
#page h5 a::before, #page .h5 a::before,
#page h6 a::before, #page .h6 a::before{
    display: none;
}
#page a.no-underline:not(:hover)::after,
#page a.never-underline.no-underline:not(:hover) .underline-element::after,
#page .menu.nav a:not(:hover)::after,
#page .navbar-nav .menu-item:not(.current-menu-item) a:not(:hover)::after,
#page #content.site-content .post .entry-header .entry-meta a:not(:hover)::after,
#page .addtoany_content_bottom .addtoany_list a:not(:hover)::after,
#page h1 a:not(:hover)::after, #page .h1 a:not(:hover)::after,
#page h2 a:not(:hover)::after, #page .h2 a:not(:hover)::after,
#page h3 a:not(:hover)::after, #page .h3 a:not(:hover)::after,
#page h4 a:not(:hover)::after, #page .h4 a:not(:hover)::after,
#page h5 a:not(:hover)::after, #page .h5 a:not(:hover)::after,
#page h6 a:not(:hover)::after, #page .h6 a:not(:hover)::after,
#page .navigation.post-navigation a:not(:hover) > span:not(.title)::after{
    width: 0;
    left: auto;
    right: 0;
}
/* link without underline effect */
a.btn::before,
a.btn::after,
a.never-underline::before,
a.never-underline::after,
#page .navigation.post-navigation a::before,
#page .navigation.post-navigation a::after,
#page header#masthead a::before,
#page header#masthead a:not(.open-menu)::after,
#page .entry-header .entry-title a::before,
#page .entry-header .entry-title a::after{
    display: none;
}
/** END UNDERLINE EFFECT **/
/* img */
#page svg,
#page img{
    display: block;
    max-width: 100%;
    height: auto;
}
/* video */
#page video{
    display: block;
    height: 100%;
    width: 100%;
}
/* img as background */
#page .bg-image{
    position: relative;
    overflow: hidden;

    color: var(--white-color);
    background-color: var(--black-color);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#page .bg-image.with-content::before{
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;

    display: block;
    width: 100%;
    height: 100%;

    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.63) 100%);
}
#page .bg-image > *{
    position: relative;
    z-index: 3;
}
#page .bg-image > .img-element{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    display: block;
    width: 100%;
    height: 100%;

    font-size: 0;
    color: transparent;

    background-color: var(--black-color);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    transition: all 1s;
}
#page .bg-image.clickable:hover > .img-element,
#page a.bg-image > .img-element:hover{
    transform: scale(1.2);
}
#page .bg-image > .video-element::after{
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    display: block;
    width: 100%;
    height: 100%;

    background: var(--black-color);
    background: transparent;
}
#page .bg-image > .video-element > iframe{
    position: relative;
    top: -60px;

    display: block;
    width: 100%;
    height: 100%;
}
#page .bg-image > .video-element > video{
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    transform: translateY(-50%) translateX(-50%);
}
/* icon elements */
i.far,
i.far + *{
    display: inline-block;
    vertical-align: middle;
}
/* inputs and labels */
#page input,
#page input:hover,
#page input:focus{
    line-height: 1.4em;
    color: inherit;
    border-color: currentColor;
    border-radius: 0;
    background: none;
    outline: none;
    box-shadow: none;
}
#page input[type="checkbox"],
#page input[type="radio"],
#page label{
    cursor: pointer;
    vertical-align: middle;
}
/* others */
hr{
    border-color: currentColor;
}

/* Custom share content links */
#page .addtoany_content_bottom{
    margin: 3.5em auto 0;
    text-align: center;
}
#page .addtoany_content_bottom .addtoany_header{
    font-family: var(--title-font);
    font-size: 0.84em;
    margin: 0 auto 1em;
}
#page .addtoany_content_bottom .addtoany_list a{
    display: block;
    width: max-content;
    margin: 0 auto 0.1em;
    line-height: 0.8em;
}
#page .addtoany_content_bottom .addtoany_list a .a2a_svg{
    display: none;
}
#page .addtoany_content_bottom .addtoany_list a .a2a_label{
    display: inline-block;
    height: auto;
    width: auto;

    line-height: 1em;
    border-radius: 0;
    opacity: 1 !important;

    position: relative !important;
    clip: unset;
    clip-path: none;
    -webkit-clip-path: none;
}

/* SETTINGS OVER BOOTSTRAP */
#page .container{
    width: calc(100% - 80px) !important;
    max-width: 1840px;
    margin: 0 auto;
    padding: 0 4px;
}
#page .widget{
    font-size: 1em;
    margin: 0;
}
#page .btn, #page .btn:hover, #page .btn:focus, #page .btn:visited, #page .btn:active{
    padding: 0.5em 1.5em 0.4em;
    border-radius: 0;
    border-width: 2px;
    outline: none;
    box-shadow: none;
}
#page .btn-outline-secondary,
#page .btn-secondary:hover,
#page .btn-secondary:focus,
#page .btn-secondary{
    color: inherit;
    border-color: currentColor;
    background: none;
}
#page .btn-outline-secondary:hover,
#page .btn-outline-secondary:focus,
#page .btn-secondary{
    color: var(--white-color);
    border-color: var(--black-color);
    background: var(--black-color);
}

/* GENERIC CLASS */
#page .clickable{
    cursor: pointer;
}
/* background colors */
#page .bg-black,
#page .bg-black a::before{
    background-color: var(--black-color);
    color: var(--body-color);
}
#page .bg-black .btn-outline-secondary:hover,
#page .bg-black .btn-outline-secondary:focus,
#page .bg-black .btn-secondary{
    color: var(--black-color);
    border-color: var(--white-color);
    background: var(--white-color);
}
#page .bg-white,
#page .bg-white a::before{
    background-color: var(--white-color);
    color: var(--black-color);
}
/* text colors */
#page .color-black{
    color: var(--black-color);
}
#page .color-white{
    color: var(--white-color);
}
#page .color-accent{
    color: var(--accent-color);
}

/* FULL VIEDO MODALS */
#page .modal.full-video,
#page .modal.full-video > .modal-content{
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0 !important;
    border: none;
    border-radius: 0;
}
#page .modal.full-video > .modal-content > .modal-header,
#page .modal.full-video > .modal-content > .modal-footer{
    position: absolute;
    z-index: 2;
    left: 0;
    width: 100%;

    border: none;
    color: var(--body-color);
    font-family: var(--title-font);
    letter-spacing: -0.1px;
    mix-blend-mode: difference;
}
#page .modal.full-video > .modal-content > .modal-header{
    top: 0;
}
#page .modal.full-video > .modal-content > .modal-footer{
    bottom: 0;
}
#page .modal.full-video > .modal-content > .modal-header .btn-close{
    display: inline-block;
    margin: 0 auto;

    border: none;
    background: none;
    outline: none;
    
    color: currentColor;
    font-size: 30px;
}
#page .modal.full-video > .modal-content > .modal-body,
#page .modal.full-video > .modal-content > .modal-body > iframe{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
/*#page .modal.full-video > .modal-content > .modal-body > video{
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    transform: translateY(-50%) translateX(-50%);
}*/

/* HEADER */
#page header#masthead{
    position: absolute;
    z-index: 100;
    top: 0px;
    left: 0px;

    display: block;
    width: 100%;
    height: 90px;
    margin: 0;
    padding: 0;

    color: var(--body-color);
    font-family: var(--title-font);
    letter-spacing: -0.1px;
    font-size: 1.2em;
    font-weight: normal;

    background: none;
    box-shadow: none;
    
    mix-blend-mode: difference;
}
#page header#masthead.sticky{
    position: fixed;
    top: -100%;
}
#page header#masthead.sticky.move{
    transition: top 0.3s;
}
#page header#masthead.sticky.up{
    top: 0;
}
#page #main_navigation,
#page #page-sub-header,
body:not(.single-post) #page #content.site-content.not-sub-header{
    padding-top: 90px;
}
#page header#masthead > .container{
    height: 100%;
}
#page header#masthead > .container > .row{
    align-items: center;
    justify-content: center;

    height: 100%;
    margin: auto;
    padding: 0;
    border-bottom: 1px solid var(--body-color);
}
#page header#masthead > .container > .row > *{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    padding: 0;
}
#page header#masthead > .container > .row > *:first-child{
    align-items: flex-start;
    text-align: left;
}
#page header#masthead > .container > .row > *:last-child{
    align-items: flex-end;
    text-align: right;
}
#page header#masthead .open-menu {
    min-height: 1em;
    line-height: 1em;
    padding-left: 35px;
}
#page header#masthead .open-menu > *{
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}
#page header#masthead .open-menu::before,
#page header#masthead .open-menu > .icon-burger {
    position: absolute;
    left: 0;

    display: block;
    width: 26px;

    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transition: width 0.5s cubic-bezier(1,0,0.29,1) 0.2s;
}
#page header#masthead .open-menu::before{
    content: '';

    top: calc(50% - 1px);
    height: 0;

    border-bottom: none;
}
#page header#masthead .open-menu > .icon-burger {
    top: calc(50% - 7px);
    height: 14px;
}
#page header#masthead .open-menu.opened > .icon-burger {
    width: 0;
}
#page header#masthead .open-menu:not(.opened)::before{
    width: 20px;
}
#page header#masthead .open-menu > .underline-element,
#page header#masthead > .container > .row > .col-0{
    opacity: 1;
    transition: opacity 0.5s, background-size 0.3s;
}
#page header#masthead .open-menu.opened > .underline-element,
#page header#masthead > .container > .row.opened-menu > .col-0{
    opacity: 0;
}
#page header#masthead .site-title,
#page header#masthead .site-title > *{
    display: inline-block;
    vertical-align: inherit;
    margin: 0 auto;
    padding: 0;
    
    /*font-size: 1.17em;*/
    line-height: 1.4em;
    font-weight: normal;
    letter-spacing: 0.025em;
    color: inherit;
}
body:not(.home) #page header#masthead .home-title,
#page header#masthead.sticky .home-title,
#page header#masthead:not(.sticky) .home-title + .site-title{
    display: none;
}
#page header#masthead .site-title .name > .slash{
    position: relative;

    display: inline-block;
    vertical-align: middle;
    width: 0.7em;

    /*font-size: 0;*/
    color: transparent;
}
#page header#masthead .site-title .name > .slash::after{
    content: '';
    position: absolute;
    top: calc(100% - 0.8em);
    left: -0.1em;

    display: block;
    width: 1em;
    height: 2px;

    background-color: var(--body-color);
    -ms-transform: rotate(-60deg); /* IE 9 */
    transform: rotate(-60deg);
}
#page header#masthead .site-title > * > svg + .name{
    display: none;
}
#page header#masthead .site-title svg,
#page header#masthead .hotel-link svg{
    max-width: 10em;
}
#page header#masthead .site-title svg{
    margin-bottom: -2px;
}
#page header#masthead .hotel-link > *{
    display: inline-block;
    vertical-align: middle;
}   

/* HEADER NAVIGATION MENU */
#page #main_navigation{
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;

    display: none;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-bottom: 80px;
    
    background: var(--black-color);
    color: var(--body-color);
}
#page #main_navigation .navigation-wrraper{
    display: flex;
    flex-direction: column;
    height: 100%;
}
#page #main_navigation .navigation-title{
    color: inherit;
    font-size: 1em;
    margin: 0.5em auto 1.5em;
}
#page #main_navigation .navigation-title .name{
    display: none;
}
#page #main_navigation .navigation-body{
    overflow: auto;
    padding-bottom: 40px;
}
#page #main_navigation .navigation-body #main-nav > ul > li + li{
    margin-top: 0.3em;
}
#page #main_navigation .navigation-footer{
    position: fixed;
    bottom: 0;
    left: 0;

    display: block;
    width: 100%;

    background: var(--black-color);
}
#page #main_navigation .navigation-footer .sub-footer{
    border-top: 1px solid currentColor;
    padding-bottom: 1.5em;
}

/* SUB HEADER */
#page #page-sub-header{
    background: transparent;
    font-size: 1em;
}
#page #page-sub-header .page-title{
    color: inherit;
    font-size: 1em;
    margin: 0.5em auto 1.5em;
}
#page #page-sub-header .page-title > span.name{
    display: none;
}

/* SUB FOOTER (used in menu) */
#page .sub-footer{
    font-family: var(--title-font);
    letter-spacing: -0.1px;
    font-weight: normal;
}
#page .sub-footer > .row > *{
    padding-top: 1em;
    text-align: center;
}
#page .sub-footer > .row > *:first-child{
    text-align: left;
}
#page .sub-footer > .row > *:last-child{
    text-align: right;
}
#page .sub-footer > .row > * > *{
    display: inline-block;
    vertical-align: middle;
}
#page .sub-footer .copyright{
    font-size: 1em;
    text-align: left;
}
#page .sub-footer .menu.nav,
#page .sub-footer .menu.nav > li{
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}
#page .sub-footer .textwidget > *,
#page .sub-footer .menu.nav > li,
#page .sub-footer .menu.nav > li:last-child{
    padding: 0 0.2em 0.7em;
}

/* FOOTER */
#page footer#colophon{
    margin: 80px auto 20px;
    font-family: var(--title-font);
    letter-spacing: -0.1px;
    font-size: 1em;
    color: var(--black-color);
}
#page footer#colophon > .container > *{
    border-top: 1px solid currentColor;
}
#page footer#colophon #footer-nav{
    margin: 0 auto;
    padding: 3em 0;
    text-align: center;
}
/*
#page footer#colophon #footer-nav ul li + li{
    padding-top: 0.3em;
}
*/
/* mailchimp form */
#page .mailchimp-wrapper .mc4wp-form-fields{
    font-family: var(--title-font);
    letter-spacing: -0.1px;
    max-width: 35em;
    margin: 0 auto;
    padding: 3em 0;

    text-align: center;
}
#page .mailchimp-wrapper .mc4wp-form-fields .title{
    max-width: 20em;
    margin: 0 auto 1.6em;
}
#page .mailchimp-wrapper .mc4wp-form-fields input[type="email"],
#page .mailchimp-wrapper .mc4wp-form-fields input[type="text"]{
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;

    border: none;
    border-bottom: 1px solid currentColor;
}
#page .mailchimp-wrapper .mc4wp-form-fields .row{
    align-items: center;
    justify-content: center;
}
#page .mailchimp-wrapper .mc4wp-form-fields .row > *:first-child{
    text-align: left;
    padding-right: 0;
}
#page .mailchimp-wrapper .mc4wp-form-fields .row > .btn-wrapper{
    max-width: 210px;
    margin: 0 auto;
    text-align: right;
}
#page .mailchimp-wrapper .mc4wp-form-fields .row > .btn-wrapper > .btn{
    display: block;
    width: 100%;
}
#page .mailchimp-wrapper .mc4wp-form-fields .row > .inputs > *{
    margin: 0;
}
#page .mailchimp-wrapper .mc4wp-form-fields .row > .inputs > * + *{
    margin-top: 0.7em;
}

/* CONTENT */
#page #content.site-content{
    padding: 0;
    overflow-x: hidden;
}
/* post element */
#page #content.site-content .post-wrapper{
    padding: 0;
    margin: 0 0 5em;
}
#page #content.site-content .post{
    position: relative;
    margin: 0 auto 5em;
    padding: 0 15px 20px;
    text-align: left;
}
#page #content.site-content .post-wrapper > .post{
    margin-bottom: 0;
}
#page #content.site-content .post-wrapper::after,
#page #content.site-content .post::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;

    display: block;
    width: calc(100% - 30px);
    height: 1px;

    background: currentColor;
}
#page #content.site-content .post-wrapper > .post::after{
    display: none;
}
#page #content.site-content .post .post-thumbnail{
    display: block;
    width: 100%;
    height: 115vw;
    max-height: calc(100vh - 5em);
    min-height: 12em;
}
#page #content.site-content .first-posts-wrapper .post .post-thumbnail .video-element > iframe,
#page #content.site-content .post-wrapper > .post .post-thumbnail .video-element > iframe{
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    height: 63vw;
    max-height: 1200px;
    
    width: calc(63vw * 1.77);
    max-width: calc(1200px * 1.77);
}
#page #content.site-content .post-wrapper > .post .read-more strong{
    font-family: var(--title-font);
}
#page #content.site-content .post .entry-header .entry-meta{
    font-family: var(--title-font);
    letter-spacing: -0.1px;
    padding: 0.5em 0;
    font-size: 0.84em; /* 20px */
    line-height: 1.4em;
}
#page #content.site-content .post .entry-header .entry-meta .separator{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    width: 25px;
    height: 30px;
    margin: 0;
    padding: 0;

    color: transparent;
    font-size: 0;
}
#page #content.site-content .post .entry-header .entry-meta .separator::after{
    content: '';
    position: absolute;
    top: 0px;
    left: 12px;

    display: block;
    width: 2px;
    height: 100%;
    background: var(--accent-color);

    -ms-transform: rotate(35deg); /* IE 9 */
    transform: rotate(35deg);
}
#page #content.site-content .post .entry-header .entry-title{
    margin: 0;
    padding: 0;
    border: none;
}
/* Posts loop paginator */
#page #content.site-content .posts-loop-wrapper{
    text-align: center;
}
#page #content.site-content .posts-loop-wrapper > .navigation{
    margin: 0 auto 80px;
}
#page #content.site-content .posts-loop-wrapper > .navigation > .screen-reader-text{
    display: none;
}
#page #content.site-content .posts-loop-wrapper > .navigation > .nav-links::after{
    content: '';
    display: block;
    clear: both;
}
#page #content.site-content .posts-loop-wrapper > .navigation > .nav-links > .nav-previous{
    text-align: left;
}
#page #content.site-content .posts-loop-wrapper > .navigation > .nav-links > .nav-next{
    text-align: right;
}
/* ajax pagination */
#page #content.site-content .posts-loop-wrapper > .load-more{
    display: inline-block;
    margin: 0 auto 80px;

    font-family: var(--title-font);
    line-height: 1em;
}
#page #content.site-content .posts-loop-wrapper > .load-more strong{
    font-family: var(--title-font);
}
/* normal post navigation */
#page .navigation.post-navigation a::after,
#page .navigation.post-navigation a::before{
    display: none;
}
#page .navigation.post-navigation .nav-links > *{
    width: calc(50% - 20px);
}
#page .navigation.post-navigation a{
    border: none;
    border-radius: 0;
    display: inline-block;
    padding: 0;
    text-decoration: none;
    background: none;
}
#page .navigation.post-navigation a[rel="prev"]::before,
#page .navigation.post-navigation a[rel="next"]::before{
    content: '';
    position: absolute;
    top: 0;
    left: auto;
    right: auto;
    bottom: auto;
    
    display: block;
    width: 0.4em;
    height: 1.7em;

    transition: none;

    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
}
#page .navigation.post-navigation a[rel="prev"]::before{
    left: 0;
    background-image: url('img/icon-prev.svg');
    background-position: left center;
}
#page .navigation.post-navigation a[rel="next"]::before{
    right: 0;
    background-image: url('img/icon-next.svg');
    background-position: right center;
}
#page .navigation.post-navigation a > span{
    position: relative;
    display: inline-block;
}
#page .navigation.post-navigation a > .prev,
#page .navigation.post-navigation a > .next{
/* new underline effect
    background-image: linear-gradient(currentColor,currentColor);
    background-position: -1px 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s;
*/

    font-family: var(--title-font);
    letter-spacing: -0.1px;
    margin-bottom: 1em;
}
#page .navigation.post-navigation a > .prev{
    padding-left: 0.7em;
}
#page .navigation.post-navigation a > .next{
    padding-right: 0.7em;
}
#page .navigation.post-navigation a > .title{
    display: block;
    margin: 0;
}
/* new underline effect
#page .navigation.post-navigation a:hover > .prev,
#page .navigation.post-navigation a:hover > .next{
    background-size: 100% 2px;
}
*/
/* Full post like banner */
#page #content.site-content .full-posts-wrapper .post{
    display: flex;
    flex-direction: column;

    align-items: flex-end;
    justify-content: flex-end;

    height: 1079px;
    max-height: 75vh;
    min-height: 25em;

    padding: 80px 15px;
}
#page #content.site-content .full-posts-wrapper .post .video-element > iframe{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    height: 60vw;
    min-height: calc(100vh + 60px);

    width: 100vw;
    min-width: calc(180vh + 60px);
}
#page #content.site-content .full-posts-wrapper .post .video-element > video{
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    transform: translateY(-50%) translateX(-50%);
}
#page #content.site-content .full-posts-wrapper .post .entry-header{
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 0 80px;
    text-align: center;
}
#page #content.site-content .full-posts-wrapper .post .entry-header::before,
#page #content.site-content .full-posts-wrapper .post .entry-header::after{
    content: '';
    position: absolute;

    display: block;
    width: 2px;
    background: var(--accent-color);

    -ms-transform: rotate(35deg); /* IE 9 */
    transform: rotate(35deg);
}
#page #content.site-content .full-posts-wrapper .post .entry-header::before{
    top: 0;
    right: calc(50% - 60px);
    height: 100px;
}
#page #content.site-content .full-posts-wrapper .post .entry-header::after{
    bottom: 0;
    left: calc(50% - 90px);
    height: 80px;
}
#page #content.site-content .full-posts-wrapper .post .entry-header .entry-meta .separator{
    width: 15px;
}
#page #content.site-content .full-posts-wrapper .post .entry-header .entry-meta .separator::after{
    display: none;
}

/* CATEGORY PAGE */
body.archive #page #content.site-content #main > .page-header{
    text-align: center;
    margin: 1em auto 3em;
}
body.archive #page #content.site-content #main > .page-header .page-title{
    margin-bottom: 0;
    padding-bottom: 0;
}
body.archive #page #content.site-content #main > .page-header .archive-description{
    margin-top: 1em;
}

/* POST PAGE */
body.single-post #page #content.site-content #main > .post{
    margin: 0;
    padding: 0 0 4em;
    background: #FFF;
}
body.single-post #page #content.site-content #main > .post .post-thumbnail{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    height: calc(100vh - 15em);
    max-height: none;
}
body.single-post #page #content.site-content #main > .post .post-thumbnail .video-element > iframe{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    
    height: 60vw;
    min-height: calc(100vh - 15em);
    
    width: 100vw;
    min-width: calc(180vh - 15em);
}
body.single-post #page #content.site-content #main > .post .post-thumbnail .video-element > video{
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    transform: translateY(-50%) translateX(-50%);
}
body.single-post #page #content.site-content #main > .post .entry-header{
    text-align: center;
    padding: 1.7em 0;
}
body.single-post #page #content.site-content #main > .post::after{
    position: relative;
    left: auto;
    margin: 4em auto 0;
}
body.single-post #page #content.site-content #main > .post::after,
body.single-post #page #content.site-content #main > .post .entry-header,
body.single-post #page #content.site-content #main > .post .entry-content > *,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image > *:not(.size-full),
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed:not(.aligncenter) > *{
    width: calc(100% - 110px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
body.single-post #page #content.site-content #main > .post .entry-content h2,
body.single-post #page #content.site-content #main > .post .entry-content .h2{
    font-family: var(--text-font);
	font-size: 1.8em;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-gallery,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed{
    margin: 4em auto;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image:first-child,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-gallery:first-child,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed:first-child{
    margin-top: 0;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image:last-child,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-gallery:last-child,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed:last-child{
    margin-bottom: 0;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed.aligncenter{
    width: 100%;
    max-width: none;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image > figure,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed > .wp-block-embed__wrapper{
    margin-top: 0;
    margin-bottom: 0;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image > .size-full,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-image > .size-full > img,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed.aligncenter > .wp-block-embed__wrapper,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed > .wp-block-embed__wrapper > iframe{
    width: 100%;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed > .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed > .wp-block-embed__wrapper > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-gallery,
body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed:not(.aligncenter){
    max-width: 1840px;
}
body.single-post #page #content.site-content #main > .post .entry-content > blockquote{
    position: relative;
    text-align: center;
    margin: 4em auto;
}
body.single-post #page #content.site-content #main > .post .entry-content > blockquote::before{
    content: '';
    display: block;
    width: 5em;
    height: 4.5em;
    margin: 0 auto 1.5em;

    opacity: 0.1;
    background: url('img/icon-comillas.svg') no-repeat center center;
    background-size: contain;
}
body.single-post #page #content.site-content #main > .post .entry-content > blockquote > p{
    margin-bottom: 0;
}
body.single-post #page #content.site-content #main > .post .entry-content > blockquote > cite{

}
body.single-post #page #content.site-content #main > .post .entry-content > blockquote > cite::before{
    content: '';
    display: block;
    width: 2px;
    height: 67px;
    margin: 20px auto;
    background: var(--accent-color);
}
/* posts navegation menú */
body.single-post #page #content.site-content #main > .navigation-wrapper{
    background: #FFF;
}
body.single-post #page #content.site-content #main > .navigation-wrapper .navigation.post-navigation{
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 0 4.5em;
}
/* Comments and Related posts */
#page #content.site-content #comments_wrapper,
#page #content.site-content #related_posts,
body.error404 #page .first-posts-wrapper{
    padding-top: 4em;
}
#page #content.site-content #related_posts .title,
body.error404 #page .first-posts-wrapper .title{
    margin-bottom: 2.5em;
    text-align: center;
    font-weight: normal;
}

/* DEFAULT PAGE */
body.page-template-default #content #main > .container{
    margin-top: 2em;
} 
body.page-template-default #content #main > .container .entry-header .entry-title{
    text-align: center;
    border: none;
}
body.page-template-default #content #main > .container .entry-content > *:not(.wp-block-image):not(figure):not(video){
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* to big */
@media (min-width: 768px){
    /* Posts in two columns */
    #page #content.site-content .post .post-thumbnail{
        height: 63vw;
        max-height: 1200px;
    }
}
@media (min-width: 992px){
    /* First posts home in three columns */
    #page #content.site-content .first-posts-wrapper .post .post-thumbnail{
        height: 43vw;
        max-height: 810px;
    }
}
@media (min-width: 1110px){
    /* post embed videos with fixed size */
    body.single-post #page #content.site-content #main > .post .entry-content > .wp-block-embed:not(.aligncenter) > .wp-block-embed__wrapper{
        padding-bottom: 562px;
    }
}

/* to small */
@media (max-width: 1900px){
    /* responsive font */
    body, html{
        font-size: 1.3vw;
    }
}
@media (max-width: 1400px){
    /* minium font size */
    #page small, #page .small,
    #page .sub-footer{
        font-size: 14px;
    }
}
@media (max-width: 1365px){
    /* change sub-footer height in menu */
    #page #main_navigation{
        padding-bottom: 100px;
    }
}
@media (max-width: 1150px){
    /* responsive font */
    body, html{
        font-size: 1.5vw;
    }
    #page h1, #page .h1{
        font-size: 2.6em;
    }
    #page h2, #page .h2,
    #page h4, #page .h4,
    #page #main_navigation #main-nav > ul,
    #page footer#colophon #footer-nav > ul,
    #page blockquote > p,
    #page .addtoany_content_bottom .addtoany_list a{
        font-size: 2.1em;
    }
    #page h3, #page .h3,
    #page #content.site-content #comments_wrapper .comments-title,
    #page h5, #page .h5{
        font-size: 1.5em;
    }
    #page h6, #page .h6,
    #page .title{
        font-size: 1.3em;
    }
    #page big, #page .big{
        font-size: 1.1em;
    }
}
@media (max-width: 1079px){
    /* custom header columns */
    #page header#masthead > .container > .row{
        position: relative;
    }
    #page header#masthead > .container > .row > *{
        z-index: 1;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    #page header#masthead > .container > .row > .col-0{
        position: absolute;
        z-index: 2;
        top: 0;
        left: 35px;

        display: none;
        width: auto;
        height: 100%;
        margin: auto;
    }
    #page header#masthead > .container > .row > .col-0 > *{
        margin: 0;
    }
    body:not(.home) #page header#masthead > .container > .row .open-menu > .underline-element,
    #page header#masthead.sticky > .container > .row .open-menu > .underline-element{
        display: none;
    }
    body:not(.home) #page header#masthead > .container > .row > .col-0{
        display: flex;
    }
    #page header#masthead.sticky > .container > .row > .col-0{
        display: inline-block;
    }
}
@media (max-width: 999px){
    #page .container{
        width: calc(100% - 30px) !important;
    }
    body.single-post #page #content.site-content #main > .post .entry-header,
    body.single-post #page #content.site-content #main > .post .entry-content > *{
        width: calc(100% - 60px);
    }
}
@media (max-width: 991px){
    /* remove posts columns */
    #page #content.site-content .first-posts-wrapper .post .post-thumbnail .video-element > iframe{
        height: calc(100% + 110px);
        width: 160vh;
        min-width: 100%;
    }

    /* change sub-footer height in menu */
    #page #main_navigation{
        padding-bottom: 210px;
    }

    /* remove sub-footer columns */
    #page .sub-footer{
        font-weight: normal;
    }
    #page .sub-footer .menu.nav a{
        font-weight: bold;
    }
    #page .sub-footer > .row{
        flex-direction: column;
    }
    #page .sub-footer > .row > *{
        order: 2;
        margin: 0 auto;
        padding-top: 2em;
        text-align: center !important;
    }
    #page .sub-footer > .row > *:last-child{
        order: 1;
    }
    #page .sub-footer > .row > *:first-child{
        order: 3;
    }
    #page .sub-footer > .row > * > *{
        display: block;
    }
    #page .sub-footer > .row > * > * + *{
        padding-top: 0.5em;
    }
    #page .sub-footer .textwidget > *,
    #page .sub-footer .menu.nav > li,
    #page .sub-footer .menu.nav > li:last-child{
        padding: 0 0.5em 1.5em;
    }

    /* remove footer in menu */
    #page #main_navigation .navigation-footer{
        display: none !important;
    }
}
@media (max-width: 950px){
    /* responsive font */
    body, html{
        font-size: 2.5vw;
    }
    #page h1, #page .h1{
        font-size: 2em;
    }
    #page h2, #page .h2,
    #page h4, #page .h4,
    #page #main_navigation #main-nav > ul,
    #page footer#colophon #footer-nav > ul,
    #page blockquote > p,
    #page .addtoany_content_bottom .addtoany_list a,
    #page h3, #page .h3,
    #page #content.site-content #comments_wrapper .comments-title,
    #page h5, #page .h5{
        font-size: 1.7em;
    }
}
@media (max-width: 767px){
    /* responsive font */
    body, html{
        font-size: 2.6vw;
    }
    #page header#masthead .open-menu{
        font-size: 0.8em;
    }
    #page header#masthead .site-title svg{
        max-width: 5.5em;
    }
    #page header#masthead .hotel-link svg{
        max-width: 7em;
    }

    /* reduce header height */
    #page header#masthead{
        height: 70px;
    }
    #page #main_navigation,
    #page #page-sub-header,
    body:not(.single-post) #page #content.site-content.not-sub-header{
        padding-top: 70px;
    }
    
    /* remove posts columns */
    #page #content.site-content .post-wrapper > .post .post-thumbnail .video-element > iframe{
        height: calc(100% + 110px);
        width: calc(100vw - 30px);
        min-width: 100%;
    }

    /* remove sub-footer menu columns */
    #page .sub-footer > .row > *{
        max-width: 320px;
    }
    #page .sub-footer .menu.nav,
    #page .sub-footer .menu.nav > li{
        display: block;
    }
}
@media (max-width: 732px){
    body, html{
        font-size: 19px;
    }
    #page .container{
        width: calc(100% - 30px) !important;
    }

    /* post column gallery without columns */
    #page .blocks-gallery-grid .blocks-gallery-image,
    #page .blocks-gallery-grid .blocks-gallery-item,
    #page .wp-block-gallery .blocks-gallery-image,
    #page .wp-block-gallery .blocks-gallery-item{
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 575px){
    #page .mailchimp-wrapper .mc4wp-form-fields .row > .col-sm:first-child{
        padding-right: 15px;
    }
    #page .mailchimp-wrapper .mc4wp-form-fields .row > .col-sm + .col-sm{
        margin-top: 1em;
    }
}
@media (max-width: 500px){
    #page header#masthead .site-title svg{
        max-width: 4.5em;
    }
    #page header#masthead .hotel-link svg{
        max-width: 5.5em;
    }
}