@charset "utf-8";

/* =========================================
   Popup Announcement Modal
   ========================================= */

/* Overlay */
.announcementmodal.modal {
    z-index: 999999;
}

/* Dialog sizing */
.announcementmodal .modal-dialog {
    max-width: 500px;
    margin: 30px auto;
}

/* Transparent, borderless content wrapper */
.announcementmodal .modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

/* Close button — circular, below the modal box */
.announcementmodal .close {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    opacity: 1;
    z-index: 111;
    font-size: 24px;
    font-weight: 100;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    padding: 0;
    text-shadow: none;
}

.announcementmodal .close:hover {
    color: #ccc;
    border-color: #ccc;
}

/* =========================================
   Popup Image Carousel (Bootstrap 3)
   ========================================= */

.announcementpopupimg img {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Push carousel arrows outside the image */
#announcementpopup .left.carousel-control {
    left: -28px;
    background-image: none;
    color: #fff;
    width: 28px;
}

#announcementpopup .right.carousel-control {
    right: -28px;
    background-image: none;
    color: #fff;
    width: 28px;
}

#announcementpopup .carousel-control .glyphicon {
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    position: absolute;
}

/* Carousel indicators */
#announcementpopup .carousel-indicators {
    bottom: -26px;
}

#announcementpopup .carousel-indicators li {
    border-color: #fff;
}

#announcementpopup .carousel-indicators .active {
    background-color: #fff;
}

/* =========================================
   "Do Not Show Again" Checkbox Row
   ========================================= */

.cls-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 12px;
    color: #fff;
}

/* Round toggle checkbox */
.popup-round {
    position: relative;
    margin-right: 8px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.popup-round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    height: 16px;
    width: 16px;
    left: 0;
    top: 0;
    position: absolute;
    margin: 0;
}

.popup-round label::after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 1px;
    opacity: 0;
    position: absolute;
    top: 3px;
    transform: rotate(-45deg);
    width: 10px;
}

.popup-round input[type="checkbox"] {
    visibility: hidden;
    margin: 0;
}

.popup-round input[type="checkbox"]:checked + label {
    background-color: #2283f6;
    border-color: #2283f6;
}

.popup-round input[type="checkbox"]:checked + label::after {
    opacity: 1;
}

/* =========================================
   Backdrop
   ========================================= */

.announcement-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999998;
}
