@import url('https://fonts.googleapis.com/css?family=PT+Mono|PT+Sans');

:root {
   /* --color-background-index: #001823;  */
   /*--color-background: white;*/
   --color-background: #001823;
  }

html,
body {
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
  min-height:100%;
  max-height:100%;
}

html {
  font-size: 10px;
}

body {
  background: var(--color-background);
  height:100vh;
  font-family: 'PT Sans', sans-serif;
  font-size: 1rem;
}

/* body .body-index {
  background: var(--color-background-index);
} */



/* Galería modal */

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 35px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  filter: drop-shadow(1px 1px 0 black);
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 30px;
  text-shadow: 1px 1px black;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.modal-content img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
  font-size: large;
  line-height: .5rem;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Alquileres.php */

#ubicacion {
  float: left;
  color: black;
  margin: 17px 0px 0px 30px;
  width: 400px;
  padding: 12px;
  text-decoration: none;
  font-size: 15px;
  line-height: 10px;
  border-radius: 4px;
}

/* --- */

/* --- Galería modal */

/* login */

.login {
  padding: 16px;
  background-color: #b1e2da;
  font-family: 'PT Sans', sans-serif;
  display: flex;
  flex-direction: row;
  color: hsl(203, 30%, 15%);
  /* background-color: hsl(203, 100%, 98%); */
  font-size: 1rem;
}

#infosuperior{
  background-color: #b1e2da;
}

#bienvenida {
  background-color: darkseagreen;
}

.login a.logo {
  float: left;
  margin-left: 0rem;
  font-size: 20px;
  font-weight: bold;
  padding: 5px;
}

.encabezado {
  padding: 16px;
  height: 30px;
  background-color: #b1e2da;
  font-family: 'PT Sans', sans-serif;
  color: hsl(203, 30%, 15%);
  font-size: 1rem;
  display: flex;
  flex-direction: row;
}

#infosuperior {
  display: flex;
  flex-direction: column;
}

.galeriacontainer {
  margin-left: 7%;
}

#masinfo {
  margin-left: 7%;
  text-align: center;
  line-height: 50%;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 0.2rem;
  border-style: solid;
  border-width: 0.2rem;
}

#divlogologin {
  width: 23%;
}

#encabezado-bienvenida {
  padding: 5px 10px;
}

#encabezado-bienvenida a {
    float: left;
    margin-left: 2rem;
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
}

#logobienvenida {
  padding: 10px 0px;
  height: 46px;
}

#descripcion-bienvenida {
  font-weight: bold;
  margin: 15px 0px 0px 0px;
}

#detalle-bienvenida {
  font-style: italic;
  margin: 0px;
  font-size: 1.45rem;
  margin: 10px 0px 0px;
}

div#divtextologin {
  font-size: 1.8rem;
  text-align: center;
}

.encabezado p {
  font-weight: bold;
  font-size: 2.2rem;
  line-height: .5rem;
}

#imglogo {
  padding: 2px 0px 2px 0px;
  height: 36px;
}

div#cajaexterna {
  display: flex;
  flex-direction: column;
  height: 97%;
  background-color: darkseagreen;
}

#divform {
  width: 23%;
  /* margin-right: 5%; */
}

div.gallery img {
  width: 200px;
  height: 80px;
  object-fit: contain;
  max-width: 100%;
}

/* .login {
  width: 97%;
} */

.login a:hover {
  /* background-color: #ddd; */
  color: black;
}

/* Style the active/current link*/
.login a.active {
  background-color: dodgerblue;
  color: white;
}

/* .login form {border: 3px solid #f1f1f1;} */

.login input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.login button {
  background-color: hsl(203, 100%, 38%);
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

.login button:hover {
  opacity: 0.8;
}

.container .login-logout {
  width: auto;
  padding: 10px 18px;
  background-color: rgb(141, 92, 92);
}

.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

span.psw {
  float: right;
  padding-top: 16px;
}


/* --login */

/* Galería */

div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  height: 17rem;
  width: 11%;
  padding: 16px;
  font-weight: bold;
}

div.gallery:hover {
  border: 1px solid #777;
}

/* div.gallery img {
  width: 100%;
  height: auto;
} */

div.desc {
  padding: 15px;
  text-align: center;
  font-size: 1.3rem;
}

/* -- Galería */

/* Alquilar  */

div#alquilar {
  /* background-color: darkseagreen; */
  font-size: large;
}

p#titulo-alquilar {
  margin: 5px 15px;
}

/* -- Alquilar */

.contenedor-alquileres {
  margin-left: 35%;
}

.detalle {
  cursor: pointer;
  background: rgba(37, 37, 37, 0.397);
  height: 80%;
}

.detalle span {
  display: none;
}

div#calendario {
  height: 86.8%;
  background-color: #001823;
}

.calendar {
  padding: 10px 20px 0px 30px;
  /* margin: 4rem 0rem 4rem 5rem; */
}

.amanecer {
  border-radius: 0px 50px 50px 0px;
  padding: 5px;
  width: 40%;
  display:inline;
  float:left;
}

.calendar-day__estado {
  border-radius: 50px 50px 50px 50px;
  padding: 0px 5px 0px 5px;
  background: rgba(37, 37, 37, 0.397);
  /* display:inline; */
  display: none;
  float:right;
}

.calendar-day__tilde {
  border-radius: 50px 50px 50px 50px;
  padding: 0px 5px 0px 5px;
  width: 15px;
  height: auto;
  display:none;
  float:right;
}


.info {
  visibility: hidden;
	font-size: .8em;
	color: #FF6600;
	letter-spacing: 2px;
  margin-left: 4rem;
  top: 5rem;
  background-color: white;
  border-style: solid;
  z-index: 1;
  position: fixed;
}
.noche {
  border-radius: 50px 0px 0px 50px;
  padding: 5px;
  width: 40%;
  display:inline;
  float:right;
}

.completo {
  padding: 5px;
  width: 100%;
}

.cerrado {
  background: darkred;
}

/* Contacto por mail */

#contactomail {
  background-color: #b1e2da;
  width: 400px;
  padding: 10px;
}

#contactomail input{
	padding: 10px;
	border: #a5d2ca 1px solid;
	border-radius: 4px;
	background-color: #FFF;
	width: 90%;
  margin-top:5px;
}

#contactomail button {
  margin-top: 20px;
  background-color: #82a9a2;
  padding: 10px;
  text-align: center;
  color: #FFF;
  border: #739690 1px solid;
  border-radius: 4px;
  display: inline-block;
  width: 95.3%;
}

#contactomail #imglogo {
    height: 33px;
}

div#resultadomail {
  background-color: #b1e2da;
  line-height: 10rem;
  font-size: 1.5rem;
  font-weight: bold;
  padding-left: 2rem;
}

/* #contacto input[type=radio] {
  border: 0px;
  width: 10%;
  height: 1em;
} */

/* --Contacto */

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {

  body {
    height: auto;
  }

  .caption-container {
    line-height: inherit;
  }

  .modal-content {
   top: 25%;
  }


  div.desc{
    font-size: 1.3rem;
    padding: 5px;
  }
  /* #contacto {
    width: 100%;
  } */

  .contenedor-alquileres {
    margin-left: inherit;
  }

  .galeriacontainer {
     margin-left: auto;
  }

  #masinfo {
    margin: 0px;
    line-height: 1.5rem;
  }

   .amanecer {
    border-radius: 0px 0px 0px 0px;
    float: none;
    display: inline-block;
    width: 97.5%;
    height: 13px;
  }
  .noche {
    border-radius: 0px 0px 0px 0px;
    float: none;
    margin-top: .5rem;
    display: inline-block;
    width: 97.5%;
    height: 13px;
  }
  .completo {
    border-radius: 0px 0px 0px 0px;
    float: none;
    display: inline-block;
    width: 97.5%;
    height: 13px;
  }
  .calendar-day {
    height: 80px;
    margin-bottom: 0px ;
  }

  .detalle span {
    display: inline;
    font-style: italic;
  }  

}

.calendar {
  list-style: none;
  font-size: 1.4rem;
}

.calendar-day {
  color: #fff;
  position: relative;
  box-sizing: border-box;
}

.calendar-day:nth-child(7n+1)::before {
  content: attr(data-week);
  position: absolute;
  color: #999;
}

.calendar-day::after {
  content: attr(data-weekday);
  position: absolute;
  color: #999;
}

.calendar-day__content {
  background: #4e8792;
}

.calendar-day__content--cerrado {
  background: lightcoral;
}


/* .calendar-day--begin-week .calendar-day__content {
  background: lightcoral;
} */

.calendar-day--not-month .calendar-day__content {
  opacity: .3;
}

.calendar-day--today .calendar-day__content {
  background-color: #67c77c;
}

.calendar-day--entry .calendar-day__content {
  background-color: #ab6381;
}

.calendar-day__number {
  position: absolute;
  top: .5rem;
  left: .5rem;
}

.calendar-day__estado {
  position: absolute;
  top: .5rem;
  right: .5rem;
}

.calendar-day__tilde {
  position: absolute;
  top: .5rem;
  right: .5rem;
}



@media screen and (max-width: 40rem) {

  .calendar {
    padding-left: 36px;
  }

  .encabezado p{
    visibility: hidden;
  }

  .login {
    flex-direction: column;
  }

  #divform {
    width: 95%;
  }

  #encabezado-bienvenida a {
    float: left;
    margin-left: 2rem;
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
}
#logobienvenida {
  padding: 5px 0px;
  height: 35px;
}

#descripcion-bienvenida {
  font-weight: bold;
  margin: 5px 30px 0px 5px;
}

#detalle-bienvenida {
  font-style: italic;
  font-size: 1.3rem;
  margin: 10px 28px;
}



   .calendar-day:nth-child(7n+1)::before {
    left: 0;
    right: 0;
    bottom: calc(100% + .5rem);
    display: block;
    text-align: center;
  }

  .calendar-day::after {
    right: calc(100% + .5rem);
    top: .5rem;
  }

  .calendar-day--not-month {
    display: none;
  }

  .calendar-day--begin-week {
    margin-top: 3rem;
  }

  .calendar-day__content {
    padding: 5% 0 12%;
    height: 10px;
  }

  .calendar-day--selected {
    border: 1px solid white;
  }

  .info {
    top: 15rem;
    background-color: white;
    border-style: solid;
    z-index: 1;
    position: fixed;
  }

  div.gallery {
    width: 21%;
    height: 19rem;
  }

  footer div {
    font-size: .8rem;
  }

  footer #usuario {
    width: 30%;
  }
  
  footer #info {
    font-style: italic;
    width: 30%;
  }
  
  /* footer #alquiler {
    width: 20%;
  } */
  
  footer #contacto {
    text-align: right;
    width: 30%;
  }

}

@media screen and (min-width: 40rem) {

  /* .login {
    margin-right: 70%;
  } */

  .calendar {
    display: flex;
    flex-wrap: wrap;
  }

  .calendar-day {
    flex-basis: calc(14.28571% - 10px);
    border: 1px solid var(--color-background);
  }

  .calendar-day--selected {
    border: 1px solid white;
  }

  .calendar-day:nth-child(7n+1)::before {
    right: calc(100% + .5rem);
    top: .5rem;
  }

  .calendar-day::after {
    display: none;
  }

  .calendar-day:nth-child(-n+7)::after {
    display: inline;
    bottom: calc(100% + .2rem);
    left: .5rem;
  }

  .calendar-day--not-month {
    display: block;
  }

  .calendar-day--past .calendar-day__number {
    opacity: .5;
  }

  .calendar-day__content {
    /*padding-bottom: 50%; */
    padding-top: 30px;
    overflow: hidden;
    height: 65px;
  }
}

