* {
  box-sizing: border-box;
}
html, button, input, textarea {
	font-family: 'Abel', Arial, Helvetica, sans-serif;
	font-size: 25px;
}
body {
  padding-top: 68px;
	margin: 0;
}
h2 {
	text-align: center;
	font-size: 2rem;
	margin: 0;
  padding-top: 3rem;
  padding-bottom: 10px;
}
h3 {
	text-align: center;
	font-size: 1.3rem;
	margin: 0;
}
img {
	vertical-align: middle;
	border: 0;
}
p {
	line-height: 2rem;
	margin: 0;
}
input[type=text], textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: none;
}
a {
	color: navy;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	text-decoration-skip-ink: none;
}

.sombra {
  box-shadow: 8px 8px 8px 0 rgba(0,0,0,0.5);
  transition: 0.3s;
  border-radius: 10px;
}
.sombra:hover {
  box-shadow: 4px 4px 8px 0 rgba(0,0,0,0.5);
}

.slideshow-container {
  position: relative;
  background: linear-gradient(22deg, black, white, grey);
  box-shadow: 0 8px 8px 0 rgba(0,0,0,0.5);
  min-height: 80vh;
	overflow: hidden;
}
.slides {
	position: absolute;
	left: 100%;
	width: 100%;
  height: 100%;
  border: 3px black solid;
	top: 0;
  background-position: center;
  background-size: cover;
}
.prev, .next {
  position: absolute;
  top: 45%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #ddd;
  font-weight: bold;
  font-size: 18px;
  border: 1px solid #ccc;
  opacity: 0.5;
  cursor: pointer;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.prev:hover, .next:hover {
  color: white;
  text-decoration: none;
  opacity: 1;
}
.caption {
  color: #f2f2f2;
  padding: 1rem;
  position: absolute;
  margin: 0 3rem;
  bottom: 2rem;
  background-color: rgba(0,0,0,0.7);
  box-shadow: 8px 8px 8px 0 rgba(0,0,0,0.5);
  border-radius: 10px;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.dotActive, .dot:hover {
  background-color: #717171;
}
.slideIn {
  animation-name: slideIn;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
}
.slideOut {
  animation-name: slideOut;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
}
@keyframes slideIn {
  from {left: 100vw}
  to {left: 0}
}
@keyframes slideOut {
  from {left: 0}
  to {left: -100vw}
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 16px solid lightgrey;
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  margin: -60px;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* servicios */

#servicios-container {
	background: black url(parallax.jpg) no-repeat center fixed;
	background-size: cover;
	padding: 1rem;
	color: white;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
  box-shadow: 0 8px 8px 0 rgba(0,0,0,0.5);
}

.columna {
  flex: 1 1 33.33%;
}

.card {
	margin: 1rem;
	padding: 1rem;
	background-color: rgba(0, 0, 128, 0.4);
  border: 1px solid #ddd;
}

.card:hover {
	background-color: rgba(0, 0, 128, 0.9);
}

.card img {
  border-radius: 50%;
	width: 100%;
}

@media screen and (max-width: 900px) {
  .columna {
    flex: 1 1 50%;
  }
}

@media screen and (max-width: 620px) {
  .columna {
    flex: 1 1 100%;
  }
}

/* quienes */
#quienes-container-1, #quienes-container-3 {
  padding: 0 1rem;
}

#quienes-container-2 {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.tema {
	margin: 0 1rem;
	padding: 1rem;
	color: navy;
}
.tema:hover i {
	transform: scale(1.1);
	color: blue;
}

.tema i {
	display: block;
	text-align: center;
	padding-bottom: 0.5rem;
	transition: 0.6s;
}

/* contacto */
#contacto-container {
  padding: 10px;
  background: linear-gradient(22deg, black, white, grey);
  box-shadow: 0 8px 8px 0 rgba(0,0,0,0.5);
}

.contacto-columna {
  float: left;
  width: 50%;
  margin-top: 6px;
  padding: 20px;
}

.enviar {
  background-color: navy;
  color: #ddd;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

.enviar:hover {
  color: white;
}

.cartel {
	width: 3.5rem;
	color: navy;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 900px) {
  .contacto-columna, .enviar {
    width: 100%;
    margin-top: 0;
  }
}

#toast {
	display: none;
  min-width: 250px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: 8px 8px 8px 0 rgba(0,0,0,0.5);
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
}
#toast.show {
	display: block;
  animation: fadein 0.5s 1, fadeout 0.5s 2.5s 1;
}
@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}
@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

#tabla {
  margin: 0 auto;
}
#tabla td {
	padding: 10px;
}

#aviso {
	display: none;
  min-width: 250px;
  margin-top: -50px;
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: 8px 8px 8px 0 rgba(0,0,0,0.5);
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#aviso.show {
	display: block;
  animation: fadein2 0.5s 1, fadeout2 0.5s 9.5s 1;
  animation-fill-mode: forwards;
}
@keyframes fadein2 {
  from {top: 0; opacity: 0;}
  to {top: 50%; opacity: 1;}
}
@keyframes fadeout2 {
  from {top: 50%; opacity: 1;}
  to {top: 0; opacity: 0;}
}

/* navbar */
.navbar {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
  height: 68px;
  box-shadow: 0 8px 8px 0 rgba(0,0,0,0.5);
  transition: 0.3s;
}
.navbar:hover {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
}
.navbar a {
  float: left;
  display: block;
  color: #ddd;
  text-align: center;
  padding: 20px 10px 5px;
  text-decoration: none;
  border-radius: 10px;
}
.navbar:not(.responsive) a:not(:first-child):not(.menu):hover {
  border-bottom: 5px inset white;
}
.navbar a:hover {
	color: white;
}
.navbar img {
	width: 130px;
	margin-top: -10px;
}
.navbar .menu {
	display: none;
}

/* responsive navbar */
@media screen and (max-width: 620px) {
  .navbar a:not(:first-child) {
  	display: none;
  }
  .navbar a.menu {
    float: right;
    display: block;
  }

	.navbar.responsive {
		height: auto;
	}
  .navbar.responsive a.menu {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
    padding-bottom: 15px;
  }
}

/* remotos */
#remotos a {
  position: fixed;
  right: -20px;
  padding: 10px;
  width: 100px;
  text-decoration: none;
  border-radius: 5px 0 0 5px;
  opacity: 0.75;
}
#remotos a:hover {
  right: 0;
  padding-left: 20px;
  opacity: 1;
}
#remoto1 {
  top: 85px;
  background-color: #2196F3; /* Blue */
}
#remoto2 {
  top: 180px;
  background-color: #f44336; /* Red */
}
#remoto3 {
  top: 275px;
  background-color: #25D366; /* Green */
  color: white;
}

#toTop a {
  position: fixed;
  right: 0.5rem;
  bottom: 3.5rem;
  padding: 10px;
  text-decoration: none;
  color: #ddd;
  background-color: #888;
  opacity: 0.75;
}
#toTop a:hover {
  color: white;
  opacity: 1;
}
#toTop.arriba a {
	opacity: 0;
  bottom: 0;
}

#cookie-notice {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.4rem;
	border: 1px solid #ccc;
	background-color: #ffc;
}
#cookie-notice span {
	font-size: 0.6rem;
}
#cookie-notice button {
  float: right;
  background-color: navy;
	font-size: 0.75rem;
  font-weight: bold;
  color: #ddd;
  padding: 6px 32px;
  margin-bottom: 5px;
  margin-right: 4rem;
  border: none;
  cursor: pointer;
}
#cookie-notice button:hover {
  color: white;
}

.visible {
	display: block !important;
}

.footer {
	background-color: #eee;
	border: 1px solid #ccc;
	font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem;
}

/* modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10vh;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90vw;
    box-shadow: 8px 8px 8px 0 rgba(0,0,0,0.5);
    border-radius: 10px;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
	padding: 1vh 1rem;
  background-color: #444;
  color: white;
  border-radius: 10px 10px 0 0;
}

.modal-header h3, .modal-header span {
  font-size: 4vh;
}
.modal-body {
	padding: 1vh 1rem;
 	overflow-y: auto;
 	max-height: 70vh;
}
.modal-body p, .modal-body li {
 	font-size: 0.75rem;
 	line-height: 1rem;
 	margin-top: 0.5rem;
}
.modal-body .columna {
  float: left;
  width: 50%;
  padding-right: 30px;
}
.modal-footer {
	padding: 1vh 1rem;
  border-radius: 0 0 10px 10px;
}

@media screen and (max-width: 900px) {
  .modal-body .columna {
    width: 100%;
    padding-right: 0;
  }
}
