@import url(root.css);
@import url(fonts.css);
@import url(common.css);

* {
	box-sizing     : border-box;
	scroll-behavior: smooth;
	scroll-margin  : 120px;
	margin         : 0;
	padding        : 0;
}

html,
body {
	min-height : 100%;
	font-family: var(--main-font), system-ui, Arial, sans-serif;
	font-weight: 400;
	font-size  : var(--main-font-size);
	color      : var(--font-color);
}

h1,
h2,
h3,
h4 {
	font-family: var(--h1-font), system-ui, Arial, sans-serif;
	font-weight: 800;
	margin     : 0;
  margin-bottom: 40px;
  line-height: 1.2;
}

h1 {
	font-size: var(--h1-font-size);
  position: relative;
}

h2 {
	font-size: var(--h2-font-size);
}

h3 {
	font-size: var(--h3-font-size);
}

h4 {
  margin-bottom: 0;
}

ul {
  list-style-type: disc;
  margin-block-start: 0;
  padding-inline-start: 15px;
}

ul li:not(:last-child) {
	margin-bottom: 0;
}

ul li::marker {
  color: var(--primary-color);
}

#servicios ul li::marker {
  color: var(--font-color);
}

header {
	color           : var(--header-font-color);
	font-size       : var(--header-font-size);
  font-weight: 700;
  /* overflow: hidden; */
  background : var(--header-bg-color);
  box-shadow: var(--box-shadow)
}

header .logo {
  transition: all 0.3s ease;
}

header .agendar {
  width: 75px;
}

header nav a {
  padding: 15px 0;
}

footer {
	font-size: var(--footer-font-size);
  background-color: var(--footer-bg-color);
  margin-top: 100px;
  font-weight: 800;
  border-top: 3px solid var(--primary-color);
}

footer .contenido {
  padding: 30px 15px;
}

footer .copy {
  background-color: var(--tertiary-color);
}

footer .copy .contenido {
  padding: 5px 15px;
}

.redes a {
  width: 20px;
}

/* .redes.top svg, .redes.top path { */
  /* fill: black; */
/* } */

.nota {
  color: var(--primary-color);
}

table {
	border-spacing: 0;
	width         : 100%;
}

th,
td{
	padding        : 5px 0;
	border-collapse: collapse;
}

hr {
	border    : none;
	border-top: #333 solid 1px;
	margin    : 0;
  margin-top: 10px;
	width     : min(600px, 100%);
}

/* section:not(#home section) { */
/* 	padding: 0 10px; */
/* } */

section {
	margin: var(--margin-sections);
}

section:first-of-type {
	margin-top: 0;
}

#login section:first-of-type,
#perfil section:first-of-type,
#detalles-pago section:first-of-type,
#restaurar-password section:first-of-type,
#mail-recuperacion section:first-of-type,
#registro section:first-of-type {
  margin-top: 220px
}

strong {
	font-weight: bold;
  color: var(--secondary-color);
}

img {
	max-width: 100%;
}

button,
button[type="button"],
.btn {
	border       : none;
	padding      : 7px 12px 5px;
	border-radius: 5px;
	text-align   : center;
	cursor       : pointer;
	display      : inline-block;
	color        : white;
	font-weight     : 800;
  background-color: var(--primary-color);
  color: white;
	/* width           : min(170px, 100%); */
  border: 2px solid #333
}

.agotado {
  background-color: #666666;
  cursor:unset;
}

.btn:hover, .btn-dark:hover, button[type="button"]:hover {
  background-color: white;
  color: #262626
}

.btn.agotado:hover {
  background-color: #666666;
  color: white
}

.error {
  font-size: 12px;
  color: red;
  font-weight: bold;
}

.logo {
  width: 140px;
  max-width: 100%;
}

.logo.pancho {
  width: 100px;
}

div[aria-labelledby="swal2-title"] {
  border-radius: 0;
}

a {
	text-decoration: none
}

a>svg,
span>svg {
	vertical-align: middle;
	height        : 100%;
	width         : 100%;
}

input:-webkit-autofill {
	background-color  : white !important;
	-webkit-box-shadow: 0 0 0 1000px white inset !important;
	box-shadow        : 0 0 0 1000px white inset !important;
	color             : black !important;
}

input,
select,
textarea {
	display: block;
	padding: 7px 10px;
	width  : 100%;
  border-radius: 0;
  border: 1px solid #333
}

input.invalid,
select.invalid,
textarea.invalid {
	border          : 2px solid red;
	background-color: #ffe6e6;
  color: red
}

input:focus {
	/* background-color   : white; */
	outline         : none;
	border-radius   : 0;
	/* border       : 2px solid black; */
}

input:focus.invalid {
	outline: none;
	border : 2px solid red
}

label {
	display: block;
}

label:not(:first-of-type) {
	margin: 25px 0;
}


.contenido {
	max-width: var(--contenido);
	margin   : auto;
	padding  : 15px;
	/* position : relative; */
}

.loader {
	border-radius   : 50%;
	border          : 3px solid black;
	border-top-color: transparent;
	animation       : spin 1.2s linear infinite;
	height          : 50px;
	width           : 50px;
	position        : absolute;
	top             : 0;
	bottom          : 0;
	right           : 0;
	left            : 0;
	margin          : auto;
}

.bordered {
  border-radius: 5px;
}

#pages {
	margin-top: 50px;
}

#pages .active {
	color: #990000;
}

#collapsing-menu {
	background-color: var(--primary-color);
	/* padding         : 15px; */
	/* padding-top     : 130px; */
  max-width: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

#collapsing-menu.open {
  max-width: 100%;
  opacity: 1;
}

#collapsing-menu div {
	padding: 10px;
}

#collapsing-menu div:first-of-type {
	padding-top: 0;
}

#collapsing-menu div:last-of-type {
	padding-bottom: 0;
}

.sombra {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
}

details > summary:first-of-type {
  list-style: none;
}

details > summary {
  display: flex;
  gap: 10px;
  /* cursor: pointer; */
  background-color: #333;
  transition: all 0.5s ease;
  font-weight: 800;
}

details > summary::before {
  content: '+';
  height: max-content;
  transition: all 0.3s ease-in-out;
}

summary {
  color: white;
  padding: 15px 20px;
  cursor: pointer;
}

details {
  user-select: none;
  overflow: hidden;
  margin-bottom: 3px;
  outline-offset: -3px;
  outline: 3px solid #333;
  max-height: 81px;
  transition: all 0.7s ease;
}

details[open] {
  max-height: 550px;
  outline-color: #D54C55;
}

details[open] > summary::before {
  transform: rotate(45deg)!important;
}

details[open] summary {
  background-color: #D54C55;
}

details p {
  padding: 25px 15px 25px 45px;
  transition: all 0.3s ease-in-out;
}

details[open] p {
  background-color: white;
}

.w3-dropdown-content {
  background-color: var(--tertiary-color);
  text-transform: uppercase;
  font-size: 13px;
  top: 55px;
  left: -16px;
  min-width: 124px;
}

.wa-flotante {
  position: fixed;
  z-index: 99;
  bottom: 30px;
  right: 25px;
  text-align: center;
  font-weight: bold;
}

.wa-flotante img {
  filter: drop-shadow(-2px 2px 8px rgba(0,0,0,0.3));
  width: 60px;
}

.wa-flotante img.agendar {
  width: 90px;
}

.w3-modal {
  z-index: 999;
}

.badge {
  position: absolute;
  top: 0px;
  font-size: 10px;
  right: -5px;
  background-color: red;
  color: white;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#inicio .banner .img-wrapper {
  height: 750px;
}

.banner .img-wrapper {
  height: 500px;
}

#inicio .banner, #inicio #nuestros-servicios, #servicios #banner {
  margin-bottom: 10px;
}

#inicio .banner .absolute.center {
  top: calc(50% + 55px)
}

#inicio #acerca-de-allcolinks, #inicio #preguntas-frecuentes, #servicios #tours {
  margin-top: 10px
}

#tours .grid {
  margin-top: 50px;
}

#tours .item .img-wrapper {
  height: 300px;
}

#tours img, #tour iframe {
  border-radius: 5px;
}

#tours .item h3, #tours .item h4 {
  text-shadow: rgba(0,0,0,0.4) 2px 2px 2px;
}

#tours .item h3{
  text-transform: uppercase;
}



.rounded {
  border-radius: 5px;
}

#tours .center-bottom {
  width: 100%;
}

#tours .item h3 {
  margin-bottom: 5px;
}

#tours .item h4 {
  margin: 0;
  margin-bottom: 20px;
}

#tours .item .btn {
  margin-top: 20px;
}

#inicio #nuestros-servicios .item {
  background-color: white;
  border-radius: 50%;
  aspect-ratio: 1;
  border: 3px solid var(--primary-color);
  padding-bottom: 100px;
  width: min(100%, 281px);
  margin: auto;
}

#inicio #nuestros-servicios .item img {
  width: 70px;
}

#inicio #nuestros-servicios .item .flex.direction-column {
  height: 100%;
  justify-content: start;
  padding-top: 30px;
}

#inicio #nuestros-servicios .item .flex {
  gap: 20px
}

#inicio #nuestros-servicios .item:nth-child(even) {
  background-color: #212821;
}

#inicio #nuestros-servicios .item h3 {
  margin: 0;
  padding: 0 10px;
}

#inicio #nuestros-servicios .absolute.center-bottom {
  bottom: 30px;
}

#inicio #nuestros-servicios .grid {
  gap: 30px!important
}

#inicio #nuestros-servicios .btn {
  width: max-content;
}

#inicio #nuestros-servicios .contenido {
  padding: 70px 15px;
}

#servicios hr {
  width: 100%;
}

#tour h1 {
  text-transform: uppercase;
}

#tour footer {
  margin-top: 10px;
}

#tour .fondo {
  padding: 15px 0;
}

#tour .wa-flotante {
  display: none;
}

#tour .w3-modal .btn {
  font-size: 1.2em;
  padding: 13px;
  margin-bottom: 20px;
}

#tour .barra-reservar .btn {
  font-size: 1.5em;
}

.fondo {
  background-color: #EFEFEF;
  padding: 70px 0;
}

.calendario.grid {
  grid-template-columns: repeat(7,1fr);
  gap: 3px
}

.calendario div {
  padding: 15px 5px;
}

.calendario .dias {
  white-space: nowrap;
  font-weight: bold;
}

.calendario .hoy {
  background-color: lightskyblue;
  color: white;
}

.calendario .evento {
  background-color: var(--primary-color);
  color: white;
}

.mes, .anio {
  color: var(--primary-color);
}

.calendario .evento .absolute {
  opacity: 0;
  background-color: transparent;
  font-size: 14px;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  padding-bottom: 10px;
  width: max-content;
}

.calendario .evento .evento-wrapper div {
  padding: 15px;
}

.calendario .evento .evento-wrapper {
  background-color: #333;
  padding: 0;
}

.calendario .evento:hover .absolute {
  opacity: 1;
}

.siguiente svg, .anterior svg {
  height: 30px;
  width: 30px;
}

#inicio .swal2-show {
  min-height: 532px;
}

#servicios .carros {
  margin: auto;
  max-width: 900px;
}

#servicios .carros h3 {
  margin: 0;
}

#servicios .carros img {
  width: 600px;
}

#servicios .grid:nth-of-type(even) img {
  transform: scaleX(-1);
  display: inline-block;
}

@media only screen and (min-width:601px) {
  header.scrolled .logo {
		width : 100px;
	}
  header.scrolled .logo.pancho {
    width: 80px;
  }
  #acerca-de-allcolinks img {
    margin-left: auto;
    width: 450px;
  }
  #tours .grid {
    gap: 80px 30px
  }
}

/* oculta header */
@media screen and ((min-width: 600px) and (max-width: 790px)) {
  .w3-hide-small {
    display: none!important;
  }
  .w3-hide-medium {
    display: block!important;
  }
  #hamburger {
    right: 125px!important;
  }
}

@media screen and ((min-width: 600px) and (max-width: 950px)) {
  header {
    font-size: 18px;
  }
  header nav .flex {
    gap:20px
  }
}

@media screen and ((min-width: 600px) and (max-width: 880px)) {
  #inicio #nuestros-servicios .grid.g-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width:600px) {
  body {
    overflow-x: hidden;
  }
	h1 {
		font-size: var(--h1-small-font-size);
	}

	h2 {
		font-size: var(--h2-small-font-size);
	}

	h3 {
		font-size: var(--h3-small-font-size);
	}

  button[type="button"], .btn {
    padding: 10px 5px;
    width: min(200px, 100%);
  }

  .logo {
    width: 100px;
  }

  .logo.pancho {
    width: 70px
  }

  .btn, .btn-dark {
    font-size: 15px;
  }

  /* section:first-of-type { */
  /*     margin-top: 124px; */
  /* } */
  footer .flex {
    flex-direction: column;
  }

  header nav .flex {
    gap: 10px
  }

  .wa-flotante {
    bottom: 20px;
    right: 10px
  }

  .wa-flotante img {
    width: 60px;
  }

  .banner .img-wrapper {
    height: 500px;
  }

  #inicio #nuestros-servicios .item {
    width: min(100%, 250px);
  }

  #inicio #nuestros-servicios .grid.g-3 {
    grid-template-columns: 1fr 1fr!important;
  }
  #inicio #nuestros-servicios .grid {
    gap: 10px!important
  }
  #inicio #nuestros-servicios .item img {
    width: 30px;
  }
  #inicio #nuestros-servicios .item .flex.direction-column {
    padding-top: 15px;
  }
  #inicio #nuestros-servicios .item {
    padding-bottom: 20px;
  }
  #inicio #nuestros-servicios .btn {
    font-size: 12px;
    padding: 5px 5px 1px;
  }
  #inicio #nuestros-servicios .item h3 {
    font-size: 16px;
  }
  #inicio #nuestros-servicios .absolute.center-bottom {
    bottom: 15px;
  }
  #tour .fondo .grid {
    gap: 20px
  }
  #tour .w3-modal .btn {
    font-size: 1em;
    padding: 10px;
  }
  .calendario.grid {
    grid-template-columns: repeat(7,1fr)!important;
  }
  .calendario .evento .absolute {
    font-size: 10px;
  }
  #servicios .carros .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0!important
  }
}


@keyframes spin {
	to {
		transform: rotate(360deg)
	}
}
