/* GDPR Cookie dialog */
.gdprcookie {
    position: fixed;
    font-size: 20px;
    left: 60px;
    bottom: 60px;
    max-width: 500px;
    padding: 30px;
    background: #fff !important;
    z-index: 99999;
    box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.25);
}

.gdprcookie h2 {
    font-size: 20px !important;
    margin-bottom: 20px;
    margin-top: 0;	
    font-weight: bold !important;
}

.gdprcookie h3 {
    font-size: 18px !important;
    margin-top: 0 !important;  
    font-weight: bold !important;
}

.gdprcookie a {
    color: inherit;
    text-decoration: underline;
}

.gdprcookie p {
    font-size: 16px !important;
    color: #003745 !important;
}

.gdprcookie li div p {
    font-size: 14px !important;
}

/* GDPR Cookie buttons */

.gdprcookie-buttons {
    text-align: center;
}

.gdprcookie-buttons button {
    background: transparent;
    padding: 6px 20px;
    border-color: #003745 !important;
    color: #003745 !important;
    border-radius: 30px;
    height: 50px;
    margin: 0 5px;
    font-size: 16px !important;
}

.gdprcookie-buttons button:not(:disabled):hover,
.gdprcookie-buttons button:not(:disabled):focus {
    background: #003745 !important;
    border-color: #003745 !important;
    color: #fff !important;
}

.gdprcookie-buttons button:disabled {
    opacity: .2;
    background-color: #003745 !important;
    color: #fff !important;
}

/* GDPR Cookie types */
.gdprcookie-types {
    margin-bottom: 20px;
    overflow-y: hidden;
}

.gdprcookie-types ul {
    padding: 0;
    margin: 0 0 1rem;
    flex-wrap: wrap;
    display: flex;
    overflow-y: scroll !important;
}

.gdprcookie-types li {
    width: 100%;
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gdprcookie-types li:before {
    content: '';
    display: none;
}

.gdprcookie-types input[type=checkbox] {
    margin: 10px 0 !important;
    width: 15px !important;
    float: left;
}

.gdprcookie-label {
    display: inline-block;
    position: relative;
    pointer-events: none;
    font-size: 15px;
    margin: 0;
    padding-left: 10px !important;
    color: #003745;
    line-height: 90%;
    font-weight: 700 !important;
}

.gdprcookie-collapse {
    cursor:pointer;
}

.gdprcookie-collapse .icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    pointer-events: none;
    z-index: 1;
    position: relative;
    float: right;
    font-style: normal;
}

.gdprcookie-collapse .icon::before {
    content: '\f078' !important;
    font-family: 'Font Awesome 5 Pro' !important;
    font-weight: 300 !important;
    font-size: 15px;
    color: #003745;
}

.gdprcookie-collapse.open .icon::before {
    content: '\f077' !important;
    font-family: 'Font Awesome 5 Pro' !important;
    font-weight: 300 !important;
    font-size: 15px;
    color: #003745;
}

.gdprcookie-description {
    padding: 0px 23px;
    margin-bottom: 20px;
    margin-top: 10px;
    margin-right: 10px;
    font-size: 14px;
    line-height: 150%;
}

.gdprcookie-description p:last-child {
    margin-bottom: 0;
}

.gdprcookie-description a {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
     hyphens: auto;
}

.gdprcookie-buttons {
    margin-top: 20px !important;
}

@media (max-width: 767px) {
    .gdprcookie {
        left: 0 !important;
        bottom: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .gdprcookie p {
        font-size: 13px !important;
    }
    
    .gdprcookie h2 {
        font-size: 24px !important;
    }
    
    .gdprcookie-intro {
        margin-bottom: 20px !important;
    }

    .gdprcookie h3 {
        margin-left: 0 !important;
    }

    .gdprcookie-buttons button {
        padding: 5px 20px;
        height: 40px;
        font-size: 14px !important;
    }
    
    .gdprcookie li div p {
        font-size: 12px !important;
    }

    .gdprcookie-description {
        padding: 0px 0px;
        margin-bottom: 20px;
        margin-top: 5px;
        margin-right: 10px;
        font-size: 10px;
        line-height: 150%;
        height: 120px;
        overflow: scroll;
    }
}