#cookies-baner-spawn{
    position: fixed;
    background-color: #e0edfd;

    left: 5px;
    bottom: 5px;

    display: grid;
    place-items: center;
    width: max-content;

    border: 1px solid #3f3f3f;
    border-radius: 5px;

    z-index: 10;
}
#cookies-baner-spawn span{
    display: block;
    padding: 2px 14px;
    font-size: 14px;
    line-height: 16px;
    font-weight: normal;
    cursor: pointer;
}
#cookies-baner-spawn span:hover{
    color: #C00008;
}

/**/
#cookies-overlay{
    display: none;

    position: fixed;
    inset: 0;

    background-color: rgba(0, 20, 45, 0.20);

    z-index: 9;
}
/**/
#cookies-baner-show{
    position: fixed;
    display: none;

    left: 5px;
    bottom: 5px;
    top: auto;
    right: auto;
    transform: none;

    width: min(310px, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    overflow-y: auto;

    box-sizing: border-box;
    padding: 32px 14px 14px;

    background-color: #f7f9fc;
    border: 1px solid #a6b7cd;
    border-radius: 4px;

    color: #263548;

    z-index: 10;
}
/**/
#cb-close{
    position: absolute;
    top: 6px;
    right: 8px;

    display: grid;
    place-items: center;

    width: 24px;
    height: 24px;
    padding: 0;

    background: transparent;
    border: none;

    color: #53677f;
    font-size: 22px;
    line-height: 1;

    cursor: pointer;
}
#cb-close:hover{
    color: #bd0006;
}

/**/
#cb-1{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;

    margin: 0;
    padding-bottom: 12px;

    border-bottom: 1px solid #ccd5e0;
}

#cb-1-t,
#cb-2-t{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;

    align-items: center;
    column-gap: 10px;

    max-width: none;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;

    color: #002e6e;
}

#cb-1-c,
#cb-2-c{
    max-width: none;
    margin: 0;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;

    color: #303c4b;
    overflow-wrap: anywhere;
}

#cb-2{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;

    padding-block: 12px;

    border-bottom: 1px solid #ccd5e0;
}

/**/
#cb-more-info{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;

    align-items: center;
    column-gap: 12px;

    padding-top: 12px;
}

#cb-more-info a{
    width: max-content;
    color: #002e6e;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;

    overflow-wrap: anywhere;
}
#cb-more-info a:hover{
    color: #bd0006;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#cb-confirm{
    background-color: #002e6e;
    color: #fff;

    border: 1px solid #002e6e;
    border-radius: 3px;

    padding: 6px 12px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;

    cursor: pointer;
}
#cb-confirm:hover{ background-color: #174579; }
#cb-confirm:focus-visible{
    outline: 2px solid #002e6e;
    outline-offset: 3px;
}

/**/
@media (min-width: 1150px) {
    #cookies-overlay{ display: none !important; }
}
/**/

@media (max-width: 1149px){
    #cookies-baner-show{
        left: 50%;
        top: 50%;
        right: auto;
        bottom: auto;

        transform: translate(-50%, -50%);

        width: min(340px, calc(100vw - 24px));
        max-height: calc(100dvh - 24px);
    }
}

@media (max-width: 364px){
    #cookies-baner-show { padding: 30px 12px 12px; }
    /**/
    #cb-1-t,
    #cb-2-t { font-size: 15px; }

    #cb-1-c,
    #cb-2-c{ font-size: 12px; }

    #cb-more-info{ column-gap: 8px; }

    #cb-more-info a,
    #cb-confirm{ font-size: 11px; }

    #cb-confirm{ padding: 5px 8px; }
}

@media (max-width: 209px){
    #cookies-baner-show{
        width: calc(100vw - 10px);
        padding: 30px 8px 8px;
        font-size: 11px;
        overflow-wrap: anywhere;
    }
    /**/
    #cb-1-t,
    #cb-2-t{ font-size: 13px; }

    #cb-1-c,
    #cb-2-c{ font-size: 11px; }

    #cb-more-info{
        grid-template-columns: minmax(0, 1fr);
        row-gap: 10px;
    }
    #cb-more-info a{ font-size: 11px; }

    #cb-confirm{
        justify-self: end;
        font-size: 11px;
    }
}