/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.mancomun.gal/
 Description:    A customized vreson of Divi Child Theme
 Author:         Mancomun
 Author URI:     http://www.mancomun.gal
 Template:       Divi
 Version:        1.0.0
*/
@import url("../Divi/style.css");
/* =Theme customization starts here
------------------------------------------------------- */

/* FONTS */
@font-face {
    font-family: 'ubuntubold';
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-b-webfont.eot');
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-b-webfont.eot?#iefix') format('embedded-opentype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-b-webfont.woff2') format('woff2'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-b-webfont.woff') format('woff'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-b-webfont.ttf') format('truetype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-b-webfont.svg#ubuntubold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ubunturegular';
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-r-webfont.eot');
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-r-webfont.eot?#iefix') format('embedded-opentype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-r-webfont.woff2') format('woff2'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-r-webfont.woff') format('woff'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-r-webfont.ttf') format('truetype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-r-webfont.svg#ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ubuntuitalic';
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-ri-webfont.eot');
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-ri-webfont.eot?#iefix') format('embedded-opentype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-ri-webfont.woff2') format('woff2'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-ri-webfont.woff') format('woff'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-ri-webfont.ttf') format('truetype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-ri-webfont.svg#ubuntuitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ubuntumedium';
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-m-webfont.eot');
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-m-webfont.eot?#iefix') format('embedded-opentype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-m-webfont.woff2') format('woff2'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-m-webfont.woff') format('woff'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-m-webfont.ttf') format('truetype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-m-webfont.svg#ubuntumedium') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ubuntulight';
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-l-webfont.eot');
    src: url('/wp-content/themes/Divi-child/fonts/ubuntu-l-webfont.eot?#iefix') format('embedded-opentype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-l-webfont.woff2') format('woff2'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-l-webfont.woff') format('woff'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-l-webfont.ttf') format('truetype'),
	url('/wp-content/themes/Divi-child/fonts/ubuntu-l-webfont.svg#ubuntulight') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* HEADER */
#main-header {border-bottom: 2px solid #b51c1c;}
ul#et-secondary-nav.menu {padding-bottom: 0.75em;}
ul#et-secondary-nav.menu li a {
    font-weight: normal;
    text-transform: uppercase;
    padding-bottom: 0;
}
#et-secondary-nav .menu-item-has-children > a:after {display: none;}
#et-secondary-nav li.menu-item-language {padding-left: 15px; border-left: 1px solid #666;}
#et-secondary-nav .menu-item-has-children > a:first-child {padding-right: 0;}
ul#et-secondary-nav.menu li.menu-item-language-current a {color: #b51c1c;}

div#contenedor_logos {display: block; clear: both; width: 100%; height: auto; border-bottom: 2px solid #ededed;}
.et_header_style_left .logo_container {position: relative; padding: 10px 0; height: 75px;}
#logo {
	display: inline-block;
	float: none;
	max-height: 100%;
	margin: 0;
	vertical-align: top;
}
a#logo_mancomun_header,
a#logo_xunta_header {display: inline-block; height: 54px;}
a#logo_mancomun_header {width: 329px; float: left;}
a#logo_xunta_header {width: 175px; float: right;}
a#logo_mancomun_header img,
a#logo_xunta_header img {
    display: inline-block;
    height: 100%; width: auto;
}
div#et-top-navigation {padding: 0 !important; float: none;}
.et_header_style_left #et-top-navigation {padding: 0;}

.container.et_menu_container {padding-top: 0px;}

.et_search_outer {top: 66px;} 
.et_search_form_container {height: 50px !important;}
form.et-search-form {max-width: none !important;}
.et-search-form input {right: 0 !important; width: 100% !important;}
.et_header_style_left #et-top-navigation nav > ul > li > a {padding-bottom: 0 !important;}
.et_header_style_left #et-top-navigation nav > ul {margin-bottom: 0px;}
#top-menu li {padding: 8px 10px; margin-right: 2px;}
#top-menu li.current-menu-item {background-color: #b51c1c; padding: 8px 10px;}
#top-menu li.current-menu-item > a,
#main-header.et-fixed-header #top-menu li.current-menu-ancestor > a,
#main-header.et-fixed-header #top-menu li.current-menu-item > a {color: #fff !important;}
#et_top_search {margin: 10px 0 0 22px;}

ul#mobile_menu {padding: 2% 5% 2% 5%;}
ul#mobile_menu li.menu-item-language a,
ul#mobile_menu li.menu-item-object-page a {color: #666;}
ul#mobile_menu li.current-menu-item a,
ul#mobile_menu li.menu-item-language-current a {color: #b51c1c;}
ul#mobile_menu li.menu-item-language,
ul#mobile_menu li.menu-item-object-page {border-top: 1px solid #ccc;}
ul#mobile_menu li.menu-item-language ~ .menu-item-language,
ul#mobile_menu li.menu-item-object-page ~ .menu-item-object-page {border-top: none;}
ul#mobile_menu li.xunta_galicia a span {display: none;}
ul#mobile_menu li.xunta_galicia {display: block; width: auto; height: 54px; margin-top: 2%; text-align: center;}
ul#mobile_menu li.xunta_galicia a {display: inline-block; width: 175px; height: 54px; background: #fff url('/wp-content/themes/Divi-child/images/logo_xunta_header.png') no-repeat top left; background-size: 100% auto; padding: 0; border: 0; cursor: pointer;}
ul#mobile_menu li.search_mobil {border-bottom: 1px solid #ccc; padding-bottom: 2%;}
ul#mobile_menu li.search_mobil input {
    width: 100%; margin: auto; border: none; color: #000; font-size: 17px; background-color: #fff; padding: 5px 10px; border: 1px solid #999;
}

div#et_mobile_nav_menu {visibility: hidden;}
div#et_mobile_nav_menu2 {display: none; float: right; margin-top: 10px; z-index: 999999;}

/* BODY */
.container, .et_pb_row {width: 90%;}

.et_right_sidebar #left-area {width: 70%; /*padding-right: 5%;*/}
.et_right_sidebar #sidebar {width: 30%; padding-left: 0;}
.et_right_sidebar #main-content .container:before {display: none;}

#left-area ul {padding: 0 0 20px 25px;}

#et-top-navigation {
    font-weight: 600;
    font-weight: 500;
}

.et_pb_section {background-color: #f4f4f4 !important; padding-top: 0px !important;}
div#main-content .et_pb_section_0.et_pb_section {background-color: #f4f4f4 !important;}
div#main-content {
    font-family: 'ubunturegular'; font-weight: normal; font-style: normal; font-size: 16px; color: #333;
    background-color: #f4f4f4 !important;
}
#main-content .container {padding-top: 2%;}
div#main-content h1, div#main-content h2, div#main-content h3, div#main-content h4, div#main-content h5, div#main-content h6 {
    font-family: 'ubuntubold'; font-weight: normal; font-style: normal; color: #000; padding: 1em 0;
}
div#main-content bold {font-family: 'ubuntubold'; font-weight: normal; font-style: normal;}
div#main-content p {padding-bottom: 1em;}
div#main-content div.et_pb_text ol, div#main-content div.et_pb_text ul {padding-bottom: 1em; margin-left: 0; padding-left: 2em; list-style-position: outside; overflow: hidden;}
div#main-content div.et_pb_text ol li, div#main-content div.et_pb_text ul li {padding-bottom: 0.5em; line-height: 1.5em;}
div#main-content div.et_pb_text a {color: #000; text-decoration: underline;}
div#main-content div.et_pb_text a:hover {color: #b51c1c; text-decoration: none;}
div#main-content div.et_pb_text a:active {color: #fff; background-color: #b51c1c; text-decoration: none;}

div#main-content div.et_pb_slide_description h2.et_pb_slide_title {padding: 1em 0 0.5em 0;}

#submenu_mxn > div > div {display: block; padding: 2em 1em; background-color: #fff; margin-bottom: 1em 0; border-left: 2px solid #b51c1c;}
#submenu_mxn > div > div > ul {display: block; list-style: none;}
#submenu_mxn > div > div > ul li {display: block; min-height: 20px; margin-bottom: 1em; font-family: 'ubuntubold'; font-size: 16px; text-transform: uppercase;}
#submenu_mxn > div > div > ul li:last-child {margin-bottom: 0;}
#submenu_mxn > div > div > ul li a {display: inline-block; padding: 2px 8px; color: #000; text-decoration: none;}
#submenu_mxn > div > div > ul li a:hover {color: #333;}
#submenu_mxn > div > div > ul li.current_page_item a,
#submenu_mxn > div > div > ul li.current_page_item a:hover {background-color: #b51c1c; color: #fff;}

.et_pb_widget_area_left {padding-right: 0;}
div#banner_wiki_mxn, div#banner_forxa_mxn, div#banner_faqs_mxn, div.banner_generic {display: block; text-align: center; margin-bottom: 10%;}
div#banner_wiki_mxn h4, div#banner_forxa_mxn h4, div#banner_faqs_mxn h4 {display: none;}
div#banner_wiki_mxn a, div#banner_forxa_mxn a, div#banner_faqs_mxn a, div.banner_generic a {
    display: block; width: 100%; height: 100%; padding: 60px 2%;
    color: #fff; font-family: 'ubuntubold'; font-size: 25px; line-height: 28px; text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0,0,0,0.4);
    -webkit-transition: all .5s ease-out 0.1s; -moz-transition: all .5s ease-out 0.1s; -o-transition: all .5s ease-out 0.1s; transition: all .5s ease-out 0.1s;
}
div#banner_wiki_mxn a:hover, div#banner_forxa_mxn a:hover, div#banner_faqs_mxn a:hover, div.banner_generic a:hover {background-color: rgba(0,0,0,0.7);}
div#banner_wiki_mxn {background: transparent url('/wp-content/themes/Divi-child/images/banner9.jpg') no-repeat center center; background-size: cover;}
div#banner_forxa_mxn {background: transparent url('/wp-content/themes/Divi-child/images/banner4.jpg') no-repeat center center; background-size: cover;}
div#banner_faqs_mxn {background: transparent url('/wp-content/themes/Divi-child/images/banner10.jpg') no-repeat center center; background-size: cover;}
div.ban1 {background: transparent url('/wp-content/themes/Divi-child/images/banner1.jpg') no-repeat center center; background-size: cover;}
div.ban2 {background: transparent url('/wp-content/themes/Divi-child/images/banner2.jpg') no-repeat center center; background-size: cover;}
div.ban3 {background: transparent url('/wp-content/themes/Divi-child/images/banner3.jpg') no-repeat center center; background-size: cover;}
div.ban4 {background: transparent url('/wp-content/themes/Divi-child/images/banner4.jpg') no-repeat center center; background-size: cover;}
div.ban5 {background: transparent url('/wp-content/themes/Divi-child/images/banner5.jpg') no-repeat center center; background-size: cover;}
div.ban6 {background: transparent url('/wp-content/themes/Divi-child/images/banner6.jpg') no-repeat center center; background-size: cover;}
div.ban7 {background: transparent url('/wp-content/themes/Divi-child/images/banner7.jpg') no-repeat center center; background-size: cover;}
div.ban8 {background: transparent url('/wp-content/themes/Divi-child/images/banner8.jpg') no-repeat center center; background-size: cover;}
div.ban9 {background: transparent url('/wp-content/themes/Divi-child/images/banner9.jpg') no-repeat center center; background-size: cover;}
div.ban10 {background: transparent url('/wp-content/themes/Divi-child/images/banner10.jpg') no-repeat center center; background-size: cover;}
div.ban_admin {background: transparent url('/wp-content/themes/Divi-child/images/ban_administracion.jpg') no-repeat center center; background-size: cover;}
div.ban_empre {background: transparent url('/wp-content/themes/Divi-child/images/ban_empresa.jpg') no-repeat center center; background-size: cover;}

div#main-content div.et_pb_column_3_4 ul.et_post_gallery {margin-top: 2em; padding-bottom: 0; margin-left: 0; list-style: none;}
div#main-content div.et_pb_column_3_4 ul.et_post_gallery li {padding-bottom: 0; line-height: 0;}

.et_pb_column div#sidebar,
.et_pb_column div#busca_plan_mxn div#sidebar {display: block; width: 100%; float: none; padding-right: 0;}
div#busca_plan_mxn > div br, div#busca_plan_mxn > div p {display: none;}
div#busca_plan_mxn > div h4 {color: #333; font-family: 'ubuntubold'; font-size: 25px; line-height: 28px; padding: 0; padding-bottom: 1em;}

div.whitebox_mxn {display: block; width: 100%; float: none; background-color: #fff; padding: 1.5em 1em 1em 1em; border-left: 2px solid #ccc; margin-bottom: 10%;}
div#main-content div.whitebox_mxn h1, div#main-content div.whitebox_mxn h2, div#main-content div.whitebox_mxn h3, div#main-content div.whitebox_mxn h4 {color: #333; font-family: 'ubuntubold'; padding: 0 !important;}
div#main-content div.whitebox_mxn h1 {font-size: 20px; line-height: 22px; padding-bottom: 1em !important;}
div#main-content div.whitebox_mxn h2 {font-size: 18px; line-height: 20px; padding-bottom: 0.7em !important;}
div#main-content div.whitebox_mxn h3 {font-size: 16px; line-height: 18px; padding-bottom: 0.5em !important;}
div#main-content div.whitebox_mxn h4 {font-size: 14px; line-height: 16px; padding-bottom: 0.3em !important;}
div.select_mxn {
    display: inline-block;
    border: 1px solid #ccc;
    width: 66%;
    overflow: hidden;
    background: #fff url("/wp-content/themes/Divi-child/images/arrowdown.gif") no-repeat 95% center;
    vertical-align: middle;
}
div.select_mxn select {
    display: inline-block; padding: 5px 8px; width: 130%;
    font-family: 'ubunturegular'; color: #333; background-color: #fff; font-size: 14px;
    border: none; box-shadow: none; background-color: transparent; background-image: none;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    cursor: pointer;
}
.button_mxn {
    display: inline-block; padding: 5px 10px;
    font-family: 'ubunturegular'; text-transform: uppercase; color: #bf052a; background-color: #fff; font-size: 14px;
    border: 1px solid #bf052a; cursor: pointer;
}
.button_mxn:active {color: #fff; background-color: #bf052a;}
div.form_row_mxn {display: block; width: 100%; height: auto; text-align: left; margin-bottom: 1em;}
div.form_row_mxn label {display: inline-block; width: 30%; font-family: 'ubunturegular'; color: #333; font-size: 14px; margin-right: 2%; vertical-align: middle;}
div.form_row_mxn input[type="text"],
div.form_row_mxn input[type="date"] {
    display: inline-block; width: 66%; padding: 5px 8px;
    font-family: 'ubunturegular'; color: #333; background-color: #fff; font-size: 14px;
    border: 1px solid #ccc;
}
div.btns_right_mxn {display: block; width: 100%; height: auto; text-align: right;}

div.categories_mxn a {display: inline-block; padding: 2px 4px; margin: 3px; color: #bf052a; background-color: #f4f4f4; font-size: 14px; text-transform: uppercase;}
div.categories_mxn a:hover {background-color: #bf052a; color: #fff;}
div.categories_mxn a:active {background-color: #333; color: #fff;}
div.cloud_mxn a {display: inline-block; padding: 2px 4px; margin: 3px; color: #bf052a; background-color: transparent; vertical-align: middle;}
div.cloud_mxn a:hover {background-color: #bf052a; color: #fff;}
div.cloud_mxn a:active {background-color: #333; color: #fff;}

div.fog_mxn {
    display: block; width: 100%; height: 50px; position: absolute; left: 0; bottom: 0;
    background: rgba(244,244,244,0);
    background: -moz-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(244,244,244,0)), color-stop(100%, rgba(244,244,244,1)));
    background: -webkit-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -o-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -ms-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: linear-gradient(to bottom, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#f4f4f4', GradientType=0 );
}

/* PORTADA: slider */
section#promo_mxn * {margin: 0; padding: 0;}
section#promo_mxn h1 {display: none;}
section#promo_mxn {
    display: block; width: 100%; height: auto;
    margin: 0 auto; padding: 0;
    position: relative; overflow: hidden;
    background-color: transparent;
    background-position: center center;
    background-size: cover;
}
div#main-content section#promo_mxn h2 {padding: 0 0 10px 0;}
div#main-content section#promo_mxn p {padding: 0;}
section#promo_mxn a {display: block; width: 100%; height: auto; text-decoration: none;}
section#promo_mxn time {font-size: 12px;}
section#promo_mxn div#highlight_mxn {
    display: block; width: 100%; height: auto; position: relative;
    overflow: hidden;
    /* Debemos dejar identicos valores de background para section#promo y section#promo ul */
    background-color: transparent; background-position: center center; background-size: cover;
}
section#promo_mxn div#highlight_mxn time {display: none;}
section#promo_mxn div#highlight_mxn figure img {display: none;}
div#main-content section#promo_mxn div#highlight_mxn h2 {font-size: 24px; text-transform: uppercase;}

section#promo_mxn div#highlight_mxn div.content_mxn {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: auto;
    background-color: #333; background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 1% 1%;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}
div#main-content section#promo_mxn div#highlight_mxn div.content_mxn h2 {color: #fff; text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5)}
section#promo_mxn div.list_mxn {
    display: block; width: 100%; height: auto;
    background-color: #333; background-color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}
section#promo_mxn div.list_mxn article {display: inline-block; width: 25%; height: auto; vertical-align: top;}
section#promo_mxn div.list_mxn article figure, section#promo_mxn div.list_mxn article img {display: block; width: 100%; height: auto;}
div#main-content section#promo_mxn div.list_mxn article h2 {font-size: 16px; padding-top: 20px; font-family: 'ubunturegular';}
section#promo_mxn div.list_mxn article div.desc_mxn {display: none;}
section#promo_mxn div.list_mxn article.sel a {border-top: 1px solid #eee; color: #eee;}
div#main-content section#promo_mxn div.list_mxn article.sel a h2 {color: #eee;}

section#promo_mxn div.list_mxn article a {display: block; width: 100%; height: auto; border-top: 1px solid #666; color: #666; text-decoration: none;}
div#main-content section#promo_mxn div.list_mxn article a h2 {color: #aaa;}
section#promo_mxn div.list_mxn article a:hover {border-top: 1px solid #ccc; color: #ccc;}
div#main-content section#promo_mxn div.list_mxn article a:hover h2 {color: #ccc;}
section#promo_mxn div.list_mxn article div.content_mxn {padding: 2%;}

section#promo_mxn.dinamic_mxn div.list_mxn article figure {
    display: inline-block; width: 100px; height: 100px; margin: 4% 2%; vertical-align: top;
    -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; overflow: hidden; 
    background-color: transparent; background-position: center center; background-size: cover;
    float: left;
}
section#promo_mxn.dinamic_mxn div.list_mxn article figure img {height: 100%; width: auto;}
section#promo_mxn.dinamic_mxn div.list_mxn article div.content_mxn {width: auto; padding-top: 4%;}

/* PORTADA: noticias */
section.homenews_mxn * {margin: 0; padding: 0;}
section.homenews_mxn.noticias_mxn header {display: block; clear: both;}
div#main-content section.homenews_mxn.noticias_mxn header h1 {display: inline-block; width: 50%; height: auto; padding-top: 0; text-align: left;}
div#main-content section.homenews_mxn > h1 {padding-top: 0;}
section.homenews_mxn.noticias_mxn header div.showall_mxn {display: inline-block; width: 50%; height: auto; text-align: right;}
section.homenews_mxn.noticias_mxn header div.showall_mxn a {display: inline-block; padding: 0 2px; color: #bf052a; text-decoration: underline; font-size: 16px; font-family: 'ubuntuitalic';}
section.homenews_mxn.noticias_mxn header div.showall_mxn a:hover {background-color: #bf052a; color: #fff; text-decoration: none;}
section.homenews_mxn {
    display: block; width: 100%; height: auto;
    position: relative; overflow: hidden;
    background-color: transparent; padding-right: 4px;
    padding-left: 4px;
}
section.homenews_mxn.columns2 {
    display: inline-block; width: 70%; vertical-align: top;
    position: relative; overflow: hidden;
    background-color: transparent;
}
section.homenews_mxn.columns3 article {display: inline-block; width: 31.99%; margin-bottom: 3%; vertical-align: top;}
section.homenews_mxn.columns3 article:nth-of-type(2n) {margin: 0 2.01% 3% 2.01%;}
section.homenews_mxn.columns2 article {display: inline-block; width: 49%; margin-bottom: 3%; vertical-align: top;}
section.homenews_mxn.columns2 article:nth-of-type(even) {margin: 0 0 3% 2%;}
section.homenews_mxn article div.photo_mxn {
    display: inline-block; width: 100%; height: 250px; margin-bottom: 10px; vertical-align: top; position: relative;
    background: transparent url("/wp-content/themes/Divi-child/images/ico_camera.png") no-repeat center center; background-size: 64px auto;
}
section.homenews_mxn article div.photo_mxn figure {display: block; width: 100%; height: 100%; overflow: hidden; background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: cover; box-shadow: 0px 0px 8px #888;}
section.homenews_mxn article div.photo_mxn figure img {display: block; width: 100%; height: auto;}
section.homenews_mxn article div.cats_mxn {display: block; width: 100%; height: auto; font-size: 12px; font-family: 'ubuntulight'; text-transform: uppercase;}
section.homenews_mxn article div.photo_mxn div.cats_mxn {position: absolute; top: 0; left: 0;}
section.homenews_mxn article div.cats_mxn a {display: inline-block; padding: 0 5px; margin: 5px; color: #fff; background-color: #bf052a;}
section.homenews_mxn article div.photo_mxn div.cats_mxn a {background-color: rgba(191, 5, 42, 0.8);}
section.homenews_mxn article div.cats_mxn a:hover {background-color: #bf052a;}
section.homenews_mxn article div.photo_mxn div.cats_mxn a:hover { background-color: rgba(191, 5, 42, 1);}
section.homenews_mxn article div.cats_mxn a:active {background-color: #333;}
section.homenews_mxn article div.content_mxn {
    display: inline-block; width: 100%; height: 200px; vertical-align: top; overflow: hidden; position: relative;
}
section.homenews_mxn article div.content_mxn time {display: block; padding-bottom: 10px; font-size: 13px; font-family: 'ubuntuitalic'; color: #666;}
section.homenews_mxn article div.content_mxn time span {color: #bf052a;}
div#main-content section.homenews_mxn article div.content_mxn h1 {display: block; padding: 5px 0 10px 0; font-size: 22px; line-height: 26px; color: #000; font-family: 'ubuntubold';}
div#main-content section.homenews_mxn article div.content_mxn h1 a {color: #000; text-decoration: none;}
div#main-content section.homenews_mxn article div.content_mxn h1 a:hover {text-decoration: underline; color: #bf052a;}
section.homenews_mxn article div.content_mxn div.text_mxn {font-family: 'ubunturegular'; font-size: 16px; color: #333;}
section.homenews_mxn article div.content_mxn div.btn_link {
    display: block; width: 100%; height: 100px; position: absolute; left: 0; bottom: 0;
    text-align: right;
    background: rgba(244,244,244,0);
    background: -moz-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(244,244,244,0)), color-stop(100%, rgba(244,244,244,1)));
    background: -webkit-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -o-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -ms-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: linear-gradient(to bottom, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#f4f4f4', GradientType=0 );
}
section.homenews_mxn article div.content_mxn div.btn_link a em {display: none;}
section.homenews_mxn article div.content_mxn div.btn_link a {background-color: #f4f4f4; position: absolute; bottom: 0; right: 0; padding: 6px 15px;}
section.homenews_mxn article div.content_mxn div.btn_link a:hover {background-color: #fff;}
section.homenews_mxn article div.content_mxn div.btn_link a:active {color: #fff; background-color: #bf052a;}

div.btn_link.no_fog {height: auto !important; position: relative !important; left: auto !important; bottom: auto !important; background: none !important; padding-top: 10px !important;}
div.btn_link.no_fog a {display: inline-block; position: relative !important; bottom: auto !important; right: auto !important;}

pre, code {
	margin-bottom: 10px;
	overflow: auto;
	background-color: #ccc;
	padding: 10px;
	font-size: small;
}

/* PORTADA: barra lateral */
div.homesidebar_mxn {display: inline-block; width: 27%; margin-left: 3%; height: auto; vertical-align: top; position: relative;}

/* PORTADA: Breves */
section.homeshortnews_mxn * {margin: 0; padding: 0;}
section.homeshortnews_mxn {display: block; width: 100%; height: 900px; position: relative; overflow: hidden;}
div#main-content section.homeshortnews_mxn h1 {padding: 0; padding-bottom: 10px;}
section.homeshortnews_mxn ul {display: block; list-style: none;}
section.homeshortnews_mxn ul li {display: block; padding: 20px 0 15px 0; border-bottom: 1px solid #bf052a;}
div#main-content section.homeshortnews_mxn ul li h2 {display: block; padding: 0; padding-bottom: 4px; font-size: 16px; line-height: 18px; font-family: 'ubuntubold'; color: #333;}
section.homeshortnews_mxn ul li div.text_mxn {display: block; padding: 0; font-size: 14px; line-height: 16px; font-family: 'ubunturegular'; color: #666;}
div#main-content section.homeshortnews_mxn ul li div.text_mxn p {padding: 0;}

/* PORTADA: Redes sociales */
section#socialnet_mxn * {margin: 0; padding: 0;}
section#socialnet_mxn {display: block; width: 100%; height: auto; margin-bottom: 20px; position: relative;}
div#main-content section#socialnet_mxn h1 {padding: 0; padding: 10px 0;}
section#socialnet_mxn ul {display: block; list-style: none; text-align: center;}
section#socialnet_mxn ul li {display: inline-block; width: 50px; height: 50px; -moz-border-radius: 25px; -webkit-border-radius: 25px; border-radius: 25px; margin: 2%; overflow: hidden; background-color: #bf052a;}
section#socialnet_mxn ul li a span {display: none;}
section#socialnet_mxn ul li a {display: block; width: 100%; height: 100%; background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: 50% auto;}
section#socialnet_mxn ul li a:hover {background-color: rgba(0,0,0,0.3);}
section#socialnet_mxn ul li a:active {background-color: rgba(0,0,0,0.6);}
section#socialnet_mxn ul li.facebook a {background-image: url('/wp-content/themes/Divi-child/images/ico_facebook.png');}
section#socialnet_mxn ul li.twitter a {background-image: url('/wp-content/themes/Divi-child/images/ico_twitter.png');}
section#socialnet_mxn ul li.flickr a {background-image: url('/wp-content/themes/Divi-child/images/ico_flickr.png');}
section#socialnet_mxn ul li.issuu a {background-image: url('/wp-content/themes/Divi-child/images/ico_issuu.png');}

/* PORTADA: mosaico */
section.homemosaic_mxn * {margin: 0; padding: 0;}
section.homemosaic_mxn {display: block; width: 100%; clear: both; padding: 10px 0; background-color: #333;}
section.homemosaic_mxn h1 {display: none;}
section.homemosaic_mxn div.colum_mxn {display: inline-block; width: 33%; height: 320px; vertical-align: top; overflow: hidden;}
section.homemosaic_mxn div.colum2_mxn {margin: 0 0.495%;}
section.homemosaic_mxn div.colum_mxn a {display: block; width: 100%; height: 100%; position: relative;}
section.homemosaic_mxn div.colum_mxn a figure {display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: cover;}
section.homemosaic_mxn div.colum_mxn a div.content_mxn {display: block; width: 100%; height: auto; padding: 2%; color: #fff; position: absolute; bottom: 0; left: 0; background-color: #333; background-color: rgba(0, 0, 0, 0.80);}
section.homemosaic_mxn div.colum3_mxn div.boletin1_mxn,
section.homemosaic_mxn div.colum3_mxn div.boletin2_mxn {display: block; width: 100%; height: 155px;}
section.homemosaic_mxn div.colum3_mxn div.boletin1_mxn {margin-bottom: 10px;}
section.homemosaic_mxn div.colum3_mxn div.boletin1_mxn a,
section.homemosaic_mxn div.colum3_mxn div.boletin2_mxn a {
    display: table; width: 100%; height: 100%;
    color: #fff; font-family: 'ubuntubold'; font-size: 25px; line-height: 28px; text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); text-align: center;
    background-color: rgba(0,0,0,0.6);
    -webkit-transition: all .5s ease-out 0.1s; -moz-transition: all .5s ease-out 0.1s; -o-transition: all .5s ease-out 0.1s; transition: all .5s ease-out 0.1s;
}
section.homemosaic_mxn div.colum3_mxn div.boletin1_mxn a:hover, section.homemosaic_mxn div.colum3_mxn div.boletin2_mxn a:hover {background-color: rgba(0,0,0,0.7);}
section.homemosaic_mxn div.colum3_mxn div.boletin1_mxn a span, section.homemosaic_mxn div.colum3_mxn div.boletin2_mxn a span {display: table-cell; vertical-align: middle;}
section.homemosaic_mxn div.colum3_mxn div.boletin1_mxn a span {padding-top: 70px; background: transparent url('/wp-content/themes/Divi-child/images/ico_boladmin.png') no-repeat top 25px center; background-size: 64px auto;}
section.homemosaic_mxn div.colum3_mxn div.boletin2_mxn a span {padding-top: 70px; background: transparent url('/wp-content/themes/Divi-child/images/ico_bolempre.png') no-repeat top 25px center; background-size: 64px auto;}

div#main-content section.homemosaic_mxn a h2 {display: block; padding: 0; font-size: 16px; line-height: 18px; font-family: 'ubuntubold'; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
div#main-content section.homemosaic_mxn a:hover h2 {text-decoration: underline;}
section.homemosaic_mxn a div.text_mxn {display: block; padding: 0; font-size: 14px; line-height: 16px; font-family: 'ubunturegular'; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
div#main-content section.homemosaic_mxn a div.text_mxn p {padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/* PORTADA: video */
section#homevideo_mxn * {margin: 0; padding: 0;}
section#homevideo_mxn {display: block; width: 100%; clear: both; padding: 4%; margin-bottom: 2%; background-color: #333;}
section#homevideo_mxn h1 {display: none;}
section#homevideo_mxn ul {display: block; list-style: none;}
section#homevideo_mxn ul li {display: block;}
section#homevideo_mxn ul li a {border-right: 1px solid #666;}
section#homevideo_mxn ul li:last-child a {border-right: none;}
section#homevideo_mxn ul li a {display: block; width: 100%; height: auto; padding: 2%; overflow: hidden;}
section#homevideo_mxn ul li a:hover {background-color: #222;}
section#homevideo_mxn ul li a figure {display: block; width: 100px; height: 100px; margin-right: 10px; float: left; overflow: hidden; background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: cover;}
section#homevideo_mxn ul li a figure img {display: block; height: 100%; width: auto;}
section#homevideo_mxn ul li a div.content_mxn {color: #ccc;}
div#main-content section#homevideo_mxn ul li a h2 {display: block; padding: 0; margin: 2px 0 4px 0; font-size: 16px; line-height: 18px; font-family: 'ubuntubold'; color: #fff;}
div#main-content section#homevideo_mxn ul li a:hover h2 {text-decoration: underline;}
section#homevideo_mxn ul li a div.text_mxn {display: block; padding: 0; margin-left: 110px; font-size: 14px; line-height: 16px; font-family: 'ubunturegular'; color: #fff;}
div#main-content section#homevideo_mxn ul li a div.text_mxn p {padding: 0;}
section#homevideo_mxn.dinamic_mxn ul {display: table; height: 100%; vertical-align: top;}
section#homevideo_mxn.dinamic_mxn ul li {display: table-cell; width: 33%; height: auto;}
section#homevideo_mxn.dinamic_mxn ul li.sel a,
section#homevideo_mxn.dinamic_mxn ul li.sel a:hover {background-color: #bf052a;}
section#homevideo_mxn.dinamic_mxn div#playvideo_mxn {display: block; width: 100%; height: auto;}
section#homevideo_mxn.dinamic_mxn div#playvideo_mxn iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
section#homevideo_mxn.dinamic_mxn div.fluid-width-video-wrapper {padding-top: 55% !important;}
/*section#homevideo_mxn.dinamic_mxn div#playvideo_mxn {display: table-cell; width: 70%; height: 100%; background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: cover;}
section#homevideo_mxn.dinamic_mxn div#playvideo_mxn a span {display: none;}
section#homevideo_mxn.dinamic_mxn div#playvideo_mxn a {display: block; width: 100%; height: 100%; background: transparent url("/wp-content/themes/Divi-child/images/ico_play.png") no-repeat center center; background-size: 168px auto; background-color: rgba(0,0,0,0.3);}
section#homevideo_mxn.dinamic_mxn div#playvideo_mxn a:hover {background-color: rgba(0,0,0,0.6);}*/

/* PORTADA: Ver todos */
div.viewall_mxn * {margin: 0; padding: 0;}
div.viewall_mxn {
    display: block; clear: both; width: 100%; height: auto;
    padding: 10px; margin: 10px 0 20px 0;
    text-align: center;
    background: #fff;
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(50%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,0)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );
}
div.viewall_mxn a {display: inline-block; padding: 0 2px; color: #bf052a; text-decoration: underline; font-size: 16px; font-family: 'ubuntuitalic';}
div.viewall_mxn a:hover {background-color: #bf052a; color: #fff; text-decoration: none;}
section.homeshortnews_mxn div.viewall_mxn {
    position: absolute; bottom: 0; left: 0; padding: 200px 10px 30px 10px; margin: 0;
    background: #f4f4f4;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(244,244,244,1) 70%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(70%, rgba(244,244,244,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(244,244,244,1) 70%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(244,244,244,1) 70%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(244,244,244,1) 70%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(244,244,244,1) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4', GradientType=0 );
}

/* listado de noticias */
section#lst_noticias_mxn * {margin: 0; padding: 0;}
section#lst_noticias_mxn h1 {display: none;}
section#lst_noticias_mxn div.options_mxn {display: block; position: relative; margin-bottom: 20px;}
section#lst_noticias_mxn div.options_mxn div.total_mxn {display: inline-block; width: 50%; padding: 3px 0; font-size: 12px; color: #999; font-family: 'ubuntuitalic';}
section#lst_noticias_mxn div.options_mxn div.rss_mxn {display: inline-block; width: 50%; font-size: 14px; text-align: right;}
section#lst_noticias_mxn div.options_mxn div.rss_mxn a {display: inline-block; color: #fff; padding: 2px 6px 2px 24px; background: #999 url("/wp-content/themes/Divi-child/images/ico_rss.png") no-repeat 4px center; background-size: 16px 16px; cursor: pointer;}
section#lst_noticias_mxn div.options_mxn div.rss_mxn a:hover {background-color: #bf052a;}
section#lst_noticias_mxn div.options_mxn div.rss_mxn a:active {background-color: #333;}
section#lst_noticias_mxn {
    display: block; width: 100%; height: auto;
    margin: 0 auto; padding: 0;
    position: relative; overflow: hidden;
    background-color: #f4f4f4;
}
section#lst_noticias_mxn article {display: block; margin-bottom: 4%;}
section#lst_noticias_mxn.vertical_mxn article {display: inline-block; width: 48%;}
section#lst_noticias_mxn.vertical_mxn article:nth-of-type(odd) {margin-right: 4%;}
section#lst_noticias_mxn article div.photo_mxn {
    display: inline-block; width: 48%; height: 250px; margin-right: 2%; vertical-align: top; position: relative;
    background: transparent url("/wp-content/themes/Divi-child/images/ico_camera.png") no-repeat center center; background-size: 64px auto;
}
section#lst_noticias_mxn.vertical_mxn article div.photo_mxn {width: 100%; margin-right: 0; margin-bottom: 10px;}
section#lst_noticias_mxn.onecolumn_mxn article {margin-bottom: 0; width: 100%;}
section#lst_noticias_mxn article div.photo_mxn figure {display: block; width: 100%; height: 100%; overflow: hidden; background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: cover;}
section#lst_noticias_mxn article div.photo_mxn figure img {display: block; width: 100%; height: auto;}
section#lst_noticias_mxn article div.cats_mxn {display: block; width: 100%; height: auto; font-size: 12px; font-family: 'ubuntulight'; text-transform: uppercase;}
section#lst_noticias_mxn article div.photo_mxn div.cats_mxn {position: absolute; top: 0; left: 0;}
section#lst_noticias_mxn article div.cats_mxn a {display: inline-block; padding: 0 5px; margin: 5px; color: #fff; background-color: #bf052a;}
section#lst_noticias_mxn article div.photo_mxn div.cats_mxn a {background-color: rgba(191, 5, 42, 0.8);}
section#lst_noticias_mxn article div.cats_mxn a:hover {background-color: #bf052a;}
section#lst_noticias_mxn article div.photo_mxn div.cats_mxn a:hover { background-color: rgba(191, 5, 42, 1);}
section#lst_noticias_mxn article div.cats_mxn a:active {background-color: #333;}
section#lst_noticias_mxn article div.content_mxn {
    display: inline-block; width: 50%; height: auto; vertical-align: top; overflow: hidden; position: relative;
}
section#lst_noticias_mxn.vertical_mxn article div.content_mxn,
section#lst_noticias_mxn.onecolumn_mxn article div.content_mxn{ width: 100%; height: auto;}
section#lst_noticias_mxn article div.content_mxn time {display: block; font-size: 13px; font-family: 'ubuntuitalic'; color: #666;}
section#lst_noticias_mxn article div.content_mxn time span {color: #bf052a;}
section#lst_noticias_mxn article div.content_mxn h2 {display: block; padding: 5px 0 15px 0; font-size: 22px; line-height: 24px; color: #000; font-family: 'ubuntubold';}
section#lst_noticias_mxn article div.content_mxn h2 a {color: #000; text-decoration: none;}
section#lst_noticias_mxn article div.content_mxn h2 a:hover {text-decoration: underline; color: #bf052a;}
section#lst_noticias_mxn article div.content_mxn div.text_mxn {font-family: 'ubunturegular'; font-size: 16px; color: #333;}
section#lst_noticias_mxn article div.content_mxn div.btn_link {
    display: block; width: 100%; height: 100px; position: absolute; left: 0; bottom: 0;
    text-align: right;
    background: rgba(244,244,244,0);
    background: -moz-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(244,244,244,0)), color-stop(100%, rgba(244,244,244,1)));
    background: -webkit-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -o-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: -ms-linear-gradient(top, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    background: linear-gradient(to bottom, rgba(244,244,244,0) 0%, rgba(244,244,244,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#f4f4f4', GradientType=0 );
}
section#lst_noticias_mxn article div.content_mxn div.btn_link a em {display: none;}
section#lst_noticias_mxn article div.content_mxn div.btn_link a {background-color: #f4f4f4; position: absolute; bottom: 0; right: 0; padding: 6px 15px;}
section#lst_noticias_mxn article div.content_mxn div.btn_link a:hover {background-color: #fff;}
section#lst_noticias_mxn article div.content_mxn div.btn_link a:active {color: #fff; background-color: #bf052a;}

article.noticia_mxn {display: block;}
article.noticia_mxn div.photo_mxn {
    display: block; width: 100%; height: auto; position: relative; overflow: hidden;
    background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: cover;
}
article.noticia_mxn div.photo_mxn img {display: block; width: 100%; height: auto;}
article.noticia_mxn div.photo_mxn div.cats_mxn {display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; font-size: 12px; font-family: 'ubuntulight'; text-transform: uppercase;}
article.noticia_mxn div.photo_mxn div.cats_mxn a {display: inline-block; padding: 0 5px; margin: 5px; color: #fff; background-color: #bf052a; background-color: rgba(191, 5, 42, 0.8);}
article.noticia_mxn div.photo_mxn div.cats_mxn a:hover {background-color: #bf052a; background-color: rgba(191, 5, 42, 1);}
article.noticia_mxn div.photo_mxn div.cats_mxn a:active {background-color: #333;}
div#main-content article.noticia_mxn h1 {display: block; padding: 15px 0 10px 0; font-size: 24px; line-height: 28px; color: #000; font-family: 'ubuntubold';}
article.noticia_mxn time {display: block; padding-bottom: 15px; font-size: 13px; font-family: 'ubuntuitalic'; color: #666;}
article.noticia_mxn time span {color: #bf052a;}
article.noticia_mxn div.text_mxn {font-family: 'ubunturegular'; font-size: 16px; color: #333;}
article.noticia_mxn div.text_mxn a {text-decoration: underline;}
article.noticia_mxn div.text_mxn a:hover {text-decoration: none;}

ul.downloads_mxn {display: block;}
div.whitebox_mxn ul.downloads_mxn {padding-bottom: 15px;}
div.whitebox_mxn ul.downloads_mxn:last-child {padding-bottom: 0;}
section#lst_noticias_mxn article ul.downloads_mxn {padding-top: 10px; border-bottom: 1px solid #fff;}
ul.downloads_mxn * {margin: 0; padding: 0; line-height: normal;}
ul.downloads_mxn li {display: inline-block; width: 120px; padding: 5px !important; height: auto; list-style: none; vertical-align: top;}
ul.downloads_mxn li a {display: block; width: 100%; height: auto; padding-top: 40px !important; background: transparent url('/wp-content/themes/Divi-child/images/ico_download.png') no-repeat center top; background-size: auto 32px;}
ul.downloads_mxn li a strong {display: block; text-align: center; font-size: 14px; line-height: 14px;}
ul.downloads_mxn li a:hover strong {text-decoration: underline;}
ul.downloads_mxn li a em {display: block; padding-top: 5px !important; text-align: center; font-size: 12px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

div#main-content div.links_mxn p {padding-bottom: 0.5em;}
div#main-content div.links_mxn p a {padding: 0 2px; text-decoration: underline; color: #bf052a;}
div#main-content div.links_mxn p a:hover {text-decoration: none; color: #fff; background-color: #bf052a;}

section#lst_books_mxn * {margin: 0; padding: 0; line-height: normal;}
section#lst_books_mxn h1 {display: none;}
section#lst_books_mxn div.options_mxn {display: block; position: relative; margin-bottom: 20px;}
section#lst_books_mxn div.options_mxn div.total_mxn {display: inline-block; width: 50%; padding: 3px 0; font-size: 12px; color: #999; font-family: 'ubuntuitalic';}
section#lst_books_mxn div.options_mxn div.rss_mxn {display: inline-block; width: 50%; font-size: 14px; text-align: right;}
section#lst_books_mxn div.options_mxn div.rss_mxn a {display: inline-block; color: #fff; padding: 2px 6px 2px 24px; background: #999 url("/wp-content/themes/Divi-child/images/ico_rss.png") no-repeat 4px center; background-size: 16px 16px; cursor: pointer;}
section#lst_books_mxn div.options_mxn div.rss_mxn a:hover {background-color: #bf052a;}
section#lst_books_mxn div.options_mxn div.rss_mxn a:active {background-color: #333;}
section#lst_books_mxn div.cats_mxn {display: block; width: 100%; height: auto; padding: 5px; font-size: 12px; font-family: 'ubuntulight'; text-transform: uppercase;}
section#lst_books_mxn div.cats_mxn a {display: inline-block; padding: 2px; margin: 4px; color: #fff; background-color: #bf052a;}
section#lst_books_mxn div.cats_mxn a:hover {background-color: #bf052a;}
section#lst_books_mxn div.photo_mxn div.cats_mxn a:active {background-color: #333;}
section#lst_books_mxn ul {display: block; list-style: none;}
section#lst_books_mxn ul li {display: inline-block; width: 235px; height: auto; margin: 0 10px 20px 10px; vertical-align: top; text-align: center;}
section#lst_books_mxn ul li figure {display: block; width: 100%; height: auto; overflow: hidden;}
section#lst_books_mxn ul li figure img {
    display: inline-block; height: 200px; width: auto; vertical-align: top;
    margin-bottom: 20px;
    -webkit-box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.5);
    box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.5);
}
section#lst_books_mxn ul li div.content_mxn {display: block;}
div#main-content section#lst_books_mxn ul li div.content_mxn h2 {font-size: 18px; padding: 0 0 5px 0;}
div#main-content section#lst_books_mxn ul li div.content_mxn h2 a {color: #000; text-decoration: none;}
div#main-content section#lst_books_mxn ul li div.content_mxn h2 a:hover {color: #bf052a; text-decoration: underline;}
section#lst_books_mxn ul li div.text_mxn {font-size: 14px; color: #666;}
section#lst_books_mxn ul li div.text_mxn p {padding-bottom: 0;}

article.book_mxn {display: block;}
article.book_mxn div.photo_mxn {display: inline-block; width: 38%; height: auto; margin-right: 2%; vertical-align: top; position: relative;}
article.book_mxn div.photo_mxn img {
    display: inline-block; height: auto; width: 100%; vertical-align: top;
    margin-bottom: 20px;
    -webkit-box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.5);
    box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.5);
}
article.book_mxn div.cats_mxn {display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; font-size: 12px; font-family: 'ubuntulight'; text-transform: uppercase;}
article.book_mxn div.cats_mxn a {display: inline-block; padding: 0 5px; margin: 5px; color: #fff; background-color: #bf052a; background-color: rgba(191, 5, 42, 0.8);}
article.book_mxn div.cats_mxn a:hover {background-color: #bf052a; background-color: rgba(191, 5, 42, 1);}
article.book_mxn div.cats_mxn a:active {background-color: #333;}
article.book_mxn div.content_mxn {
    display: inline-block; width: 60%; height: auto; vertical-align: top; overflow: hidden; position: relative;
}
div#main-content article.book_mxn h1 {display: block; padding: 15px 0 10px 0; font-size: 22px; line-height: 26px; color: #000; font-family: 'ubuntubold';}
article.book_mxn time {display: block; padding-bottom: 15px; font-size: 13px; font-family: 'ubuntuitalic'; color: #666;}
article.book_mxn time span {color: #bf052a;}
article.book_mxn div.text_mxn {display: block; padding-bottom: 20px; font-family: 'ubunturegular'; font-size: 16px; color: #333;}
article.book_mxn div.text_mxn a {text-decoration: underline;}
article.book_mxn div.text_mxn a:hover {text-decoration: none;}
#left-area article.book_mxn div.content_mxn ul.downloads_mxn {padding: 0;}

section.related_items_mxn * {margin: 0; padding: 0; line-height: normal;}
section.related_items_mxn {display: block; clear: both; margin-top: 20px; border-top: 1px solid #ccc;}
section.related_items_mxn ul {display: block; list-style: none;}
#left-area section.related_items_mxn ul {padding: 0;}
section.related_items_mxn ul li {display: inline-block; width: 47%; height: auto; background-color: #fff; padding: 1%; margin: 0 0 10px 1%; vertical-align: top; text-align: center;}
div#main-content section.related_items_mxn ul li a {display: block;}
section.related_items_mxn ul li figure {display: block; width: 100%; padding-bottom: 5px; height: auto;}
section.related_items_mxn ul li div.content_mxn {display: block;}
div#main-content section.related_items_mxn ul li h2 {font-size: 18px; padding: 0 0 5px 0;}
div#main-content section.related_items_mxn ul li a h2 {color: #000; text-decoration: none;}
div#main-content section.related_items_mxn ul li a:hover h2 {color: #bf052a; text-decoration: underline;}
section.related_items_mxn ul li div.text_mxn {font-size: 14px;}
div#main-content section.related_items_mxn ul li a div.text_mxn {color: #666 !important;}
section.related_items_mxn ul li div.text_mxn p {padding-bottom: 0;}

section.dropdown_article_mxn * {margin: 0; padding: 0; line-height: normal;}
section.dropdown_article_mxn {display: block; clear: both; margin-top: 20px; border-top: 1px solid #ccc;}
section.dropdown_article_mxn article {display: block; clear: both; margin-bottom: 20px;}
div#main-content section.dropdown_article_mxn article h2 {padding: 0 0 2% 0; line-height: auto;}
section.dropdown_article_mxn article header {display: block; width: 100%; height: auto; background-color: #fff; padding: 2%;}
section.dropdown_article_mxn article header h3 {display: none;}
section.dropdown_article_mxn article header figure {display: inline-block; width: 28%; height: auto; vertical-align: top;}
section.dropdown_article_mxn article header figure img {display: block; width: 100%; height: auto;}
section.dropdown_article_mxn article header div.text_mxn {display: inline-block; width: 70%; margin-left: 2%; height: auto; vertical-align: top;}
section.dropdown_article_mxn article header a div.text_mxn {color: #000;}
div#main-content section.dropdown_article_mxn article header a:hover h2 {color: #bf052a; text-decoration: underline;}
div#main-content section.dropdown_article_mxn article header div.text_mxn h1,
div#main-content section.dropdown_article_mxn article header div.text_mxn h2,
div#main-content section.dropdown_article_mxn article header div.text_mxn h3,
div#main-content section.dropdown_article_mxn article header div.text_mxn h4,
div#main-content section.dropdown_article_mxn article header div.text_mxn h5 {padding-top: 0;}
section.dropdown_article_mxn article div.dropdown_mxn {display: block; border: 2px solid #fff; padding: 2%;}

section.interviewed_mxn * {margin: 0; padding: 0;}
section.interviewed_mxn {display: block; clear: both; width: 100%; height: auto; background-color: #fff; margin: 2% 0 4% 0;}
section.interviewed_mxn h1 {display: inline-block !important; width: 30%; height: auto; margin: 1% !important; text-align: right; vertical-align: middle; line-height: 30px !important;}
div#main-content section.interviewed_mxn h1, div#main-content article.noticia_mxn section.interviewed_mxn h1 {margin: 4% 1% !important; padding: 0 !important;}
section.interviewed_mxn div.text_mxn {display: inline-block; width: 64%; height: auto; margin: 4% 1%; vertical-align: middle; padding-left: 1%; border-left: 1px solid #ccc; font-family: 'ubuntuitalic'; color: #666;}

section#boletin_mxn {display: block;}
section#boletin_mxn div.photo_mxn {
    display: block; width: 100%; height: auto; position: relative; overflow: hidden;
    background-color: transparent; background-repeat: no-repeat; background-position: center center; background-size: cover;
}
section#boletin_mxn div.photo_mxn img {display: block; width: 100%; height: auto;}
div#main-content section#boletin_mxn h1 {display: block; padding: 15px 0 10px 0; font-size: 24px; line-height: 28px; color: #000; font-family: 'ubuntubold';}
section#boletin_mxn time {display: block; padding-bottom: 15px; font-size: 13px; font-family: 'ubuntuitalic'; color: #666;}
section#boletin_mxn time span {color: #bf052a;}
section#boletin_mxn div.text_mxn {font-family: 'ubunturegular'; font-size: 16px; color: #333;}
section#boletin_mxn div.text_mxn a {text-decoration: underline;}
section#boletin_mxn div.text_mxn a:hover {text-decoration: none;}
/*section#boletin_mxn section#lst_noticias_mxn article div.content_mxn h2 {font-size: 16px; line-height: 18px;}
section#boletin_mxn section#lst_noticias_mxn article div.content_mxn h2 a {color: #333;}*/
section#boletin_mxn section#lst_noticias_mxn div.content_mxn li {font-size: 16px; line-height: 18px; padding: 5px 0 15px 0; font-family: 'ubuntubold'; color: #333;}
section#boletin_mxn section#lst_noticias_mxn div.content_mxn li a {color: #333 !important;}
section#boletin_mxn section#lst_noticias_mxn div.content_mxn li a:hover {text-decoration: underline;}
section#boletin_mxn hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
section#boletin_mxn section.column_mxn {display: inline-block; width: 48%; height: auto; overflow: hidden; margin-bottom: 3%; vertical-align: top;}
section#boletin_mxn section.column_mxn:nth-child(even) {margin: 0 0 3% 4%;}

div#main-content section.wysiwyg_mxn {display: block; overflow: hidden; clear: both; float: none;}
div#main-content section.wysiwyg_mxn p {display: block; padding-bottom: 10px;}
div#main-content section.wysiwyg_mxn a {text-decoration: underline;}
div#main-content section.wysiwyg_mxn img {display: block; margin-bottom: 10px;}
div#main-content section.wysiwyg_mxn ul,
div#main-content section.wysiwyg_mxn ol {padding-bottom: 10px; clear: both;}
div#main-content section.wysiwyg_mxn h1,
div#main-content section.wysiwyg_mxn h2,
div#main-content section.wysiwyg_mxn h3,
div#main-content section.wysiwyg_mxn h4,
div#main-content section.wysiwyg_mxn h5 {display: block; clear: both;}

section.resultados_mxn {display: block; width: 100%; height: auto; margin-top: 10px; padding-top: 10px; border-top: 1px solid #ccc;}
section.resultados_mxn ul li {display: block; padding: 5px; color: transparent;}
section.resultados_mxn ul li:nth-of-type(odd){background-color: #f4f4f4;}
section.resultados_mxn ul li a {display: inline-block; padding: 0 2px; background-color: transparent; color: #bf052a; text-decoration: none;}
section.resultados_mxn ul li a:hover {text-decoration: none; color: #fff; background-color: #bf052a;}

section.ico_links_mxn {display: block; /*padding: 5px 0 5px 72px; */}
div#main-content section#boletin_mxn section.ico_links_mxn h1 {display: none;}
#left-area section#boletin_mxn section.ico_links_mxn ul {display: block; list-style: none; padding: 10px 0;}
section#boletin_mxn section.ico_links_mxn ul li {display: inline-block; padding: 4px 40px 6px 36px;}
section#boletin_mxn section.ico_links_mxn ul li.probar {background: transparent url("/wp-content/themes/Divi-child/images/ico_cog.png") no-repeat top left; background-size: 32px auto;}
section#boletin_mxn section.ico_links_mxn ul li.exito {background: transparent url("/wp-content/themes/Divi-child/images/ico_star.png") no-repeat top left; background-size: 32px auto;}
section#boletin_mxn section.ico_links_mxn ul li a {padding: 0 2px; text-decoration: underline; color: #bf052a; font-size: 18px; cursor: pointer;}
section#boletin_mxn section.ico_links_mxn ul li a:hover {text-decoration: none; color: #fff; background-color: #bf052a;}

section#search_result_mxn * {margin: 0; padding: 0;}
div#main-content section#search_result_mxn h1 {display: block; padding: 0; font-size: 24px; color: #333;}
section#search_result_mxn div.total_mxn {display: block; width: 100%; padding: 3px 0; font-size: 12px; color: #333; font-family: 'ubuntuitalic';}
section#search_result_mxn ul {display: block; list-style: none;}
section#search_result_mxn article {display: block;}
section#search_result_mxn article:nth-of-type(odd) {background-color: #fff;}
div#main-content section#search_result_mxn article a {display: block; padding: 20px; height: auto;}
div#main-content section#search_result_mxn article a:hover {background-color: #e4e4e4;}
div#main-content section#search_result_mxn article a h2 {font-size: 18px; padding: 0; padding-bottom: 5px; color: #333;}
div#main-content section#search_result_mxn article a div.content_mxn {color: #666; font-size: 14px;}
div#main-content section#search_result_mxn article a div.content_mxn p {color: #666; padding: 0; font-size: 14px;}
div#main-content section#search_result_mxn article a div.content_mxn p span {color: #bf052a;}
section#search_result_mxn div.msg_search_mxn {text-align: center; padding: 10% 2%; background-color: #fff; margin: 1% 0;}

article.comunidade_mxn {display: block;}
article.comunidade_mxn div.photo_mxn {display: inline-block; width: 38%; height: auto; margin-right: 2%; vertical-align: top; position: relative;}
article.comunidade_mxn div.photo_mxn img {display: inline-block; height: auto; width: 100%; vertical-align: top;}
article.comunidade_mxn div.content_mxn {
    display: inline-block; width: 60%; height: auto; vertical-align: top; overflow: hidden; position: relative;
}
div#main-content article.comunidade_mxn h1 {display: block; padding: 15px 0 10px 0; font-size: 24px; line-height: 28px; color: #000; font-family: 'ubuntubold';}
article.comunidade_mxn div.text_mxn {display: block; padding-bottom: 20px; font-family: 'ubunturegular'; font-size: 16px; color: #333;}
article.comunidade_mxn div.text_mxn a {text-decoration: underline;}
article.comunidade_mxn div.text_mxn a:hover {text-decoration: none;}

article.error {color: #333; padding: 30px;}
div#main-content article.error h1 {font-size: 120px; margin-top: 20px; padding: 0;}
div#main-content article.error h2 {font-size: 26px; margin-top: 20px; padding-top: 20px; border-top: 2px solid #fff;}
div#main-content article.error p {font-size: 18px;}

div.pestanas_mxn * {margin: 0; padding: 0; line-height: auto !important;}
div.pestanas_mxn h1 {display: none;}
div.pestanas_mxn {display: block; width: 100%; height: auto; clear: both; border-bottom: 2px solid #bf052a; margin-bottom: 10px;}
#left-area div.pestanas_mxn ul {padding: 0;}
div.pestanas_mxn ul {display: block; list-style: none; text-align: center;}
div.pestanas_mxn ul li {display: inline-block; width: auto; height: auto; margin: 0 5px; border-top: 2px solid #f4f4f4;}
div.pestanas_mxn ul li a {display: block; padding: 5px 10px 0 10px; background-color: #fff; font-size: 14px; font-family: 'ubuntubold'; color: #000; text-transform: uppercase;}
div.pestanas_mxn ul li a:hover, div.pestanas_mxn ul li.sel a {background-color: #bf052a; color: #fff;}

/* paginacion */
.wp-pagenavi {border-top: 1px solid #bf052a; margin-bottom: 20px; padding-top: 0;}
.wp-pagenavi span, .wp-pagenavi a {display: inline-block; padding: 5px 15px !important; border: none !important; margin: 10px 5px !important; color: #333; font-size: 14px; font-family: 'ubunturegular';}
.wp-pagenavi span.pages {font-family: 'ubuntuitalic';}
.wp-pagenavi span.current {color: #fff !important; background-color: #bf052a; border: 1px solid #bf052a !important;}
.wp-pagenavi a {color: #bf052a !important; border: 1px solid #bf052a !important;}
.wp-pagenavi .nextpostslink, .wp-pagenavi .previouspostslink {color: #bf052a !important;}
.wp-pagenavi a:hover, .wp-pagenavi a:active {color: #fff !important; background-color: #bf052a;}

/* Mapa do portal */
ul.wsp-pages-list * {margin: 0; padding: 0; line-height: auto !important;}
ul.wsp-pages-list {display: block; width: 100%; height: auto; list-style: none; line-height: auto !important;}
ul.wsp-pages-list > li {
    display: inline-block; width: 180px; height: 120px; padding: 10px; margin: 0px 10px 30px 10px;
    background-color: #fff; vertical-align: top;
    -webkit-box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.3);
    box-shadow: 0px 20px 15px -15px rgba(0,0,0,0.3);
}
ul.wsp-pages-list li a {color: #bf052a; text-decoration: underline; padding: 0 2px;}
ul.wsp-pages-list > li > a {display: inline-block; font-family: 'ubuntubold'; font-size: 18px; line-height: 20px;}
ul.wsp-pages-list li a:hover {background-color: #bf052a; color: #fff; text-decoration: none;}
ul.wsp-pages-list ul {padding: 5px 0 0 10px;}
ul.wsp-pages-list ul li a {font-family: 'ubunturegular'; font-size: 14px; line-height: 16px;}

/* FOOTER */
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget {width: auto;}
.et_pb_gutters3 .footer-widget {margin: 0;}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {margin: 0;}
#footer-widgets {
	padding: 10px 0 5px 0;
}
#footer-widgets div#text-8 {
    margin-right: 40px;
    width: 102px; height: 33px;
    background: transparent url('/wp-content/themes/Divi-child/images/logo_xunta_footer.png') no-repeat center center;
    background-size: 102px auto;
}
#footer-widgets .footer-widget:nth-child(2) {float: right;}
#footer-widgets div#text-14 {
    width: 90px; height: 30px;
    background: transparent url('/wp-content/themes/Divi-child/images/logo_galicia_footer.png') no-repeat center center;
    background-size: 90px auto;
}
#footer-widgets div#text-8 div.textwidget,
#footer-widgets div#text-14 div.textwidget,
#footer-widgets div#text-8 div.textwidget a,
#footer-widgets div#text-14 div.textwidget a {display: block; width: 100%; height: 100%;}
#footer-widgets div#text-8 div.textwidget a span,
#footer-widgets div#text-14 div.textwidget a span {display: none;}
div#nav_menu-2.fwidget.et_pb_widget.widget_nav_menu {display: block; float: none !important; clear: both;}
div#nav_menu-2 ul.menu {
    display: block;
    list-style: none !important;
}
#footer-widgets .footer-widget li:before {display: none;}
div#nav_menu-2 ul.menu li {
    display: inline-block;
    list-style: none;
    padding: 0 5px 0 7px;
    border-left: 1px solid #fff;
}
div#nav_menu-2 ul.menu li:first-child {padding-left: 0; border-left: none;}
#footer-widgets .footer-widget li a:hover {color: #fff; cursor: pointer; text-decoration: underline;}
#footer-widgets div.footer-widget .title {display: none;}
.footer-widget, .footer-widget li, .footer-widget li a, #footer-info {font-size: 13px !important;}

/* Images */
img {
  max-width: 100%;
  object-fit: cover;
  max-height: 350px;
}

.entry-content img {
  max-height: 100%;
}

#top-menu {
    line-height: 0;
    height: 30px;
}

/* Toda esta media query está dedicada a hacer parecer el menú móvil antes de lo que tiene establecido Divi */
@media all and (max-width: 1150px) {
    /* Header Styles */
    a#logo_xunta_header {display: none;}
    div#et_mobile_nav_menu2 {display: block;}
    
	#main-header,
	#top-header {
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}
    .et_search_outer {top: 72px; display: none;}
    #et_top_search {margin: 14px 0 0 22px; display: none;}
    #et_mobile_nav_menu span.mobile_menu_bar {position: absolute; top: 0;}
    div#contenedor_logos {border: none;}
    
	#top-menu {
		display: none;
    }
  
	.et_hide_nav.et_non_fixed_nav.et_transparent_nav #top-header,
	.et_hide_nav.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_hide_nav.et_fixed_nav #top-header,
	.et_hide_nav.et_fixed_nav #main-header {
		opacity: 1;
		-webkit-transform: translateY(0px) !important;
		transform: translateY(0px) !important;
	}

	.et_header_style_centered #main-header {
		padding: 20px 0;
	}

	.et_header_style_centered nav#top-menu-nav {
		display: none;
	}

	.et_header_style_split #main-header {
		padding: 20px 0;
	}

	.et_header_style_split #et-top-navigation,
	.et_header_style_split .et-fixed-header #et-top-navigation {
		display: block;
		padding-top: 0;
	}

	#et-top-navigation {
		margin-right: 0;
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}

	.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_non_fixed_nav.et_transparent_nav #top-header,
	.et_fixed_nav #main-header,
	.et_fixed_nav #top-header {
		position: absolute;
	}

	.et_header_style_left .et-fixed-header #et-top-navigation,
	.et_header_style_left #et-top-navigation {
		display: block;
		padding-top: 24px;
	}

	.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_fixed_nav #main-header {
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}

	.et_vertical_nav.et_right_sidebar #left-area,
	.et_vertical_nav.et_left_sidebar #left-area {
		width: auto;
	}

	#et-secondary-nav,
	#et-secondary-menu {
		display: none !important;
	}

	.et_non_fixed_nav.et_transparent_nav_temp #main-header,
	.et_secondary_nav_only_menu #main-header,
	.et_fixed_nav_temp #main-header,
	.et_secondary_nav_only_menu #main-header {
		top: 0 !important;
	}

	.et_secondary_nav_only_menu #top-header {
		display: none;
	}

	#top-header .container {
		padding-top: 0;
	}

	#et-info {
		padding-top: 0.75em;
	}
    
    /* Mobile Menu */
	#et_mobile_nav_menu {
		display: block;
        float: left;
	}
    #et_top_search {float: right;}
    .et_header_style_left .et-search-form, .et_header_style_split .et-search-form {width: 100% !important; max-width: none !important;}
    .et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {padding-bottom: 10px;}
    #mobile_menu.et_mobile_menu {border-top: 2px solid #da8d8d;}
}
@media all and (max-width: 1100px) {
    section#homevideo_mxn.dinamic_mxn {display: block; height: 100%;}
    section#homevideo_mxn.dinamic_mxn ul {display: block; width: 100%;}
    section#homevideo_mxn.dinamic_mxn ul li {display: block; width: 100%; }
    section#homevideo_mxn ul li a {border: none; border-bottom: 1px solid #666;}
    section#homevideo_mxn ul li:last-child a {border-bottom: none;}
}
@media all and (min-width: 981px) {
    .et_pb_gutters3 .et_pb_column_3_4, .et_pb_gutters3.et_pb_row .et_pb_column_3_4 {width: 65%;}
    .et_pb_gutters3 .et_pb_column, .et_pb_gutters3.et_pb_row .et_pb_column {margin-right: 5%;}
    .et_pb_gutters3 .et_pb_column_1_4, .et_pb_gutters3.et_pb_row .et_pb_column_1_4 {width: 30%;}
    .et_pb_gutters3 .et_pb_column_1_4 .et_pb_widget {margin-bottom: 10%;}
}
@media all and (max-width: 980px) {
    section#promo_mxn.dinamic_mxn div.list_mxn article {display: block; width: 100%; clear: both;}
    section#promo_mxn.dinamic_mxn div.list_mxn article figure {width: 50px; height: 50px; -moz-border-radius: 25px; -webkit-border-radius: 25px; border-radius: 25px; margin: 1%;}
    section#promo_mxn.dinamic_mxn div.list_mxn article div.content_mxn {padding: 3% 1% 4% 1%;}
    div#main-content section#promo_mxn.dinamic_mxn div.list_mxn article div.content_mxn h2 {padding: 0;  padding-top: 1%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
    
    section.homenews_mxn article div.content_mxn {height: auto;}
    section.homenews_mxn.columns2 {display: block; width: 100%;}
    section.homenews_mxn.columns2 article, section.homenews_mxn.columns3 article {display: block; width: 100%; margin-bottom: 3%;}
    section.homenews_mxn.columns2 article:nth-of-type(even), section.homenews_mxn.columns3 article:nth-of-type(2n) {margin: 0 0 3% 0;}
    div.homesidebar_mxn {display: block; width: 100%; margin-left: 0; height: auto;}
    section.homeshortnews_mxn {height: 600px;}
    
    section.homemosaic_mxn {padding: 10px 0 0 0;}
    section.homemosaic_mxn div.colum_mxn {display: block; width: 100%; height: 250px; margin: 0; margin-bottom: 10px;}
    section.homemosaic_mxn div.colum3_mxn div.boletin1_mxn, section.homemosaic_mxn div.colum3_mxn div.boletin2_mxn {height: 150px; margin-bottom: 10px;}
    section.homemosaic_mxn div.colum3_mxn {height: auto;}
    
    /*#et_mobile_nav_menu {float: left;}
    #et_top_search {float: right;}*/
    .et_header_style_left #logo, .et_header_style_split #logo {max-width: none;}
    #et_top_search {margin: 0 0 0 22px;}
    /*.et_header_style_left .et-search-form, .et_header_style_split .et-search-form {width: 100% !important; max-width: none !important;}
    .et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {padding-bottom: 10px;}
    #mobile_menu.et_mobile_menu {border-top: 2px solid #da8d8d;}*/
    
    .et_left_sidebar div#busca_plan_mxn > div#sidebar {padding: 2%;}
    
    #footer-widgets .footer-widget:nth-child(n),
	#footer-widgets .footer-widget .fwidget {
		margin: 0 !important; text-align: center;
	}
    .footer-widget:nth-child(n),
    #footer-widgets .footer-widget {width: auto !important;}
    #footer-widgets .footer-widget:last-child {display: block; clear: both; width: 100% !important;}
    #footer-widgets div#text-15 {padding: 10px 0; width: 100%;}
    div#nav_menu-2 ul.menu {padding-top: 10px;}
    div#nav_menu-2 ul.menu li {display: block; border-left: none; padding: 0;}
}
@media all and (max-width: 650px) {
    .et_header_style_left .logo_container {margin: 0; min-height: 32px; height: auto;}
    a#logo_mancomun_header {width: 183px; height: 32px;}
    div#et_mobile_nav_menu2 {margin-top: 0px;}
    .et_search_outer {top: 50px;}
    #et_top_search {margin: 7px 0 0 22px;}
    a#logo_xunta_header {width: 98px; height: 32px;}
    
    section#lst_noticias_mxn article div.photo_mxn {width: 100%; margin-right: 0; margin-bottom: 10px;}
    section#lst_noticias_mxn article div.content_mxn { width: 100%; height: auto;}
    
    section#lst_noticias_mxn.vertical_mxn article {width: 100%;}
    section#lst_noticias_mxn.vertical_mxn article:nth-of-type(odd) {margin-right: 0;}
}
