/****** PLACE YOUR CUSTOM STYLES HERE ******/
#type-buttons{
    text-align: center !important;
}

/* Video Modal
-----------------------------------------*/
.video-modal,
.video-modal .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
}
.video-modal {
	overflow: hidden;
	position: fixed;
	opacity: 0.0;

  -webkit-transform: translate(500%,0%);
  transform: translate(500%,0%);

  -webkit-transition: -webkit-transform 0s linear 0s;
  transition: transform 0s linear 0s;


  /* using flexbox for vertical centering */

  /* Flexbox display */
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;

  /* Vertical alignment */
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.video-modal .overlay {
  z-index: 0;
  background: rgba(1,50,61,0.82); /* overlay color */

  opacity: 0.0;

  -webkit-transition: opacity 0.2s ease-out 0.05s;
  transition: opacity 0.2s ease-out 0.05s;
}


.video-modal-content {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: 1;
  
	margin: 0 auto;

	overflow-y: visible;

	background: #000;
  
  width: calc(100% - 12em);
  height: 0;
  padding-top: calc((100% - 12em) * 0.5625); /* 16:9 calc */
}

/* Scaling to fit within the current Viewport size:
   When viewport aspect ratio is greater than 16:9
   work off the height instead of the width for calc */
 @media (min-aspect-ratio: 16/9) {
  .video-modal-content {
    width: 0;
    height: calc(100vh - 10em);
    padding-top: 0;
    padding-left: calc((100vh - 10em) * 1.7778); /* 16:9 calc */
  }
}

/* Mobile Layout Tweaks - side margins reduced */
@media (max-width: 640px) {
	.video-modal-content {
		width: calc(100% - 1em);
    padding-top: calc((100% - 1em) * 0.5625); /* 16:9 calc */
	}
}

/* modal close button */
.close-video-modal {
	display: block;
    position: absolute;
    left: 0;
    top: -40px;

    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* set the iframe element to stretch to fit its parent element */
iframe#youtube {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;

	background: #000;
	box-shadow: 0px 2px 16px rgba(0,0,0,0.5);
}

/* show the modal: 
   add class to the body to reveal */
.show-video-modal .video-modal {
	opacity: 1.0;

	transform: translate(0%,0%);
	-webkit-transform: translate(0%,0%);
}
.show-video-modal .video-modal .overlay {
	opacity: 1.0;
}
.show-video-modal .video-modal-content {
	transform: translate(0%,0%);
	-webkit-transform: translate(0%,0%);
}
.play-video{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -28px !important;
    margin: auto;
    width: 70px !important;
}











.vid-container{
    position: relative;
	padding-bottom: 56.25%; /* proporción 16:9 */
	padding-top: 25px;
	height: 0;
}
.vid-youtube{
    position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
}
/* Menu burguer abierto */
.module.active i{
    color: #292929 !important;
}
/* CLASES MIAS */
.menu li {
    margin-bottom: 5px !important;
}
.mt10{
    margin-top: 10px;
}
.mb20{
  margin-bottom: 20px;
}
.mt20{
  margin-top: 20px;
}
.pb50{
  padding-bottom: 50px;
}
.pb40{
  padding-bottom: 40px;
}
.pb30{
  padding-bottom: 30px;
}
.pb20{
  padding-bottom: 20px !important;
}
.pb10{
  padding-bottom: 10px;
}
.pt50{
  padding-top: 50px;
}
.pt40{
  padding-top: 40px;
}
.pt30{
  padding-top: 30px;
}
.pt20{
  padding-top: 20px;
}
.pt10{
  padding-top: 10px;
}
.pr10{
  padding-right: 10px;
}
.padding-footer{
  padding: 25px 25px;
}
.no-padding{
  padding: 0px 0px 0px 0px;
}
.no-margin-top{
  margin-top: 0px;
}
.no-margin{
  margin: 0px 0px 0px 0px;
}
.no-padding-top{
  padding-top: 0px;
}
.no-padding-bottom{
  padding-bottom: 0px;
}
.c-rosa{
  color: #ff4d9b;
}
.c-azul{
  color: #3a7e8e;
}
.c-blanco{
  color: #fff;
}
.c-rojo{
  color: #c74848;
}
.hover-black:hover{
  color: #000;
}
.bg-red{
  background-color: #c74848;
}
.bg-blue{
  background-color: #3a7e8e;
}
.bg-pink{
  background-color: #ff4d9b;
}
.icon-blue{
  color:#3a7e8e;
}
.icon-white{
  color:#ffffff;
}
.float-left{
  display: inline-block;
}
.padding-h-10{
  padding: 0px 20px;
}
.tabs-contacto{
  width:66.66666667%;
}
.usuario_incorrecto{
  color: #ff4d9b !important;
  font-size: 20px;
}
.align-center {
  position: absolute;
  /*nos posicionamos en el centro del navegador*/
  top:50%;
  left:50%;
  /*determinamos una anchura
  width:400px;*/
  /*determinamos una altura
  height:300px;*/
  margin-top:-150px;
  border:1px solid #808080;
  padding:5px;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: 2;
}
.divcalendar{
  position: relative;
}
.icalendar{
  position:absolute;
  right:20px;
  top:14px;
  z-index: 2;
  font-size: 18px;
}
.alertForm{
  border-color: red;
  border-style: solid;
  border-width: 2px;
}

.alert-input{
  border-color: red !important;
  border-style: solid !important;
  border-width: 2px !important;
}

.text-cookie{
  text-decoration: none !important;
  outline: none !important;
  font-weight: 600 !important;
  color: #3a7e8e !important;
  font-size: 13px !important;
  line-height: 24px !important;
  font-family: "Open Sans" !important;
}

.btn-red {
  border: 2px solid #c74848 !important;
  color: #c74848 !important;
}
.btn-red:hover {
  background: #c74848 !important;
  color: #fff !important;
}

.modal-cita-ok{
  background-color: #3a7e8e;
  color: #fff;
}

.modal-cita-error{
  background-color: #c74848;
  color: #fff;
}

.icono-servicios{
  max-height: 44px;
  max-width: 54px;
}
.titulo-slider{
    font-weight: 700;
}
.sub-titulo-slider{
    font-size: 24px !important;
}
/*---------------*/

/* NAV */
.tel-nav{
  font-size: 14px !important;
}
.location-nav{
  font-size: 11px !important;
}
.btn-whatsapp{
  padding: 8px 10px 8px 10px;
  border-radius: 125px 125px 125px 125px;
  -moz-border-radius: 125px 125px 125px 125px;
  -webkit-border-radius: 125px 125px 125px 125px;
  border: 0px solid #000000;
  background-color: #43d854;
  color: #fff !important;
  font-weight: bold;
}
.btn-location{
  padding: 10px 10px 8px 10px;
  border-radius: 125px 125px 125px 125px;
  -moz-border-radius: 125px 125px 125px 125px;
  -webkit-border-radius: 125px 125px 125px 125px;
  border: 0px solid #000000;
  background-color: #3a7e8e;
  color: #fff !important;
  font-weight: bold;
}
.icono-nav{
  font-size: 16px !important;
}
.opacity-none{
  opacity: 1.5 !important;
}

/* FIN NAV */

/* CUSTOM CSS ORIGINAL */
footer{
	padding-top: 72px;
	padding-bottom: 0px;
  position: relative;
  overflow: hidden;
}
.menu > li ul {
  background: #3a7e8e;
}

.slide-no-margin{
  margin-right: 0px !important;
}

/* CUSTOM ETIQUETAS H1,H2,H3...*/
.h1-custom{
  font-size: 56px;
  line-height: 64px;
}
.h2-custom {
  font-size: 40px;
  line-height: 48px;
}
.h3-custom {
  font-size: 32px;
  line-height: 40px;
}
.h4-custom {
  font-size: 24px;
  line-height: 32px;
}
.h5-custom {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.h6-custom {
  font-size: 12px;
  line-height: 24px;
  font-weight: 700;
}
@media all and (max-width: 990px) {
  .h1-custom {
    font-size: 56px;
    line-height: 64px;
  }
}

@media all and (max-width: 767px) {
  .h1-custom {
    font-size: 32px;
    line-height: 40px;
    font-weight: 300;
  }
	.h2-custom {
  	font-size: 32px;
  	line-height: 40px;
	}
	.h3-custom {
  	font-size: 24px;
  	line-height: 32px;
	}
  .h4-custom {
  font-size: 18px;
  line-height: 26px;
  }
  .h5-custom {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
  }
  .h6-custom {
    font-size: 12px;
    line-height: 24px;
    font-weight: 700;
  }

  .sec-sm-servicios{ 
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
  }
}
.h1-custom.uppercase {
  letter-spacing: 17px;
  margin-right: -17px;
}
.h2-custom.uppercase {
  letter-spacing: 10px;
  margin-right: -10px;
}
.h3-custom.uppercase {
  letter-spacing: 6px;
  margin-right: -6px;
}
.h4-custom.uppercase {
  letter-spacing: 3px;
  margin-right: -3px;
}
.h5-custom.uppercase {
  letter-spacing: 2px;
  margin-right: -2px;
}
.h6-custom.uppercase {
  letter-spacing: 2px;
  font-weight: 700;
}
.instafeed li img {
    height: 147.13px !important;
}
/*----------------------------*/

/*Loader*/
#loader{
  display: none;
  position:fixed;
  background:#000;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  margin: 0;
  padding: 0;
  border: none;
  top:0;
  left:0;
  z-index: 998;
  text-align: center;
  padding-top: 200px;
  overflow:hidden;
}
#loader h6{
  z-index: 999;
  color: #fff;
}
.div-loader{
  position: absolute;
  max-width:100px;
  max-height: 100px; 
  left: 47%;
  top: 30%;
}
#preloader_3{
    position:relative;
    max-height: 20px;
    max-width: 20px;
    left: 20px;
}
#preloader_3:before{
    width:20px;
    height:20px;
    border-radius:20px;
    background:blue;
    content:'';
    position:absolute;
    background:#3a7e8e;
    animation: preloader_3_before 1.5s infinite ease-in-out;
}

#preloader_3:after{
    width:20px;
    height:20px;
    border-radius:20px;
    background:blue;
    content:'';
    position:absolute;
    background:#ff4d9b;
    left:22px;
    animation: preloader_3_after 1.5s infinite ease-in-out;
}
 
@keyframes preloader_3_before {
    0% {transform: translateX(0px) rotate(0deg)}
    50% {transform: translateX(50px) scale(1.2) rotate(260deg); background:#ff4d9b;border-radius:0px;}
      100% {transform: translateX(0px) rotate(0deg)}
}
@keyframes preloader_3_after {
    0% {transform: translateX(0px)}
    50% {transform: translateX(-50px) scale(1.2) rotate(-260deg);background:#3a7e8e;border-radius:0px;}
    100% {transform: translateX(0px)}
}
/*Fin loader*/

@media (max-width: 600px) {
  .mwr-resenas{
      max-height: 200px !important;
      margin-top: 30px;
  }
}


/*******CPANEL*******/
.oculto{
  display: none;
}



/****FIN CPANEL*******/