/* Registration server additions on top of the legacy Zircos theme. */

.prereg-brand {
    display: inline-block;
    background-color: #fff;
    padding: 0 10px;
}
.prereg-brand img {
    height: 60px;
}
.prereg-app-name {
    float: left;
    margin: 22px 0 0 18px;
    font-size: 16px;
    font-weight: 600;
    color: #505458;
}
.prereg-user span {
    display: inline-block;
    line-height: 60px;
    padding: 0 12px;
    color: #505458;
    white-space: nowrap;
}
/* Logo, app name and user menu on one row of the top bar. */
.topbar-main .logo {
    float: left;
}
.topbar-main .menu-extras {
    float: right;
}
.topbar-main .container:after {
    content: "";
    display: table;
    clear: both;
}
.prereg-message {
    margin-top: 40px;
    padding: 30px;
}
.prereg-message-icon {
    font-size: 48px;
}
.prereg-tile .prereg-tile-value {
    font-size: 26px;
    font-weight: 600;
    margin: 4px 0;
}
.prereg-tile .prereg-tile-label {
    color: #98a6ad;
    text-transform: uppercase;
    font-size: 12px;
}

.prereg-login {
    margin-top: 60px;
    padding: 35px 30px;
}
.prereg-google-button {
    display: inline-block;
}

.prereg-json {
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 11px;
}
.page-title small {
    font-size: 13px;
    margin-left: 6px;
}

/* Spacing between the menu, page titles and cards. The theme's .wrapper
   padding-top keeps content below the fixed header, so it is not changed. */
.wrapper {
    padding-bottom: 30px;
}
.wrapper > .container {
    padding-top: 20px;
}
.page-title {
    margin-bottom: 15px;
}
.card-box {
    padding: 20px;
}
.tab-content.card-box {
    padding: 20px;
    border-top-left-radius: 0;
}
.dataTables_wrapper .dt-buttons {
    margin-bottom: 10px;
}
.dataTables_wrapper .table-responsive {
    margin-bottom: 10px;
}

/* Registration page */
.prereg-mycourses {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1040;
}
.prereg-mycourses-panel {
    margin-top: 6px;
    width: 560px;
    max-width: calc(100vw - 16px);
    max-height: 600px;
    overflow-y: auto;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.prereg-mycourses-close {
    float: right;
    color: #98a6ad;
    font-size: 18px;
}
.prereg-staff-strip {
    margin-bottom: 10px;
}
.prereg-reg-header .prereg-label {
    color: #98a6ad;
    margin-bottom: 4px;
}
.prereg-reg-messages:empty {
    min-height: 50px;
}
.prereg-instructions .panel-heading {
    text-transform: uppercase;
}
.prereg-instructions ul {
    padding-left: 18px;
    font-size: 13px;
}
.prereg-instructions li {
    margin-bottom: 6px;
}
.prereg-badge-max {
    background-color: #7266ba;
}
.prereg-badge-current {
    background-color: #1bb99a;
}
.prereg-timetable {
    font-size: 11px;
}
.prereg-timetable td, .prereg-timetable th {
    min-width: 70px;
}
.prereg-school {
    font-weight: 400;
}
.reg-table td.reg-toggle {
    cursor: pointer;
    white-space: nowrap;
}
.reg-table td.reg-toggle .mdi {
    font-size: 16px;
}
.reg-detail-wrap .reg-detail {
    margin: 0;
    background: transparent;
}
.reg-detail th {
    width: 170px;
    white-space: nowrap;
}
.prereg-section label {
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}
.prereg-section input[type=radio] {
    margin-right: 6px;
}
.js-clash-result {
    margin-top: 4px;
}

/* Pages without the top bar (registration page as students see it). The
   theme's .wrapper padding-top leaves room for the fixed header, which is not
   there; keep only room for the fixed My Courses button. */
body.prereg-bare .wrapper {
    padding-top: 60px !important;
}

/* Staff menu: seven items on one line (the theme's 25px side padding wraps
   them). Mobile keeps the theme's stacked menu. */
@media (min-width: 992px) {
    #topnav .navigation-menu > li > a {
        padding-left: 12px;
        padding-right: 12px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #topnav .navigation-menu > li > a {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 13px;
    }
    #topnav .navigation-menu > li > a i {
        margin-right: 4px;
    }
}
