﻿/*************** Commom styles for both popUps ***********************/

.cookiemodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 102; /* Sit on top */
    font-family: 'Open Sans', Arial, sans-serif;
   
}

.cookiemodal .content {
    position: fixed;
    background-color: #0f7579;
    margin: auto;
    width: 100%;
    display: inline-block;
    padding-bottom: 25px;
}

    .cookiemodal .model-buttons {
        margin-bottom: 10px;
        cursor: pointer;
        border-radius: 3px;
        line-height: 22px;
        font-size: 17px !important;
        max-width: 225px !important;
        text-align: center !important;
        min-width: 180px !important;
        margin-top: 0px;
        border: 2px solid white !important;
        text-decoration: none !important;
        font-family: 'Open Sans', Arial, sans-serif;
        outline: none;
        margin-right: 15px;
        height: 50px;
        
    }

    .cookiemodal .green-btn-cookie {
        background-color: rgba(241,241,241,.5);
    }

.cookiemodal-body {
    min-height: 160px;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    height: auto;
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
}



/*******************First popUP only******************/
.cookiemodal .div-center {
    width: 60%;
    left: 20%;
}

.cookiemodal-body a {
    color: white;
    font-weight: 700;
    font-family: 'Open Sans', Arial, sans-serif;
}

#myModal.cookiemodal .content {
    bottom: 0px;
}

#myModal .btn-center {
    text-align: center;
    line-height: normal;
    font-size: 17px;
}

#myModal .cookieWidth {
    line-height: normal;
}


/*******************Second popUP only**********************/
#myModal2.cookiemodal {
    height: 100%;
    overflow: auto;
    position: fixed;
    overflow-y: scroll;
}

#myModal2.cookiemodal .content {
    background-color: #ffffff;
    position: relative;
    overflow: auto;
    overflow-y: overlay;
}

#myModal2.cookiemodal .cookiemodal-body p {
    color: #000000;
}

.cookiemodal .header-cookie {
    padding: 0 10px;
    background-color: #0f7579 !important;
    border: none;
    margin: 0px;
   
}

.cookiemodal .header-cookie h2 {
    color: white;
    font-size: 22px !important;
    font-weight: normal;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: normal;
    display: block;
}

.cookiemodal .cookiemodal-body H2 {
    display: block;
    color: black;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 22px;
    padding-bottom: 20px !important;
    font-family: 'Open Sans', Arial, sans-serif;
}

.cookiemodal .cookie-text {
    display: inline-block;
    padding-left: 20px !important;
    padding-bottom: 20px !important;
}

.cookiemodal .spacingBottom {
    padding: 0 10px 20px 10px !important;
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.cookiemodal .DisableCookie {
    background-color: transparent !important;
}

.cookiemodal-body p {
    list-style: none;
    color: white;
    font-size: 17px !important;
    margin-bottom: 0px;
    margin-top: 0px;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 22px !important;
}

.cookietable {
    border-collapse: collapse;
    border-spacing: 0;
    background-color: transparent;
    width: 100%;
    max-width: 100%;
    margin: 0px !important;
}

.cookietable > thead > tr > th,
.cookietable > tbody > tr > th,
.cookietable > tfoot > tr > th,
.cookietable > thead > tr > td,
.cookietable > tbody > tr > td,
.cookietable > tfoot > tr > td {
    padding: 8px;
    vertical-align: top;
    border-top: 1px solid #ddd;
    font-weight: 400;
    line-height: 22px !important;
    color: black;
    font-size: 15px !important;
    padding-left: 10px !important;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 36px;
    float: right;
}

.cookie-switch input {
    display: none;
}

#myModal2 .slider-btn {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    font-size: 20px;
}

#myModal2 .slider-btn:before {
    position: absolute;
    content: "✔";
    height: 32px;
    width: 30px;
    left: 2px;
    bottom: 3px;
    top: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    text-align: center;
    box-sizing: border-box;
}

#myModal2 .slider-btn-bg::before {
    background-color: white !important;
    border-radius: 50%;
}

#myModal2 input:checked + .slider-btn {
    background-color: #0f7579;
}

#myModal2 input:focus + .slider-btn {
    box-shadow: 0 0 1px #0f7579;
}

#myModal2 input:checked + .slider-btn:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
}


/* Rounded sliders */

#myModal2 .slider-btn.round {
    border-radius: 34px;
}

#myModal2 .slider-btn.round:before {
    border-radius: 50%;
    border: 1px solid #0f7579;
}

/*  On and OFF inside the input*/
.slider-btn:after {
    content: 'OFF';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
    
}

input:checked + .slider-btn:after {
    content: 'ON';
}

.cookiemodal .cookiecontent {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.cookiemodal .active,
.cookiemodal .cookiecollapsible:hover {
    background-color: #0f7579;
    color: white;
}

.cookiemodal .cookiecollapsible:hover a, .cookiemodal .cookiecollapsible:hover i {
    color: white;
}

.cookiemodal .cookiecollapsible i {
    color: black;
}

.cookiemodal .cookiecollapsible a {
    color: black;
    font-size: 17px;
    font-weight: bold;
}

.cookiemodal .cookiecollapsible {
    background-color: #e1dfde;
    color: white;
    cursor: pointer;
    padding: 18px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    overflow: visible;
    line-height: normal;
}

/*  This is the dark background like fancybox popup*/
.cookieModal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 8010;
    background: url(../img/cookieModal_overlay.png);
}

#myModal2 input.btn {
    display: inline-block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
}

#myModal2 .btn-left {
    float: left;
}

#myModal2 .btn-right {
    float: right !important;
}

#myModal2 .btn-save-blue {
    background-color: #5a91d7;
    color: #ffffff;
    border: 2px solid #5a91d7 !important;
}

#myModal2 .btn-cancel-white {
    background-color: transparent;
    border: 2px solid #397bcf !important;
    color: #397bcf;
}

#myModal2 .btn-cancel-white, #myModal2 .btn-save-blue {
    font-family: 'Open Sans', Arial, sans-serif;
    text-decoration: solid !important;
    padding: 10px 35px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}
 

/************Hack for Gazette*********/

#myModal .col-3, .span-3, #myModal2 .col-3 {
    width: 25%;
}

#myModal .col-4, .span-4 {
    width: 33.33333333%;
}

#myModal .col-6, .span-6, #myModal2 .col-6 {
    width: 50%;
}

#myModal .col-8, .span-8 {
    width: 66.66666667%;
}

#myModal2 .col-9, .span-9 {
    width: 75%;
}


@media (max-width: 810px) {
    #myModal2 .btn-cancel-white, #myModal2 .btn-save-blue {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        width: 100% !important;
    }
}

@media (max-width: 860px) {
    .cookieWidth {
        width: 100% !important;
    }

    #myModal .btn-center {
        width: 100% !important;
        text-align: center;
        padding-bottom: 5px !important;
        padding-top: 5px !important;
    }

    .cookiemodal-body {
        max-width: 100%;
    }

        .cookiemodal-body p {
            font-size: 14px !important;
        }

    .cookiemodal .div-center {
        width: 100% !important;
        left: 0% !important;
    }
}