@CHARSET "UTF-8";

@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,700);

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-family: Ubuntu;
  font-weight: normal;
  font-style: normal;
  font-size: 11pt;
  min-height: 100%;
  position: relative;
  overflow-y: auto;
}

html {
  height: 100%;
}

/******************************************************************** GENERAL */

img {
  border: 0;
}

.clear:before,
.clear:after {
  display: table;
  content: ' ';
  clear: both;
}


/********************************************************************* LAYOUT */

.wrapper, .footer-inner, .social, .navigation.bottom {
  width: 1000px;
  margin: 0 auto;
}

/***************************************************************** COLOURWAYS */

.blue, .service-users .nav, .service-users .css-menu-panel a:hover, .service-users .footer {
  background: #1f57a4;
  border-top-color: #1f57a4;
}

.service-users .nav li:hover a, .service-users .footer .font-btn {
  color: #1f57a4;
}

.service-users .tabs .blue {
  border-bottom-color: #1f57a4;
}

.green, .families .nav, .families .css-menu-panel a:hover, .families .footer {
  background: #81bb3f;
  border-top-color: #81bb3f;
}

.families .tabs .green {
  border-bottom-color: #81bb3f; 
}

.families .nav li:hover a, .families .footer .font-btn {
  color: #81bb3f;
}

.teal, .staff .nav, .staff .css-menu-panel a:hover, .staff .footer {
  background: #129fca;
  border-top-color: #129fca; 
}

.staff .tabs .teal {
  border-bottom-color: #129fca;
}

.staff .nav li:hover a, .staff .footer .font-btn {
  color: #129fca;
}

.orange, .professionals .nav, .professionals .css-menu-panel a:hover, .professionals .footer {
  background: #ff8f1f;
  border-top-color: #ff8f1f;
}

.professionals .tabs .orange {
  border-bottom-color: #ff8f1f; 
}

.professionals .nav li:hover a, .professionals .footer .font-btn {
  color: #ff8f1f;
}


/*************************************************************** SECTION TABS */

.navigation.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 10000;
}

.tabs {
  font-size: 0;
}

.tabs a {
  display: inline-block;
  width: 25%;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  text-align: center;
  box-shadow: inset 0 0 0 rgba(0,0,0,0.5);
  transition: box-shadow 0.3s;
  -o-transition: box-shadow 0.3s;
  -ms-transition: box-shadow 0.3s;
  -moz-transition: box-shadow 0.3s;
  -webkit-transition: box-shadow 0.3s;
  border-bottom: 8px solid #fff;
  font-size: 15pt;
}

.tabs a:hover {
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5); 
}

/******************************************************************* MENU BAR */

.nav {
  position: fixed;
  z-index: 10000;
  border-top: 1px solid #000;
  top: 47px;
  left: 0;
  right: 0;
}

.nav ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: table;
  width: 1000px;
}

.nav li {
  display: table-cell;
  text-align: center;
  position: relative;
}

.nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 13pt;
  padding: 8px 0;
  display: block;
  transition: background 0.3s, color 0.3s;
  -o-transition: background 0.3s, color 0.3s;
  -ms-transition: background 0.3s, color 0.3s;
  -moz-transition: background 0.3s, color 0.3s;
  -webkit-transition: background 0.3s, color 0.3s;
  cursor: pointer;
}

.css-menu-panel {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 100%;
  transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform: scaleY(0);
  -o-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  opacity: 0;
  background: #f2f2f2;
}

.css-menu-panel a {
  white-space: nowrap;
}

.nav li:hover a {
  background: #f2f2f2;
}

.nav li:hover .css-menu-panel {
  transform: scaleY(1);
  -o-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -moz-transform: scaleY(1);
  -webkit-transform: scaleY(1);
  opacity: 1;
  border-top: 1px solid #f2f2f2;
}

.nav li .css-menu-panel a {
  padding: 8px 4px;  
}

.nav li .css-menu-panel a:hover {
  color: #fff;
}

/***************************************************************** TOP SWOOSH */

.header {  
  background: url(img/header.jpg) center bottom no-repeat;
}

.header .wrapper {
  position: relative;
  height: 204px;
}

.header .text-btns {
  position: absolute;
  top: 84px;
  right: 0;
  display: table;
  border-spacing: 5px;
}

.header .font-btn {
  background: #1f57a4;
  color: #fff;
  display: table-cell;
  width: 30px;
  height: 30px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border-radius: 5px;
  margin-left: 6px;
  cursor: pointer;
  transition: background 0.3s;
  -o-transition: background 0.3s;
  -ms-transition: background 0.3s;
  -moz-transition: background 0.3s;
  -webkit-transition: background 0.3s;
}

.header .font-btn:hover {
  background: #129FCA;
}

.header .font-btn.selected-font {
  background: #FF8F1F;
}

.font-btn[data-size="11"] {
  font-size: 11pt;
}

.font-btn[data-size="13"] {
  font-size: 13pt;
}

.font-btn[data-size="15"] {
  font-size: 15pt;
}

/**************************************************************** FOOTER TABS */

.navigation.bottom {
  text-align: center;
  position: absolute;
  bottom: 157px;
  left: 0;
  right: 0;
}

.navigation.bottom a {
  display: inline-block;
  color: #fff;
  padding: 12px 8px;
  border-radius: 5px 5px 0 0;
  text-decoration: none;
  width: 15%;
  margin-top: 8px;
  font-size: 15pt;
  transition: padding 0.3s, margin 0.3s;
  -o-transition: padding 0.3s, margin 0.3s;
  -ms-transition: padding 0.3s, margin 0.3s;
  -moz-transition: padding 0.3s, margin 0.3s;
  -webkit-transition: padding 0.3s, margin 0.3s;
}

.service-users .navigation.bottom a.blue,
.families .navigation.bottom a.green,
.staff .navigation.bottom a.teal,
.professionals .navigation.bottom a.orange,
.navigation.bottom a:hover {
  padding-top: 20px;
  margin-top: 0;
}

/********************************************************************* FOOTER */

.footer {
  color: #fff;
  padding: 20px 0;
  font-size: 8pt;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer .text-btns {
  display: table;
  border-spacing: 5px;
}

.social .font-btn {
  background: #fff;
  border-radius: 5px;
  display: table-cell;
  height: 24px;
  width: 28px;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s, box-shadow 0.3s;
  -o-transition: opacity 0.3s, box-shadow 0.3s;
  -ms-transition: opacity 0.3s, box-shadow 0.3s;
  -moz-transition: opacity 0.3s, box-shadow 0.3s;
  -webkit-transition: opacity 0.3s, box-shadow 0.3s;
}

.social .text-btns a {
  display: table-cell;
  height: 24px;
  width: 24px;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

.social .text-btns a:hover {
  opacity: 0.8;
}

.social .font-btn:hover {
  opacity: 0.8;
}

.social .font-btn.selected-font {
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.social .sp {
  float: right; margin-right: 90px;
}

.footer .text-btn-box {
  display: inline-block;
}

.footer-inner {
  background: url(img/footer.png) right center no-repeat;
  height: 117px;
}

.footer-inner a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border 0.3s;
  -o-transition: border 0.3s;
  -ms-transition: border 0.3s;
  -moz-transition: border 0.3s;
  -webkit-transition: border 0.3s;
}

.footer-inner a:hover {
  border-bottom: 1px solid #fff;
}

/******************************************************************** CONTENT */

div.content {
  padding: 0 0 233px;
}

.content a {
  color: #1F57A4;
  text-decoration: underline;
  transition: color 0.3s;
  -o-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

.content a:hover {
  color: #129FCA;
}

/************************************************************************ MAP */

.map-base {
  position: relative;   
  height: 600px;
  width: 728px;
  overflow: hidden;
  float: left;
}

.map-base>img {
  border-radius: 8px;
  border: 2px solid #1F57A4;
}  

.map-base>* {
  position: absolute;
}

.map-base .pin img { 
  border: 0; 
}

.map-base .pin {
  background: rgba(255,255,255,0);
  transition: background 0.3s, border 0.3s, transform 0.3s;
  -o-transition: background 0.3s, border 0.3s, transform 0.3s;
  -ms-transition: background 0.3s, border 0.3s, transform 0.3s;
  -moz-transition: background 0.3s, border 0.3s, transform 0.3s;
  -webkit-transition: background 0.3s, border 0.3s, transform 0.3s;
  border-radius: 5px;
  border: 2px solid transparent;
}

.map-base .pin.highlight {
  transform: scale(1.5);
  z-index: 4;
}

.map-base .pin .caption {
  width: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  -ms-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  -webkit-transition-delay: 0.5s;
  position: absolute;
  left: 52px;
  top: 5px;
  display: block;
  overflow: hidden;
  font-size: 10pt;
  border-radius: 3px;
  border: 1px solid transparent;
}

.map-base .pin .caption strong {
  border-bottom: 1px solid #1F57A4;
  color: #333;
  display: block;
}

.map-base .pin .caption em {
  font-style: normal;
  color: #666;
  display: block;
}

.map-base .pin:hover {
  background: #fff;  
  z-index: 9;
  border: 2px solid #1F57A4;
}

.map-base .pin:hover .caption {
  width: 200px;
  padding: 5px;
  opacity: 1;
  border: 1px solid #1F57A4;
}

.map-base .pin.midway .caption {
  background: #fff;
}

.map-base .pin.pharos .caption {
  background: #fff;
}

.map-right {
  float: right;
  width: 250px;
}

.map-right a {
  font-weight: bold;
  text-decoration: none;
  font-size: 15pt;
  margin: 0 0 4px 0;
  display: block;
}

.map-right a img {
  border: 0;
  vertical-align: middle;
}

.map-right a div {
  display: none;
  color: #666;
  font-size: 10pt;
  font-weight: normal;
  overflow: hidden;
}

/****************************************************************** DIRECTORY */

.midwayhome {
  
}

.homes {
  background: #1F57A4;
  padding: 5px 0;
  text-align: center;
  margin: 0 0 10px;
}

.homes a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 8px 0;
}

.sideimage {
  float: right;
}

.homelinks {
  border-bottom: 2px solid #1f57a4;
  border-top: 2px solid #1f57a4;
  display: table;
  margin: 10px 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.homelinks a{
  background: #1f57a4 none repeat scroll 0 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.5) inset;
  color: #fff;
  display: table-cell;
  padding: 10px 0;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 0.3s ease 0s, color 0.3s ease 0s;
  width: 20%;
}

.homelinks span {
  background: #1f57a4 none repeat scroll 0 0;
  color: #129fca;
  display: table-cell;
  padding: 10px 0;
  width: 20%;
}

.home-info {
  padding: 10px 0;
}

.video-new {
  float: left;
  margin-right: 10px;
  width: 480px;
  padding-top: 70px;
}

.video-new iframe {
  width: 480px !important;
  height: 270px !important;
}

.map-base.small {
  float: right;
  width: 504px;
  height: 410px;
}

.cqc-info {
  border-radius: 2px;
  border: 1px solid #888 !important;
  border-spacing: 0;
  margin-top: 10px;
}

.cqc-info td {
  border: none;
}

.cqc-info td:first-child {
  border-right: 1px solid #888;
}

.cqc-info td:last-child {
  padding: 18px;
}

.cqc-info td:last-child img {
  vertical-align: middle;
}

.cqc-info p:first-child {
  margin-top: 0;
}

.cqc-info p:last-child {
  margin-bottom: 0;
}


/********************************************************************** VIDEO */

/** Video player */

.vidbox {
  margin: 70px auto 0;
  height: 310px;
  width: 500px;  
  z-index: 100000;
}

.vidbox .video div.msg {
  display: table;
  position: absolute;
  left: 20px;
  right: 143px;
  top: 18px;
  height: 460px;
  z-index: 6;
}

.vidbox .video div.msg a {
  color: #fff;
  text-decoration: none;
  font-size: 40pt;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  cursor: pointer;
  text-shadow: 0 0 2px #000;
  transition: color 0.3s;
  -webkit-transition: color 0.3s;
  padding-right: 160px;
}

.vidbox .video div.msg a:hover {
  color: #82B73E;
}

.video.noctrls.zoomed div.vidctrls {
  display: none !important;
}

.video.zoomed.noctrls div.play {
  display: none !important;
}

.whiteout {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: none;
  background: rgba(255,255,255,0.7);
  z-index: 10001;
}
.video {
  border: 20px solid #0C7EB4;
  background: #4D4D4D;
  position: relative;
  height: 270px;
  width: 460px;
  border-radius: 40px;
  cursor: pointer;
  z-index: 10002;  
}
.video .grill {
  background: #b3b3b3;
  background: -moz-linear-gradient(top,  #b3b3b3 0%, #474747 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b3b3b3), color-stop(100%,#474747));
  background: -webkit-linear-gradient(top,  #b3b3b3 0%,#474747 100%);
  background: -o-linear-gradient(top,  #b3b3b3 0%,#474747 100%);
  background: -ms-linear-gradient(top,  #b3b3b3 0%,#474747 100%);
  background: linear-gradient(to bottom,  #b3b3b3 0%,#474747 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3b3b3', endColorstr='#474747',GradientType=0 );
  position: absolute;
  top: 230px;
  bottom: 40px;
  right: 30px;
  width: 70px;
  background-repeat: repeat;
  background-size: 10px 10px;
  z-index: 3;
}
.video.zoomed {
  cursor: default;
}
.video:after {
  background: #b3b3b3;
  border: 5px solid #000000;
  border-radius: 10px;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: 100px;
  -height: 240px;
  position: absolute;
  content: '';
  z-index: 2;
}
.video:before {
  bottom: 20px;
  right: 20px;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  content: '';
  z-index: 3;
  transition: background 0.2s;
  -webkit-transition: background 0.2s;
}
.knob-top {
  position: absolute;
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  top: 30px;
  right: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  z-index: 3;
}
.knob-bottom {
  position: absolute;
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  top: 130px;
  right: 20px;
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
  transition: transform 0.2s;
  -webkit-transition: transform 0.2s;
  z-index: 3;
}
.static {
  position: absolute;
  opacity: 0;
  top: 10px;
  left: 10px;
  right: 143px;
  bottom: 10px;
  transition: opacity 0.8s;
  -webkit-transition: opacity 0.8s;
  border-radius: 60px;
  border: 10px solid #6d6d6d;
  background: url(img/static.gif) top left no-repeat;
  background-size: cover;
}
.play {
  position: absolute;
  bottom: 10%;
  left: 8%;
  height: 100px;
  width: 100px;
  background: #1F57A4;
  border-radius: 50px;
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}
.play:after {
  content: '';
  top: 15px;
  left: 38px;
  border-left: 35px solid #82B73E;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
  position: absolute;
}
.frame {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #6d6d6d;
  background: -moz-radial-gradient(center, ellipse cover,  #9b9b9b 0%, #6d6d6d 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#9b9b9b), color-stop(100%,#6d6d6d));
  background: -webkit-radial-gradient(center, ellipse cover,  #9b9b9b 0%,#6d6d6d 100%);
  background: -o-radial-gradient(center, ellipse cover,  #9b9b9b 0%,#6d6d6d 100%);
  background: -ms-radial-gradient(center, ellipse cover,  #9b9b9b 0%,#6d6d6d 100%);
  background: radial-gradient(ellipse at center,  #9b9b9b 0%,#6d6d6d 100%);
  border-radius: 20px;
  bottom: 10px;
  right: 143px
}
.bg {
  background: #6d6d6d;
  background: -moz-radial-gradient(center, ellipse cover,  #9b9b9b 0%, #6d6d6d 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#9b9b9b), color-stop(100%,#6d6d6d));
  background: -webkit-radial-gradient(center, ellipse cover,  #9b9b9b 0%,#6d6d6d 100%);
  background: -o-radial-gradient(center, ellipse cover,  #9b9b9b 0%,#6d6d6d 100%);
  background: -ms-radial-gradient(center, ellipse cover,  #9b9b9b 0%,#6d6d6d 100%);
  background: radial-gradient(ellipse at center,  #9b9b9b 0%,#6d6d6d 100%);
  top: 0;
  left: 0;
  bottom: 10px;
  right: 143px;
}
.video.unzoomed:hover .knob-top {
  animation-name: knob-top-animate;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  -webkit-animation-name: knob-top-animate;
  -webkit-animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
}
.video.unzoomed:hover .knob-bottom {
  animation-name: knob-bottom-animate;
  animation-duration: 4s;
  animation-iteration-count: infinite;      
  -webkit-animation-name: knob-bottom-animate;
  -webkit-animation-duration: 4s;
  -webkit-animation-iteration-count: infinite;      
}
.video.unzoomed:hover .static {
  opacity: 0.9;
}
.video.zoomed:before {
  background: #0f0;
  box-shadow: 0 0 2px #000;
}
.video.unzoomed:hover:before {
  animation-name: button-animate;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  -webkit-animation-name: button-animate;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;}
.video:hover .play {
  opacity: 0;
}
.video .label {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 143px;
  bottom: 10px;
  font-family: Ubuntu, san-serif;
  font-size: 40pt;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  color: #fff;
  text-align: center;
  padding: 12%;
  text-shadow: 0 0 2px #000;
}
.video.unzoomed:hover .label {
  animation-name: flicker-animate;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  -webkit-animation-name: flicker-animate;
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
}
.video .close {
  position: absolute;
  top: -40px;
  left: -40px;
  background: #82B73E;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: -1;
  transition: opacity 0.3s, background 0.3s;
  -webkit-transition: opacity 0.3s, background 0.3s;
  opacity: 0;
}
.video.zoomed .close {
  opacity: 1;
}
.video .close span {
  display: block;
  width: 10px;
  height: 30px;
  top: 10px;
  left: 20px;
  background: #fff;
  position: absolute;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: background 0.3s;
  -webkit-transition: background 0.3s;
}
.video .close span:after {
  content: '';
  display: block;
  width: 10px;
  height: 30px;
  top: 0;
  left: 0;
  background: #fff;
  position: absolute;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.video .close:hover {
  background: #5A8E17;
}
.video .close:hover span, .video .close:hover span:after {
  background: #ddd;
}
.video video {
  position: absolute;
  top: 18px;
  left: 20px;
  bottom: 10px;
  right: 143px;
  display: none;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;  
}
.video .video-overlay {
  border-radius: 20px;
  border: 10px solid #6d6d6d;
  top: 15px;
  left: 15px;
  right: 143px;
  bottom: 10px;
  z-index: 5;
  position: absolute;
}
.video .arial {
  position: relative;
  top: -90px;
  left: 0;
  width: 100%;
  text-align: center;
}
.video.unzoomed .video-overlay {
  display: none;
}
.video.zoomed video {
  display: block;
}
.video.zoomed .static,.video.zoomed .label {
  display: none !important;
}
.video .vidctrl {
  position: absolute;
  display: none;
  bottom: 20px;
  left: 20px;
  right: 150px;
  text-align: center;
  z-index: 6;
  height: 0;
  opacity: 0;
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
}
.video.zoomed .vidctrl {
  display: block;
}
.vidctrl button {
  display: inline-block;
  height: 30px;
  width: 30px;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.2s;
  webkit-transition: opacity 0.2s;
  z-index: 10;
  cursor: pointer;
  border-radius: 0;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 10px 0 0;
  top: -40px;
}
.vidctrl button:hover {
  opacity: 1;
}
.video.zoomed:hover .vidctrl {
  opacity: 1;
  display: block;
}
.video.zoomed.noctrls:hover .vidctrl {
  display: none;
}
.vidctrl button#playpause.stopped:after {
  content: '';
  position: absolute;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #444;
  top: 5px;
  left: 8px;
  z-index: 10;
}
.vidctrl button#playpause.playing:after {
  content: '';
  top: 5px;
  left: 5px;
  width: 8px;
  height: 20px;
  background: #444;
  position: absolute;
}
.vidctrl button#playpause.playing:before {
  content: '';
  top: 5px;
  right: 5px;
  width: 8px;
  height: 20px;
  background: #444;
  position: absolute;
}
.vidctrl button#stop:before {
  content: '';
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: #444;
  position: absolute;
}
.vidctrl button#muteunmute:after {
  content: '';
  position: absolute;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid #444;
  top: 5px;
  left: 8px;
  z-index: 10;
}
.vidctrl button#muteunmute:before {
  content: '';
  position: absolute;
  top: 12px;
  left: 8px;
  height: 6px;
  width: 6px;
  background: #444;
  z-index: 10;
}
.vidctrl button#muteunmute span {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 30px;
  width: 30px;
  opacity: 0;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}
.vidctrl button#muteunmute.off span {
  opacity: 1;
}
.vidctrl button#muteunmute span:after {
  content: '';
  position: absolute;
  top: 5px;
  left: 18px;
  width: 4px;
  height: 20px;
  transform-origin: 50% 50%;
  transform: rotate(-45deg);
  -webkit-transform-origin: 50% 50%;
  -webkit-transform: rotate(-45deg);
  
  background: #f00;
  z-index: 11;
}
@keyframes knob-top-animate {
  0% { transform: rotate(45deg); }
  50% { transform: rotate(190deg); }
  100% { transform: rotate(45deg); }
}
@-webkit-keyframes knob-top-animate {
  0% { -webkit-transform: rotate(45deg); }
  50% { -webkit-transform: rotate(190deg); }
  100% { -webkit-transform: rotate(45deg); }
}
@keyframes knob-bottom-animate {
  0% { transform: rotate(315deg); }
  50% { transform: rotate(200deg); }
  100% { transform: rotate(315deg); }
}
@-webkit-keyframes knob-bottom-animate {
  0% { -webkit-transform: rotate(315deg); }
  50% { -webkit-transform: rotate(200deg); }
  100% { -webkit-transform: rotate(315deg); }
}
@keyframes button-animate {
  0% { background: #000; }
  50% { background: #ff8f1f; }
  100% { background: #000; }
}
@-webkit-keyframes button-animate {
  0% { background: #000; }
  50% { background: #ff8f1f; }
  100% { background: #000; }
}
@keyframes flicker-animate {
  0% { opacity: 0; }
  10% { opacity: 0.5; }
  20% { opacity: 0.1; }
  30% { opacity: 0.7; }
  40% { opacity: 0.2; }
  50% { opacity: 0.4; }
  60% { opacity: 0.6; }
  70% { opacity: 0.3; }
  80% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% { opacity: 0; }
}
@-webkit-keyframes flicker-animate {
  0% { opacity: 0; }
  10% { opacity: 0.5; }
  20% { opacity: 0.1; }
  30% { opacity: 0.7; }
  40% { opacity: 0.2; }
  50% { opacity: 0.4; }
  60% { opacity: 0.6; }
  70% { opacity: 0.3; }
  80% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% { opacity: 0; }
}

a.bigbutton.blue {
  background: #1f57a4;
}

a.bigbutton.green {
  background: #81bb3f;
}

a.bigbutton.teal {
  background: #129fca;
}

a.bigbutton.orange {
  background: #ff8f1f;
}

a.bigbutton {
  display: inline-block;
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

a.bigbutton img {
  opacity: 0.2;
  filter: saturate(0);
  -o-filter: saturate(0);
  -ms-filter: saturate(0);
  -moz-filter: saturate(0);
  -webkit-filter: saturate(0);
  transition: opacity 0.3s, filter 0.3s;
  -o-transition: opacity 0.3s, filter 0.3s;
  -ms-transition: opacity 0.3s, filter 0.3s;
  -moz-transition: opacity 0.3s, filter 0.3s;
  -webkit-transition: opacity 0.3s, filter 0.3s;
  position: absolute;
  top: 0;
  left: 0;
}

a.bigbutton:hover img {
  opacity: 0.5;
  filter: saturate(0.5);
}

a.bigbutton strong {
  font-weight: bold;
  text-shadow: 0 0 1px #000, 0 0 1px #000, 0 0 1px #000;
  position: absolute;
  top: calc(50% - 15pt);
  left: 0;
  height: 200px;
  width: 100%;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  z-index: 100;
  color: #fff;
  font-size: 30pt;
}

body .slides-pagination a {
  border-radius: 10px;
  font-size: 0;
  transition: background 0.3s, transform 0.3s;
  transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  height: 10px;
  width: 10px;
  background: #1F57A4;
  border: 1px solid #fff;
}

body .slideshow a:hover, body .slideshow .selected a {
  background: #129FCA;
}

/******************************************************************************/

.formandu-text, .formandu-textarea,
.formandu-dropdown {
  padding: 8px;
  border: 1px solid #888;
  border-radius: 2px;
  width: calc(100% - 38px);
}

.formandu-textarea {
  height: 80px;
}

.formandu-text.val-1 {
  width: 100px;  
}

span.form-error {
  float: right;
  background: #FF8F1F;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px 2px 0 0;
  margin-right: 20px;
  color: #fff;
}

.formandu-grid {
  margin: 2px 0 10px;
}

.formandu-grid table {
  font-family: sans-serif;
  border-spacing: 0;
  text-align: left;
  border-top: 1px solid #888;
  border-left: 1px solid #888;
  width: 100%;
}
.formandu-grid td, .formandu-grid th {
  font-weight: normal;
  text-align: left;
  border-bottom: 1px solid #888;
  border-right: 1px solid #888;
  padding: 5px;
  min-height: 1em;
}

.formandu-grid .grid-new td {
   color: #aaa;
   cursor: pointer;
   transition: color 0.3s, background 0.3s;
}

.formandu-grid .grid-new:hover td {
  color: #888;
  background: #B6C7DE;
}

.formandu-grid .grid-new td:first-child:before {
  content: 'Click to add a row';
}
.formandu-grid td.grid-editing {
  padding: 0;
}
.formandu-grid th {
  background: #129FCA;
  color: #fff;
  font-weight: bold;
}
.formandu-grid .formandu-text, .formandu-grid .formandu-textarea, .formandu-grid .formandu-dropdown {
   border: 0;
   padding: 0;
   margin: 0;
   width: 100%;
   font-family: sans-serif;
   font-size: 1em;
   font-weight: normal;
   outline: 1px solid #000;
   padding: 5px;
   box-sizing: border-box;
 }

.formandu-container[align="center"] {
  margin: 10px;
}

table.formandu-container {
  width: 100%;
}

table.formandu-container.cols-4 td {
  width: 25%;
}

table.formandu-container.cols-2 td {
  width: 50%;
}

.footnote {
  text-align: center;
  width: 50%;
  padding: 3px;
  border: 1px solid #81BB3F;
  margin: 0 auto;
  position: relative;
}

.footnote sup {
  position: absolute;  
  font-size: 21pt;
  background: #FF8F1F;
  top: -5px;
  left: -10px;
  padding: 8px;
  border-radius: 10px;
  color: #fff;
}

.content h1.advinia-main-title {
  background: #FF8F1F;
  color: #fff;
  padding: 8px 0 10px;
  text-align: center;
  border-radius: 0 0 4px 4px;
}

.advinia-pager {
  text-align: center;
  padding: 8px;
}

.footnote.big {
  font-size: 1.8em;
}

.advinia-pager span, .advinia-pager a, .formandu-button, .content a.formandu-button {
  transition: background 0.3s, color 0.3s;
  display: inline-block;
  font-weight: bold;
  color: #fff;
  padding: 6px;
  border-radius: 4px;
  text-decoration: none;
}

.formandu-button, .content a.formandu-button {
  padding: 8px 20px;
  cursor: pointer;
}


.advinia-pager span {
  background: #FF8F1F;  
}

.content .advinia-pager a, .formandu-button, .content a.formandu-button {
  background: #81BB3F;
  color: #fff;
  text-decoration: none;
}

.content .advinia-pager a:hover, .formandu-button:hover, .content a.formandu-button:hover {
  background: #FF8F1F;
  color: #fff;
  text-decoration: none;
}

.content a.advinia-page-icon {
  text-decoration: none !important;
  color: #fff;
  transition: background 0.3s;
  font-size: 50pt;
  padding: 20px 50px 25px;
  border-radius: 8px;
  margin: 5px auto;
  display: inline-block;
  background: #129FCA;
  position: relative;
}

.content a.advinia-page-icon:hover {
  background: #129FCA;
}

.content a.advinia-page-icon.missing {
  background: #FF8F1F;
}

.content a.advinia-page-icon.missing:hover {
  background: #FF8F1F;
}

.content a.advinia-page-icon:after {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 20pt;
  content: '✔';
}

.content a.advinia-page-icon.missing:after {
  content: '⚠';    
}

.content .advinia-overdue {
  color: #ed7715;
  font-weight: bold;
  font-size: 14pt;
  text-align: center;
  border: 2px solid #FF8F1F;
  margin: 10px 0;
  padding: 6px 0;
}

.content a.advinia-page-name {
  display: block;
  font-weight: bold;
}

.formandu-button.big {
  font-size: 2.5em;
}

form.training div.formandu-grid {
  padding: 0 5px;
}

form.training th {
  height: 120px;
  position: relative;
  vertical-align: bottom;
  text-align: left;
  padding: 10px 0;
}

form.training td {
  font-size: 9pt;
}

form.training td {
  background: #e2e2e2;
}

form.training td:first-child {
  background: #fff;
}

form.training td.missing {
  background: #e2e2e2;
}

form.training td.expired {
  background: #FFD1A4;
}

form.training td.ok {
  background: #D0EDAF;
}

form.training td.warning {
  background: #FFF9CE;
}

form.training td.booking-none {
  background: #CEDCE0;
}

form.training span.formandu-section {
  text-align: center;
}

form.training th span {
  width: 120px;
  height: 3.5em;
  overflow: hidden;
  text-overflow: elipsis;
  transform-origin: bottom left;
  transform: rotate(-90deg);
  position: absolute;
  bottom: 10px;
  left: 50%;
}

.formandu-section {
  font-size: 21pt;
  font-weight: bold;
  background: #1F57A4;
  color: #fff;
  padding: 4px 0;
  text-align: center;
  display: block;
  margin: 5px 0;
}

/** Responsive 2, 3 and 4 column tables */

.content table.responsive3, .content table.responsive2, .content table.responsive4, .content table.responsive3 tbody, .content table.responsive2 tbody, .content table.responsive4 tbody {
  border: 0;
  border-spacing: 0;
  width: 100% !important;  
}

.content table.responsive3 td {
  width: 32%;
  padding-left: 2%;
  border: 0;
  vertical-align: top;
}

.content table.responsive3 td:first-child {
  padding-left: 0;
}

.content table.responsive2 td {
  width: 48%;
  padding-left: 4%;
  border: 0;
  vertical-align: top;
}

.content table.responsive2 td:first-child {
  padding-left: 0;
}

.content table.responsive4 td {
  width: 24%;
  padding-left: 1.33333%;
  border: 0;
  vertical-align: top; 
}

.content table.responsive4 td:first-child {
  padding-left: 0;
}

/** Responsive views */

/** Desktop only (need to set width to page width + 1) */

@media (min-width: 1001px) {
  .only-desktop {
    display: auto !important;
  }
  .not-desktop {
    display: none !important;
  }
}

/** Too small for desktop (tablet) - set width to page width */
@media (max-width: 1000px) {
  .not-desktop {
    display: auto !important;
  }
  .only-desktop {
    display: none !important;
  }
  
/* General */

.wrapper{
	width:100%;
}

/*Nav*/

#menu-btn{
	display:block;
	text-align:center;
	margin:10px auto;
	font-size:20pt;
}

.navigation.top{
	position:static;
	border:none;
	width:100%;
}

.tabs a{
	border-bottom:none;
}

.nav{
	width:100%;
	height:auto;
	position:static;
	display:none;
}

.nav ul {
  margin: auto;
  padding: 0;
  list-style: none;
  width:100%;
}

.nav li {
  display: block;
  position:relative;
  text-align:center;
}

.nav ul li a {
	padding:14px 0px;
}

.nav ul li a:hover {

}

.css-menu-panel {
  display: none;
  transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
   width: 100%;
   position: static;
   opacity: 1;
}

/* Header */

.header {
	display:none;
}

/* Content */

div.content{
	padding:0px 1%;
	width:98%;
}

/*Footer*/

.navigation.bottom{
	position:static;
	margin:0;
	padding:0;
	width:100%;
}

.navigation.bottom a{
	width:24.5%;
	padding:10px 0px;
	margin:0;
	border-radius:0px;
}

.footer{
	position:static;
	width:100%;
}

.footer-inner, .social{
	text-align:center;
	width:100%;
}

.footer-inner {
  background: rgba(0, 0, 0, 0) url("img/footer.png") no-repeat scroll bottom;
  height: 250px;
}

/* Home Map Page */


.content h1{
	text-align:center;
}

.map-base{
	display:none;
}

.map-right{
	float:left;
	width:100%;
	text-align:center;
}

.map-right a img{
	display:block;
	margin:10px auto;
}

/* Home page */

.midwayhome>p>img{
	margin:10px auto !important;
	float:right;
	display:block;
	max-width:100%;
	width:auto !important;
	height:auto !important;
}

.video-new, .map-base .small{
	width:100%;
	margin:0;
	padding:0;
	text-align:center;
	float:none;
}

.map-base.small{
	float:none;
	margin:0 auto;
}

#home-slideshow{
	max-width:100% !important;
	width:auto !important;
}
  
}

/** Phone */
@media (max-width: 600px) {

	
/* Navigation Top */
	
.navigation.top a{
	width:50%;
}

.navigation.bottom a{
	display:block;
	width:100%;
}

/* Home page */

.midwayhome>p>img{
	float:none !important;
}
	
  table.responsive3,table.responsive2,table.responsive4 {
    display: block;
  }  
  table.responsive4 td,table.responsive3 td,table.responsive2 td {
    padding: 5px 0 0 0;
    display: block;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }
  .col1 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col2 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col3 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col1.right, .col2.right, .col1.right+.col1 {
    text-align: center;
  }
}
