/*Diseño en general*/
body {
	font-family: 'Roboto', sans-serif;
	color: #657077;
}
a, .btn, li {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.navbar.bg-primary {
	background-color: #c4abb7e6 !important;
}
h1, h2, h3, h4, h5, .navbar, .btn, .card, .nav-tabs .nav-link, .leaflet-center{
	font-family: 'Open Sans Condensed', sans-serif;
	text-transform: uppercase;
}
h1, h2, h3, .card-title  {
	font-weight: 300;
}
.subheading {
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 2rem;
}
body, a, .artis-icon, .btnHom, .btnMuj, .viewport.leaflet-container.leaflet-touch, .info.legend {
	cursor: url('../img/ico-puntero.png'), auto !important;
}
.form-control {
	border: 1px solid #c4abb7;
}
header h1 {
    padding: 100px 0px 0px;
    background-color: #3c3547;
}
ul,li{margin:0px;padding:0px;}
/*Diseño en general: enlaces*/
.navbar-nav {
	font-size: 1.4rem;
	letter-spacing: 0.1rem;
}
.nav-link.btn-outline-light.rounded-circle {
	width: 36px;
	background: #a48f9e;
	color: #fff;
	border-color: #e4cfe0;
	text-shadow: 0px 2px 0px #867180;
	font-size: 17px;
	height: 36px;
	padding: 4px;
	margin-right: 5px;
	box-shadow: none;
}
.btn {
	padding: 12px 20px;
	font-size: 24px;
}
.nav-tabs .nav-link {
	font-size: 36px;
}
.btn, .nav-tabs .nav-link.active {
	position: relative;
	text-shadow: 0px 2px 2px #4f434f;
	box-shadow: 0px 4px 5px #584c58;
}
.nav-tabs .nav-link {
	color: #a9b5bc;
	border: none;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
	color: #fff;
	background-color: #a9b5bc;
	box-shadow: none !important;
}
.nav-tabs {
	border-bottom: 1px solid #a9b5bc;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
	background-color: #a9b5bc80;
	color: #fff;
}
.ct-action {
	text-align: right;
}
.ct-action a {
	width: 25%;
	margin-left: 10px;
}
/*Diseño en general: encabezados*/
.info.legend h1 {
	background-image: url('../img/bg-flecha.png');
	background-position: bottom center;
	background-repeat: no-repeat;
	padding-bottom: 50px;
	margin: 0px;
	text-shadow: 0px 2px 0px #c4abb7;
	line-height:100%;
	unicode-bidi: isolate;
}
.heading1 {
	background-image: url('../img/bg-flechab.png');
	background-position: 80% bottom;
	background-repeat: no-repeat;
}
.heading1::before {
	content: '';
	background-image: url('../img/bg-flechac.png');
	background-repeat: no-repeat;
	width: 50%;
	height: 100px;
	position: absolute;
	left: 0;
	display: inline-block;
	right: 0;
	margin: 0 auto;
	z-index: -1;
}
.heading2 {
	background-image: url('../img/bg-flechab.png');
	background-position: 270px 30px;
	background-repeat: no-repeat;
}
.heading2 .subheading {
	text-indent: 40px;
}
/*Diseño en general: fondos*/
#servicios {
    background-attachment: fixed;
    background-position: -10% top;
    background-repeat: no-repeat;
    background-color: #f4f3f1;
    position: relative;
}
#servicios::before {
	content: '';
	height: 50%;
	background: -moz-linear-gradient(top,rgba(210,192,199,0) 1%,rgba(210,192,199,0) 71%,rgba(210,192,199,1) 99%);
	background: -webkit-linear-gradient(top,rgba(210,192,199,0) 1%,rgba(210,192,199,0) 71%,rgba(210,192,199,1) 99%);
	background: linear-gradient(to bottom,rgba(210,192,199,0) 1%,rgba(210,192,199,0) 71%,rgba(210,192,199,1) 99%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00d2c0c7',endColorstr='#d2c0c7',GradientType=0 );
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}
#contacto {
	background-size: contain;
	background-repeat: no-repeat;
	background-color: #ffffff;
}

/*Diseño en general: tarjetas*/
.card {
	box-shadow: 0px 4px 10px #b7c0c5;
}
.card:hover {
	transform: scale(1.03);
	box-shadow: 0px 6px 10px #89959c;
	z-index: 1;
}
.card>a::before, .carousel-item>a::before {
	content: '';
	width: 100%;
	height: 100%;
	display: inline-block;
	background: -moz-linear-gradient(top,rgba(196,171,183,0) 0%,rgba(196,171,183,0.99) 99%,rgba(196,171,183,1) 100%);
	background: -webkit-linear-gradient(top,rgba(196,171,183,0) 0%,rgba(196,171,183,0.99) 99%,rgba(196,171,183,1) 100%);
	background: linear-gradient(to bottom,rgba(196,171,183,0) 0%,rgba(196,171,183,0.99) 99%,rgba(196,171,183,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00c4abb7',endColorstr='#c4abb7',GradientType=0 );
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}
.card-title {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	text-shadow: none;
	border: 1px solid rgba(255,255,255,.6);
	text-align: center;
	margin: 0.4rem;
	padding: 0.833rem;
	border-radius: 4px;
	line-height: 100%;
	font-size: 1.5rem;
}
#nosotros .card:nth-child(2) {
	z-index: 1;
	transform: scale(1.04);
	box-shadow: 0px 3px 10px #646e72;
}
#nosotros .card:hover:nth-child(2) {
	z-index: 1;
	transform: scale(1.08);
	box-shadow: 0px 3px 10px #646e72;
}
#nosotros .card, #servicios .card {
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}


/*Ajuste en el estilo del carrusel multiple*/

.carousel-multiple .carousel-item {
	padding-top: 20px;
	padding-bottom: 20px;
}
.carousel-multiple .card {
	box-shadow: 0px 2px 6px #89959c66;
}
.carousel-control-prev, .carousel-control-next {
	height: 50px;
	background: #c4abb7;
	border-radius: 8px;
	top: 40%;
	width: 10%;
}
.carousel-control-prev {
	left: -10px;
}
.carousel-control-next {
	right: -10px;
}

/*Ocultar los controles de estos carruseles*/

#cirEstetica .carousel-control-prev, #cirEstetica .carousel-control-next,
#noQuirurgico .carousel-control-prev, #noQuirurgico .carousel-control-next {
	display: none;
}

/* Si el formulario está validado */

.was-validated .form-group {
	position: relative
}
.valid-feedback, .invalid-feedback {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
}

/*Mapa google*/

.map-responsive {
	position: relative;
	padding-bottom: 460px;
	height: 0;
	overflow: hidden;
}
.map-responsive iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/*Ajuste en los modals*/

.modal-header {
	border-top-left-radius: 0rem;
	border-top-right-radius: 0rem;
}
.modal-content {
	border-radius: 0rem;
}
.modal-header, .modal-footer {
	border: none;
}
.modal-footer {
	background: #FFFFFF;
}

/*Modal boton fullsize*/

.modal-header .resize {
	padding: 1.2rem 1rem;
	margin: -1rem;
	cursor: pointer;
	background-color: transparent;
	border: 0;
	font-size: 1.2rem;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .5;
	position: absolute;
	right: 3.4rem;
}
.resize:hover, .resize:focus, .modal-full .resize {
	opacity: .75;
}


/*full modal*/
.modal-full .modal.show {
	padding: 0px !important;
}
.modal-full .modal-dialog {
	width: 100%;
	max-width: 100%;
	margin: 0px auto;
}
.modal-full .modal-dialog, .modal-full .modal-content {
	min-height: 100%;
}
.modal-full .modal-body {
	padding: 0px;
}
.modal-full .modal-backdrop {
	opacity: .8;
}

/*Modal header y footer*/
.modal-full .modal-header, .modal-full .modal-footer {
	justify-content: center;
}
.modal-full .modal-footer {
    z-index: 1000;
}

/*full modal específicos,inline,iframe*/
.modal-full .window-inline .modal-header {
	position: relative;
}
.modal-full .window-iframe, .modal-full .window-iframe .modal-dialog{
	height: 100%;
}
.modal-full .window-iframe {
	overflow: hidden;
}
.modal-full .window-iframe .modal-dialog iframe {
	min-height: 100vh !important;
	padding-bottom: 80px;
}
/*ajuste en los dispositivos mobiles y touch */
.modal-open .modal {
	-webkit-overflow-scrolling: touch;
}
/*Zoom al modal */
.modal .modal-dialog {
	-webkit-transition: all 0.5s ease-in-out !important;
	-o-transition: all 0.5s ease-in-out !important;
	transition: all 0.5s ease-in-out !important;
	transform: scale(0.6) !important;
}
.modal.show .modal-dialog {
	-webkit-transition: all 0.4s ease-in-out !important;
	-o-transition: all 0.4s ease-in-out !important;
	transition: all 0.4s ease-in-out !important;
	transform: scale(1) !important;
}


/*ajuste en ios y otros no ios: @supports (-webkit-overflow-scrolling: touch) {}@supports not (-webkit-overflow-scrolling: touch) {} */
@supports (-webkit-overflow-scrolling: touch) {
	.modal-full .window-iframe .modal-dialog iframe {
		padding-bottom: 0px;
	}		
	.modal-full .window-iframe {
		overflow-y: scroll;
	}
	.modal-footer {
		position: absolute !important;
		z-index: 3000 !important;
		background-color: transparent !important;
	}
}	


/*ajuste modal exclusivo artís*/
.modal-header {
	position: absolute;
	left: 0px;
	right: 15px;
	z-index: 1000;
	border: none;
}
#contenidoselizabethromaychambershtml .modal-footer, #contenidoskarenromaychambershtml .modal-footer, #contenidosricardofernandezrierahtml .modal-footer, #privacidadhtml .modal-footer, #privacyhtml .modal-footer{
	display: none;
}
/* ajuste en el header de modals con carruseles */
#proCara .modal-header .resize, #proCuerpo .modal-header .resize, #proHombres .modal-header .resize,
#proMicrocirugia .modal-header .resize, #proMano .modal-header .resize, #proMalformacion .modal-header .resize,
#proTrauma .modal-header .resize{
	display:none;
}
#proCara .modal-header .close, #proCuerpo .modal-header .close, #proHombres .modal-header .close,
#proMicrocirugia .modal-header .close, #proMano .modal-header .close, #proMalformacion .modal-header .close,
#proTrauma .modal-header .close{
    margin-right: -2rem;
    opacity: 1;
    color: #fff;
    text-shadow: none;
}
.modal.window-inline .carousel-multiple .carousel-item { padding-top: 40px;padding-bottom: 40px;}


/*Imageviewer*/
#heroMap {
	position:relative;/*ajuste para que ios permita scrollear*/
	z-index: 1;
}
.leaflet-container {
	background-color: #342d3f;
}
.artis-icon {
	color: #fff;
	text-align: center;
}
.artis-icon::before {
	content: '\00d7';
	font-size: 18px;
	border: 1px dashed;
	border-radius: 25px;
	line-height: 100%;
	width: 40px;
	display: inline-block;
	padding: 8px 0px 12px;
}
.artis-icon:hover::before {
	border-color: #c69a75;
	transform: scale(1.4);
	background-color: #ffffff4d;
	text-shadow: 0px 1px 0px #fff;
	color: #c69a75;
	box-shadow: 0px 0px 10px #fff inset;
}
.leaflet-right.leaflet-middle {
	position: absolute;
	top: 28%;
	right: 30px;
	padding-top: 10px;
}
.leaflet-center.leaflet-middle {
	position: absolute;
	right: 0;
	left: 0;
	top: 28%;
	max-width: 50%;
	display: inline-block;
	margin: 0 auto;
}
.info.legend {
	margin: 0 auto;
	float: none;
	text-align: center;
}
.pop-left > .leaflet-popup-tip-container {
	left: -10px;
	margin-left: -20px;
	transform: rotate(90deg);
	bottom: 40px;
}
.pop-right > .leaflet-popup-tip-container {
	right: -30px;
	transform: rotate(-90deg);
	bottom: 40px;
	left: auto;
}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 2px;
}
.leaflet-popup-content{
	font-size: 0.83rem;	
	-webkit-overflow-scrolling: touch;
}
.leaflet-popup-content h3 {
    border-bottom: 1px solid #c4abb7;
    margin-bottom: 4px;
    padding-bottom: 2px;
    color: #657077;
}
.leaflet-popup-content ul > li {
    width: 48%;
    display: inline-block;
}
.leaflet-popup-content ul > li > a{
    display: block;    
    padding: 10px 0px;
    line-height: 100%;
	color:#817373;
}
.leaflet-popup-content ul > li > a:hover{
	color:#c4abb7;
}
.leaflet-popup-scrolled {
    border-bottom: none !important;
    border-top: none !important;
}
.leaflet-container a.leaflet-popup-close-button {
    top: -5px !important;
    right: -4px !important;
    padding: 5px 0px 0px 0 !important;
    width: 28px !important;
    height: 28px !important;
    color: #fff !important;
    background: #c6b1bc !important;
    border-radius: 20px !important;
}
/*controles*/
.leaflet-bar a {
	background-color: #000;
	color: #c69b70;
}
.leaflet-bar a:hover {
	background-color: #000;
	color: #FFFFFF;
}
.leaflet-bar a.leaflet-disabled {
	background-color: #414141;
	color: #bbb;
}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
	border: none;
	background-clip: padding-box;
}
.leaflet-bar a, .leaflet-bar a:hover {
	border-bottom: none;
}
.leaflet-control-zoom {
	visibility: hidden;
}

/*fin de image viewer*/

/**Especial: imagenes con sangre*/
.img-grayscale{-webkit-filter:grayscale(1);filter:grayscale(1);}
.img-sepia{-webkit-filter:sepia(1);filter:sepia(1);}
.img-blur{filter:blur(20px);}
.img-saturate{-webkit-filter:saturate(8);filter:saturate(8);}
.img-hue{-webkit-filter:hue-rotate(90deg);filter:hue-rotate(90deg);}
.img-invert{-webkit-filter:invert(.8);filter:invert(.8);}
.img-opacity{-webkit-filter:opacity(.2);filter:opacity(.2);}
.img-brightness{-webkit-filter:brightness(3);filter:brightness(3);}
.img-contrast{-webkit-filter:contrast(4);filter:contrast(4);}




@media only screen and (max-width: 960px) {	
	.info.legend h1 {	
		font-size: 2.5rem;
	    padding-bottom: 30px;
	    background-size: 70%;	
	}	
	.info.legend p {
	    font-size: 0.8rem;
	    display:none;
	}

	.carousel-multiple .card {
	    margin-right: 2px;
	    margin-left: 2px;
	}	
	
	/*Modal específicos:*/
	.modal-dialog {
	    max-width: 700px;
	}	
	
}

@media only screen and (max-width: 767px) {
	header h1 {	
	    padding: 55px 0px 0px;	
	}	

	/*Generales de diseño*/
	
	body {
		text-align: justify;
	}
	.container {
		max-width: inherit;
	}
	.w-75 {
		width: 100% !important;
	}
	h1, h2, h3, h4, h5 {
		text-align: center;
	}
	h2, .h2 {
		font-size: 1.4rem;
	}
	.text-right {
		text-align: center !important;
	}
	.btn, .nav-tabs .nav-link {
		padding: 10px 20px;
		font-size: 20px;
	}
	.p-5 {
		padding: 1rem !important;
	}
	.pt-5, .py-5 {
		padding-top: 1rem !important;
		padding-bottom: 1rem !important;
	}
	.py-5 {
		padding-bottom: 1rem !important;
	}
	.navbar-brand {
		width: 60px;
		padding: 0px;
		margin: 0px;
	}
	.navbar-nav {
		float: left;
	}
	.navbar-nav:nth-child(2n) {
		float: right;
		margin: 20px 0;
	}
	.navbar-nav:nth-child(2n) .nav-item {
		margin-bottom: 10px;
	}
	.ct-action a {
		width: 100%;
		margin-left: 0px;
		margin-bottom: 10px;
	}

	.nav-tabs .nav-item {
	    width: 50%;
	}	
	.card {
	    word-wrap: normal;
	}	
	.card-title {
	    font-size: 16px;
	    padding: .5rem;
	}
	
	/*Diseño en general: fondos*/
	#servicios {
		background-image: none !important;
	}
	#contacto {
		background-image: none !important;
	}
	
	/*Modal específicos:*/
	.modal-dialog {
	    max-width: 500px;
	}	
	
	/*full modal específicos:*/
	.modal-full .window-image .modal-header, .modal-full .window-image .modal-footer {
		opacity: .6;
	}
	/* Para no ocupar en .modal-body{height:100vh !important}*/
	.modal-full .window-image, .modal-full .window-image .modal-dialog, .modal-full .window-image .modal-content, .modal-full .window-image .modal-body {
		height: 100%;
	}
	.modal-full .window-image {
		overflow: hidden;
	}
	.modal-full .window-image .modal-body {
		-webkit-overflow-scrolling: touch;
		overflow: scroll;
	}
	.modal-full .window-image .modal-body img, .modal-full .window-image .modal-body img.img-fluid {
		max-width: inherit;
	}
	
}

@media only screen and (max-width: 576px) {
		
	.nav-tabs .nav-item {
		display: inline-block;
		width: 100%;
	}
	
	/*Diseño en general: texto*/
	form .btn, .showMap {
		width: 100%;
	}
	#contacto ul.list-unstyled {
		font-size: 1.6rem;
		font-weight: 700;
	}
	#servicios p {
		text-align: center;
		margin: 1rem 0px;
	}
	#contacto p br, #servicios hr {
		display: none;
	}
	/*Diseño en general: encabezados*/
	.display-4 {
		font-size: 1.8rem;
	}
	.subheading {
		font-size: 1.4rem;
	}
	.heading1 {
		background-position: right bottom;
		background-size: 40%;
	}
	.heading1::before {
		left: 0;
		right: auto;
		width: 30%;
		background-size: 100%;
	}
	.heading2 {
		background-position: top right;
		text-align: center;
		padding-bottom: 30px;
	}
	.heading2 .subheading {
		text-indent: unset;
	}
	
	/*Diseño en general: tarjetas*/
	.card-deck {
		margin-bottom: 10px;
	}
	#nosotros .card-deck {
		flex-flow: row wrap !important;
	}
	#nosotros .card-deck .card {
		display: flex !important;
		flex: 1 0 0% !important;
		flex-direction: column !important;
	}
	#nosotros .card-title {
		bottom: 8px;
		left: 8px;
		right: 8px;
		margin: 0rem;
		padding: 0.2rem;
		border-radius: 2px;
		font-size: 0.6rem;
	}
	
	/*Ajuste en el estilo del carrusel multiple*/
	/*.carousel-multiple .carousel-item {
		padding-top: 0px;
		padding-bottom: 0px;
	}*/
	/*fija la imagen pincipal*/
	.carousel-multiple .active.carousel-item-left, .carousel-multiple .active.carousel-item-right {
		-webkit-transform: translateX(0) !important;
		-ms-transform: translateX(0) !important;
		transform: translateX(0) !important;
		-webkit-transform: scale(.9)  !important;
		-ms-transform: scale(.9)  !important;
		transform: scale(.9)  !important;
		z-index:0 !important;
		animation: fadeOut 1s linear;
	}		
	/*desliza la que sigue*/
	.carousel-multiple .carousel-item-next.carousel-item-left, .carousel-multiple .carousel-item-prev.carousel-item-right {
		z-index:10 !important;
	}	
	/*animacion*/
	@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
	}
	
	.carousel-multiple .carousel-item .card {
		max-width: 90%;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.carousel-control-prev, .carousel-control-next {
		width: 15%;
		z-index:20 !important;
	}
	/*Mostrar los controles de estos carruseles*/
	#cirEstetica .carousel-control-prev, #cirEstetica .carousel-control-next,
	#noQuirurgico .carousel-control-prev, #noQuirurgico .carousel-control-next {
		display: flex;
	}
	
	/*Imageviewer*/
	.leaflet-right.leaflet-middle {
		right: 0px;
	}
	.leaflet-center.leaflet-middle {
	    top: 24%;
	    max-width: 36%;
	}	
	.pop-left > .leaflet-popup-tip-container {
	    left: 50%;
	    margin-left: -20px;
	    transform: rotate(0deg);
	    bottom: -20px;
	}	
	.pop-right > .leaflet-popup-tip-container {
	    left: 50%;
	    transform: rotate(0deg);
	    bottom: -20px;
	}	
	.leaflet-popup-content ul > li {
	    width: auto;
	    display: block;
	}	
	.info.legend h1 {
	    font-size: 1.4rem;
	    background-size: 60%;
	    padding-bottom: 24px;
	}

}