/*
Theme Name: Coonic BM30
Theme URI: https://www.coonic.com
Author: Coonic
Author URI: https://www.coonic.com
Version: 2.0.0
Description: Theme for BM30
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: two-columns, right-sidebar, custom-header, custom-background, translation-ready, featured-images
Text Domain: bm30
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    margin: 0;
    padding: 0
}

body {
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body, input, textarea {
    color: #333;
    font: 14px Raleway, serif;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
    content: none
}

:focus {
    outline: 0
}

ins {
    text-decoration: none
}

del {
    text-decoration: line-through
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    padding: 0
}

h1 {
    font-size: 1.25em
}

h2 {
    font-size: 1.125em
}

h5 {
    font-size: .8125em
}

img, embed, object, video {
    max-width: 100%;
    height: auto
}

/* border:solid 1px rgba(0,0,0,0.2);*/
a {
    color: #d80000;
    text-decoration: none;
}

a img {
    vertical-align: bottom
}

input, textarea {
    border: 1px solid #e0e0e0;
    padding: 5px
}

#container {
    box-sizing: border-box;
    padding: 0 15px;
    min-width: 330px;
    width: 100%;
    max-width: 1180px;
    background: #fff;
    margin: 0 auto
}

#header {
    position: relative;
    padding: 0
}

#header-img {
    clear: both;
}

#header + #content {
    margin-top: 0;
    position: relative;
}

.close-session-socio {
    position: absolute;
    right: 0;
    top: -42px;
}

#footer {
    overflow: hidden;
    margin: 15px 0 30px;
}

ul {
    list-style-type: none;
}

.mayusculas {
    text-transform: uppercase;
}

#logo {
    margin: 15px 0;
    width: 135px;
    height: 104px;
    float: left;
}

#logo a {
    display: block;
}

#top-menu {
    float: right;
    width: calc(100% - 135px);
    margin-top: 75px;
    box-sizing: border-box;
    position: relative;
}

#top-menu > * {
    box-sizing: border-box;
}

#primary-menu,
#social-links,
#language-selector {
    float: right;
}

#primary-menu {
    margin-top: 4px;
}

#language-selector {
    margin-left: 20px;
}

#language-selector .wpml-ls-legacy-list-horizontal {
    border: 0;
    padding: 0;
}

#language-selector .wpml-ls-legacy-list-horizontal a {
    padding: 4px 10px;
}

#language-selector a {
    color: #111;
}

.icl-eu {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

#language-selector ul li {
    font-size: 12px;
    float: left;
    padding: 0;
}

#social-links {
    margin-left: 40px;
}

#primary-menu li {
    float: left;
    margin-right: 20px;
    text-transform: uppercase;
    font-size: 0.8em;
}

#primary-menu li a {
    color: #333;
}

#primary-menu li a:hover {
    color: #d80000;
}

#social-links li {
    float: left;
    margin-right: 15px;
}

.page-numbers {
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 3px;
    display: inline-block;
    font-size: 14px;
    line-height: 24px;
    padding: 2px;
    width: 24px !important;
    text-align: center;
    height: 24px !important;
    vertical-align: top;
    margin: 0 2px;
}

.page-numbers.dots {
    cursor: default;
    color: #555 !important;
    border: 0;
    background: transparent !important;
}

.page-numbers:not(.current):hover {
    background: red;
    color: #fff;
}

.page-numbers.current {
    cursor: default;
    background: #333;
    color: #fff;
}

/* home */

#blog-posts-home {
    width: 100%;
    overflow: hidden;
}

#blog-posts-home * {
    box-sizing: border-box;
}

.post-featured-home {
    position: relative;
    float: left;
    width: 48%;
    margin: 30px 0;
}

.post-featured-home.right {
    float: right;
}

#post-featured-img {
    position: static;
    width: 100%;
    height: auto;
}

#post-featured-img {
    width: 100%;
    height: auto;
}

.post-featured-home .more {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    text-transform: uppercase;
    font-size: 0.8em;
    background: #000 url('resources/img/featured-arrow.jpg') no-repeat right 2px;
}

.post-featured-home .more a {
    padding: 5px 50px;
    color: #fff;
    display: block;
    float: left;
}

.post-featured-home .post-title {
    font-size: 2em;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 60%;
    padding: 20px;
    background-color: #fff;
    filter: alpha(opacity=60); /* IE */
    -moz-opacity: 0.6; /* Mozilla */
    opacity: 0.6; /* CSS3 */
}

.micategoria ul {
    list-style-type: circle !important;
    padding-left: 40px;
}

.micategoria ul li ul {
    padding-left: 40px;
}

#ef-home {
    width: 100%;
    float: left;
    margin-top: 30px;
}

#ef-deatails,
#ef-excerpt {
    width: 47.5%;
    float: left;
    margin-bottom: 10px;
}

#ef-deatails {
    padding-right: 5%;
}

#ef-date {
    color: #999;
}

#ef-title {
    font-size: 1.5em;
    color: #d80000;
    font-weight: bold;
    padding-bottom: 10px;
}

#home-galeria-social {
    position: relative;
    width: 100%;
    float: left;
    min-height: 350px;
}

#home-galeria {
    width: 320px;
    position: absolute;
    top: 0;
    left: 0;
}

#home-galeria a {
    width: 50%;
    height: 110px;
    display: block;
    float: left;
    background-size: cover;
    background-position: center center;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}

#home-galeria a:hover {
    opacity: .6;
}

#home-galeria a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home-galeria a.fit-image-container.fix-applied img {
    display: none;
}

#home-galeria h3,
#home-social h3 {
    border-bottom: 1px solid #555;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 300;
    color: #222;
}

.widget-wrap-home-1 {
    width: calc(100% - 300px);
    float: left;
    padding-right: 15px;
    box-sizing: border-box;
    position: relative;
}

.widget-wrap-home-2 {
    box-sizing: border-box;
    width: 300px;
    float: left;
}

#home-social {
    padding-left: 335px;
    overflow: hidden;
}

.post-featured-home .post-title h2 {
    color: #000;
}

.red-title {
    color: #d80000;
}

/* blog / cat */

#blog-posts {
    box-sizing: border-box;
    width: 70%;
    float: left;
}

#content {
    margin: 25px 0;
}

#blog-lateral-menu {
    box-sizing: border-box;
    width: 30%;
    float: right;
    padding-left: 30px;
}

.lat-menu li {
    position: relative;
}

li.current-menu-item .menu-arrow,
.lat-menu li:hover .menu-arrow {
    width: 10px;
    height: 16px;
    position: absolute;
    left: -10px;
    top: 18px;
    background-image: url('resources/img/menu-arrow.jpg');
}

.lat-menu li a {
    background-color: #eee;
    color: #333;
    padding: 15px 15px;
    display: block;
    margin-bottom: 10px;
}

.lat-menu li a:hover {
    color: #fff;
    background-color: #d80000;
}

.lat-menu li.current-menu-item a {
    background-color: #d80000;
    color: #fff;
    cursor: default;
}

.post-content, .type-page, .single-gallery {
    background-color: #eee;
    padding: 20px;
}

.type-page .post-content {
    background: none;
    padding: 0;
}

.post-actividad {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin: 0 3% 30px 0;
    min-height: 210px;
    height: auto !important;
}

.post-actividad h2 {
    font-weight: normal;
    margin: 10px 0;
}

h1.title-h1 {
    font-weight: normal;
    margin-top: 0;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #d80000;
}

#mas-noticias {
    width: 95%;
    float: left;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-top: 20px;
}

#related-single {
    background-color: #eee;
    padding: 0 3%;
    float: left;
    width: 100%;
    box-sizing: border-box;
}

#posts-relacionados {
    width: 100%;
}

#posts-relacionados li {
    width: 20%;
    margin: 2.5%;
    float: left;
}

#posts-relacionados .entry-title {
    font-weight: normal;
    margin-top: 15px;
}

#related-single #mas-noticias {
    margin-bottom: 20px;
}

#posts-relacionadas-h {
    margin-bottom: 20px;
    clear: both;
}

.blog-posts-all {
    width: 100%;
    float: left;
    position: relative;
}

.single-post .type-post {
    background-color: #eee;
    padding: 20px 3%;
}

#entry-wrapper {
    border: solid 1px rgba(0, 0, 0, 0.2);
}

#entry-wrapper > img {
    display: block;
    margin: auto;
}

.entry-content p {
    margin-bottom: 15px;
}

.post-comunicacion {
    background-color: #eee;
    margin-bottom: 15px;
    padding: 20px;
}

.page-template-teamplate-historico .post-comunicacion {
    padding: 20px 2%;
    float: left;
    width: 96%;
}

.post-comunicacion .entry-title {
    color: #d80000;
    margin-bottom: 10px;
}

.private-area .entry-title {
    color: #333;
}

#docu-data {
    width: 70%;
    float: left;
}

#docu-links {
    width: 18%;
    float: right;
    margin-top: 20px;
}

#docu-data-doc {
    width: 50%;
    float: left;
}

.single-comunicacion .docu-wrapper #docu-data-doc {
    float: none;
    width: 100%;
}

.single-comunicacion .docu-wrapper #docu-links {
    margin-top: 0;
}

#doc-img {
    width: 28%;
    float: left;
    margin-right: 3%;
}

#pdf-link {
    width: 42px;
    float: right;
}

#box-link {
    width: 55px;
    float: left;
}

.twitter-timeline-heading {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    color: white;
    z-index: 10;
    font-size: 24px;
}

.twitter-timeline-heading a {
    display: block;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.twitter-timeline-image {
    display: block;
    min-height: 80px;
    object-fit: cover;
}

#twitter-widget-0 .timeline-Widget {
    background: transparent !important;
}

.gallery-type #docu-data-doc {
    width: 67%;
    float: left;
    min-height: 90px;
    position: relative;
}

.gallery-type #docu-data-doc .entry-title {
    color: #111;
    font-weight: normal;
}

.gallery-type #docu-data-doc .entry-content {
    text-transform: uppercase;
    font-size: 0.8em;
    right: 0;
    bottom: 0;
    position: absolute;
    height: 20px;
}

.type-event {
    position: relative;
    min-height: 230px;
    float: left;
    padding: 2%;
    background-color: #eee;
    cursor: pointer;
}

.post_historico {
    position: relative;
    width: 27.3%;
    min-height: 150px;
    float: left;
    padding: 2%;
    background-color: #eee;
    margin: 0 1% 20px 1%;
}

.type-event .event-date {
    font-weight: bold;
}

.post_historico .event-date {
    padding: 10px 0;
}

.post_historico .event-panel,
.post_historico .event-date {
    font-size: 0.9em;
}

.post_historico .event-panel {
    color: #d80000;
}

.close {
    display: none;
    position: absolute;
    cursor: pointer;
    right: 20px;
    bottom: 10px;
    font-size: 0.8em;
    text-transform: uppercase;
    color: #fff;
    z-index: 20;
}

.close .red {
    color: #d80000;
}

.single-post .entry-title {
    margin-bottom: 20px;
}

.single-post .entry-content {
    margin-top: 20px;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    padding-top: 20px
}

.entry-content ul, .entry-content ol {
    margin: 15px 0;
}

.entry-content ul, .entry-content ol {
    padding-left: 50px
}

.entry-content ul li {
    list-style-type: disc
}

.entry-content ol li {
    list-style-type: decimal
}

/*footer*/

#socios {
    border-top: 1px solid #171717;
    border-bottom: 1px solid #171717;
    margin-bottom: 25px;
}

#socios ul li {
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0 0.1%;
}

#socios h3 {
    font-weight: 300;
    color: #222;
    padding-bottom: 25px;
    border-bottom: 1px solid #171717;
}

#info-empresa {
    float: left;
}

#info-empresa div {
    float: left;
}

#info-empresa-texto {
    margin-left: 30px;
}

#info-legal {
    float: right;
    width: 30%;
    text-align: right;
}

#info-legal a {
    color: #333;
}

.alignleft {
    float: left;
    margin-right: 18px;
    margin-bottom: 20px;
}

.legal-menu li {
    border-right: 1px solid #333;
    padding: 0 10px;
    float: right;
    font-size: 0.9em;
}

.legal-menu li:first-child {
    border-right: 1px solid transparent;
}

/*histórico*/

#historico-header {
    float: left;
    width: 100%;
    margin-bottom: 30px;
}

#historico-desc {
    color: #111;
    margin-bottom: 20px;

}

.historico-search-title {
    text-transform: uppercase;
    font-size: 0.8em;
}

.search-h {
    width: 30%;
    margin-right: 2%;
    height: 30px;
    overflow: hidden;
    background: no-repeat right #eee;
    border: 1px solid #ccc;
}

#search-click {
    display: inline-block;
    width: 2%;
    background: url('resources/img/search.png') no-repeat right;
    border: none;
    cursor: pointer;
    vertical-align: top;
}

#historico-result {
    margin-top: 30px;
    text-align: left;
    font-size: 0.8em;
    color: #111;
}

#historico-result .red {
    color: #d80000;
}

.pagination {
    text-align: center;
}

#pagination p {
    text-align: center;
    font-size: 1.2em;
}

#pagination {
    clear: both;
    width: 100%;
}

#pagination .next,
#pagination .prev {
    width: auto;
    height: auto;
    position: static;
    right: auto;
    top: auto;
    left: auto;
    background: none;

}

/*gallery*/

.gallery img {
    border: 0 !important;
}

/*menu*/

.breadcrumbs {
    margin: 20px 0;
    font-size: 0.8em;
    font-style: italic;
}

.breadcrumbs a span {
    font-size: 100%;
}

.searchbox {
    position: absolute;
    right: 0;
    top: 8px;
    width: 20%;
}

.searchboxfield {
    cursor: pointer;
    border: none;
    border-left: 1px solid transparent;
    height: 15px;
    font-size: 0.8em;
    text-transform: uppercase;
    background: url('resources/img/search.png') no-repeat right 2px;
    padding-right: 24px;
}

#header .searchboxfield {
    width: 0;
    transition: width .3s;
}

#header .searchboxfield.active {
    cursor: text;
    width: 140px;
    border-left: 1px solid #ddd;
}

#primary-nav {
    position: relative;
    width: 100%;
    display: block;
    clear: both;
    border-bottom: 1px solid #777;
    border-top: 1px solid #777;
    margin: 0 0 15px;
}

#primary-nav ul {
    float: left;
    margin: 0;
}

#primary-nav ul li {
    padding: 10px 0;
    position: relative;
    float: left;
    z-index: 199;
    white-space: nowrap;
    border-right: 1px solid #ddd;
}

#primary-nav ul li:hover {
    background: #eee;
}

#primary-nav ul.sf-menu > li:first-child {
    border-left: none;
}

#primary-nav ul.sf-menu > li#menu-item-82,
#primary-nav ul.sf-menu > li#menu-item-1752,
#primary-nav ul.sf-menu > li#menu-item-1764,
#primary-nav ul.sf-menu > li#menu-item-1326,
#primary-nav ul.sf-menu > li#menu-item-1766,
#primary-nav ul.sf-menu > li#menu-item-1754 {
    border-right: none;
}

/*
#primary-nav ul.sf-menu > li:last-child {
    border-left: 1px solid #ddd;
}
#primary-nav ul.sf-menu > li:first-child {
    border-left: 1px solid #777;
}
#primary-nav ul.sf-menu > li#menu-item-1326,
#primary-nav ul.sf-menu > li#menu-item-1766,
#primary-nav ul.sf-menu > li#menu-item-1754 {
    border-right: 1px solid #777;
}*/

#primary-nav ul > li a {
    padding: 0 15px;
}

#primary-nav ul a {
    color: #333;
}

#primary-nav ul a:hover {
    color: #d80000;
}

#primary-nav ul li:hover {
    visibility: inherit
}

#primary-nav ul ul {
    border-top: 1px solid #777;
    box-shadow: 4px 10px 5px rgba(0,0,0,.35);
    position: absolute;
    top: -9999em;
    background-color: #fff;
    padding: 10px 0;
    z-index: 89;
}

#primary-nav ul li:hover ul,
#primary-nav ul li.sfHover ul {
    top: 39px;
    left: -1px;
}

#primary-nav ul ul li {
    position: relative;
    padding: 0;
    margin: 0 0 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    border: none;
    width: 100%;
}

#primary-nav ul ul li a {
    display: block;
    padding: 6px 12px;
}

#primary-nav ul ul.sub-menu ul.sub-menu {
    display: none;
    top: 0;
    margin-left: 250px;
}

#primary-nav ul ul.sub-menu li:hover ul.sub-menu {
    display: block;
}

.single-comunicacion .comunicacion-category-multimedia .docu-wrapper {
    max-width: 100%;
}

.single-comunicacion .comunicacion-category-multimedia #docu-data-doc {
    float: none;
    width: 100%;
}

/*varios*/

#socios h3,
#info-legal,
#blog-lateral-menu {
    text-transform: uppercase;
}

/* facebook widget */

.responsive-facebook {
    margin: auto;
    max-width: 300px;
}

.responsive-facebook .fb-like-box {
    width: 100% !important;
    height: 534px !important;
}

.responsive-facebook .fb-like-box iframe[style] {
    width: 100% !important;
    height: 534px !important;
}

.responsive-facebook .fb_iframe_widget span {
    width: 100% !important;
    height: 534px !important;
}

/* Example wrapper */
.wrap {
    position: relative;
    margin: 30px 0;
}

/* Frame */
.frame {
    height: 60px;
    overflow: hidden;
    margin: 0 40px;
    cursor: move;
}

.frame ul {
    list-style: none;
    margin: 0;
    height: 100%;
}

.frame ul li {
    box-sizing: border-box;
    float: left;
    height: 100%;
    display: flex;
    width: 64px;
    flex-direction: column;
    align-items: center;
    line-height: 20px;
    justify-content: center;
    padding: 10px 15px;
    border-right: 1px solid #434343;
    background: #111;
    color: #d80000;
    min-width: 50px;
    text-align: center;
}

.frame ul li.is_event p:first-child {
    color: white;
    font-weight: bold;
}

.frame ul li.calendar-mo {
    background: #fff;
    color: #222;
    font-weight: bold;
    text-transform: uppercase;
    width: 114px;
}

.frame ul li.is_event {
    display: flex !important;
    background: #d80000;
    color: #111;
    cursor: pointer;
    position: relative;
}

.frame ul li.is_event.active:after {
    content: '';
    border: 4px solid #fff;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 100%;
    box-sizing: border-box;
    margin: 4px;
    z-index: 2;
}

.frame ul li p.white {
    color: #fff;
}

/* Scrollbar */
.scrollbar {
    cursor: pointer;
    margin: 0 0 7px;
    height: 4px;
    background: #bbb;
    line-height: 0;
}

.scrollbar .handle {
    width: 100px;
    height: 100%;
    background: #222;
    cursor: pointer;
}

.scrollbar .handle .mousearea {
    position: absolute;
    top: -9px;
    left: 0;
    width: 100%;
    height: 20px;
}

.calendar-scroller {
    overflow: hidden;
    padding: 5px 0 0;
    position: relative;
}

.calendar-events-wrapper {
    margin: 15px 0 20px;
}

.calendar-events-wrapper .select-text {
    display: block;
    padding: 10px;
    color: #555;
    border: 2px dashed #aaa;
    border-radius: 3px;
}

#events-list {
    width: 100%;
    float: left;
    margin-bottom: 0;
}

.events-sub-list {
    display: none;
}

.events-sub-list-item-wrapper {
    background: #eee;
    border: 1px solid #ddd;
    margin: 10px;
    padding: 15px;
}

.events-sub-list-title {
    color: #d80000;
    font-size: 16px;
    margin: 0 0 5px;
    font-weight: bold;
}

.events-sub-list-date {
    margin: 0 0 10px;
    font-size: 13px;
}

.events-sub-list-content {
    margin: 0 0 10px;
    font-size: 13px;
}

.upcoming-events {
    margin: 15px 0 0;
}

.upcoming-events-list {
    box-sizing: border-box;
    border-top: 1px solid #555;
    display: block;
    font-size: 0;
    margin: 10px 0 0;
    padding: 15px 0 0;
    overflow: hidden;
}

.upcoming-events-list .event-item {
    box-sizing: border-box;
    display: inline-block;
    font-size: 14px;
    float: none;
    vertical-align: top;
    width: 25%;
    margin: 0;
    padding: 7px;
}

.upcoming-events-list .event-item-wrapper {
    background: #eee;
    box-sizing: border-box;
    padding: 15px;
    overflow: hidden;
    min-height: 180px;
}

.upcoming-events-list .event-item-wrapper .event-date {
    color: #222;
    font-weight: bold;
}

.upcoming-events-list .event-item-wrapper .event-date,
.upcoming-events-list .event-item-wrapper .entry-title {
    margin: 0 0 10px;
}

.upcoming-events-list .event-item-wrapper .entry-title {
    color: #d80000;
    font-size: 16px;
    font-weight: bold;
}

.upcoming-events-list .event-item-wrapper .more-info-event {
    font-size: 13px;
}

.upcoming-events-list .event-item-wrapper .more-info-event a {
    color: #d80000;
}

.page-template-template-agenda .prev,
.page-template-template-agenda .next {
    position: absolute;
    z-index: 99;
    height: 60px;
    width: 40px;
    background-color: red;
    cursor: pointer;
}

.page-template-template-agenda .prev {
    left: 0;
    background: #000 url('resources/img/prev-calendar.jpg') no-repeat center center;
}

.page-template-template-agenda .next {
    right: 0;
    background: #000 url('resources/img/next-calendar.jpg') no-repeat center center;
}

#name-field {
    margin: 0;
    border: none;
    background-color: #f0f0f0;
    color: #d80000;
}

#submit-field {
    cursor: pointer;
    border: none;
    width: 30px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0 0 0 -5px;
    background: #f0f0f0 url('resources/img/login-arrow.jpg') no-repeat 2px;
}

#user-area {
    display: none;
    position: absolute;
    top: 25px;
    right: 400px;
    width: auto;
    z-index: 1000;
}

.post-search {
    padding: 0 0 10px;
    border-bottom: 1px solid #ccc;
    margin: 10px 10px 20px;
}

#blog-posts.contact-form {
    width: 65%;
}

#blog-posts.contact-form.post-content {
    padding: 10px 20px 15px 5px;
}

.sidebar.contact-form-sidebar {
    width: 35%;
    padding-left: 15px;
}

/*********************************************/

.sidebar {
    box-sizing: border-box;
    float: right;
    width: 30%;
}

#menu-principal,
#menu-principal-euskera,
#menu-principal-ingles {
    width: 100%;
}

#searchform-wrapper {
    float: right;
    padding-left: 25px;
}

#searchform {
    position: relative;
}

#primary-nav #menu-item-103,
#primary-nav #menu-item-1326,
#primary-nav #menu-item-1766,
#primary-nav #menu-item-1778,
#primary-nav #menu-item-1771,
#primary-nav #menu-item-1754 {
    float: right;
}

#primary-nav #menu-item-1326 ul.sub-menu,
#primary-nav #menu-item-1766 ul.sub-menu,
#primary-nav #menu-item-1778 ul.sub-menu,
#primary-nav #menu-item-1771 ul.sub-menu,
#primary-nav #menu-item-1754 ul.sub-menu {
    left: initial;
    right: -1px;
}

#blog-posts .post-excerpt {
    float: left;
    width: 31%;
    margin-left: 1.15%;
    margin-right: 1.15%;
}

#blog-posts .post-excerpt .entry-title {
    margin: 10px 0;
}

.contact-form .half {
    float: left;
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
}

.contact-form .full {
    float: left;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.contact-form .half input,
.contact-form .full textarea {
    width: 100%;
}

.contact-form .button {
    float: right;
}

.contact-form .button input {
    background: #d80000;
    color: #fff;
    padding: 15px 25px;
    cursor: pointer;
}

.contact-form-sidebar .map iframe {
    width: 100%;
}

.contact-form-sidebar.sidebar p {
    margin-top: 5px;
    margin-bottom: 5px;
    float: left;
    clear: both;
}

#tabs ul {
    clear: both;
    display: block;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

#tabs li {
    width: 33.33%;
    float: left;
    text-align: center;
    padding: 15px 5px;
    background: #666;
    color: #fff;
    box-sizing: border-box;
}

#tabs li a {
    color: #fff;
}

#tabs li.active, #tabs li.active a,
#tabs li:hover, #tabs li:hover a {
    background: #000;
    color: #fff;
}

/* Utilidades responsive */
.hidden-block {
    display: none;
}

.visible-block {
    display: block;
}

#home-slider {
    overflow: hidden;
    position: relative;
}

.grid-col-item {
    box-sizing: border-box;
    margin: 0 1% 20px 1%;
}

.grid-col-all {
    width: 98%;
}

.grid-col-1of2 {
    width: 48%;
}

.grid-col-1of3 {
    width: 31%;
}

.grid-col-2of3 {
    width: 64%;
}

.grid-col-1of4 {
    width: 23%;
}

.page-template-template-actualidad #blog-posts .post-excerpt img {
    width: 100%;
}

#header-img img {
    display: block;
}

.share {
    float: right;
    clear: both;
    cursor: pointer;
    color: #d80000;
}

#share-links {
    float: right;
    clear: both;
}

#share-links a {
    padding: 5px;
}

/* Cerrar Sesion socios */
.close-session-socio p {
    text-align: right;
}

.close-session-socio p a img {
    display: inline;
    vertical-align: middle;
}

/* Cookies Bar */

html .cdp-cookies-alerta .cdp-cookies-texto {
    background: rgba(80, 80, 80, .92) !important;
    border: 0 !important;
    box-sizing: border-box;
    padding: 15px 15px 10px;
}

html .cdp-cookies-alerta .cdp-cookies-texto h4 {
    font-size: 13px !important;
    font-weight: bold;
    margin: 0 0 5px;
}

html .cdp-cookies-alerta a.cdp-cookies-boton-cerrar {
    margin: 5px auto;
}

html .cdp-cookies-alerta .cdp-cookies-texto p,
html .cdp-cookies-alerta .cdp-cookies-texto a {
    font-size: 12px;
}

html .cdp-cookies-alerta .cdp-cookies-texto a.cdp-cookies-boton-cerrar {
    margin-top: 10px;
    padding: 2px 10px;
}

html .cdp-cookies-alerta .cdp-cookies-texto a:hover {
    color: white;
    background: #333 !important;
}

html .cdp-cookies-alerta .cdp-cookies-texto p {
    color: #e8e8e8 !important;
    line-height: normal;
}

html .cdp-cookies-alerta .cdp-cookies-texto h4,
html .cdp-cookies-alerta .cdp-cookies-texto p {
    max-width: 1000px;
    margin: auto;
}

html .cdp-cookies-boton-creditos {
    display: none !important;
}

/*-----------------------------------------------------------------------------------*/
/*13.- Media Queries
/*-----------------------------------------------------------------------------------*/

@media screen and (min-width: 1025px) {
    .grid-clear-2:nth-child(2n+1) {
        clear: left;
    }

    .grid-clear-3:nth-child(3n+1) {
        clear: left;
    }

    .grid-clear-4:nth-child(4n+1) {
        clear: left;
    }
}

/* 1024 LG */
@media screen and (max-width: 1024px) {

    #home-galeria {
        width: 300px;
    }

    #home-social {
        padding-left: 315px;
    }

    .post-featured-home .post-title {
        font-size: 1.7em;
    }

    #docu-links {
        width: 23%;
    }

    #docu-data-doc {
        width: 45%;
    }

    #search-click {
        width: 20px;
    }

    .hidden-lg-block {
        display: none;
    }

    .visible-lg-block {
        display: block;
    }

    .post-featured-home .post-title h2 {
        font-size: 18px;
    }

    #blog-posts .post-excerpt {
        width: 50%;
        box-sizing: border-box;
        padding-right: 1em;
        margin: 0;
    }

    .grid-col-lg-all {
        width: 98%;
    }

    .grid-col-lg-1of2 {
        width: 48%;
    }

    .grid-col-lg-1of3 {
        width: 31%;
    }

    .grid-col-lg-2of3 {
        width: 64%;
    }

    .grid-col-lg-1of4 {
        width: 23%;
    }
}

@media screen and (min-width: 801px) and (max-width: 1024px) {
    .grid-clear-lg-2:nth-child(2n+1) {
        clear: left;
    }

    .grid-clear-lg-3:nth-child(3n+1) {
        clear: left;
    }

    .grid-clear-lg-4:nth-child(4n+1) {
        clear: left;
    }

    .upcoming-events-list .event-item {
        width: 50%;
    }
}

/* 900px */
@media screen and (max-width: 900px) {

    .upcoming-events-list .event-item {
        width: 50%;
    }

    #top-menu {
        min-width: 195px;
    }

    #top-menu #primary-menu {
        position: absolute;
        right: 0;
        top: 70px;
        width: auto;
    }

    #top-menu #primary-menu li {
        margin-right: 10px;
    }

    #top-menu #primary-menu li:last-child {
        margin-right: 5px;
    }

    #info-empresa-texto {
        width: 70%;
    }

    button#responsive-menu-button {
        position: absolute !important;
        right: 15px !important;
        width: 48px !important;
        height: 48px !important;
        top: 10px !important
    }

    html #responsive-menu-container #responsive-menu li.responsive-menu-item a {
        background: transparent;
        border: 0 !important;
        height: auto !important;
    }

    #top-menu {
        float: right;
        margin-top: 10px;
        padding-right: 85px;
        width: auto;
    }

    #top-menu #language-selector {
        display: block !important;
        overflow: hidden;
        margin: 0 0 5px;
    }

    #top-menu > * {
        clear: both;
        float: none;
        margin: 0;
        overflow: hidden;
    }

    .post-featured-home .post-title {
        font-size: 1.5em;
    }

    #info-legal {
        width: 100%;
        margin: 20px 0;
    }

    #docu-links {
        width: 28%;
    }

    #docu-data-doc {
        width: 40%;
    }

    .post-actividad,
    #posts-relacionados li {
        width: 47%;
    }

    .hidden-md-block {
        display: none;
    }

    .visible-md-block {
        display: block;
    }

    .grid-col-md-all {
        width: 98%;
    }

    .grid-col-md-1of2 {
        width: 48%;
    }

    .grid-col-md-1of3 {
        width: 31%;
    }

    .grid-col-md-2of3 {
        width: 64%;
    }

    .grid-col-md-1of4 {
        width: 23%;
    }

    #home-galeria-social * {
        box-sizing: border-box;
    }

    #home-galeria {
        width: 100%;
        position: relative;
        overflow: hidden;
        padding: 1em;
    }

    #home-galeria a {
        width: 25%;
    }

    #home-social {
        width: 100%;
        position: relative;
        clear: both;
        left: 0;
        top: 0;
        padding: 1em;
        margin-top: 1.5em;
    }

    #home-social * {
        box-sizing: border-box;
    }

    .widget-wrap-home-1, .widget-wrap-home-2 {
        width: 100%;
        padding: 0;
        margin: 0;
        float: none;
    }
}

@media screen and (min-width: 601px) and (max-width: 800px) {
    .grid-clear-md-2:nth-child(2n+1) {
        clear: left;
    }

    .grid-clear-md-3:nth-child(3n+1) {
        clear: left;
    }

    .grid-clear-md-4:nth-child(4n+1) {
        clear: left;
    }
}

/* 600 SM */
@media screen and (max-width: 800px) {

    #blog-posts {
        overflow: hidden;
        margin: 0 auto 15px;
    }

    #blog-posts,
    #blog-posts.contact-form,
    #blog-posts + .sidebar {
        float: none;
        width: 100%;
        padding-left: 0;
    }

    #blog-lateral-menu {
        float: none;
        padding-left: 0;
        width: 100%;
    }

    #blog-lateral-menu #menu-asociacion,
    #blog-lateral-menu .lat-menu {
        font-size: 0;
        text-align: center;
    }

    #blog-lateral-menu .lat-menu li,
    #blog-lateral-menu #menu-asociacion li {
        display: inline-block;
        font-size: 10px;
        margin: 0 5px;
        vertical-align: top;
    }

    #blog-lateral-menu .lat-menu li .menu-arrow,
    #blog-lateral-menu #menu-asociacion li .menu-arrow {
        display: none;
    }

    #top-menu {
        padding-right: 65px;
    }

    #foo-logo,
    #info-empresa-texto {
        width: 100%;
    }

    #info-empresa-texto {
        padding: 0;
        margin: 20px 0 0 0;
    }

    #foo-logo img,
    #logo {
        height: auto;
        width: 105px;
        float: left;
    }

    dl.gallery-item {
        width: 100% !important;
    }

    #doc-img,
    #docu-links,
    #docu-data-doc {
        width: 100%;
    }

    #doc-img {
        margin-bottom: 20px;
    }

    #docu-links {
        margin-top: 0;
    }

    #docu-data {
        width: 100%;
        float: none;
    }

    .post-actividad,
    #posts-relacionados li {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }

    .hidden-sm-block {
        display: none;
    }

    .visible-sm-block {
        display: block;
    }

    .grid-col-sm-all {
        width: 98%;
    }

    .grid-col-sm-1of2 {
        width: 48%;
    }

    .grid-col-sm-1of3 {
        width: 31%;
    }

    .grid-col-sm-2of3 {
        width: 64%;
    }

    .grid-col-sm-1of4 {
        width: 23%;
    }

    .post-featured-home {
        float: none;
        width: 100%;
    }

    .post-featured-home.right {
        margin-top: 0;
    }

    .post-featured-home .post-featured-img img {
        width: 100%;
    }

    #blog-posts .post-excerpt {
        width: 100%;
        box-sizing: border-box;
        padding: .5em;
        margin: 0;
    }

    #logo {
        margin-bottom: 20px;
    }

    .post-featured-home .post-title {
        font-size: 1.5em;
    }

    .hidden-xs-block {
        display: none;
    }

    .visible-xs-block {
        display: block;
    }

    .grid-col-xs-all {
        width: 98%;
    }

    .grid-col-xs-1of2 {
        width: 48%;
    }

    .grid-col-xs-1of3 {
        width: 31%;
    }

    .grid-col-xs-2of3 {
        width: 64%;
    }

    .grid-col-xs-1of4 {
        width: 23%;
    }

    #home-galeria a {
        width: 50%;
    }

    .page-template-template-actualidad #blog-posts,
    .page-template-template-prensa #blog-posts,
    .page-template-template-documentacion #blog-posts,
    .page-template-template-material-grafico #blog-posts,
    .page-template-template-galeria #blog-posts,
    .page-template-template-planificacion #blog-posts,
    .category-colaboracion-publico-privada #blog-posts,
    .category-promocion-imagen-externa #blog-posts,
    .category-beneficios-comunitarios #blog-posts {
        width: 100%;
    }

    .page-template-template-prensa #menu-comunicacion,
    .page-template-template-documentacion #menu-comunicacion,
    .page-template-template-material-grafico #menu-comunicacion,
    .page-template-template-galeria #menu-comunicacion,
    .page-template-template-planificacion #menu-fines-objetivos,
    .category-colaboracion-publico-privada #menu-fines-objetivos,
    .category-promocion-imagen-externa #menu-fines-objetivos,
    .category-beneficios-comunitarios #menu-fines-objetivos {
        display: none;
    }

    .grid-clear-sm-2:nth-child(2n+1) {
        clear: left;
    }

    .grid-clear-sm-3:nth-child(3n+1) {
        clear: left;
    }

    .grid-clear-sm-4:nth-child(4n+1) {
        clear: left;
    }

    .grid-clear-xs-2:nth-child(2n+1) {
        clear: left;
    }

    .grid-clear-xs-3:nth-child(3n+1) {
        clear: left;
    }

    .grid-clear-xs-4:nth-child(4n+1) {
        clear: left;
    }

    #container {
        padding: 0 10px;
    }

    #header-img + .breadcrumbs {
        clear: both;
    }

    #footer {
        font-size: 12px;
    }

    #user-area {
        top: 90px;
        right: 60px;
    }
}

@media screen and (max-width: 600px) {

    .upcoming-events-list .event-item {
        display: block;
        width: 100%;
    }

}


/* HEADER FIXED IN MOBILE
@media screen and (max-width: 480px) {

    body {
        padding-top: 104px;
    }

    #header {
        background: white;
        padding: 1em 0 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
    }

    #header #logo {
        margin: 0 auto 15px;
        padding-left: 1em;
    }
}
*/

/* END Media Queries */
