/*
1.) Browser settings
2.) Text
3.) Main Structure
4.) Forms
5.) Columns
6.) Elements
    6.1.) elements - header
    6.2.) elements - header - desktop menu
    6.3.) elements - header - mobile menu
7.) MOBILE
*/


/* browser */

::selection {
  background: lightgray; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: lightgray;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: lightgray; 
}
::-webkit-scrollbar-thumb {
  background: #2466A8; 
}

/* Text */

@font-face {
  font-family: font;
  src: url(font/EncodeSans-Light.ttf);
}

@font-face {
  font-family: fontBold;
  src: url(font/EncodeSans-Regular.ttf);
}

h1 {
    font-family: fontBold;
    font-size: 30pt;
    margin: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
    line-height: 1.4em;
}

h2 {
    font-family: fontBold;
    font-size: 24pt;
    margin: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
    line-height: 1.4em;
}

h3 {
    font-family: fontBold;
    font-size: 20pt;
    margin: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
    line-height: 1.4em;
}

p, li, ul {
    font-family: font;
    font-size: 14pt;
    margin: 20px;
    line-height: 1.4em;
}

ul > li {
    list-style-type: square;
}

/* Main structure */

body {
    background-color: lightgray;
}

.mainframe {
    background-color: white;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.mainframe_welcome {
    background-color: white;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    padding-top: 50px;
}

#start {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0), #2466A8), url(images/start_background.jpg);
    background-blend-mode: normal;
    background-position: center;
    background-size: cover;
    background-attachment: scroll, fixed;
    width: 100%;
}

#start_content {
    margin: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align:  center;
}

.white {
    color: white;
}

.gray {
    color: #333;
}

/* Forms */

button {
    background-color: #2466A8;
    border-style: none;
    border-radius: 5px;
}

button:hover {
    background-color: #133558;
}

button:active {
    background-color: white;
}

button p {
    color: white;
}

button p:active {
    color: #133558;
}

/* Columns */

.cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    max-width: 1024px; 
    margin: auto;
    margin-top: 0px;
}

.col1_2 {
    width: 50%;
    /*text-align: justify;*/
    text-justify: inter-word;
}

/* elements */
/* elements - header */

#header {
    position: fixed;
    width: 100%;
    z-index: 998;
}

#inheader {
    background-color: white;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    height: 50px;
}

#logo_board {
    width: 50%;
    height: 50px;
    float: left;
    background-color: white;
}

#mini_header_logo {
    display: none;
}

#menu_board {    
    width: 50%;
    height: 50px;
    float: left;
    background-color: white;
}

/* elements - header - desktop menu */

#big_nav {
    float: right;
    display: block;
}

#big_nav ul {
    list-style-type: none;
    margin: 0px;
}

#big_nav ul > li {
    float: right;
    list-style-type: none;
    margin: 0px;
}

#big_nav button {
    height: 50px;
    padding: 0px;
    border-radius: 0px;
    background-color: white;
}

#big_nav button:hover {
    background-color: lightgray;
}

#big_nav button:active {
    background-color: #2466A8;
}

#big_nav button > p {
    margin-top: 0px;
    margin-bottom: 0px;
    color: black;
}

/* elements - header - mobile menu */

#small_nav {
    display: none;
    float: right;
}

#button2{
    display: none;
}

#btn {
    height: 50px;
    width: 50px;
    border-radius: 0px;
    background-color: white;
}

#menu {
    display: none;
    width: 100%;
    background-color: white; 
}

#menu ul {
    margin: 0px;
    list-style-type: none;
}

#menu ul > li {
    margin: 0px;
    list-style-type: none;
}

#menu button {
    width: 100%;
    border-radius: 0px;
}

/* elements - article */

#eltests {
    width: 100%;
}

#wedo {
    background-color: #2466A8;
}

#contact {
    background-color: #133558;
}

#footer {
    display: block;
    background-color: #111;
    padding-bottom: 20px;
    padding-top: 20px;
}

#footer div {
    display: block;
    text-align: center;
}

/* table */

td {
    vertical-align: middle;
}

td img {
    vertical-align: middle;
    margin: 20px;
}

.center {
    text-align: center;
}

/* MOBILE */

@media all and (max-width: 768px) {
    
    h1 {
        font-size: 1.5em;
    }
    
    h1 {
        font-size: 1.3em;
    }
    
    #header_logo {
        display: none;
    }
    
    #mini_header_logo {
        display: block;
    }
    
    #big_nav {
        display: none;
    }
    
    #small_nav {
        display: block;
    }
    
    .mainframe {
        padding-bottom: 0px;
        padding-top: 0px;
    }
    
    #start_content {
        margin-top: 100px;
    }
    
    cols {
        display: block;
    }
    
    .col1_2 {
        width: 100%;
    }
    
    .col_image_cont {
    width: calc(100% - 20px);
    }
}