/* MODAL POPOVERS */

body.modal-open {
    overflow-y: visible;
    padding-right: 0px !important;
}

.modal-backdrop {
    display: none !important;
}

.modal-open .modal {
    /*width: 300px;*/
    width: 100%;
    margin: 0 auto;
}

.modal-header {
    border-bottom: 2px solid;
    padding: .6rem 1rem;
}

.modal.right .modal-dialog {
    margin: auto;
    width: 420px;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.right .modal-body {
    font-size: .84rem;
    line-height: 1.6;
    font-weight: 300;
}

.modal-title {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.modal.right.fade .modal-dialog {
    position: fixed;
    right: 50px;
    bottom: 50px;
    -webkit-transition: opacity 0.8s linear, right 1s ease-out;
    -moz-transition: opacity 0.8s linear, right 1s ease-out;
    -o-transition: opacity 0.8s linear, right 1s ease-out;
    transition: opacity 0.8s linear, right 1s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

@media (max-width: 576px) {
    .cafalerta span {
        font-size: .8rem;
        line-height: 1.9;
    }

    .modal.right.fade .modal-dialog {
        position: fixed;
        /*right: 12%;*/
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
    }

    .modal.right .modal-dialog {
        margin: auto;
        /*width: 320px;*/
        width: 90%;
    }
}

.modal-backdrop {
    background-color: #fff0;
}

.modal-content {
    -webkit-box-shadow: 9px 13px 10px -8px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 9px 13px 10px -8px rgba(0, 0, 0, 0.14);
    box-shadow: 9px 13px 10px -8px rgba(0, 0, 0, 0.14);
}

.close {
    float: right;
    font-size: .5rem;
    font-weight: 100;
    line-height: 0px;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    opacity: 1;
    color: #fff;
    position: relative;
}

.caf_modal_blog_about .close {
    color: inherit;
}

.modal-header .close {
    padding: .8rem;
    margin: 0rem -.5rem -1rem auto;
}

.close span {
    position: absolute;
    top: 9px;
    right: 10px;
}

.close:hover {
    color: #fff;
}

.caf_modal_blog_about .close:hover {
    color: inherit;
}

.btn_cookies {
    padding: 0.175rem 0.75rem;
    margin-top: 0.75rem;
}


/* ALERTAS */
.cafalerta {
    display: none;
}

.cafalerta .row {
    height: 72px;
}

.cafalerta.active {
    display: block;
    top: 0px !important;
    padding-right: 0px !important;
}

/*.cafalerta.active {
    display: block;
}*/

/*.cafalerta-active {
    top: 72px !important;
}*/

.cafalerta-active-pad {
    padding-top: 0px !important;
    /*padding-top: 72px !important;*/
}

.cafalerta-close {
    cursor: pointer;
}

.cafalerta a {
    color: #fff;
    text-decoration: underline;
}

.cafalerta_bread_active {
    top: 144px
}

.fixed-top {
    z-index: 100 !important
}

.caf_menu_principal.cafalerta-active {
    top: 72px !important;
}