/* CSS Document */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/************ GENERAL ************/

*, *:before, *:after {box-sizing: border-box;}

.clearfix:after, .clearfix:before {
    content: "";
    display: block;
    clear: both;
}
.hidden {
	position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
a {
    color: #c9030a;
	text-decoration: underline;
    -webkit-transition: all .4s ease-in-out;  
    -moz-transition: all .4s ease-in-out;  
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
a:hover {text-decoration: none;}

.page-content a:focus, .scroll-up:focus {border: solid 2px #a6c7ff;}

strong {font-weight: bold;}

.highlight {color: #c9030a;}
	
.upper {text-transform: uppercase;}

.lower {text-transform: lowercase;}

.number {font-size: 1.1rem; font-weight: bold;}

abbr {
    border-bottom: 2px dotted #c9c9c9;
    opacity: .5;
    font-weight: 400;
}
body {
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: .8rem;
    line-height: 24px;
    font-weight: 500;
    color: #3b3b3b;
}
.background_fisio {
	top:0;
	z-index:-100;
	position:fixed;
	overflow:hidden;
	width:100%;
	height:100%;
	background: url(../img/fisio.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.container {
    width: 100%;
}
.wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
	text-align: center;
}

/* Go top Button */

.scroll-up {
    width: 60px;
    height: 60px;
    position: fixed;
    right: 0px;
    bottom: 20px;
    display: none; /* Se pinta por JQuery */
    text-indent: -9999px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    color: white;
    background: url(../img/up.png) no-repeat center #3b3b3b;
	opacity: .6;
    background-size: 35px;
    z-index: 99;	
}
.scroll-up:hover, .scroll-up:focus {
	opacity: 1;
    -webkit-transition: .4s all;
    -moz-transition: .4s all;
    -o-transition: .4s all;
    -ms-transition: .4s all;
    transition: .4s all;
}

/************ HEADER ************/

.page-header {
	width: 100%;
    position: fixed;
	top: 0;
	right: 0;
    z-index: 999;
    padding: 10px 0;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
}
.logo {
    float: left;
    width: 20%;
    padding: 0 10px;
}
.logo > span {
    display: inline-block;
    width: 160px;
    height: 60px;
    background: url(../img/logo.png) no-repeat center;
    background-size: contain;
    text-indent: -99999px;
}
#navigation {
    float: left;
    width: 80%;
}
#toggle-nav {
    display: none;
}
.cont_nav{
	float:right;
}
#main-nav {
	font-size: .8rem;
    line-height: 60px;
	font-weight: 800;
    text-align: right;
	display:inline-block;
}
#main-nav .menu-item {
    display: inline-block;
}
#main-nav .menu-item + .menu-item:before {
    content: "";
    display: inline-block;
    border-left: 1px solid #c9c9c9;
    height: 25px;
    vertical-align: middle;
}
#main-nav .menu-item a {
    padding: 0 10px;
    text-decoration: none;
    color: #3b3b3b;
    text-transform: uppercase;
    padding-bottom: 29px;
}
#main-nav .menu-item a:hover, #main-nav .menu-item a:active, #main-nav .menu-item .active {
    color: #c9030a;
    text-decoration: none;
	padding-bottom: 33px;
	background-image: url(../img/triangle.png);
	background-position: bottom center;
	background-size: 15px;
	background-repeat: no-repeat;
	transition: none;
}
#inpage{
	display: inline-block;
	color: #3b3b3b;
}
/************ SECTIONS - GENERAL ************/

/* Sections */

.sec1, .sec2, .video  {
	width: 100%;
}
.sec1 .wrapper, .sec2 .wrapper, .video .wrapper  {
	padding: 5% 0;
}
.sec1 {
	background-color: #eaeaea;
}
.sec2{
	background-color: #FFF;
}
.video {
	background-color: #c9030a;
}

/* Text */

.page-content {
	letter-spacing: .5px;
}

.page-content h2 {
	font-size: 1.7rem;
    line-height: 35px;
	letter-spacing: 1px;
	font-weight: 800;
    padding-bottom: 10px;
}
.page-content h3, .page-content .title {
	display: block; 
	font-size: 1rem;
    line-height: 24px;
	font-weight: 800;
    padding: 10px 0;
}
.page-content p {
    padding-bottom: 10px;
}
.page-content .intro {
	font-size: 1.3rem;
	line-height: 30px;
	padding-bottom: 40px;
}
.page-content .intro:after, .page-content h3:after, .page-content .title:after {
	content: "";
    display: block;
    border-bottom: 2px solid #c9c9c9;
    margin: 0 auto;
    width: 60px;
    padding-bottom: 15px;
}
.page-content h3:after, .page-content .title:after {
	padding-bottom: 10px;
}

/* Links-button*/

.button {
	display: inline-block;
	min-width: 140px;
	margin: 0;
	padding: 5px 7px;
	border: 1px solid #c9030a;
	-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: 0px;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	color: #c9030a;
	-webkit-transition: all .4s ease-in-out;  
    -moz-transition: all .4s ease-in-out;  
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.button:hover {
	color: #fff;
	background-color: #c9030a;
}
.button-2 {
	color: #fff;
	background-color: #c9030a;
}
.button-2:hover {
	color: #c9030a;
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.4);
}

/* Image New Window*/

img[src*="botPopUp.gif"], img[src*="botPopUp_white.png"] {
    width: 12px !important;
    height: 12px !important;
	margin-bottom: -1px;
}

/************ HERO ************/

#hero {
	width: 100%;
	margin-top: 70px;
}
#hero > img {
	width: 100%;
	height: auto;
	display: block;
}
#hero .claim {
	width: 100%;
	position: relative;
	background-color: #fff;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
}
.claim h1 {
    font-size: 2rem;
    line-height: 40px;
    font-weight: 300;
    padding: 2% 4% 1%;
}
.claim p {
	font-size: .95rem;
    padding: 0 4% 3%;
}

/************ KEYS ************/

.keys-items {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}
.keys-items li {
	list-style: none;
	float: left;
	width: 25%;
	padding: 1% 2%;
    vertical-align: top;
}
.keys-items li a {
	display: inline-block;
	text-decoration: none;
	color: #3b3b3b;
}
.keys-items li a:hover {
	color: #c9030a;
}
.keys-items li a:before {
    content: "";
    display: block;
    width: 90px;
    height: 90px;
    margin: 0 auto 5px;
    background-repeat: no-repeat;
    background-position: top center;
	background-size: contain;
}
.keys-items .centres a:before {
    background-image: url(../img/icon_map.png);
}
.keys-items .near a:before {
	background-image: url(../img/icon_phone.png);
}
.keys-items .emutua a:before {
	background-image: url(../img/icon_responsive.png);
}
.keys-items .health a:before {
	background-image: url(../img/icon_health.png);
}
.keys-items .centres a:hover:before {
	background-image: url(../img/icon_map_2.png);
}
.keys-items .near a:hover:before {
	background-image: url(../img/icon_phone_2.png);
}
.keys-items .emutua a:hover:before {
	background-image: url(../img/icon_responsive_2.png);
}
.keys-items .health a:hover:before {
	background-image: url(../img/icon_health_2.png);
}

/************ COVERAGES ************/

.cover-items {
	width: 100%;
	margin: 2% auto;
	padding: 0;
}
.cover-items:after {
	content: "";
    display: block;
	width: 95%;
	margin: 10px auto 10px;
    border-bottom: 2px dotted #c9c9c9;
}
.cover-items li {
	list-style: none;
	display: inline-block;
	width: 19%;
	min-width: 180px;
	height: 280px;
	margin: 2% .2%;
    vertical-align: top;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: contain;
	-webkit-border-radius: 6px;
    -moz-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
	overflow: hidden;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);	
}
.cover-items .first {
	background-image: url(../img/accidente.png);
}
.cover-items .second {
	background-image: url(../img/enfermedad.png);
}
.cover-items .third {
	background-image: url(../img/embarazo.png);
}
.cover-items .fourth {
	background-image: url(../img/autonomos.png);
}
.cover-items .fifth {
	background-image: url(../img/menores.png);
}
.cover-items li a {
	float: left;
	width: 100%;
	padding: 140px 0 0;
	text-decoration: none;
	color: #fff;
}
.cover-items li a:hover{
	padding: 160px 0 0;
}
.cover-link {
	display: table;
	width: 100%;
	height: 140px;
	padding: 5px 5px 10px;
	font-size: .8rem;
	background-color: #c9030a;
}
.cover-link span {
	display: table-cell;
	padding-bottom: 10px;
    vertical-align: middle;
	background-image: url(../img/icon_down.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 15px;
}

/*Diagrama*/

.diagram {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}
.diagram li {
	list-style: none;
	display: inline-block;
	float: left;
	width: 33.3%;
	padding: 2% 1%;
}
.box-step {
	display: table;
	width: 100%;
	height: 90px;
	padding: 10px 5px;
	background-color: #eee;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
}
.box-step span {
	display: table-cell;
	vertical-align: middle;
	font-size: 1rem;
    font-weight: 600;
    color: #c9030a;
}
.link-video {
	display: block;
	font-size: .8rem;
	font-weight: 400;
}
.link-video:before {
	text-decoration: none !important;
}
.step1 .box-step, .step2 .box-step {
	position: relative;
	width: 95%;
}
.step1 .box-step span:after, .step2 .box-step span:after {
	content: url(../img/triangle_right.png);
	position: absolute;
    right: -17px;
    top: 32px;	
}

/************ SLIDE ************/

#slide {
	width: 100%;
	min-height: 400px;
}
.slide .wrapper {
	padding: 12% 2%;
}
.slide p {
	font-size: 2rem;
    line-height: 40px;
    font-weight: 300;
	color: #fff;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

/************ GOAL ************/

.goal-item {
	float: left;
	width: 33.3%;
	padding: 1% 2%;
}
.goal_img {
    width: 50%;
	max-width: 160px;
    margin: 0 auto 2%;
	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
}
.goal-item p {
	padding-bottom: 0;
}
.goal-item p .button {
	margin-bottom: 10px;
}
.total:before {
    content: "";
    display: block;
	width: 95%;
	max-width: 300px;
	margin: 10px auto 10px;
    border-bottom: 2px dotted #c9c9c9;  
}
.phone {
    padding-left: 24px;
	background-image: url(../img/phone.png);
	background-position: left;
	background-repeat: no-repeat;
	background-size: 20px;
}

/************ INNOVATION ************/
#innovation .wrapper{
	padding-bottom:0;
}
.medicina {
	background-image: url(../img/investigadora.jpg);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 38%;
	padding-bottom: 4%;
	overflow:hidden;
	margin-right:40px;
}
.herramientas {
	background-image: url(../img/mano.png);
	background-position: 70px bottom;
	background-repeat: no-repeat;
	background-size: 300px 510px;
	padding-bottom: 5%;
	overflow:hidden;
}
.herramientas .inno-items{
	float:right;
}
.inno-items {
	width: 60%;
	text-align: left;
}
.inno-items > li {
	float: left;
	width: 80%;
	margin-left: 20%;
	margin-bottom: 2%;
	background-position: top left;
	background-repeat: no-repeat;
	background-size: 60px 30px;
}
.inno-items .investigacion {
	background-image: url(../img/icon_segur.png);
}
.inno-items .mejora {
	background-image: url(../img/icon_medico.png);
}
.inno-items .canal {
	background-image: url(../img/icon_prevencion.png);
	margin-left:0;
	float:right;
	padding-right:40px;
}
.inno-items .practica {
	background-image: url(../img/icon_practrica.png);
	margin-left:0;
	float:right;
	padding-right:40px;
}
.inno-items .rrss {
	background-image: url(../img/icon_videos.png);
	margin-left:0;
	float:right;
	padding-right:40px;
}
.box-inno {
	float: left;
    margin-left: 60px;
	margin-top: 15px;
    padding-left: 20px;
    border-left: 2px dotted #c9c9c9;
}
.inno-items h3:after {
	margin: 0;
}

/*RRSS*/

.rrss-links li {
	display: inline-block;
	float: left;
	margin: 0;
	padding: 10px 5px 0;
}
.rrss-links a {
	padding: 6px 4px;
	font-size: 1.3rem;
	line-height: 24px;
	text-decoration: none;
	color: #c9030a;
	border: 1px solid #c9030a;
	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}
.rrss-links a:hover {
	color: #fff;
	background-color: #c9030a;
}

#insta:hover{
	color: #fff;
	background-color: #c9030a;
}


/************ VIDEO ************/

.video, .video a {
	color: #fff;
}
.video a {
	display: inline-block;
}
.video a:after {
	content: "";
	display: block;
	width: 120px;
	height: 120px;
	margin: 5% auto 0;
	background-image: url(../img/play.png);
	background-repeat: no-repeat;
    background-position: top center;
	background-size: contain;
}
.video a:hover:after {
	opacity: .5;
}
.video h2 {
	font-weight: 400;
	font-size: 2rem;
}
.video h2:after {
	border: none;
}

/************ FOOTER ************/

.page-footer {
	width: 100%;
	padding: 2% 0;
	background-color:#FFF;
}
.page-footer p {
	font-size: .8rem;
    line-height: 15px;
    padding-top: 10px;
}

/************************ MEDIA QUERIES ************************/

@media screen and (max-width: 960px) {
	
	/************ KEYS ************/
	.keys-items li {width: 50%; padding-bottom: 4%;}
	.keys-items li:nth-child(2n+1) {clear: both;}
	
	/************ COVERAGES ************/
	.cover-items {width:90%;}
	.cover-items > li {margin: 2%;}
}
@media only screen and (max-width: 800px){
	
	body, #main-nav {font-size: .9rem;}
	.sec1 .wrapper, .sec2 .wrapper, .video .wrapper {
		padding: 10% 5%;
	}
	
	/************ HEADER ************/
	#navigation {
		text-align: right;
	}
	#toggle-nav {
	    display: inline-block;
		margin: 0 10px;
		font-size: 1.8rem;
		padding: 6px 10px 0px;
		text-decoration: none;
		border: 1px solid #c9030a;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		-o-border-radius: 3px;
		border-radius: 3px;
		color: #c9030a;
		background-color: #fff;
		text-align: center;
	}
	#toggle-nav:hover, #toggle-nav:active {
		color: #fff;
		background-color: #c9030a;
	}
	#toggle-nav span {
		display: block;
		font-size: .8rem;
	}
	#toggle-nav.icon-close:before {content: '\e808';}


	/* Menu desplegable */
	#main-nav {
		visibility: hidden;
		display: block;
		position: fixed;
		top: 110px;
		right: -900px; /* Inicialmente fuera de pantalla */
		width: 100%;
		line-height: 50px;
		text-align: center;
		background-color: #c9030a;
		z-index: -1;
		transition: .5s all;
	}
	#inpage {
		visibility: hidden;
		display: block;
		position: fixed;
		top: 80px;
		right: -900px; /* Inicialmente fuera de pantalla */
		width: 100%;
		line-height: 30px;
		text-align: center;
		background-color: #ffffff;
		z-index: -1;
		transition: .5s all;
		color: #3b3b3b;
	}
	#main-nav.open, #inpage.open {
		visibility: visible;
		right: 0;
	}		
	#main-nav .menu-item {
		display: block;
		border-bottom: 2px solid #efefef;
	}
	#main-nav .menu-item a {
		display: block;
		padding-bottom: 0;
		color: #fff;
	}
	#main-nav .menu-item .active, #main-nav .menu-item a:hover, #main-nav .menu-item a:active {
		border-bottom: none;
		color: #fff;
	}
	#main-nav .menu-item + .menu-item:before {
		display: none;
	}
	#main-nav .menu-item a:hover, #main-nav .menu-item a:active, #main-nav .menu-item .active {
		padding-bottom: 0;
		background-image: none;
	}
	
	/************ HERO ************/
	.claim .wrapper {padding: 4%}

	/************ KEYS ************/
	/*Diagrama*/
	.diagram li, .step1 .box-step, .step2 .box-step {width: 100%;}
	.step1 .box-step span:after, .step2 .box-step span:after {content: '';}
		
	/************ GOAL ************/
	.goal-item {width: 100%; padding-bottom: 4%;}
	
	/************ INNOVATION ************/
	.medicina, .herramientas {background-image: none;}
	.inno-items {width: 100%;}
	.inno-items > li {width: 95%; margin-left: 5%;}
	.rrss-links li {padding-bottom: 10px;}
}
@media only screen and (max-width: 650px){
	.keys-items li {width: 100%;}
	.inno-items {width: 100%;}
}