body,
html {
  background-image: url(../img/bg.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-color: rgb(255,255,255);
  font-family: "Open Sans", "Calibri", "Helvetica", sans-serif;
  color: rgb(60, 60, 60);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* Basic Formats */

h1, h2, h3, h4, h5, h6 {
 font-family: 'Oswald', Arial, sans-serif;
 font-weight: normal;
 color:rgb(6,99,180);
 letter-spacing: 0.06em;
}

h1 {
  font-size: 24px;
}

hr {
  border: 0;
  width: 100%;
  height: 1px;
  background-color: rgb(208, 208, 208);
}


a {
  color: rgb(51,42,36);
  text-decoration: none;
}

a:hover {
  color:rgb(155,189,227);
}

a.button,
button,
input[type=button],
input[type=submit] {
  font-size: 14px;
  background-color: rgb(230,230,230);
}

a.button:hover,
button:hover,
input[type=button]:hover,
input[type=submit]:hover {
  color: rgb(6,99,180);
  background-color: rgb(222,234,246);
}


/* Wrapper */

.page-container {
  background-color: rgba(255,255,255,0.95);
  -webkit-box-shadow: 0px 2px 5px rgb(192, 192, 192);
  -moz-box-shadow: 0px 2px 5px rgb(192, 192, 192);
  box-shadow: 0px 2px 5px rgb(192, 192, 192);
}

.slider {
  overflow: hidden;
}


/* Header */

.header-container {
  background-color: rgba(254,254,254,0.9);
}

.info-header {
  overflow: hidden;
  font-size: 0.9em;
  background-color: rgba(254,254,254,0.1);
}

.info-header::after {
  content: '';
  clear: both;
  display: table;
}

.info-header p {
  font-size: 0.9em;
  margin: 0;
  float: right;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: block;
  margin: 0 auto;
}

.headertext {
  padding: 10px;
  color: rgb(143,143,143);
}

.headertext > p {
  margin: 0;
  padding: 0;
}

.headertext big {
  font-size: 40px;
}


/* Noscript alert */

#noscript {
  position: relative;
  top: 0;
  width: 100%;
  height: 40px;
  z-index: 10;
  background-color: rgba(198, 198, 198, 0.4);
  border-bottom: 1px solid rgb(150, 150, 150);
}

.nsalert {
  font-size: 16px;
  text-align: center;
  margin: 0;
  padding-top: 5px;
}


/* footer */

.footer-container {
  background-color: rgb(160,194,231);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.footer-container.footernav-container {
  background-color: rgb(6,99,180);
}

footer .footer-content > [class*="col-"] {
  padding: 10px 20px;
}

footer .footer-content > [class*="col-"]:nth-of-type(2) {
  border-left: 1px solid rgb(255, 255, 255);
  border-right: 1px solid rgb(255, 255, 255);
}


/* nav */

.nav-container {
  width: 100%;
  background-color: rgb(210, 210, 210);
  border-bottom: 1px solid rgb(208, 208, 208);
}

.nav-container::after {
  content: "";
  clear: both;
  display: table;
}

.nav-container nav {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  -webkit-transition: max-height 1.2s ease-out;
  -moz-transition: max-height 1.2s ease-out;
  -o-transition: max-height 1.2s ease-out;
  transition: max-height 1.2s ease-out;
}

.nav-container nav a {
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: block;
  padding: 10px 13px;
  color: rgb(85, 85, 85);
}

.nav-container nav li:hover {
  background-color: rgb(240, 240, 240);
}

.menu-current {
  background-color: rgb(220, 220, 220)
}


/* first level */

.nav-container nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-container nav li {
  float: left;
  position: relative;
  min-width: 100px;
  -webkit-transition: background-color 0.5s ease-in-out;
  -moz-transition: background-color 0.5s ease-in-out;
  -o-transition: background-color 0.5s ease-in-out;
  transition: background-color 0.5s ease-in-out;
}


/* second level */

.nav-container nav > ul > li > ul {
  position: absolute;
  z-index: -1;
  min-width: 100%;
  opacity: 0;
  background-color: rgb(255, 255, 255);
  -webkit-box-shadow: 0px 0px 5px rgb(192, 192, 192);
  -moz-box-shadow: 0px 0px 5px rgb(192, 192, 192);
  box-shadow: 0px 0px 5px rgb(192, 192, 192);
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-bottom-left-radius: 10px;
  border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-bottom-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.nav-container nav ul > li > ul > li {
  float: none;
}

.nav-container nav ul > li > ul > li:last-of-type {
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-bottom-right-radius: 10px;
  border-bottom-right-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-bottom-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.nav-container nav > ul > li > ul > li a {
  font-size: 0.85em;
  padding: 10px 13px;
}


/* third level */

.nav-container nav > ul > li > ul > li > ul {
  position: absolute;
  left: 100%;
  top: 0;
  z-index: -1;
  opacity: 0;
  background-color: rgb(255, 255, 255);
  -webkit-box-shadow: 0px 0px 5px rgb(192, 192, 192);
  -moz-box-shadow: 0px 0px 5px rgb(192, 192, 192);
  box-shadow: 0px 0px 5px rgb(192, 192, 192);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.nav-container nav ul > li > ul > li > ul > li {
  float: none;
}

.nav-container nav ul > li > ul > li > ul > li:only-child {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.nav-container nav ul > li > ul > li > ul > li:first-of-type {
  -webkit-border-top-left-radius: 10px;
  -moz-border-top-left-radius: 10px;
  border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-top-right-radius: 10px;
  border-top-right-radius: 10px;
}

.nav-container nav ul > li > ul > li > ul > li:last-of-type {
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-bottom-left-radius: 10px;
  border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-bottom-right-radius: 10px;
  border-bottom-right-radius: 10px;
}


/* Dropdown */

.nav-container nav ul > li:hover > ul, .nav-container nav ul > li > ul > li:hover > ul {
  z-index: 10;
  opacity:1;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
	transition: opacity 0.5s;
}


/*Footernav*/

.footernav {
  text-align: center;
}

.footernav nav > ul {
  list-style-type: none;
  margin: 0;
  padding: 5px 0;
  display: inline-block;
}

.footernav nav a {
  font-size: 0.85em;
  color: rgb(255, 255, 255);
}

.footernav nav > ul > li {
  float: left;
  padding: 0 10px;
}

.footernav .f-menu-current > a {
  color: rgb(220, 220, 220);
}


/*mobilenav*/

.toggle-container {
  width: 100%;
  display: none;
}

.toggle-container::after {
  content: "";
  clear: both;
  display: table;
}

.menu-toggle {
  margin: 10px 10px 10px 0px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  float: right;
}


.menu-toggle > a {
  display: block;
  padding: 7px;
}

.menu-toggle > a > span {
  display: block;
  height: 5px;
  width: 35px;
  background-color: rgb(120, 120, 120);
}

.menu-toggle > a > span + span {
  margin-top: 6px;
}

.nav-container nav.open {
  max-height: 600px;
}


/* Content */

.main-content {
  padding: 0px 20px;
}

.side-content {
  padding: 0px 20px;
}

.content-container {
  padding: 10px 10px 20px 10px;
}

.sec-content-container {
  padding: 10px 10px 20px 10px;
}


/* Flexcolumns */

.flexcontent {
  padding: 20px;
  font-size: 14px;
}




/* Breakpoints */

@media screen and (max-width: 980px) {

  .info-header {
    font-size: 0.8em;
  }

  .info-header > .header-content > p {
    text-align: center;
    float: none;
  }

  .headertext {
    float: none;
    text-align: center;
    font-size: 0.8em;
  }

  .logo {
    float: none;
  }

  body,
  html {
    background-image: none;
  }

  .toggle-container {
    display:block;
  }

  .nav-container {
    overflow: hidden;
    border-left: 5px solid rgb(52, 152, 219);
  }

  .nav-container nav {
    max-height: 0px;
    background-color: rgb(240, 240, 240);
  }

  .nav-container nav ul a {
    text-align: left;
  }

  .nav-container nav ul,
  .nav-container nav ul > li > ul,
  .nav-container nav ul > li > ul > li > ul {
    position: static;
    display: block;
    opacity: 1;
    width: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: opacity 0s;
    -moz-transition: opacity 0s;
    -o-transition: opacity 0s;
    transition: opacity 0s;
  }

  .nav-container nav ul li,
  .nav-container li ul li {
    float:none;
    position: static;
    max-width: 100%;
    border-bottom: 1px solid rgb(208, 208, 208);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

  .nav-container nav ul > li > ul > li:last-of-type,
  .nav-container nav ul > li > ul > li > ul > li:first-of-type,
  .nav-container nav ul > li > ul > li > ul > li:last-of-type,
  .nav-container nav ul > li > ul > li > ul > li:only-child {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }

  .nav-container nav > ul > li > ul > li,
  .nav-container nav > ul > li > ul > li > ul > li {
    padding-left: 15px;
  }

  .nav-container nav .menu-current:hover {
    background-color: rgba(52, 152, 219, 0.2);
  }

  .nav-container li > a > .icon-down-open {
    display: none;
  }

  .nav-container .menu-current {
    background-color: rgba(52, 152, 219, 0.2);
    border: 0;
  }

  .nav-container .menu-parent,
  .nav-container .menu-expand.menu-current {
    border-bottom: 0;
  }

  .nav-container .menu-parent > ul {
    display: block;
    opacity: 1;
    -webkit-transition: opacity 0s;
    -moz-transition: opacity 0s;
    -o-transition: opacity 0s;
    transition: opacity 0s;
  }

	.main-content {
    padding: 0px;
  }

	.side-content {
    padding: 0px;
  }

  footer .footer-content > [class*="col-"] {
    padding: 10px;
  }

}

@media screen and (max-width: 768px) {
  footer .footer-content > [class*="col-"]:nth-of-type(2) {
    border-top: 1px solid rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
    border-left: 0;
    border-right: 0;
  }
}
