/*
 * Custom CSS
 * 16
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    background-color: #f8f8f8;
}

html, body {
    overflow-x: hidden;
    overflow-y: auto;
}

html:has(body.modal-open) {
    overflow-y: hidden;
}

.navbar {
    margin-bottom: 0;
}

a {
    color: #000;
}

a.active {
    color: #b44545;
}

.panel-heading a {
    margin-left: 5%;
}

.approved,
.active.approved {
    color: #5cb85c;
}

.rejected,
.active.rejected {
    color: #428bca;

}

.pending,
.active.pending {
    color: #d9534f;
}

.cancelled,
.active.cancelled {
    color: black;
}

.failedrepeat {
    background-color: #e7e7e7;
}

.failedrepeat-icon {
    color: #999 !important;
}

.has-error  ul.chosen-choices {
    border-color: #a94442 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}

.fa-square-o,
.fa-check-square-o {
    margin-right: 3px;
}

.bs-callout {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout-info {
    border-left-color: #5bc0de;
}

.bs-callout-default {
    border-left-color: #777;
}

.margin-top-buffer-10 {
    margin-top: 10px;
}

.margin-top-buffer {
    margin-top: 20px;
}

.margin-bottom-buffer {
    margin-bottom: 20px;
}

.margin-left-buffer {
    margin-left: 20px;
}

.margin-left-buffer-5 {
    margin-left: 5px;
}

.margin-left-buffer-10 {
    margin-left: 10px;
}

.margin-right-buffer {
    margin-right: 20px;
}

.margin-right-buffer-5 {
    margin-right: 5px;
}

.margin-right-buffer-10 {
    margin-right: 10px;
}

.padding-left-buffer-15 {
    padding-left: 15px !important;
}

.padding-left-buffer-30 {
    padding-left: 30px !important;
}

.clear-both {
    clear: both;
}

#weekday_start_time.form-control::-webkit-input-placeholder,
#weekday_end_time.form-control::-webkit-input-placeholder,
#weekend_start_time.form-control::-webkit-input-placeholder,
#weekend_end_time.form-control::-webkit-input-placeholder {
    color: #ccc;
}

a.fc-event {
    cursor: pointer !important;
}

input[type='checkbox'][disabled] + .pointer {
    cursor: not-allowed;
}

.pointer,
.fa-question:hover {
    cursor: pointer;
}

.default-cursor {
    cursor: default;
}

input[type='checkbox'],
input[type='radio'] {
    margin-right: 3px;
    cursor: pointer;
    font-weight: normal;
}

.no-bold {
    font-weight: normal;
}

.inline-block {
    display: inline-block;
}

.align-right {
    text-align: right;
}

a.alert {
    text-decoration: underline !important;
}

select.dashboard {
    width: 100%;
}

select[multiple] {
    height: 34px;
}

.sblabel {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
}

legend.scheduler-border {
    clear:both;
    margin-top: 20px !important;
}

#custom label,
#custom textarea {
    margin-left: 20px;
}

.show {
    display: block;
}

.header-title {
    margin-left: 10px;
    margin-top: 10px;
}

.header-logo {
    float: left;
    margin-left: 14px;
    max-height: 65px;
}

.scheme-dark {
    color-scheme: dark;
}

.navbar-nav,
.navbar-right {
    margin-top: 10px;
}

#busy {
    display: none;
    width: 30px;
    height: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    background: url("../img/interface/loading.gif") no-repeat center;
    text-align: center;
    margin-left: -50px;
    margin-top: -50px;
    z-index: 3;
    overflow: auto;
}

#hide-layouts,
#hide-facilities,
#checkstarttime,
#checkendtime,
#checksetuptime,
#checkclearuptime,
#processing-repeats {
    display: none;
}

.showfac,
.alert-fade,
.alert-reuse {
    display: none;
}

#repetitions,
#howmany,
#occurrences,
#room_id,
#rooms_chosen,
#title,
#description,
#start_time,
#end_time,
#setup_time,
#telephone,
#email,
#fullname,
#participants,
#supplementary {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

.readMore,
.underline {
    text-decoration: underline;
}

.badge a {
    color: #fff;
    margin-left: 0 !important;
}

/* Red Asterixes on required fields */

/* jQuery Validation */
span.required {
    color: #712739;
    font-weight: bold;
    padding-left: 2px;
}

.help-block {
    color: #a94442;
}

.error-template {
    padding: 40px 15px;
    text-align: center;
}

/* booking form validation */

#bookingform .status {
    padding-top: 2px;
    padding-left: 8px;
    vertical-align: top;
    width: 100%;
    white-space: nowrap;
}

#bookingform .textfield {
    width: 150px;
}

.width-221 {
    width: 221px;
}

#bookingform label.error,
#repeatBookingForm label.error  {
    background: url("../img/validation/unchecked.gif") no-repeat 0px 0px;
    padding-left: 16px;
    padding-bottom: 2px;
    font-weight: normal;
    color: #EA5200;
}

#repeatdays label.error {
    position: absolute;
    margin-left: -18px;
    margin-top: 20px
}

#ends-error {
    position: absolute;
    margin-left: -18px;
    margin-top: 90px
}

#bookingform label.checked {
    background: none;
    position: absolute;
    top: 0;
}

#bookingform .success_msg {
    font-weight: normal;
    color: #0060bf;
    margin-left: 15px;
}

/* Comma separated lists */
.comma-list {
    list-style-type: none,
}

ul.comma-list  {
    padding: 0;
}

.comma-list li {
    display: inline;
    padding: 0;
    margin: 0 !important;
}

.comma-list li:after {
    content: ", " ;
}

.comma-list li:last-child:after {
    content: ""
}

/* ./ Comma separated lists */
#date-range-title {
    font-size: 1.5em;
}

.highlight {
    background-color: #ffff88;
}

.cal-back-link {
    margin-top: 6px;
    margin-right: 6px;
}

.agenda-daylink {
    margin-left: 30px;
    text-decoration: underline;
    color: #428bca;
}

.agenda-day {
    font-weight: bold;
    font-size: 1.5em;
}

#accordion .panel-heading a {
    margin-left: 0;
}

.grey-text {
    color: #bcbcbc;
}

.width-125 { width: 125px !important }
.no-margin-bottom { margin-bottom: 0 !important }
.height-48 { height: 48px }
.spacer { margin-top: 40px }

.form-control[readonly]       { box-shadow: none }
.form-control[readonly]:focus { border: 1px solid #ccc }

.flex { display: flex }

.invisible { visibility: hidden }

.no-padding { padding: 0 }
