@media only screen and (max-width: 767px){
    .navbar nav {
        top: 0px;
    }
}

@media (max-width: 767px){
    .menu_button span {
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        background-color: black;
        width: 100%;
        height: 3px;
        transition: all 150ms;
    }
}

@media (max-width: 767px){
    .container .menu_button {
        display: block;
        position: relative;
        float: right;
        margin-top: 12px;
        margin-right: 16px;
        width: 25px;
        height: 15px;
        z-index: 9;
    }
}

@media (max-width: 767px){
    .menu_button span + span {
        top: 6px;
    }
}

@media (max-width: 767px){
    .menu_button span + span + span {
        top: 12px;
    }
}

.container .menu_button.open + .navbar nav {
    padding: 10px 0px;
    height: auto;
    opacity: 1;
}

/* Navigation bar style */

.navbar nav {
    display: block;
    position: absolute;
    top: -37px;
    left: 0px;
    background-color: #fff;
    width: 100%;
    height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: opacity 150ms;
}
@media (min-width: 768px){
    .navbar nav {
        display: block;
        position: static;
        float: right;
        background-color: transparent;
        width: auto;
        height: auto;
        opacity: 1;
        overflow: visible; 
        /* padding-bottom: 15px;
        margin-top: 50px; */
        padding-bottom: 0px;
        margin-top: 12px;
    }
}

.navigation a.active{
    color: #ed1c24;
    cursor: default;
    pointer-events: none;
}

#menudespl ul{
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1;
}

#menudespl ul a{
    display: block;
    font-weight: 650;
    font-size: 15px;
    padding: 10px 10px 0px 10px;
    letter-spacing: 1px;
    height: auto;
}
@media screen and (min-width: 300px){
    #menudespl ul a{
        height: 48px;
    }
}
#menudespl ul > li > a{
    transition: color 0.3s ease;
}

#menudespl ul span{
    display: block;
    font-weight: 400;
    font-size: 15px;
    /* padding: 10px; */
    letter-spacing: 1px;
    cursor: default;
}

#menudespl ul span:hover{
    background: white;
}

#menudespl ul li{
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;

}
@media(max-width: 760px){
    #menudespl ul li{
        width: 100%;
    }
}
/* #menudespl ul li:hover {
        color: #48B8C8;
         background: #48B8C8;
} */


#menudespl ul ul {
    /* display: none; */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s linear;
    position: absolute;
    top: 8px;
    background: transparent;
    left: 0;
    padding: 0;
    border-radius: 0px 0px 6px 6px;
}

@media screen and (min-width: 468px){
    #menudespl ul ul {
        top: 68px;
        background: white;
    }
}

#menudespl ul ul li {
    float: right;
    width: 345px;				/* size of the drop-down menu items */
    background: #48B8C8;
    border-bottom: 1px solid #a3ced4;
}
#menudespl ul li.calcular-inner ul li, #menudespl ul li.juega-inner ul li{
    width: 120px;
}
@media screen and (min-width: 468px){
    #menudespl ul li.calcular-inner ul li, #menudespl ul li.juega-inner ul li{
        width: 190px;
    }
}
#menudespl ul ul li:last-child{
    border-radius: 0px;
    border-bottom: 0px;
}
@media screen and (min-width: 468px){
    #menudespl ul ul li:last-child{
        border-radius: 0px 0px 6px 6px;
    }
}
#menudespl ul ul li.active{
    color: white;
    background: #3193a0;
}
#menudespl ul ul li.active:hover{
    color: white;
    background: #3193a0;
}

#menudespl ul ul a {
    line-height: 120%;
    padding: 12px 10px;
    font-weight: 500;
    color: #fff;
    width: 100%;
    font-size: 12px;
    height: auto;
}

#menudespl ul ul span {
    line-height: 120%;
    padding: 20px 10px;
}
#menudespl ul ul li:hover {
    background: #40acbb;
}
#menudespl ul ul a:hover {
    color: white;
}

#menudespl ul ul a.active {
    color: white;
}

#menudespl ul li:hover > ul {
    /* display: block; */
    visibility: visible;
    opacity: 1;
}

/* It only works if a li has another li before */
/*#menudespl ul ul li + li{
        border-top: 1px solid black;
}*/

.navdisabled{
    background: white;
    cursor: none;
    color: #c1c1c1;
}

/* "Te recomendamos..." style */

.recommendedarticles{
    transition: all 0.3s ease;
}
.recommendedarticles:hover{
    transform: scale(1.1);
    background-color: blanchedalmond;
}

/* "Quizás también te guste..." style */

.maybelikegeneral{
    transition: all 0.3s ease;
}

.maybelikegeneral:hover{
    transform: scale(1.1);
    cursor: pointer;
}

/* .primary a:hover{
        transform: scale(1.1);
        font-weight: bold;
}

.secondary a:hover{
        transform: scale(1.1);
        font-weight: bold;
} */

.danger a:hover{
    transform: scale(1.1);
    font-weight: bold;
}