body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  font-size: 20px;
  padding: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
}

.row {
  margin-right: -1.2rem !important;
  margin-left: -1.2rem !important;
}

.container-fluid,
.col-12,
.col-md-6 {
  padding-right: 1.2rem !important;
  padding-left: 1.2rem !important;
}

/* Header */
.header {
  background: #005260;
  padding: 1.2rem 0;
  color: #fff;
}

  .header .departure-pre-title {
    color: #B2DCDA;
    font-weight: bold;
  }

  .header .departure-name {
    font-size: 35px;
    font-weight: bold;
  }

  .header .right-departure{
    padding-left: 1.5rem;
  }

.departure-situation {
  background-color: #ffc107;
  padding: .25rem .5rem;
  margin-top: 1rem;
  color: #000;
}

.header .departure-situation .situation-icon {
  font-size: 3.5rem;
}

  .header .departure-situation .situation-icon-lg {
    font-size: 4rem;
  }

@media (max-width: 1199px) {
  .header .departure-situation .situation-icon,
  .header .departure-situation .situation-icon-lg {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .departure-situation {
    font-size: 1rem;
  }
  .header .departure-situation .situation-icon,
  .header .departure-situation .situation-icon-lg {
    font-size: 1.5rem;
  }  
}

  /* Info line */
  .info-line {
    background: #005260;
    padding: .5rem 1.5rem 1rem 1.5rem;
    color: #FFCD00;
    font-size: 16px;
    font-weight: bold;
  }

  .info-line span {
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    background: #FFCD00;
    border-radius: 0;
    margin-right: 15px;
  }

  /* Clock and logo */
.clock-and-logo {
  position: absolute;
  z-index: 1;
  right: 1rem;
  display: flex;
  flex-direction: row;
}

@media (max-width: 599px) {
  .clock-and-logo {
    position: relative;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
}


.logo,
.logo img {
  width: 80px;
  text-align: center;
}

.clock {
  position: relative;
  display: flex;
  flex: 1;
  align-self: stretch;
  align-items: center;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  padding-right: 1rem;
  margin-right: 1rem;
  border-right: 1px solid #b2dcda;
}

@media (max-width: 599px) {
  .clock {
    flex: 0;
  }
}

@media (max-width: 1320px) {
  .logo,
  .logo img {
    width: 60px;
  }
}

@media (max-width: 1199px){
  .logo,
  .logo img {
    width: 40px;
  }

  .clock {
    font-size: 30px;
  }
}


/* time-tables */
.time-tables table {
  border-collapse: collapse;
  border-color: #fff;
  width: 100%;
}

.time-tables > div:first-child {
  padding-left: 0 !important;
}

.time-tables > div:last-child {
  padding-right: 0 !important;
}

@media (max-width: 991px) {
  .time-tables > div:first-child {
    padding-right: 0 !important;
  }

  .time-tables > div:last-child {
    padding-left: 0 !important;
  }
}

.time-tables table tr > td,
.time-tables table tr > th {
  padding-left: .2rem;
  padding-right: .2rem;
}

.time-tables table tr > td {
  padding-top: .4rem;
  padding-bottom: .4rem;
}

.time-tables table tr > td:first-child,
.time-tables table tr > th:first-child {
  padding-left: 1.2rem;
}

  .time-tables table tr > td:last-child,
  .time-tables table tr > th:last-child {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
    width: 50px;
    text-align: center;
  }

/* time-tables header */
.lines-header {
  font-size: 20px;
  text-align: left;
  color: #000;
}

  .lines-header .english {
    font-size: 14px;
    color: #005260;
    padding-bottom: 7px;
  }

  .lines-header .cell-first {
    width: 100px;
  }

  .lines-header .cell-last {
    text-align: right;
  }

  .lines-header tr:first-child th {
    padding-top: .75rem;
  }

  .lines-header tr:last-child {
    border-bottom: 3px solid #005260 !important;
  }


/* time-tables item  */
.line-item {
  border-bottom: 3px solid #d4d5ce;
}

.line-item:nth-child(even) {
  background: #fff;
}

.line-item:nth-child(odd) {
  background: #efefef;
}

.line-item td {
  color: #000;
  font-size: 30px;
  white-space: nowrap;
  text-wrap: none;
}

@media (min-width: 992px) and (max-width:1199px ) {
  .line-item td {
    font-size: 25px;
  }
}

@media (max-width: 991px) {
  .line-item td {
    font-size: 20px;
  }
  .line-item .line-name {
    font-weight: bold;
  }
  .line-item .line-time {
    font-weight: bold;
  }
}

@media (max-width: 768px) {
  .line-item td {
    font-size: 1rem;
  }
}

.line-item tr > td:first-child {
  width: 120px;
}

@media (max-width: 991px) {
  .line-item tr > td:first-child {
    width: 80px;
  }
}


.line-item .line-number {
  background: #b2dcda;
  border-radius: 2px;
  width: 100%;
  color: #000;
  display: block;
  margin: 0 auto;
  font-weight: bold;
  text-align: center;
}

  .line-item .line-number.true {
    background: #FFCD00;
  }


.line-item .situation td {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.line-item .situation-item {
  padding-top: .4rem;
  padding-bottom: .4rem;
  color: #000;
  font-size: 1rem;
  white-space: normal;
  text-wrap: normal;
}

@media (max-width: 768px) {
  .line-item .situation-item {
    font-size: .8rem;
  }
}

.line-quay {

}

.line-quay span {
  background: #000;
  border-radius: 2px;
  color: #fff;
  height: 100%;
  width: 100%;
  display: inline-block;
  margin: 0 auto;
  font-weight: normal;
  text-align: center;
}

.signal-icon {
  position: relative;
  /* Allows you to position the pseudo elements */
  width: 30px;
  height: 30px;
  background: #fff;
  margin-left: 10px;
}

  .signal-icon:before, .signal-icon:after {
    font-family: "FontAwesome";
    position: absolute;
  }

  .signal-icon:before {
    content: "\f1eb";
    font-size: 20px;
    color: #FFCD00;
    top: 5px;
  }

  .signal-icon:after {
    content: "\f00d";
    font-size: 12px;
    color: #FFCD00;
    top: 15px;
    left: 15px;
  }

/* Offline */
.alert-offline {
  position: relative;
  background: #E40017;
  width: 400px;
  z-index: 100;
  padding: 15px 30px;
  color: #fff;
  margin: 115px auto;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
}

.time-blur {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}

/* CONFIG PAGE */
.config-page {
  color: #fff;
  padding: 30px;
  width: 500px;
  background: #005260;
  border-radius: 3px;
  margin: 0 auto;
}

  /* Result box */
  .config-page .card {
    background-color: #012d34;
    margin-top: 1rem;
  }

  /* Button */
  .config-page .btn-primary {
    color: #000;
    background: #b2dcda;
    border-color: #b2dcda;
  }

      .config-page .btn-primary:hover,
      .config-page .btn-primary:focus {
        color: #000;
        background: #FFCD00;
        border-color: #FFCD00;
      }

              .config-page .btn-primary:hover:focus {
                color: #000;
                background: #ddb202;
                border-color: #ddb202;
              }
  /* Color custom checkbox and radio */
  .config-page .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #FFCD00;
    background-color: #FFCD00;
  }

/*Type ahead */
  .config-page .typeahead-search {
    position: relative;
  }

  .config-page .dropdown-menu {
    width: 100%;
    background-color:#b2dcda;
    padding: 0;
  }
      .config-page .dropdown-menu li a {
        display: block;
        width: 100%;
        padding: 0.25rem 1.5rem;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border-bottom: 1px solid #8dbcb9;
      }

      .config-page .dropdown-menu li:last-child a {
        border-bottom: none;
      }

  .config-page .dropdown-menu li a:focus, .config-page .dropdown-menu li a:hover {
    color: #000;
    text-decoration: none;
    background-color: #FFCD00;
  }