/**
 * GLOBAL
 */

:root {
    --io-popup-background-color: #e9bd1e;
    --io-popup-text-color: #fff;
    --io-popup-background-button-color: #1c2442;
    --io-popup-text-button-color: #fff;
    --io-popup-corners-margin: 30px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.io-popup-wrapper{
    display: none;
}

.io-popup-wrapper.show{
    display: block;
}

.io-popup{
    background: var(--io-popup-background-color);
    color: var(--io-popup-text-color);
}

.io-popup .io-popup-message *{
    color: var(--io-popup-text-color);
    font-weight: 500;
    font-size: 0.75rem;
}

.io-popup .io-popup-message b,
.io-popup .io-popup-message strong{
    font-weight: 900;
}

.io-popup .io-popup-message a{
    text-decoration: underline;
}

.io-popup .io-popup-message ul{
    margin-left: 30px;
}

.io-popup .io-popup-content{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.io-popup .io-popup-message{
    margin-right: 15px;
}

.io-popup .io-popup-image img{
    max-width: 350px;
    margin-bottom: 15px;
}

.io-popup .io-popup-button{
    background: var(--io-popup-background-button-color);
    color: var(--io-popup-text-button-color);
    padding: 7px 15px 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 3px;
}

.io-popup-close{
    margin: 0;
    border: 0;
    padding: 0;
    background: none;
    width: 30px;
    height: 30px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}

.io-popup-close .icon-cross {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    position: relative;
    width: 15px;
    height: 15px;
}

.io-popup-close .icon-cross:before {
    transform: rotate(45deg);
}
.io-popup-close .icon-cross:after {
    transform: rotate(-45deg);
}
.io-popup-close .icon-cross:before,
.io-popup-close .icon-cross:after {
     content: "";
     position: absolute;
     top: 7px;
     left: 1px;
     right: 0;
     height: 2px;
     background: #fff;
     border-radius: 6px;
 }

/**
 * POPUP FIXED POSITION
 */

.io-popup-wrapper:not(.io-popup-position-1) .io-popup{
    border-radius: 3px;
    box-shadow: rgb(0 0 0 / 20%) 0px 8px 24px;
    position: fixed;
    z-index: 9000;
    width: 100%;
    max-width: 500px;
}

.io-popup-wrapper:not(.io-popup-position-1) .io-popup .io-popup-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.io-popup-wrapper:not(.io-popup-position-1) .io-popup .io-popup-button{
    margin-top: 20px;
    padding: 12px 22px 13px;
}

/**
 * POPUP TOP BANNER
 */

.io-popup-wrapper.io-popup-position-1 .io-popup .io-popup-content{
    padding: 8px;
}

/**
 * POPUP CENTER POSITION
 */

.io-popup-wrapper.io-popup-position-0{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9001;
    position: fixed;
}
.io-popup-wrapper.io-popup-position-0.show{
    display: flex;
}
.io-popup-wrapper.io-popup-position-0 .io-popup{
    position: static;
}

/**
 * POPUP CORNERS POSITION
 */

.io-popup-wrapper.io-popup-position-5 .io-popup,
.io-popup-wrapper.io-popup-position-4 .io-popup{
    right: var(--io-popup-corners-margin);
    bottom: var(--io-popup-corners-margin);
}

.io-popup-wrapper.io-popup-position-4 .io-popup{
    right: auto;
    left: var(--io-popup-corners-margin);
}

.io-popup-wrapper.io-popup-position-2 .io-popup,
.io-popup-wrapper.io-popup-position-3 .io-popup{
    left: var(--io-popup-corners-margin);
    top: var(--io-popup-corners-margin);
}

.io-popup-wrapper.io-popup-position-3 .io-popup{
    right: var(--io-popup-corners-margin);
    left: auto;
}

/**
 * REPSONSIVE
 */

@media screen and (max-width: 768px)
{
    .io-popup-wrapper.io-popup-position-1 .io-popup .io-popup-content{
        flex-direction: column;
    }

    .io-popup-wrapper.io-popup-position-1 .io-popup .io-popup-content .io-popup-button{
        margin: 10px 0 5px;
    }
}

@media screen and (max-width: 550px)
{
    .io-popup-wrapper:not(.io-popup-position-1) .io-popup{
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
    }

    .io-popup-wrapper.io-popup-position-2 .io-popup,
    .io-popup-wrapper.io-popup-position-3 .io-popup{
        top: 10px;
    }

    .io-popup-wrapper.io-popup-position-5 .io-popup,
    .io-popup-wrapper.io-popup-position-4 .io-popup{
        bottom: 10px
    }
}


