/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100px;
    z-index: 1040;

	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(10px);
	color: #ffffff;

    padding: 20px 25px;

    -webkit-box-shadow: 0 -2px 8px rgba(0,0,0,.20);
    box-shadow: 0 -2px 8px rgba(0,0,0,.20);
}

.cookie-consent-inner {
    max-width: 1400px;
    margin: 0 auto;

    display: table;
    width: 100%;
}

.cookie-consent-icon,
.cookie-consent-content,
.cookie-consent-actions {
    display: table-cell;
    vertical-align: middle;
}


/* Icon */

.cookie-consent-icon {
    width: 65px;
    padding-right: 20px;
    font-size: 38px;
    color: #fff;
}


/* Text */

.cookie-consent-content {
    padding-right: 30px;
}

.cookie-consent-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cookie-consent-text {
    font-size: 14px;
    line-height: 1.45;
    color: #fff;
    max-width: 750px;
}

.cookie-consent-learn,
.cookie-consent-learn:visited {
    display: inline-block;
    margin-top: 5px;
    color: #c9dff1;
    text-decoration: underline;
}

.cookie-consent-learn:hover,
.cookie-consent-learn:focus {
    color: #fff;
}


/* Buttons */

.cookie-consent-actions {
    white-space: nowrap;
    text-align: right;
}

.cookie-btn {
    min-height: 44px;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 5px;
    font-weight: 600;
}


/* Customize */

.cookie-btn-customize {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.cookie-btn-customize:hover,
.cookie-btn-customize:focus {
    background: rgba(255,255,255,.10);
    color: #fff;
}


/* Essential */

.cookie-btn-essential {
    background: #fff;
    color: #17324d;
    border: 1px solid #fff;
}

.cookie-btn-essential:hover,
.cookie-btn-essential:focus {
    background: #f1f1f1;
    color: #17324d;
}


/* Allow All 

.cookie-btn-allow {
    background: #087df1;
    color: #fff;
    border: 1px solid #087df1;
}

.cookie-btn-allow:hover,
.cookie-btn-allow:focus {
    background: #066dcc;
    color: #fff;
}
*/

/* ============================================================
   COOKIE PREFERENCES MODAL
   ============================================================ */

.cookie-preferences-modal .modal-dialog {
    width: 750px;
    max-width: calc(100% - 30px);
    margin: 60px auto;
}

.cookie-preferences-modal .modal-content {
    border-radius: 7px;
    border: 0;

    -webkit-box-shadow: 0 5px 25px rgba(0,0,0,.35);
    box-shadow: 0 5px 25px rgba(0,0,0,.35);
}

.cookie-preferences-modal .modal-header {
    padding: 22px 25px 12px;
    border-bottom: 0;
}

.cookie-preferences-modal .modal-title {
    margin: 0 0 5px;
    color: #17324d;
    font-size: 25px;
    font-weight: 600;
}

.cookie-modal-intro {
    margin: 0;
    color: #4c5967;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-preferences-modal .modal-body {
    padding: 5px 25px 15px;
}


/* Cookie category */

.cookie-category {
    display: table;
    width: 100%;

    border: 1px solid #dce3ea;
    border-radius: 5px;

    padding: 16px;
    margin-bottom: 12px;

    background: #fff;
}

.cookie-category-icon,
.cookie-category-content,
.cookie-category-control {
    display: table-cell;
    vertical-align: middle;
}

.cookie-category-icon {
    width: 45px;
    color: #8996a3;
    font-size: 22px;
}

.cookie-category-content {
    padding-right: 20px;
}

.cookie-category-title {
    font-size: 15px;
    font-weight: 600;
    color: #17324d;
    margin-bottom: 3px;
}

.cookie-category-description {
    color: #667788;
    font-size: 13px;
    line-height: 1.4;
}

.cookie-category-control {
    width: 115px;
    text-align: right;
}


/* Always active */

.cookie-always-active {
    display: inline-block;

    padding: 6px 10px;
    border-radius: 4px;

    background: #f0f3f7;
    color: #657487;

    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   TOGGLE SWITCH
   ============================================================ */

.cookie-switch {
    position: relative;
    display: inline-block;

    width: 50px;
    height: 28px;

    margin: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;

    cursor: pointer;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: #aeb7c0;

    border-radius: 28px;

    -webkit-transition: .2s;
    transition: .2s;
}

.cookie-slider:before {
    position: absolute;

    content: "";

    height: 22px;
    width: 22px;

    left: 3px;
    bottom: 3px;

    background-color: #fff;

    border-radius: 50%;

    -webkit-transition: .2s;
    transition: .2s;

    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #087df1;
}

.cookie-switch input:checked + .cookie-slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

.cookie-switch input:focus + .cookie-slider {
    box-shadow: 0 0 0 2px rgba(8,125,241,.25);
}


/* ============================================================
   MODAL FOOTER
   ============================================================ */

.cookie-modal-footer {
    display: table;
    width: 100%;

    padding: 15px 25px 22px !important;

    border-top: 1px solid #e5e5e5;
}

.cookie-modal-learn {
    display: table-cell;
    vertical-align: middle;

    text-align: left;

    color: #087df1;
    text-decoration: underline;
}

.cookie-modal-actions {
    display: table-cell;
    vertical-align: middle;

    text-align: right;
    white-space: nowrap;
}

.cookie-modal-btn {
    min-height: 42px;

    padding: 9px 15px;
    margin-left: 7px;

    border-radius: 5px;
    font-weight: 600;
}


/* Essential */

.cookie-modal-essential {
    background: #fff;
    color: #17324d;
    border: 1px solid #aeb7c0;
}


/* Save */
/*
.cookie-modal-save {
    background: #fff;
    color: #087df1;
    border: 1px solid #087df1;
}
*/

/* Allow All */
/*
.cookie-modal-allow {
    background: #087df1;
    color: #fff;
    border: 1px solid #087df1;
}
*/

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-inner,
    .cookie-consent-content,
    .cookie-consent-actions {
        display: block;
        width: 100%;
    }

    .cookie-consent-icon {
        display: none;
    }

    .cookie-consent-content {
        padding-right: 0;
    }

    .cookie-consent-title {
        font-size: 18px;
    }

    .cookie-consent-actions {
        margin-top: 15px;
        text-align: left;
        white-space: normal;
    }

    .cookie-btn {
        display: block;
        width: 100%;

        margin: 7px 0 0;
    }


    /* Modal */

    .cookie-preferences-modal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 15px;
    }

    .cookie-category,
    .cookie-category-content,
    .cookie-category-control {
        display: block;
        width: 100%;
    }

    .cookie-category-icon {
        display: none;
    }

    .cookie-category-content {
        padding-right: 0;
    }

    .cookie-category-control {
        margin-top: 12px;
        text-align: left;
    }

    .cookie-modal-footer,
    .cookie-modal-learn,
    .cookie-modal-actions {
        display: block;
        width: 100%;
    }

    .cookie-modal-actions {
        margin-top: 15px;
        white-space: normal;
    }

    .cookie-modal-btn {
        display: block;
        width: 100%;

        margin: 7px 0 0;
    }
}

/* Shared SVG styling */
.cookie-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    color: #8996a3;
    flex-shrink: 0;
}

/* Larger white icon in bottom banner */
.cookie-consent-icon .cookie-icon {
    width: 65px;
    height: 65px;
    color: #fff;
}

/* Smaller icons in preferences modal */
.cookie-category-icon .cookie-icon {
    width: 25px;
    height: 25px;
    color: #8996a3;
}

.modal-backdrop { z-index: 1040; }
.modal          { z-index: 1050; }
.cookie-consent-banner {
    z-index: 1039;
}