#mainfairpopup {
    display: none;
    z-index: 2000;
    pointer-events: all;

    position: fixed;
    top: 0;
     left: 0;
     right: 0;
    bottom: 0;
    /*max-width: 2200px;*/
    margin: 0 auto;
    pointer-events: none;
    height: auto;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
}

#mainfairpopup .submit-area {
    position: absolute;
    bottom: 14.7%;
    /* left: 0; */
    right: 3%;
    margin: 0 auto;
    width: 22.7%;
    height: 17.8%;
    cursor: pointer;
    z-index: 2;
}
#mainfairpopup .close-area {
    position: absolute;
    top: 0;
    right: 0;
    width: 13%;
    height: 10%;
    cursor: pointer;
    z-index: 2;
}

#mainfairpopup .back-drop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

#mainfairpopup .cont {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

#mainfairpopup .cont>.img-wrapper {
    position: relative;
    /* box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3); */
    pointer-events: all;
    width: 24%;

}

#mainfairpopup .cont>.img-wrapper img {
    width: 100%;
}

#mainfairpopup .cont>.img-wrapper div {
    /* border: 1px solid red; */
}

#mainfairpopup .cont>.img-wrapper .exit2 {
    position: absolute;
    bottom: 6%;
    left: 0px;
    right: 0px;
    margin: 0 auto;

    width: 50%;
    height: 50px;

    background-color: black;

    color: white;
    font-size: 20px;
    font-weight: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    cursor: pointer;
}

#mainfairpopup .ctrl {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    /*background-color: #000;*/
    background-color: #9E9E9E;
    padding: 0 8px;
}

#mainfairpopup .ctrl .not-today {
    position: relative;

    height: 50px;
    min-width: 75%;
    color: white;

    font-size: 14px;

    display: flex;
    cursor: pointer;
    justify-content: flex-start;
    text-align: left;
    align-items: center;
}

/*#mainfairpopup .ctrl .not-today::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    right: 0;*/
/*    top: 16px;*/
/*    bottom: 16px;*/
/*    width: 1px;*/
/*    background-color: white;*/
/*    opacity: 0.4;*/
/*}*/

#mainfairpopup .ctrl .dismiss {
    height: 50px;
    width: 100%;
    color: white;

    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

#mainfairpopup .fair-link {
    position: absolute;
    width: 100%;
    height: 10%;
    bottom: 7%;
    right: 0;
    z-index: 3;
    left: 0;
    cursor: pointer;
}
#mainfairpopup .fair-link img {
    width: 100% !important;
}