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,
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,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 18px;
    vertical-align: baseline;
    font-family: 'Open Sans', sans-serif;
    color: #004797;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
}

.bg-light {
    background-color: #fff;
}

.bg-grey {
    background-color: #eaeaea;
}

.bg-dark-blue {
    background-color: #d7e8ff;
}

.bg-dark-orange {
    background-color: #FAA286;
}

.bg-light-blue {
    background-color: #b3e2f0;
}

.bg-darker-blue {
    background-color: #00518f;
}

.light {
    color: #fff;
}

.grey {
    color: #5b5b5f;
}

.dark-blue {
    color: #004797;
}

.light-blue {
    color: #6cbfd4;
}

.dark-grey {
    color: #59595b;
}

.bold {
    font-weight: bold;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-underline {
    text-decoration: underline;
    letter-spacing: -0.8px;
}

.margen-especial {
    margin: 0 0 20px 0;
}

.clear {
    clear: both;
}

.show-middle {
    display: none;
}

.hide-middle {
    display: block;
}

.show-mob {
    display: none;
}

.hide-mob {
    display: block;
}

h1 {
    font-size: 22px;
    font-weight: bold;
}

h2 {
    font-size: 18px;
    font-weight: normal;
}

h3 {
    font-size: 1.20em;
    margin: 20px 0 0 0;
}

.nota {
    font-size: .8em;
    letter-spacing: -0.035em;
}

.bull {
    color: #6cbfd4;
    margin-right: 10px;
}

img.responsive {
    width: 100%;
}

.wrapper {
    width: 100%;
    display: block;
}

.header {
    position: fixed;
    z-index: 999;
}

.category-info {
    position: fixed;
    z-index: 998;
    top: 70px;
}

.header .container {
    position: relative;
    padding: 30px 0;
    /*max-width: 95%;*/
}

.header .web-link {
    position: relative;
    float: left;
    padding: 3px 0;
    width: auto;
    font-weight: bold;
}

.header .logo {
    position: absolute;
    right: 0;
    top: 15px;
    width: auto;
}

.header-home .logo {
    position: absolute;
    right: 2%;
    top: 15px;
    width: auto;
}

.padding-menu-fixed {
    padding: 152px 0 0 0;
}

.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 15px 0;
}

.container:after {
    content: '';
    display: block;
    clear: both;
}

.container.footer {
    padding: 5px 0;
}

.portada {
    height: 100vh;
    background: url(../img/portada.jpg) no-repeat center;
    background-size: cover;
    max-width: initial;
    padding: 0;
}

.img-row {
    width: 160px;
    display: inline-block;
    margin: 10px 10px 0 0;
}

.img-row.inline {
    width:  50%;
    display: block; float:left;
    margin: 0;
}

@media all and (max-width: 575px) {
    .img-row.inline, .img-row {
        width: 100%; margin: 10px 10px 0 0;
    }
}


/*.container img { display: block; width: 100%; }*/

.header-home #menu {
    display: none;
}

#menu {
    margin: 0 auto;
    list-style-type: none;
    display: flex;
    width: fit-content;
}

#menu li {
    width: auto;
    font-size: 17px;
    padding: 3px 30px;
    margin: 0;
    text-align: center;
    position: relative;
    border-right: 1px solid #5a88bc;
}

#menu li:nth-child(3) {
    border-right: none;
}

#menu li a:hover {
    color: #6cbfd4;
}

#menu li a.selected {
    color: #6cbfd4;
}

#menu li a {
    color: #00518f;
    font-weight: bold;
    width: 100%;
    display: block;
}

#menuToggle input {
    display: none;
}


/* menu home*/

.home-menu li {
    border-right: none !important;
}

.home-menu li a {
    padding: 0px 8px;
}

.home-menu li a:hover {
    color: #00518f !important;
    background-color: #6cbfd4;
    border-radius: 15px;
}


/* menu desplegable */

ul#menu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #bfdbff;
    padding: 0;
    width: 100%;
}


/* items del menu desplegable */

ul#menu li ul li {
    float: none;
    width: 100% !important;
    padding: 15px 0px;
    text-align: left;
}


/* enlaces de los items del menu desplegable */

ul#menu ul a {
    line-height: 120%;
    padding: 0px 15px;
    font-family: 'Open Sans', sans-serif;
    color: #004b97;
    font-size: 1.1em;
}


/* items del menu desplegable al pasar el ratón */

ul#menu li:hover>ul {
    display: block;
}

.under {
    text-decoration: underline;
}

.download {
    background-color: #ff5722;
    padding: 8px 20px;
    color: #fff;
}

.download:hover {
    text-decoration: underline;
}


/* grid-posts */

#grid-posts {
    width: 100%;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    padding: 0;
    margin-bottom: 30px;
}

.card {
    position: relative;
}

.card a:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: all .5s;
}

.card a:hover:after {
    background-color: rgb(0, 71, 151, 0.8);
}

.square {
    position: relative;
    width: 50%;
    float: left;
}

.square:before {
    content: "";
    display: block;
    padding-top: 100%;
    float: left;
}

.square.photo {
    background-size: cover;
}

.square span {
    position: absolute;
    top: 0;
    right: 5%;
    bottom: 0;
    left: 8%;
    color: #ffffff;
    font-size: 16px;
    line-height: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.post .square span {
    font-size: 14px;
    line-height: 16px;
}

.text-portada {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.text-portada h1 {
    font-size: 55px;
    line-height: 55px;
}

#post-content {
    padding: 0;
    margin-bottom: 30px;
}

#post-content .square span {
    font-size: 12px;
}

#post-content div,
#post-content p,
#post-content strong,
#post-content b,
#post-content a {
    font-family: verdana;
    font-size: 12px;
    margin-bottom: 15px;
}

#post-content div {
    margin-bottom: 0px;
}

#post-content div.bg-type-1 {
    margin: 5px 0;
    padding: 10px;
    background-color: #f9dead;
}

#post-content div.bg-type-2 {
    margin: 5px 0;
    padding: 10px;
    background-color: #c1e6e3;
}

#post-content div.bg-type-3 {
    margin: 5px 0;
    padding: 10px;
    background-color: #ecf7fe;
}

#post-content span.title {
    font-weight: bold;
}

#post-content div a {
    word-break: break-all;
}

#post-content .list-items {
    display: block;
    float: left;
    width: 100%;
}

#post-content .list-items a,
#post-content .list-items div {
    margin: 0 5px 0 0;
    float: left;
    display: block;
    line-height: 40px;
}

#post-content .list-items.nota {
    font-size: 12px;
    line-height: 20px;
}

.ico-store {
    height: 40px;
}

.card:nth-child(1) .square {
    float: left;
}

.card:nth-child(2) .square {
    float: left;
}

.card:nth-child(3) .square {
    float: right;
}

.card:nth-child(4) .square {
    float: right;
}

.card:nth-child(5) .square {
    float: left;
}

.card:nth-child(6) .square {
    float: left;
}

.card:nth-child(7) .square {
    float: right;
}

.card:nth-child(8) .square {
    float: right;
}

.card:nth-child(9) .square {
    float: left;
}

.card:nth-child(10) .square {
    float: left;
}

.card:nth-child(11) .square {
    float: right;
}

.card:nth-child(12) .square {
    float: right;
}

.card:nth-child(13) .square {
    float: left;
}

.card:nth-child(14) .square {
    float: left;
}

.card:nth-child(15) .square {
    float: right;
}

.card:nth-child(16) .square {
    float: right;
}

.card:nth-child(17) .square {
    float: left;
}

.card:nth-child(18) .square {
    float: left;
}

.card:nth-child(19) .square {
    float: right;
}

.card:nth-child(20) .square {
    float: right;
}
.card:nth-child(21) .square {
    float: left;
}

.card:nth-child(22) .square {
    float: left;
}

.card:nth-child(23) .square {
    float: right;
}

.card:nth-child(24) .square {
    float: right;
}


/*GRID*/

.col-30 {
    width: 26%;
    margin: 0 4% 0 0;
    float: left;
}

.col-50 {
    width: 50%;
    margin: 0;
    float: left;
}

.col-70 {
    width: 66%;
    margin: 0 4% 0 0;
    float: left;
}

.nota {
    font-weight: bold;
    font-size: .8em;
}

.footer>a {
    font-size: 12px;
    line-height: 37px;
    margin: 0 8px;
}

.rrss {
    display: flex;
    width: 100%;
    max-width: 140px;
    margin: 0 0 0 auto;
    float: right;
}

.rrss li {
    padding: 0 5px;
}

.rrss li a {
    width: 35px;
    height: 35px;
    border: 1px solid #004797;
    display: block;
}

.rrss li a:hover>svg {
    color: #6cbfd4;
}

.rrss li a svg {
    color: #004797;
    font-size: 1.2em;
    display: block;
    margin: 0 auto;
    padding-top: 6px;
}

img.full_screen {
    width: 100%
}


/*RESPONSIVE*/

@media all and (max-width: 1440px) {}

@media all and (max-width: 1024px) {
    .container {
        width: 90%;
    }
    .header-home #menu {
        display: block;
    }
    nav {
        position: absolute;
        top: 0;
    }
    #menuToggle {
        display: block;
        position: absolute;
        top: 30px;
        left: 30px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
    }
    #menuToggle input {
        display: block;
        width: 50px;
        height: 50px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        /* hide this */
        z-index: 2;
        /* and place it over the hamburger */
        -webkit-touch-callout: none;
    }
    /** Just a quick hamburger **/
    #menuToggle span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #00518f;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
    }
    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }
    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }
    /** Transform all the slices of hamburger * into a crossmark.*/
    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #00518f;
    }
    /* But let's hide the middle one. */
    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }
    /* Ohyeah and the last one should go the other direction */
    #menuToggle input:checked~span:nth-last-child(2) {
        opacity: 1;
        transform: rotate(-45deg) translate(0, -1px);
    }
    /* Make this absolute positioned * at the top left of the screen*/
    #menu {
        display: block;
        position: absolute;
        width: 315px;
        margin: 0;
        top: 50px;
        left: -30px;
        background: rgba(255, 255, 255, .8);
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */
        transform-origin: 0% 0%;
        transform: translate(0, -150%);
    }
    #menu li {
        font-size: 19px;
        padding: 10px 5px;
        color: #003245;
        text-align: center;
    }
    /* And let's fade it in from the left */
    #menuToggle input:checked~ul {
        transform: translate(0, 10px);
        opacity: 1;
    }
    #menuToggle {
        top: 32px;
        right: 40px;
    }
    #menu li {
        width: 100% !important;
        text-align: center;
        border-right: none;
    }
    #menu li a {
        line-height: 2em;
    }
    /* menu home*/
    .home-menu li a {
        padding: 0px 8px;
    }
    .home-menu li a:hover {
        color: #6cbfd4 !important;
        background-color: unset;
        border-radius: 0;
    }
    .show-middle {
        display: block;
    }
    .hide-middle {
        display: none;
    }
}

@media all and (max-width: 768px) {
    #grid-posts {
        width: 100%;
    }
    .category-info {
        position: relative;
        z-index: 998;
        top: 70px;
    }
    .padding-menu-fixed {
        padding: 80px 0 0 0;
    }
    #post-content {
        padding: 20px 0;
        margin-bottom: 30px;
    }
    .show-mob {
        display: block;
    }
    .hide-mob {
        display: none;
    }
    .header-home {
        background-color: rgb(255, 255, 255, .8);
    }
    .card:nth-child(1) .square {
        float: left;
    }
    .card:nth-child(2) .square {
        float: right;
    }
    .card:nth-child(3) .square {
        float: left;
    }
    .card:nth-child(4) .square {
        float: right;
    }
    .card:nth-child(5) .square {
        float: left;
    }
    .card:nth-child(6) .square {
        float: right;
    }
    .card:nth-child(7) .square {
        float: left;
    }
    .card:nth-child(8) .square {
        float: right;
    }
    .card:nth-child(9) .square {
        float: left;
    }
    .card:nth-child(10) .square {
        float: right;
    }
    .card:nth-child(11) .square {
        float: left;
    }
    .card:nth-child(12) .square {
        float: right;
    }
    .card:nth-child(13) .square {
        float: left;
    }
    .card:nth-child(14) .square {
        float: right;
    }
    .card:nth-child(15) .square {
        float: left;
    }
    .card:nth-child(16) .square {
        float: right;
    }
    .card:nth-child(17) .square {
        float: left;
    }
    .card:nth-child(18) .square {
        float: right;
    }
    .card:nth-child(19) .square {
        float: left;
    }
    .card:nth-child(20) .square {
        float: right;
    }
    .col-30 {
        width: 50%;
        margin: 0;
    }
    .col-50 {
        width: 100%;
        margin: 0;
    }
    .col-70 {
        width: 50%;
        margin: 0;
    }
    .rrss {
        margin: 0 auto;
        float: none;
    }
}

@media all and (max-width: 480px) {}