/* Cookie CSS */
body.dont_flow{
    overflow: hidden;
}
#gdpr-cookie-message h1 {
    font-family: 'Open Sans', sans-serif;
    color: #3167DB;
    font-weight: 500;
    font-size: 30px;
    margin-bottom: 20px;
}
#gdpr-cookie-message h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: #3167DB;
    margin-bottom: 20px;
}
#gdpr-cookie-message p, #gdpr-cookie-message ul{
    margin-bottom: 20px;
    line-height: 1.75em;
}
#gdpr-cookie-message li {
    list-style: none;
    margin-bottom: 10px;
}
#gdpr-cookie-message li:last-child {
    margin-bottom: 0;
}
#gdpr-cookie-message input[type="checkbox"]{
    margin-top: 10px;
    margin-right: 15px;
    float: left;
}
#gdpr-cookie-message label{
    display: inline-block;
    max-width: 90%;
}
#gdpr-cookie-message code{
    color: #3167DB;
    font-size: 16px;
    background: #f7f7f7;
    padding: 3px 5px;
    border-radius: 3px;
    border: 1px solid #ebebeb;
}
/* Cookie Dialog */
#black_filter{
    position:fixed;
    background: rgba(0,0,0,.4);
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 90000;
    display:none;
    overflow: auto;
}
#black_filter.visible{
    display:block;
    overflow:auto;
}
/* Popup */
#gdpr-cookie-message {
    font-family: 'Open Sans', sans-serif;
    position: absolute ;
    top: 50%;
    left: 50%;
    margin-top: -300px;
    margin-left: -420px;
    max-width: 800px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 6px rgba(0,0,0,0.25);
    z-index: 10000000;
}
@media screen and (max-width: 767px) {
    #gdpr-cookie-message{
        position: absolute ;
        top: 50%;
        left: 50%;
        margin-top: -200px;
        margin-left: -215px;
        max-width: 400px;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 6px 6px rgba(0,0,0,0.25);
        z-index: 10000000;
    }
}
@media screen and (max-width: 600px) {
    #gdpr-cookie-message{
        position: absolute ;
        top: 50%;
        left: 50%;
        margin-top: -150px;
        margin-left: -170px;
        max-width: 300px;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 6px 6px rgba(0,0,0,0.25);
        z-index: 10000000;
    }
}
#gdpr-cookie-types{
    margin-left: 1px;
}
#gdpr-cookie-message h4 {

    color: #3167DB;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}
#gdpr-cookie-message h5 {
    color: #3167DB;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 25px;
}
#gdpr-cookie-message p, #gdpr-cookie-message ul {
    text-align:justify;
    color: black;
    font-size: 15px;
    line-height: 1.5em;
}
#gdpr-cookie-message p:last-child {
    margin-bottom: 0;
    text-align: right;
}
/*Messages*/
#gdpr-cookie-message li {
    margin-left: 6px;
    font-weight: bold;
    width: 100%;
    line-height: 2.0em;
}
#gdpr-cookie-message li .description{
    border-radius: 10px;
    padding: 15px;
    text-align: justify;
    font-weight: normal;
    margin-left: 285px;
    margin-top: -30px;
    margin-bottom: 10px;
    width: 60%;
    color: #A94442;
    background: #F2DEDE;
}
@media screen and (max-width: 767px) {
    #gdpr-cookie-message li .description {
        border-radius: 10px;
        padding: 15px;
        text-align: justify;
        font-weight: normal;
        margin-left: -7px;
        margin-top: 10px;
        width: 95%;
        color: #A94442;
        background: #F2DEDE;
        margin-bottom: 10px;

    }
}
@media screen and (max-width: 600px) {
    #gdpr-cookie-message li .description {
        border-radius: 10px;
        padding: 15px;
        text-align: justify;
        font-weight: normal;
        margin-top: 10px;
        width: 90%;
        color: #A94442;
        background: #F2DEDE;
        margin-bottom: 10px;
    }
}
#gdpr-cookie-message li .description.visible{
    background: #DFF0D8;
    color: #3C763D;
}
#gdpr-cookie-message a {
    color: #3167DB;
    text-decoration: none;
    font-size: 15px;
    padding-bottom: 2px;
    border-bottom: 1px dotted rgba(255,255,255,0.75);
    transition: all 0.3s ease-in;
}
#gdpr-cookie-message a:hover {
    color: black;
    border-bottom-color: #3167DB;
    transition: all 0.3s ease-in;
}
/*Buttons*/
#gdpr-cookie-message button,
button#ihavecookiesBtn {
    display: inline-block;
    width: 20%;
    margin: 10px;
    vertical-align:center;
    border: none;
    background:  #3167DB;
    color: white;
    font-size: 15px;
    padding: 7px;
    cursor: pointer;
    transition: all 0.3s ease-in;
}
@media screen and (max-width: 767px){
    #gdpr-cookie-message button,
    button#ihavecookiesBtn {
        width: 30%;
    }
}

@media screen and (max-width: 600px){
    #gdpr-cookie-message button,
    button#ihavecookiesBtn {
        border: none;
        background:  #3167DB;
        color: white;
        font-size: 15px;
        padding: -10px;
        margin-left: 15px;
        cursor: pointer;
        transition: all 0.3s ease-in;
    }
}
#gdpr-cookie-message button:hover {
    text-decoration: none;
    background: #1F3F7D;
    color: white;
}
 button#gdpr-cookie-advanced {
     margin-top: -1px;
     background: #3167DB;
     color: white;
}
@media screen and (max-width: 767px) {
    button#gdpr-cookie-advanced {
        margin-top: 10px;
        background: #3167DB;
    }
}
@media screen and (max-width: 600px){
    button#gdpr-cookie-advanced{
        margin-top: 10px;
        background: #3167DB;
    }
}
#gdpr-cookie-message button:disabled {
    opacity: 0.3;
}
/*Checkbox*/

.styled-checkbox {
    position: absolute;
    opacity: 0;
}

.styled-checkbox + label {
    position: relative;
    cursor: pointer;
    padding: 0;
}

.styled-checkbox + label:before {
    content: '';
    margin-right: 10px;
    margin-top: -4px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid #cccccc;
    border-radius: 5px;

}

.styled-checkbox:checked + label:before {
    margin-left: -1px;
    margin-top: -5px;
    background: #96D196;
}

label.styled-checkbox:disabled + label {
    color: #b8b8b8;
    cursor: auto;
 }
.styled-checkbox:disabled + label:before {
    box-shadow: none;
    background: #96D196;


 }
.styled-checkbox:checked + label:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 9px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow:
            2px 0 0 white,
            4px 0 0 white,
            4px -2px 0 white,
            4px -4px 0 white,
            4px -6px 0 white,
            4px -8px 0 white;
    transform: rotate(45deg);
   }
