﻿/*New Cookie Consent*/

a.cookielinks{
    display:block;
}
#CookieConsent a.cookieSettings, .footer-content a.cookieSettings {
    background: none;
}

body #CookieConsent p {
    padding-bottom: 10px;
}

body.lock-scroll {
    overflow: hidden;
}



#CookieConsent {
    position: fixed;
    left: 0px;
    /*remove height,background and top not to disable the site, height: calc(100vh - 91px);*/
    top: 0;
    background: rgba(0, 0, 0, 0.44);
    height: 100vh;
    /*---*/
    width: 100vw;
    color: #fff;
    z-index: 99999;
    display: flex;
}

    #CookieConsent h1,h2 {
        color: #fff;
    }

    #CookieConsent h1 .heading {
        color: #fff;
    }

    #CookieConsent .preamble{
        display: none;
    }

    #CookieConsent .dialog {
        display: flex;
        align-items: center;
        min-height: calc((100%) - 3.5rem);
        max-width: 700px;
        padding: 0 10px;
        height: 100%;
    }
    #CookieConsent .content {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        background: transparent;
        color: #fff;
        font-size: 1.6rem;
        max-height: calc((100vh) - -7rem);
        box-sizing: border-box;
        pointer-events: auto;
        background-clip: padding-box;
        outline: 0;
    }
    #CookieConsent .heading_wrapper {
        padding: 20px 10px;
        background: rgb(65,111,111);
        border-top-left-radius: .3rem;
        border-top-right-radius: .3rem;
    }
    #CookieConsent .heading_wrapper .heading {
        margin:0;
        color: #fff;
    }
    #CookieConsent .heading {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    #CookieConsent .text_wrapper {
        padding: 10px;
        background: rgb(65,111,111);
    }
        #CookieConsent .text_wrapper:not(.settings) {
            border-top-left-radius: .3rem;
            border-top-right-radius: .3rem;
        }
        #CookieConsent .text_wrapper.settings {
            background: #eee;
            color: #333;
            overflow: auto;
            max-height: calc((80vh) - 10rem);
        }
    #CookieConsent .text_wrapper img{
        width:100%;
        max-width:300px;
    }

        #CookieConsent .text_wrapper .text {
            max-height: calc((60vh) - 84px);
            overflow: auto;
        }

            #CookieConsent .text_wrapper .text p {
                margin-top: 0;
            }

    
    #CookieConsent p, #CookieConsent ul, #CookieConsent ol {
        font-size: 1.6rem;
    }
 



#CookieConsent a {
    color:#fff;
    text-decoration: underline;
}

    #CookieConsent a:hover {
        text-decoration: none;
    }


    #CookieConsent .buttons {
        position: relative;
        text-align: right;
        display: flex;
        justify-content: space-around;
        background: #fff;
        padding: 20px 10px;
        border-bottom-left-radius: .3rem;
        border-bottom-right-radius: .3rem;
    }

        #CookieConsent .buttons button {
            color: #212529;
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            text-align: center;
            transition: all .5s ease;
            padding: 12px;
            line-height: 18px;
            cursor: pointer;
            border-radius: .125rem;
            min-width: 0;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }


            #CookieConsent .buttons button:hover {
                background-color: #e2e6ea;
                color: #212529;
            }

            #CookieConsent .buttons button.blueBtn {
                border: 1px solid #99042F;
                background: #99042F;
                color: #fff;
            }

                #CookieConsent .buttons button.blueBtn:hover {
                    background: #07518c;
                    color: #fff;
                    border: 1px solid #07518c;
                }

.cookie-wrapper {
    overflow-y: scroll;
    overflow-x: hidden;
    /*-ms-overflow-style: none;*/
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    margin-bottom: 83px;
    /*max-height: calc((100vh) - 203px);*/
    max-height: calc((100vh) - 258px);
}

.cookie-form-control {
    margin-bottom: 2.4rem;
    position: relative;
}

#CookieConsent input.input-checkbox:active + label, #CookieConsent input.input-checkbox:focus + label {
    outline: 1px solid #555;
}

#CookieConsent .input-checkbox, #CookieConsent .input-radio {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    #CookieConsent .input-checkbox + .label, #CookieConsent .input-radio + .label {
        padding-bottom: 0.2rem;
        padding-left: 3.8rem;
        position: relative;
        text-align: left;
    }

        #CookieConsent .input-checkbox + .label::after, #CookieConsent .input-radio + .label::after {
            content: "\f204";
            font-size: 2.85rem;
            font-family: Fontawesome;
            transition: .5s all;
        }

   /* #CookieConsent .input-checkbox:checked + .label::after, #CookieConsent .input-radio:checked + .label::after {
        border-color: #0076b0;
    }*/

    #CookieConsent .input-checkbox:checked + .label::after {
        content: "\f205";
        color: #0077d4;
        /*border: 1px solid #000;
        box-shadow: 5px 5px 0 0 rgba(43,10,61,.2), inset 0 0 0 5px #fff;
        background: #2b0a3d;*/
    }


.cookie-label {
    display: block;
    font-weight: 700;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 0.6rem;
}

#CookieConsent .input-checkbox:disabled + .label::after, #CookieConsent .input-radio:disabled + .label::after {
    content: "\f205";
    color: #a9a9a9;
    /*border-color: #a9a9a9;*/
    /*box-shadow: 5px 5px 0 0 rgb(43 10 61 / 8%), inset 0 0 0 5px #fff;*/
}

#CookieConsent .input-checkbox + .label, #CookieConsent .input-radio + .label {
    padding-bottom: 0.2rem;
    padding-left: 0;
    position: relative;
    cursor: pointer;
    font-size: 1.8rem;
    color: #333;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
#CookieConsent .cookieinfo {
    color: #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
    #CookieConsent .cookieinfo.expand:before {
        content: '\f107';
        font-family: Fontawesome;
        padding-right: 10px;
        font-size: 1.8rem;
        font-weight: bold;
        color: #0077d4;
    }
    #CookieConsent .cookieinfo.expand.minify:before {
        content: '\f106';
    }
#CookieConsent .cookieinfo_content {
    display: none;
    background: #f7f5f5;
    padding: 5px;
    border-radius: 3px;
    margin-top: 5px;
}

/*Media for cookieconsent*/

@media only screen and (min-width: 520px) {
    #CookieConsent .dialog {
        margin: 0 auto;
        padding: 0 20px;
    }
    #CookieConsent .content {
    }
    #CookieConsent .heading_wrapper {
        padding: 20px 40px;
    }
    #CookieConsent .text_wrapper {
        padding: 20px 40px 20px 40px;
    }
        #CookieConsent .text_wrapper.settings {
            padding: 20px 40px;
        }
    #CookieConsent .buttons {
        padding: 30px 40px;
    }
        #CookieConsent .buttons button {
            min-width: 90px;
        }
    
}

@media only screen and (min-width: 900px) {
   
}
@media only screen and (min-width: 1024px) {
}
