/* ==========================================
   AICOG 2028 MODAL
   Bootstrap 3
   ========================================== */

.aicog-modal {
    padding-right: 0 !important;
}


/* Modal width */

.aicog-modal-dialog {
    width: 560px;
    max-width: 94%;
    margin: 30px auto;
}


/* Modal box */

.aicog-modal-content {
    overflow: hidden;
    border: none;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.35);
}


/* Header */

.aicog-modal-header {
    position: relative;

    padding: 15px 55px 14px 20px;

    border: none;

    text-align: center;

    background:
        linear-gradient(135deg, #006b68, #008b83);

    color: #ffffff;
}


/* Header title */

.aicog-title-wrap h4 {
    margin: 0;

    font-size: 25px;
    font-weight: 700;

    color: #ffffff;
}

.aicog-title-wrap h4 i {
    margin-right: 7px;
}

.aicog-title-wrap p {
    margin: 4px 0 0;

    font-size: 13px;
    font-weight: 400;

    color: #e9ffff;
}


/* Close button */

.aicog-close {
    position: absolute;

    top: 7px;
    right: 12px;

    width: 42px;
    height: 42px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: transparent;

    color: #ffffff;

    opacity: 0.9;

    font-size: 34px;
    line-height: 36px;

    text-shadow: none;

    transition: all 0.2s ease;
}

.aicog-close:hover,
.aicog-close:focus {
    color: #ffffff;
    background: rgba(255,255,255,0.18);

    opacity: 1;

    outline: none;
}


/* Body */

.aicog-modal-body {
    padding: 18px 18px 10px;

    background: #f8fbfa;
}


/* Poster container */

.aicog-poster {
    padding: 0;

    text-align: center;

    background: #ffffff;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 3px 14px rgba(0,0,0,0.12);
}


/* Poster image */

#modal-third-img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    margin: 0 auto;

    border-radius: 8px;

    cursor: pointer;

    transition: transform 0.25s ease;
}

.aicog-poster a:hover #modal-third-img {
    transform: scale(1.01);
}


/* Action area */

.aicog-action {
    margin-top: 15px;

    text-align: center;
}


/* Registration button */

.btn-aicog-register {
    display: block;

    width: 100%;

    padding: 12px 20px;

    border: none;
    border-radius: 8px;

    background:
        linear-gradient(135deg, #f5b400, #ffcc38);

    color: #003f3d !important;

    font-size: 18px;
    font-weight: 700;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.15);

    transition: all 0.25s ease;
}

.btn-aicog-register:hover,
.btn-aicog-register:focus {
    color: #003f3d !important;

    background:
        linear-gradient(135deg, #ffcc38, #f5b400);

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(0,0,0,0.20);

    text-decoration: none;
}

.btn-aicog-register i:first-child {
    margin-right: 8px;
}

.btn-aicog-register i:last-child {
    margin-left: 8px;
}


/* CME report button */

.btn-aicog-report {
    display: block;

    width: 100%;

    padding: 9px 15px;

    border: 1px solid #008b83;
    border-radius: 7px;

    background: #ffffff;

    color: #00756f !important;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.btn-aicog-report:hover,
.btn-aicog-report:focus {
    background: #007f79;

    color: #ffffff !important;

    text-decoration: none;
}

.btn-aicog-report i:first-child {
    margin-right: 7px;
}

.btn-aicog-report i:last-child {
    margin-left: 7px;
}


/* Footer */

.aicog-modal-footer {
    padding: 10px 15px;

    border-top: 1px solid #e5eeee;

    text-align: center;

    background: #ffffff;

    color: #777777;

    font-size: 11px;
}

.aicog-modal-footer i {
    margin-right: 4px;

    color: #008b83;
}


/* ==========================================
   DESKTOP
   ========================================== */

@media (min-width: 768px) {

    .aicog-modal-dialog {
        width: 560px;
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .aicog-modal-dialog {
        width: auto;

        max-width: 96%;

        margin: 15px auto;
    }

    .aicog-modal-content {
        border-radius: 12px;
    }

    .aicog-modal-header {
        padding: 12px 48px 11px 15px;
    }

    .aicog-title-wrap h4 {
        font-size: 20px;
    }

    .aicog-title-wrap p {
        font-size: 11px;
    }

    .aicog-modal-body {
        padding: 10px;
    }

    .aicog-action {
        margin-top: 10px;
    }

    .btn-aicog-register {
        padding: 10px 12px;

        font-size: 16px;
    }

    .btn-aicog-report {
        font-size: 13px;
    }

    .aicog-modal-footer {
        display: none;
    }

}


/* ==========================================
   VERY SMALL PHONES
   ========================================== */

@media (max-width: 380px) {

    .aicog-modal-dialog {
        max-width: 98%;
        margin: 8px auto;
    }

    .aicog-modal-header {
        padding: 10px 45px 9px 10px;
    }

    .aicog-title-wrap h4 {
        font-size: 18px;
    }

    .aicog-modal-body {
        padding: 7px;
    }

    .btn-aicog-register {
        font-size: 14px;
    }

    .btn-aicog-report {
        font-size: 12px;
    }

}
