/*--- global ---*/
#cm * {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 #ffffff;
}

#cm  *::-webkit-scrollbar {
    width: 12px;
}

#cm *::-webkit-scrollbar-track {
    background: #ffffff;
}

#cm *::-webkit-scrollbar-thumb {
    background-color: #d0d0d0;
    border-radius: 6px;
    border: 0;
}


.cm-overlay-modal,
.cm-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background: rgba(41, 65, 89, 0.9);
}

.cm-overlay {
    z-index: 999;
}

.cm-panel {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #E5EFFF;
    color: #0F4273;
    z-index: 1000;
}

#cm {
    color:#0F4273;
    background: rgba(41, 65, 89, 0.9);
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
    height: 0;
    width: 0;
    position: absolute;
    top: 0;
    z-index: 1001;
    transition: opacity 0.3s linear;
    visibility: hidden;
    opacity: 0;
}

#cm.open {
    visibility: visible;
    opacity: 1;
    height: 100%;
    width: 100%;
}

#cm h1 {
    background: transparent;
    color: #0F4273;
    display: inline-block;
    font-size: 39px;
    font-weight: 800;
    line-height: 56px;
    margin: 0;
    padding: 0;
    
}

#cm h2 {
    background: transparent;
    color: #0F4273;
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    line-height: 25px;
    margin: 0;
    padding: 0;
    max-width: 215px;
}

#cm p {
    line-height: 25px;
    color: #706D79;
}

#cm .arrow {
    border-top: 2px solid #0F4273;
    border-right: 2px solid #0F4273;
    cursor: pointer;
    display: inline-block;
    width: 9px;
    height: 9px;
    min-width: 9px;
}

#cm .arrow.arrow-right {
    transform: rotate(45deg);
}

#cm .arrow.arrow-bottom {
    transform: rotate(135deg);
}

#cm .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
    padding: 0;
}

#cm .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#cm .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D9D9D9;
    transition: transform .4s;
    border-radius: 3px;
}

#cm .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F1F7 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    transition: transform .4s;
}

#cm input:checked + .slider {
    background-color: #0060BC;
}

#cm input:focus + .slider {
    box-shadow: 0 0 1px #0060BC;
}

#cm input:checked + .slider:before {
    transform: translateX(20px);
}

.cm-hide {
    display: none !important;
}

.cm-panel__tab {
    display: flex;
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #6BC2C2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #0F4273;
    transition: transform .3s ease-in-out;
    z-index: 3;
}

.cm-panel__tab .cookie-icon {
    font-size: 1.5rem;
    color: #6BC2C2;
    position: relative;
}

.cm-panel__tab:hover{
    transform: scale(1.2);
}

.cm-panel__content {
    padding: 0 24px;
}

.cm-panel__title {
    font-size: 20px;
    font-weight: 800;
    line-height: 25px;
    margin: 24px 0 16px;
    color: #0F4273;
    background: transparent;
    padding: 0;
}
#cm h1:before,
#cm h2:before,
.cm-panel__title:before {
    content: '';
    width: 0;
    height: 0;
}

.cm-panel a {
    color: #0060BC;
}

.cm-buttons {
    display: flex;
    flex-flow: wrap;
    margin-bottom: 24px;
}

.cm-buttons .cm-button {
    border: 2px solid #6BC2C2;
    background-color: transparent;
    color: #0F4273;
    padding: 4px 36px;
    margin: 6px 0 0;
    cursor: pointer;
    width: 100%;
}

.cm-buttons .cm-button:hover {
    border-color: #3CEBD4;
    color: #0F4273;
}

.cm-buttons .cm-button:focus,
.cm-buttons .cm-button:active {
    background-color: #6BC2C2;
    border-color: #6BC2C2;
    color: #0F4273;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    outline: none;
}

.cm-buttons .cm-button.button-first {
    background-color: #0F4273;
    border-color: #0F4273;
    color: #6BC2C2;
}

.cm-buttons .cm-button.button-first:hover {
    color: #ffffff;
}

.cm-buttons .cm-button.button-first:focus,
.cm-buttons .cm-button.button-first:active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.cm-modal {
    background: #EEECEC;
    box-shadow: 0 0 32px rgba(17, 62, 130, 0.1);
    display: flex;
    flex-flow: wrap;
    max-width: 100%;
    padding: 21px;
    position: relative;
    z-index: 1;
}
.cm-modal a {
    color: #0060BC;
}

.cm-modal__close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 25px;
    cursor: pointer;
}

.cm-modal__content {
    width: 100%;
}

.cm-modal__content h2 {
    margin-top: 0;
}

.cm-modal__category {
    background-color: #ffffff;
    border: 1px solid #CDCECF;
    margin-bottom: 20px;
    padding: 20px;
}

.cm-modal__category:last-child {
    margin-bottom: 0;
}

.cm-modal__category.disabled .cm-modal__cookiesList {
    display: none;
}

.cm-modal__category.disabled .cookie--switch .cookie--switch__label {
    color: #D0D0D0;
}

#cm .cm-modal__category.disabled .cookie--switch .switch .slider {
    cursor: not-allowed;
}

#cm .cm-modal__category.disabled .cookie--switch .switch .slider {
    background-color: #D0D0D0;
}

#cm .cm-modal__category.disabled .cookie--switch .switch .slider:before {
    background: #E8E8E8;
}

.cm-modal__category .cookie--switch {
    float: right;
    display: flex;
    align-items: center;
}

.cm-modal__category .cookie--switch .cookie--switch__label {
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    margin-right: 5px;
}

.cm-modal__cookiesList .cookie-item {
    border-bottom: 1px solid #CDCECF;
    padding: 10px 0;
}

.cm-modal__cookiesList .cookie-item:last-child {
    border-bottom: 0;
}

.cm-modal__cookiesList .cookie-item .cookie-item--first-row .cookie-item--first-row_left{
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 0x;
}

.cm-modal__cookiesList .cookie-item .cookie-item--first-row .cookie-item--first-row_left .cookie-name {
    margin-left: 15px;
}

.cm-modal__cookiesList .cookie-item .cookie-item--second-row {
    color: #706D79 !important;
    display: flex;
    justify-content: space-between;
    flex-flow: column;
    overflow: hidden;
    padding: 0 26px;
    transition: max-height 0.5s ease-in-out;
    max-height: 250px;
    line-height: 1.5rem;
}

.cm-modal__cookiesList .cookie-item .cookie-item--second-row.hide {
    max-height: 0;
}

.cm-modal__footer {
    margin: 10px 0 0 0;
}

.cm-modal__footer .cm-buttons {
    margin-bottom: 0;
}

/* @media (min-width: 576px) { } */

@media (min-width: 768px) {
    #cm {
        position: fixed;
        top: 0;
    }

    #cm h2 {
        max-width: 100%;
    }

    .cm-buttons .cm-button {
        width: auto;
        margin-right: 12px;
    }

    .cm-modal {
        max-width: 860px;
        max-height: calc(100% - 100px);
    }

    .cm-modal__content {
        overflow-y: auto;
        max-height: calc(100vh - 322px);
    }

    .cm-modal__cookiesList .cookie-item .cookie-item--first-row .cookie-item--first-row_left {
        padding: 10px 20x;
    }
}

/* @media (min-width: 992px) { } */

/* @media (min-width: 1200px) { } */