/* --------------------- */
/*  ----- COOKIES -----  */
/* --------------------- */
.oculto {
    display: none !important;
}

#cookies {
    position: fixed;
    overflow: scroll;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    font-size: 14px;
    z-index: 999;
    text-align: justify;
    background-color: #1d8a8aa3;
    font-family: Gotham !important;
}

#cookies p, #cookies li {
    color: #002b45;
}

#cookies>div {
    background-color: #fff;
    padding: 15px 30px;
}

#cookies ul {
    list-style-type: none;
}

#cookies .cook_head_1, .cook_head_2 {
    margin-bottom: 10px;
}

#cookies .cook_head_1 a, .cook_head_2 a {
    font-weight: bold;
    text-decoration: underline;
}

#cookies .cook_head_1 img {
    margin: auto;
    display: block;
}

#cookies .cook_head_1 h3 {
    text-align: center;
}

.cook_footer_1, .cook_footer_2 {
    margin: 15px 0;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}

#cook_config, #cook_back {
    color: rgb(29 138 138);
    cursor: pointer;
    border: none;
    background-color: #fff;
    margin: 20px 0;
}

#cook_back {
    color: inherit;
}

.btn_cook {
    background-color: rgb(29 138 138);
    color: white;
    padding: 10px 20px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
}

#cook_save {
    background-color: #ffffff;
    color: inherit;
    border-radius: 2px;
    border: 1px solid #002b45;
    padding: 10px 20px;
    width: 100%;
    cursor: pointer;
}

.cook_save {
    background-color: #ffffff;
    color: inherit;
    border-radius: 2px;
    border: 1px solid #002b45;
    padding: 10px 20px;
    cursor: pointer;
}

#cookies #headingOne>a+div>p {
    background-color: #2c4054;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 12px;
}

#cookies .card {
    border-bottom: 1px solid #e3e9e9;
    padding: 10px 0;
}

#cookies .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cookies .card-header>a>img {
    margin-right: 16px;
}

#cookies .card-body {
    padding: 5px 10px;
    font-style: italic;
}

#cookies .btn-link {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#cookies .btn-link:hover {
    text-decoration: none;
}

#cookies a.btn-link::before {
    background-image: url(/web_cookies/static/img/up.png);
    background-repeat: no-repeat;
    background-size: 16px;
    content: '';
    display: inline-block;
    height: 24px;
    left: -11px;
    position: relative;
    width: 24px;
}

#cookies a.collapsed::before {
    background-image: url(/web_cookies/static/img/down.png);
    background-repeat: no-repeat;
    background-size: 16px;
    content: '';
    display: inline-block;
    height: 24px;
    left: -11px;
    position: relative;
    width: 24px;
}

#cookies .type {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid #d6d6d6;
    border-radius: 1em;
    margin-bottom: 0.5em;
    padding: 1em;
}

#cookies .type span {
    font-weight: bold;
}

@media (min-width: 768px) {
    .cook_footer_1, .cook_footer_2 {
        flex-direction: row;
    }

    #cookies {
        padding: 10% 20%;
    }

    #cook_save {
        /*margin: 0 0 0 50%;*/
        width: inherit;
    }

    #cook_config, #cook_back {
        margin: 0;
    }
}

@media (min-width: 1200px) {
    #cook_save {
        /*margin: 0 0 0 60%;*/
        width: inherit;
    }
}

/* INPUT ON/OFF */
#cookies .switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    cursor: pointer;
}

#cookies .switch input[type=checkbox] {
    opacity: 0;
    height: 0;
    width: 0;
}

#cookies .switch input[type=checkbox]+span {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    background: #f44336;
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

#cookies .switch input[type=checkbox]:checked+span {
    background: #4caf50;
}

#cookies .switch input[type=checkbox]+span:after {
    position: absolute;
    content: "\00a0";
    display: block;
    border-radius: 25px;
    height: 20px;
    width: 18px;
    background: white;
    top: 2px;
    left: 3px;
}

#cookies .switch input[type=checkbox]:checked:focus+span:before {
    position: absolute;
    content: "\00a0";
    display: block;
    border-radius: 25px;
    height: 32px;
    width: 32px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    margin-left: -9px;
    margin-top: -6px;
    opacity: 0.5;
}

#cookies .switch input[type=checkbox]:checked+span:after,
#cookies .switch input[type=checkbox]:checked+span:before {
    left: calc(100% - 22px);
}

/* ------------*/
/* COOKIES END */
/* ------------*/