/*  mörkblå #154f80    mörkorange #f79225   ljusorange #efa453
    titles Montserrat
    body Lato
*/

html 
{
    height: 100%;
    max-width: 100%;
}

body 
{
    background: #fff;
    padding: 0px;
    margin: 0px;
    width: 100%;
    overflow-x: hidden;
}

@font-face {
  font-family: Montserrat;
  src: url(Montserrat.ttf);
}

@font-face {
  font-family: Lato;
  src: url(Lato.ttf);
}

h1 
 {
     font: 40px "Montserrat", Gadget, sans-serif;
     font-weight: normal;
     color: #f79225;
     margin: 0 auto;
     text-align: center; 
     text-transform: uppercase;
     padding-bottom: 20px;
 }

h2{
    margin: 10px;
    text-align: center;
    font: 25px "Montserrat", Gadget, sans-serif;
    color: #154f80;
    text-transform: uppercase;
    font-weight: none; 
}

h3{
    text-align: center;
    font: 16px "Lato", Helvetica, sans-serif;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
}

/* HEADER STUFF */

#header 
{
    background-color: rgba(255,255,255,1); /* This was 0.7 before, viking */
    height: 100px;
    width:100%;
    margin: 0;
    padding: 0;
    position: fixed;
    opacity: 1;
    z-index: 1;
}

#header img
{
    height: 60px;
    padding-left: 10px;
}

    /* NAVIGATION STUFF */
    .desktopnav
    {
     display:inline;
    }

    .mobilenav
    {
        margin: 0px;
        padding: 0px;
    }

    .desktop 
    {
        margin-top: 20px;
        margin-left: 20px;
        width: auto;
        height: 7vh;
    }

    .mobile 
    {
        margin-top: 20px;
        margin-left: 20px;
        width: auto;
        height: 90px;
        text-align: center;
    }

ul 
     {
        float: right;
        list-style-type: none;
        padding: 0;
        margin-top: 15px;
        overflow: hidden;
        background-color: transparent;
         padding-right: 20px;
     }

     li 
     {
        float: right;
     }

     li a 
     {
         font: 20px "Montserrat", Gadget, sans-serif;
         font-weight: bold;
         display: inline-block;
         padding: 1em;margin: 1em;
         color: #154f80;
         text-align: center;
         padding: 5px 10px;
         margin: 1em;
         text-decoration: none;
         background-image: linear-gradient(#efa453, #efa453), linear-gradient(transparent, transparent);
         background-size: 0px 2px, auto;
         background-repeat: no-repeat;
         background-position: center bottom;
         transition: all .2s ease-out;
         text-transform: uppercase;
     }

     li a:hover 
     {
         background-size: calc(100% - 2em) 2px, auto;
     }
    /* END OF NAVIGATION STUFF */

    /* HIDE MOBILE VIEW */
    .mobile
    {
        display: none;
    }
    .mobilenav
    {
        display: none;
    }
    .inbetween
    {
        display: none;
    }
    /* END OF HIDE MOBILE VIEW */
/* END OF HEADER STUFF */

/* CONTENT DIVS */


#intro-image {
    width: 100%;
    height: 100vh;
    background: url(images/top.jpg);
    background-color: #154f80;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#intro-text-bg {
    font: 20px "Lato", Helvetica, sans-serif;
    line-height: 35px;
    width: 100%;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #154f80;
    position: absolute;
    top: 50%;
    background-color: rgba(255,255,255,0.7);
}

#intro-text {
    font: 30px "Lato", Helvetica, sans-serif;
    line-height: 35px;
    width: 70%;
    margin: 0 auto;
    color: #154f80;
    text-align: center;
}

#vision {
    font: 30px "Lato", Helvetica, sans-serif;
    color: #154f80;
    line-height: 35px;
    width: 100%;
    background: #fff;
    margin: 0 auto;
    height: auto;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
}

#vision p{
    width: 50%;
    margin: 0 auto;
}

#vision img {
    width: 100vw;
}

#aboutus {
    padding-top: 100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 100px;
    background: linear-gradient(
    to bottom, 
    white,
    white 53%,
    #f7f7f7 53%,
    #f7f7f7);
}

#aboutus-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.aboutus-card {
    height: 380px;
    margin: 50px;
    overflow: hidden;
    border-radius: 2px;
    transition: .5s;
}

.aboutus-info {
    height: 100px;
    width: 350px;
    padding: 6px;
    box-sizing: border-box;
    position: absolute;
    background-color: #f7f7f780;
    color: #000;
    font: 18px "Lato", Helvetica, sans-serif;
    text-align: center;
    bottom: 50px;
    overflow: hidden;    
}

.aboutus-info p {
    margin: 20px;
    visibility: hidden;
    opacity: 0;
}

.aboutus-card:hover {
    cursor: pointer;
}

.aboutus-card:hover .aboutus-info{
    height: 200px;
    background-color: #f7f7f790;
    transition: .5s;
}

.aboutus-card:hover .aboutus-info p{
    visibility: visible;
    opacity: 1;
    transition: .5s;
}

.aboutus-card img {
    filter: grayscale(20%);
    transition: .5s;
}

.aboutus-card:hover img {
    transform: scale(1.1) rotate(3deg);
    filter: grayscale(90%);
    transition: .5s;
}

#contact {
    padding-top: 100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    background: #fff;
}

#contactwrapper {
    margin: 0 auto;
    text-align: center;
}

#contactmain {
    margin-top: 0px;
    padding: 20px;
    border-radius: 5px;
    font: 16px "Lato", Helvetica, sans-serif;
    padding-bottom: 100px;
}


/* FORM STYLING */

input[type=text], select, textarea {
  width: 50%; 
  padding: 12px;  
  border: 1px solid #ccc; 
  border-radius: 4px; 
  box-sizing: border-box; 
  margin-top: 6px; 
  margin-bottom: 16px; 
  resize: vertical;
      color: #154f80;
}

input[type=submit] {
  background-color: #fff;
  color: #f79225;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
    border: 1px solid #154f80;
    width: 100px;
}

input[type=submit]:hover {
  background-color: #fff;
    color: #154f80;
}

::placeholder {
    color: #154f80;
}

:-ms-input-placeholder {
    color: #154f80;
}

::-ms-input-placeholder {
    color: #154f80;
}
/* END OF FORM STYLING */

/* FOOTER */

#footer {
    padding: 100px;
    height: auto;
    color: #f79225;
    font: 20px "Lato", Helvetica, sans-serif;
    text-align: center;
    margin: 0 auto;
    background-color: #f7f7f7;
}

#footer img{
    height: 100px;
    }

#footer a {
    color: #154f80;
    font: 20px "Lato", Helvetica, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}

#footer a:hover {
    color: #f79225;
}

/* END OF FOOTER */