@charset "UTF-8";
@import url('hco_fonts.css');


/*
----------------------------
    Announcement Pop Up
----------------------------
*/
#overlay {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:#ffffff80;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -o-transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -moz-transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -webkit-transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
#announcementPopUp {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 480px;
    height: auto;
    min-height: 480px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 6px 3px rgba(149, 146, 146, 0.4); 
    box-shadow: 0px 0px 6px 3px rgba(149, 146, 146, 0.4);
    z-index: 100000;
    background-color: #fff;
    background-image: url('/it/images/announce-bg-it.jpg');
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    font-family: "HCo Gotham SSm", sans-serif;
}

#overlay.fade {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -o-transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -moz-transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -webkit-transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#announcementPopUp .announcementCloseBtn {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 10;
}

#announcementPopUp .announcementCloseBtn::before, 
#announcementPopUp .announcementCloseBtn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 15px;
    background-color: #000;
    width: 2px;
    height: 26px;
    transform: rotate(-45deg);
}

#announcementPopUp .announcementCloseBtn::after {
    transform: rotate(45deg);
}

#announcementPopUp .textFrame {
    position: relative;
    padding: 0 25px;
    min-height: 460px;
    height: 100%;
    z-index: 5;
}

#announcementPopUp .logo {
    position: absolute;
    top: 100px;
    left: 50px;
    max-width: 230px;
    z-index: 2;
}

#announcementPopUp p.title {
    font-family: "HCo Gotham SSm", sans-serif;
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: bold;
    color: #000;
    text-align: center;
}

#announcementPopUp p.body {
    position: absolute;
    width: 90%;
    font-family: "HCo Gotham SSm", sans-serif;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.3rem;
    text-align: center;
    margin: 0 0 10px;
    bottom: 15px;
}

#announcementPopUp p.body span {
    font-family: "HCo Gotham SSm", sans-serif;
    font-weight: bold;
    font-style: italic;
}

#announcementPopUp .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
}

.group:before,
.group:after {
    content: "";
    display: table;
}
.group:after {
    clear: both;
}

/* Media queries */
@media screen and (max-width: 500px) {
    #announcementPopUp {
        width: 96%;
        height: calc(100vw - 5px);
        min-height: auto;
    }
    #announcementPopUp .textFrame {
        min-height: auto;
        height: 93vw;
    }
    #announcementPopUp p.title {
        font-size: 6vw;
        line-height: 7vw;
    }
    #announcementPopUp p.body {
        width: 85%;
        font-size: 0.95rem;
        line-height: 1.3rem;
        text-align: center;
        bottom: calc(7vw - 20px);
    }
}

@media screen and (max-width: 400px) {
    #announcementPopUp p.body {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
}

@media screen and (max-width: 320px) {
    #announcementPopUp {
        min-width: 310px;
        height: 320px;
    }
    #announcementPopUp .textFrame {
        min-height: auto;
        height: 100%;
    }
    #announcementPopUp p.title {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    #announcementPopUp p.body {
        width: 85%;
        font-size: 0.86rem;
        line-height: 1rem;
        text-align: center;
        bottom: 22px;
    }
}