@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.ttf");
    font-weight: 700;
}

.ch-cookies-overlay {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: all .5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ch-cookies-overlay-dark {
    background: rgba(0, 0, 0, 0.21);
}

.ch-hidden {
    display: none !important;
}

.ch-cookies {
    background: white;
    position: fixed;
    font-family: "Poppins", sans-serif;
    color: #666666;
    font-size: 1rem;
    z-index: 9999;
    -webkit-box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.21); 
    box-shadow:0px 5px 30px 0px rgba(0, 0, 0, 0.21);
}

#ch-cookies-bar {
    min-height: 170px;
    width: 100%;
    bottom:0;
    left:0;
    padding: 30px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#ch-cookies-modal, #ch-cookies-setting {
    width: 451px;
    border-radius: 8px;
    box-sizing: border-box;
}

#ch-cookies-modal {
    padding: 60px 45px 45px;
}

#ch-cookies-setting {
    height: auto;
}

.ch-cookies-setting-content {
    margin: 60px 0 45px;
    padding: 0 45px;
}

.ch-cookies a {
    color: #0092ca !important;
    text-decoration: none;
}

.ch-cookies a:hover {
    text-decoration: underline;
}

button.ch-link {
    background:none !important;
    border:none;
    color: #0092ca !important;
    padding: 0;
    outline: none !important;
    font-size: 1.1rem;
    cursor: pointer;
}

button.ch-link:hover {
    text-decoration: underline;
}

.cookies-dark.ch-cookies {
    background:#2f3537;
    color: white;
}

.cookies-top-logo {
    position: absolute;
    width:82px;
    height:82px;
    top: -41px;
    left: 50%;
    margin-left: -41px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.21);
}

.cookies-dark .cookies-top-logo {
    background:#2f3537;
}

.cookies-top-logo img {
    width:82px;
    height:82px;
    border-radius: 50%;
}

.cookies-logo img {
    max-width: unset;
    width:104px;
    height:104px;
    border-radius: 50%;
}

.ch-cookies .cookies-heading {
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: black;
    text-align: center;
}

#ch-cookies-bar .cookies-heading {
    margin-right: 40px;
    margin-left: 40px;
}

.cookies-dark .cookies-heading img {
    filter:  brightness(0) invert(1);
}

.ch-cookies.cookies-dark .cookies-heading {
    color: white
}

.cookies-heading img {
    margin-right: 10px;
}

#ch-cookies-bar .cookies-text {
    text-align: left;
    line-height: 1.6;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    margin-right: 25px;
    margin-left: 5px;
    padding: 0 !important;
    font-size: inherit;
}

#ch-cookies-modal .cookies-text, #ch-cookies-setting .cookies-text {
    padding: 25px 0 0 !important;
    text-align: center;
    line-height: 1.6;
    font-size: inherit;
    margin: 0 !important;
}

#ch-cookies-bar .btn-container {
    display: flex;
    align-items: center;
}

#ch-cookies-modal .btn-container, #ch-cookies-setting .btn-container {
    padding-top: 10px;
}

.ch-btn {
    cursor: pointer;
    border-radius: 5px;
    height: 50px;
    color: white !important;
    border: none !important;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.ch-btn:focus {
    outline: 2px dotted white !important;
    outline-offset: -6px !important;
}

#ch-cookies-bar .ch-btn {
    width: 215px;
    margin-left: 5px;
    margin-right: 5px;
}

#ch-cookies-modal .ch-btn, #ch-cookies-setting .ch-btn {
    width: 100%;
    margin-bottom: 10px;
}

#ch-cookies-modal .cookies-refuse, #ch-cookies-setting .cookies-refuse {
    width: 100%;
    padding-top: 20px;
    text-align: center;
}

#ch-cookies-close {
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    opacity: 0.3;
    cursor: pointer;
}

#ch-cookies-close:hover {
    opacity: 1;
}

#ch-cookies-close:before, #ch-cookies-close:after {
    position: absolute;
    left: 14px;
    content: ' ';
    height: 26px;
    width: 2px;
    background-color: #333;
}

.cookies-dark #ch-cookies-close:before, .cookies-dark #ch-cookies-close:after {
    background-color: white;
}

#ch-cookies-close:before {
    transform: rotate(45deg);
}

#ch-cookies-close:after {
    transform: rotate(-45deg);
}

.cookies-options {
    margin-top: 20px;
    margin-bottom: 20px;
}

.option-item {
    border: 1px solid #b8cbd2;
    border-radius: 5px;
    margin-top: 7px;
    margin-bottom: 7px;
}

.cookies-dark .option-item {
    border-color: #666;
}

.ch-checkbox-item {
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    padding: 0.875rem 1rem;
    position: relative;
}

.ch-checkbox-item .ch-dropdown-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    cursor: pointer;
}

.ch-checkbox-item .ch-dropdown-toggle::after {
    position: absolute;
    right: 18px;
    top: 18px;
    content: "";
    border: solid #666;
    border-width: 2px 0px 0px 2px;
    display: inline-block;
    padding: 4px;
    transform: rotate(-135deg);
}

.cookies-dark .ch-checkbox-item .ch-dropdown-toggle::after {
    border-color: white;
}

.option-item .ch-dropdown-content {
    display: flex !important;
    flex-direction: row;
    font-size: 0.9rem;
    margin: 0rem 0.875rem 0.5rem;
    max-height: 100px;
    opacity: 1;
    overflow-y: auto;
    transition: all 400ms linear, margin 0ms;
    visibility: visible;
}

.option-item .ch-dropdown-content.ch-dropdown-hidden {
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 300ms ease-out, opacity 200ms linear, margin 0ms 300ms;
    visibility: hidden;
}

label {
	display: inline;
    margin-right: 1rem;
    margin-bottom: 0;
}

.real-checkbox {
	display: none;
}

.real-checkbox + label {
	background-color: #b8cbd2;
	width: 20px;
    height: 20px;
	border-radius: 4px;
    -webkit-border-radius: 4px;
	position: relative;
}

.cookies-dark .real-checkbox + label {
    background-color: rgba(255,255,255,0.25);
}

.real-checkbox:checked + label {
	background-color: #7dca1a;
}

.real-checkbox.real-checkbox-static:checked + label {
    background-color: rgb(0, 141, 210);
}

.real-checkbox:checked + label:after {
	content: url("../img/check.png");
	position: absolute;
    left: 3px;
    top: -3px;
}

.ch-tag {
    font-size: 0.875rem;
	color: #666;
    margin-right: 20px;
}

.ch-tag.toggable {
    cursor: pointer;
}

.cookies-dark .ch-tag {
	color: white;
}

@media (max-width: 1499.98px) { 
    #ch-cookies-bar .ch-btn {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 5px;
    }

    #ch-cookies-bar .btn-container {
        flex-direction: column;
    }
}

@media (max-width: 1199.98px) {
    #ch-cookies-bar .cookies-logo {
        display: none;
    }
}

@media (max-width: 991.98px) {
    #ch-cookies-bar .cookies-heading {
        margin-left: 10px;
        margin-right: 10px;
    }

    #ch-cookies-bar .cookies-heading-text {
        display: none;
    }

    #ch-cookies-bar .cookies-heading img {
        max-width: 50px;
    }
}

@media (max-height: 901px) and (min-width: 1000px) {
    #ch-cookies-modal, #ch-cookies-setting {
        width: 750px;
    }

    .ch-cookies-setting-content {
        overflow-y: auto;
        height: 550px;
    }
}

@media (max-height: 601px) and (min-width: 1000px) {
    .ch-cookies-setting-content {
        overflow-y: auto;
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    #ch-cookies-bar .ch-btn {
        width: 100px;
    }
}

@media (max-width: 575.98px) {
    #ch-cookies-modal {
        width: 100%;
        height: auto;
    }

    #ch-cookies-setting {
        width: 100%;
        margin: 0;
        left: 0;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 25px;
        border-radius: 0;
        overflow-y: auto;
    }

    #ch-cookies-setting .cookies-top-logo {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 0 10px;
    }

    .ch-cookies-setting-content {
        margin: 0;
        overflow-y: initial;
        padding: 0;
    }

    #ch-cookies-setting .cookies-refuse {
        padding-top: 10px;
    }

    .cookies-options {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #ch-cookies-setting .cookies-text {
        padding-top: 10px;
    }

    .ch-cookies .cookies-heading {
        line-height: 2rem;
    }

    .ch-cookies .cookies-text, .ch-cookies .cookies-refuse {
        font-size: 0.75rem !important;
    }

    .ch-cookies .cookies-refuse .ch-link, .ch-cookies .cookies-text .ch-link {
        font-size: 0.875rem !important;
    }
    
    #ch-cookies-modal .cookies-text, #ch-cookies-setting .cookies-text {
        padding-top: 10px;
    }

    #ch-cookies-close {
        position: relative;
        align-self: flex-end;
    }

    #ch-cookies-bar {
        flex-direction: column;
        padding: 25px;
    }

    #ch-cookies-bar .btn-container {
        flex-direction: row;
        margin-top: 10px;
    }

    #ch-cookies-bar .ch-btn {
        margin: 0 5px;
        width: 120px;
    }

    #ch-cookies-bar .cookies-text {
        text-align: center;
        margin-right: 5px;
    }

    #ch-cookies-bar .cookies-heading {
        margin-bottom: 10px;
    }

    #ch-cookies-bar .cookies-heading img {
        max-width: 100%;
    }

    #ch-cookies-bar .cookies-heading-text {
        display: unset;
    }
}

.ch-cookies .btn-green {
    background: #7dca1a !important;
}

.ch-cookies .btn-green:hover {
    background: #64a114 !important;
}

.ch-cookies .btn-gray {
    background: #b8cbd2 !important;
}

.ch-cookies .btn-gray:hover {
    background: #87a7b3 !important;
}

.ch-cookies.cookies-dark .btn-gray {
    background: rgba(255,255,255,0.25) !important;
}

.ch-cookies.cookies-dark .btn-gray:hover {
    background: rgba(255,255,255,0.1) !important;
}