/* E-Badge styles assume the inclusion of Bootstrap 3 */
.modal-ebadge .modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-bottom: 0;
    background: #fafafa;
    border: 0;
}

.modal-ebadge .modal-header .close {
    position: absolute;
    top: 15px;
    right: 25px;
}

.modal-ebadge .modal-header .close span {
    font-size: 2em;
}

.modal-ebadge .modal-body {
    padding: 15px 30px;
}

.modal-ebadge .modal-body > *:last-child {
    margin-bottom: 0;
}

.modal-ebadge .modal-footer {
    padding: 0;
}

.modal-ebadge .modal-header-logo,
.modal-ebadge .modal-header-attendee {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 1em;
}

.modal-ebadge .modal-header-logo {
    width: 30%;
}

.modal-ebadge .modal-header-attendee {
    width: 70%;
    line-height: 1.1;
}

.modal-ebadge .modal-header-attendee > *:not(:first-child) {
    margin-top: 5px;
}

.modal-ebadge .modal-header-name {
    font-size: 1.5em;
    font-weight: bold;
}

.modal-ebadge .modal-header-company {
    font-size: 1.3em;
    font-style: italic;
}

.modal-ebadge .modal-header-other {
    font-size: 0.9em;
}

.modal-ebadge .modal-header-logo img {
    min-height: 1px;
    max-height: 100px;
}