﻿#cookieconsent {
    position: fixed;
    right: 15px;
    bottom: 10px;
    z-index: 1000;
    width: 470px;
    box-shadow: -3px 5px 10px #999;
}

#cookieconsent, .cookieconsent {
    background: #fff;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.cookieconsent-head {
    background: #0098cf;
    color: #FFF;
    padding: 8px;
}

    .cookieconsent-head .cookieconsent-title {
        font-size: 1.25em;
        padding: 5px 4px 3px;
        margin: 0;
        color: #fff;
    }

    .cookieconsent-head .cookieconsent-text {
        font-size: 12px;
        padding: 0 4px;
        margin: 5px 0 0;
        line-height: 1.21428571em;
    }

#cookieconsent-closer {
    float: right;
    margin-top: -23px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin-right: 7px;
}

.cookieconsent-actions #cookiesconsent-accept {
    padding: 7px 15px;
    display: inline-block;
    margin: 15px;
    color: #FFF;
    background: #0098cf;
    border: none;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

    .cookieconsent-actions #cookiesconsent-accept:hover {
        background: #666;
        cursor: pointer;
    }

.cookieconsent-actions .cookieconsent-moreinfo {
    width: 50%;
    float: right;
}

    .cookieconsent-actions .cookieconsent-moreinfo .cookieconsent-moreinfoc {
        font-size: 1em;
        cursor: pointer;
        text-decoration: underline;
        color: #0098cf;
        float: right;
        margin-top: .5rem;
        margin-right: 7%;
        border: none;
        background: 0 0;
    }

#cookieconsent-dialog .modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

#cookieconsent-dialog .modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    max-width: 600px;
    margin: 1.75rem auto;
}

    #cookieconsent-dialog .modal-dialog-centered .modal-content {
        width: 100%;
    }

#cookieconsent-dialog .cookies-header thead {
    text-transform: uppercase;
    width: auto;
    background: #333;
    color: #FFF;
    border: none;
    padding: 8px;
}

#cookieconsent-dialog .cookies-header table {
    width: 100%;
}

    #cookieconsent-dialog .cookies-header table th,
    #cookieconsent-dialog .cookies-header table td {
        font-weight: 700;
        font-size: 11px;
        text-align: left;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #cookieconsent-dialog .cookies-header table th {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #cookieconsent-dialog .cookies-header table td {
        border-bottom: 1px solid #333;
    }

        #cookieconsent-dialog .cookies-header table td.cat-name {
            text-transform: uppercase;
        }

#cookieconsent-dialog .cookies-header .cat {
    width: 25%;
}

#cookieconsent-dialog .cookies-header .descr {
    width: 60%;
}

#cookieconsent-dialog .cookies-header .stat {
    width: 14%;
}

#cookieconsent-dialog .cookies-header .ui.toggle.checkbox input ~ .box:after,
#cookieconsent-dialog .cookies-header .ui.toggle.checkbox input ~ label:after {
    box-shadow: -1px 2px 10px #999 !important;
}

#cookieconsent-dialog .cookies-header .cookies-not-used {
    font-size: 13px;
    color: #428bca;
}

#cookieconsent-dialog .cookies-actions {
    text-align: left;
    padding-top: 10px;
}

    #cookieconsent-dialog .cookies-actions .cookies-back {
        border: 1px solid #0064be;
        background-color: #0064be;
        margin-bottom: 10px;
    }

    #cookieconsent-dialog .cookies-actions .cookies-save {
        border: 1px solid #e51a9b;
        background-color: #e51a9b;
        padding: 7px 15px;
        border-radius: 8px;
        float: right;
    }

        #cookieconsent-dialog .cookies-actions .cookies-save:hover {
            background: #666;
        }

    #cookieconsent-dialog .cookies-actions .cookies-back,
    #cookieconsent-dialog .cookies-actions .cookies-save {
        padding: 7px 15px;
        display: inline-block;
        color: #FFF;
        cursor: pointer;
        font-size: 12px;
    }

#cookie-policy-call {
    bottom: 0;
    left: 3em;
    border-top-left-radius: .5em;
    border-top-right-radius: .5em;
    -moz-transform: translateY(2em);
    -ms-transform: translateY(2em);
    -o-transform: translateY(2em);
    -webkit-transform: translateY(2em);
    transform: translateY(2em);
    -moz-transition: transform 1s ease;
    -o-transition: transform 1s ease;
    -webkit-transition: transform 1s ease;
    transition: transform 1s ease;
    position: fixed;
    overflow: hidden;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 9999;
    line-height: 1.5em;
    cursor: pointer;
    color: rgb(255, 255, 255);
    background-color: #428bca;
    padding: 10px;
}

    #cookie-policy-call:hover {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

@media(max-width:960px) {
    #cookieconsent {
        width: 100%;
        right: 0;
        bottom: 0;
        box-shadow: 0 0 0 #fff;
        border-radius: 0;
    }

    .cookieconsent-actions .cookieconsent-moreinfo .cookieconsent-moreinfoc {
        margin-top: 10px;
    }
}

@media(max-width:500px) {
    .cookieconsent-actions #cookiesconsent-accept {
        width: 100%;
        margin-left: 0;
    }

    .cookieconsent-actions .cookieconsent-moreinfo {
        width: 100%;
        float: none;
    }

        .cookieconsent-actions .cookieconsent-moreinfo .cookieconsent-moreinfoc {
            width: 100%;
            margin-right: 0;
        }

    #cookieconsent-dialog .cookies-header table th {
        display: none;
    }

    #cookieconsent-dialog .cookies-header table td {
        display: block;
    }
}
