/* --------------------------- Sólo para página de servicios ---------------------------*/




/* --------------------------- Contenidos de uso general ------------------------------ */

/* Contenidos */


/* --------------------------- Contenidos de secciones -------------------------------- */


/* Servicios */

#toppage {
	position:relative;float:none;
	margin:0 auto;padding:100px 0 0 0;
	width:100%;height:500px;
	clear:both;overflow:hidden;	
	background-color:#fff;
	background-position:center top;
	background-repeat:no-repeat;
    background-image:url('../img/content_bg_svc.jpg');
	background-size:100%;
}

#toppage .wrap h2 {
	position:relative;float:none;
	margin:30% auto 5px auto;padding:0;
	width:100%;min-height:20px;
	text-align:left;color:#000;font-size:650%;text-shadow:0 1px 3px rgb(0,0,0,0.2);
	clear:both;
}



/* --------------------------- Destacados --------------------------------------------- */



.tabs {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 1em 0 2em;
	font-weight: 300;
}

/* Nav */
.tabs nav {
	text-align: center;
}

.tabs nav ul {
	padding: 0;
	margin: 0px 0 0 0;
	list-style: none;
	display: inline-block;
}

.tabs nav ul li {
	border: 1px solid #a8c633;
	border-bottom: none;
	margin: 0 0.25em;
	display: block;
	float: left;
	position: relative;
}

.tabs nav li.tab-current {
	border: 1px solid #a8c633;
	box-shadow: inset 0 2px #a8c633;
	border-bottom: none;
	z-index: 100;
}

.tabs nav li.tab-current:before,
.tabs nav li.tab-current:after {
	content: '';
	position: absolute;
	height: 1px;
	right: 100%;
	bottom: 0;
	width: 1000px;
	background: #a8c633;
}

.tabs nav li.tab-current:after {
	right: auto;
	left: 100%;
	width: 4000px;
}

.tabs nav a {
	color: #333;
	display: block;
	font-size: 0.95em;
	line-height: 2.5;
	padding: 0 1.25em;
	white-space: nowrap;
}

.tabs nav a:hover {
	color: #000;
}

.tabs nav li.tab-current a {
	color: #a8c633;
}
.tabs nav a span {padding-left:15px;}

/* Icons */

.tabs nav a.icon-corporal,
.tabs nav a.icon-facial,
.tabs nav a.icon-spa,
.tabs nav a.icon-terapias {
	background-position:left top;
	background-repeat:no-repeat;
	background-size:30px;
}

.tabs nav a.icon-corporal {background-image:url('../img/servicios-icons-peq-corporal.png');}
.tabs nav a.icon-facial {background-image:url('../img/servicios-icons-peq-facial.png');}
.tabs nav a.icon-spa {background-image:url('../img/servicios-icons-peq-spa.png');}
.tabs nav a.icon-terapias {background-image:url('../img/servicios-icons-peq-terapias.png');}

/* Content */
.content section {
	font-size: 1.25em;
	padding: 3em 1em;
	display: none;
	max-width: 990px;
	margin: 0 auto;
}

.content section:before,
.content section:after {
	content: '';
	display: table;
}

.content section:after {
	clear: both;
}

/* Fallback example */
.no-js .content section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid #a8c633;
}

.content section.content-current {
	display: block;
}

.mediabox {
position:relative;
	float: none;
	width: 97%;
margin:0 auto 15px auto;
	padding: 0;
clear:both;
padding:1.5%;
border-radius:15px;
box-shadow:0 0 10px rgba(0,0,0,0.5);
min-height:100px;
overflow:hidden;
}

.mediabox img {
		float: left;
	display: block;
	margin: 0 auto;
		margin: 0 25px 10px 0;
		max-width: 40%;
border-radius:5px;
box-shadow:0 2px 7px rgba(0,0,0,0.2);
}

.mediabox h3 {
	margin: 0.75em 0 0.5em;
	color:#a8c633;
		margin-top: 0;
	text-align:center;
padding:15px 0;
}

.mediabox p {
	padding: 0 0 1em 0;
	margin: 0;
	line-height: 1.3;
	color:#333;
		margin-left: 40%;
		margin-left: calc(40% + 25px);
}
.mediabox p.all {width:100%;margin-left:0;}



/* Example media queries */

@media screen and (max-width: 52.375em) {
	.tabs nav a span {
		display: none;
	}

	.tabs nav a:before {
		margin-right: 0;
	}

	.mediabox:before,
	.mediabox:after {
		content: '';
		display: table;
	}

	.mediabox:after {
		clear: both;
	}

    .tabs nav ul li a {height:35px;}
.tabs nav a span {padding-left:0px;}
}

@media screen and (max-width: 32em) {
	.tabs nav ul,
	.tabs nav ul li a {
		width: 100%;
		padding: 0;
	}

    .tabs nav ul li a {height:35px;}

	.tabs nav ul li {
		width: 20%;
		width: calc(20% + 1px);
		margin: 0 0 0 -1px;
	}

	.tabs nav ul li:last-child {
		border-right: none;
	}

.tabs nav ul li a span {padding-left:0px;width:10px;background:#445;}

	.mediabox {
		text-align: center;
	}

	.mediabox img {
		float: none;
		margin: 0 auto 15px auto;
		max-width: 100%;
		box-shadow:none;
	}

	.mediabox h3 {
		margin: 1.25em 0 1em;
	}

	.mediabox p {
		margin: 0;
	}
}