/* --------------------------------------
    This stylesheet is devoted to: 
    
    cookie-bar.php
    emergency-alert.php
    emergency-bar.php
-------------------------------------- */

/* -------------- alert bars --------------- */
.alert-bar {
    padding: 20px 30px;
}
.alert-bar .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.alert-bar p {
    font-size: 160%;
    line-height: 1.5;
    flex-shrink: 1;
    padding-right: 60px;
}
.alert-bar .buttons {
    flex-shrink: 0;
}
.alert-bar .button {
    margin-left: 30px;
}

@media screen and (max-width: 800px) {
    .alert-bar .inner  {
        display: block;
        text-align: center;
    }
    .alert-bar .text,
    .alert-bar .buttons  {
        width: 100%;
    }
    .alert-bar .text {
        margin-bottom: 20px;
    }
    .alert-bar .button {
        margin-left: 0;
    }
}

/* -------------- cookie bars --------------- */
#cookie-bar {
    position: fixed;
    bottom: 0;
    lefT: 0;
    width: 100vw;
    background-color: #9B172E;
    z-index: 10000;
}
#cookie-bar p {
    color: white;
}
#cookie-bar p a {
    color: white;
    opacity: 0.6;
    text-decoration: underline;
    display: block;
}
#cookie-bar p a:hover {
    text-decoration: none;
}
#cookie-bar .buttons {
    display: flex;
    align-items: center;
    align-content: center;
}
#cookie-bar .button.white {
    border: none !important;
    text-decoration: underline;
}
#cookie-bar .button.white:hover {
    text-decoration: none;
    color: white !important;
}
#cookie-bar .button.white:after {
    display: none !important;
}

.cookie-decline {
    display: inline-block;
    box-sizing: border-box;
    paddinG: 2px 0;
    line-height: 1;
    text-transform: uppercase;

    text-decoration: none;
    
    font-weight: 800;
    font-size: 160%;
    text-align: center;

    background: transparent;

    color: white;
    border-bottom: 1px solid white;
}
.cookie-decline:hover {
    border-bottom-color: transparent;
}
#cookie-bar .button.full.red {

    border: none !important;
}
/* -------------- emergency bar --------------- */
#emergency-bar {
    background-color: #292929;
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
}
#emergency-bar .intro, #emergency-bar .callout {
    display: block;
}
#emergency-bar .text {
    padding-left: 75px;
    position: relative;
    color: white;
}
#emergency-bar .text:before {
    content: '';
    position: absolute;
    display: block;
    widtH: 50px;
    height: 50px;
    left: 0;
    top: -3px;
    background-size: 50px 50px;
    background-image: url('../img/emergency.svg');
    background-position: center;
    background-repeat: no-repeat;
}
#emergency-bar .intro {
    font-size: 180%;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #FFF;
}
#emergency-bar .callout {
    font-size: 160%;
}
#website-header.show-emergency-bar {
    margin-top: 100px;
}
/* -------------- emergency alert --------------- */
#alert-background, #cookie-bar, #emergency-bar {
    display: none;
    z-index: 1000000;
}
#alert-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: 20000;
}
#emergency-alert {
    position: absolute;
    width: 680px;
    background: white;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
#emergency-alert .header {
    widtH: 100%;
    text-align: center;
    background: #e71c31;
    padding: 15px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
#emergency-alert .body{
    padding: 40px 0;
}
#emergency-alert .title {
    text-transform: uppercase;
    color: white;
    font-weight: 700;
    font-size: 220%;
    padding: 0 10px;
}
#emergency-alert .header:before {
    content: '';
    widtH: 50px;
    height: 50px;
    padding: 0 10px;
    background-size: 50px 50px;
    background-image: url('../img/emergency-white.svg');
    background-position: center;
    background-repeat: no-repeat;
}
#emergency-alert .date {
    color: #292929;
    font-weight: 700;
    font-size: 160%;
    margin-bottom: 30px;
}
#emergency-alert .message {
    color: #292929;
    font-size: 220%;
    margin-bottom: 30px;
}
#emergency-alert .footer{
    widtH: 100%;
    text-align: center;
    background: #ebebeb;
    padding: 15px 0;
}
#emergency-alert .footer a {
    color: #292929;
    font-weight: 700;
    font-size: 160%;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 20px;
}
#emergency-alert .footer a:after {
    content: '';
    display: inline-block;
    widtH: 20px;
    height: 20px;
    margin-left: 10px;
    vertical-align: top;
    background-size: 20px 20px;
    background-image: url('../img/close.svg');
    background-position: center;
    background-repeat: no-repeat;
}
