/* main css iaf */
body {
  	background-color: #ffffff;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #555;
    padding-top: 0px;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 700;
    color: #003138;
}


/* Paragraph & Typographic */
p {
    line-height: 1.3em;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}

/* Links */
a {
    color: #003138;
    word-wrap: break-word;
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #00525e;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.fecha{font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; color:#6b6a6a;}
a.mas{ color:#00525e; background:url(../img/icon-leermas.png) right center no-repeat; padding-right:30px; height:25px; line-height:25px; display:inline-block; font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; font-weight:normal; font-size:1.2em; }


.tagline{ font-family:Georgia, "Times New Roman", Times, serif; color:#6b6a6a; font-size:1.8em; font-weight:normal;}
.tagline-cont{ color:#6b6a6a; font-size:1.6em; font-weight:normal;}

.bg-primary {
    color: #fff;
    background-color: #337ab7;
	padding: 15px;
}
.bg-success {
    background-color: #dff0d8;
	padding: 15px;
}
.bg-info {
    background-color: #d9edf7;
	padding: 15px;
}
.bg-warning {
    background-color: #fcf8e3;
	padding: 15px;
}
.bg-danger {
    background-color: #f2dede;
	padding: 15px;
}

/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#image-home {
  background:#003138 url(../img/img-pral-bg.gif) top left repeat;
	padding-top: 0;
}

#image-home h1 {
	margin-top: 30px;
	color: white;
	font-size: 70px;
	
}

#image-home h3 {
	color: white;
	font-size: 30px;
}

#image-home h5 {
	color: white;
	font-weight: 700;
	text-align: left;
}

#image-home p {
	text-align: left;
	color: white
}

/* intro Wrap */

#destacados {
	padding: 40px 0;
}
#destacados h1{ color:#6b6a6a; text-align:center; font-weight:normal}
#destacados h1 span{ padding:0 20px; background:#fff;}
/* #destacados img{ float:left;}*/
#destacados .texto{overflow:hidden; padding:0 0 0 20px;}
#destacados h2{color:#6b6a6a; font-size:1.3em; margin-top:0 } 
#destacados p{color:#000000; line-height:1.3em; margin-bottom:10px;} 
#destacados a.mas{ color:#00525e; background:url(../img/icon-leermas.png) right center no-repeat; padding-right:30px; height:25px; line-height:25px; display:inline-block; }


#agenda{ background-color:#e5e5e5; padding:40px 0;}
#agenda h1{ margin:0}
#agenda img{ float:left;}
#agenda .texto{overflow:hidden; padding:0 0 0 20px;}
#agenda h2{font-size:1.3em; margin-top:0; font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; font-weight:normal; font-size:1.2em; } 
#agenda p{color:#000000; line-height:1.3em; margin-bottom:10px;} 
#agenda a.mas{ color:#00525e; background:url(../img/icon-leermas.png) right center no-repeat; padding-right:30px; height:25px; line-height:25px; display:inline-block; font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; font-weight:normal; font-size:1.2em; }

#actualidad{padding: 40px 0;}
#actualidad h1{ margin:0}
#actualidad img{margin-bottom:10px;}
#actualidad .fecha{font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; color:#6b6a6a;}
#actualidad a{ font-weight:bold; color:#6b6a6a; }

#formacion-ayudas{padding: 30px 0 70px 0; background:url(../img/formacion-ayudas-home-bg.gif) top center repeat-y; color:#ffffff;}
#formacion-ayudas h1{font-size:1.6em; font-weight:bold; margin:0 0 20px 0; color:#ffffff;}
#formacion-ayudas .datos{ margin-bottom:15px;}
#formacion-ayudas .fecha{font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; color:#ffffff;}
#formacion-ayudas a, #formacion-ayudas a:link, #formacion-ayudas a:visited{color:#fff; line-height:1em; font-weight:bold;}
#formacion-ayudas a.masplus{width:93px; height:50px; background:url(../img/icon-leermasplus.png) top left no-repeat; display:block; text-indent:-900em; float:right; position:absolute; bottom:-50px; right:20px}

#enlaces{padding: 40px 0;border-top: 1px solid grey;}

#social{
	padding:40px 0;
  background-color:#354A4F;}

#social #twitter-widget-0{width:100%!important}
#social #twitter-widget-0 > iframe > html > body > .timeline{width:100%!important}


#footer {
	background-color: #efefef;
	color: #333333;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: left;
}
#footer span{font-weight:bold; display:block; margin-bottom:10px; line-height:1.2em;}
#footer ul{margin:0; padding:0; list-style-type:none; margin-bottom:20px;}
#footer ul li{margin:0; padding:0; margin-bottom:10px; line-height:1.2em; font-size:.9em;}
#footer p {font-size: 13px; line-height:1.2em}


#seccion-full{padding: 10px 0;}
	
	
 /* CSS para cabecera Gobierno de Aragón tamaño grande */
    .aragob_header_wrapper {
       /* position: fixed;*/
        top: 0;
        z-index: 9999;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
        width: 100%;
        background-color: #ffffff;
    }
    .aragob_header{
        max-width: 960px; 
        background: transparent url('../img/cabecera/fondo_bandera.png') no-repeat top right; 
    }
    .aragob_header::before{
        content: "";
        display: block;
        background: transparent url('../img/cabecera/logo_ga.png') no-repeat right center; 
        height: 80px;
        width: calc(100vw - 80px);
    }	
		
 /* Cabecera grande fondo edificio verde */
	.precab{ background-color:#525252; height:25px; line-height:25px; font-size:13px; color:#ffffff; text-align:right}
	.precab a, .precab a:link, .precab a:visited{color:#ffffff;}
	.precab a:hover{ color:#ffffff; text-decoration:underline}

	 /* Logo IAF en Cabecera */
	.logo{ padding:20px 0; background:#003138 url(../img/cabecera/img-edificio.jpg) top center  no-repeat;height:80px;}
	.logo .iaf{ background:url(../img/cabecera/logo-iaf.png) top left no-repeat; width:143; height:40px; display:block; text-indent:-900em; margin:40 }
	.logo .iaf h2{ margin:0; padding:0;}


/* MENU PRAL */
.navbar-default{
	background-color:#f2f4f5;
	min-height:60px;
	margin-bottom:0;
	border:0;
	border-radius:0;}
.navbar-default .navbar-nav > li  {
	/* width:14.25%; con 7 columnas en la barra de menús */
	/* width:16.6%; con 6 columnas en la barra de menús */
    width:14.25%;
	height:60px;	
	}
.navbar-default .navbar-nav > li > a {color:#000; white-space:normal; padding:15px 5px; font-size:14px; text-align:center; line-height:1.2em; font-weight:bold; height:60px; box-sizing:border-box; display:block; vertical-align:middle}	
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    color: #ffffff;
    background-color: #3e9eab;
}
.dropdown-menu {
    background-color: #3e9eab;
    border: 0;
    border-radius: 0
	}
.dropdown-menu > li > a {
    color: #ffffff;
	padding:5px 15px;
	}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #003138;
}
#seccion-full a{ color:#127b8a; text-decoration:none;}
a.btn-primary,
a.btn-info,
a.btn-success,
a.btn-warning,
a.btn-danger{
    color: #ffffff!important;
}

.listado{}
.listado .bloque{ border-bottom:1px solid #efefef; padding:20px 0; display:block; overflow:hidden; font-size:.9em;}
.listado .bloque img{margin-bottom:10px}
.listado .bloque h2{font-size:1.5em; margin-top:10px;}
.listado .bloque a.mas{}

.buscador{	background-color:#efefef; overflow:hidden; padding:8px; margin-bottom:20px;}
.buscador .btn-sm, .buscador .btn-xs{height:auto}
.buscador select.btn-sm{height:30px!important}
.buscador p{height:32px; line-height:32px; margin-bottom:0;}


/* AGENDA CALENDARIO */
.tabla-agenda{text-align:center!important; background-color:#fff;}

.tabla-agenda th,
.tabla-agenda td{text-align:center!important; }

.tabla-agenda > thead > tr > th, 
.tabla-agenda > thead > tr > td {border-bottom-width:0!important}
.tabla-agenda > thead > tr > th a, 
.tabla-agenda > thead > tr > td a {color:#ffffff; text-decoration:none}

.tabla-agenda > thead > tr > th {background-color:#00525e!important; color:#ffffff!important}
.tabla-agenda > thead > tr > td { font-weight:700}

.tabla-agenda tbody td{padding: 6px 8px!important;}
.tabla-agenda tbody a{color:#3e9eab!important; text-decoration:underline!important; font-weight:700}

.tabla-agenda .disabled{background-color:#efefef!important}

.control-label {
  width:100%;
  text-align: right;
}
@media (max-width: 1199px){
 .control-label {text-align:left}
}
@media (max-width: 767px){
	.navbar-default .navbar-nav > li {width:100%!important; height:auto!important}
	.navbar-default .navbar-nav > li a {height:auto!important; text-align:center!important;}
	.navbar-collapse.in { max-height:inherit!important;}
	
	#image-home img{max-width:100%!important}
	#formacion-ayudas{background-image:none; background-color:#003138;}
	#formacion-ayudas .col-lg-4{ margin-bottom:70px;}
	
	
	/* Cabecera */
	.aragob_header{
        background: transparent url('../img/cabecera/fondo_bandera-p.png') no-repeat top right;
		width: calc(100vw - 95px);
    }
	.aragob_header::before{
        background: transparent url('../img/cabecera/logo_ga-p.png') no-repeat right center; 
		height: 40px;
		width: calc(100vw - 40px);
    }	
  .logo{ padding:8px 0; height: 40px; background:#003138 }
   	.logo .iaf{ background:url(../img/cabecera/logo-iaf-m.png) top center no-repeat; width:93; height:26px; display:block; text-indent:-900em; margin:0 }
	.logo .iaf h2{ margin:0; padding:0;}
  
}
	
.celdafindesemana { color:white;background-color:darkred;} 