/*------------------------------------*\
  #EVENTS PORTAL CSS
\*------------------------------------*/





/*------------------------------------*\
  #EVENTS TABLE
\*------------------------------------*/
/* h1 {
  font-size: 1.8em;
  margin: 0px 0 25px 0;
  color: #006f9a;
  font-weight: bold;
  line-height: 1.2em;
} */

  /* Overwrite default table styles for Events Table */
  .events, .events td {
    border: 1px solid rgba(186, 186, 186, 0.56);
    vertical-align: top;
  }
  .events__heading {
    border: 1px solid rgba(186, 186, 186, 0.56);
    font-weight: bold;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2977a4+0,4180a3+10,2977a4+51,2977a4+66 */
    background: rgb(41,119,164); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(41,119,164,1) 0%, rgba(65,128,163,1) 10%, rgba(41,119,164,1) 51%, rgba(41,119,164,1) 66%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(41,119,164,1) 0%,rgba(65,128,163,1) 10%,rgba(41,119,164,1) 51%,rgba(41,119,164,1) 66%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(41,119,164,1) 0%,rgba(65,128,163,1) 10%,rgba(41,119,164,1) 51%,rgba(41,119,164,1) 66%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2977a4', endColorstr='#2977a4',GradientType=0 ); /* IE6-9 */
    width: 100%;
    color: #fff;
  }
  /* Table row hover effect */
  .events__row {
    -webkit-transition: background 0.20s ease-in-out; 
    -moz-transition: background 0.20s ease-in-out;
    -o-transition: background 0.20s ease-in-out;
    transition: background 0.20s ease-in-out;
  }
  .events__row:hover .more-details > span {
    color: #2977A4 !important;
    -webkit-transition: color 0.20s ease-in-out; 
    -moz-transition: color 0.20s ease-in-out;
    -o-transition: color 0.20s ease-in-out;
    transition: color 0.20s ease-in-out;
  }
  .events--hover {
    cursor: pointer;
    background: #E1E1E1 !important;
  }
  /* More details column with geolocaiton icon */
  .more-details {
    color: #2A77A4 !important;
    text-align: center;
  }

  .more-details > .glyphicon-map-marker {
    width: 50px;
    height: auto;
    /* Remove !important as it's not needed for SVG */
    line-height: 1.5em;
  }


  .btn--event-details .glyphicon-map-marker {
    width: 25px;
    height: 25px;
  }

  .btn--event-details .glyphicon-calendar {
    width: 20px;
    height: 20px;
  }

  .btn--event-details .glyphicon-print {
    width: 20px;
    height: 20px;
  }
  







/*------------------------------------*\
  #DETAILS BOX 
\*------------------------------------*/

  /* Details box extends Bootstraps panel component */
  .details-box {
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  }
  .panel-heading.details-box__header {
    background-color: #e6e6e6;
    padding-top: 30px;
  }
  .details-box__text {
    margin-bottom: 20px;
    font-size: 20px;
    color: #636466;
  }





/*------------------------------------*\
  #MOBILE
\*------------------------------------*/

  @media only screen and (min-device-width : 320px) and (max-device-width : 1200px) {
    table.dataTable th,
    table.dataTable td {
      white-space: nowrap;
    }
    /* If Event Name is longer than screen enable word wrapping */
    table.dataTable .events__row td:first-child {
      white-space: normal;
      font-weight: bold;
      font-size: 1.1em;
      color: #636466;
    }
    /* Hide Desktop Header */
    header {
      display: none;
    }
    footer {
      display: none;
    }
    /* Show Mobile Header */
    .mobile-header {
      display: block !important;
    }
    .mobile-header__bar {
      width: 100%;
      background: #2977A4;
      height: 50px;
    }
    .logo {
      position: absolute;
      z-index: 2000;
      top: 0;
      left: 15px;
    }
    .logo > a {
      width: 120px;
      height: 157px;
      display: block;
      background: url(/media/images/logo.png) no-repeat 0 -2px;
      background: url(/media/images/logo.svg) no-repeat 0 -2px,
      linear-gradient(transparent, transparent);
      text-indent: -9999px;
      background-size: 50px;
    }
    .dataTables_filter {
      display: none;
    }
    .dataTables_length {
      text-align: right !important;
    }
    .filter-btn-group__default--mobile {
      display: block !important;
      width: 100%;
      margin-bottom: 20px;
    }
    .filter-btn-group__default {
      display: none;
    }
    .expandable__heading > a:focus {
       outline: none !important;
    }
    .sorting_1 {
      font-weight: bold;
      background: #E1E1E1;
      color: #006f9a;
      min-width: 300px;
      white-space: normal !important;
    }
    .dtr-data {
      white-space: normal;
    }
  }




/*------------------------------------*\
  #FILTER 
\*------------------------------------*/
  .expandable__container { 
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .bring + .expandable__container {
    padding-left: 40px !important;
  }
  .filter-btn-group__default--mobile {
    display: none;
  }
  .filter-btn-group__default {
    width: 215px;
    margin-left: 25px;
    margin-top: 10px;
  }
  .filter-btn-group__default--first {
    background: #2977A4;
  }
  .btn.filter-btn-group__default--first:hover {
    background: #286090;
    color: #fff;
  }
  .filter-btn-group__default--last {
    background: #fff;
    border-color: #ccc;
    margin-right: 13px;
  }
  div.dataTables_filter input {
    width: 30em !important;
  }

  .lbl-primary {
    font-weight: bold;
    margin-right: 8px;
  }
  .select-primary {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: inline-block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
  }
  .gsc-search-button {
    margin-top: 4px !important;
  }
  .mobile-header {
    display: none;
  }

  .dl-horizontal dt {
  float: left;
  width: 160px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  }

  .dl-horizontal dd {
    margin-left: 180px;
  }
  .dt__item {
    font-weight: 700;
    color: #333333;
  }




/*------------------------------------*\
  #MODAL + #MAP
\*------------------------------------*/

.event-map {
  z-index: 2100;
}
.mapping {
  height: 500px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
 }
.modal--event {
  z-index: 2100;
 }
.modal--event__content {
  padding: 20px;
}







/*------------------------------------*\
  #BUTTONS
\*------------------------------------*/

  .btn--close--sm {
    background: #fff;
    border-color: #ccc;
    margin-top: -10px;
    margin-bottom: 10px;
  }
  .btn--close--lg {
    background: #fff;
    border-color: #ccc;
    color: #000;
    position: relative;
    width: 120px;
  }
  .btn:hover {
    color: #333;
    background: #e6e6e6;
    border-color: #adadad;
  }
  .btn-reset:hover {
    text-decoration: underline;
  }
  a.btn.btn--event-details {
    text-decoration: none !important;
    color: #2A77A4;
  }
  .btn.btn--event-details:hover {
    background: #F7D47E;
    color: #777;
  }


/*------------------------------------*\
  #PRINT FRIENDLY CSS
\*------------------------------------*/

  @media print {
    body * {
      visibility: hidden;
    }
    img { 
      max-width: none !important; 
    }
    ul > li {
      margin: 0 !important;
    }
    small {
      display: none;
    }
    p {
      margin-top: -10px;
    }
    .proof-of-citezenship > h3 {
      margin-left: 20px;
    }
    .section-to-print, .section-to-print * {
      visibility: visible;
    }
    .section-to-print {
      position: absolute;
      left: 0;
      top: 0;
    }
    .panel-default > .panel-heading {
     display: none;
   } 
   .get-ready {
     display: none;
   }
   .btn--close--sm,
   .btn--close--lg {
     display: none;
   }
   .proof-of-identity,
   .proof-of-citezenship {
     float: left;
   }
   .modal__content {
     overflow: hidden;
   }
   .bring {
     margin-top: 0 !important;
     margin-bottom: -20px !important;
   }
   .expandable__container {
      display: block !important;
   }
   #mapping a {
     display: none !important;
   }
   .close-btn-x {
    display: none;
  }
  .close-btn {
    display: none;
  }
  .expandable {
    margin-top: -20px !important;
  }
  .expandable__content {
    display: block !important;
    margin-top: -20px;
  }
}


