/*!
 * Toastify js 1.1.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */



.toastify {
    padding: 12px 20px;
    color: #333333;
    display: inline-block;
    box-shadow: -1px 1px 17px 6px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
    background-color: #ffffff;
    position: fixed;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    min-width: 380px;
    z-index: 9999999;
    max-height: 5em;
}

.toastify:hover{

    background-color: #000000;
}


a.toastify{
}

a.toastify:hover:after{

}

a.toastify:hover{
    color: #EB9C4D;
}


.toastify::before{
    content: url(../img/logo_elecciones_peq.png);
    float: left;
    margin-top: 3px;
}

.toastify:after {
/*    content: 'Abrir';*/
    position: relative;
    text-align: right;
    float: right;
/*    padding-top: 2.6em;*/
    content: url(../img/next.png);
    font-weight: bold;
    padding-top: 1.8em;
}


#notif{
    font-size: 94%;
    /* letter-spacing: 1px; */
   /* margin-left: 20%;
    margin-right: 20%;*/
    /* margin-top: -1px; */
    line-height: 2;
    padding-top: 0;
    float: left;
    padding-left: 5%;
    padding-right: 5%;
    border-right: 1px solid #aaa;
}

#notif b{
    font-size: 120%;
}



/**** Notificaciones de nuevos boletines ******/

ul.desplegable #boletines {
    display: block; 
    text-align: center;
    max-width: 290px;
    overflow: auto;
}

#boletines>li{
    line-height: 1.7em;
    height: auto;
    padding: 0px 16px;
}

#boletines>li a{
    border-bottom: 1px solid #eee;
    padding: 7px 0;
}

li.sinBol{
    text-align: center;
    padding-top: 1em;
    padding-left: 0;
    line-height: 1.7em;
    height: 2.3em;
}

.dropdown #notificaciones_toggle:checked~ul.desplegable.sinBol{
    min-width: 290px;
    overflow: auto;
}


#notificacion {    
    position:absolute;
    right:0;
    top:0;
}

#notificacion label {
    float: right;
    display: inline-block;
}

#notificacion>ul.desplegable {
    float: right; 
    margin-top: 1.1em; 
}

#notificacion ul.desplegable#boletines>li {
    list-style: none;
    width: 100%;
    padding-left: 0;
    padding-top: 1.5em;
    margin-top: 0em;
    padding-right: 0px;
    display: inline-table;
    padding-bottom: 1em;

}

#notificacion ul.desplegable#boletines>li a {
    font-weight: normal;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 75%;
    display: block;
    line-height: 1.5;
    padding-bottom: 0px;
    padding-top: 0px;
    margin: 0px 10%;
    height: 146%;
    width: 80%;

}

#notificacion>ul.desplegable>li span {
    font-size: inherit;
    position: relative;
    display: inline-block;
    padding-top: .5em;
    width: 100%;
    text-align: center;
    font-weight: bold;
    height: 2em;
}

#numeroNotificacion {
    display: none;
     padding: 3px 6px 3px 6px; 
    background: #cc0000;
    color: #ffffff;
    font-weight: bold;
    /* margin-left: 8px; */
    border-radius: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    position: relative;
    float: right;
    /* width: 7px; */
    margin-top: -27px;
    left: -6px;
    font-size: 11px;
    border: 2px solid white;
    line-height: 1;
    pointer-events: none;
}

.tituloNotificacion {
    text-transform: uppercase;
    text-align: center;
    padding-left: 0;
    padding-top: .5em;
    color: #00b0ac;
    font-weight: bold;
}


.toastify.on {
    opacity: .8;
}

.toast-close {
    opacity: 0.4;
    padding: 0 5px;
}
.right {
    right: 15px;
}
.left {
    left: 15px;
}
.top {
    top: -150px;
}
.bottom {
    bottom: -150px;
}
.rounded {
    border-radius: 25px;
}
.avatar{
    width: 1.5em;
    height: 1.5em;
    margin: 0 5px;
    border-radius: 2px;
}


#boletines{
    height: auto;
}

@media only screen and (max-width: 750px) {
    #notificacion {    
        top:-51;
    }
}


@media only screen and (max-width: 500px) {

    .toastify{
        min-width: 290px;
        padding: 8px 15px;
    }

    .toastify::before {
        content: url(../img/logo_elecciones_superpeq.png);
        margin-top: 13px;
    }

    .toastify::after {

        content: url(../img/next_superpeq.png);

        padding-top: 2.2em;
    }

    #notif{
        font-size: 85%;
    }
}


@media only screen and (max-width: 360px){
    .right, .left{
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: fit-content;
    }
}

