.estesoft {
    display: none;
}

#TipsError, #TipsInfo {
    display: none;
}

#CookiesPreferences button {
    font-size: 90% !important;
    height: auto !important;
}
#CookiesPreferences #SubmitAcceptAll {
    background-color: dodgerblue;
}

/* Contenitore principale */
#CookieContainer {
    font-size: 80%;
    margin-top: 50px;
    width: 100%;
}

/* ----------------------------- */
/* Categoria */
#CookieContainer .category {
    padding: 10px;
    background-color: #f0f4fb;
    border-radius: 5px;
    margin-bottom: 1px;
}

/* Categoria - description */
#CookieContainer .category-description {
    /*background-color: lightyellow;*/
    display: none;
    padding: 5px;
}

/* Categoria - header */
#CookieContainer .category-header {
    height: auto;
    white-space:normal;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

/* Categoria - header - title */
#CookieContainer .category-title {
    line-height: 24px;
    padding-right: 24px;
    margin-right: 3px;
    margin-top: -8px;
    background-image: url(/wp-content/plugins/estesoft/assets/images/buttons/detail.png);
    background-position: right 3px;
    background-repeat: no-repeat;
    background-size: 24px;
    width: 100%;
    font-size: 120%;
    text-align: left;
    vertical-align: middle;
}

/* Categoria - header - toggle */
#CookieContainer .category-toggle {
    margin-top: -40px;
    text-align: right;
    vertical-align: middle;
}

/* Categoria - header - toggle (input)
*  https://alvarotrigo.com/blog/toggle-switch-css/
*/
#CookieContainer .category-toggle input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

#CookieContainer .category-toggle label {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: grey;
    display: block;
    border-radius: 25px;
    border: 2px solid black;
    position: relative;
}

#CookieContainer .category-toggle label:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 20px;
    transition: 0.3s;
}

#CookieContainer .category-toggle input:checked + label {
    background: #00eeff;
}
#CookieContainer .category-toggle input:disabled + label {
    background: lightgrey;
}

#CookieContainer .category-toggle input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

#CookieContainer .category-toggle label:active:after {
    width: 30px;
}

#CookieContainer .category-content {
    display: none;
}

/* ----------------------------- */

/* Provider */
#CookieContainer .provider {
    background-color: #c0cbff;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 10px;
}

/* Provider - header */
#CookieContainer .provider-header {
    white-space: normal;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

/* Provider - header - title */
    #CookieContainer .provider-title {
        line-height: 24px;
        padding-right: 24px;
        margin-right: 6px;
        margin-top: -3px;
        background-image: url(/wp-content/plugins/estesoft/assets/images/buttons/detail.png);
        background-position: right 2px;
        background-repeat: no-repeat;
        background-size: 24px;
        overflow: hidden;
        width: 100%;
        text-align: left;
        vertical-align: middle;
    }

/* Provider - header - toggle */
#CookieContainer .provider-toggle {
    text-align: right;
}

/* Provider - header - toggle (label) */
#CookieContainer .provider-toggle label {
    display: none;
}

/* Provider - header - toggle (input) */
#CookieContainer .provider-toggle input {
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
    transform: scale(1.5);
    padding: 10px;
    vertical-align: middle;
}

/* Provider - content */
#CookieContainer .provider-content {
    display:none;
}

#CookieContainer .provider-content table {
    background-color: #dee3fb;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 10px;
    width: 100%;
}

#CookieContainer .provider-content table th {
    font-weight: normal;
    text-align: left;
    width: 30%;
}

#CookieContainer .provider-content table th,
#CookieContainer .provider-content table td {
    padding: 2px;
}
