/*
Theme Name: casalola
Author: Daniel «Cancrexo» Prol
Author URI: https://cancrexo.com/
Description: Theme from Scratch
Version: 1.0
License: Uso interno
Text Domain: hostalcasalola
*/


/*Media break-points 1200, 1024, 768 e algun retoque 480*/

:root{
    --negro:#111827;
    --ocre:#3d2b2b;
    --verde:#366251;
    --amarillo:#ffca82; /*Sobre verde*/
    --blanco-roto:#eae8e8;
    --elgris:#d7d5d5;
    --gris-gmaps:#f8f8f8;
    --overlay:#3d2b2b; /*overlay*/
}

* {
    box-sizing: border-box;
}


html {
    font-size: 62.5%;
    height: auto;
    min-height: 100%;
}

body,
html {
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    /*100%;*/
}

body {
    font-family: "Poppins", sans-serif; /*usar poppins*/
    position: relative;
    font-size: 10px;
    color: var(--negro);
    height:100%; /*Para que os child hereden!*/
    min-height: 100vh;
    background-color: #c4c4c4;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.content-width{
    max-width: 1536px;
    width:100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* .seccion-inclinada-lr {
    position: relative;
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%) !important;
}
 */


 /*Aplicar padding cando se use*/
/* .seccion-inclinada-rl {
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%) !important;

} */

.separadorfinal-inclinado-lr {
    position: relative;
    overflow: visible;
}

.separadorfinal-inclinado-lr::after {
    content: "";
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    z-index: 1;
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%);
    pointer-events: none;
}

.separador-blanco::after{background-color: var(--blanco-roto);}
.separador-verde::after{ background-color: var(--verde); }




.text-white{ color:var(--blanco-roto); }
.text-black{ color:var(--negro); }
.sjb-rounded{
    border-radius: 1rem;
}

img.sjb-rounded{
    display:inline-block;
    width:100%;
    height:auto;
    border-radius: 1rem;
}

.sjb-cuadrado-img {
    display:inline-block;
    width: 90%;
    aspect-ratio: 1/1;
    max-width: 400px; /*Responsive*/
    position: relative ;
    overflow: hidden;
    margin: 1rem  auto;
    /* transform: translateX(50%); */
    /* margin-left: -50%;  */


}
.sjb-cuadrado-img img{
    display:inline-block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


.d-flex  .wpb_wrapper   {
    text-align:center;


}

/* .justify-space-around >.vc_column-inner > .wpb_wrapper{
    display: flex !important;
    justify-content: space-around  !important;
    align-items: center  !important;
    border:2px dashed #c00 !important;
} */

header{
    position: fixed;
    top:0;
    left:0;
    z-index:1000;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    background-color: transparent;
    height:190px;
    transition: background-color 0.125s ease, height 0.2s ease;
    /* border-bottom:1px solid #00000055; */
}
body:not(.page-template-page-legal).scrolled header,
body.page-template-page-legal header{
    background-color: var(--blanco-roto);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    height:80px;
}

/* body.page-template-page-legal header{} */

header > div.content-width{
     height:100%;
     display:flex;
     justify-content: center;
     align-items: center;
}
/* body.page-template-page-legal header > div.content-width{
    justify-content: center;
} */
header .logo {
    display:block;
    height:60%;
}

header .logo a{
    height: 100%;
    display:block;
}
body.page-template-page-legal header .logo img,
header .logo a img {
    width: auto;
    height: 100%;
}
header  .logo a img.scrolled{
    display: none;
}
header .contacto{

    margin-left: auto;
    padding-right:4vw;
}
header .contacto a{
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    padding:0;
    color: var(--blanco-roto);
    transition: all 0.2s ease-in-out;
}
header .contacto a > i{
    margin-right: 0.5em;
}

header .contacto a:hover{
    color: var(--negro);
}
body.scrolled header  .logo a img.desktop{
    display: none;
}

body.scrolled header  .logo a img.scrolled{
    display: inline-block;
}


body.scrolled header .contacto a{
    color: var(--negro)
}

body.scrolled header .contacto a:hover{
    color: var(--verde);
}

@media (max-width: 1024px) {
    header {
        height: 80px !important;
    }
    .content-width{
    padding: 0 12px;
    }
}
@media (max-width: 590px) {
    header .logo {
        height: 40%;
    }
    header .contacto a{
        font-size: 1.2rem;
    }
}

/*media*/



.content {

    display: flex;
    width:100%;
    justify-content: flex-start;
    align-items: flex-start;
    /* padding-top:150px; */
    /* border:1px dashed #f90; */
    min-height: calc(100% - 290px); /* 200px header + 90px footer */
}



/* @media (min-width: 1024px) { */

h1{
    font-size:5.2rem;
    font-weight: normal;
}

h2{
    font-size:4.8rem;
    font-weight: normal;
    line-height: 1.1em;
}
h3{
    font-size:1.6rem;
    font-weight: normal;
    line-height: 1.1em;
    color:var(--amarillo);
}

p{
    font-size: 1.8rem;
    line-height: 1.5;
}

@media (max-width: 100px) {
    h1{
        font-size:3.2rem;
    }
    h2{
        font-size:2.8rem;
    }
    p{
        font-size: 1.6rem;
    }
}


#aviso-ubicacion{
    display:flex;
    justify-content: center;
}
#aviso-ubicacion .wpb_column{
    display:flex;
    justify-content: flex-end;
}

#aviso-ubicacion .vc_column-inner {
    max-width: 580px;
}
#aviso-ubicacion h2{
    font-size: 3rem;
}

#aviso-ubicacion a,#aviso-ubicacion a:visited{
    color: var(--verde);
    text-decoration: none;
}

footer{
    display: flex;
    width: 100%;
    height:90px;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--ocre);
}
footer .content-width{
    display: flex;
    width:100%;
    height:100%;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

footer #menu-footer{
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:1.8rem;
    list-style: none;
    padding:0;
    margin:0;
}


footer #menu-footer li a{
    padding: 1rem 2rem;
    color: var(--blanco-roto);
    text-decoration: none;
    display: inline-block;
    position: relative;
    /* background-color: rgba(0,0,0,0.7); */
}
footer #menu-footer li a:after {
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    transition: width 200ms;
    content: "";
    border-bottom: 1px solid var(--blanco-roto);
    position: absolute;
    bottom: -1px;
}
footer #menu-footer li a:hover:after{
    width: 100%;
}