/* Reusable CSS Components BEM - Block__Elements_Modifiers */
/*GENERAL*/
html {
font-size: 100%;
}

body {
font-family: Source Sans Pro, Arial;
}

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

a {
color: #0492D0;
}

a:hover {
color: #06A9F0;
}

/*ESPACIADOS*/
.mb-10 {
margin-bottom: 0.5rem;
}

.mb-20 {
margin-bottom: 1.4rem;
}

/*TITLES*/
h1, .h1, h2, .h2, h3, .h3 {
margin-top: 0;
}

h1 {
font-size: 2.7rem;
line-height: 2.8rem;
font-weight: bold;
}

h2 {
font-size: 190%;
font-weight: bold;
line-height: 1.8rem;
}

h4 {
font-size: 1rem;
line-height: 1.2rem;
}

/*FONTS*/
.font-family-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 / 22px 22px no-repeat;
text-indent: -99999px;
font-size: 1px;
line-height: 1px;
width: 50px;
height: 34px;
border: none;
}

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

/*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: #000;
padding-top: 7px;
padding-bottom: 7px;
}

.region-header-top {
display: flex;
justify-content: flex-end;
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;
}

.logo img {
width: 85%;
}

/*HEADER BOTTOM*/
.header-bottom {
background: #FFF;
border-bottom: solid 1px #CCC;
}

/*HIGHLIGHT / SLIDER*/
.highlighted-wrapper {
background: #EFEFEF;
}

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

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

ul.slides {
padding-left: 0;
}

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

.menu span {
cursor: pointer;
}

.main-menu ul.menu a {
color: #000;
text-transform: uppercase;
padding-left: 25px;
padding-right: 25px;
padding-top: 20px;
padding-bottom: 20px;
font-weight: 500;
}

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

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

.main-menu ul.menu ul li a {
padding-top: 15px;
padding-bottom: 15px;
}

.main-menu ul.menu a:hover {
text-decoration: none;
color: #0492D0;
background: 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: #115A9B;
padding-top: 1.8rem;
}

/*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 {
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;
}

/*LISTADO FILAS*/
.listado-filas .views-field-field-imagen {
float: left;
margin-right: 1rem;
margin-top: 5px;
}

.listado-filas .views-field-body {
font-size: 105%;
}

.listado-filas .views-field-title a {
color: #000;
}

.listado-filas .views-row {
overflow: hidden;
margin-bottom: 1rem;
}

.listado-filas .separador {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: solid 1px #CCC;
}

/*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: 1.5rem;
}

/*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;
}

.home-link {
background: url('../images/home-solid.svg') center 15px / 25px no-repeat;
text-indent: -9999999px;
font-size: 1px;
line-height: 1px;
}

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

@media screen and (min-width: 961px) {
.navbar-toggle {
display: none;
}

/*HOME LINK*/
.home-link:hover {
background: url('../images/home-solid.svg') center 15px / 25px no-repeat !important;
opacity: 0.5;
}
}

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

.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;
}

.hide-mobile {
display: none;
}

.logo img {
width: 150px;
}

#block-iconosredessociales {
width: auto !important;
}

.region-navigation .redes-sociales {
width: 100%;
}

.navbar-toggle {
height: 35px;
width: 40px;
background: #ECECEC;
border: none;
border-radius: 3px;
margin-top: 20%;
padding-top: 6px;
}

.navbar-toggle .icon-bar {
border-top: 3px solid #0492D0;
display: block;
margin-bottom: 3px;
margin-top: 3px;
}

.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
margin-left: 0;
margin-right: 0;
}

.navbar-header {
flex-direction: row;
display: flex;
}

.navbar .logo {
margin-left: 0;
padding-left: 0;
}

.redes-sociales .icon a {
width: 25px;
height: 25px;
}

.navbar-header .region-navigation {
flex-wrap: wrap;
}

.navbar-collapse {
background: #FFF;
width: 100%;
}

.navbar-collapse ul.dropdown-menu li a {
padding-top: 5px !important;
padding-bottom: 5px !important;
}

.navbar-collapse ul.dropdown-menu {
background: #EFEFEF;
}

.main-menu ul.menu a {
font-weight: bold;
text-transform: uppercase;
border-right: none;
/*text-align: center;*/
padding-left: 9px;
display: block;
padding-top: 5px;
padding-bottom: 5px;
}

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

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

.region-header-bottom .block-search {
width: 100%;
padding-top: 5px;
padding-bottom: 5px;
}

.region-highlighted {
padding-left: 15px;
padding-right: 15px;
}

.views-field-field-video-youtube {
margin-bottom: 20px;
}

.listado-filas.imagen-grande .views-field-field-imagen {
float: none;
margin-bottom: 1rem;
}

.pager__item a {
margin-bottom: 10px;
}

.footer .redes-sociales {
margin-top: 14px;
}

.caret {
display: none;
}

.home-link {
background: url('../images/home-solid.svg') 10px 15px / 20px no-repeat;
text-indent: -9999999px;
font-size: 1px;
line-height: 1px;
height: 40px;
}

.home-link:hover {
background: url('../images/home-solid.svg') 10px 15px / 20px no-repeat !important;
}

/*MENU RESPONSIVE*/
#block-mainnavigation {
font-family: Source Sans Pro;
}

#block-mainnavigation ul li a {
padding-bottom: 15px;
padding-top: 15px;
font-size: 15px;
}

#block-mainnavigation ul ul li a {
}

#block-mainnavigation ul ul li {
background: #EFEFEF;
}

#block-mainnavigation ul ul {
margin-top: 0;
}

.region-header-bottom {
flex-direction: column;
}

.sf-accordion-toggle {
background: #046691;
font-weight: bold;
text-transform: uppercase;
font-size: 120%;
text-align: center;
padding-top: 7px;
padding-bottom: 7px;
}

.sf-accordion-toggle a {
color: #FFF;
text-decoration: none;
}

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

.search-block-form {
padding-left: 20px;
padding-right: 20px;
}

#superfish-main-accordion {
padding: 0px 15px 15px;
}

.navbar-header .region-navigation {
flex-wrap: nowrap;
flex-direction: row-reverse;
justify-content: space-between;
}

#block-iconosredessociales {
width: 50%;
}

.navbar-header .region-navigation {
display: flex;
}

.logo {
width: 50% !important;
}
}

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

@media screen and (max-width: 768px) {
.show-mobile {
display: block;
}

.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;
}

img.img-responsive {
height: auto;
width: 100%;
}
}

@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%;
}

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

.list-column.two-col {
margin-right: 0;
}

.logo img {
width: 130px;
}
}
