/* Client Specific */

  .myBookings .bookingsSearch {
    display: none;
  }

  .myBookings .date-header {
    font-size: 2em;
  }
  .hasSVGSupport .clientLogo {
    background-image: url(/public/images/ccep-logo.svg);
  }

    .clientLogo {
      background-image: url(/public/images/ccep-logo.png);
      background-repeat: no-repeat;
      background-position: left top;
      background-size: contain;
      display: block;
      height: 50px;
      margin-bottom: 0.7em;
      margin-top: 0.3em;
      text-align: left;
      text-indent: -99999px;
      width: 240px;
    }

  body, legend {
    color: #4b4b4b;
  }

  body,
  .headerTop {
    border-color: #e11025;
  }

  a {
    color: #c60d20;
  }

    a:hover {
      color: #a10d1c;
    }

  label {
    font-weight: normal;
  }

  span.error
  {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #a94442;
  }

  .bootstrap-datetimepicker-widget td.active, .bootstrap-datetimepicker-widget td.active:hover {
    background: #c60d20;
  }

  .primaryNav a,
  .secondaryNav a {
    background: #c60d20;
    background: #fff;
    border-color: #c84e5a
  }

  .primaryNav a,
  .primaryNav .active ul a,
  .primaryNav ul {
    background: #f3f3f4;
    border-color: #ecd8da;
    color: #4b4b4b !important;
  }

    .primaryNav .active a,
    .primaryNav a.active,
    .primaryNav a:hover,
    .primaryNav ul .active a,
    .primaryNav ul a.active,
    .primaryNav ul a:hover {
      background-color: #a10d1c;
      color: #fff !important;
    }

    .btn {
      max-width: 100%;
    }

    .btn-primary {
/*      background-color: #5cb85c;
      border-color: #4cae4c;
*/
      background-color: #c60d20;
      border-color: #a10d1c;
    }

      .btn-primary:hover,
      .btn-primary:focus,
      .btn-primary.focus,
      .btn-primary:active,
      .btn-primary.active,
      .open>.dropdown-toggle.btn-primary {
/*        background-color: #449d44;
        border-color: #398439;*/
        background-color: #a10d1c;
        border-color: #a10d1c;
      }

    .primaryNav a.openTrail {
      background: #a10d1c;
      color: #edcccf;
    }

.returnableWrapper select.visibleNotes {
  border-bottom-style: dotted;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.returnableWrapper textarea {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.controls {
  margin-bottom: 20px;
}

/* Bootstrap Overides */

  div.well {
    padding: 5px;
    background-color: #f7f7f7;
  }

  div.well.bg-danger {
    background: rgba(242, 227, 227, 0.75);
  }

  div.well.bg-notMet {
    background: rgba(242, 227, 227, 0.75);
  }

  div.well.bg-met {
    background: rgba(227, 242, 231, 0.75);
  }

  div.well table caption {
    padding: 5px;
    font-weight: bold;
    color: #4b4b4b;
  }

  div.well p:last-child {
    margin-bottom: 0;
  }

  .bg-notMet {
    background: rgba(242, 227, 227, 0.75);
  }
  .bg-met {
    background: rgba(227, 242, 231, 0.75);
  }

  .form-group p + .btn-group {
    margin-top: 0;
  }

  .alert-link {
    cursor: pointer;
  }

  .modal-body {
    overflow: hidden;
  }

  .dropdown-menu li {
    border-bottom: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Pagination */

  .pagination>li>a,
  .pagination>li>span {
    color: #a10d1c;
  }

    .pagination>.active>a,
    .pagination>.active>span,
    .pagination>.active>a:hover,
    .pagination>.active>span:hover,
    .pagination>.active>a:focus,
    .pagination>.active>span:focus {
      background-color: #a10d1c;
      border-color: #a10d1c;
    }

    .btn-primary.disabled,
    .btn-primary[disabled],
    fieldset[disabled] .btn-primary,
    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary.focus,
    .btn-primary.disabled:active,
    .btn-primary[disabled]:active,
    fieldset[disabled] .btn-primary:active,
    .btn-primary.disabled.active,
    .btn-primary[disabled].active,
    fieldset[disabled] .btn-primary.active {
      background-color: #ccc;
      border-color: #aaa;
    }

/* Date Paginator */

.datepaginator {
  margin-bottom: 1.5em;
}

  .datepaginator .dp-selected {
    background: #a10d1c !important;
    width: 140px !important;
  }

  .datepaginator .dp-item {
    height: 50px;
    padding: 7px 0!important;
  }

  .datepaginator .dp-nav {
    color: #ccc;
    height: 50px;
    padding: 17px 0!important;
  }


  .pagination>li>a,
  .pagination>li>span {
    color: #6b6b6b;
  }

  .datepaginator .dp-nav:hover,
  .datepaginator .pagination>li>a:hover,
  .datepaginator .pagination>li>span:hover,
  .datepaginator .pagination>li>a:focus,
  .datepaginator .pagination>li>span:focus {
    color: #a10d1c;
  }

  .datepaginator .datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top {
    top: 125px;
  }

/* Structure */

  body {
/*    border-top-width: 3px;
    border-top-style: solid;
    padding-top: 10px;*/
  }

  .mainBody {
    padding-top: 70px;
  }

  .headerTop {
    background: #fff;
    border-top-width: 3px;
    border-top-style: solid;
    padding-top: 10px;
    width: 100%;
    z-index: 1000;
  }

  .contentMain h1 {
    margin-top: 0;
  }

  .sidebar {
    font-size: 0.85em;
    padding-left: 0;
  }

  .sidebarSecondary {
    font-size: 0.85em;
    /*padding-left: 0;*/
  }

    .sidebarSecondary ul li {
      display: block;
      overflow: hidden;
      margin-bottom: 0.8em;
    }

    .sidebarSecondary h2 {
      font-weight: normal;
    }

    .sidebarSecondary dd {
      border-bottom: 1px solid rgba(0,0,0,0.08);
      color: #999;
      padding-bottom: 0.3em;
      margin-bottom: 0.5em;
      text-transform: capitalize;
    }

  .footer {
    margin-top: 20px;
  }

  fieldset {
    margin-bottom: 15px;
  }

    fieldset legend {
      margin-bottom: 20px;
    }

      fieldset legend .create {
        color: #a5a5a5;
      }

        fieldset legend .create:hover {
          color: #333;
        }

    fieldset>legend+ul {
      padding: 0;
    }

  h2 { font-size: 24px }
  h3 { font-size: 18px }
  h4 { font-size: 14px }

  ul {
    list-style: none;
    padding-left: 0;
  }

  ul.tight {
    padding-left: 0;
  }

    li {
      margin-left: 0;
      padding-left: 0;
    }

  .radio-inline,
  .checkbox-inline {
    vertical-align: top;
  }

/*    .radio-inline+.radio-inline,
    .checkbox-inline+.checkbox-inline {
      margin-left: 0;
    }*/

  .avatar.scale,
  .avatar.scale img {
    width: 100%;
  }

  .avatar {
    /*height: 120px;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
    margin-bottom: 10px;
    margin-right: 10px;
    min-height: 21px;
    padding-bottom: 30px;
    position: relative;
    width: 120px;
  }
    .avatar:not(.hasPhoto) {
      /*background-image: url(/public/images/avatar.png);*/
    }

    .avatar a.changeAvatar {
      /* padding: 0.3em 0.7em; */
      background-color: rgba(0,0,0,0.7);
      bottom: 0;
      color: rgba(255,255,255,0.5);
      height: 30px;
      line-height: 30px;
      padding: 0;
      position: absolute;
      right: 0;
      text-align: center;
      width: 100%;
    }

      .avatar a.changeAvatar:hover {
        color: #fff;
        text-decoration: none;
      }

    .avatar a {
      border: 0;
      outline: none;
    }

    .avatar.small {
      height: 50px;
      width: 50px
    }

    .avatar.large {
      height: 200px;
      width: 200px
    }

    .avatar img {
      border: 0;
      width: 100%;
    }

    .avatar.tinysq img {
      height: 90px;
      width: 90px;
    }

  .input-group .input-group-addon label {
    font-weight: 400;
    margin-bottom: 0;
  }

  /* Languages */

  /* Permission Tree */

  .expanded {
    margin-bottom: 0.3em;
  }

    .expanded .leaf {
      margin-left: 1.2em;
    }

  /* Languages */

  .languageSelect {
    overflow: hidden;
    margin-bottom: 5px;
  }

    .languageSelect li {
      float: left;
    }

  .languageSelect a {
    background-position: left top;
    background-repeat: no-repeat;
    display: block;
    height: 11px;
    margin-left: 5px;
    overflow: hidden;
    text-align: left;
    text-indent: -99999px;
    width: 16px;
  }

    .languageSelect .english {
      background-image: url(/public/images/icons/gb.png);
    }
    .languageSelect .french {
      background-image: url(/public/images/icons/fr.png);
    }
    .languageSelect .german {
      background-image: url(/public/images/icons/de.png);
    }
    .languageSelect .italian {
      background-image: url(/public/images/icons/ie.png);
    }
    .languageSelect .spanish {
      background-image: url(/public/images/icons/es.png);
    }
    .languageSelect .polish {
      background-image: url(/public/images/icons/pl.png);
    }

/* Alerts */

  .alert {
    padding: 5px 15px;
    margin-bottom: 10px;
  }

/* Helpers */

  .auto {
    width: auto !important;
  }

  .helper {
    /*color: #b4b4b4;*/
    color: #666;
    display: block;
    font-size: 0.85em;
    /*font-style: italic;*/
    margin-bottom: 0.3em;
    font-weight: lighter !important;
  }

    .helper.inline {
      display: inline;
    }

  .questionnaireHelper {
    font-size: 0.88em;
    color: #7d7d7d;
    padding-top: 0;
    padding-bottom: 3px;
  }

/* Navigation */

  /* Util Nav */
  .utilNav {
    clear: right;
    list-style-type: none;
    padding: 0;
  }

    .utilNav li {
      float: left;
    }

      .utilNav li a {
        border-right: 1px solid #ddd;
        padding-right: 0.7em;
        margin-right: 0.7em;
      }

      .utilNav li.last a {
        border-right: 0;
        padding-right: 0;
        margin-right: 0;
      }

  /* Primary Navigation */
  .primaryNav,
  .primaryNav ul {
    list-style-type: none;
    padding: 0;
  }

    .primaryNav li {
      position: relative;
    }

      .primaryNav a:first {
        border-top-width: 1px;
        border-top-style: solid;
      }

      .primaryNav a {
        border-bottom-width: 0px;
        border-bottom-style: solid;
        border-right-width: 0px;
        border-right-style: solid;
        color: #fff;
        display: block;
        padding: 0.7em 1em;
      }

      .primaryNav a:hover {
        text-decoration: none;
      }

        .primaryNav ul {
          font-size: 0.9em;
          display: none;
          border-width: 0;
          border-style: solid;
          left: 200px;
          position: absolute;
          padding: 0.2 0.1;
          top: 0;
          z-index: 100;

          -webkit-box-shadow: 5px 5px 10px -5px rgba(0,0,0,0.7);
          box-shadow: 5px 5px 10px -5px rgba(0,0,0,0.7);
        }

          .primaryNav ul ul {
            font-size: 1em;
          }

/* Search Results */

.searchResults {
  margin-top: 30px;
}

  .searchResults li {
    border-bottom: 1px dotted #ddd;
    clear: both;
    overflow: hidden;
    padding-bottom: 0.7em;
    margin-bottom: 0.7em;
  }

.result .viewVisit,
.result .viewEvent,
.result .checkout,
.result .createBooking {
  background-color: #a10d1c;
  border-bottom-right-radius: 15px;
  border-bottom: 1px dotted #a10d1c;
  border-left: 1px dotted #a10d1c;
  border-top-left-radius: 15px;
  bottom: 30px;
  color: #fff !important;
  font-size: 0.8em;
  padding: 0.8em 1.1em 1em 0.8em;
  position: absolute;
  right: 15px;
  top: auto;
}

.result .viewVisit,
.result .viewEvent {
  border-color: transparent;
  background-color: rgba(161, 13, 28, 0.6);
  padding-bottom: 0.6em;
  padding-top: 0.6em;
  padding-left: 1.2em;
  padding-right: 25px;
  right: 72px;
}

  .result .viewEvent.outages {
    right: 120px;
  }

  .result .viewVisit:hover,
  .result .viewEvent:hover,
  .result .checkout,
  .result .createBooking {
    text-decoration: none;
  }

  .result .viewVisit:hover,
  .result .viewEvent:hover,
  .result .checkout:hover,
  .result .createBooking:hover {
    background: #82030f;
  }

.result .checkout,
.result .createBooking {
  border-left: 1px solid #fff;
}

/* Data Lists */

.odd { }
.odd:hover { }

.even { background: #f8f8f8 }
.even:hover { }


/* Big Dates */

.bigDate.small {
  font-size: 2em;
}

.bigDate {
  font-size: 3em;
  font-weight: bold;
  line-height: 1.4em;
  overflow: hidden;
}

  .bigDate .day {
    display: block;
    letter-spacing: -0.1em;
    float: left;
  }

    .bigDate .wrapper {
      float: left;
      margin-left: 0.2em;
      margin-top: 0.34em;
    }

    .bigDate .month,
    .bigDate .year {
      color: #7a7a7a;
      display: block;
      font-size: 0.4em;
      line-height: 1em;
    }

      .bigDate .year {
        clear: left;
      }

/* Bookings List */

  .bookingsList .btn-group {
    margin-top: 0.7em;
  }

  .bookingsList .result h2 {
    font-size: 1.3em
;    margin-bottom: 0.1em;
    margin-top: 0;
  }

  .bookingsList .result h3 {
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 0.1em;
    margin-top: 0;
  }

  .bookingsList h2 a,
  .bookingsList h3 a {
    color: #4b4b4b;
  }


/* Bookings */

.bookingsSearch {
  margin-bottom: 1.3em;
}

  .bookingsSearch input {
    padding: 0.7em 0.9em;
    width: 70%;
  }

.issuables {
  background-color: #efefef;
  border-bottom: 1px solid #aaa;
  border-top: 1px solid #aaa;
  margin: 30px 0;
  padding: 10px 15px 30px;
}

  .issuables h2 {
    font-weight: normal;
    margin: 0;
    padding: 0;
  }

  .issuables legend {
    font-size: 1em;
    padding-bottom: 0.4em;
  }

.booking .contentMain ul.attendees-selected, ul.visitee-selected, ul.credentialContacts-selected, ul.supplierContacts-selected, ul.suppliers-selected {
  list-style: none;
  padding-left: 0;
  margin-top: 0.7em;
}

  .booking .contentMain ul.attendees-selected li, ul.visitee-selected li, ul.credentialContacts-selected li, ul.supplierContacts-selected li, ul.suppliers-selected li {
    border-bottom: 1px dotted #ddd;
    padding-left: 0;
    padding-bottom: 0.3em;
    margin-left: 0;
    margin-top: 5px;
    margin-bottom: 0.3em;
    overflow: hidden;
    /*overflow: visible;*/
  }

    .booking .contentMain ul.attendees-selected li:last-child, ul.visitee-selected li:last-child, ul.credentialContacts-selected li:last-child, ul.supplierContacts-selected li:last-child, ul.suppliers-selected li:last-child {
      border-bottom: 0;
    }

.bookings:not(.pbadge) .bookingsList ol {
  list-style-type: none;
  padding-left: 0;
}

  .bookings:not(.pbadge) .contentMain .bookingsList li {
    clear: both;
    float: left;
    margin-bottom: 10px;
    position: relative;
    width: 100%;
  }

    .visitEdit {
      display: none;
      height: 100px;
      left: -40px;
      line-height: 50%;
      padding-top: 40px;
      position: absolute;
      top: 0;
      width: 40px;
    }

    .bookings:not(.pbadge) .bookingsList .avatar:not(.hasPhoto) a {
      display: block;
      height: 90px;
      width: 90px;
    }

.bookings h3,
.bookings h4 {
  margin-bottom: 0;
  margin-top: 0;
}

.bookings h3 .label,
.bookings h4 .label {
  font-size: 11px;
  font-weight: normal;
}

.bookings fieldset,
.events fieldset {
  border-left: 1px dotted #ddd;
  clear: both;
  padding-left: 15px;
  margin-left: 15px;
}

  .bookings legend,
  .events legend {
    background: #fff;
    border-bottom: 0;
    margin-bottom: 15px;
    position: relative;
    left: -30px;
  }

  .booking.new ul,
  .bookings ul {
    list-style-type: none;
    padding: 0;
  }

    .contentMain .booking.new ul li {
      overflow: hidden;
    }

    .contentMain .bookingsList>li {
      margin-bottom: 20px;
      overflow: hidden;
    }

      .bookingsList>li .notes {
        background: #fbfaf1;
        border: 1px solid #f3f3eb;
        clear: both;
        color: #7b7b7b;
        font-size: 0.8em;
        height: 13.5em;
        padding: 0.7em 1.1em;
        margin-bottom: 2em;
        margin-top: 2em;
        overflow: hidden;
      }

.bookings.view .bookingPerson,
.bookings.view .bookingPerson ul,
ul.children {
  list-style-type: none;
  padding-left: 0;
}

  ul.children li {
    margin-bottom: 0.35em;
    margin-top: 0.35em;
    overflow: hidden;
  }

    ul.children li h3 {
      margin-bottom: 0;
      margin-top: 0;
    }

  .bookings.view .notes,
  .bookings .bookingPerson ul.credentials {
    color: #7b7b7b;
    font-size: 0.95em;
  }

  .bookings .bookingPerson ul.credentials li {
    margin-bottom: 0;
  }

  .credentials-list {
    margin-top: 20px;
  }

    .credentials-list li {
    }

      .credentials-list li a {
        border-bottom: 1px solid #ccc;
        display: block;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-top: 10px;
        margin-left: -10px;
      }

      .credentials-list li a:hover {
        background-color: #efefef;
        text-decoration: none;
      }

      .credential-type {
        font-size: 1.2em;
      }

      .credential-owner,
      .credential-owner-company,
      .credential-company,
      .credential-expires {
        color: #777;
        font-size: 0.9em;
      }

      .credential-type,
      .credential-owner,
      .credential-owner-company,
      .credential-company {
        display: block;
      }

  .credentials-list-preview {
    margin-top: -5px;
  }

    .credentials-list-preview li {
    }

      .credentials-list-preview li a {
        border-bottom: 1px solid #ccc;
        display: block;
        padding-bottom: 10px;
        padding-top: 10px;
      }

      .credentials-list-preview li a:hover {
        background-color: #efefef;
        text-decoration: none;
      }

  .bookings .bookingPerson>li {
    /*border-bottom: 1px dotted #ddd;*/
    padding-bottom: 10px;
    padding-top: 10px;
  }

    .bookings.view .bookingPerson>li>h3 {
      font-size: 1.3em;
      margin-bottom: 0.3em;
      margin-top: 0;
    }

  .visits .removed {
    -webkit-filter: grayscale(100%);
    -webkit-filter: grayscale(1);
    filter: gray;
    filter: grayscale(1);
    filter: url('/public/images/gray.svg#grayscale');
    color: #ccc;
    text-decoration: line-through;
  }

    .visits .removed .person,
    .visits .removed .date {
      text-decoration: line-through;
    }

    .visits .peopleWrapper {
      margin-top: 20px;
    }

    .visits .peopleWrapperOuter .person h3 {
      font-size: 1.1em;
      margin-bottom: 0.3em;
      margin-top: 0;
    }

    .visits .peopleWrapperOuter .person h4 {
      font-size: 0.9em;
      font-weight: normal;
      margin-top: 0;
    }

  .person {
    overflow: hidden;
  }

  .person h2  {
    margin-bottom: 0;
    margin-top: 0;
  }

.bookings .peopleGroup {
  border-bottom: 1px dotted #cfcfcf;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.pbadge .person {
  float: left;
  position: relative;
  width: 100%;
}

.pbadge .bookingsList>li {
  margin-bottom: 0;
}

  .pbadge .person .notification {
    color: #fff;
    font-size: 0.9em;
    text-align: left;
    padding: 0.3em 0.7em;
    min-height: 26px;
  }

    .pbadge .person .notification .returnables {
      color: #fff;
      /* background-color: #c60d20; */
      background-color: rgba(161, 13, 28, 0.8);
      margin-left: -0.5em;
      position: absolute;
      top: 2em;
      font-size: 1.2em;
      text-align: center;
      width: 100%;
      padding-top: 0.3em;
      padding-bottom: 0.3em;
    }

  .pbadge .person .inner {
    padding: 0.3em 0.7em 0.8em;
    height: 5.2em;
    z-index:1000;
  }

  .pbadge .person,
  .pbadge .person:hover,
  .pbadge .person:active {
    outline: none;
    text-decoration: none;
  }

  .status {
    display: none;
    position: absolute;
    padding: 0.3em 0.7em;
    left: 0;
    text-align: center;
    top: 26px;
    width: 100%;
  }

    .onsite .status { background-color: rgba(13, 161, 76, 0.8); }
    .offsite .status { background-color: rgba(161, 13, 28, 0.698); }

/*  .pbadge .person.offsite:not(.invalidInduction):not(.isBanned) .notification:before {
    content: "offsite"; }
  .pbadge .person.onsite:not(.invalidInduction):not(.isBanned) .notification:before {
    content: "onsite"; }*/

  .pbadge .person.offsite .inner,
  .pbadge .person.offsite .notification {
    background: rgba(161, 13, 28, 0.7);
  }

    .pbadge .person.offsite:hover .inner,
    .pbadge .person.offsite:hover .notification {
      background: rgba(161, 13, 28, 1);
    }

  .pbadge .person.onsite .inner,
  .pbadge .person.onsite .notification {
    background: rgba(13, 161, 76, 0.8);
  }

    .pbadge .person.onsite:hover .inner,
    .pbadge .person.onsite:hover .notification {
    background: rgba(13, 161, 76, 1);
    }

  .pbadge .person.offsite .inner,
  .pbadge .person.offsite .notification {
    background: rgba(161, 13, 28, 0.7);
  }

    .pbadge .person.offsite:hover .inner,
    .pbadge .person.offsite:hover .notification {
      background: rgba(161, 13, 28, 1);
    }

  .pbadge .person.invalidInduction:not(.onsite) .inner,
  .pbadge .person.invalidInduction:not(.onsite) .notification {
    background: rgba(202, 98, 21, 0.7);
    cursor: not-allowed;
  }

    .pbadge .person.invalidInduction:hover:not(.onsite) .inner,
    .pbadge .person.invalidInduction:hover:not(.onsite) .notification {
      background: rgba(202, 98, 21, 1);
    }

  .pbadge .person.isBanned:not(.onsite) .inner,
  .pbadge .person.isBanned:not(.onsite) .notification {
    background: rgba(150, 150, 150, 0.7);
  }

    .pbadge .person.isBanned:hover:not(.onsite) .inner,
    .pbadge .person.isBanned:hover:not(.onsite) .notification {
      background: rgba(150, 150, 150, 1);
    }

  .pbadge .person.isBanned:not(.onsite),
  .pbadge .person.invalidInduction:not(.onsite) {
    cursor: not-allowed;
  }

    .pbadge .person .inner h3 {
      font-size: 1.2em;
    }

    .pbadge .person .inner h3,
    .pbadge .person .inner h4 {
      color: #fff;
      font-weight: normal;
    }

  .pbadge .person img {
    min-height: 157px;
    display: block;
    width: 100%;
    z-index: -1;
  }

/*
  Manditory Credentials
*/

.mandatoryCredentialTypes > caption
{
  cursor:not-allowed;
}

/*
  One Off Requirments
*/

.oneOffRequirement:not(:first-of-type)
{
    margin-top: 10px;
}

:not(.list-only) .requirementMet:not(.requirementOverridenAtCheckin) {}
:not(.list-only) .requirementOverridenAtCheckin .btn {
  color: #b4b4b4;
}

:not(.list-only) .requirementOverridenAtCheckin .btn:after {
  content: "n";
}

:not(.list-only) .requirementOverridenAtCheckin,
:not(.list-only) .requirementOverridenAtCheckin {
  color: #b4b4b4;
  text-decoration: line-through;
}

/* Icons */

.icon {
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 16px;
  min-height: 16px;
  padding-left: 20px;
}

  .icon.pdf   { background-image: url(/public/images/icons/page_white_acrobat.png); }
  .icon.word  { background-image: url(/public/images/icons/page_word.png); }
  .icon.excel { background-image: url(/public/images/icons/page_excel.png); }
  .icon.file  { background-image: url(/public/images/icons/page_white.png); }

/* Contact */

  ul.company-selected.col-sm-offset-3 {
    padding-left: 10px;
  }

  #contactEditForm[data-gatehouse-contact-isNew=true] .hiddenForNew {
    display: none;
  }

  div.contactInfoWrapper {
    padding-left: 20px;
  }

  .contactSummary {
    line-height: 1.3;
  }

  .contactSummary>h2 {
    margin-bottom: 0.1em;
    margin-top: 0;
  }

  .contactSummary>h3 {
    margin-bottom: 0.1em;
    margin-top: 0;
  }

  .contactSummary>h3+p {
    margin-bottom: 0;
    margin-top: 0;
  }

    .contactSummary>h3>a {
      color: #666;
      font-weight: normal;
    }

  .contactSummary h4 {
    font-weight: normal;
    margin-bottom: 0;
    margin-top: 0;
  }

  .contactSummary img {
    max-width: 120px;
  }

  .contact .recentVisits,
  .eventNotes .notes,
  .events .bookings {
    padding: 0;
  }

    .contact .recentVisits .glyphicon,
    .eventNotes .notes .glyphicon,
    .events .bookings .gylphicon {
      color: #ccc;
      font-size: 0.9em;
    }

    .contact .recentVisits .details,
    .eventNotes .notes .details {
      font-size: 0.85em;
      margin-top: 0.7em;
    }

    .contact .recentVisits>li,
    .eventNotes .notes>li,
    .events .bookings>li {
      border-bottom: 1px solid #ccc;
      padding-bottom: 0.7em;
      padding-top: 0.7em;
    }

      .contact .recentVisits h3,
      .eventNotes .notes h3,
      .events .bookings h3 {
        margin-top: 0;
      }

    .contact .recentVisits dl,
    .eventNotes .notes dl,
    .events .bookings dl {
    }

      .contact .recentVisits dd,
      .eventNotes .notes dd,
      .events .bookings dd {
        float: left;
      }

    .contactsSearch .results .result {
      border: 1px dotted #e3e3e4;
      border-radius: 15px;
      background: #f7f7f7;
      overflow: hidden;
      padding: 20px 20px 35px;
      margin-bottom: 30px;
      min-height: 180px;
    }

    .contactsSearch .results .result.onsite {
      /*background: rgba(200, 242, 215, 1);*/
      background: rgba(227, 242, 231, 0.9);
    }

    .contactsSearch .results .result.offsite {
      background: rgba(242, 227, 227, 0.9);

    }

    .contactsSearch .results .result.offsite.hasBeenOnSite {
      background: #f7f7f7;
    }

      .contactsSearch .results .result h2 {
        font-size: 1.3em;
        margin-bottom: 0.1em;
        margin-top: 0;
      }

      .contactsSearch .results .result h3 {
        font-size: 1em;
        font-weight: normal;
        margin-bottom: 0.1em;
        margin-top: 0;
      }

      .contactsSearch .results .result a {
        color: #4b4b4b;
      }

      .contactsSearch .results .result p {
        margin-bottom: 0;
      }

      .contactsSearch .results .result .avatar img {
        border: 1px solid #e3e3e4;
        height: 120px;
        text-indent: -9999px;
        width: 120px;
      }

        .contactsSearch .results .result .avatar:not(.hasPhoto) img {
          background-image: url(/public/images/avatar.png);
          background-position: center;
          background-repeat: no-repeat;
          background-size: cover;
        }

      .contactsSearch .results .result .avatar {
        margin-right: 20px;
      }

.quickContactsSearch {
  margin-bottom: 1.3em;
}

  .quickContactsSearch input {
    padding: 0.7em 0.9em;
    width: 70%;
  }

/* Target Information Systems */
.hasSVGSupport #target-information-systems-logo {
  background-image: url(/public/images/target-information-systems-logo.svg);
  background-size: 100%;
}

  #target-information-systems-logo {
    background-image: url(/public/images/target-information-systems-logo.png);;
    background-repeat: no-repeat;
    display: block;
    height: 36px;
    float: right;
    margin-bottom: 20px;
    text-align: left;
    text-indent: -99999px;
    width: 140px;
  }

/* Vehicle */

.vehicle {
  display: block;
  overflow: hidden;
}

  .vehicle.onsite .inner  { border-color: rgba(13, 161, 76, 0.4); }
  .vehicle.offsite .inner { border-color: rgba(161, 13, 28, 0.4); }

  .vehicle.offsite .inner,
  .vehicle.onsite .inner {
    border-width: 2px;
    border-style: solid;
    margin-bottom: 30px;
    padding:5px;
  }

    .vehicle:hover {
      text-decoration: none;
    }

      .vehicle:hover .inner {
        background-color: #f3f3f4;
      }

  .vehicle--company {
    text-align: center;
  }

  .vehicle--row {
    padding-bottom:4px;
    margin-bottom:4px;
    border-bottom:1px solid #ccc;
  }

    .vehicle--row--col {
      padding-top:1em;
    }

  .vehicle--row--reg {
    background-color:#fdd835;
    color:#000;
    border-radius: 10px;
    padding:10px;
    text-align:center;
    text-transform:uppercase;
    margin:0;
  }

  .vehicle--reg {
    background-color:#fdd835;
    color:#000;
    border-radius: 10px;
    margin-bottom: 3px !important;
    margin-top: 8px !important;
    padding:10px;
    text-align:center;
    text-transform:uppercase;
    margin:0;
  }

    .vehicle--reg a, .vehicle--row--reg a {
      color:#000;
      text-decoration:none;
    }

    .vehicle--description {
      color:#aaa;
      font-size:0.8em;
      text-align:center;
    }

  .offsite .vehicle--row--reg {
    background-color:#f8f8f8;
  }

    .offsite .vehicle--row--reg a {
      color:#ccc;
    }

/* Gatehouse User */

.bookingPerson .person {
  overflow: visible;
  min-height: 160px;
}

  .bookingPerson li {
    /*clear: both;*/
    display: block;
    margin-bottom: 0.7em;
    overflow: hidden;
  }

.bookingControls hr {
  margin-bottom: 10px;
  margin-top: 10px;
}

  .bookings table.table.journal td
  {
    vertical-align: middle;
  }

/* Events */
.eventsSearch {
  margin-bottom: 1.3em;
}

  .eventsSearch input {
    padding: 0.7em 0.9em;
    width: 70%;
  }

/* External */

.bookings.external .dl-horizontal dt {
  text-align: left;
  width: 100px;
}

  .bookings.external .dl-horizontal dd {
    margin-left: 105px;
  }

.external input[type="file"] {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 15px;
}

.induction.questions.external .questionsWrapper .row {
  padding: 0.7em 0;
}

  .induction.questions.external .questionsWrapper .radio-inline {
    margin-left: 10px;
  }

  .induction.questions.external .questionsWrapper .row.even {
    background-color: #f8f8f8;
  }

.induction.terms .contentMain ol li {
  margin-bottom: 0.7em;
}

.induction.terms .contentMain ul {
  list-style-type: disc;
  padding-left: 1.1em;
  margin-bottom: 0.7em;
  margin-top: 0.7em;
}

.induction.terms .acknowledgementText {
  color: #888;
  font-size: 0.9em;
  height: 17em;
  overflow-y: scroll;
}

.induction div.video-js {
  margin-bottom: 10px;
}

/* PBadge modals */

.mustBeReturned select,
.mustBeReturned textarea {
  border-color: #A10D1C;
}

.bookingsList .inner {
  height: 330px;
  position: relative;
}

.issueMenu {
  position:absolute;
  right: 0;
  top: 0;
}

  .issueMenu a {
    border-radius: 0;
    color:#fff;
    padding: 3px 10px;
  }

    .issueMenu a:hover {
      color:#fff;
    }

  .onsite+.issueMenu>a { background: rgba(0,51,0,0.5); }
  .onsite+.issueMenu>a:hover { background: rgba(0,51,0,0.8); }

  .offsite+.issueMenu>a { background: rgba(161, 13, 28, 0.698); }
  .offsite+.issueMenu>a:hover { background: rgba(161, 13, 28, 0.9); }

  .issueMenu ul {
    font-size:0.8em;
  }

    .issueMenu ul li a {
      white-space: normal;
    }


a.duplicate {
  margin-left:54px;
}

.progress-bar {
  background-color: #c60d20;
}

/* Target Information Systems */

/* Page Specific */

  /* Login page */

  .loginHelper {
    border-left: 1px dotted #ccc;
    padding-left: 10px;
  }

  #adminLogin .input-group {
    margin-bottom: 4px;
  }

  #adminLogin .btn {
    margin-top: 4px;
  }

  /* Questionnaire Login Page */

  #questionnaireLogin .loginHelper {
    border-left: 1px dotted #ccc;
    padding-left: 10px;
  }

    #questionnaireLogin .loginHelper h1 {
      font-size: 21px;
    }

  #questionnaireLogin .input-group {
    margin-bottom: 4px;
  }

  #questionnaireLogin .btn {
    margin-top: 4px;
  }

  /* Contact Typeahead */

  .quickEditBookings .dropdown-menu {
    width: 308px;
  }

  .quickEditBookings .dropdown-menu li,
  .quickEditBookings .dropdown-menu li a {
    height: 60px;
  }
  .dropdown-menu>.active>a,
  .dropdown-menu>.active>a:hover,
  .dropdown-menu>.active>a:focus,
  .dropdown-menu>.active .typeahead_secondary {
    color: #fff;
  }

  .typeahead_wrapper {
    overflow: hidden;
    padding-bottom: 0.7em;
    padding-top: 0.7em;
    width: 700px;
  }

    .typeahead_photo,
    .typeahead_labels    {
      float: left;
    }

    .typeahead_photo {
      margin-right: 0.7em;
      position: relative;
      width: 100px;
    }

      .typeahead_photo a,
      .avatar a {
        display: block;
        position: relative;
      }

      .typeahead_photo .banned,
      .avatar .banned {
        background-repeat: no-repeat;
        background-image: url(/public/images/bannedOverlay.png);
        background-size: contain;
        background-position: center;
        height: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
      }

        .hasSVGSupport .typeahead_photo .banned,
        .hasSVGSupport .avatar .banned {
          background-image: url(/public/images/bannedOverlay.svg);
        }

      .typeahead_photo img {
        width: 100%;
      }

      .typeahead_details_wrapper {
      }

    .typeahead_labels {
      float: left;
      width: 580px;
    }

    .typeahead_primary {
      font-size: 1.4em;
    }

    .quickEditBookings .typeahead_primary {
      font-size: 1.2em;
    }

    .typeahead_secondary {
      color: #666;
    }

  .tt-suggestions strong {
    font-weight: normal;
    color: #e11025;
  }

  .tt-hint {
    font-style: italic !important;
  }

  .company-selected {
    margin-bottom: 20px;
  }

  .addCompany-selected {
    margin-top: 8px;
  }

  .quickEditBookings {
    width: 100%;
  }

  .increaseFontSize {
    font-size: 1.3em;
  }

/* Responsive */

/* Mobiles */
@media only screen and (max-width : 480px) {

  .sidebar {
    padding-right: 0;
  }

  .footer {
    border-top: 1px dotted #ddd;
    margin-top: 50px;
  }

    #target-information-systems-logo {
      float: none;
      margin: 20px auto;
    }

}

/* ********************* */
/* * G A T E H O U S E * */
/* ********************* */

.contact h1.hasOrganistation {
  margin-bottom: 0;
}
.contact h2.organisation {
  font-weight: lighter;
  margin-top: 0;
}
  .contact h2.organisation a {
    color: #b4b4b4;
  }

    .contact h2.organisation a:hover {
      color: #a10d1c;
    }

.changeCompany {
  margin-left: 20px;
}

.permit-pass-view{
  width: 62.5px;
}

.permit-pass-field-group{
  margin-bottom: 15px;
}

.overlay {
  width: 100%;
  color: #fff;
  background-color: inherit;
}

.overlay .glyphicon {
  z-index: 1001;
  color: #fff !important;
  float: right;
  margin-top: -70px;
  margin-right: 5px;
}

.newCompany, .existingCompany {
  width: 100%;
  margin-top: 5px;
}

.companyMessages {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  float: left;
  width: 97%;
}

.icon-padding {
  padding-right: 5px;
}

.alert-banner {
  margin-bottom: 0px;
}

/* Extra Small Devices, Phones */
  @media only screen and (max-width : 766px) {

    .bookingPerson {
      clear: both;
      display: block;
    }

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

  }



  /*==========  Mobile First Method  ==========*/

  /* Custom, iPhone Retina */
  @media only screen and (min-width : 320px) {

  }

  /* iPad Portrait */
  @media only screen and (min-width : 480px) and (max-width : 768px) {
    .contactsSearch .results .result {
      min-height: 350px;
    }
  }

  /* Extra Small Devices, Phones */
  @media only screen and (min-width : 480px) {

  }

  /* Small Devices, Tablets */
  @media only screen and (min-width : 768px) {

    .eventList {
      margin-top: 10px;
    }

    .contactInfoWrapper {
      border-left: 1px dotted #ddd;
    }

      .contactInfo dt,
      .eventInfo dt,
      .eventNote dt {
        text-align: right;
        width: 80px;
      }

        .contactInfo dd,
        .eventInfo dd,
        .eventNote dd {
          margin-left: 100px;
        }

  }

  /* Medium Devices, Desktops */
  @media only screen and (min-width : 992px) {
  }

  /* Large Devices, Wide Screens */
  @media only screen and (min-width : 1200px) {
  }