/* GANTRY5 DEVELOPMENT MODE ENABLED.

   WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!

   For more information on modifying CSS, please read:

   http://docs.gantry.org/gantry5/configure/styles
   http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

/* @import "custom.scss" */

@media screen and (max-width: 3000px){
	.jdGallery .slideElement {
    	background-size: 100% auto;
	}
}

#g-navigation {
	z-index: 4;
}

#g-navigation .gantry-logo img
{
	margin: -45px 0px 0px 0px;
}

.gantry-logo img {
    width: 100%;
}

#g-navigation .g-main-nav .g-toplevel > li:not(.g-menu-item-type-particle):not(.g-menu-item-type-module):hover {
  background: #cc0c2f;
  /*border-radius: 0.4rem;*/
  color: #ffffff;
}

#g-navigation .g-main-nav .g-toplevel > li > .g-menu-item-container:hover {
  color: #ffffff;
}

#g-navigation .g-main-nav .g-sublevel > li:not(.g-menu-item-type-particle):not(.g-menu-item-type-module):hover, #g-navigation .g-main-nav .g-sublevel > li:not(.g-menu-item-type-particle):not(.g-menu-item-type-module).active {
  background: #cc0c2f;
}

.g-main-nav .g-toplevel > li.g-menu-item-164
{
    width: 10em;
    background-color: #ffffff;
    color: white;
	border-radius: 0.4rem;
	opacity: 1;

	    border: 1px solid #cc0c2f;
	    position: relative;
	    z-index: 10;
		margin-left: 10px;
}

.g-main-nav .g-toplevel > li.g-menu-item-164:after
{
	background-color: #cc0c2f;
	    content: '';
	    display: block;
	    position: absolute;
	    top: 10px;
	    left: 10px;
	    right: 10px;
	    bottom: 10px;
	    z-index: -1;
}

.g-main-nav .g-toplevel > li.g-menu-item-164 a
{
    color: white;
}

#g-navigation .g-main-nav .g-toplevel > li.g-menu-item-164 > .g-menu-item-container {
    color: #ffffff !important;
}

p{
	font-size: 1.0rem;
}

.jdGallery .slideInfoZone
{
  left: 35px;
  font-size: 30px;
  background: none;
  top: 10rem;
  height: 120px;	
}

#noticias_portada .g-content
{
	padding-top: 0px;
}

.nspLinksWrap{
	display: none;
}

#noticias_portada .g-content .nspCol1 .nspText,
#noticias_portada .g-content .nspCol1 .readon
{
	display: none!important;
}


#noticias_portada .g-content .nspArt h4.nspHeader,
.info_bloques h4{
    /*font-size: 24px;*/
    margin: 0;
    padding: 10px 0 15px 0;
    border-width: 0px 0px 1px;
    border-style: solid;
    border-color: #eeeeee;
    text-align: center;
	color: #cc0c2f;
}

.info_bloques p{
	text-align: justify;
}

#mas_noticias_portada .g-content .nspCol1 .nspArt div
{
	/*float: left;*/
	/*width: 20%;*/
}


#mas_noticias_portada .g-content .nspCol1 .nspArt h4,
#mas_noticias_portada .g-content .nspCol1 .nspArt p
{
    width: 95%;
    float: left;
    clear: none;
    margin-left: 10px;
}

#mas_noticias_portada .g-content .nspCol1 .nspArt .readon {
    clear: both;
}

/*
#mas_noticias_portada .g-content .nspCol1 .nspArt h4
{
	font-size: 18px;
}

#mas_noticias_portada .g-content .nspCol1 .nspArt p
{
	font-size: 14px;
}
*/

.g-home #g-feature
{
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.g-home #g-main
{
	padding-top: 0px;
	margin-top: 0px;
}

/*
.g-home #g-main .nspImage
{
		float: none;
	    display: block;
	    clear: both;
	    margin: auto;
	    position: relative;
	    width: 50%;
		height: 5%;
		margin-bottom: 15px;
}
*/

.view-category .blog .items-more
{
	display: none;
}

.g-home #g-main #noticias_portada .nspImage,
.view-category .blog div p img {
    float: none;
    display: block;
    clear: both;
    margin: auto;
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 15px;
    object-fit: cover;
    /* clip: rect(120px 205px 110px 55px); */
    /* margin: -20px -15px -40px -55px; */
    overflow: hidden;
}

.g-home #g-main #mas_noticias_portada .nspImage {
    float: none;
    display: block;
    clear: both;
    margin: auto;
    position: relative;
    width: 100%;
    height: 160px;
    margin-bottom: 15px;
    object-fit: cover;
    clip: rect(120px 205px 110px 55px);
    /* margin: -20px -15px -40px -55px; */
    overflow: hidden;
}

.view-article .item-page img{
    float: left;
    float: none;
    display: block;
    clear: both;
    margin: auto;
    position: relative;
    width: 100%;
   /* height: 300px; */
    margin-bottom: 15px;
    object-fit: cover;
    /*clip: rect(120px 205px 110px 55px); */
    /* margin: -20px -15px -40px -55px; */
    overflow: hidden;
}

#columna-lateral .platform-content{
    margin: 0.625rem;
    padding: 0.938rem;
}

#g-subfeature
{
	border-top: none;
	border-bottom: 30px solid rgba(204,12,47,1);
}

#g-subfeature #subfeature-colabora .sample-content img {
    
    border: 1px solid #e6e6e6;
    
    border-radius: 0.1875rem;
    
	
}

#g-subfeature #subfeature-uno,
#g-subfeature #subfeature-dos
{
    margin-top: 5rem;
    margin-bottom: 3rem;
}

#g-subfeature #subfeature-dos
{
	margin-bottom: 4rem;
}

#g-header .g-content
{
		margin: 0.625rem;
	    padding: 0.1em;
		text-align: right;
}

#g-header a {
    color: #cc0c2f;
}

#g-header .g-content .g-social 
{
		
}

#g-header .g-content .g-social a {
    display: inline-block;
    padding: 0;
    background: none;
    border: 0px solid #ddd;
    border-radius: 0.1875rem;
    margin-bottom: 4px;
}

@media only all and (max-width: 47.938rem) {
  #g-header [class*="size-"] {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

@media only all and (max-width: 960px) {
  
  #g-header .g-content .g-social .fa-2x {
      font-size: 1.5em;
  }
  
}


@media only all and (max-width: 960px) {
  
  #g-header .g-content .g-social .fa-2x {
      font-size: 1.5em;
  }
  
}

@media only all and (max-width: 60rem) {
  
	.size-68 {
	    -webkit-flex: 0 1 64%;
	    -moz-flex: 0 1 64%;
	    -ms-flex: 0 1 64%;
	    flex: 0 64%;
	    width: 64%;
	}
  
	.size-12 {
	    -webkit-flex: 0 1 14%;
	    -moz-flex: 0 1 14%;
	    -ms-flex: 0 1 14%;
	    flex: 0 14%;
	    width: 14%;
	}
  
}

@media only all and (max-width: 47.938rem) {
  
  #g-header .g-content .g-social .fa-2x {
      font-size: 1.5em;
  }
  
}

@media only all and (max-width: 371px) {
  
  #g-header .g-content .g-social {
      display: none;
  }
  
	#g-navigation {
		z-index: 2;
	}

	#g-navigation .gantry-logo img
	{
		margin: 0px 0px 0px 0px;
	}
  
}

@media only all and (max-width: 960px) {
	.jdGallery .slideInfoZone
	{
	  left: 5px;
	  font-size: 20px;
	  background: none;
	  top: 5rem;
	  height: 120px;	
	}
}

@media only all and (max-width: 700px) {
	.g-home #g-main .nspImage {    
	    height: 300px;	   
	}
}

@media only all and (max-width: 767px) {
	
	#mas_noticias_portada .g-content .nspCol1 .nspArt div
	{
		float: left;
		width: 100%;
		clear: both;
	}
	
	#mas_noticias_portada .g-content .nspCol1 .nspArt h4,
	#mas_noticias_portada .g-content .nspCol1 .nspArt p
	{
	    width: 100%;
	    float: left;
	    clear: both;
	    margin-left: 0px;
	}
	
	#g-navigation {
		z-index: 2;
	}

	#g-navigation .gantry-logo img
	{
		margin: 0px 0px 0px 0px;
		width: 75%;
	}
}

.mod_events_td_dayoutofmonth {
    background-color: #eaeaea !important;
}

.mod_events_td_todaynoevents {
    background-color: rgba(204, 12, 47, 0.48) !important;
}

.jev_toprow div.currentmonth {
    border-top: 1px solid #cc0c2f !important; 
    border-bottom: 1px solid #cc0c2f !important;
}

.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
    background-color: #cc0c2f !important;
    border: 1px solid #cc0c2f !important;
}    


.pg-cats-box-float {
    max-width: 220px;
    min-width: 220px;
}

.g-home #g-main #mas_noticias_portada h4.nspHeader
{
	
}

#mas_noticias_portada .g-content .nspCol1 .nspArt h4.nspHeader
{
    font-size: 1.15rem;
}

#mas_noticias_portada .g-content .nspCol1 .nspArt p.nspText,
#mas_noticias_portada .g-content .nspCol1 .nspArt a.readon
{	
	font-size: 0.95rem;
}

#columna-lateral .categories-module li
{
    display: block;
    width: 45%;
    float: left;
}

.itemid-160 .blog .cat-children
{
	display: none;
}

.btnsearch, #btnsearch, #btnsearchbelow
{
    background-color: #cc0c2f !important; 
}

dl.article-info
{
	clear: both;
}


@media only all and (max-width: 59.938rem) and (min-width: 48rem){
	.g-container {
    	width: 100%;
	}
	
	#g-navigation .g-main-nav {
	    margin: -2rem;
		margin-left: -5rem;
		font-size: 13px;
	}
	
	.g-main-nav .g-toplevel > li > .g-menu-item-container {
	    padding: 1rem 0.4rem;
	}
	
}


@media only all and (max-width: 74.938rem) and (min-width: 60rem){
	.g-container {
    	width: 100%;
	}
	
	#g-navigation .g-main-nav {
	    margin: -2rem;
		margin-left: -5rem;
		font-size: 13px;
	}
}


.blog .column-1 img
{
	width: 100%;
	margin-bottom: 15px;
}

.mod_events_td_daywithevents
{
	background-color: #cc0c2f !important;
}

.mod_events_td_todaynoevents
{
	background-color: rgba(204, 12, 47, 0.30) !important;
}

.mod_events_td_daywithevents a
{
	color: white !important;
}

.mod_events_td_daywithevents a:visited
{
	color: white !important;
}

.mod_events_td_daynoevents a
{
	color: Black !important;
}

.mod_events_td_daynoevents a:visited
{
	color: Black !important;
}

.mod_events_td_todaynoevents a
{
	color: Black !important;
}

.mod_events_td_todaynoevents a:visited
{
	color: Black !important;
}

a.ev_link_row:link
{
 font-size: 18px !important;	
}

#talleres .bfElementGroup
{
 width: 100% !important;	
}

#modalidad_inscripcion .bfElementGroup br,
#talleres .bfElementGroup br
{
 margin-top: 10px;	
}

#ff_form2 button
{
 margin: 10px;
}