@import url('body.css');
@import url('content.css');
@import url('menu-responsive.css');

/**/
#container{ max-width: 100%;; width:100%; margin-right: auto; margin-left: auto; text-align: left;}
#content{ float:left; width:100%;}
#top{float:left; width:100%; padding:20px 0; position:absolute; z-index:2; top:20px; left:0; background-color:rgb(255 255 255 / 90%);   }
#nav{float:left; width:100%;}
#slide{float:left; width:100%; height:650px; position:relative; z-index:1;  }
#footer{float:left; width:100%; background-color:#3f3f3e; padding:100px 0 50px 0; color:#fff;background-image: url(../img/footer.jpg); background-repeat:no-repeat; background-size:cover; }
#slide_inside{ float:left; width:100%; height:200px; padding-top:250px; padding-bottom:50px;    }

.top_home_main{ position:relative; width:100%; background-image: url(../img/foto-edificio-caja---1.jpg); background-position:center left; background-repeat:no-repeat; background-size:cover; background-color:#6caadc; border-bottom: solid 20px #6caadc; }
.top_home_inside{ position:relative; width:100%; background-color:#6caadc; border-bottom: solid 20px #6caadc; margin-bottom:50px; }

/**/
.center{ max-width: 1200px; width:100%; margin-right: auto; margin-left: auto; }
.center2{ max-width: 1000px; width:100%; margin-right: auto; margin-left: auto; }

@media only screen and (max-width: 1234px) {
.center{ width:96%; padding:0% 2%; box-sizing:border-box;  }	
.center2{ width:96%; padding:0% 2%; box-sizing:border-box;  }	
}

/*LINKS*/
.links{ text-decoration:none; color:#09F;}
.links:hover{ text-decoration:underline;}

/*TOP*/
.logo{float:left;}
.logo a { display: block; text-indent: -100px; overflow: hidden;}
.logo img{float:left; width:100%;}
.top_box1{float:left; width:15%; min-width:150px;}
.top_box2{float:right; width:80%;}


@media only screen and (max-width: 960px) {
.top_box1{float:left; width:30%; padding:0 30%;  min-width:150px;}
.top_box2{float:right; width:100%;}

}

/*CONTENT*/
.module1{float:left; width:100%; margin-bottom:50px; padding:50px 0; }
.module2{float:left; width:100%; background-color:#6caadc;  /*margin-bottom:50px; padding:50px 0; border-top: solid 20px #961b30;*/ }
.module3{float:left; width:100%;  margin-bottom:50px; padding:50px 0; }
.module4{float:left; width:100%;  margin-bottom:50px; padding:50px 0; }
.module5{float:left; width:100%; margin-bottom:50px; }

/*FOOTER*/
.footer_box{float:left; width:100%;}
.footer_box1{float:left; width:30%;}
.footer_box2{float:left; width:30%; text-align: center;}
.footer_box3{float:left; width:30%; text-align: center;line-height: 35px;}
.footer_box4{float:left; width:100px;}

.linea_roja {
  width: 100%;
  height: 55px;
  margin-top: -35px;
  margin-bottom: 50px;
  background: linear-gradient(
    to bottom,
    #ffffff 10%,      /* blanco arriba */
    #ffffff 17px,    /* blanco fijo */
    #b44f5f 18px,    /* tono intermedio rojizo */
    #961b30 40px,    /* granate sólido */
    #ffffff 41px,    /* tono intermedio azul */
    #ffffff 57px     /* azul abajo */
  );
  transform: rotate(-0.9deg); 
  transform-origin: right center;
}
.linea_azul {
  width: 100%;
  height: 55px;
  margin-top: -35px;
  margin-bottom: 20px;
  background: linear-gradient(
    to bottom,
    #6caadc 10%,      /* blanco arriba */
    #6caadc 17px,    /* blanco fijo */
    #6caadc 18px,    /* tono intermedio rojizo */
    #6caadc 40px,    /* granate sólido */
    #6caadc 41px,    /* tono intermedio azul */
    #6caadc 57px     /* azul abajo */
  );
  transform: rotate(-0.9deg); 
  transform-origin: right center;
}
.linea_azul2 {
  width: 100%;
  height: 15px;
  margin-top: -35px;
  background: linear-gradient(
    to bottom,
    #6caadc 10%,      /* blanco arriba */
    #6caadc 17px,    /* blanco fijo */
    #6caadc 18px,    /* tono intermedio rojizo */
    #6caadc 40px,    /* granate sólido */
    #6caadc 41px,    /* tono intermedio azul */
    #6caadc 57px     /* azul abajo */
  );
  transform: rotate(-0.9deg); 
  transform-origin: right center;
}

/* /////////   GRALS  //////// */

.title{float:left; width:100%;}
.subtitle{float:left; width:100%;}
.data{float:left; width:100%;}
.tex_center{ text-align:center;}

/*CENTER DIVS*/
.center_divs {
	float:left;
	width:100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
	justify-content: space-evenly;
		
}

/* //////////   MENUS  //////// */

/*MENU VERTICAL*/
.menuv { }
.menuv ul, li { list-style-type: none; }
.menuv ul { margin: 0; padding: 0; }
.menuv li { }
.menuv a { text-decoration: none; color: #FFF; display: block; padding: 3px 6px; width: 148px; }


/*MENU HORIZONTAL*/
#menuh { }
#menuh ul, li { list-style-type: none; }
#menuh ul { margin: 0; padding: 0; }
#menuh li { float: left; }
#menuh a { text-decoration: none; color: #000; display: block; padding: 3px 10px; text-align: center; }
#menuh a#primero { border-left: 1px solid #ACCFE8; }
#menuh a:hover { background: #DBEBF6; }

/*MENU CENTRADO*/
#menuc { }
#menuc ul { list-style-type: none; margin: 0 auto; padding: 0; text-align: center; }
#menuc li { display: inline; padding: 5px; margin: 1px; }
#menuc a { }
#menuc a:hover { background: #DBEBF6; }

/*CONTACTO*/

#contact-area * { margin: 0; padding: 0; }
#contact-area p { font-size: 1.3em; margin-bottom: 15px; }
#contact-area { width: 100%; }
#contact-area input { padding: 8px; width: 97%; font-family: Helvetica, sans-serif; font-size: 14px; border: 1px solid #ccc; color: #000; float: left; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; }
#contact-area select { padding: 8px; width: 100%; font-family: Helvetica, sans-serif; font-size: 14px; border: 1px solid #ccc; color: #000; float: left; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; }
#contact-area textarea { padding: 5px; width: 98%; font-family: Helvetica, sans-serif; font-size: 12px; border: 1px solid #ccc; color: #000; float: left; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; }
#contact-area textarea { height: 90px; }
#contact-area textarea:focus, #contact-area input:focus { border: 1px solid #900; }
#contact-area input.submit-button { width: 100px; float: right; }
#contact-area label { float: left; text-align: left; margin-top: 15px; width: 100px;   }

#botonEnviar {
    text-decoration: none;
    background-color: #024e99;
    border-color: #024e99;
    width: 100%;
    padding: 15px;
    text-align: center;
    color: #fff !important;
    text-align: center;
    display: block;
    margin: 0px auto;
    font-size: 20px;
    border-radius: 10px;
}

/*LISTADO*/
.list { list-style-type: none; margin: 0; padding: 0;  }
.list li { margin: 0; padding: 0;  list-style-type: none; padding-bottom:5px; padding-left:30px;  width: 100%; float: left; }

.list li:nth-child(1) { background-image: url(../img/icos/03.png); background-position:center left; background-repeat:no-repeat; background-size:contain;}
.list li:nth-child(2) { background-image: url(../img/icos/03.png); background-position:center left; background-repeat:no-repeat; background-size:contain;}
.list li:nth-child(3) { background-image: url(../img/icos/03.png); background-position:center left; background-repeat:no-repeat; background-size:contain;}
.list li:nth-child(4) { background-image: url(../img/icos/04.png); background-position:center left; background-repeat:no-repeat; background-size:contain;}
.list li:nth-child(5) { background-image: url(../img/icos/05.png); background-position:center left; background-repeat:no-repeat; background-size:contain;}

/**/
.slide_box {
    position: absolute;
    top: 200px;
    left: 50%;
    width: 600px;
    margin-left: -300px;
    text-align: center;
}
.slide_box1 {float:left; width:100%; margin-bottom:40px; }
.slide_box1_1 { font-size:40px; letter-spacing:-2px;   background-color:#FFF;  }
.slide_box1_2 { background-color:#6eaadd; color:#fff; font-size:40px; letter-spacing:-2px;}
.slide_box2 { background-color:#961b30; color:#fff; width:300px; margin:auto; display:block; line-height:40px; margin-bottom:20px;  font-size:20px;   }
.slide_box3 {float:left; width:100%;}
.slide_box3 input {
    border-radius: 100px;
    line-height: 20px;
    border: solid 5px #6eaadd;
    padding: 5px;
    text-indent: 20px;
    width: 300px;
	font-size:14px; 
}
.slide_box3 button {
    background-color: #961b30;
    color: #fff;
    border: none;
    line-height: 36px;
    border-radius: 100px;
    padding: 0 15px;
}

.box_info {float:left; width:29%; margin:2%; text-align:center;  }
.box_info_1 {float:left; width:100%; font-size:26px;  color:#fff;  text-shadow:0 2px 0 rgba(0, 0, 0, 0.4); height:50px; padding:80px 0px; }
.box_info_2 {float:left; width:100%; background-color:#fff; padding:20px; box-sizing:border-box; font-size:16px; min-height:80px;  }
.box_info_3 {float:left; width:100%;}
.ampliar { 
	background-color:#6caadc;
    width: 100%;
    line-height: 40px;
    text-align: center;
    color: #000;
    text-decoration: none;
	display:block;
	font-weight:600;
	font-style: italic;
}

.box_icon {float:left; width:18%;  margin:1%; text-align:center;}
.box_icon img{
    width: 60%;
    margin: auto;
}
.box_icon_1 {float:left; width:100%; font-size:1.2rem;  color:#fff;  text-shadow:0 2px 0 rgba(0, 0, 0, 0.4); }
.box_icon_2 {float:left; width:100%; margin:20px 0; }
.box_icon_3 {float:left; width:100%;}
.ampliar2 { 
	background-color:#856D4B;
    width: 100%;
    line-height: 40px;
    text-align: center;
    color: #FFF;
    text-decoration: none;
	display:block;
	font-weight:600;
	font-style: italic;
}

.box_news {float:left; width:24%; margin:0.5%;}
.box_news_1 {float:left; width:100%; font-weight:600; color: #961b30; margin-top:20px; }
.box_news_2 {float:left; width:100%; font-weight:600; font-size:22px; margin:10px 0;}
.box_news_3 {float:left; width:100%;}
.box_news_4 {float:left; width:100%;}
.box_autoridad { float:left; width:24%; margin:2%; text-align:center;}
.img_autoridad { border-radius:100px; margin-bottom:20px;  width: 50%; margin:auto;  }
.box_autoridad_1 {float:left; width:100%; padding:20px 0; min-height:30px; }
.box_autoridad_2 {float:left; width:60%; background-color:#846b4a; padding:10px; display:block; color:#fff; margin:0 20%; }

.box_news:nth-child(4n+1) {
  clear: both;
}


.autoridad_centrado{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.logos_center{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}	
	
.logo_partner { width:200px; margin:1%;  }

.separador{ float:left; width:100%; background-color:#6caadc; height:10px; clear: both; margin:0px 0; 
transform: rotate(-1deg);
 }


@media only screen and (max-width: 960px) {
	.slide_box {
		position: absolute;
		top: 200px;
		left: 5%;
		width: 90%;
		margin-left: 0px;
		text-align: center;
	}
	.slide_box2 { width:100%; }
	.slide_box1_1 { font-size:30px; letter-spacing:-2px;   background-color:#FFF;  }
	.slide_box1_2 { background-color:#6eaadd; color:#fff; font-size:30px; letter-spacing:-2px;}

	.box_info {float:left; width:100%; margin:1% 0; text-align:center;  }
	.box_icon {float:left; width:45%;  margin:2.5%; text-align:center;}
	.box_news {float:left; width:100%; margin:1% 0;}
	.box_autoridad { float:left; width:45%; margin:2.5%; text-align:center;}
	.autoridad_centrado{  display: block; }
	.logos_center{ display: block; justify-content: center; align-items: center;}	
	.logo_partner { width: 48%; margin: 1%; float: left;}
}



.txt_center { text-align:center;}
.mb{ margin-bottom:30px; }
.mb2 { margin:80px 0; }

.title_top1{  width:100%; background-color:#FFF; color:#000; padding:10px;  width:400px; margin: auto; text-align:center;  font-weight:500;   font-size:30px; }
.title_top2{  width:100%; background-color:#6caadc; color:#FFF; padding:10px; width:400px; margin: auto; text-align:center; font-weight:400;  font-size:30px;}
.back_top1{ background-image: url(../img/img.jpg); background-position:center center; background-repeat:no-repeat; background-size:cover;}


h1 { background-image: url(../img/icono-vinetas-titulos.png); background-position:left center; background-repeat:no-repeat; background-size:contain; font-size:2rem; letter-spacing:-2px; font-weight:500;display: block;    margin: auto;    width: fit-content;
	    padding-left: 50px;
    padding-right: 50px;}

h1 span { color:#6caadc; font-style: italic; font-weight:200;}

.white_color { color:#FFF; background-image: url(../img/icono-vinetas-titulos2.png);}
.white_color span{ color:#FFF;}#272D61
.azul { color:#272D61;}
.back1{ background-image: url(../img/servicios-medicos---reglamento.png); background-position:center left; background-repeat:no-repeat; background-size:cover;  }
.back2{ background-image: url(../img/servicios-medicos---prestadores.png); background-position:center left; background-repeat:no-repeat; background-size:cover;  }
.back3{ background-image: url(../img/servicios-medicos---farmacias.png); background-position:center left; background-repeat:no-repeat; background-size:cover;  }

.logo_footer{ float:left; width:50%; }
.back_top1 { background-image: url(../img/cabecera-institucional.jpg); background-position:center left; background-repeat:no-repeat; background-size:cover;  }
.back_top2 { background-image: url(../img/cabecera-institucional-autoridades.jpg); background-position:center left; background-repeat:no-repeat; background-size:cover;  }
.back_top3 { background-image: url(../img/cabecera-novedades.jpg); background-position:center left; background-repeat:no-repeat; background-size:cover;  }

#footer a {color:#fff; }



@media only screen and (max-width: 960px) {
.footer_box1{float:left; width:100%; text-align: center;}
.footer_box2{float:left; width:100%; text-align: center;}
.footer_box3{float:left; width:100%; text-align: center;line-height: 35px;}
.logo_footer {  float: none;  width: 50%;}
.menuv {
    margin: 30px auto;
    width: 200px;
}
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
	background-color: #fff;
    color: #024e99;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: 900;
    font-size: 20px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}
/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

/*PAGE NAVI*/
#pagination  { float:left; width:100%; }
#pagination div.wp-pagenavi { text-align: center; padding: 5px 10px; overflow: hidden; }
#pagination div.wp-pagenavi a, #pagination div.wp-pagenavi span.pages, #pagination div.wp-pagenavi span.current { -webkit-border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -moz-border-radius: 3px; display: inline-block; }
#pagination div.wp-pagenavi a, #pagination div.wp-pagenavi a:link, #pagination div.wp-pagenavi a:visited, #pagination div.wp-pagenavi a:active { padding: 4px 8px; margin: 0 2px; color: #333; text-decoration: none; -webkit-border-radius: 3px;
 border-radius: 3px;  }
#pagination div.wp-pagenavi a:hover { background-color: #7BA4E7; color: #FFF; }
#pagination div.wp-pagenavi span.pages { line-height: normal; padding: 4px 8px; float: left; color: #333333; background: #EEE; border: 1px solid #CCC; margin: 2px 0 0 0; }
#pagination div.wp-pagenavi .page { padding: 4px 8px; }
#pagination div.wp-pagenavi .current { padding: 4px 8px; margin: 2px; font-weight: bold; background-color: #0099FF; color: #FFF; -webkit-border-radius: 3px; border-radius: 3px; text-decoration: none; }
#pagination div.wp-pagenavi span.extend { padding: 2px 4px; margin: 2px; background: none; }

