
/* ### Forms ### */
.tl59-form-option-button-line {
    height: 22px;
}

/* ### Categories Widget ### */
.tl59-post-count {
    float: right;
}

/* ### jquery-ui-timepicker-addon javascript (to be copatible with Covernew css) ### */
#ui-datepicker-div {
    font-size: 85%;
}

#ui-datepicker-div dl {
    margin: 0;
    padding: 0;
    border: 0;
}
#ui-datepicker-div dt {
    font-size: inherit;
    font-weight: inherit;
}

#ui-datepicker-div dd {
    padding: inherit;
}

#ui-datepicker-div dd input {
    height: inherit;
    line-height: inherit;
}

#ui-datepicker-div .ui-datepicker-current {
    display: none;
}

/* Training Form*/
.training-li {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

#tl59TrainingFormDate {
    background-color: white;
}

/* Swimming Slots */
.tl59-swimming-slots-badge-canceled,
.tl59-session-badge-canceled {
  background-color: red !important;
}

.tl59-swimming-slots-badge-validated,
.tl59-session-badge-validated {
  background-color: green !important;
}

.tl59-swimming-slots-badge-unknow,
.tl59-session-badge-unknown {
  background-color: orange !important;
}

/* School Slots */
.tl59-school-slots-badge-0 {
    background-color: red !important;
  }

.tl59-school-slots-badge-1 {
    background-color: orange !important;
}
.tl59-school-slots-badge-2,
.tl59-school-slots-badge-3,
.tl59-school-slots-badge-4,
.tl59-school-slots-badge-5 {
    background-color: green !important;
}

.tl59-school-slots-badge--1 {
    background-color: gray !important;
}

.tl59-school-slots-view-fieldset {
    border-radius: 5px;
}

.tl59-school-slots-view-fieldset legend{
    width: inherit;
    font-size: inherit;
    margin-bottom: inherit;
}

.tl59-school-slots-coach-present {
    color : green;
    font-weight: bold;
}
  
.tl59-school-slots-coach-absent {
    color : red;
    font-weight: bold;
}

.tl59-school-slots-coach-available {
    color : #0c4e7b;
    font-weight: bold;
}

.tl59-school-slots-coach-na {
    font-weight: bold;
}

.tl59-school-slots-view-required {
    border-color: red !important;
}

.tl59-school-slots-badge-absent {
    background-color: red !important;
}

.tl59-school-slots-badge-present {
background-color: green !important;
}

.tl59-school-slots-badge-available {
background-color: #0c4e7b !important;
}

/* Plugin Loader */
.tl59-loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #0c4e7b;
    width: 24px;
    height: 24px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: tl59-spin 1s linear infinite;
    left: 50%;
    display: block;
    position: absolute;
    margin-top: 10px;
  }
  
  /* Safari */
  @-webkit-keyframes tl59-spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes tl59-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }





  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
    min-width: 300px;
  }
  
 .modal-error {
    position: absolute;
    color: red;
  }

  #training-status-modal .modal-content {
    min-width: 200px;
    max-width: 400px;
  }

  .training-status-modal-radio {
    margin-left: 5px;
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: initial !important;
  }