/*
Theme Name: Liceo Frances Child act
Theme URI: 
Description: Child theme for customizing Liceo Frances Theme.
Version: 1.0
Author: YYTOR.com
Author URI: http://yttor.com
Template: liceo-frances
*/

/* Import Stylesheets, don't remove these.
-----------------------------------------------------------*/
@import url('../liceo-frances/style.css');

a#advanced_menu_toggle{ position:relative; }
a#advanced_menu_toggle::before{ content: "Menú";
    right: -2px;
    position: absolute;
    top: -8px;
    text-transform: uppercase;
    font-size: 10px; }

.home-news{ padding:0; margin: 0;}    
.new-title{ font-weight: bold; color: #002981; height: 48px; line-height: 18px; }
.container-1700{ width: 100%; max-width: 1170px; margin: 0 auto; }
.home-cultura{ padding:0; margin: 0;} 
.home-cultura li{ padding: 25px !important;}

/* Required Wordpress Classes, don't remove these.
-----------------------------------------------------------*/
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft { float: left; }
.alignright { float: right; }

body{
	font-size: 16px;
	color: #4e4e4e;
}

.entry-content, .comment-content{ font-size: 17px;}
.entry-content p, .entry-content div{ text-align: justify; }

/* Make all custom CSS changes BELOW this line
-----------------------------------------------------------*/
/* Example: Change the sidebar background to blue:
#sidebar {
	background: blue;
}
*/

.home-slider-lf{ margin-top: 125px !important;}


img.extra-image{ border-radius: 500px; border: 3px solid #47ae38; margin: 20px auto; }

a.{ cursor: 0; }

/* MODAL: Fancybox 
-----------------------------------------------------------*/
.fancybox-theme{
	background: rgba(66, 109, 140, 0.52)!important;
}

.fancybox-theme .fancybox-wrap .fancybox-skin{
    -webkit-box-shadow: none!important;
   -moz-box-shadow: none!important;
        box-shadow: none!important;
}

.fancybox-theme .form-group{
  margin-bottom: 5px;
}

.fancybox-theme .fancybox-close{
text-decoration: none;
    top: 0px!important;
    right: 0px!important;
    padding: 7px!important;
    position: absolute;
    width: auto;
    height: auto;
    z-index: 100;
    font-size: 1.5em;
    background-color: #807e7e!important;
    color: #fff!important;
}



.fancybox-theme .fancybox-close:hover{
	opacity: 0.8;

}


@media (max-width: 768px) {
    /* XS */



}
@media (min-width: 768px) and (max-width: 991px) {
    /* SM */


}


.fancybox-theme .fancybox-opened .fancybox-skin{
    -webkit-box-shadow: none!important;
   -moz-box-shadow: none!important;
        box-shadow: none!important;
}

.fancybox-theme .fancybox-opened{
    z-index: 1;
}

/*Orange*/
.fancybox-theme-orange{
  background:#DB8747!important;

}

.fancybox-theme-orange label{color:#fff;}

.fancybox-theme-orange label.invalid{
    color: #2F322B;{
}
.fancybox-theme-orange > input[type=text].invalid, .fancybox-theme-orange input[type=email].invalid, .fancybox-theme-orange input[type=number].invalid, .fancybox-theme-orange input[type=password].invalid, .fancybox-theme-orange textarea.invalid {
    color: #FF9800;
    background-color: #FFD6B5;
    border-color: #C7691C;
}

.fancybox-theme-orange select.invalid {
    background-color: #FFD6B5;
    border-color: #C7691C;
    outline: 0;
}

.fancybox-theme-orange h2{
    color:#fff; text-align: left;padding-left: 15px
}
.fancybox-theme-orange form{padding-top: 20px; padding-bottom: 20px;}
.fancybox-theme-orange label{color:#fff;}

@media (max-width: 768px) {
    /* XS */
    .fancybox-theme-orange h2{font-size: 1.5em;}
}


}
@media (min-width: 768px) and (max-width: 991px) {
   /* SM */
  .fancybox-theme-orange h2{font-size: 1.5em;}
}
/* MODAL: Fancybox END 
-----------------------------------------------------------*/

.no-margin{ margin: 0!important;}
.no-pading{ padding: 0!important;}


.padding-left-0{ padding-left: 0;}
.padding-right-0{ padding-right: 0;}

.padding-15{ padding:15px; }
.padding-top-15{ padding-top: 15px;}
.padding-bottom-15{ padding-bottom: 15px;}
.padding-left-15{ padding-left: 15px;}
.padding-right-15{ padding-right: 15px;}

.padding-top-20{ padding-top: 20px;}
.padding-bottom-20{ padding-bottom: 20px;}
.padding-left-20{ padding-left: 20px;}
.padding-right-20{ padding-right: 20px;}

.padding-top-30{ padding-top: 30px;}
.padding-bottom-30{ padding-bottom: 30px;}
.padding-left-30{ padding-left: 30px;}
.padding-right-30{ padding-right: 30px;}

.padding-top-40{ padding-top: 40px;}
.padding-bottom-40{ padding-bottom: 40px;}
.padding-left-40{ padding-left: 40px;}
.padding-right-40{ padding-right: 40px;}

.padding-top-50{ padding-top: 50px;}
.padding-bottom-50{ padding-bottom: 50px;}
.padding-left-50{ padding-left: 50px;}
.padding-right-50{ padding-right: 50px;}

.padding-top-90{ padding-top: 90px;}
.padding-bottom-90{ padding-bottom: 90px;}
.padding-left-90{ padding-left: 90px;}
.padding-right-90{ padding-right: 90px;}

.border-right-1-gray{border-right: 1px solid #f1f1f1;}
.border-top-1-gray{border-top: 1px solid #f1f1f1;}
.border-bottom-1-gray{border-bottom: 1px solid #f1f1f1;}
.border-left-1-gray{border-left: 1px solid #f1f1f1;}

.margin-top-30{ margin-top: 30px;}
.margin-bottom-30{ margin-bottom: 30px;}
.margin-left-30{ margin-left: 30px;}
.margin-right-30{ margin-right: 30px;}


strong { font-weight: bold; }

.view-more{ display: inline-block; padding: 10px 15px; color: white; text-align: center; border: 0; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;}
.view-more.red{ background: #d50000; }
.view-more.blue{ background: #002981; }

.entry-content iframe{ min-height: 450px; width: 100%; padding: 0; margin:0;}


.row{ margin-right: 0; margin-left: 0; }
.top-menu-header #subheader-menu{ text-align: right;}
#subheader-menu a{ color: #474747;}
#subheader-menu a:hover{ color: #54d841;}
.row .top-menu-header .grids .grid-12{ margin: 0; }
#primary-menu{ float: right;}
#primary-menu a{ color: #004393; transition: all 0.5s ease; }
#primary-menu a:hover{ color: #d60000; }
#primary-menu li{transition: border-bottom .3s ease-out;}
#primary-menu li:hover{ color: #474747;  }
#primary-menu li:hover a{ color: #d60000;  }
#primary-menu li.current-menu-item{ color: #d60000;}
#primary-menu li.current-menu-parent a{ color: #d60000; }
#primary-menu .sub-menu li:hover a,
#primary-menu .sub-menu li.current-menu-item a{ background: #004393; color: white; }


.navbar{ border:0; margin-bottom: 0;}
.main-navigation > ul > li{ border:0px;}
.main-navigation a{ padding: 1.375rem 1rem;}


.main-navigation .sub-menu{ border: 0; }


header.subheader{ display: none;}
#top-header .top-menu-header{ padding: 12px 15px; background: rgba(0,0,0,.8); position: relative;}
#top-header .top-menu-header a{color: white; /*text-shadow:1px 1px 0px #555;*/ font-weight: bold; border-right: 1px solid #fff; padding-right: 8px; }
#top-header .top-menu-header li:last-child a{ border-right: 0; }

.top-menu-header .container .grids .grid-12 #lang_sel{ float: right; position: absolute; right: 15px; top: 8px; }
.top-menu-header .container .grids .grid-12 #lang_sel ul li a{ padding: 2px 0 2px 5px; }

.top-menu-header .container .grids .grid-12 #lang_sel ul li  ul li a{
    padding: 7px 0 7px 5px;
}



.top-menu-header .container .grids .grid-12 #lang_sel a{ color: #999; text-shadow: initial; font-size: 12px; font-family: inherit; font-weight: normal; text-transform: uppercase;}
.top-menu-header .container .grids .grid-12 #lang_sel a.lang_sel_sel:before{ padding-top: 3px; }

#masthead{ position: absolute; z-index: 999; width: 100%;}
#masthead #site-navigation{ display: none;} 
.main-menu #navbar #site-navigation{ display: block;}
.site-branding{ padding-top: 20px; padding-bottom: 20px;}
.site-branding img{ max-width: 250px;}
.large-medium-logo{ max-width: 280px; display: inline-block; }
.large-medium-logo img{ width: 100%; max-height: 90px;}
#top-header{ width: 100%; height: auto; position: relative;}
.container-top-menu-header{ background: white;}

@media(min-width:1039px){

	.inside.site-branding{ display: none;}

}

@media(max-width:1039px){
	.site-branding img{ max-height: 35px;}
	.inside.site-branding{ background: white; }
	.home .ls-wp-fullwidth-container{ margin-top: 70px; }
	.home-slider-lf{ margin-top: 75px !important;}
}

#advanced_menu_toggle .fa.fa-align-justify{ vertical-align: top; }

@media(max-width:1039px){
	
	#top-header{ display: none;}

}

@media only screen and (max-width: 1210px){
	.main-navigation .primary-menu > li:first-child a{ padding-left: 1rem; }
}

.sections-container-a-b{ min-height: 585px; position: relative;}
.section-a-container-a-b, .section-b-container{ height: 100%; min-height: 585px; }
.section-a-container{ padding: 40px; text-align: center; background: #e1e1e1; }
.section-a-container h1{ width: 80%; margin: 15px auto; color: #0091de; border-bottom: #47ae38 solid 1px; padding: 0 20px; text-align: center;}
a.more{ color: white; padding: 10px 20px; text-align: center; margin: 15px auto; border-radius: 5px; display: inline-block;}
a.more.blue{ background: #0091de; }
a.more.white{ background: white; color: #0f92d8;}

.section-b-container{ background: #000; padding: 0;}

.sections-container-c-d-e{ height: 375px; position: relative;}
.section-c, .section-d, .section-e{ height: 100%; height: 375px;}
.section-c, .section-e{ padding: 30px 20px; text-align: center; color: #fff; }
.section-c h1, .section-e h1{ color: white;}
.section-c{ background: url(images/section-c-background.jpg) left 0 no-repeat; background-size: cover;}

.section-d{ padding: 0;}

.section-e{ background: url(images/section-c-background.jpg) right 0 no-repeat; background-size: cover;}

.index-gallery-tab { height: 100%; position: relative; }
.index-gallery-tab .single-index-gallery{ padding: 0; height: 50%;}


@media(max-width:1199px){
	.sections-container-c-d-e{ height: auto;}
	.section-c, .section-e{ padding-top: 70px;}
}

@media(max-width: 991px){
	.section-a-container-a-b, .section-b-container{ min-height: initial; height: auto;}
}

@media(min-width: 991px){
	.section-a-container, .section-b-container{ height: 650px; }
}

.custom-pagination{ text-align: center; color: white; margin-top: 40px; }
.custom-pagination span.current{ background: white; color: #54d841; padding: 3px 5px; border-radius: 7px; }
.custom-pagination a{ display: inline-block; cursor: pointer;}
.custom-pagination a.page-numbers{ color: white; padding: 3px 5px; }
.custom-pagination a.page-numbers:hover{ color: #54d841; background: white; border-radius: 7px; }

#colophon{ margin-top: 0;}
#colophon .site-info{ background: #091c30; color: #fff; margin:0; padding: 20px 0 20px 0;}
#colophon .site-info .inside{ margin-top: 0; text-align: center;}
.footer-section h3{ width: 100%; color: #fff; border-bottom: 1px solid #8d8d8d; padding-bottom: 8px; margin-bottom: 8px; }
.footer-section h3.center{ text-align: center;}
.footer-section .footer-menu{ width: 100%; list-style-image: none; list-style: none; padding-left: 0;}
.footer-section .footer-menu li{ background: url(images/footer-menu-list.png) center left no-repeat; padding-left: 12px; }
.footer-section .single{ width: 100%; padding-bottom: 6px; color: #fff;}
.footer-section .single a .fa{ padding:6px; background: #54d841; border-radius: 50px;}

@media (max-width: 768px){
	.footer-section{ margin-bottom: 60px; height: auto; float: left;  }
}

/*.home.page .content-wrapper, .home.page .site-content{ background: #006ead;}*/

.single-home-post p.title,
.single-home-post .inner-content,
.single-home-post p.inner-short-content
{ color: white; }

.single-home-post.post1 p.title,
.single-home-post.post2 p.title,
.single-home-post.post3 p.title,
.single-home-post.post4 p.title,
.single-home-post.post5 p.title{ font-weight: bold; font-size: calc(100% + 1px);}

a.noticia-completa{ color: #54d841; width: 100%; padding-left: 15px; background: url(images/noticia-completa-backg.png) center left no-repeat; text-align: right; border-bottom: 1px solid white; padding-bottom: 3px;}
a.noticia-completa:hover{ color: white;}


@media (min-width: 1200px){
	.single-home-post.post1,
	.single-home-post.post2,
	.single-home-post.post3,
	.single-home-post.post4,
	.single-home-post.post5{ width: 33.33%; padding-right: 15px; float: left; position: relative;}

	.single-home-post.post1 p.inner-short-content,
	.single-home-post.post2 p.inner-short-content{ display: none;}

	.single-home-post.post3,
	.single-home-post.post4,
	.single-home-post.post5{ padding-right: 0;}

	.single-home-post.post3 .inner-content,
	.single-home-post.post4 .inner-content,
	.single-home-post.post5 .inner-content{ display: none;}

	.single-home-post.post1 .wp-post-image, 
	.single-home-post.post2 .wp-post-image, 
	.single-home-post.post3 .wp-post-image, 
	.single-home-post.post4 .wp-post-image, 
	.single-home-post.post5 .wp-post-image{ margin-bottom: 15px;}
	
	.single-home-post.post3 .wp-post-image, 
	.single-home-post.post4 .wp-post-image, 
	.single-home-post.post5 .wp-post-image{ width: 40%; margin-right: 15px;}

	.single-home-post.post3 .wp-post-image, .single-home-post.post3 p.inner-short-content,
	.single-home-post.post4 .wp-post-image, .single-home-post.post4 p.inner-short-content,
	.single-home-post.post5 .wp-post-image, .single-home-post.post5 p.inner-short-content { float: left; }

	.single-home-post p.inner-short-content{ width: 50%; }


}

@media (max-width: 1199px){
	.single-home-post{ width: 50%; height: 470px; float: left; margin-bottom: 50px; }
	.single-home-post .inner-content{ margin-bottom: 25px;}
	.single-home-post .inner-short-content{ display: none; }
	.single-home-post .wp-post-image{ margin-bottom: 30px;}

	.single-home-post.post1,
	.single-home-post.post3{ padding-right: 15px;}

	.single-home-post.post5{ width: 100%; height: auto;}

	.single-home-post.post5 .wp-post-image{ max-width: 50%; padding-right: 15px; float:left;}
	.single-home-post.post5 .inner-content{ width: 50%; float: left; }

}

@media (max-width: 600px){
	.single-home-post,
	.single-home-post.post1,
	.single-home-post.post2,
	.single-home-post.post3,
	.single-home-post.post4,
	.single-home-post.post5
	{ width: 100%; height: auto; float: left; margin-bottom: 50px; padding-left: 0; padding-right: 0; padding-bottom: 50px; border-bottom:1px dashed #3da0da; }

	.single-home-post.post5 .wp-post-image{ width: 100%; max-width: 100%; padding: 0;}
	.single-home-post.post5 .inner-content{ float: initial; width: 100%; }


}

.main-navigation .primary-menu > li:first-child > a{ padding-left: 1rem; }

.page .content-wrapper #content #primary #main article header h1.entry-title
{ text-align: left; margin: 0 0 20px 0; color: #0091de; border-bottom: 1px solid #47ae38; padding-bottom: 8px; white-space:nowrap; }
.home.page.page-template-template-homecustom-php .content-wrapper #content #primary #main article header h1.entry-title{ color: white; text-align: center; border-bottom: 1px solid #54d841; max-width: 200px; margin: 25px auto; padding-bottom: 8px; }



/* Menu Sidebar */
.widget .menu li a, .widget ul li a{ width: 100%; color: #0091de;  display: block; padding:6px 10px; }
.widget .menu li a:hover, .widget ul li a:hover, .widget ul li.current-cat a, .widget .menu li.current-menu-item a{ color: #000000;  }
.widget .menu .sub-menu li a, .widget ul .sub-menu li a{ padding-left: 25px; }

.widget.widget_archive h3.widget-title,
.widget.widget_categories h3.widget-title 
{ padding: 8px 15px; text-align: center; text-transform: uppercase; color: white; background: #1270c0;}


/* Archive post */
.archive #content #primary #main article{ float: left; width: 100%; }
.archive #content #primary #main article header.entry-header figure.post-thumbnail{ width: 30%; float:left; margin-right: 5%;}
.archive #content #primary #main article header.entry-header .entry-meta,
.archive #content #primary #main article header.entry-header h1.entry-title,
.archive #content #primary #main article .entry-content
{ width: 65%; float: left; }

@media (max-width: 799px){
	.archive #content #primary #main article header.entry-header figure.post-thumbnail{ width: 100%; margin: 0;}
	.archive #content #primary #main article header.entry-header figure img{ width: 100%; }
	.archive #content #primary #main article header.entry-header .entry-meta,
	.archive #content #primary #main article header.entry-header h1.entry-title,
	.archive #content #primary #main article .entry-content
	{ width: 100%;}
	.archive #content #primary #main article .entry-content p a.more-link{ width: 100%; display: block; }
}

.single-post header.entry-header .entry-meta,
.archive header.entry-header .entry-meta{ display: none; }

.page-id-467 input[type="text"], 
.page-id-467 input[type="email"],
.page-id-467 textarea
{ border:1px solid #f1f1f1; width: 100%; }

.page-id-467 input[type="submit"]{ border-radius: 5px; padding: 12px 32px;}
.page-id-467 input[type="submit"]:hover{ background: #db2920; }

article .entry-content .none{ display: none; }

#sub-banner-page{ width: 100%; height: 380px; margin:0 0 40px 0; padding:0; }

.subheader-menu-wrap{ float: right; margin-right: 165px; }

#subheader-menu li a{ text-transform: uppercase; font-size: 12px; }
#subheader-menu li{ padding-right: 10px; }
#subheader-menu li:last-child{ padding-right: 0; }
#subheader-menu li.current-menu-item a{ color: #54d841; }

.archive .custom-pagination{ margin-top: 50px; float: left; width: 100%; }
.archive .custom-pagination a.page-numbers, .archive .custom-pagination span.page-numbers{padding: 10px 14px;  border-radius: 5px;}
.archive .custom-pagination span.page-numbers.current{background: #1270c0; color: white;}
.archive .custom-pagination a.page-numbers, .archive .custom-pagination span.page-numbers.dots{  color: #1270c0; }

#YT-main-index-video{ height: 100%;}
@media(max-width:991px){
	#YT-main-index-video{ height: 400px;}
}

#days-to-elections{ width: 200px; height: 15px; padding: 10px 0; position: absolute; left: 20%; color: #fff; }
#days-to-elections .days{ padding: 5px 10px; color: red; background: white; width: 40px; height: 30px; display: inline-block; text-align: center; border-radius: 5px; margin-right: 5px;}

.main-home-banner{ position: relative;}
.main-home-banner .tab{ width: 220px; height: auto; padding: 20px; position: absolute; right: 50px; bottom: 0; background: white; color: #0091de; text-align: center; border-top-right-radius: 5px; border-top-left-radius: 5px; box-shadow: 0px -3px 15px -5px black; -webkit-box-shadow: 0px -3px 15px -5px black; -moz-box-shadow: 0px -3px 15px -5px black;}
.main-home-banner .tab .days{padding: 5px 10px; color: white; background: #0091de; width: 40px; height: 30px; display: inline-block; text-align: center; border-radius: 5px; margin-right: 5px;}

.days_to_elections{ background: #0091de; padding: 10px 0; text-align: center; color: white;}
.days_to_elections .days{padding: 5px 10px; color: red; background: white; width: 40px; height: 30px; display: inline-block; text-align: center; border-radius: 5px; margin-right: 5px;}

#subheader-advanced{ background: #0091de; }
#mobile-wrapper h3{ color: #0091de; }

.section-c , .section-e{ display: none; }


/* LF */
@media (min-width: 1200px){
	.container { width: 100%; padding-right: 5px; padding-left: 5px; }
	.main-navigation{ max-width: 100%; }

}

.main-navigation a{ padding: 30px 10px 30px 0px; font-size: .8em; }
.main-navigation .primary-menu > li:first-child > a{ padding-left: 8px; }
.main-navigation a.large-medium-logo{ padding: 0 0 0 0; display: inline-block; float: left;}
.main-navigation a.large-medium-logo img{ padding: 10px 0 0 0; }
.main-navigation img{ max-height: 64px; }
.main-navigation .logo-aefe{ display: inline-block; padding: 5px 0 0 10px; float: left; }

@media (min-width:1040px) and (max-width:1199px) {
	#primary-menu{ width: 100%; }
	.main-navigation .logo-aefe{ float: right; }
	.main-navigation .primary-menu > li{ padding-right: 15px;}
}

.main-links-multimedia-container{ /*height: 350px;*/ position: relative;}
.main-links-multimedia-container .main-links, .main-links-multimedia-container .multimedia{ height: 100%;}


.main-links-multimedia-container .main-links{  padding: 0;} 
.main-links-multimedia-container .main-links .single-main-link{ /*height: 50%;*/ position: relative; padding: 0 25px 35px 25px; margin:0;}
.main-links-multimedia-container .main-links .single-main-link.red{ background: #d50000; }
.main-links-multimedia-container .main-links .single-main-link.blue{ background: #002981; }
.main-links-multimedia-container .main-links .single-main-link .image-link{ max-height: 100px; margin-top: 15%;}


.main-links-multimedia-container .multimedia{ background: #d50000; padding: 0; position: relative;}
.main-links-multimedia-container .multimedia .inner-multimedia{ position: relative; width: 100%; height: 100%; }
.main-links-multimedia-container .multimedia .multimedia-overlay-text{  width: 100%; height:auto; position: absolute; bottom: 0; padding: 55px 15px 15px 15px; z-index: 99;}
.main-links-multimedia-container .multimedia .multimedia-overlay-text p,
.main-links-multimedia-container .multimedia .multimedia-overlay-text div,
.main-links-multimedia-container .multimedia .multimedia-overlay-text a
{ color: white; }

@media (max-width: 991px){
	.main-links-multimedia-container .main-links { height: auto; }
	.main-links-multimedia-container .main-links .single-main-link{ height: 150px; }
	.main-links-multimedia-container .main-links .single-main-link img.image-link{ height: 100px; margin-top: 20%; }
}

@media (max-width: 991px){
	.main-links-multimedia-container .main-links .single-main-link img.image-link{ height: 80px; margin-top: 20%; }
}

.mostrar_areas{ position: relative;}
.home-areas-container .single-area{ padding: 0; margin: 0; position: relative;}
.home-areas-container .single-area img{ 
	opacity: 1; 
}
.home-areas-container .single-area img:hover{ opacity: .8;  }
.home-areas-container .single-area .text{ width: 100%; background: url(images/areas-background.png) repeat-x; text-align: center; height: 55px; color: white; font-size: 30px; position: absolute; bottom: 0; font-weight: bold; padding-top: 0px; }

.miembro-destacado-facebook-twitter{ height: 350px; position: relative;}
.miembro-destacado-facebook-twitter .miembro-destacado{ background: white; position: relative; height: 100%; padding: 30px 80px; }
.miembro-destacado-facebook-twitter .miembro-destacado .single-miembro-img-container .miembro-destacado-img{
	border-radius: 500px;
	-moz-border-radius: 500px;
	-webkit-border-radius: 500px;
    border: 4px solid #dbdbdb;
}
.miembro-destacado-facebook-twitter .miembro-destacado .md-text h2{ color: #002981; }
.miembro-destacado-facebook-twitter .miembro-destacado .md-text h3{ color: #d50000; }



@media (max-width:1199px){
	.miembro-destacado-facebook-twitter{ height: auto;}
}



.miembro-destacado-facebook-twitter .facebook-twitter{ position: relative; height: 100%; padding: 0; margin: 0;}
.miembro-destacado-facebook-twitter .facebook-twitter .facebook-feed{ height: 100%; background: #e7e7e7; padding: 12px 15px; }
.miembro-destacado-facebook-twitter .facebook-twitter .facebook-feed p{ padding-bottom: 10px; border-bottom: 1px solid #c4c4c4; }

.miembro-destacado-facebook-twitter .facebook-twitter .facebook-feed h1,
.miembro-destacado-facebook-twitter .facebook-twitter .twitter-feed h1{ color: #000000; }
.miembro-destacado-facebook-twitter .facebook-twitter .twitter-feed{ height: 100%; padding: 12px 15px;  }

.mapa-contacto-container{ position: relative; height: 500px; background: #f0f0f0;}
.mapa-contacto-container .google-maps{ padding: 0; margin: 0; height: 100%; position: relative;}
.mapa-contacto-container .google-maps iframe{ position: relative; height: 100%;}

.mapa-contacto-container .contacto{ position: relative; height: 100%; padding: 30px 5%;}
.mapa-contacto-container .contacto h1{ color: #002981;}
.mapa-contacto-container .contacto input[type="text"],
.mapa-contacto-container .contacto input[type="email"],
.mapa-contacto-container .contacto textarea{ width: 100%; background: transparent; border-bottom: 1px solid #c7c7c7; }
.mapa-contacto-container .contacto textarea{ height: 80px; }
.mapa-contacto-container .contacto input[type="submit"]{ float: right; margin-top: 12px; }
span.wpcf7-not-valid-tip{ font-size: 12px;}
div.wpcf7-validation-errors{ font-size: 14px; background: #f0edbd; }

@media (max-width: 991px){
	.mapa-contacto-container{ height: auto; }
	.mapa-contacto-container .google-maps{ height: 500px; }
	.mapa-contacto-container .contacto{ height: auto; }
}

.instagram-container .single-instagram-image { padding: 0; margin: 0; position: relative; }
.instagram-container .single-instagram-image .overlay{ width: 100%; height: 100%; position: absolute; background: rgba(0,0,0,.5); top: 0; left: 0; 
	-webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  text-align: center;
  color: white; }
  .instagram-container .single-instagram-image .overlay .fa{ font-size: 35px;}
.instagram-container .single-instagram-image .overlay:hover{ opacity: 0;}

.footer-menu-wrapper{ background: #002981; }
.footer-menu-wrapper .footer-lf-menu{ list-style: none; text-align: center; padding:0; }
.footer-menu-wrapper .footer-lf-menu li{ display: inline-block;}
.footer-menu-wrapper .footer-lf-menu li a{ font-size: 12px; padding-right: 15px; }
.footer-menu-wrapper .footer-lf-menu > li.single-li-sn{ border-left: 1px solid #ffffff; padding-left: 15px; margin-left: 0;}
.footer-menu-wrapper .footer-lf-menu > li.single-li-sn ~ li.single-li-sn {
    border-left: none;
    margin-left: 0;
    padding-left: 5px;
}
.footer-menu-wrapper .footer-lf-menu > li.single-li-sn a{ padding-right: 8px;}

#top-header #social-networks{ margin: 0 15px 0 0; float: right; padding: 0 ; }
#top-header #social-networks li{ display: inline-block; margin-left: 0; }
#top-header #social-networks li a .fa,
.footer-lf-menu li.single-li-sn a .fa { font-size: 12px; color: #6a7477; text-shadow: none; border-right: 0; background: white; /*padding: 3px 10px 8px 10px;*/ padding:4px; transition: all 0.5s ease; -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; }
#top-header #social-networks li a .fa:hover{ background: #0051a1; color: white;  }
.footer-lf-menu li.single-li-sn a .fa:hover{ background: #d60000; color: white; }

#top-header #social-networks li.single-li-sn a.single-social-network .fa.fa-facebook,
.footer-lf-menu li.single-li-sn a .fa.fa-facebook{ padding: 4px 6px; }

#top-header .top-menu-header a.single-social-network{ border-right: 0;}

#primary-menu ul{ min-width: 340px; }

#footer_logos{ padding: 40px 0; margin: 0; background: white; }
#footer_logos #footer-logos-list{ padding: 0; margin: 0; text-align: center; }
#footer_logos #footer-logos-list li{ display: inline-block; }
#footer_logos #footer-logos-list li img{ -webkit-filter: grayscale(100%); filter: grayscale(100%); transition: all 0.5s ease;  }
#footer_logos #footer-logos-list li img:hover{ -webkit-filter: grayscale(0%); filter: grayscale(0%); }

#content { margin-top: 200px; }
.error-message{ width:100%; height: auto; background: #fff5f6; color: #999; border:1px solid #e71d25; text-align: justify; padding:20px; }

figure.stag-section.stag-image{ width: 98%; }
figure.stag-section.stag-image img{ width: 100%; margin: 0 10px; border:10px solid #ffffff; box-shadow: 0px 0px 5px #828282; -webkit-box-shadow: 0px 0px 5px #828282; -moz-box-shadow: 0px 0px 5px #828282;}
#primary h1,
#primary h2,
#primary h3,
#primary h4,
#primary h5,
#primary h6{ color: #ad191f; text-transform: uppercase; }

img.border{ border:10px solid #ffffff; box-shadow: 0px 0px 5px #828282; -webkit-box-shadow: 0px 0px 5px #828282; -moz-box-shadow: 0px 0px 5px #828282; margin: 3px 12px 6px 8px; }

.contenido-estatico{ padding: 50px 20px;}



.fb-page, 
.fb-page span, 
.fb-page span iframe[style] { 
    width: 100% !important; 
}

.facebook-xs, .twitter-xs{ padding: 60px 0;}

.facebook-xs{
	background: #3765a3;
}

.twitter-xs{
	background: #00aced; 
}

.facebook-xs .fa, .twitter-xs .fa{ font-size: 3em; color: white; }



/********************
PLANTILLA INTERNA
*************************************************/
.plantilla-interna{}
.plantilla-interna .site-header{
	height: 400px;
    position: relative!important;
    background-color: #eaeaea;
    min-height: 400px;
}

.plantilla-interna .site-header #top-header{
	z-index: 2;
}

.plantilla-interna .site-header #top-header .top-menu-header{
	background: none;
}

.plantilla-interna .site-header .wrapper-title-single{
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 0;
}


.plantilla-interna .site-header .title-post{
	display: table-cell;
    vertical-align: middle;
    width: 100%;
    z-index: 1;
    color: #fff;
    background: rgba(0,0,0,.5);
    position: relative;
}
/*LG, MD*/
.plantilla-interna .site-header .title-post h1{
	color:#fff;
    text-transform: inherit!important;
    text-shadow: 1px 1px 0px #555;
    margin-top: 140px;
}


.plantilla-interna .content-wrapper #content {
    margin-top: 50px;
    padding-bottom: 100px
}


.site-content .content-area, .site-content .widget-area {
}

/*Widget list child pages*/
.site-content #siderbar-pages-left{
	border-right: 1px solid #ad191f;
}
.site-content #siderbar-pages-left ul:first-child{
    padding: 0;
}

.site-content #siderbar-pages-left ul{
    list-style: none;
   
}

.site-content #siderbar-pages-left ul > li{

}

.site-content #siderbar-pages-left ul > li > a{
	color: #333;
    display: block;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.9em;
}

.site-content #siderbar-pages-left li.page_item_has_children > a:first-child {
	font-weight: bold;

}

.site-content #siderbar-pages-left ul > li > a:hover{
	padding-right: 20px;
	color:#999;
	transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
}
.site-content #siderbar-pages-left li.current_page_item > a{
	background: #ad191f;
    width: 100%;
    display: block;
    padding: 8px;
    color: #fff;
}
.site-content #siderbar-pages-left li.current_page_item > a:hover{
	background:#002981;
	transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
}


/*end*/

.stellar-bg{
	background-attachment: fixed;
    background-position: 50% 0;
    background-size: cover;
    background-repeat: no-repeat;
}

/* VALIDATE LIB
-----------------------------------------------------------*/

label.invalid{color:#b94a48;     font-size: 0.6em;
    padding-left: 10px; display: none!important;}
input[type=text].invalid, input[type=email].invalid, input[type=number].invalid, input[type=password].invalid, textarea.invalid{color: #b94a48;
    color: #c54543;

}
input.invalid::-webkit-input-placeholder{ color:#b94a48; }
input.invalid::-moz-placeholder{ color:#b94a48; }
input.invalid::-ms-input-placeholder{ color:#b94a48; }
input.invalidinput::-moz-placeholder{ color:#b94a48; }

select.invalid {
background-color: #f2dede;
border-color: #eed3d7!important;
outline: 0;
}

/* END
-----------------------------------------------------------*/


@media (min-width: 1200px) {
  /* LG */

}
@media (min-width: 992px) and (max-width: 1199px) {
  /* MD */

}

@media (max-width: 768px) {
    /* XS */
	.plantilla-interna .site-header .title-post h1{
		margin-top: 0;
			transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
	}

	.plantilla-interna .site-header{
		height: 300px;
	    min-height: 300px;
	}


}
@media (min-width: 768px) and (max-width: 991px) {
   /* SM */

	.plantilla-interna .site-header .title-post h1{
		margin-top: 0;
			transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
	}


}






/********************
FIN PLANTILLA INTERNA
*************************************************/





















