#aljamirCookiesDiv {
    background: #c3a572;
    padding: 40px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 9999;
    overflow: auto;
    overflow-x: hidden;
    max-height: 70vh;
}

#aljamirCookiesAboutTitle {
    font-size: 18px;
    font-weight: bold;
}

#aljamirCookiesDiv p {
    color: #000;
}

#aljamirCookiesDiv a {
    color: #000 !important;
    border-bottom: 1px dotted #000;
}

#aljamirCookiesDiv a:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
}

#aljamirCookiesAccept {
    display: inline-block;
    border: 2px solid #000;
    padding: 10px 20px;
    width: auto;
}

#aljamirCookiesAboutButtons {
    margin: 30px 0;
}

#aljamirCookiesAboutButtons button {
    background: #000;
    color: #fff;
    padding: 10px;
    border: 0;
    border-radius: 0;
    text-shadow: none;
    box-shadow: none;
}

#aljamirCookiesAcceptSelected {
    background: #a68a5a !important;
    color: #000 !important;
}

#aljamirCookiesAboutButtons button:hover {
    background: #fff !important;
    color: #000 !important;
}

#aljamirCookiesChecks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: center;
    margin: 30px auto 0;
    width: 100%;
}

.aljamirCookiesCheck {
    order: 0;
    align-self: auto;
    margin: 15px;
    cursor: pointer;
}

.aljamirCookiesCheck:first-child {
    margin-left: 0;
}

.aljamirCookiesCheck:last-child {
    margin-right: 0;
}

#aljamirCookiesShowMore,
#aljamirCookiesShowLess {
    padding: 5px 10px;
    border: 1px solid #000;
    transition: all .2s;
}

#aljamirCookiesShowMore:hover,
#aljamirCookiesShowLess:hover {
    color: #fff;
    background: #000;
    border: 1px solid #000;
}

#aljamirCookiesLinkLegal {
    margin: 40px 0;
}

/* Tabla */

#aljamirCookiesTable {
    margin-top: 40px;
    color: #000 !important;
}

#aljamirCookiesTable th {
    padding: 4px;
    background: #a39070;
    font-weight: bold;
    color: #000 !important;
}

#aljamirCookiesTable td {
    color: #000 !important;
}

/* Acordeón */

#tableCookies {
    display: table;
    width: 100%;
    margin: 0;
    box-sizing: border-box;

}

.caption {
    display: block;
    width: 100%;
    font-size: 20px;
    margin: 20px 0;
    box-sizing: border-box;
}


.header-row {
    background: #a39070;
    font-weight: bold;
}

.row {
    display: table-row;
}

.cell {
    display: table-cell;
    padding: 6px;
    border-bottom: 1px solid #666;
    text-align: center;
}

.primary {
    text-align: left;
}


#tableCookies input[type="radio"],
#tableCookies input[type="checkbox"] {
    display: none;
}


@media only screen and (max-width: 760px) {
    .row {
        position: relative;
        display: block;
        border-bottom: 1px solid #666;
        transition: max-height 0.2s ease-out;
    }

    .header-row {
        display: none;
    }

    .cell {
        display: block;
        border: none;
        position: relative;
        text-align: left;
    }

    .primary:after {
        color: #000;
        content: "+";
        position: absolute;
        z-index: 9;
        right: 30px;
        top: 0;
        font-size: 24px;
        font-weight: lighter;

    }

    .cell:nth-of-type(n+2) {
        display: none;
    }


    #tableCookies input[type="radio"],
    #tableCookies input[type="checkbox"] {
        display: block;
        position: absolute;
        z-index: 1;
        width: 99%;
        height: 100%;
        opacity: 0;
    }

    #tableCookies input[type="radio"]:checked,
    #tableCookies input[type="checkbox"]:checked {
        z-index: -1;
    }

    #tableCookies input[type="radio"]:checked ~ .cell,
    #tableCookies input[type="checkbox"]:checked ~ .cell {
        display: block;
    }

    #tableCookies input[type="radio"]:checked ~ .cell:nth-of-type(n+2),
    #tableCookies input[type="checkbox"]:checked ~ .cell:nth-of-type(n+2) {
        background: #ae9770;
    }

    #tableCookies input[type="radio"]:checked ~ .cell:nth-of-type(n+2):before,
    #tableCookies input[type="checkbox"]:checked ~ .cell:nth-of-type(n+2):before {
        content: attr(data-label);
        display: block;
        margin-right: 10px;
        font-weight: bold;
        margin-bottom: 3px;
        font-size: 12px;
        color: #484136;
    }

    #tableCookies input[type="radio"]:checked ~ .primary,
    #tableCookies input[type="checkbox"]:checked ~ .primary {
        background: #a6906a;
        font-weight: bold;
    }

    #tableCookies input[type="radio"]:checked ~ .primary:after,
    #tableCookies input[type="checkbox"]:checked ~ .primary:after {
        color: #000;
        content: "-";
        position: absolute;
        z-index: 9;
        right: 33px;
        top: 0;
        font-size: 24px;
        font-weight: lighter;
    }
}


/* Responsive */

@media all and (max-width:780px) {
    #aljamirCookiesDiv {
        padding: 10px;
        width: 100%;
        left: 0;
        transform: translateX(0);
    }
    .aljamirCookiesCheck {
        flex: 0 1 100%;
        margin: 3px 0;
    }
}

/* Administration */
.adminButton {
    cursor: pointer;
    border-radius: 0;
    border: none;
    padding: 6px 10px;
    margin-bottom: 1em;
    margin-right: 1em;
    color: #fff;
    text-align: center;
    font-weight: normal;
    font-size: 1.077em;
    font-family: "Lucida Grande", Verdana, sans-serif;
    background: #555;
    transition: all, 0.3s;
    min-width: 45px;
}

.submitButton {
    background: #4d8f46;
}

.deleteButton {
    background: #b73939;
}

.editButton {
    background: #0074BD;
}
