/* =====================================
1. MAIN SLIDER AREA
======================================== */

body,
html {
	height: 100%;	
}

body.slider__body {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.slider__container {
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 500ms ease-in-out;
	transition: -webkit-transform 500ms ease-in-out;
	-o-transition: transform 500ms ease-in-out;
	transition: transform 500ms ease-in-out;
	transition: transform 500ms ease-in-out, -webkit-transform 500ms ease-in-out;
}

.slider__page {
	position: relative;
	width: 100%;
	height: 100%;
}

.slider__indicators {
	position: absolute;
	right: 18px;
	top: 50%;
	z-index: 2;
	margin: 0;
	padding: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.slider__indicator {
	display: block;
	width: 10px;
	height: 10px;
	margin: 10px 0;
	border-radius: 100px;
	background-color: #fff;
	cursor: default;
}
.slider__indicator--active {
	opacity: 0.3;
}

#home {
	background-color: white;
}

#treatments {
	background-image: url("/wp-content/uploads/2019/10/Tratamientos-min.jpg");
	background-repeat: no-repeat;
	background-position: center;	
	background-size: contain;
	background-position-x: 90px;
	background-position-y: 90px;
	height: flex;
	min-height: 130vh;	
}
#weightCalc{
	background-color: #6babdb;
}
#locations {
	background-color: #002e5f;	
}
#testimonios {
	background-color: #a3cbec;
}
#doubleChin {
	background-color: #bfdce8;
}
#faceLift {
	background-color: #6babdb;
}
#footer {
	background-color: #ffffff;	
}

section > span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 7vw;
	font-family: sans-serif;
	text-transform: uppercase;
	color: #fff;
}

/* =====================================
2. HEADER MENU AREA
======================================== */

.navbar {
	overflow: hidden;
	background-color: #333;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1001;
  }
  
  .overlay {
	height: 0%;
	width: 100%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: rgb(28,60,133);
	background-color: rgba(28,60,133, 0.8);
	overflow-y: hidden;
	transition: 0.5s;
  }
  
	.overlay-content {
    position: relative;
    top: 15%;
    width: 80%;
    text-align: center;
    margin-top: 0px;
	}
  
  .overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 28px;
	color: #ffffff;
	display: block;
	transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
	color: #1c3c85;
  }
  
  .overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
  }
  
  @media screen and (max-height: 450px) {
	.overlay {overflow-y: auto;}
	.overlay a {font-size: 20px}
	.overlay .closebtn {
	font-size: 40px;
	top: 15px;
	right: 35px;
	}
  }
  
  ul, li, a {
	list-style-type: none;
  }
  
  /* =====================================
  2.1 SVGs ANGLE ON SECTIONS
  ======================================== */
  
  .midnigth-blue {
	position: relative;
	height: inherit;
	background-color: #1c3c85;
  }
  
  .cornflower-blue {
	position: relative;
	height: inherit;
	}
	
	.white-to-blue {
		position: relative;
		height: inherit;		
	}
  
  svg {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 10vw;
  }
  
  /* ==========================
  2.2 MENU BUTTON
  ============================= */
  
  .topnav-right {
	position: absolute;
    top: 5%;
    right: 2px;
    padding: 14px 16px;
    color: #f2f2f2; 
  }

  .topnav-right span{
		top: 12px;
		right: 25px;
		font-size: 40px;
		cursor: pointer;
		position: relative;
  }
  
  /* .navHeader {
		position: relative;
		overflow: hidden;
		height: 6em;
		background-color: #1c3c85;
		margin-left: -60px;
	}	 */

	.navHeader {
		background-image: url("/wp-content/uploads/2019/04/Slider-Shape.png");
		background-position: center center;
		background-size: cover;
		position: fixed;
		top: -25px;
		width: 100%;		
		vertical-align: middle;		
		min-height: 15%;
		z-index: 1000;
	}	

	.header-logo {
		top: 30px;
		float: left;
		width: 100%;
		right: 100px;
		position: absolute;
	}

	@media screen and (max-width: 450px) {
		.topnav-right span {
			top: 4px;
			right: 25px;
			font-size: 30px;
			cursor: pointer;
			position: relative;
		}

		.header-logo {
			top: 12px;
			float: left;
			width: 100%;
			right: 100px;
			position: absolute;
		}

	}

/* ==========================
  3. ROUNDED SLIDERS
	============================= */
	
	.rs-control .rs-range-color {
			background-color: #a3cbec;
	}
	.rs-control .rs-path-color {
			background-color: #6babdb;
	}
	.rs-control .rs-handle {
			background-color: #a3cbec;
	}
	.rs-control .rs-bg-color {
			background-color: #6babdb;
	}

	.rs-tooltip-text {
		font-size: 20px !important;
		color: #fff;
	}

	#ageSlider .rs-border {
		border-color: transparent;
	}

	#ageSlider {
		height: 100px;
    width: 100px;
    position: relative;
    margin-left: auto;
    margin-right: auto;    
	}

	#weightSlider .rs-border {
		border-color: transparent;
	}

	#weightSlider {
		height: 100px;
    width: 100px;
    position: relative;
    margin-left: auto;
    margin-right: auto;    
	}
	
	#resultSlider .rs-border {
		border-color: transparent;
	}

	#resultSlider {
		position: relative;
    margin-left: auto;
    margin-right: auto;   
	}

	/* GALLERY CSS */

	/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  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;
  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: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.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);
}

/*****************************/

.tooltiptext {
  visibility: hidden;
  width: 170px;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: fixed;
	z-index: 15;
	right: 115px;
	bottom: 60px;
}

#valoracionButton:hover .tooltiptext {
  visibility: visible;
}

.carousel-control-next, .carousel-control-prev {
	z-index: 0 !important;
}


/* Responsive Values */
@media screen and (max-width: 1024px) {
	#treatments {
		background-image: url("/wp-content/uploads/2019/10/Tratamientos-min.jpg");
		background-repeat: no-repeat;
		background-position: center;	
		background-size: cover;
		background-position-x: 90px;
		background-position-y: 90px;
		height: flex;
		min-height: 155vh;	
	}
}