﻿@import url("https://use.typekit.net/clc6hgp.css");

.cookie-container {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 99;
}

.divoverlay {
    position: fixed; /* Positioning and size */
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh;
    background-color: rgba(128,128,128,0.5); /* color */
    display: none; /* making it hidden by default */
}

button#ihavecookiesBtn {
    position: fixed;
    bottom: 0;
    left: 4%;
    background: #fff;
    color: #39B54A;
    border: 2px solid #39B54A;
    border-bottom: none;
    padding: 6px 12px;
    opacity: .75;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease-in;
}

    button#ihavecookiesBtn:hover {
        background: #39B54A;
        color: #fff;
    }

.parentDisable {
    overflow-y: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Logo Styling*/

.brand-for-logo {
    margin-left: auto;
    margin-right: auto;
    padding: 1% 0;
    border-radius: 5px;
    color: #39B54A;
    background-color: #fff;
    font-family: Muli,Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
}


/* Cookie Dialog */
@media screen and (max-width: 700px) {
    #gdpr-cookie-message {
        max-height: 96%;
        height: auto;
        overflow-y: auto;
    }
}

@media screen and (max-width: 400px) {
    #gdpr-cookie-message {
        max-height: 96%;
        height: auto;
        overflow-y: auto;
    }
}

div.cookie-content {
    margin-left: 30%;
    padding: 1px 5px;
}

#gdpr-cookie-dialog {
    z-index: 99;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    background-color: #fff;
    padding: 20px;
    border: none;
    margin: 0;
    overflow-y: scroll;
}

    #gdpr-cookie-message, #gdpr-cookie-dialog div > * {
        box-sizing: border-box;
    }

        #gdpr-cookie-message div > .column {
            float: left;
            width: 50%;
            padding: 10px;
        }

#cookieTitle {
    color: #000;
    text-align: center;
    font-weight: 600;
    font-family: museo-slab,"Roboto Slab",serif;
    padding: .5em 0 .5em;
    border: none;
    outline: none;
}

.cookie-type-collapsible {
    background-color: #fff;
    color: #353535;
    cursor: pointer;
    padding: 1px 2px;
    width: 16px;
    height: 16px;
    border: solid 1px #353535;
    text-align: center;
    outline: none;
    font-size: 13px;
    margin-left: 1em;
    border-radius: 8px;
    line-height: 9px;
    display: inline-block;
}

#gdpr-cookie-message li {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    display: block;
}

    #gdpr-cookie-message li:last-child {
        margin-bottom: 0;
    }

#cookie-type-desc-advertising,
#cookie-type-desc-analytics {
    text-align: left;
}

.cookie-type-collapsible:hover {
    background-color: #39B54A;
    color: #fff;
}

.cookie-type-collapsible > button {
    border-radius: 0;
    border-width: 0;
}

.cookie-type-desc {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #fff;
}

#cookie-container-button-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#gdpr-cookie-message h1 {
    flex-direction: column;
    text-align: center;
}


#gdpr-cookie-message h4 {
    color: #000;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

#gdpr-cookie-message h5 {
    color: #000;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}

#gdpr-cookie-message p, #gdpr-cookie-message ul {
    color: #000;
    font-size: 15px;
    line-height: 1.5em;
}

    #gdpr-cookie-message p:last-child {
        margin-bottom: 0;
    }

#gdpr-cookie-message a {
    color: #39B54A;
    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: #000;
        border-bottom-color: #39B54A;
        transition: all 0.3s ease-in;
    }

    #gdpr-cookie-message a[target="_blank"]::after {
        content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
        margin: 0px 3px 0px 5px;
    }

#gdpr-cookie-message button {
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 7px;
    /*margin-left: 10%;*/
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in;
    width: 200px;
    border-width: 2px;
    border-style: solid;
    border-radius: 5px;
    border-color: #39B54A;
    flex: 0 1 auto;
}

button#gdpr-cookie-advanced {
    background: #fff;
    color: #39B54A;
}

button#gdpr-cookie-necessary {
    background: #fff;
    color: #39B54A;
}

button#gdpr-cookie-accept {
    background: #39B54A;
    color: #fff;
}

button#gdpr-cookie-save-preferences {
    background: #39B54A;
    color: #fff;
}

#gdpr-cookie-message-x, button:disabled {
    opacity: 0.3;
}

#gdpr-cookie-message input[type="checkbox"] {
    float: none;
    margin-top: 0;
    margin-right: 5px;
}

/*Partner Page Styling*/
.partner-list-grid-container {
    display: grid;
    grid-template-columns: 20% 20% 20% auto;
    font-family: Muli,Arial,"Helvetica Neue",Helvetica,sans-serif;
    background: #fff;
}

.partner-list-grid-item {
    border-bottom: 1px solid #353535;
    border-left: 1px solid #353535;
    padding: 2px;
    text-align: left;
    font-size: small;
    padding: 8px;
}

    /* First 4 items */
    .partner-list-grid-item:nth-child(-n+4) {
        border-top: 1px solid #353535;
    }

    /* Every 4th child */
    .partner-list-grid-item:nth-child(4n) {
        border-right: 1px solid #353535;
    }

    .partner-list-grid-item:nth-child(4n+2),
    .partner-list-grid-item:nth-child(4n+3) {
        word-break: break-all;
    }

@media (max-width: 576px) {
    .partner-list-grid-container {
        grid-template-columns: auto auto auto auto;
    }
}

/* IE fixes */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .cookie-container {
        display: block;
    }

    #gdpr-cookie-dialog {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #gdpr-cookie-message button {
        margin-right: 20px;
    }

    .partner-list-grid-container {
        display: block;
    }

    .partner-list-grid-item {
        display: inline-block;
        vertical-align: top;
        width: 17%;
        height: auto;
        min-height: 180px;
    }

        .partner-list-grid-item:nth-child(4n) {
            width: 35%;
        }

        .partner-list-grid-item:nth-child(-n+4) {
            min-height: auto;
            height: 28px;
        }
}

/* Edge fixes */
@supports (-ms-accelerator:true) {
    #gdpr-cookie-message button {
        margin-right: 20px;
    }
}

/* Edge 16+ fixes */
@supports (-ms-ime-align:auto) {
    #gdpr-cookie-message button {
        margin-right: 20px;
    }
}
