#cookie-notice-popup {
    display: none;
}

.cookie-notice {
    background: #333;
    z-index: 9999999;
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
    font-size: 14px;
}

@media (min-width: 1024px) {
    .cookie-notice {
        box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.19);
        border-radius: 4px;
        position: fixed;
        bottom: 20px;
        right: 20px;
        max-width: 475px;
    }
}

@media (max-width: 1023px) {
    .cookie-notice {
        border-style: none;
        border-radius: 0;
    }
}

.cookie-notice .body {
    margin-bottom: 0;
    margin-right: 0;
    bottom: 0;
    padding: 0 1em 1em;
}

.cookie-notice .body p {
    margin-bottom: 0.5em;
    color: #fff;
    margin-top: 0.7rem;
    text-align: justify;
}
#cookies-details-modal .c-modal .header a,
.cookie-notice .body a {
    color: #fff;
    text-decoration: underline;
}
#cookies-details-modal .c-modal .header a:hover,
.cookie-notice .body a:hover {
    color: #fff;
    text-decoration: none;
}

.cookie-notice .bottom {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

@media (min-width: 30em) {
    .cookie-notice .bottom {
        flex-wrap: nowrap !important;
    }
}

.cookie-notice .bottom .buttons {
    display: flex;
}

.cookie-notice .bottom a {
    width: 30%;
}

@media (min-width: 30em) {
    .cookie-notice .bottom .buttons {
        flex-direction: row !important;
        gap: 0.6rem;
    }
}
.form-footer .btn,
.cookie-notice .btn {
    color: #333;
    background: #F2F2F2;
    font-weight: bold;
    border-radius: 6px;
    padding: 0.4rem;
    margin-right: 0.5em;
    border: 0 currentColor;
    font-size: 1em;
    cursor: pointer;
}

.form-footer .btn:hover,
.cookie-notice .btn:hover {
    background: #e1e1e1;
    text-decoration: underline;
}

/*.form-footer .btn-danger,*/
/*.cookie-notice .btn-danger {*/
/*    transition: background-color .25s ease;*/
/*    color: #fff;*/
/*    background-color: #d9534f;*/
/*    border-color: #d43f3a;*/
/*    text-shadow: none;*/
/*}*/

/*.form-footer .btn-danger:hover,*/
/*.cookie-notice .btn-danger:hover {*/
/*    background-color: #c9302c;*/
/*    border-color: #ac2925;*/
/*}*/

/*.form-footer .btn-success,*/
/*.cookie-notice .btn-success {*/
/*    transition: background-color .25s ease;*/
/*    color: #fff;*/
/*    background-color: #5cb85c;*/
/*    border-color: #4cae4c;*/
/*    text-shadow: none;*/
/*}*/

/*.form-footer .btn-success:hover,*/
/*.cookie-notice .btn-success:hover {*/
/*    background-color: #449d44;*/
/*    border-color: #398439;*/
/*}*/

/* POPUP DETALLES DE LAS COOKIES*/

#cookies-details-modal {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    left: 0;
    top: 0;
    z-index: 10000;
}

#cookies-details-modal .c-modal {
    z-index: 1001;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.19);
    width: 100%;
    max-height: 98%;
    top: 50%;
    transform: translateY(-50%);
    position: fixed;
    overflow: auto;
    background: #333;
    color: #eee;
}

@media (min-width: 660px) {
    #cookies-details-modal .c-modal {
        border-radius: 4px;
        position: relative;
        margin: 0 auto;
        max-width: 640px;
        height: auto;
        width: auto;
    }
}

#cookies-details-modal .close-modal {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
}

#cookies-details-modal .close-modal button {
    color: #eee;
    background: transparent;
    border: 0 currentColor;
    font-size: 1.5rem;
    cursor: pointer;
}

#cookies-details-modal .c-modal .header {
    padding: 1em;
    border-bottom: 1px solid #555;
}

#cookies-details-modal .c-modal .header .title {
    font-size: 2.5rem;
}

#cookies-details-modal .c-modal .body {
    padding: 1em;
}

#cookies-details-modal .c-modal .body .form-group {
    display: grid;
    grid-template-columns: auto  1fr;
    column-gap: 1rem;
    margin-bottom: 1em;
}

#cookies-details-modal .c-modal .body .form-group .title {
    font-weight: 600;
}
#cookies-details-modal .c-modal .body .form-group .necessary {
    padding-left: 0.2em;
    font-size: 0.8em;
    color: #e5e5e5;
}

#cookies-details-modal .form-group .applications-summary {
    cursor: pointer;
}

#cookies-details-modal .form-group .applications {
    display: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
}

.form-footer .btn {
    padding: 0.7rem;
}





/*UTILS*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 23px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
