/*
    Global CSS Modules And Styles
*/

/* General styles and fonts */
* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Value';
    src: url('../fonts/value-regular.otf');
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 300;
    src: local('Material Icons'),
      local('MaterialIcons-Regular'),
      url("../fonts/materialize-icons.woff2") format('woff2'),
      url("../fonts/materialize-icons.woff") format('woff'),
      url("../fonts/materialize-icons.ttf") format('truetype');
}

html {
    height: 100%
}

body {
    min-height: 100%;
    overflow-x: hidden;
    background-color: rgb(245, 245, 245);

    transition: background-color 1s;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px !important; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;

    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
}

div:focus {
    outline: none;
}

/* Horizontally and vertically centered module */
.center-content {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.center-content.vertical-offset {
    padding-bottom: 20%;
}

.center-content.vertical-offset.minor-offset {
    padding-bottom: 10%;
}

@media only screen and (max-width: 450px) {
    .center-content.vertical-offset.mobile-extra-offset {
        padding-bottom: 50%;
    }
}

nav ul li.active {
    background-color: rgba(255, 255, 255, 0.1);
}

#navbar-add-icon {
    display: inline-block;
    position: absolute;
    margin-left: -21px;
}

.sidenav .divider {
    margin: 0 !important;
}

.logout-icon {
    margin-top: 1px;
}

/* CSS states */
.no-highlight {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
     -khtml-user-select: none;   /* Konqueror HTML */
       -moz-user-select: none;   /* Firefox */
        -ms-user-select: none;   /* Internet Explorer/Edge */
            user-select: none;   /* Non-prefixed version, currently
                                    supported by Chrome and Opera */

    outline: none;
}

.full-site {
    width: 100vw;
    height: 100vh;
}

.no-display {
    display: none !important;
}

.faded-out {
    opacity: 0 !important;
}

.no-events {
    pointer-events: none !important;
}

.collapsed {
    height: 0px !important;
}

.visible-mobile {
    display: none;
}

@media only screen and (max-width: 680px) {
    .visible-mobile {
        display: block !important;
    }
    .hidden-mobile {
        display: none !important;
    }
}

/* ParticlesJS */
#particles-js {
    width: 100vw;
    height: calc(100vh - 68px);
    background-color: white;
    background-image: url('');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* Form */
.form-container {
    width: 100%;
    margin-top: 10rem;

    transition: opacity 0.5s;
}

.form-container .form-title {
    padding: 0 40px;
    font-weight: 300;
    font-size: 2rem;
    margin-top: 0;
    text-align: right;
}

.form-container .form {
    padding: 0 40px 40px 40px;
    border-top: 2px solid #033649;

    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);

    text-align: left;
}

.form .form-subtitle {
    font-family: 'Value';
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.form .form-subtitle + .form-paragraph {
    margin-top: -1.2rem;
}

.form label, select option {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
     -khtml-user-select: none;   /* Konqueror HTML */
       -moz-user-select: none;   /* Firefox */
        -ms-user-select: none;   /* Internet Explorer/Edge */
            user-select: none;   /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

select {
    display: block;
    position: absolute;
    top: 0;
    opacity: 0;
    pointer-events: none;
}

select * {
    pointer-events: all;
}

/* Button styles */
.simple-btn {
    background-color: rgb(245, 245, 245) !important;
    border: 1px solid #033649;
    border-radius: 0;
    box-shadow: none;
    padding: 0 8px 0 12px;
    margin: 0 0.3rem 0.6rem;
    line-height: 36px;

    color: black;
    cursor: pointer;

    transition-duration: 0.1s !important;
}

.simple-btn.right {
    padding: 0 12px 0 8px;
}

.simple-btn.center {
    padding: 0 8px;
}

.simple-btn.large-padding {
    padding: 0 16px 0 20px;
}

.simple-btn.large-padding.right {
    padding: 0 20px 0 16px;
}

.simple-btn.large-padding.center {
    padding: 0 16px;
}

@media (hover: hover) {
    .simple-btn:hover {
        box-shadow: none;
        background-color: #033649 !important;
        color: rgb(245, 245, 245);
    }

    .simple-btn.selected:hover {
        background-color: #355E6D !important;
    }

    nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    #submit-bugs:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    #ie-message-text-container a:hover {
        text-decoration: underline;
    }
}

.simple-btn.selected {
    background-color: #033649 !important;
    color: rgb(245, 245, 245) !important;
}

.simple-btn i.material-icons {
    vertical-align: middle;
    font-size: 22px !important;
    padding: 0 0 3px;
    margin: 0;
}

.simple-btn, .simple-btn * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
     -khtml-user-select: none;   /* Konqueror HTML */
       -moz-user-select: none;   /* Firefox */
        -ms-user-select: none;   /* Internet Explorer/Edge */
            user-select: none;   /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

/* Other general styles */
.flag-icon {
    font-size: 16px;
}

.desktop-nav .dropdown-trigger i {
    height: 64px !important;
    line-height: 64px !important;
}

#mobile-nav .flag-icon {
    height: 48px !important;
    line-height: 48px !important;
}

#languages-dropdown i.flag-icon, #languages-dropdown-mobile i.flag-icon {
    margin: 0 16px 0 0 !important;
}

nav {
    background-color: #033649 !important;
}

nav ul.right {
    margin-right: 1.25rem;
}

nav ul.right .material-icons.left {
    margin-right: 7px !important;
}

nav ul.right .material-icons.right {
    margin-left: 7px !important;
}

#content-container {
    margin-top: 10vh;
    padding-left: 1rem;
    padding-right: 1rem;
}

.page-footer {
    background-color: #033649 !important;
    padding-top: 0 !important;
    width: 100vw;
    height: 64px;
}

.page-footer.footer-with-margin {
    margin-top: 18vh;
}

@media only screen and (max-width: 550px) {
    .page-footer {
        height: auto;
    }

    .page-footer p, .page-footer a {
        text-align: center !important;
        float: none !important;
        margin: 0 !important;
        height: 52px !important;
        line-height: 52px !important;
    }
}

.page-footer .row {
    margin-bottom: 0;
}

#copyright_text, #submit-bugs {
    height: 64px;
    line-height: 64px;
}

#copyright_text {
    margin-left: 10px;
}

#copyright_text a {
    color: lightskyblue;
}

#submit-bugs {
    padding: 0 15px;
    margin-right: 1.5rem;

    color: lightcoral;

    transition: background-color 0.3s;
    display: block;
}

#ie-message {
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

#ie-message-text-container {
    text-align: center;
}

#ie-message-text-title {
    font-size: 2em;
    color: black;
    width: 100vw;
    
    transition: color 0.5s;
}

#ie-message-text-browsers {
    font-size: 1.5em;
    color: white;
    margin-top: 2rem;
}

#ie-message-text-container span, #ie-message-text-container a {
    font-weight: 600;
}

#chrome-text {
    color: lightgreen;
}

#opera-text {
    color: lightcoral;
}

#edge-text {
    color: royalblue;
}

#firefox-text {
    color: #CC0000;
}