/**
 * Plugin Name: TransIQ Ticketing
 * Plugin URI: http://transiq.uk
 * Description: TransIQ Ticketing plugin for WordPress
 * Version: 0.1.1
 * Author: LOOKsystems Limited
 * Author URI: http://looksystems.ltd.uk
 */

/* UTILITY */

.no-pad {
  padding: 0 !important;
}

.no-margin {
  margin: 0 !important;
}

/* LIVE STATUS */

.ferry-status {
	background: #888;
	color: #fff;
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
	padding: 0.5em;
}
.ferry-status p {
	margin: 0;
}

.ferry-status--not-running {
	background: #f00;
}
.ferry-status--delayed {
	background: #fa0;
}
.ferry-status--running {
	background: #080;
}

.liveStatusUpdate .alert {
	padding: 1em;
}
.liveStatusUpdate .alert-success {
	background: #efe;
}
.liveStatusUpdate .form-control {
	width: 100%;
}


/* MY ACCOUNT */

/* .my-account {
	color: #333;
} */

.my-account .account-balance {
	font-size: 200%;
}

.my-account .list-unstyled {
	margin-left: 0;
}

.my-account legend {
    font-weight: bold;
  	margin-bottom: 1em;
    padding-bottom: 0.25em;
    border-bottom: 1px solid black;
}

.my-account a.plain {
	color: inherit;
}
.my-account a.plain:hover {
	text-decoration: underline;
}

/* PAYMENT FORM */

#payment-form .input-group {
	margin-bottom: 10px;
}

/* COLORBOX */

#cboxLoadedContent{
	margin-top: 28px;
	margin-bottom: 0;
}
#cboxClose {
	top: 0;
}

/* TABLE */

.table-collapse table,
.table-collapse thead,
.table-collapse tbody,
.table-collapse tr,
.table-collapse th, 
.table-collapse td {
    box-sizing: border-box;
}

.table-collapse table {
    border-collapse: collapse;
    text-align: left;
}
.table-collapse table tr {
    background: white;
    border-bottom: 1px solid;
}
.table-collapse table th,
.table-collapse table td {
    padding: 10px 20px;
    vertical-align: top;
}

.table-collapse table th {
  border: 1px solid #fff;
  border-bottom: 1px solid #333;
  background: #333;
  color: #fff;
}
.table-collapse table th:first-child {
  border-left: 1px solid #333;
}
.table-collapse table th:last-child {
  border-right: 1px solid #333;
}

.table-collapse table td {
    border: 1px solid #333;
    white-space: nowrap;
}
.table-collapse table td.wrap {
    white-space: normal;
}
.table-collapse table td.numeric {
    text-align: right;
}

.table-collapse table td span {
    background: #333;
    color: #fff;
    display: none;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
    position: absolute;
    text-transform: uppercase;
    top: 0;
    left: 0;
}

.table-collapse table .btn {
  display: block;
  margin-bottom: 0.2rem;
}
.table-collapse table .pull-right {
  float: none !important;
}

@media screen and (max-width: 80em) {
  .table-collapse table thead {
      left: -9999px;
      position: absolute;
      visibility: hidden;
  }
  .table-collapse table tr {
      border-bottom: 0;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      margin-bottom: 40px;
  }
  .table-collapse table td {
      border: 1px solid #333;
      margin: 0 -1px -1px 0;
      padding-top: 35px !important;
      position: relative;
      white-space: normal;
      width: 50%;
  }
  .table-collapse table td.nolabel {
    padding-top: 10px;
    padding-left: 10px;
  }
  .table-collapse table td.numeric {
      text-align: left;
  }
  .table-collapse table td span {
      display: block;
  }
  .table-collapse table td.col2 {
      width: 100%;
      margin-right: 1px;
  }
  .table-collapse table .btn {
    display: inline-block;
  }
.table-collapse table .pull-right {
  float: right !important;
}
}
