/*
* @package Enar
* @copyright (C) 2017 by Joomlastars - All rights reserved!
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author Joomlastars <stars.joomla@gmail.com>
* @authorurl <http://themeforest.net/user/joomlastars>
*/

/* You can add new css here */
h1, h2, h3, h4, h5 {
	color: #222329;
}

#logo > a { height: 55px; margin-top: 10px; }

/* Menú principal */
#navy ul { padding: 5px 0; }
#navy ul li { padding: 10px 0; }
#navy ul li a { line-height: 1.3em; border-bottom: none!important; }
#navy ul li a:hover { background-color: none!important; }
#navy ul li .parent_arrow { top: 3px; }
#navy ul.sub_level_2 { top: -5px!important; }

.icemegamenu.horizontal_menu > li:last-child span {
	padding: 15px!important;
	margin: 13px 10px 13px 20px;
	background-color: #333;
	color: #FFF;
}
.icemegamenu.horizontal_menu > li:last-child a:hover span,
.icemegamenu.horizontal_menu > li:last-child a.icemega_active span {
	background-color: #333!important;
	color: #ffc82b;
}

.main_button.color1 {
	color: #222329;
}
.main_button.color1:hover {
	background-color: #222329;
	border-color: #ffc82b;
}

/* Selector de idioma */
.mod-languages { float: right; margin-right: 30px; }
.mod-languages li a { color: #777777; font-size: 11px; line-height: 40px; text-transform: uppercase; margin-top: 4px; }
.mod-languages li.lang-active a { font-weight: bold; }

/* Títulos */
.title_slider h1 {
	color: #FFF;
	font-family: "Oswald", "Open Sans", sans-serif;
	font-weight: 700;	
	line-height: 1em;
	text-transform: uppercase;
}

.page_title { border-bottom: none; }
.page_title.has_bg_image{ padding: 100px 0; }
[class^="enar_parallax"], [class*=" enar_parallax"]{ 
	background-attachment:fixed;
	background-position:top;
	-webkit-transform: none;
	background-size: inherit;
}
.page_title h1 { float: none; padding-bottom: 0; text-transform: none; }
.page_title .breadcrumbs { float: none; margin-top: 0; }

.main_title h2 { color: #222329; }
.main_title .dot { border-color: #ffc82b; }

/* Tablas */
th{ font-weight: bold;}
.table-striped td{ vertical-align: middle!important;}

/* Listas */
.list5 > li {
	list-style: none;
	position: relative;
	padding: 0 0 0 27px;
	margin-bottom: 10px;
	font-size: 15px;
}
ul.list5 li:after, .blog_grid_block ul li:after {
	background: #ffc82b;
	height: 18px;
	position: absolute;
	width: 18px;
	content: "\f105";
	font-family: joomlastars;
	color: #000;
	text-align: center;
	/*font-size: 11px;*/
	line-height: 18px;
	left: 0;
	top: 1px;
	text-indent: 1px;
}

ul.list5 ul { margin:10px 0; }
ul.list5 ul li:after { background-color:#AAA; }

/* Footer */
#footer .nav > li > a { padding:0; color:#989898; }
#footer .nav > li > a:hover { color:#FFF; background:none; }


/* Noticias */
.blog_grid_con .title, .post_title_con .title {
	margin-top: 0!important;
}
.post_title_con { margin-top: 30px; }
.blog_grid_con .meta, .post_title_con .meta { padding: 10px 0 0!important; border-top: 1px dotted rgba(0,0,0,0.1); }
.hm_blog_list .btn_a { margin-top: 0; }
.post .blog_grid_con { padding-top: 0!important; }
.post .blog_grid_con h2, .post .blog_grid_block h2 { font-size: 24px; margin: 0 0 20px; }
.post .blog_grid_con h3, .post .blog_grid_block h3 { font-size: 18px; }

.blog_grid_con ul, .blog_grid_block ul { margin-bottom: 10px; }
.blog_grid_con ul li, .blog_grid_block ul li {
	position: relative;
	padding: 0 0 0 22px;
	margin-bottom: 5px;
	font-size:14px;
}
.blog_grid_con ul li:after,.blog_grid_block ul li:after {
	background: #005554;
	height: 15px;
	position: absolute;
	width: 15px;
	content: "\f105";
	font-family: joomlastars;
	color: #fff;
	text-align: center;
	font-size: 11px;
	line-height: 16px;
	left: 0;
	top: 3px;
	text-indent: 1px;
}
.blog_grid_con ul ul, .blog_grid_block ul ul{ margin: 10px 0 20px;}
.blog_grid_con ul ul li:after, .blog_grid_block ul ul li:after { background-color: #AAA;}

.categorias ul li { border-bottom: 1px dotted #e5e5e5; list-style: none; padding: 7px 0; }
.categorias ul li:last-child { border-bottom: none; }
.categorias ul li a { color: #777; /*display: inline-block;*/ margin-right: 10px; font-size: 13px; }
.categorias ul li .catCounter { color: #aaa; float: right; font-size: 11px;}

.table-striped th{ background-color:#005554; color:#FFF;}


/* Subvenciones */
.row-destacadas { display:flex!important; box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.15);}
.sub-destacada { padding: 30px;}
.sub-destacada h2 {
	font-size: 1.4em;
	line-height: 1.5;
	text-align: center;
	margin: 0;
}
.cws_divider {
    display: inline-block;
	width: 50px;
	border-bottom: solid 2px #005554;
	margin-top: 15px;
	margin-bottom: 10px;
}
.destacada-gris { background-color:#e7e7e7;}
.destacada-gris .cws_divider { border-color:#7e888c;}
.destacada-verde { background-color: #222329;}
.destacada-verde h2, .destacada-verde p { color:#FFF;}
.destacada-verde .cws_divider { border-color:#FFF;}

.filtros { overflow: hidden; }
.filtros #filter_search { margin-bottom: 20px; padding: 6px 10px; }
.filtros select { margin-bottom: 20px; padding: 6px 10px; width: 100%;}
.filtros input { margin-bottom: 20px; }

.subvencion{ margin-bottom:40px; }
.tbl-subvencion{ font-size:13px; border: solid 1px #e7e7e7; }
.tbl-subvencion caption { background-color:#222329; color:#FFF; font-size:14px; border:0; border-radius:0;}
.tbl-subvencion caption a, .tbl-subvencion caption a:hover { color: #FFF!important; }
.tbl-subvencion.caducada { border-color: darkred; }
.tbl-subvencion.caducada caption { background-color: darkred; }
.tbl-subvencion th { background-color:#e7e7e7; }
.tbl-subvencion td { vertical-align: middle!important; }
.tbl-subvencion span { color:#222329; }
.tbl-subvencion i { font-size:20px; margin-top:5px; }

.subvencion h3 { font-family: Roboto; font-size: 18px; font-weight: 700; margin: 0 0 5px; }
.subvencion p { font-size: 13px; }
.subvencion p span { color: #005554; }

.tbl-detalle { border: solid 1px #e7e7e7; }
.tbl-detalle th { background-color: #e7e7e7; font-weight: normal; }

.form-inscripcion input[type="text"], .form-inscripcion input[type="date"], .form-inscripcion input[type="email"], .form-inscripcion input[type="tel"], .form-inscripcion textarea, .form-inscripcion select{ width:100%;}

input[type="tel"] {
	border: 1px solid #ddd;
	padding: 10px 12px;
	color: #666;
	font-size: 13px;
	background: #fff;
	outline: none;
}

.btn_fullwidth{ width:100%; text-align:center;}

#system-message-container {
	position: fixed;
	top: 25%;
	left: 37%;
	z-index: 1000;
	max-width: 500px;
}
.alert { background-color: #00c0ef!important; border-color: #00acd6!important; color: #fff!important; text-shadow: none!important; }
.alert h4 { display: none!important; }
.alert .close { right:0; top:0; }

.popup-content-acm { max-width: 400px!important; }

/* Bloques servicios */
.service_box.dark {
	background-color: #222329!important;
	color: #FFF;
	text-align: center;
}
.service_box.dark .service_box_con {
	padding-left: 30px!important;
	padding-right: 30px!important;
}
.service_box.dark h3 {
	color: #FFF;
	font-weight: 700 !important;
  	font-size: 20px !important;
	letter-spacing: .1em;
}

.icon_boxes_con.style1 .service_box h2,
.icon_boxes_con.style2 .service_box h2 {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 12px;
    text-transform: uppercase;
}

/* Bloques iconos */
.icon_boxes_con.style2.icon_box_no_border .service_box .icon {
	background-color: #FFF!important;
	border: solid 3px #ffc82b!important;
}
.icon_boxes_con.style2 .service_box .icon i {
	color: #ffc82b!important;
}
.icon_boxes_con.style2 .service_box h3 {
	font-size: 20px!important;
	font-weight: 700!important;
}

.icon_boxes_con.style3:not(.just_icon_border) .service_box {
  margin-top: 20px;
}
.icon_boxes_con.style3 .service_box {
  margin-bottom: 40px;
}
.icon_boxes_con.style3 .service_box .service_box_con {
	border: 1px solid #e7e7e7;
	background: #fff;
	height: 100px;
	position: relative;
	line-height: 100px;
	padding: 0 15px;
}
.icon_boxes_con.style3 .service_box h3 {
	display: inline-block;
	font-size: 17px;
	font-weight: 500;
	line-height: 25px;
	margin: 0;
	text-transform: uppercase;
	vertical-align: middle;
}

.video-responsive {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 30px; /* Esta línea ofrece compatibilidad para IE6 y puede eliminarse */
	position: relative;
}
.video-responsive iframe {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/*iframe[src*="youtube.com"] { max-width:100%; height:auto; aspect-ratio:16/9; }*/

/* Banner CTA */
.welcome_banner.full_colored {
	color: #333;
}
.welcome_banner.full_colored p.title {
	font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0px 0px 15px;
}
/* Fin Banner CTA */

/* Móvil */
@media only screen and (max-width: 768px) {
	
	/* Tablas responsive */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody,
	#no-more-tables caption, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables td:nth-child(odd) {
		background-color: #f2f2f2;
	}
 
	#no-more-tables td { 
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 40%; 
		white-space: normal;
		text-align:left;
	}
 
	#no-more-tables td:before { 
		position: absolute;
		top: 10px;
		left: 10px;
		width: 35%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}

	#no-more-tables td:before { content: attr(data-title); }

	/* Home slider */
	.tp-caption.title_slider { top: 10px!important; left: 20px!important; }
	.title_slider h1 { font-size: 20px!important; }
	.tp-caption.medium_text { left: 20px!important; }
	.tp-caption.medium_text p { font-size: 12px!important; line-height: 12px!important; }
	.tp-caption.rev-caption { top: 120px!important; left: 20px!important; }
	.tp-caption.rev-caption a { padding: 10px!important; }
	.tp-caption.rev-caption a, .tp-caption.rev-caption i { font-size: 12px!important; line-height: 12px!important; }
	
	/* Subvenciones destacadas */
	.row-destacadas { display: block!important; margin: 0 15px; }
	
	/* Banner CTA */
	.welcome_banner.full_colored {
		text-align: center;
	}
	
	/* Footer */
	#footer {
		text-align: center;
	}
}