body, html {
  height: 100%;
}

body{
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
  font-family: Klavika-Regular, Arial, sans-serif;
  font-size: 1.25rem;
  color: initial;
  line-height: initial;
  letter-spacing: initial;
  min-height: 100%;
}

@font-face {
  font-family: "Klavika-Regular";
  src: url(../font/Klavika-Regular.otf) format('otf');
}
@font-face {
  font-family: "Klavika-Medium";
  src: url('../font/Klavika-Medium.otf') format('otf');
}

/*main {
  min-height: 100%;
  min-width: 100%;
  display: block;
  overflow-x: hidden;
  clip: rect(auto, auto, auto, auto);
  overflow-y: hidden;
  position: relative;
}*/

h2, .h2 {
  font-family: Klavika-Regular, Arial, sans-serif;
  color: #13377e;
  font-size: 2rem;
  line-height: 110%;
}

/*Content*/
.containerbox{
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -20%);
margin: auto;
justify-content: center;  
text-align:center;
align-items: center;

-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.container{
  margin: auto;
  display: flex;
  justify-content: center;  
  text-align:center;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  overflow-x: hidden;
  clip: rect(auto, auto, auto, auto);
  overflow-y: hidden;
  
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.copytext.grey p {
  color: #8f8f8f;
}

.copytext p a {
  color: #0fb9f0;
}

.copytext p a:hover {
  color: #13377e;
}


/* Footer */
.footer{
  padding-top: 2.75rem;
  white-space: nowrap; 
  text-align: center;
}
.copyright {
  font-family: Klavika-Medium, Arial, sans-serif;
  font-size: 1.125rem;
  /*line-height: 130%;*/
  color: #8f8f8f;
  white-space: nowrap;
}

.copyright span, nav ul li a {
  font-family: Klavika-Medium, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 130%;
  text-decoration: none;
}


nav ul li {
  float: left;
  list-style-type: none;
  padding: 0 1.25rem 0.6rem 0;
  white-space: nowrap;
}

nav ul li a {
  font-size: 1.125rem;
  text-align: inherit;
  transition: all 125ms ease-out;
  color: #0fb9f0 !important;
  text-decoration: none;
}

nav ul li a:hover {
  color: #13377e !important;
}

@media only screen and (max-width: 960px) {
  nav ul li {
    float: none;
    text-align: center;
    padding: .5rem .25rem;  white-space: nowrap;
  }
  
  nav ul {
    margin: 0 !important;
    white-space: nowrap;
  }
  
  li {
  float: left;
	text-align: center;
    margin-right: 12%;
    list-style: none;
}
}

@media only screen and (max-width: 480) {
  nav ul li {
    float: none;
    text-align: center;
    display: block;
    padding: 0 .25rem !important;

    overflow: auto; white-space: nowrap;
  }
  
  nav ul {
    margin: 0 !important;
    overflow: hidden;text-overflow: ellipsis !important;
  }
}

@media only screen and (max-width: 960px) {
  footer {
    display: table;
    padding: 2.9375rem 1.875rem 3.125rem;
    text-align: center;
  }
  /*footer*/ .copyright, footer figure, footer nav {
    display: table-cell;
    float: none;
  }
  footer figure {
    display: table-header-group;
  }
  /*footer*/ nav {
    width: 100%;
    padding-top: 2.1875rem;
    padding-bottom: 2.5rem;
  }
  footer .copyright {
    display: table-footer-group;
  }
}

footer .copyright:before {
  content: "";
  font-family: Klavika-Medium, Arial, sans-serif;
  font-size: 1.125rem;
  color: #8f8f8f;
}


/* Show responsive mode before copyright */
@media only screen and (max-width: 1440px) {
   .copyright:before {
    content: "";
    display: block;
    margin-bottom: 0.5rem;
  }
}

@media only screen and (max-width: 960px) {
   .copyright:before {
    content: "";
    display: block;
    margin-bottom: 0.5rem;
  }
}

@media only screen and (max-width: 360px) {
   .copyright:before {
    content: "";
    display: block;
    margin-bottom: 0.5rem;
  }
}
@media only screen and (max-width: 360px) {
footer {
  display: table;
  padding: 2.9375rem 1.875rem 3.125rem;
  text-align: center;
}
footer .copyright, footer figure, footer nav {
  display: table-cell;
  float: none;
}
footer figure {
  display: table-header-group;
}
footer nav {
  width: 100%;
  padding-top: 2.1875rem;
  padding-bottom: 2.5rem;
}
footer .copyright {
  display: table-footer-group;
}
}
