/* -------------------------------- 

Primary style

-------------------------------- */
@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,300bold,400bold,400,300);

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*

bodyx {
  font-size: 100%;
  font-family: "Open Sans", sans-serif;
  //color: #030d18;
  color: #4d4d4d;
  background-color: #f0eee1;
}

ax {
  color: #f5484a;
  text-decoration: none;
}

*/

html {
  font-size:100%;
  height:100%;
}



body {
  background:#fff;
  font-family:"Open Sans","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
  font-weight:normal;
  font-style:normal;
  font-size:14px;
  line-height:1;
  //color:#333;
  position:relative;
  -webkit-font-smoothing:antialiased;
  height: 100%;
}

a {
  color: #0000FF;
  text-decoration:none;
  line-height:inherit
}

a:hover {
  color: #FF0000;
}

a:focus {
  color: #FF0000;
  outline:none
}

a:visited {
  //color: #0000FF;
}

/*
p a,p a:visited {
  color: #0000FF;
  line-height:inherit
}
*/

img {
  max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */


.has-top-margin {
  /* this class is given - using jQuery - to the .cd-main-content following the .cd-secondary-nav when it becomes fixed */
}

/* 1170 changed to 320 */

@media only screen and (min-width: 310px) {
  .has-top-margin {
    -webkit-animation: animate-margin-top 0.3s;
    -moz-animation: animate-margin-top 0.3s;
    animation: animate-margin-top 0.3s;
    margin-top: 70px;
  }
}

@-webkit-keyframes animate-margin-top {
  0% {
    margin-top: 100px;
  }

  100% {
    margin-top: 70px;
  }
}
@-moz-keyframes animate-margin-top {
  0% {
    margin-top: 100px;
  }

  100% {
    margin-top: 70px;
  }
}
@keyframes animate-margin-top {
  0% {
    margin-top: 100px;
  }

  100% {
    margin-top: 70px;
  }
}
/* -------------------------------- 

Navigation

-------------------------------- */
.cd-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  background-color: #030d18;
  z-index: 3;
}

/* 768 changed to 310 */

@media only screen and (min-width: 320px) {
  .cd-header {
    height: 70px;
    background-color: transparent;
    box-shadow: none;
  }
}

#cd-logo {
  float: left;
  //margin: 13px 0 0 5%;
}

#cd-logo img {
  display: block;
}


/* 768 changed to 320 */

@media only screen and (min-width: 310px) {
  #cd-logo {
    margin: 23px 0 0 5%;
    //border: 2px solid #c00;
  }
}

/* 1170 changed to 320 */

@media only screen and (min-width: 320px) {
  #cd-logo.is-hidden {
    /* assign a position fixed and move outside the viewport (on the left) */
    opacity: 0;
    position: fixed;
    left: -20%;
    margin-left: 0;
    -webkit-transition: left 0.3s, opacity 0.3s;
    -moz-transition: left 0.3s, opacity 0.3s;
    transition: left 0.3s, opacity 0.3s;
  }
  #cd-logo.is-hidden.slide-in {
    /* slide in when the secondary navigation gets fixed */
    //top: 5%;
    margin-top: 12px;
    left: 5%;
    opacity: 1;
  }
}

#cd-mainlogo {
    position:absolute;
    left: 50%;	
    margin-top: 25px;
    margin-left: -297px;
 //   border: 2px solid #c00;
}

#cd-mainlogo img {
  display: block;
}

#cd-topright {
  float: right;
  border: 2px solid #000;
  //margin: 13px 0 0 5%;
}

#cd-topright img {
  display: block;
}


.cd-primary-nav {
  /* mobile first - navigation hidden by default, triggered by tap/click on navigation icon */
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  background: url("../img/cd-icon-menu.svg") no-repeat center center;
  background-size: 44px 44px;
}
.cd-primary-nav ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.cd-primary-nav ul.is-visible {
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -o-transform: translateY(50px);
  transform: translateY(50px);
}
.cd-primary-nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #000101;
  border-top: 1px solid #051426;
  color: #f0eee1;
  
}

/* 768 changed to 320 */

@media only screen and (min-width: 320px) {
  .cd-primary-nav {
    /* reset navigation values */
    width: auto;
    height: auto;
    background: none;
  }
  .cd-primary-nav ul {
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    line-height: 70px;
  }
  .cd-primary-nav ul.is-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .cd-primary-nav li {
    display: inline-block;
    margin-left: 1em;
  }
  .cd-primary-nav a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
    //color: #030d18;
    background-color: blue;
    color: white;
  }

}

.cd-primary-btn {
  display: inline-block;
  //display: inherit;
  //right: -5%;
  padding: 1em 1.8em;
  background-color: rgba(245, 72, 74, 0.9);
  margin-top: 1em;
  border-radius: 20em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
}



/* -------------------------------- 

Intro

-------------------------------- */
#cd-intro {
  position: relative;
  height: 10%;
  //height: 300;
  background: url(../img/brokentime.jpg) no-repeat center center;
  background-size: cover;
  z-index: 2;
}

#cd-intro #cd-intro-tagline {
  width: 90%;
  max-width: 1170px
  margin: 0 auto;
  text-align: center;
  //padding-top: 120px;
  padding-top: 10%;
}
#cd-intro h1 {
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: 300;
  color: #030d18;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 768 changed to 320 */

@media only screen and (min-width: 320px) {
  #cd-intro {
    //height: 400px;
  height: 10%;
  }
  #cd-intro #cd-intro-tagline {
    //padding-top: 160px;
padding-top: 10%;
  }
  #cd-intro h1 {
    font-size: 32px;
    font-size: 2rem;
  }
}

/* 1170 changed to 320 */

@media only screen and (min-width: 320px) {
  #cd-intro {
  //height: 200px;
  height: 10%;
  }
  #cd-intro #cd-intro-tagline {
    //padding-top: 190px;
    padding-top: 10%;
  }
}

.top-btn {
  display: inline-block;
  padding: 1em 1.8em;
  background-color: rgba(245, 172, 74, 1);
  margin-top: 1em;
  border-radius: 20em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
}

.no-touch .top-btn:hover {
  background-color: #f5464a;
}

.cd-btn {
  display: inline-block;
  //display: inherit;
  //right: -5%;
  padding: 1em 1.8em;
  background-color: rgba(245, 72, 74, 0.9);
  margin-top: 1em;
  border-radius: 20em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
}

.no-touch .cd-btn:hover {
  background-color: #f5484a;
}

/* 1170 changed to 320 */

@media only screen and (min-width: 320px) {
  .cd-btn.is-hidden {
    /* assign a position fixed and move outside the viewport (on the right) */
    opacity: 0;
    position: fixed;
    right: -20%;
    top: 0;
    padding: .8em 1.2em;
    margin: 14px 0 0;
    -webkit-transition: right 0.3s, opacity 0.3s;
    -moz-transition: right 0.3s, opacity 0.3s;
    transition: right 0.3s, opacity 0.3s;
  }
  .cd-btn.is-hidden.slide-in {
    /* slide in when the secondary nav gets fixed */
    right: 5%;
    opacity: 1;
  }
}

/* -------------------------------- 

Secondary Fixed Navigation

-------------------------------- */
.cd-secondary-nav {
  z-index: 1;
  height: 100px;
  background-color:rgba(3, 13, 24, 0.8);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  //position: relative;
  //z-index: 3;
  //-webkit-font-smoothing: antialiased;
  //-moz-osx-font-smoothing: grayscale;
}

/* This bit from trying to get the icons to hide */

.cd-secondary-nav li {
 visibility:hidden;
  }

@media only screen and (min-width: 320px) {
  .cd-secondary-nav li {
 visibility:visible;
  }
}



.cd-secondary-nav ul {
  /* mobile first - secondary navigation hidden by default, triggered by tap/click on .cd-secondary-nav-trigger*/
  position: fixed;
  width: 90%;
  max-width: 400px;
  right: 5%;
  bottom: 20px;
  border-radius: 0.25em;
  background: rgba(3, 13, 24, 0.96);
  visibility: hidden;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transform-origin: 100% 100%;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  -o-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  /* Transiton does the animated popup menu effect */
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
  transition: transform 0.3s, visibility 0s 0.3s;
}

.cd-secondary-nav ul.is-visible {
  visibility: visible;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0s;
  transition: transform 0.3s, visibility 0s 0s;
}

/* 1170 changed to 320 */

@media only screen and (min-width: 320px) {
  .cd-secondary-nav {
    z-index: 1;
    height: 100px;
    //background-color: rgba(3, 0, 155, 0.8);
    //background-color:rgba(3, 13, 24, 0.96);
    background-color:rgba(3, 13, 24, 0.8);
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
  }
  .cd-secondary-nav nav, .cd-secondary-nav ul, .cd-secondary-nav li, .cd-secondary-nav a {
    height: 100%;
  }
  .cd-secondary-nav ul {
    /* reset navigation values */
    position: static;
    width: auto;
    max-width: 100%;
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    text-align: center;
    background-color: transparent;
  }
  .cd-secondary-nav li {
    display: inline-block;
    margin-left: -4px;
  }


  .cd-secondary-nav li a {
    position: relative;
    text-align: center;
    display: block;
    padding: 58px 20px 0 20px;
    border-bottom: none;
    -webkit-transition: padding 0.2s;
    -moz-transition: padding 0.2s;
    transition: padding 0.2s;
  }

/* Adjust horizontal menu gap for larger screens */

 @media only screen and (min-width: 1170px) {
 	.cd-secondary-nav li a {
 	  padding: 58px 40px 0 40px;
 	}
 }

 /* defaults for secondary nav - mobile first */

.cd-secondary-nav li a b {
    text-transform: uppercase;
    font-size: 18px;
    font-size: 1rem;
    font-weight: 700;
    //color: rgba(240, 238, 225, 0.3);
    color: rgba(255,255,255,0.8);
  }

/* for screens above 670 make the font smaller */

 @media only screen and (min-width: 700px) {
  .cd-secondary-nav li a b {
    text-transform: uppercase;
    font-size: 16px;
    //font-size: 0.8125rem;
    font-size: 1rem;
    font-weight: 700;
    //color: rgba(240, 238, 225, 0.3);
    color: rgba(255,255,255,0.8);
  }
}


  .cd-secondary-nav li a span {
    position: absolute;
    display: inline-block;
    width: 40px;
    height: 40px;
    top: 18px;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-image: url(../img/cd-nav-icons.svg);
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }

  .cd-secondary-nav li a:hover b, .cd-secondary-nav li a.active b {
    color: #f0eee1;
    //color: #ffffff;
  }

/* mobile first, make the Home button invisible */

.cd-secondary-nav li:nth-child(1) {
     visibility: hidden;
  }

  .cd-secondary-nav li:nth-child(1) a span {
    background-position: 0 0;
    visibility: hidden;
  }

/* on larger screens make the home button visible */

@media only screen and (min-width: 700px) {

  .cd-secondary-nav li:nth-child(1) {
     visibility: visible;
  }

  .cd-secondary-nav li:nth-child(1) a span {
    background-position: 0 0;
    visibility: visible;
  }

 }


  .cd-secondary-nav li:nth-child(2) a span {
    background-position: -40px 0;
  }
  .cd-secondary-nav li:nth-child(3) a span {
    background-position: -80px 0;
  }
  .cd-secondary-nav li:nth-child(4) a span {
    background-position: -120px 0;
  }
  .cd-secondary-nav li:nth-child(5) a span {
    background-position: -160px 0;
  }

/* mobile first, make the About Us button invisible */

.cd-secondary-nav li:nth-child(6) {
     visibility: hidden;
  }

.cd-secondary-nav li:nth-child(6) a span {
    background-position: -200px 0;
    visibility: hidden;
  }

/* now make it visible on larger screens */
@media only screen and (min-width: 700px) {

.cd-secondary-nav li:nth-child(6) {
     visibility: visible;
  }

.cd-secondary-nav li:nth-child(6) a span {
    background-position: -200px 0;
    visibility: visible;
  }
 }


  .cd-secondary-nav.is-fixed {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    position: fixed;
    left: 0;
    top: 0;
    height: 70px;
    width: 100%;
  }
  .cd-secondary-nav.animate-children {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }


  .cd-secondary-nav.animate-children li a {
    padding: 26px 15px 0 15px;
  }

/* Adjust horizontal menu gap wider on larger screens */

@media only screen and (min-width: 1170px) {

 .cd-secondary-nav.animate-children li a {
    padding: 26px 30px 0 30px;
  }
}


  .cd-secondary-nav.animate-children li a span {
    opacity: 0;
  }
}

.cd-secondary-nav-trigger {
  position: fixed;
  bottom: 20px;
  right: 5%;
  width: 44px;
  height: 44px;
  background: rgba(3, 13, 24, 0.96);
  border-radius: 0.25em;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 2;
}
.cd-secondary-nav-trigger span {
  /* the span element is used to create the menu icon */
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f0eee1;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.3s;
}

.cd-secondary-nav-trigger span::before, .cd-secondary-nav-trigger span::after {
  content: '';
  position: absolute;
  background: inherit;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.cd-secondary-nav-trigger span::before {
  right: -10px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.cd-secondary-nav-trigger span::after {
  left: -10px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}

.cd-secondary-nav-trigger.menu-is-open {
  background: transparent;
}
.cd-secondary-nav-trigger.menu-is-open span {
  background: rgba(240, 238, 225, 0);
  width: 20px;
  height: 2px;
}

.cd-secondary-nav-trigger.menu-is-open span::before, .cd-secondary-nav-trigger.menu-is-open span::after {
  background: #f0eee1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  top: 0;
  left: 0;
}

.cd-secondary-nav-trigger.menu-is-open span::before {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.cd-secondary-nav-trigger.menu-is-open span::after {
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}

/* Make ... button appear on smaller screens */

/* 1170 changed to 320 */
@media only screen and (min-width: 310px) {
  .cd-secondary-nav-trigger {
    display: none;
  }
}

/* -------------------------------- 

Placeholder Sections

-------------------------------- */
.cd-section {
  margin: 0 auto;
  padding: 2em 0;
}

.cd-section h2 {
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: .6em;
  font-weight: 700;
}

.cd-section p {
  line-height: 1.6;
}

/* 1170 changed to 320 */

@media only screen and (min-width: 310px) {
  .cd-section {
    margin: 0 auto;
    padding: 4em 0;
  }
  .cd-section h2 {
    font-size: 30px;
    font-size: 1.875rem;
  }
  .cd-section p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}


/* This Wrapper needed otherwise footer does not stick to bottom */

#wrapper {
  min-height:100%;
  position:relative;
  //border: 5px solid #d00;
}

#header {
  height:200px;
}

#content {
  padding-bottom:200px;
  border: 5px solid #d00;
}

.cd-main-content {
  padding-bottom:200px; /* Match the Height of the footer element */
  //background: url("../img/wood.png");
}

#footer {
  //border: 5px solid #d00;
  width:100%;
  //background-color:rgb(3, 0, 155);
  background-color:rgba(3, 13, 24, 0.8);
  //background-color: #C0C0C0;
  height:200px;  
  position:absolute;
  bottom:0;
  left:0; 
  /* this z-index is here to ensure the copyright appears in front. Removed as links in footer were not working */
  //z-index: -1;
}

.copyright {
 //border: 2px solid #c11;
 text-align: center;
 //font: normal 14px Verdana, Geneva, sans-serif; 
 /* color:white  this is set in the HTML as color was not working here! */
 /* this position is here to ensure the copyright appears in front */
 //position:relative;
 position:absolute;
 bottom:0;
 left:0; 
 width:100%;
 Color:white;
}

.centering { 
  //border: 2px solid #c00;
  margin: auto; 
  width: 1000px; 
 
}

.col { 
  //background: #0a5173;
  //background-color:rgb(3, 0, 155);
  //background-color:rgb(3, 13, 24, 0.8);
  float: left;
  padding: 30px 0 0 35px;
  width: 310px;
}
 
.col:first-child {
  padding: 30px 0 0 0;
}
 
.col h2 { 
  //background: url("../img/extra-title-bg.jpg"); 
  color: #FFF;
  float: left; 
  font: bold 18px Arial, Helvetica, sans-serif; 
  font-variant: small-caps; 
  margin: 0 0 20px 0; 
  padding: 9px 0 0 19px; 
  height: 33px; 
  width: 291px;
}
 
.col ul { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}
 
.col li { 
  //background: url(extra-links-bg.jpg); 
  //border-bottom: 1px dotted #25c3ba; 
  //border-top: 1px dotted #25c3ba; 
  float: left; 
  //height: 35px; 
  //margin: 3px 0;
  padding: 0; 
  width: 310px; 
}
 
.col li a { 
  color: #C0D6E4;
  //display: block;
  float: left; 
  font: normal 12px Verdana, Geneva, sans-serif; 
  padding: 10px 0 0 19px; 
  text-decoration: none;
}
 
.col li:hover { 
  //background: #5fa4c5;
  color: #FF0000;
}

.main-horizontalline {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  color: #4d4d4d;
}

/*
.main-boxdiv {

  border:solid thick #4d4d4d; 
  //border-radius: 1em; 
  border-width: 1px; 
  padding-left: 9px; 
  padding-top: 6px; 
  padding-bottom: 6px; 
  margin-top: 10px;
  margin-bottom: 10px;
  //margin:1px; 
  //width:980px;

}

*/


.main-boxdiv-top {

  //border:solid thick #4d4d4d; 
  border-width: 2px; 
  padding-left: 9px; 
  padding-top: 6px; 
  padding-bottom: 6px; 
  margin-top: 0px;
  margin-bottom: 0px;
  background-color: #C0C0C0;
  //background-color:rgba(3, 13, 24, 0.8);
  border-radius: 1em;

}

.main-boxdiv-top p {
  font-weight: bold;
}

.main-boxdiv-middle {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  //border:solid thick #4d4d4d; 
  border-width: 1px; 
  padding-left: 9px; 
  padding-top: 6px; 
  padding-bottom: 6px; 
  margin-top: 0px;
  margin-bottom: 0px;
  //width: 100%;
  //text-align: left;
}

.main-boxdiv-middle img {
  max-width: 900px;
}

.main-leftimg {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex; 
    -webkit-box-orient: vertical; 
    -webkit-box-direction: normal; 
    -webkit-flex-direction: column; 
        -ms-flex-direction: column; 
            flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;;
}

.main-rightalign {
    position: relative;
    width: 100%;
    //border: 3px solid #73AD21;
    text-align: right;
}

.main-leftalign {
    position: relative;
    width: 100%;
    //border: 3px solid #73AD21;
    text-align: left;
}

/*

.main-text{
   -webkit-box-flex: 1;
    -webkit-flex: 1;
        -ms-flex: 1;
            flex: 1;
    //float: left; 
    //width: 90%;
    //margin-left: 10%;
    //border: 3px solid #73AD21; 
}

*/

.main-leftimg img {
   padding: 10px;
   //border: 3px solid #73AD21;
   //top:50%; /* Move the image down, so its top is half way down the container */
   //top: 50%; /* Move the image back up half its height CHANGE when u know how large image is */
   //margin-top: -10px;
    
}

.main-boxdiv-bottom {

  //border:solid thick #4d4d4d; 
  border-width: 2px; 
  padding-left: 9px; 
  padding-top: 6px; 
  padding-bottom: 6px; 
  margin-top: 0px;
  margin-bottom: 0px;
  background-color: #C0C0C0;
  //background-color:rgba(3, 13, 24, 0.8);
  border-radius: 1em;
  
}

.main-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  //max-width: 768px;
  max-width: 960px;
  margin: 0 auto;
}

.main-container p {
  line-height: 1.6;
  color:rgba(3, 13, 24, 0.8);
}

.main-container b {
  font-weight: bold;
}


.main-container:after {
  content: "";
  display: table;
  clear: both;
}

/* 1170 changed to 320 */

@media only screen and (min-width: 310px) {
  .main-container {
    margin: 0 auto;
    padding: 4em 0;
  }
 
   .main-container p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}

.logon-btn {
  //display: inline-block;
  //display: inherit;
  //right: -5%;
  padding: 1em 1.8em;
  //background-color: rgba(245, 72, 74, 0.9);
  background-color: rgba(0, 0, 155, 255);
  margin-top: 1em;
  border-radius: 20em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
  //border:solid thick #2c2c2c; 
}

.logon-btn.is-hidden {
    /* assign a position fixed and move outside the viewport (on the right) */
    opacity: 0;
    position: fixed;
    right: -20%;
    top: 0;
    padding: .8em 1.2em;
    margin: 14px 0 0;
    -webkit-transition: right 0.3s, opacity 0.3s;
    -moz-transition: right 0.3s, opacity 0.3s;
    transition: right 0.3s, opacity 0.3s;
  }

 .logon-btn.is-hidden.slide-in {
    /* slide in when the secondary nav gets fixed */
    right: 5%;
    opacity: 1;

  }


#logon {
  float: right;
  //right: 20px;
  //border: 2px solid #000;
  margin: 45px 40px 30px 5%;
  //background-color: rgba(245, 72, 74, 0.9);
}

#logon img {
  display: block;
}

.loginform {
	float: left;
	//width: 450px;
  width: 100%;
	margin: 50px auto;
	padding: 25px;
	background-color: rgba(250,250,250,0.5);
	border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2), 
    			inset 0px 1px 0px 0px rgba(250, 250, 250, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.3);
}


.loginform label {
	  padding-left:26px;
    width:125px;
    text-transform: uppercase;
    display:inline-block
}

.loginform a {
  //font-size: 10px;
  //font-size: 0.7rem;
  margin-top: 15px;

}

.loginform ul {
	padding: 0;
	margin: 0;
}
.loginform li {
	display: inline;
	//float: left;
}

.loginform input:not([type=submit]) {
	width: 250px;
	padding: 5px;
	margin-right: 10px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 3px;
	box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 
				0px 1px 0px 0px rgba(250, 250, 250, 0.5) ;
}

.loginform select {
  width: 420px;
  padding: 5px;
  margin-right: 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 
        0px 1px 0px 0px rgba(250, 250, 250, 0.5) ;
}

.loginform textarea {
  width: 450px;
  padding: 5px;
  margin-right: 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 
        0px 1px 0px 0px rgba(250, 250, 250, 0.5) ;
}

.loginform input[type=submit] {
  width: 250px;
  padding: 5px;
  margin-right: 10px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	background: rgba(0, 0, 155, 255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(245, 72, 74, 0.9) 0%, #00a2e2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0, 0, 155, 255)), color-stop(100%,#00a2e2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(0, 0, 155, 255) 0%,#00a2e2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(0, 0, 155, 255) 0%,#00a2e2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(0, 0, 155, 255) 0%,#00a2e2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(0, 0, 155, 255) 0%,#00a2e2 100%); /* W3C */
	color: #fff;
	//padding: 2px 15px;
	//margin-right: 0;
	//margin-top: 15px;
	//margin-bottom: 2px;
	border-radius: 3px;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}


.loginform input[type="submit"]:hover{
    color: red;
}

.table {
  background-color: rgba(250,250,250,0.5);
  border-radius: 5px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2), 
          inset 0px 1px 0px 0px rgba(250, 250, 250, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.orderform {
  //vertical-align:middle;
  //float: left;
  //border: 1px solid rgba(0, 0, 0, 0.3);
  //padding: 2px 15px;
  //margin-top: 25px;
  margin-left: 50px;
  //max-width: 90%
}

.left {
    float: left;
    width: 30%;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    
}

.right {
    margin-left: 0px;
    width: 70%;
    clear: both;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(0, 0, 0, 0.3);
    position: relative;
    display:inline-block;
}

