/*
 Theme Name:   Divi Child
 Theme URI:    http://ejemplo.com/divi-child/
 Description:  Tema hijo de Divi
 Author:       Tu nombre
 Author URI:   http://ejemplo.com
 Template:     Divi
 Version:      1.0.0
*/

/* Estilos adicionales van aquí */

#cookies {
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
    z-index: 999999;
    overflow-y: auto;
}

#cookies .aviso-cookies,
#cookies .ajuste-cookies {
    display: none;
    position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 700px;
    padding: 20px 24px;
}

#cookies .ck-details {
    padding-top: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eeeeee;
}

#cookies .ck-details svg {
    top: 3px;
    position: relative;
}

#cookies .ck-details a {
    margin-bottom: 16px;
    display: block;
}

#cookies .ck-details b {
    font-size: 16px;
    line-height: 16px;
    font-weight: normal;
    margin-left: 5px;
    cursor: pointer;
}

#cookies h2 {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
}

#cookies p {
    padding-bottom: 16px;
}

#wrapper-cookies-page-btn {
    width: 250px;
}

#cookies .boton-oscuro,
#wrapper-cookies-page-btn .boton-oscuro {
    background: #006072;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 16px;
    padding: 16px 20px;
    border-radius: 100px;
    cursor: pointer;
    color: #ffffff;
    margin-top: 10px;
    transition: all .3s;
}

#cookies .boton-oscuro:hover,
#wrapper-cookies-page-btn .boton-oscuro:hover {
    background: #333333;
}

#cookies .boton-claro,
#wrapper-cookies-page-btn .boton-claro {
    background: #eeeeee;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 16px;
    padding: 16px 20px;
    border-radius: 100px;
    cursor: pointer;
    color: #333333;
    margin-top: 10px;
    transition: all .3s;
}

#cookies .boton-claro:hover,
#wrapper-cookies-page-btn .boton-claro:hover {
    background: #333333;
    color: #ffffff;
}

#cookies .parrafo {
    display: none;
}

#cookies .switch {
    position: absolute;
    display: inline-block;
    width: 60px;
    height: 34px;
    right: 50px;
}

#cookies .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#cookies .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#cookies .switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#cookies .switch input:checked+.slider {
    background-color: #6a8e33;
}

#cookies .switch input:focus+.slider {
    box-shadow: 0 0 1px #6a8e33;
}

#cookies .switch input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

#cookies .switch .slider.round {
    border-radius: 34px;
}

#cookies .switch .slider.round:before {
    border-radius: 50%;
}

/* ------ COOKIES v2.0 */
#modalCookies.modal {
    overflow-y: auto !important;
    top: unset !important;
}

#modalCookies.modal .modal-dialog {
    width: auto;
    margin: 0 auto;
}

#modalCookies.modal .modal-content {
    background: url(../img/fnd-rugoso.png) repeat center;
    border-radius: 0 !important;
}

#modalCookies.modal .modal-footer .btn {
    background-color: #e3aa53 !important;
    background-image: none;
    padding: 1em;
    border-radius: 0.625em;
    margin: 1em auto;
    border: none;
    color: #000;
    text-shadow: none;
}

@media (max-width: 575px) {
    #modalCookies.modal .modal-footer {
        text-align: center;
    }
}


#modalAjustesCookies .table>tbody>tr>td {
    padding: 8px 0 0 0 !important;
}


@media (max-width: 575px) {
    #modalAjustesCookies .modal-footer {
        text-align: center;
    }


    #modalAjustesCookies .btn {
        background-color: #e3aa53 !important;
        background-image: none;
        padding: 1em;
        border-radius: 0.625em;
        margin: 1em auto;
        border: none;
        color: #000;
        text-shadow: none;
    }
}


/*  ------ COOKIES v2.0 */