/* headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  color: #008fd5;
}
h1 {
  font-size: 2.7rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}
h1 {
  text-transform: uppercase;
}
h1, h2 {
  font-weight: 600;
}
h3, h4, h5, h6 {
  font-weight: 500;
}
@media (min-width: 992px) {
  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2.5rem;
  }
}

h1 .cnwc-blue, h2 .cnwc-blue, h3 .cnwc-blue, h4 .cnwc-blue, h5 .cnwc-blue, h6 .cnwc-blue {
  color: #008fd5;
}

/* intro text */
.intro {
  font-size: 1.75rem;
  line-height: 1.4;
  color: #008fd5;
}
@media (min-width: 992px) {
  .intro {
    font-size: 2rem;
    line-height: 1.5;
  }
}

/* styles for partner logos */
ul.flex-hz,
ol.flex-hz,
.flex-hz li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.flex-hz {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flex-hz > * {
  max-width: 50%;
}
.flex-hz a {
  display: block;
  margin: 10px;
}
@media (min-width: 768px) {
  .flex-hz > * {
    max-width: 20%;
  }
}

/* login and trainee stats panel */
.btn-rounded {
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
}
.btn-primary,
.login-btn {
  background-color: #008fd5;
  border-color: #008fd5;
  border-width: 2px;
}
.btn-primary:hover,
.login-btn:hover {
  color: #008fd5;
  background-color: #fff;
  border-color: #008fd5;
}
.btn-outline-primary {
  color: #008fd5;
  border-color: #008fd5;
  border-width: 2px;
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: #008fd5;
  border-color: #008fd5;
}
.trainee-stats .btn,
.btn-padded {
  padding-left: 1.8em;
  padding-right: 1.8em;
}
.btn-small {
  font-size: .875rem;
  padding-left: 1em;
  padding-right: 1em;
}
.login-box #form-login-submit {
  margin-bottom: 2rem !important;
}
.mod-login ul,
.mod-login ol,
.mod-login li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.mod-login ul,
.mod-login ol {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #008fd5;
}
.mod-login li > a {
  display: block;
  font-size: 0.875rem;
}

/* trainee stats */
.booked-sessions li {
  list-style-type: none;
}
.booked-sessions li + li {
  margin-top: .5em;
}
.booked-sessions li:before {
  display: inline-block;
  content: "›";
  padding-right: 10px;
}

/* trainee available and booked sessions */
.trainee-bookings,
.available-sessions {
  font-size: 0.875rem;
}
.trainee-bookings tbody td,
.available-sessions tbody td {
  padding-top: .75em;
  padding-bottom: .75em;
}
.trainee-bookings .col-actions,
.available-sessions .col-actions {
  width: 1%;
}

/* stack the available sessions table */
.table-stack tr {
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
	}
	.table-stack td,
	.table-stack th {
	   display:block;
	   -ms-flex: 1 1 auto;
		 flex: 1 1 auto;
	}
	.table-stack .table-stack-thead {
	   font-weight: bold;
	}
	.trainee-bookings,
	.available-sessions {
	  font-size: 0.8125rem;
	}
 .trainee-bookings .table-stack .btn,
 .available-sessions .table-stack .btn {
	 width: 100%;
 }
@media screen and (max-width: 992px) {
   .table-stack tr {
      -webkit-box-orient: vertical !important;
      -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
      flex-direction: column !important;
      display: block !important;
      border-bottom-width: 4px;
   }
   /* IE9 FIX */
   .table-stack td {
      float: left\9;
      width:100%;
   }
  .trainee-bookings,
  .available-sessions {
    font-size: 0.875rem;
  }
  .trainee-bookings .table-stack .btn,
  .available-sessions .table-stack .btn {
     width: auto;
     min-width: 100px;
  }
  .trainee-bookings .table-stack .col-actions,
  .available-sessions .table-stack .col-actions {
    width: auto;
  }
}

