/* ============================================== */
/* ROOT */
/* ============================================== */

:root{

  /*-- Color  --*/

    --color-majagua:        #FAF9F4;
    --color-cafe:           #B16B51;
    --color-marron:         #9d453d;
    --color-brown:          #2c2823;

    --color-swan:           #eee7d8;
    --color-salmon:         #e29b81;

    --color-red:            #c84549;
    --color-red-h:          #db6a72;

    /*-- Font Family --*/

    --f-family:   'Cormorant Garamond', serif;
    --f-family-h: 'Josefin Sans', sans-serif;

}
.c-salmon{
  background: var(--color-salmon);
}
.c-swan{
  background: var(--color-swan);
}
.tc-marron{
  color: var(--color-marron);
}
.tc-brown{
  color: var(--color-brown);
}
.tc-majagua{
  color: var(--color-majagua);
}
.c-majagua{
  background: var(--color-majagua);
}
.c-cafe{
  background: var(--color-cafe);
}
.c-marron{
  background: var(--color-marron);
}
.c-brown{
  background: var(--color-brown);
}
.c-red{
  background: var(--color-red);
}
.c-red:hover{
  background: var(--color-red-h);
}

body{
   background: var(--color-majagua);
}

a.btn{
  font-family: var(--f-family-h);
}

h1,h2,h3,h4,h5{
  color: var(--color-marron);
}

pre {
  white-space: pre-wrap;
  font-family: var(--f-family);
}

/* ============================================== */
/* PAGINACION */
/* ============================================== */

.pagination a{
  background: var(--color-majagua);
  color: var(--color-cafe);
  margin: 0 5px;
  border-radius: 2px;
  font-size: var(--fs-base);
}

.pagination{
  border-top: 1px dotted var(--color-silver);
  margin-top: 40px;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination a.active{
  background: var(--color-marron);
  color: var(--color-swan);
}

.icon.left{
  transform: scaleX(-1);
}

.pagination .icon{
  width: 50px;
  height: 50px;
}

.icon.right::before,
.icon.left::before{
  width: 24px;
  height: 24px;
}


.icon.right::before,
.icon.left::before {  content: url("./../../images/icons/body/chevron_side.svg");  }

/* ============================================== */
/* VISIBLE */
/* ============================================== */

.visible{
  display: inline-block;
  position: relative;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border-radius: 50%;
  border: 3px solid var(--color-marron);
}

.visible:after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 5px;
  height: 5px;
  background: var(--color-marron);
  border-radius: 50%;
}

/* ============================================== */
/* LOGOS */
/* ============================================== */

ul.logos{
  margin-top: 80px;
}

ul.logos li{
  margin: 10px;
}

ul.logos li img{
  width: 200px;
}

/* ============================================== */
/* PRELOADER */
/* ============================================== */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-marron);
  z-index: 9999;
}

.progress {
  position: absolute;
  display: flex;
  justify-content: center;
  flex-direction: column;
  top: 50%;
  left: 50%;
  width: 200px;
  transform: translate(-50%, -50%);

  animation: aparecer 1s;
  transition: opacity 0.5s ease-in;
}

.progress-spin {
  border: 3px solid transparent;
  border-top: 3px solid var(--color-majagua);
  border-radius: 50%;
  margin: 10px auto;
  width: 50px;
  height: 50px;
  animation: spin 0.80s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@keyframes aparecer {
  0%{
    opacity: 0;
    margin-top: 30px;
  }


  100% {
    opacity: 1;
    margin-top: 0;
  }
}

.progress-bar-value{
  width: 100%;
  text-align: center;
  color: var(--color-majagua);
}

/* ============================================== */
/* LITTLE TOP */
/* ============================================== */

.little-top{
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

/* ============================================== */
/* SUBPAGE */
/* ============================================== */

.bg-overlay-ciruela{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(89, 89, 89, 0.3);
}

.subpage .bg-overlay{
  background: var(--color-proof);
  opacity: 0.8;
}

.subpage .content{
  padding: 150px 40px 30px 40px;
  justify-content: flex-start;
}

@media screen and (max-width: 1080px){

  .subpage img{
    height: 200px !important;
  }
  .subpage .content{
    padding: 20px 30px;
  }
}

/* ============================================== */
/* SMALL JC-BETWEEN */
/* ============================================== */

@media screen and (max-width: 768px){
  .small-jc-between{
    display: flex;
    justify-content: space-between;
  }
}

/* ============================================== */
/* BODY */
/* ============================================== */

.lan{
  padding: 10px 40px 10px 10px;
  display: block;
  position: relative;
}

.lan:after {
  content: url("./../../images/icons/body/chevron.svg");
  position:absolute;
  right: 15px;
  top:15px;
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
}

.lan.open:after{
  transform: rotate(0deg);
}

.menu {
  position: relative;
  display: inline-block;
}

.opciones {
  position: absolute;
  display: block;
  top: 50px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0px);
  box-shadow: 0 20px 15px -10px rgba(0, 0, 0, 0.2);
}

.opciones.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(5px);
}

.lan,
.opciones{
  border-radius: 3px;
  color: var(--color-cafe);
  background: var(--color-majagua);
}

.opciones a{
  display: block;
  padding: 10px 20px;
}

.opciones a:hover{
  background: var(--color-cafe);
  color: white;
}

.opciones,
.opciones.active,
.lan:after,
.opciones a {
  -webkit-transition:all 250ms ease;
  -moz-transition:all 250ms ease;
  -ms-transition:all 250ms ease;
  transition:all 250ms ease;
}

/* ============================================== */
/* SELECT */
/* ============================================== */

.custom-select-wrapper select {
  display: none;
}

.custom-select,
.custom-select-trigger,
.custom-option {
  position: relative;
  display: inline-block;
}

.custom-select-trigger:after {
  content: url("./../../images/icons/body/check.svg");
  position:absolute;
  right: 15px;
  top:15px;
  width: 20px;
  height: 20px;
  z-index: 99;
}

.custom-select.opened .custom-select-trigger:after {
  transform: rotate(-90deg);
}

.custom-select-trigger,
.custom-options{
  padding: 10px 40px 10px 10px;
  margin: 0;
  display: inline-block;
  overflow: hidden;
  color: var(--color-grey);
  background: var(--color-silver);
  font-size: var(--fs-base);
  border-radius: 3px;
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0px);
  box-shadow: 0 20px 15px -10px rgba(0,0,0,0.2);
  background: white;
}

.custom-select.opened .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(5px);
}

.custom-option{
  padding: 10px 0;
}

.custom-option:hover,
.custom-option.selection {
  color: var(--color-black);
}

.custom-select-trigger:hover,
.custom-option:hover{
  cursor: pointer;
}

.custom-select-trigger,
.custom-select-trigger:after,
.custom-options,
.custom-option{
  -webkit-transition:all 250ms ease;
  -moz-transition:all 250ms ease;
  -ms-transition:all 250ms ease;
  transition:all 250ms ease;
}

@media screen and (max-width: 1440px){
.custom-select-trigger:after {
    top:12px;
  }
}

/* ============================================== */
/* HERO */
/* ============================================== */

.majagua,
.ciruela{
  overflow: hidden;
}

.majagua:after,
.ciruela:after{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  width: 0%;
  height: 100%;
  opacity: 0.8;
}

.majagua:after,
.ciruela:after{background: var(--color-swan);}


.majagua:hover:after,
.ciruela:hover:after{
  width: 100%;
}

.majagua:after{
  left: auto;
  right: 0;
}

.div-abs,
.majagua img,
.ciruela img,
.majagua:after,
.ciruela:after,
.majagua .div-abs:after{
transition:all 500ms ease;
}

.div-abs{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 2;
  width: 400px;
  height: 400px;
  top:50%;
  left: 50%;
  overflow: hidden;
  padding: 30px;
  transform: translate(-50%,-50%);
}

.majagua .div-abs,
.ciruela .div-abs{background: var(--color-majagua);}

@media screen and (max-width: 768px){
  .div-abs{
    width: 200px;
    height: 200px;
    padding: 30px;
  }
}

/* ============================================== */
/* CINTA-MAHAGUA */
/* ============================================== */

.cinta-majagua{
  position: relative;
}

.cinta-majagua:after{
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
  z-index: -1;
  background: url(./../../images/body/bg.svg) repeat;
}

.top-title{
  position: relative;
  width: 100%;
  overflow: hidden;
}

.top-title .info{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
}

/* ============================================== */
/* DRAW */
/* ============================================== */

#draw{
  width: 400px;
  margin: -50px auto 0;
  background:var(--color-majagua);
  position: relative;
  border:15px solid white;
  z-index: 3;
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.2);
}

.st0{fill:#B16B51;}
.st1{
  stroke-linecap: round;
  stroke-linejoin: round;
  fill:none;
  stroke:#B16B51;
  stroke-width:2;
  stroke-miterlimit:10;
}

@media screen and (max-width: 768px){
  #draw{
    width: 300px;
    margin:0 auto;
    border:10px solid white;
  }
}

/* ============================================== */
/* HERO INFO */
/* ============================================== */

.hero-info{
  position: absolute;
  display: block;
  text-align: center;
  left: 0;
  width: 100%;
  bottom: 50px;
  z-index: 2;
}

.hero-info :is(h2,p){
  color: var(--color-cafe);
  transition:all 250ms ease-in-out;
}

.majagua:hover .hero-info :is(h2,p),
.ciruela:hover .hero-info :is(h2,p){
  color: white;
}

/* ============================================== */
/* IMG */
/* ============================================== */

.img-teaser{
  overflow: hidden;
  width: 100%;
  height: 200px;
display: block;
}

.img-teaser-home{
  overflow: hidden;
  width: 100%;
  height: 350px;
  display: block;
  float: left;
  margin: 10px 0 40px;
}

.text-hero{
  margin: 0;
  bottom: 0;
  padding: 10px 20px;
  color: var(--color-majagua);
  background: var(--color-brown);
}

.text-hero.max{
  padding: 40px;
}

.mr-20{
  margin-right: 20px;
}

.border-bottom li{
  margin-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-cafe);
}

.border-bottom li:last-child{
  border-bottom: none;
}


/* ============================================== */
/* LIKE */
/* ============================================== */

.icon.like{
  display: block;
  padding: 0;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  border-radius: 5px;
  background: var(--color-cafe);
}

.icon.like.vip{
  width: auto;
  height: auto;
  padding: 10px 30px 10px 60px;
  position: relative;
  top: auto;
  right: auto;
  font-family: var(--f-family-h);
  background: var(--color-cafe);
}

.icon.like.disabled,
.icon.like.vip.disabled{
  background: var(--color-salmon);
}

.icon.like.vip:before{
  left: 30px;
}

.icon.like:before{content: url("./../../images/icons/body/like.svg"); width: 20px;height: 20px;}

.icon.tripadvisor::before {  content: url("./../../images/icons/social/tripadvisor.svg");  }
.icon.opentable::before {  content: url("./../../images/icons/social/opentable.svg");  }
.icon.instagram::before {  content: url("./../../images/icons/social/instagram.svg");  }
.icon.facebook::before {  content: url("./../../images/icons/social/facebook.svg");  }

.social .icon{
  width: 80px;
  height: 80px;
  background: transparent;
}

.social .icon::before{
  width: 50px;
  height: 50px;
}

.icon-text.date::before{  content: url("./../../images/icons/body/date.svg");  }

@media screen and (max-width: 768px){
  .social .icon{
    width: 60px;
    height: 60px;
    background: transparent;
  }

  .social .icon::before{
    width: 40px;
    height: 40px;
  }
}



/* ============================================== */
/* MODAL */
/* ============================================== */

.modal{
  position: fixed;
  background: rgba(0,0,0,0.6);
  visibility: hidden;
  z-index: 999;
  overflow-y: scroll;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  transition:all 250ms ease;
  animation: isShownTransformOut  250ms;
}

.modal > .content{
  overflow: visible !important;
  padding: 0;
  left: 50%;
  max-width: 50vh;
  width: 90%;
  position: absolute;
  top: 50%;
  z-index: 9999;
  background: white;
  overflow-y: scroll;
  transform: translate3d(-50%, -50%, 0);
}

.modal > .content .wrap{
  overflow: visible !important;
  position: relative;
  overflow-y: scroll;
  display: block;
  float: left;
  height: 100%;
  width: 100%;
}

.modal > .content .wrap :is(input,button, select, option){
  transition:none;
}

.modal > .content .wrap .btn.close{
  position: absolute;
  top:0;
  right: 0;
  margin: 0;
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: var(--color-cafe);
}

.btn.close:hover{
  opacity: 1;
}

.modal.is-shown {
  pointer-events: auto;
  visibility: visible;
  animation: isShownTransformIn  250ms;
}

@keyframes isShownTransformIn {
  from {transform: scale(1.05);opacity:0;}
  to {transform: scale(1);opacity:1;}
}

@keyframes isShownTransformOut{
  from {transform: scale(1);opacity:1;}
  to {transform: scale(1.05);opacity:0;}
}


/* ============================================== */
/* PADDING  */
/* ============================================== */

.p-left{
  padding-left: 60px;
}

.info.p-about{
  padding: 30px 80px;
}

@media screen and (max-width: 768px){
  .p-left{
    padding-left: 0;
  }

  .info.p-about{
    padding: 20px 30px;
  }
}

/* ============================================== */
/* SECTION & ASIDE  */
/* ============================================== */

.sticky {
  position: sticky;
  top: 60px;
  z-index: 2;
}

/* ============================================== */
/* ACCORDION */
/* ============================================== */

.accordion li{
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--color-cafe);
  position: relative;
}

.accordion li:hover{
  cursor: pointer;
}

.accordion li a,
.accordion li h5.link{
  padding: 15px 20px;
  display: block;
  transition:all 250ms ease;
}

.accordion li h5.link:hover{
  background: var(--color-majagua);
}


.accordion li h5{
  margin: 0;
}

.accordion li.open{
    background: var(--color-majagua);
    color: var(--color-cafe);
}


.accordion > li:before{
  content: url("./../../images/icons/body/chevron.svg");
  position: absolute;
  top: 19px;
  right: 10px;
  width: 24px;
  height: 24px;
  transform: rotate(90deg);

  -webkit-transition:all 250ms ease;
  -moz-transition:all 250ms ease;
  -ms-transition:all 250ms ease;
  transition:all 250ms ease;
}

.accordion li.open:before{
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.accordion .link,
.accordion .submenu,
.accordion li a{
    width: 100%;
}

.accordion.categorias h5.link:hover{
  background: none;
  cursor: default;
}

.accordion.categorias h5.link{
  text-align: center;
  margin-top: 30px;
}

.accordion.categorias .submenu{
  margin: 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.accordion.categorias .submenu li{
  width: 32%;
  border-bottom: 0;
}

.accordion.categorias a:hover{
  background: var(--color-soft);
}

.accordion .submenu,
.accordion.categorias > li:before{
  display: none;
}



@media screen and (max-width: 768px){
  .small-h3{
    font-size: var(--fs-h3);
  }

  .accordion.categorias > li:before{
    display: block;
  }

  .accordion.categorias .submenu{
    display: none;
    margin: 0;
  }

  .accordion.categorias h5.link{
    text-align: left;
    margin-top: 0;
  }
  .accordion.categorias .submenu li{
    width: 100%;
    border-bottom: 0;
  }
}


/* ============================================== */
/* LINE-BOTTOM */
/* ============================================== */

.line-bottom{
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.line-bottom a{
  display: block;
  width: 100%;
  padding: 10px 20px;
  margin:5px 0;
  background: var(--color-light);
  transition:all 250ms ease;
}

.line-bottom a:hover{
  background: var(--color-soft);
}

.line-bottom p{
  margin: 0;
}

/* ============================================== */
/* SEARCH */
/* ============================================== */

.search{
  position: relative;
}

.search:after{
  content: url("./../../images/icons/body/search.svg");
  display: block;
  position:absolute;
  right: 15px;
  top:11px;
  width: 18px;
  height: 18px;
  z-index: 2;
}

.input{
  font-family: var(--f-family-h);
}

    
/* ============================================== */
/* BLOG WIDTH */
/* ============================================== */

.blog-width{
  max-width: 1920px;
}

@media screen and (max-width: 1920px){
  .blog-width{
    max-width: 95%;
  }
}

/* ============================================== */
/* GALLERY */
/* ============================================== */

.grid-gallery {
  display: block;
  width: 100%;
  float: none;
  margin: 1rem auto;
}

.grid-header {
  text-align: center;
}

.grid-item {
  max-width: 450px;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.grid-item img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;

  border:10px solid white;

  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;

  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  -o-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.grid-item img:hover{
  opacity: 0.7;
  cursor: pointer;
}

.grid-item:before{
  position: absolute;
  top:15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: transparent;
  display: block;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  content: url("./../../images/icons/body/photo.svg");

  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.grid-item:hover:before{
  opacity: 1;
}

@media screen and (max-width: 768px){
  .grid-item {padding: 0 10px;}
}


/* ============================================== */
/* MODAL */
/* ============================================== */

#modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.7);
  z-index: 999;
  left: 0;
  top: 0;
  display: none;
}

#imgSizer {
  position: relative;
  width: 50%;
  top: 50%; left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#imgHolder {
  position: relative;
  left: 0; top: 0;
  height: 0;
  padding-bottom: 66.66%;
}

#imgHolder img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#modalImg {
  height: 100%;
  position: absolute;
  left: 50%; top: 50%;
  -webkit-transform: translate(-50%, -50%);

  -webkit-box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  -o-box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);

}

#close,
#left,
#right {
  position: absolute;
  display: block;
  height: 50px;
  width: 50px;
  cursor: pointer;
  background: var(--color-majagua);
  top: 50%;
  margin-top: -25px;
  padding: 0;
 
  z-index: 1;
  opacity: 1;

  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;

}

#close{
  background: var(--color-cafe);
}

#close:before,
#left:before,
#right:before {
  content: "";
  padding: 0;
  width: 25px;
  height: 25px;
  display: block;
  background: url("./../../images/icons/body/chevron_side.svg");
  background-repeat: no-repeat;
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: all 0.25s ease-in-out;
}

#close:before {background: url("./../../images/icons/body/close.svg");}

#right {
  left: 25px;
  transform: scaleX(-1);
}

#left {
  right: 25px;
}

#close {
  right: 0;
  top:0;
  margin: 0;
}

@media screen and (max-width: 1280px){
  #imgSizer {
    width: 90%;
  }
}






