/* Reusable CSS Components BEM - Block__Elements_Modifiers */
/*GENERAL*/
.fecha_publicacion_nodo{text-align:center;}

html {
font-size: 100%;
}

body {
font-family: Roboto, Arial;
}

p {
margin-bottom: 10px;
font-size: 120%;
}

a {
color: #2976BC;
}

/*TITLES*/
h1 {
font-size: 2.5rem;
line-height: 1.1;
font-weight: bold !important;
}

h2 {
font-size: 180%;
font-weight: bold;
line-height: 1.3;
}

h3 {
font-size: 150%;
font-weight: bold;
line-height: 1.2;
}

h4 {
font-size: 1rem;
font-weight: bold;
}

/*FONTS*/
.font-oswald {
font-family: Oswald;
}

/*TABS*/
.tabs {
margin-bottom: 20px;
}

/*BUTTONS*/
.btn {
margin-right: 10px;
}

.btn a:hover {
text-decoration: none;
}

.btn-primary {
background: #384892;
border: none;
}

.btn-primary a {
color: #FFF;
}

.btn-primary:hover {
background: #4A5EBE;
}

/*BLOCK SEARCH*/
.block-search .btn {
background: url('../images/icon-search.png') center center no-repeat;
text-indent: -99999px;
font-size: 1px;
line-height: 1px;
width: 50px;
height: 34px;
border: none;
}

.block-search .btn:focus {
opacity: 0.8;
}

.bloque-buscador .button {
background-image: url('../images/icono-buscar-blanco.png');
background-size: 16px 16px;
background-position: 7px center;
background-repeat: no-repeat !important;
padding-left: 30px;
}

.glyphicon-search:before {
content: none;
}

/*RESET*/
.form-group {
margin-bottom: 0;
}

.page-header {
border-bottom: none;
}

.field--name-webform .form-group, .user-login-form .form-group {
margin-bottom: 15px;
}

/*HEADER TOP*/
.header-top {
background: #2976BC;
padding-top: 7px;
padding-bottom: 7px;
}

.region-header-top {
display: flex;
justify-content: space-between;
flex-direction: row;
align-content: stretch;
align-items: center;
}

.region-header-top .secondary-menu {
width: auto;
margin-right: 30px;
}

.region-header-top .search-block-form {
flex-grow: 1;
max-width: 300px;
}

/*BRANDING*/
.navbar-default {
margin-bottom: 0;
font-weight: bold;
font-size: 15px;
}

.logo img {
max-width: 420px;
width: auto;
}

/*HEADER BOTTOM*/
.header-bottom {
background: #384892;
border-top: solid 2px #CCC;
}

/*HIGHLIGHT / SLIDER*/
.highlighted {
background: url('../images/bg-destacado.jpg') 0 0 / cover #2976BC;
color: #FFF;
}

.highlighted a {
color: #FFF;
}

/*FLEXSLIDER*/
.flexslider {
background: none;
border: none;
padding-top: 30px;
box-sizing: border-box !important;
}

.flexslider .views-field-created {
font-size: 16px;
margin-bottom: 10px;
}

.flexslider .views-field-field-sumario {
font-size: 1.1rem;
line-height: 1.7;
}

.flex-direction-nav .flex-next, .flex-direction-nav .flex-prev {
padding-bottom: 20px;
line-height: 1;
}

.flexslider-side-image .views-field-field-image {
float: right;
max-width: 50%;
margin-left: 30px;
}

/*NAVIGATION*/
.menu ul {
background: #FFF;
}

.menu span {
cursor: pointer;
}

.main-menu ul.menu a {
color: #FFF;
font-weight: bold;
text-transform: uppercase;
padding-left: 30px;
padding-right: 30px;
border-right: 1px solid #4A5EBE;
padding-top: 20px;
padding-bottom: 20px;
}

.main-menu ul.menu ul a {
color: #384892;
border-right: none;
}

.main-menu ul.menu ul {
margin-top: 18px;
}

.main-menu ul.menu a:hover {
background: #4A5EBE;
text-decoration: none;
}

/*SECONDARY MENU*/
.secondary-menu ul.menu {
display: flex;
display: -webkit-flex;
}

.secondary-menu ul.menu a {
color: #FFF;
text-transform: uppercase;
border-right: solid 1px #CCC;
padding-bottom: 0;
padding-top: 0;
}

.secondary-menu ul.menu li.last a {
border-right: none;
}

.secondary-menu ul.menu a:hover {
background: none !important;
color: #CCC;
}

/*MAIN*/
.main-container {
padding-bottom: 30px;
}

/*FOOTER*/
.footer {
background-color: #2976BC;
padding-top: 40px;
padding-bottom: 40px;
}

/*LIST ROWS*/
.list-row {
background: #FFF;
padding: 20px;
margin-bottom: 20px;
border: solid 1px #CCC;
overflow: hidden;
height: auto;
}

.list-row__image {
float: left;
margin-right: 30px;
max-width: 300px;
}

.list-row__title {
font-weight: bold;
font-size: 130%;
}

.list-row__body {
}

.list-row__view-more {
}

/*LIST COLUMNS*/
.list-columns .view-content {
display: flex;
display: -webkit-flex;
flex-wrap: wrap;
}

.list-column {
background: #FFF;
/*padding: 15px;*/
margin-bottom: 20px;
overflow: hidden;
height: auto;
}

.list-column__image {
overflow: hidden;
margin-bottom: 10px;
}

.list-column__title {
font-weight: bold;
font-size: 130%;
display: block;
margin-top: 10px;
margin-bottom: 10px;
}

.list-column__body {
}

.list-column__view-more {
}

/*FIELDS*/
.author {
font-weight: bold;
margin-bottom: 20px;
}

.field-date {
font-weight: bold;
margin-bottom: 20px;
}

.field-categoria .field--item a {
background: #757575;
color: #FFF;
margin-right: 10px;
display: inline-block;
padding: 2px 10px;
border-radius: 3px;
}

.field-categoria .field--item {
display: inline-block;
}

.field-categoria .field--item a:hover {
background: #384892;
text-decoration: none;
}

.field--name-field-image {
margin-bottom: 20px;
}

.origen {
font-size: 16px;
}

.slider__origen {
font-size: 16px;
}

/*BLOCK CARD*/
.block_card {
background: #FFF;
padding: 20px;
border: solid 1px #EFEFEF;
box-shadow: 0 0 4px #EFEFEF;
}

/*2 COL*/
.list-column.two-col {
width: 47%;
margin-right: 2%;
}

/*3 COL*/
.list-column.three-col {
width: 31%;
margin-right: 2%;
}

/*4 COL*/
.list-column.four-col {
width: 23%;
margin-right: 2%;
}

/*BUTTONS*/
/*SOCIAL MEDIA*/
.fa {
font-size: 30px;
text-decoration: none;
text-align: center;
background: #FFF;
padding: 10px;
width: 50px;
margin-right: 10px;
}

.fa.fa_small {
width: 30px;
height: 30px;
border-radius: 50%;
font-size: 18px;
padding: 0;
line-height: 1.8;
}

.fa:hover {
opacity: 0.7;
text-decoration: none;
}

/*Bloques*/
.block_light-text {
color: #FFF;
}

/*CARD GREY BG*/
h3 {
margin-top: 0;
}

.card-grey-bg {
background: #EFEFEF;
padding: 20px;
box-sizing: border-box;
position: relative;
}

.categoria-articulo {
font-weight: bold;
font-size: 120%;
margin-bottom: 5px;
display: block;
}

.views-field-field-sumario, .views-field-field-sumario p {
font-size: 16px;
line-height: 1.5;
}

.fecha-articulo {
background: #931815;
display: inline-block;
padding: 10px;
font-weight: bold;
text-transform: uppercase;
color: #FFF;
position: absolute;
right: 0;
top: 0;
}

.fecha-articulo .day {
font-size: 22px;
}

.fecha-articulo .month {
font-size: 13px;
margin-bottom: 3px;
}

.fecha-articulo span {
display: block;
line-height: 1;
}

.list-column .views-field-title {
padding-right: 40px;
}

/**** RESPONSIVE ****/
@media screen and (min-width: 1400px) {
.container {
width: 1350px;
}
}

@media screen and (max-width: 960px) {
.ms-slidedown .rm-row, .ms-slidedown .rm-region {
background: #045BB2 !important;
}

.rm-toggle__link, .rm-toggle__link:hover, .rm-toggle__link:focus, .rm-toggle__link:active {
background: none !important;
}

.main-menu .menu__link {
padding-bottom: 15px !important;
padding-top: 15px !important;
background: #004891 !important;
}

.rm-accordion-trigger {
background: #013365 !important;
}
}

@media screen and (min-width: 769px) {
.show-mobile {
display: none;
}
}

@media screen and (max-width: 768px) {
body {
font-size: 80%;
}

.show-mobile {
display: block;
}

.hide-mobile {
display: none;
}

.main-menu ul.menu a {
color: #2976BC !important;
font-weight: bold;
text-transform: uppercase;
padding-left: 11px;
padding-right: 30px;
border-right: none;
padding-top: 10px;
padding-bottom: 10px;
border-bottom: solid 1px #CCC;
}

.main-menu ul.menu a:hover {
background: #EFEFEF;
color: #FFF;
}

.main-menu ul.menu li.last a {
border-bottom: none;
}

.flexslider-side-image .views-field-field-image {
float: none;
max-width: 100%;
margin-bottom: 50px;
margin-left: 0;
}

ul.slides {
padding-left: 0px;
padding-right: 0px;
}

#block-cargamaterial, #block-sendinblue {
margin-left: 20px;
margin-right: 20px;
}
}

@media screen and (max-width: 640px) {
.list-row__image {
float: none;
max-width: 100%;
width: 100%;
margin-bottom: 15px;
}

.list-row__title, .list-column__title {
}

.list-column.three-col, .list-column.four-col {
width: 47%;
}

.secondary-menu ul.menu a {
font-size: 85%;
}

.region-header-top .secondary-menu {
width: 300px;
margin-right: 0;
}

.header-top .container {
padding-left: 0;
padding-right: 0;
}
}

@media screen and (max-width: 480px) {
.list-column.two-col, .list-column.three-col, .list-column.four-col {
width: 100%;
}

.logo img {
width: 230px;
}

.secondary-menu ul.menu a {
padding-left: 5px;
padding-right: 5px;
}

h1 {
font-size: 24px;
}
}
