html {
  height: 100%;
}

body {
  background-color: black;
  margin: 0px;
  padding: 0px;
  height: 100%;
  font: 10pt arial, helvetica;
  background-image: url("/img/sidebar_glow_left.jpeg");
  background-repeat: repeat-y;
  background-position: top left;
  background-attachment: fixed;
}

#bgright {
  position: fixed;
  right: 0px;
  top: 0px;
  z-index: -10;
  width: 180px;
  height: 100%;
  background-image: url("/img/sidebar_glow_left.jpeg");
  background-repeat: repeat-y;
  background-position: top left;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

#logo_background {
  /* Doesn't work on IE9 or below */
  background: radial-gradient(circle, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0));
  position: absolute;
  width: 100%;
  z-index: -9;
  /* Hack for Safari ignoring z-index */
  -webkit-transform: translate3d(0, 0, 0);
}

h1 {
  padding: 5px 0 5px 0;
  margin: 0px;
  font-size: 18px;
  color: #86283e;
}

h2 {
  padding: 15px 0 10px;
  margin: 0px;
  font-size: 18px;
  color: #86283e;
}

h3 {
  padding: 15px 0 10px;
  margin: 0px;
  font-size: 14px;
  color: #86283e;
}

h4 {
  padding: 15px 0 10px;
  margin: 0px;
  font-size: 12px;
  color: #86283e;
}

p {
  text-align: justify;
  padding: 2px 0 2px 0;
  margin: 0px;
  line-height: 15px;
}

p.white {
  color: #ffffff;
}

p.green {
  color: #d4f0ba;
}

p.clear {
  clear: both;
  padding: 10px 0 0 0;
}

img.left_img {
  border: 1px #cae6c6 solid;
  float: left;
  margin: 0 10px 0 0;
}

img.box_img {
  float: left;
  padding: 0 20px 0 0;
}

#main_container {
  width: 90%;
  height: auto;
  margin: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#header {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media only screen and (min-width: 1030px) {
  #wsclogo img,
  #wsclogo,
  #logo_background {
    height: 150px;
  }
}

@media only screen and (max-width: 1030px) {
  #logo_background,
  #wsclogo,
  #wsclogo img {
    height: auto;
  }
  #main_container {
    width: 100%;
  }
  #otherlogos {
    padding-left: 10px;
  }
  #bgright {
    display: none;
  }
  #facebook_iframe {
    display: none;
  }
  body {
    background: black;
  }
}

#wsclogo {
  margin: auto;
  width: calc(100% - 300px);
}

#wsclogo img {
  display: block;
  margin: 0 auto;
  max-width: auto;
}

#sponsor {
  float: right;
  padding-right: 10px;
  padding-top: 80px;
  color: white;
  text-align: right;
  z-index: 50;
  line-height: 20px;
  width: 150px;
}

#otherlogos {
  float: left;
  padding-right: 10px;
  padding-top: 100px;
  color: white;
  line-height: 20px;
  z-index: 50;
  width: 150px;
}

#logo {
  padding: 15px 0 0 30px;
  float: left;
}

#overall_container {
  /*
   * In IE min-height applied to a flex container (e.g. #main_container) doesn't apply
   * to its child flex items for some stupid reason unless the flex container is itself
   * wrapped in another flex container in the row direction – then it magically works. :'(
   */
  display: flex;
  flex-direction: row;
  position: relative;
}

#content {
  background-color: white;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  overflow: auto;
  flex: 1 1 auto;
}

table.table_borders td,
table.table_borders th {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 5px 40px;
  text-align: center;
}

/*----------------------menu-------------------------*/

#menu {
  width: 100%;
  padding: 0px;
  clear: both;
  background: #910539 /* Old browsers */;
  background: -webkit-repeating-linear-gradient(
      to bottom,
      #910539 0,
      #cf4c47 35px
    )
    /* Android */;
  background: repeating-linear-gradient(to bottom, #910539 0, #cf4c47 35px)
    /* W3C */;
}

#menu ul {
  list-style: none;
  padding: 0 0 0 10px;
  margin: auto;
  display: block;
  overflow: hidden;
}

#menu ul li {
  list-style: none;
  display: inline;
  float: left;
  width: auto;
  height: 35px;
  padding: 0px;
  line-height: 35px;
  font-family: sans-serif;
  font-size: 13px;
}

#menu ul li a {
  height: 35px;
  width: auto;
  float: left;
  text-decoration: none;
  padding: 0 10px 0 10px;
  margin: 0px 3px 0px 3px;
  color: white;
  text-align: center;
}

#menu ul li a:hover {
  height: 35px;
  width: auto;
  text-decoration: none;
  color: #fff;
  padding: 0 10px 0 10px;
  background-color: #86283e;
}

#menu ul li a.current {
  height: 35px;
  width: auto;
  float: left;
  text-decoration: none;
  padding: 0px;
  color: #fff;
  padding: 0 10px 0 10px;
  background-color: #86283e;
}

#submenu {
  width: 100%;
  padding: 0px;
  clear: both;
  background: #910539 /* Old browsers */;
  background: -webkit-repeating-linear-gradient(
      to bottom,
      #910539 0,
      #cf4c47 35px
    )
    /* Android */;
  background: repeating-linear-gradient(to bottom, #910539 0, #cf4c47 35px)
    /* W3C */;
}

#submenu ul {
  list-style: none;
  padding: 0 0 0 10px;
  margin: auto;
  display: block;
  overflow: hidden;
}

#submenu ul li {
  list-style: none;
  display: inline;
  float: left;
  width: auto;
  height: 35px;
  padding: 0px;
  line-height: 35px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

#submenu ul li a {
  height: 35px;
  width: auto;
  float: left;
  text-decoration: none;
  padding: 0 10px 0 10px;
  margin: 0px 3px 0px 3px;
  color: #fff;
  text-align: center;
}

#submenu ul li a:hover {
  height: 35px;
  width: auto;
  text-decoration: none;
  color: #fff;
  padding: 0 10px 0 10px;
  background-color: #86283e;
}

#submenu ul li a.current {
  height: 35px;
  width: auto;
  float: left;
  text-decoration: none;
  padding: 0px;
  color: #fff;
  padding: 0 10px 0 10px;
  background-color: #86283e;
}

/*--------------------------main_content-------------------*/

#main_content {
  width: auto;
  height: auto;
  clear: both;
}

.main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

input.search_input {
  width: 170px;
  height: 20px;
  background-color: #ffffff;
  border: 1px #c0c485 solid;
  float: left;
  margin: 15px 0 0 15px;
}

input.submit {
  float: left;
  padding: 0 0 0 10px;
}

/*-----------------------------footer------------------*/

#footer {
  clear: both;
  width: auto;
  padding-top: 15px;
  padding-left: 5px;
  color: #fff;
  background-color: #cf4c47;
  height: 55px;
  overflow: hidden;
}

.formhead,
.tableh,
.formcelll {
  background-color: #cf4c47;
  color: white;
}

.formcell_alt {
  background-color: #ff5c67;
}

.formhead,
.tableh {
  text-align: center;
  font-weight: bold;
  line-height: 20px;
}

p {
  font-family: Arial;
  font-size: 10pt;
  color: black;
  padding-bottom: 10px;
}

table,
tr,
td {
  font-family: Arial;
  font-size: 10pt;
  border-collapse: collapse;
}

a,
a:visited,
a:active {
  color: #ff8a00;
  text-decoration: none;
}

#preContentDiv {
  background-color: black;
  height: 400px;
  overflow: hidden;
}

#s3slider {
  background-color: black;
  height: 400px;
  /* important to be same as image height */
  overflow: hidden;
  /* important */
  width: 720px;
  float: left;
  padding-right: 5px;
}

#s3sliderContent {
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  top: 0;
}

.preContentInfo {
  font-size: 11pt;
  color: white;
  padding-top: 5px;
  padding-right: 10px;
  text-align: center;
}

.s3sliderImage {
  position: relative;
  display: none;
}

.s3sliderImage span {
  position: absolute;
  left: 0;
  font: 10px/15px Arial, Helvetica, sans-serif;
  padding: 10px 13px;
  width: 374px;
  background-color: #000;
  filter: alpha(opacity=70);
  /* here you can set the opacity of box with text */
  -moz-opacity: 0.7;
  /* here you can set the opacity of box with text */
  -khtml-opacity: 0.7;
  /* here you can set the opacity of box with text */
  opacity: 0.7;
  /* here you can set the opacity of box with text */
  color: #fff;
  display: none;
  top: 0;
  /*
        if you put top: 0;  -> the box with text will be shown
                                at the top of the image
        if you put bottom: 0;  -> the box with text will be shown
                                at the bottom of the image
    */
}

.s3sliderImage a {
  /*
   * Things get upset if the a tag isn't block styled if it's children are (i.e. div)
   */
  display: block;
}

.clear {
  clear: both;
}

.tablecenter {
  text-align: center;
}

#login {
  position: absolute;
  top: 2px;
  right: 2px;
  color: white;
}

ul {
  margin-top: 0px;
}

hr {
  border-color: #cf4c47;
  border-top: #cf4c47;
}

td.table1 {
  background-color: #f0f0f0;
}

.highlight {
  background-color: #ffe6c9;
}

.width66 {
  width: 66%;
}

.width33 {
  width: 33%;
}

.width40 {
}

.formhead a {
  color: #ffddb4;
}

.rota-icons {
  border: 0;
  vertical-align: middle;
  padding-right: 5px;
  height: 16px;
  width: auto;
}

.rota-icons-pixel {
    image-rendering: pixelated;
}

#editcrewtable > form > table {
  width: 60%;
}

/* BEGINNING OF TOBY BAILEY STYLING SECTION */
/* style for passwordfield div, containing password boxes */
#passwordfield {
  border: 0.3em solid #cf4c47;
  border-radius: 0.6em;
  padding: 1em;
  width: 70%;
  margin: auto; /* align to the center of the page - needs width to do this */
}

form.center {
  width: 90%;
  margin: auto;
}

/* select form inputs which are type text or password */
input[type="text"],
input[type="password"] {
  outline: none; /* disable default browser outlining of elements */
  width: 90%;
  border: none;
  border: 0.15em solid #e6e6e6;
  border-bottom: 0.15em solid #cf4c47;
  background-color: #e6e6e6;
  padding: 0.5em;
  -webkit-appearance: none;
  /* border-top-left-radius: 0.6em;
    border-top-right-radius: 0.6em; */
}

/* styling applied when the input is clicked on */
input[type="text"]:focus,
input[type="password"]:focus {
  border: 0.15em solid #cf4c47;
  border-radius: 0.6em;
}

input[type="button"],
input[type="submit"],
button {
  border: 0.2em solid #cf4c47;
  border-radius: 0.2em;
  background-color: #cf4c47; /* a slightly lighter shade of red */
  font-weight: bold;
  color: white; /* text color in submit button */
  padding: 0.15em 0.35em; /* top-bottom padding, then left-right padding */
  cursor: pointer; /* display mouse pointer when mouse hovers over button */
  -webkit-appearance: none;
}

p.passerror {
  margin: auto;
  color: red;
  width: 80%;
}

p.passchange {
  margin: auto;
  color: #3333ff;
  width: 80%;
}

div.errorblock {
  border: none;
  /* border-style: dashed;
    border-color: #cf4c47;
    border-width: 0.5em; */
  padding: 3em 2em 4em;
  width: 60%;
  height: 90%;
  margin: auto; /* align to the center of the page - needs width to do this */
  text-align: center;
}

div.successblock {
  border: none;
  /* border-style: solid;
    border-color: #3333ff;
    border-width: 0.5em; */
  padding: 3em 2em 4em;
  width: 60%;
  height: 90%;
  margin: auto; /* align to the center of the page - needs width to do this */
  text-align: center;
}
