/* Cookie Manager */

#wrap-cookie-bottom {
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 99999;
    bottom: 0;
    left: 0;
    width: 100%;
}
#wrap-cookie-bottom.top {
    bottom: auto;
    top: 0;
}
#wrap-cookie-bottom.only-cookie-icon {
    width: auto;
}
#wrap-cookie-bottom.only-cookie-icon #cookie-bottom {
    padding: 3px 4px;
}
#wrap-cookie-bottom.only-cookie-icon #cookie-bottom.tiny > #cookie-bottom-icon {
    top: auto;
    margin-top: 0px;
    position: static;
}
#wrap-cookie-bottom.only-cookie-icon #cookie-bottom.tiny > #cookie-bottom-icon svg {
    width: 20px !important;
    height: 20px !important;
}
#wrap-cookie-bottom.only-cookie-icon #cookie-bottom.normal > #cookie-bottom-icon {
    top: auto;
    margin-top: 0px;
    position: static;
}
#wrap-cookie-bottom.only-cookie-icon #cookie-bottom.normal > #cookie-bottom-icon svg {
    width: 35px !important;
    height: 35px !important;
}
#wrap-cookie-bottom.only-cookie-icon #cookie-bottom.none > #cookie-bottom-icon {
    display: none;
}
#wrap-cookie-bottom.only-cookie-icon #cookie-bottom.none > #cookie-bottom-icon svg {
    display: none;
}
#wrap-cookie-bottom #cookie-bottom {
    padding-left: 10px;
    padding-right: 10px;
    background: #EEEEEE;
    transition: background 0.5s;
    height: 100%;
    overflow: hidden;
    display: block;
}
#wrap-cookie-bottom #cookie-bottom > div {
    top: 50%;
    margin-top: -26px;
    position: relative;
}
#wrap-cookie-bottom #cookie-bottom:hover {
    cursor: pointer;
    background: #F7F7F7;
}
#wrap-cookie-bottom #cookie-bottom-content {
    width: calc(100% - 55px);
    padding: 18px 0;
    box-sizing: border-box;
    background: #292932;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-text {
    height: auto;
    float: left;
    color: #FFFFFF;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    max-width:  calc(100vw - 530px);
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-text h5 {
    font-size: 22px;
    margin: 5px 0 0 0;
    color: #ffffff;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-text span {
    font-size: 15px;
    margin: 5px 0;
    line-height: 1.3rem !important;
    display: inline-block;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options {
    padding-top: 15px;
    padding-bottom: 10px;
    width: auto;
    float: right;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-close {
    padding: 0;
    position: relative;
    margin-top: -26px;
    margin-right: 6px;
    height: auto;
    width: auto;
    background: none;
    line-height: 0;
    border: none;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-close:hover {
    cursor: pointer;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-close:hover g,
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-close:hover path {
    fill: #DDDDDD;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-close g,
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-close path {
    fill: #FFFFFF;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-settings {
    padding: 0;
    background: none !important;
    border: none;
    margin-right: 85px;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-settings svg {
    margin-top: 10px;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-settings g,
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-settings path {
    transition: fill 0.2s;
    fill: #FFFFFF;
}
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-settings:hover g,
#wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-settings:hover path {
    fill: #EEEEEE;
}
#cookie-offcanvas .btn,
#cookie-bottom-content-options .btn {
    float: right;
    background: #FFFFFF;
    padding: 8px 35px;
    margin-right: 10px;
    color: #333;
    box-sizing: border-box;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}
#cookie-offcanvas .btn:not(#cookie-close),
#cookie-bottom-content-options .btn:not(#cookie-close) {
    border: 1px solid #333;
}
#cookie-offcanvas .btn:not(#cookie-close):hover,
#cookie-bottom-content-options .btn:not(#cookie-close):hover {
    cursor: pointer;
    background: #333;
    color: #FFFFFF;
}
#cookie-offcanvas {
    display: none;
    width: 360px;
    position: fixed;
    top: 0;
    left: 0;
    background: #292932;
    z-index: 9998;
    overflow: hidden;
}
#cookie-offcanvas.right {
    right: 0;
    left: auto;
}
#cookie-offcanvas .cookie-centered {
    text-align: center;
}
#cookie-offcanvas .cookie-save-current-options {
    margin-bottom: 25px;
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
}
#cookie-offcanvas .cookie-save-current-options:hover {
    cursor: pointer;
    text-decoration: underline;
}
#cookie-offcanvas #cookie-offcanvas-inner {
    height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
}
#cookie-offcanvas #cookie-offcanvas-inner .cookie-text-center {
    text-align: center;
}
#cookie-offcanvas #cookie-offcanvas-inner .btn {
    float: none;
    margin: 10px 0;
    width: auto;
    text-align: center;
    display: inline-block;
}
#cookie-offcanvas #cookie-offcanvas-inner hr {
    margin: 8px 0;
}
#cookie-offcanvas #cookie-offcanvas-inner p,
#cookie-offcanvas #cookie-offcanvas-inner a {
    padding: 5px 15px;
    margin: 0px;
    font-size: 12px;
    font-weight: normal;
    color: #FFFFFF;
}
#cookie-offcanvas #cookie-offcanvas-inner a {
    padding: 0;
    color: #FFFFFF !important;
    text-decoration: underline;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 {
    padding: 5px 15px;
    margin: 0px;
    color: #FFFFFF;
    font-size: 1.2em !important;
}
#cookie-offcanvas #cookie-offcanvas-inner h4:first-of-type {
    margin-top: 10px;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 .cookie-checkbox {
    float: right;
    margin-top: -15px;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"] {
    display: none;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"] + label {
    width: 30px;
    height: 15px;
    border-radius: 30px;
    border: 2px solid #DDDDDD;
    background-color: #EEEEEE;
    display: inline-block;
    content: "";
    float: left;
    margin-right: 5px;
    transition: background-color 0.5s;
    margin-top: 15px;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"] + label:hover {
    cursor: pointer;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"] + label::before {
    width: 15px;
    height: 15px;
    border-radius: 30px;
    background-color: #FFFFFF;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    transition: margin 0.1s linear;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"]:checked + label {
    background-color: #51AC33;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"]:disabled + label {
    background-color: #275219;
    cursor: not-allowed;
}
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"]:checked + label::before,
#cookie-offcanvas #cookie-offcanvas-inner h4 input[type="checkbox"]:disabled + label::before {
    margin: 0 0 0 15px;
}
@media (max-width: 875px) {
    #cookie-close {
        position: absolute !important;
        top: 5px !important;
        margin-right: 0px !important;
        right: 5px !important;
        margin-top: 0px !important;
    }
    #cookie-bottom-content-text {
        width: 100% !important;
        max-width: none !important;
        margin-bottom: 15px !important;
        padding-right: 45px !important;
    }
    #cookie-bottom-content-text,
    #cookie-bottom-content-options {
        top: 0 !important;
        position: static !important;
        transform: none !important;
        margin: 4px 0 0 0 !important;
    }
    #wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options {
        width: 100% !important;
    }
    #wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options .btn {
        float: left !important;
        text-align: center;
    }
    #wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-settings {
        margin-left: 20px;
        margin-right: 10px;
    }
    #wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-accept {
        width: calc(100% - 80px);
        max-width: 400px !important;
    }
    #cookie-bottom-content-options {
        margin-bottom: 5px !important;
        margin-left: 20px !important;
    }
}
@media (max-width: 450px) {
    #wrap-cookie-bottom #cookie-bottom-content #cookie-bottom-content-options #cookie-accept {
        padding: 6px 4px !important;
        text-transform: none;
        font-weight: 500;
    }
}
@media (max-width: 400px) {
    #cookie-offcanvas {
        max-width: 100vw !important;
    }
}