body.cookie-manage-preferences{
/*body.cookie-consent{*/
    overflow: hidden;
}
.cookie-consent-overlay *{
    box-sizing: border-box;
}
.cookie-consent-overlay{
    position:fixed;
    width: 100%;
    height:100%;
    top:0;
    left:0;
    background: rgba(24, 32, 38, 0.8);
    z-index: 999999999;
    display:none;
}
.default-consent-container {
	max-width: 1600px;
	padding: 0;
	text-align: center;
	margin: 0 auto;
}
.main-container {
	display: inline-block;
	max-width: 960px;
	height: 100%;
	padding: 0 20px;
	margin: 0;
	vertical-align: bottom;
	width: 100%;
	box-sizing: border-box;
	position: relative;	
}
.main-container *{
	font-family: var(--brand-body);
}
body.cookie-manage-preferences .cookie-consent-overlay{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.cookie-consent-strip{
    position:fixed;
    width: 100%;
    height: auto;
    padding: 36px 0;
    background: #e5e5e5;
    left:0;
    bottom: -120%;
    z-index: 9999999991;
    transition-duration:150ms;
    transition-timing-function:cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-property:all;
    border-top:1px solid #000000;
}
body.cookie-consent .cookie-consent-strip{
    bottom: 0;
}
body.cookie-manage-preferences .cookie-consent-strip{
    bottom: -120%;
}

.cookie-consent-strip .cookie-consent-text{
    float:left;
    width: calc(100% - 266px);
    width: -webkit-calc(100% - 266px);
}
.cookie-consent-strip .cookie-consent-text p{
    float:left;
    width: 100%;
    height: auto;
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    text-align: justify;
}
.cookie-consent-strip .cookie-consent-text p:last-child{
    margin: 0;
}
.cookie-consent-strip .cookie-consent-text p a{
    text-decoration: underline;
    color: #000000;
}
.cookie-consent-strip .cookie-consent-text p a:hover{
    text-decoration: none;
    color: #000000;
}
.cookie-consent-strip .cookie-consent-actions{
    float:left;
    width: 266px;
    height: auto;
    padding: 0 0 0 70px;
    box-sizing: border-box;
}
.cookie-consent-strip .cookie-consent-actions a.acceptAllCookies{
    float:left;
    width: 100%;
    height: auto;
    padding:0;
    text-align: center;
    text-decoration: none!important;
    border:1px solid #000000;
    font-weight: 700;
    font-size: 14px;
    line-height: 45px;
    color: #ffffff;
    margin: 2px 0 16px;
    border-radius:2px;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;    
    background: linear-gradient(to right,#fff 0%,#fff 49.9%,#000 49.9%,#000 100%);
	background-position-x: 0%;
	background-position-y: 0%;
	background-size: auto;
	background-size: 203% 100%;
	background-position: 99% 0;
	transition: background-position 0.5s;
}
.cookie-consent-strip .cookie-consent-actions a.acceptAllCookies:hover{
    background-position: 0 0;
	color:#000;
	text-decoration:none;
}
.cookie-consent-strip .cookie-consent-actions a.preferences{
    float:left;
    width: auto;
    height: auto;
    padding:0;
    text-align: left;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    margin: 0 0 0 10px;
    webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.cookie-consent-strip .cookie-consent-actions a.preferences:hover{
    color: #000000;
    text-decoration: underline;
}

/*<editor-fold desc="Manager Preferences Modal">*/
.manage-preferences{
    background: #ffffff;
    border-radius:0;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    width: 100%;
    max-width: 750px;
    padding: 50px;
    position: relative;
    border:1px solid #000000;
    box-sizing: border-box;
    display: none;
}
body.cookie-manage-preferences .manage-preferences{
    display: block;
}
.manage-preferences a.close-preferences{
    position: absolute;
    top:24px;
    right: 24px;
    color: #000000;
    font-size: 16px;
    webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    padding: 6px;
}
.manage-preferences a.close-preferences:hover{
    color: #000000;
}
.manage-preferences h2{
    color: #000000;
    float:left;
    width: 100%;
    height: auto;
    margin: 0 0 30px 0;
    font-size: 24px;
    line-height: 25px;
    font-weight: 700;
    padding: 0;
}
.manage-preferences .cookies-selection{
    float:left;
    width: 100%;
    height: auto;
    padding: 0 0 0 15px;
    margin: 0;
}
.manage-preferences .cookies-selection .cookies-selection-row{
    float:left;
    width: 100%;
    height: auto;
    margin: 0 0 20px 0;
}
.manage-preferences .cookies-selection .cookies-selection-row .cookies-selection-switch{
    float:left;
    width: 36px;
    height: auto;
    margin: 0;
}
.manage-preferences .cookies-selection .cookies-selection-row .cookies-selection-text{
    float:left;
    width: calc(100% - 36px);
    width: -webkit-calc(100% - 36px);
    height: auto;
    margin: 0;
}
.manage-preferences .cookies-selection .cookies-selection-row .cookies-selection-text h3{
    float:left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 0 8px 0;
    color: #000000;
    font-size: 16px;
    font-weight: 900;
    line-height: 18px;
    text-align: left;
}
.manage-preferences .cookies-selection .cookies-selection-row .cookies-selection-text p{
    float:left;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: justify;
}
.manage-preferences .cookies-selection .cookies-selection-row.no-margin{
    margin: 0;
}
.manage-preferences .cookies-selection .cookies-selection-save{
    float:left;
    width: 100%;
    height: auto;
    margin: 30px 0 0 0;
    padding: 0 0 0 36px;
}
.manage-preferences .cookies-selection .cookies-selection-save a.save-cookie-preferences{
    float:left;
    width: 280px;
    height: auto;
    padding:0;
    text-align: center;
    text-decoration: none!important;
    border:1px solid #000000;
    font-weight: 700;
    font-size: 16px;
    line-height: 45px;
    color: #ffffff;
    margin: 0;
    border-radius:0;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    border-radius:2px;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    margin:25px 0 0 0;
    padding:0 26px;
    border:1px solid #000;
    background: linear-gradient(to right,#fff 0%,#fff 49.9%,#000 49.9%,#000 100%);
	background-position-x: 0%;
	background-position-y: 0%;
	background-size: auto;
	background-size: 203% 100%;
	background-position: 99% 0;
	transition: background-position 0.5s;
}
.manage-preferences .cookies-selection .cookies-selection-save a.save-cookie-preferences:hover{
    background-position: 0 0;
	color:#000;
	text-decoration:none;
}
/*</editor-fold>*/

/*<editor-fold desc="Checkbox Toggle">*/
.switch {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 14px;
    margin: 3px 0 0 0;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switchslider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
    border:1px solid #32425f;
}
.switchslider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 0;
    bottom: 0;
    background-color: #dd1e1e;
    border:1px solid #32425f;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .switchslider {
    background-color: #ffffff;
}
input:focus + .switchslider {
    box-shadow: none;
}
input:checked + .switchslider:before {
    -webkit-transform: translateX(10px);
    -ms-transform: translateX(10px);
    transform: translateX(10px);
    background: #35c543;
}
.switchslider.round {
    border-radius: 10px;
}
.switchslider.round:before {
    border-radius: 50%;
}
/*</editor-fold>*/

@media (min-width: 120px) and (max-width: 780px) {
    body.cookie-consent .cookie-consent-strip{
        bottom: 20px;
        left: 20px;
        width: calc(100% - 40px);
        width: -webkit-calc(100% - 40px);
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        padding: 20px 0;
        border:1px solid #000000;
    }
    body.cookie-manage-preferences .cookie-consent-strip{
        bottom: -120%;
    }
    .cookie-consent-strip .cookie-consent-text{
        width: 100%;
        margin: 0 0 10px 0;
    }
    .cookie-consent-strip .cookie-consent-actions{
        width: 100%;
        padding: 0;
        text-align: center;
    }
    .cookie-consent-strip .cookie-consent-actions a.acceptAllCookies{
        margin: 10px 0;
    }
    .cookie-consent-strip .cookie-consent-actions a.preferences{
        float:left;
        width: 100%;
        text-align: center;
        padding:0;
        margin:8px 0 0 0;
    }

    .manage-preferences a.close-preferences{
        top:14px;
        right: 14px;
    }
    .cookie-consent-strip .cookie-consent-text p,
    .manage-preferences .cookies-selection .cookies-selection-row .cookies-selection-text p{
        font-size: 15px;
        line-height: 20px;
        margin: 0 0 12px 0;
    }
    .manage-preferences{
        padding: 20px;
        width: calc(100% - 20px);
        width: -webkit-calc(100% - 20px);
        margin:0;
    }
    .manage-preferences .cookies-selection{
        padding:0;
    }
    .manage-preferences .cookies-selection .cookies-selection-save{
        padding:0;
        margin: 16px 0 0 0;
    }
    .manage-preferences .cookies-selection .cookies-selection-save a.save-cookie-preferences{
        width: 100%;
    }
    .manage-preferences .cookies-selection .cookies-selection-row {
        margin: 0 0 12px 0;
    }
    .manage-preferences h2 {
        margin: 0 0 26px 0;
        font-size: 22px;
        line-height: 23px;
    }
}


/* ==================================================
   MIDTOWN 2027 - COOKIE CONSENT BRANDING
   ================================================== */

/* Shared branding */

.cookie-consent-strip,
.manage-preferences {
    background: var(--brand-cream);
    color: var(--brand-green);
    font-family: var(--brand-body);
}

/* ==================================================
   COOKIE CONSENT STRIP
   ================================================== */

.cookie-consent-strip {
    padding: 28px 0;
    border-top: 1px solid var(--brand-green);
}

.cookie-consent-strip .default-consent-container {
    width: 100%;
    max-width: 1500px;
    padding: 0 var(--brand-pad);
    margin: 0 auto;
    box-sizing: border-box;
}

.cookie-consent-strip .main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0;
    margin: 0;
}

.cookie-consent-strip .cookie-consent-text {
    float: none;
    flex: 1;
    width: auto;
    min-width: 0;
    text-align: left;
}

.cookie-consent-strip .cookie-consent-text p {
    float: none;
    font-family: var(--brand-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--brand-green);
    text-align: left;
    margin: 0 0 12px;
}

.cookie-consent-strip .cookie-consent-text p:last-child {
    margin-bottom: 0;
}

.cookie-consent-strip .cookie-consent-text p a,
.cookie-consent-strip .cookie-consent-text p a:hover {
    color: var(--brand-green);
}

.cookie-consent-strip .cookie-consent-actions {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 250px;
    gap: 10px;
    width: 250px;
    padding: 0;
}

/* ==================================================
   MANAGE PREFERENCES MODAL
   ================================================== */

.manage-preferences {
    width: calc(100% - 40px);
    max-width: 750px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 40px;
    border: 1px solid var(--brand-green);
    border-radius: 8px;
}

.manage-preferences h2 {
    font-family: var(--brand-font);
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    color: var(--brand-green);
    margin: 0 0 25px;
    padding-right: 30px;
}

.manage-preferences a.close-preferences,
.manage-preferences a.close-preferences:hover {
    color: var(--brand-green);
}

.manage-preferences .cookies-selection {
    padding: 0;
}

.manage-preferences .cookies-selection .cookies-selection-row {
    margin-bottom: 18px;
}

.manage-preferences .cookies-selection
.cookies-selection-row .cookies-selection-text h3 {
    font-family: var(--brand-font);
    font-size: 15px;
    font-weight: 500;
    line-height: 21px;
    color: var(--brand-green);
    margin-bottom: 6px;
}

.manage-preferences .cookies-selection
.cookies-selection-row .cookies-selection-text p {
    font-family: var(--brand-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--brand-green);
    text-align: left;
    margin: 0;
}

.manage-preferences .cookies-selection .cookies-selection-save {
    margin: 24px 0 0;
    padding-left: 36px;
}

/* ==================================================
   BRANDED BUTTONS
   ================================================== */

.cookie-consent-strip .cookie-consent-actions a.acceptAllCookies,
.manage-preferences .cookies-selection
.cookies-selection-save a.save-cookie-preferences {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 46px;
    margin: 0;
    padding: 12px 20px;
    background: var(--brand-green);
    color: var(--brand-cream);
    border: 1px solid var(--brand-green);
    border-radius: 8px;
    font-family: var(--brand-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease,
                color 0.25s ease;
}

.manage-preferences .cookies-selection
.cookies-selection-save a.save-cookie-preferences {
    width: auto;
    max-width: 100%;
}

.cookie-consent-strip .cookie-consent-actions a.acceptAllCookies:hover,
.manage-preferences .cookies-selection
.cookies-selection-save a.save-cookie-preferences:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
    color: var(--brand-green);
}

/* Secondary button */

.cookie-consent-strip .cookie-consent-actions a.preferences {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    margin: 0;
    background: transparent;
    color: var(--brand-green);
    border: 1px solid var(--brand-green);
    border-radius: 8px;
    font-family: var(--brand-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease,
                color 0.25s ease;
}

.cookie-consent-strip .cookie-consent-actions a.preferences:hover {
    background: var(--brand-green);
    color: var(--brand-cream);
    text-decoration: none;
}

/* ==================================================
   COOKIE TOGGLE SWITCHES
   ================================================== */

.manage-preferences .switchslider {
    background: var(--brand-cream);
    border-color: var(--brand-green);
}

.manage-preferences .switchslider:before {
    background: var(--brand-olive);
    border-color: var(--brand-green);
}

.manage-preferences input:checked + .switchslider {
    background: var(--brand-cream);
}

.manage-preferences input:checked + .switchslider:before {
    background: var(--brand-green);
}

.manage-preferences input:focus-visible + .switchslider {
    outline: 3px solid var(--brand-brown);
    outline-offset: 3px;
}

/* ==================================================
   MOBILE RESPONSIVE
   ================================================== */

@media (max-width: 780px) {

    body.cookie-consent .cookie-consent-strip {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 20px 0;
        border: 1px solid var(--brand-green);
        border-radius: 8px;
        max-height: calc(100dvh - 30px);
        overflow-y: auto;
    }

    .cookie-consent-strip .default-consent-container {
        padding: 0 20px;
    }

    .cookie-consent-strip .main-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-consent-strip .cookie-consent-text {
        width: 100%;
        margin: 0;
    }

    .cookie-consent-strip .cookie-consent-actions {
        flex: none;
        width: 100%;
    }

    .manage-preferences {
        width: calc(100% - 30px);
        padding: 25px;
    }

    .manage-preferences h2 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 20px;
    }

    .manage-preferences .cookies-selection
    .cookies-selection-save {
        padding: 0;
        margin-top: 20px;
    }

    .manage-preferences .cookies-selection
    .cookies-selection-save a.save-cookie-preferences {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cookie-consent-strip,
    .cookie-consent-strip a,
    .manage-preferences a,
    .manage-preferences .switchslider,
    .manage-preferences .switchslider:before {
        transition: none !important;
    }
}
