/************************************************************
 *
 * Print-media CSS for Galway Flying Club Flight Booking System.
 *
 * Ray O'Donnell <rod@galwayflyingclub.org>
 *
 ************************************************************/



/************************************************************
*  Nav bar..
************************************************************/

nav.navbar {
    display: none;
}


/************************************************************
*  Main page elements & common stuff.
************************************************************/

body {
    background-color: #fff;
}

#mainarea {
    background-color: #fff;
    padding: 20px 0 40px 0;
    min-height: 400px;
}

footer {
    color: #fff;
    padding: 20px 0;
}

@media (min-width: 768px) {
    footer .footer-right {
        text-align: right;
    }
}

.panel {
    background-color: #fff;
}

.green-icon {
    color: #fff;
}

.none {
    margin-left: 30px;
    font-style: italic;
}


/************************************************************
*  Timesheet page.
************************************************************/

#date-button {
    margin-bottom: 10px;
}

.timesheet-block td {
    vertical-align: top;
}

.timesheet-block td:first-child {
    font-weight: bold;
    padding-right: 8px;
}

#instructor-block p {
    margin: 4px 0 4px 10px;
}

.bookings-table {
    width: 100%;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    margin: 20px 0;
}

.bookings-table td {
    padding: 5px;
    border-left: 1px solid #aaa;
    border-top: 1px solid #aaa;
    vertical-align: top;
}

.bookings-table th {
    text-align: left;
    font-weight: bold;
    border-left: 1px solid #aaa;
    border-top: 1px solid #aaa;
    padding: 5px;
}

.bookings-table td:first-child {
    width: 40px;
    background-color: #ccc;
}

.bookings-table td.booked {
    background-color: #ccc;
    border-top: 1px solid #aaa;
}

.bookings-table td.booked .intro-flight {
    display: block;
    color: #fff;
    font-weight: bold;
}

.bookings-table td.booked div.slotholder {
    margin-bottom: 5px;
}

.bookings-table td.booked div.standby {
    color: #fff;
    font-style: italic;
    margin-bottom: 5px;
}

.bookings-table td.unavailable {
    background-color: #ccc;
}


/************************************************************
*  Menus on timesheet slots.
************************************************************/

.slot-menu {
    display: none;
}


/************************************************************
*  Messages within timesheet slots.
************************************************************/

.slot-messages {
    display: none;
}


/************************************************************
*  Other main area stuff.
************************************************************/

#mainarea .detail_caption {
    padding: 5px 10px 0 0;
    vertical-align: top;
}

#mainarea .detail_data {
    padding-top: 5px;
    vertical-align: top;
}

#mainarea .none_found {
    margin-left: 20px;
    font-style: italic;
}


/************************************************************
*  Lists of things with actions to the right.
************************************************************/

.action-listing th:last-child,
.action-listing td:last-child {
    display: none;
}

.action-listing.row {
    margin-bottom: 10px;
}

table.action-listing .actions button,
table.action-listing .actions a {
    margin-bottom: 0;
}


/************************************************************
*  Forms.
************************************************************/

form ul.errors {
    list-style-type: none;
    padding-left: 0;
}

#new-booking-form select {
    width: auto;
}

form .button-row button,
form .button-row a {
    width: 100%;
    margin-top: 30px;
}

.form-inline .form-group {
    margin-left: 10px;
    margin-right: 10px;
}

.form-inline .form-group label {
    margin-right: 10px;
}

.form-inline .form-group:first-child {
    margin-left: 0;
}


/************************************************************
*  End.
************************************************************/

