﻿@font-face {
    font-family: 'RobotoCondensed';
    src: url(res/fonts/RobotoCondensed-VariableFont_wght.ttf);
}

body {
    font-family: 'RobotoCondensed', sans-serif;
    font-size: 16px;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    height: 100%;
}

h1 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 3em;
    text-align: center;
    color: #004d60;
}

h1:first-child {
    margin-top: 0px;
}

h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 2.5em;
    text-align: center;
    color: #004d60;
}

a, a:active {
    text-decoration: underline;
    color: #000000;
}

a:hover {
    text-decoration: underline;
    color: #0a6aa1;
}

p {
    text-align: justify;
    line-height: 170%;
}

.hidden {
    display: none;
}

.highlight {
    font-size: 1.5em;
    text-align: center;
    line-height: 130%;
}

#ajax_loader {
    display: none;
}

.ajax_loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.ajax_loader img {
    width: 50px;
    height: 50px;
}
 #logo {
     position: absolute;
     left: 50%;
     top: 50%;
     transform: translateX(-50%) translateY(-50%);
     max-width: 300px;
     width: 80%;
 }

 #logo img {
     width: 100%;
     filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
     animation: breathing 5s ease-out infinite normal;
 }

@keyframes breathing {
    0% {
        -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);
    }

    25% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);
    }

}

#copyright {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 95%;
    text-align: center;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 0.8em;
}

#copyright a, #copyright a:active, #copyright a:hover {
    color: #ffffff !important;
    text-decoration: none;
}




#pagecontainer {
    position: relative;
    min-height: 100vh;
}

#pagehead {
    height: 80px;
    background-color: #004d60;
    position: fixed;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.3);
    transition: all 0.3s ease;
}

#pagehead_content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    height: 100%;
    margin: auto;
}

#pagehead_logo {
    position: absolute;        
    top: calc(50% + 2px);
    transform: translateY(-50%);
}

#pagehead_logo img {
    height: 40px;
}

#pagehead_menu {
    position: absolute;    
    right: 0px;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6em;
    font-weight: lighter;
    color: #ffffff;
}

.pagehead_menu_item {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    line-height: 80px;
    vertical-align: middle;
    cursor: pointer;
}

.pagehead_menu_item:hover, .pagehead_menu_item_selected {
    background-color: #003f4e;
}

.pagehead_menu_item svg {
    width: 20px;
    height: 20px;    
    transition-duration: 0.5s;
    transition-property: transform;       
}

.pagehead_menu_item_selected svg {
    transform: rotate(-180deg); 
}

.pagehead_menu_item img {
    height: 30px;
    vertical-align: middle;
    filter: invert(1);
}

.pagehead_menu_dropdown {
    position: fixed;
    top: 80px;
    left: 0px;
    right: 0px;
    max-height: 0;
    background-color: #005275;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);    
    z-index: 1000;
    text-align: center;
    transition: max-height 0.25s ease-out;
}

.pagehead_menu_dropdown_selected {
    max-height: 500px;
}

.pagehead_menu_dropdown_selected .pagehead_menu_dropdown_item {
    visibility: visible;
    opacity: 1;
}

.pagehead_menu_dropdown_item {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 300px;
    margin: 30px;
    background-color: #292929;  
    cursor: pointer;   
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-out;
}

.pagehead_menu_dropdown_item:hover {
    background-color: #3d3d3d;
}

.pagehead_menu_dropdown_item_img {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);      
}

.pagehead_menu_dropdown_item_img img {
    max-width: 100%;
    max-height: 100%;    
}

.pagehead_menu_dropdown_item_label {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;;
    height: 40px;
    background-color: #000000;
    padding: 7px;
    opacity: 0.5;
    text-align: center;
    color: #ffffff;
}


#pagehead_hamburger {
    position: absolute;
    right: 20px;
    top: 22px;
    visibility: hidden;
}

#pagehead_hamburger img {
    height: 40px;
    opacity: 0.7;
    filter: invert(1);
}

#hamburger_close {
    display: none;
}


#pagebody {
    width: 100%;
    padding-top: 80px;
    /*padding-bottom: 105px;*/
}

#pagefooter {
    /*position: absolute;
    bottom: 0;*/

    width: 100%;
    background-color: #4c4f5b;
    color: #ffffff;
    padding: 20px 20px 20px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

#pagefooter a, #pagefooter a:active {
    text-decoration: none;
    color: #ffffff;
}

#pagefooter a:hover {
    text-decoration: underline;
}

#pagefooter div:not(:last-child) {
    display: inline-block;
    padding: 0 10px 0 10px;
    text-align: left;
}

#pagefooter div:not(:last-child) {
    border-right: 1px solid #ffffff;
}

#pagefooter_sm img {
    max-width: 32px;
    max-height: 32px;     
    filter:invert(1);   
}

#pagefooter_contact img{
    max-width: 16px;
    max-height: 16px;
    filter:invert(1);
}

.footer_logo {
    height: 40px;    
    vertical-align: bottom;    
}

.pagefooter_copyright {    
    font-size: 0.8em;
    margin-top: 10px;
}

@media screen and (max-width: 850px) {
    #pagefooter div {
        display: block;
        padding-bottom: 10px;
        text-align: center;
    }

    #pagefooter div:not(:last-child) {
        border-right: 0;
    }
    
}

.section {
    position: relative;    
    width: 100%;
}

.section_inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 30px 30px 30px 30px;
    margin: auto;
}

.section_halfs {
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
    vertical-align: middle;
    padding: 10px;
}

.section_halfs img {
    max-width: calc(100% - 30px);
    margin: 15px;
    border-radius: 6px;
}

.section_thirds {
    display: inline-block;
    width: 33.3%;
    box-sizing: border-box;
    vertical-align: top;
    padding-right: 20px;
}

.section_thirds img {
    max-width: 30%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.section_image, .section_content {
    display: inline-block;
    box-sizing: border-box;
}

.section_image {
    width: 70px;
    margin-right: 30px;
    padding-top: 30px;
    vertical-align: top;
}

.section_image img {
    max-width: 100%;
}

.section_content {
    width: calc(100% - 100px);
}

#hamburger_menu {
    position: fixed;
    display: none;

    background-color: #4c4f5b;
    top: 80px;
    left: 0px;
    right: 0px;
    bottom: 0px;

    z-index: 1000;
}

.hamburger_menu_item {
    position: relative;
    padding: 20px 30px 20px 20px;
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 300;    
}

.hamburger_menu_item:not(:first-child) {
    border-top: 1px solid #ececec;
}

.hamburger_menu_item:last-child {
    border-bottom: 1px solid #ececec;
}

.hamburger_menu_item_arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger_menu_item_arrow svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    transition-duration: 0.5s;
    transition-property: transform;
}

.hamburger_menu_item_selected {
    font-weight: 600;
}

.hamburger_menu_item_selected .hamburger_menu_item_arrow svg {
    transform: rotate(-180deg);
}

.hamburger_menu_item img {
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
    filter: invert(1);
}

.hamburger_menu_dropdown {
    max-height: 0;
    transition: max-height 0.25s;
}

.hamburger_menu_dropdown_selected {
    max-height: 500px;
}

.hamburger_menu_dropdown_selected .hamburger_menu_dropdown_item {
    opacity: 1;
    visibility: visible;
}

.hamburger_menu_dropdown_item_label img {
    max-height: 25px;
}

.hamburger_menu_dropdown_item {
    position: relative;
    padding: 20px 30px 20px 30px;
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-out;
    
}

#dialog_overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #4c4f5b;
    opacity: 0.5;
    z-index: 1001;
}

#privacy_dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 600px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
    z-index: 1002;
    text-align: center;
}

#privacy_dialog button {
    outline: 0;
    border: 0;
    color: #ffffff;
    padding: 10px 30px 10px 30px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 80%;
}

#privacy_dialog_accept_all {
    background-color: #008f00;
}

#privacy_dialog_save {
    background-color: #b2b2b2;
}

#info_dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 600px;
    width: 80%;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
    z-index: 1002;
    text-align: center;
}

#info_dialog button {
    outline: 0;
    border: 0;
    color: #ffffff;
    padding: 10px 30px 10px 30px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 80%;
    background-color: #0078ad;
}

#info_dialog p {
    text-align: center;
}

@media screen and (max-width: 850px) {
    h1 {
        font-size: 2em;
    }

    .section_halfs {
        display: block;
        width: 100%;
    }

    .section_thirds {
        display: block;
        width: 100%;
    }

    #pagehead_logo img {
        height: 35px;
    }

    #pagehead_menu {
        visibility: hidden;
    }

    #pagehead_hamburger {
        visibility: visible;
    }

    #pagehead_content {
        width: 100%;
        padding: 0 20px 0 20px;
        box-sizing: border-box;
    }
}


input:not([type=checkbox]), textarea {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    color: #000000;
    outline: 1px solid #b4b4b4;
    border-radius: 2px;
    border: 0;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

input[type=submit] {
    outline: 0;
    background-color: #0078ad;
    color: #ffffff;
    padding: 10px 30px 10px 30px;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
}

#submit_info {
    position: fixed;
    left: 0px;
    top: 80px;
    right: 0px;
    bottom: 0px;
    background-color: #f5f5f5;
    z-index: 1000;
}

#submit_info_text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 1.1em;
    white-space: nowrap;
    text-align: center;
}