﻿.popup-flex {
    margin: 30px;
}

cookie-consent-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cookieSelector-consent-footer button {
    width: -webkit-fill-available;
}

.cookie-consent-wrapper button {
    width: -webkit-fill-available;
}

.cookie-consent-content a {
    color: #286090
}

#cookie-approve-row {
    font-weight: 500;
    text-align: center;
    background-color: #286090;
    color: white;
    padding: 3px;
    font-family: monospace;
}

#cookie-approve-id:hover, #cookie-approve-id:focus {
    color: aqua;
    text-decoration: none;
    cursor: pointer;
}

/*1. begin*/
.popupSelector-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1000000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
    overflow: auto;
}

.popupSelector-content {
    border-radius: 1%;
    bottom: 0;
    position: fixed;
    background-color: #fefefee0;
    padding: 5px;
    border: 2px solid white;
    width: 700px;
    height: auto;
}

.cookieSelector-consent-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: initial;
}

.cookieSelector-consent-header img {
    font-weight: bold;
    font-size: large;
    text-align: center;
    max-height: 50px;
    margin-bottom: 5px;
}

/*.cookieSelector-consent-content p {
    font-family: 'OpenSansRegular';
}*/

.cookieSelector-consent-footer button {
    text-align: center;
    border: 1px solid mediumblue;
    font-size: inherit;
    font-weight: 500;
    margin-top: 5px;
}
/*1. end*/


.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1000000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
    overflow: auto;
}

.popup-content {
    border-radius: 1%;
    background-color: #fefefe;
    margin: auto;
    margin-top: 2%;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    height: auto;
}

    .popup-content span :not(#cookie-approve-id) {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .popup-content span:hover, .popup-content span:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.show {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.switch-cookie-ast {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch-cookie-ast input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider-cookie-ast {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider-cookie-ast:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider-cookie-ast {
    background-color: #2196F3;
}

input:focus + .slider-cookie-ast {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider-cookie-ast:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider-cookie-ast.round {
    border-radius: 34px;
}

    .slider-cookie-ast.round:before {
        border-radius: 50%;
    }

.cookie-consent-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cookie-consent-header {
    background-color: #286090;
    color: white;
    font-weight: bold;
    font-size: large;
    text-align: center;
}

.cookie-consent-footer button {
    text-align: center;
    border: 1px solid aquablue;
    font-size: inherit;
    font-weight: 500;
    margin-top: 5px;
}



@media screen and (max-width: 1300px) {
    .popup-content {
        background-color: #fefefe;
        font-size: small;
        margin: auto;
        margin-top: 2%;
        padding: 20px;
        border: 1px solid #888;
        width: 70%;
        height: auto;
    }

    .switch-cookie-ast {
        position: relative;
        display: inline-block;
        width: 40px;
        height: 23px;
    }

        .switch-cookie-ast input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    .slider-cookie-ast {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .slider-cookie-ast:before {
            position: absolute;
            content: "";
            height: 17px;
            width: 17px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    input:checked + .slider-cookie-ast {
        background-color: #2196F3;
    }

    input:focus + .slider-cookie-ast {
        box-shadow: 0 0 1px #2196F3;
    }

    input:checked + .slider-cookie-ast:before {
        -webkit-transform: translateX(17px);
        -ms-transform: translateX(17px);
        transform: translateX(17px);
    }

    .slider-cookie-ast.round {
        border-radius: 34px;
    }

        .slider-cookie-ast.round:before {
            border-radius: 50%;
        }

    .cookie-consent-header {
        font-weight: bold;
        font-size: medium;
        text-align: center;
    }

    .cookie-consent-footer {
        font-size: large;
    }
}

@media screen and (max-width: 900px) {
    .popup-content {
        background-color: #fefefe;
        font-size: small;
        margin: auto;
        margin-top: 2%;
        padding: 20px;
        border: 1px solid #888;
        width: 100%;
        height: auto;
    }

    .switch-cookie-ast {
        position: relative;
        display: inline-block;
        width: 40px;
        height: 23px;
    }

        .switch-cookie-ast input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    .slider-cookie-ast {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .slider-cookie-ast:before {
            position: absolute;
            content: "";
            height: 17px;
            width: 17px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    input:checked + .slider-cookie-ast {
        background-color: #2196F3;
    }

    input:focus + .slider-cookie-ast {
        box-shadow: 0 0 1px #2196F3;
    }

    input:checked + .slider-cookie-ast:before {
        -webkit-transform: translateX(17px);
        -ms-transform: translateX(17px);
        transform: translateX(17px);
    }

    .slider-cookie-ast.round {
        border-radius: 34px;
    }

        .slider-cookie-ast.round:before {
            border-radius: 50%;
        }

    .cookie-consent-header {
        font-weight: bold;
        font-size: medium;
        text-align: center;
    }

    .cookie-consent-footer {
        font-size: medium;
    }
}

@media screen and (max-width: 700px) {
    /*1. begin*/
    .popupSelector-container {
        transition: all 0.7s ease-in-out;
        position: fixed;
        z-index: 1000000 !important;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(21, 17, 17, 0.61);
        display: flex;
        align-items: center;
        overflow: auto;
    }

    .popupSelector-content {
        border-radius: 1%;
        bottom: 0;
        position: fixed;
        background-color: #fefefee0;
        padding: 5px;
        border: 2px solid white;
        width: 100%;
        height: auto;
    }

    .cookieSelector-consent-wrapper {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: initial;
    }

    .cookieSelector-consent-header img {
        font-weight: bold;
        font-size: small;
        text-align: center;
        max-height: 25px;
        margin-bottom: 5px;
    }

    .cookieSelector-consent-content p {
        /*font-family: 'OpenSansRegular';*/
        font-size: small;
    }

    .cookie-consent-footer {
        font-size: small;
    }
    /*1. end*/
}

@media screen and (max-width: 600px) {
    .popup-content {
        background-color: #fefefe;
        font-size: x-small;
        margin: auto;
        padding: 10px;
        border: 1px solid #888;
        width: 100%;
        height: auto;
    }

    .switch-cookie-ast {
        position: relative;
        display: inline-block;
        width: 30px;
        height: 17px;
    }

        .switch-cookie-ast input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    .slider-cookie-ast {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .slider-cookie-ast:before {
            position: absolute;
            content: "";
            height: 13px;
            width: 13px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    input:checked + .slider-cookie-ast {
        background-color: #2196F3;
    }

    input:focus + .slider-cookie-ast {
        box-shadow: 0 0 1px #2196F3;
    }

    input:checked + .slider-cookie-ast:before {
        -webkit-transform: translateX(13px);
        -ms-transform: translateX(13px);
        transform: translateX(13px);
    }

    .slider-cookie-ast.round {
        border-radius: 34px;
    }

        .slider-cookie-ast.round:before {
            border-radius: 50%;
        }

    .cookie-consent-header {
        font-weight: bold;
        font-size: small;
        text-align: center;
    }
}
