body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1{
  color: #012245;
  font-family: arial, helvetica;
  font-size: 45px;
  letter-spacing: 1px;
  font-weight: lighter;
  padding:0;
  margin: 0;
}

h2{
  color: #012245;
  font-family: arial, helvetica;
  font-size: 24px;
  margin-bottom: .5em;
}

h3{
  color: #012245;
  font-family: arial, helvetica;
  margin-bottom: .5em;
}

p{
  font-family: arial, helvetica;
  color: #012245;
  line-height: 25px;
  letter-spacing: 1px;
  margin-bottom: 2em;
}

td{
  vertical-align: top;
}

input
{
    font-size:15px;
}

.maincontents ul li{
  list-style-type: disc;
}

li p{
  margin-bottom: 1em;
}

.pagetitle{
  position: absolute;
  left: 0;
  top: 60%;
  padding: 0.5% 1% 0.5% 7%;
  /*width: 100%;
  text-align: center;*/
  background-color: #012245;
  box-sizing: border-box;
  opacity: 0.9;
  border-radius: 0 30px 30px 0;
}
.container-whole{
}

.header{
    background-color: #012245;
    overflow: hidden;
    z-index: 3;
}

.header a{
    outline: 0;
}

/*Mobile first*/
.header img{
    width:60%;
    padding-top:3%;
    padding-left:5%;
    padding-bottom:2%;
    margin:0;
    border:none;
}

.header .socialmedia{
    display: none;
}

#menuonoff a
{
    font: 15px arial, helvetica;
    letter-spacing: 1px;
    text-decoration: none;
    color: #012245;
    font-weight: 500;
    letter-spacing: 1px;
    outline: 0;
    display: block;
    transition: color 0.3s ease;
}

#menuonoff a:hover{
    color: #ad8e5b;
}

#menuonoff a.active{
    color: #012245;
    font-weight: bold;
    border-bottom: solid 1px black;
}

#menuonoff
{
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 39px;

    z-index: 2;

    -webkit-user-select: none;
    user-select: none;
}

#menuonoff input
{
    display: block;
    width: 39px;
    height: 33px;
    position: absolute;
    right: 0px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 3; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

#menuonoff span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 2;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
              opacity 0.55s ease;
}

#menuonoff span:first-child
{
  transform-origin: 0% 0%;
}

#menuonoff span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuonoff input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuonoff input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuonoff input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  height: 250px;
  padding: 50px;
  padding-top: 125px;
  right: -200px;
  top: -120px;
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(100%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu a:active{
    border-bottom: solid 1px #012245;
}

#menu li
{
  padding: 20px 0;
  font-size: 15px;
  display: block;

}

/*
 * And let's slide it in from the left
 */
#menuonoff input:checked ~ ul
{
  transform: none;
}

#navbar{
    display: none;
}

#navbar img{
  width: 15px;
  padding: 15px 7px 0;
  float: left;
}

#maincontents{
  width:100%;
  clear: both;
  position: relative;
  overflow: auto;
}

.maincontents ul{
  margin-top: 0;
}
.contentblock{
  background-color: white;
  padding: 2% 10%;
  box-sizing: border-box;
  width: 100%;
}

.contentblock ul{
  display: inline-block;
}

.contentblock1{
  background-color: #012245;
  padding: 2% 10%;
  box-sizing: border-box;
  width: 100%;
}

.contentblock1 ul{
  display: inline-block;
  color: white;
}

.contentblock1 p{
  color: white;
}

.contentblock1 h2{
  color: #FFA100;
}

.contentblock1 h3{
  color: #FFC766;
}

.contentblockFlex{
  background-color: #012245;
  padding: 0px;
  box-sizing: border-box;
  width: 100%;
  margin:0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  opacity: 0.95;
}

.contentblockFlex ul{
  display: inline-block;
  color: white;
}

.contentblockFlex p{
  color: white;
}

.contentblockFlex h2{
  color: #FFA100;
  padding-left: 30px;
}

.contentblockFlex h3{
  color: #FFC766;
}

.contentblockFlex .box{
    position: relative;
    background-color: inherit;
    padding: 30px;
    margin: 0;
    bottom: 0;
    border:none;
    z-index: 1;
    box-sizing: border-box;
}

.contentblockFlex .box1{
  position: relative;
  background-color: inherit;
  padding: 2% 10%;
  margin: 0;
  bottom: 0;
  border:none;
  z-index: 1;
  box-sizing: border-box;
}

.contentblockFlex .box1 p{
  color: #012245;
}
.headline{
    display: flex;
    flex-flow: row wrap;
    z-index: 1;
}

.headlinetext{
  position: absolute;
  text-align: left;
  top: 20%;
  left: 5%;
  width: 90%;
  box-sizing: border-box;
  background: rgba(1, 34, 69, 0.7);
}

.headline .box{
    flex: 1 0 250px;
    text-align: center;
    position: relative;
    margin: 0vw 0.5vw;
    bottom: 0;
    border: none;
    font-size: 0;
    z-index: 1;
    -webkit-filter: grayscale(85%); /* Webkit */
    filter: gray; /* IE6-9 */
    filter: grayscale(85%); /* W3C */
}

.headline .box:hover {
    -webkit-filter: grayscale(0%); /* Webkit */
    filter: gray; /* IE6-9 */
    filter: grayscale(0%); /* W3C */
}

.headlinetext h2{
  font-size:1.1vw;
  font-weight: normal;
  margin: 0;
  padding: 0.5em 1em;
  color: white;

}

.headline p{
    display: inline-block;
    font: 13px arial, helvetica;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-align: left;
    padding: 15px;
    position: absolute;
    top: 8%;
    left: 10%;
}
.headline a{
    display: inline-block;
    outline: none;
    /*background-image: linear-gradient(130deg,#f10b63 40%,#febc11 130%);*/
    padding: 15px 20px;
    border: 2px solid white;
    font: 13px arial, helvetica;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    top: 75%;
    transform: translate(-50%, -75%);
    /*background-color: #012245;*/

    /*font-family: canada-type-gibson,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    text-transform: uppercase;
    color: #f10b63;
    font-weight: 600;
    letter-spacing: 2px;
    height: 60px;
    line-height: 58px;
    border: 1px solid #f10b63;
    background: none;
    padding: 0 35px;
    border-radius: 0;
    position: relative;
    z-index: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;

    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 17px;
    line-height: 1.4;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
}

.headline a:hover{
    color: white;
    background-color: #012245;
    border: 2px solid #012245;
}

.centerlist{
  text-align: center;
}
#contactpage{
    margin:0;
    overflow: hidden;
    background-color: white/*#D3DDEE*/;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#contactpage .box{
    position: relative;
    margin: 0;
    bottom: 0;
    border:none;
    z-index: 1;
}

#contactformcontainer{
    display: inline-block;
    padding-top: 0px;
    font-family: arial, helvetica;
    background-color: inherit;
    color: #012245;
    padding-bottom: 100px;
    float: left;
}

span.error{
  font-size: 0.6vw;
  color:  #b30000;
}

.contactdetails{
    width: 300px;
    margin: 3px;
    box-sizing: border-box;
    font-family: arial, helvetica;
    border: 2px solid #012245;
    padding: 15px;
    background-color: white /*#012245/*#17385b*/;
    opacity: 0.8;
    color: #012245/*#FFA100*/;
}

#contactformcontainer textarea{
    border: 2px solid #012245;
    min-width: 300px;
    max-width: 410px;
    min-height: 150px;
    max-height: 300px;
    margin: 3px;
    box-sizing: border-box;
    font-family: arial, helvetica;
    padding: 15px;
    background-color: white;
    opacity: 0.8;
    color: #012245;
}

#contactformcontainer ::placeholder{
  color: #012245;
}
#submit{
    margin: 3px;
    background-color: white;
    opacity: 0.8;
    border: 2px solid #012245;
    padding: 14px 30px;
    text-align: center;
    color: #012245;
    letter-spacing: 0.5px;
    font-family: arial, helvetica;
    transition: background-color .5s;
    transition-timing-function: ease-out;
}

#submit:hover{
  opacity: 0.8;
  background-color: #012245;
  color: white;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
  -webkit-box-shadow: 0 0 0 30px #012245 inset !important;
  -webkit-text-fill-color: #FFA100 !important;
}

#contactformcontainer input:focus, textarea:focus{
  outline-width: 0;
}

.footer{
    opacity: 0.9;
    margin: 0;
    padding: 1px;
    background-color: #012245;
    font-family: arial, helvetica;
    opacity: 1;
    height: 50px;
    position: relative;
}

.footer ul li{
  list-style-type: none;
}
.footer .row{
    display: none;
}

#mobilefooter{
    padding: 13px;
    font: 13px arial, helvetica;
    color: white;
    text-align: center;
}

@media only screen and (min-width: 498px; max-width: 750px) {
  .headline p{
      display: inline-block;
      font: 14px arial, helvetica;
      letter-spacing: 1px;
      text-decoration: none;
      color: white;
      font-weight: 500;
      text-align: left;
      padding: 15px;
      position: absolute;
      top: 8%;
      left: 10%;
  }
  .headline a{
      display: inline-block;
      outline: none;
      border: 2px solid white;
      /*background-image: linear-gradient(130deg,#f10b63 40%,#febc11 130%);*/
      padding: 15px 20px;
      font: 13px arial, helvetica;
      letter-spacing: 1px;
      text-decoration: none;
      color: white;
      font-weight: 500;
      text-transform: uppercase;
      position: absolute;
      left: 50%;
      top: 75%;
      transform: translate(-50%, -75%);
      opacity: 0.8;
      filter: alpha(opacity=80); /* For IE8 and earlier */
      transition: background-color .5s;
      transition: border .5s;
      transition-timing-function: ease-out;
  }

  .headline a:hover{
      opacity: 1;
      filter: alpha(opacity=100); /* For IE8 and earlier */
      color: white;
      background-color: #012245;
  }
}
@media only screen and (min-width: 750px) {
  .headline p{
      display: inline-block;
      color: white;
      text-align: left;
      padding: 15px;
      position: absolute;
      top: 8%;
      left: 10%;
  }
  .headline a{
      display: inline-block;
      outline: none;
      /*background-image: linear-gradient(130deg,#f10b63 40%,#febc11 130%);*/
      padding: 15px 20px;
      border: 2px solid white;
      font: 13px arial, helvetica;
      letter-spacing: 1px;
      text-decoration: none;
      color: white;
      font-weight: 500;
      text-transform: uppercase;
      position: absolute;
      left: 50%;
      top: 75%;
      transform: translate(-50%, -75%);
      opacity: 0.8;
      filter: alpha(opacity=80); /* For IE8 and earlier */
      transition: background-color .5s;
      transition: border .5s;
      transition-timing-function: ease-out;
  }

  .headline a:hover{
      filter: alpha(opacity=100); /* For IE8 and earlier */
      color: white;
      background-color: rgb(1,34,69,0.8);
  }
}

/*For desktop computers*/
@media only screen and (min-width: 840px) {
    .header img{
        width:500px;
        padding-top:30px;
        padding-left:30px;
        margin:0;
        border:none;
    }

    .header .socialmedia{
        display: block;
        font-family: arial, helvetica;
        font-weight: 300;
        color: white;
        letter-spacing: 2px;
        text-decoration: none;
        font-size: 13px;
        float: right;
        padding-top: 100px;
        padding-right: 30px;
    }

    .header .socialmedia p{
        float: left;
        padding-bottom: 10px;
    }

    #mobilenav {
        display: none;
    }

    #navbar{
        display: block;
        background-color: #012245;
        position: sticky;
        position: -webkit-sticky;
        top: -1px;
        width: 100%;
        z-index: 3;
        transform: translateZ(0);
        opacity: 0.95;
    }

    #navbar ul{
        list-style-type: none;
        margin: 0;
        padding-left: 0px;
        overflow: hidden;
    }

    #navbar ul li{
        float: left;
    }

    #navbar ul li:last-child{
        float:right;
        padding-right: 50px;
        display: inline-block;
    }

    #navbar p{
        float: right;
        font-family: arial, helvetica;
        font-weight: 500;
        color: #FFA100;
        text-decoration: none;
        font-size: 15px;
        letter-spacing: 0.8px;
        margin: 0;
        padding-top: 10px;
    }

    #navbar a{
        display: inline-block;
        padding: 13px 30px;
        text-align: center;
        font-family: arial, helvetica;
        font-weight: 500;
        color: #FFA100;
        text-decoration: none;
        font-size: 15px;
        outline: 0;
        letter-spacing: 1.5px;
        margin: 0;
        transition: background-color .5s;
        transition-timing-function: ease-out;
    }

    #navbar a:hover{
        color: white;
        background-color: #cc8100;
    }

    #navbar a.active{
        color: white;
        background-color: #cc8100;
    }

    .headline a{
        display: inline-block;
        outline: none;
        /*background-image: linear-gradient(130deg,#f10b63 40%,#febc11 130%);*/
        padding: 17px 18px;
        border: 2px solid white;
        font: 13px arial, helvetica;
        letter-spacing: 0.5px;
        text-decoration: none;
        color: white;
        font-weight: 500;
        text-transform: uppercase;
        position: absolute;
        left: 50%;
        top: 85%;
        transform: translate(-50%, -85%);
        transition: background-color .5ss;
        transition-timing-function: ease-out;
      }

    .footer{
        position: relative;
        height: 200px;
        background-color: #012245;
        font-family: arial, helvetica;
        opacity: 0.9;
        filter: alpha(opacity=90); /* For IE8 and earlier */
        margin:0;
    }

    .footer .row{
        display: block;
    }

    .footer .col{
        float: left;
    }

    .footer .col:first-child{
        margin-left: 5%;
    }

    .footer ul{
        display: block;
        list-style: none;
        margin-top: 25px;
    }

    .footer a{
        display: inline-block;
        padding-bottom: 17px;
        font-size: 15px;
        color: #FFA100;
        font-weight: 700;
        text-decoration: none;
    }

    .footer li{
        font-family: arial, helvetica;
        font-weight: 400;
        font-size: 15px;
        color: #FFD387;
        margin-bottom: 6px;
    }

    .footer .socialmedia p{
        display: none;
    }

    #mobilefooter{
        display: block;
        position: absolute;
        bottom: 0px;
        font: 13px arial, helvetica;
        color: white;
        text-align: center;
        width: 100%;
    }
}

.image-slider{
    position: relative;
    left: 0;
    z-index: 1;
    box-sizing: border-box;

  }
.slidertext{
  position: absolute;
  padding: 1% 2% 1% 10%;
  margin-right: 40%;
  left:0;
  top: 20%;
  left:2%;
  opacity: 0.9;
  box-sizing: border-box;
  z-index: 10;
  background: #012245;
  text-align: left;
}

@keyframes fadeinout{
    0% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    20% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    25% {
        opacity:0;
        filter: alpha(opacity=0); /* For IE8 and earlier */
    }
    95% {
        opacity:0;
        filter: alpha(opacity=0); /* For IE8 and earlier */
    }
    100% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
}

@-moz-keyframes fadeinout{
    0% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    20% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    25% {
        opacity:0;
        filter: alpha(opacity=0); /* For IE8 and earlier */
    }
    95% {
        opacity:0;
        filter: alpha(opacity=0); /* For IE8 and earlier */
    }
    100% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
}

@-webkit-keyframes fadeinout{
    0% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    20% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    25% {
        opacity:0;
        filter: alpha(opacity=0); /* For IE8 and earlier */
    }
    95% {
        opacity:0;
        filter: alpha(opacity=0); /* For IE8 and earlier */
    }
    100% {
        opacity:1;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
}

.image-slider img:nth-of-type(1){
    animation-delay: 33s;
    -moz-animation-delay: 33s;
    -webkit-animation-delay: 33s;
}

.image-slider img:nth-of-type(2){
    animation-delay: 22s;
    -moz-animation-delay: 22s;
    -webkit-animation-delay: 22s;
}

.image-slider img:nth-of-type(3){
    animation-delay: 11s;
    -moz-animation-delay: 11s;
    -webkit-animation-delay: 11s;
}

.image-slider img:nth-of-type(4){
    animation-delay: 0s;
    -moz-animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

.image-slider img{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    animation-name: fadeinout;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 44s;
    -moz-animation-name: fadeinout;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 44s;
    -webkit-animation-name: fadeinout;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 44s;
    z-index: 1;
}
