﻿#cookieModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}

.cookieModal {
    position: relative;
    max-width: 100%;
    width: 950px;
    margin: 100px auto 0 auto;
    background: #fff;
}

.cookieModalHeader {
    background: rgb(10,63,102);
    color: #fff;
    padding: 10px 20px;
}

.cookieModalContent {
    padding: 20px 20px 0 20px;
    max-height: calc(100vh - 300px);
    overflow: auto;
    box-sizing: border-box;
}

.cookieModalFooter {
    background: rgb(245,245,245);
    padding: 15px 20px;
}

.cookieModalFooter:after {
    content: "";
    clear: both;
    display: table;
}

.cookieModalFooter .cookieModalBtn {
    background: rgb(20,126,204);
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    text-transform: uppercase;
}

.cookieModalFooter .cookieModalBtn:first-child {
    float: left;
}

.cookieModalFooter .cookieModalBtn:last-child {
    float: right;
}

.cookieModalFooter .cookieModalBtn:hover {
    background: rgb(40,146,224);
}

.cookieModalContent p {
    margin: 0 0 20px 0;
}

.cookieModalContent p, .cookieModalContent li {
    font-size: 14px;
    line-height: 1.5;
    color: #111;
}

@media (max-height: 700px) {
    .cookieModal {
        margin: 30px auto;
    }
    .cookieModalContent {
        max-height: calc(100vh - 190px);
    }
}

@media (max-width: 640px) {
    .cookieModal {
        margin: 0px auto;
        height: 100%;
    }

    .cookieModalContent {
        max-height: calc(100% - 104px);
    }
}