@font-face {
    font-family: Dekar;
    src: url("../fonts/Dekar.woff") format("woff"), url("../fonts/Dekar.ttf")  format("truetype");
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.woff2') format('woff2'), url('../fonts/Roboto-Light.woff') format('woff'), url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Dekar', sans-serif;
    font-size: 20px;
    color: #000;
    line-height: 1.5em;
}

a:link, a:hover, a:visited, a:active {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #68737a;
    outline: 0;
    white-space: nowrap;
}

footer a:link, footer a:hover, footer a:visited, footer a:active {
    color: #68737a;
}

a:hover, footer a:hover {
    color: #2a7f7f;
    border-color: #2a7f7f;
    transition: all 0.25s ease-in-out;
}

a.checkbox:hover {
    border-bottom: none;
}

a.active:link, a.active:hover, a.active:visited, a.active:active {
    color: #2a7f7f;
}

a.no-underline {
    border-bottom: none;
}

header {
    background-color: #2a7f7f;
    padding-bottom: 5px;
    margin-bottom: 80px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.topnav {
    overflow: hidden;
    margin: 0 16%;
}

.topnav a {
    float: left;
    display: block;
    color: #fff;
    text-align: center;
    margin: 10px 0;
    padding: 22px 20px;
    text-decoration: none;
}

.user-info-bar a {
   color: #fff; 
}

.topnav a:hover, .user-info-bar a:hover {
    color: #000;
}

.topnav .menu-bars {
    display: none;
    padding: 14px 10px;
}

.topnav div.main-menu {
    float: right;
}

header .title {
    margin: 0 16% 25px;
}

header .title .text {
    color: #fff;
    font-size: 1.1em;
    line-height: 1.5em;
    max-width: 700px;
    padding-top: 10px;
}

header .user-info-bar {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

section {
    font-family: 'Roboto', sans-serif;
    margin: 40px 16%;
}

div.page-content {
    min-height: calc(100vh - 130px);
}

footer {
    color: #68737a;
    text-align: center;
    background-color: #eee;
    height: 130px;
}

div.footer-app-name {
    font-size: 1.1em;
    padding-top: 20px;
}

div.footer-links {
    margin-top: 2px;
    font-size: 0.9em;
}

h1 {
    font-size: 2.2em;
    font-weight: normal;
    line-height: 1.1em;
    margin: 20px 0 0;
}

h1 span.app-version {
    font-weight: bold;
    font-size: 0.3em;
    letter-spacing: 2px;
}

span#app-title {
    cursor: pointer;
}

h2 {
    font-size: 32px;
    display: inline;
    font-weight: normal;
    line-height: 1.3em;
}

div#cookie-info {
    padding: 15px;
    text-align: center;
    margin: 0px 16%;
}

form.base-form input[type="file"] {
    display: none;
}

form.base-form button[type="submit"].base-button, input[type="button"].base-button, a.base-button, label.upload-file {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    background-color: #fff;
    border: 1px solid #aaa;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

div.progress-part {
    margin-bottom: 20px;
}

div.progress-part div.progress-info span {
    padding-left: 5px;
}

.progress-part progress {
    width: 100%;
    height: 25px;
    border-radius: 0;
    appearance: none;
    margin-top: 4px;
}

.progress-part progress::-webkit-progress-bar {
    background-color: #e6e6e6;
    border-radius: 0;
}

.progress-part progress::-webkit-progress-value {
    background-color: #2a7f7f;
    border-radius: 0;
}

.progress-part progress::-moz-progress-bar {
    background-color: #2a7f7f;
    border-radius: 0;
}

.progress-part progress::-ms-fill {
    background-color: #2a7f7f;
    border-radius: 0;
}

form.base-form button[type="submit"].base-button:hover, input[type="button"].base-button:hover, a.base-button:hover, label.upload-file:hover {
    background-color: #2a7f7f;
    border-color: #2a7f7f;
    color: #fff;
    transition: all .25s ease-in-out;
}

form.base-form input[type="text"], form.base-form input[type="email"], form.base-form input[type="password"], form.base-form select, form.base-form textarea {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    padding: 14px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #aaa;
    font-size: 20px;
    background-color: #fff;
}

form.base-form input:not([type="radio"]), form.base-form select, form.base-form textarea {
    margin-bottom: 30px;
}

div.message {
    padding: 15px 20px;
    border-radius: 5px;
    margin: 20px 0;
    word-wrap: break-word;
}

div.message.results {
    padding: 20px 25px;
}

div.message.results ul {
    margin: 15px 0 0;
}

div.message.errors, div.message.results.red, div.message.alert {
    background-color: #f2dede;
    border: 1px solid #f2dede;
    color: #a94442;
}

div.message.info, div.message.results.green {
    background-color: #e1f7d5;
    border: 1px solid #e1f7d5;
    color: #4caf50;
}

div.message.results div.validation-info-header {
    font-weight: bold;
    font-size: 1.5em;
    padding-bottom: 15px;
}

progress {
    width: 100%;
}

li.hidden-error {
    display: none;
}

div.show-all-errors {
    cursor: pointer;
    padding-top: 15px;
}

i.close-tab {
    cursor: pointer;
}

div.download-report {
    margin: 40px 0;
}

div#select-guidelines {
    display: none;
}

span.api-url {
    font-family: courier, monospace;
    color: #1c5555;
    font-weight: bold;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
    font-weight: bold;
}

code {
    color: #777;
    display: block;
    font-size: 0.9em;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
}

button.button-disabled {
    cursor: default;
    background-color: #2a7f7f !important;
    border-color: #2a7f7f !important;
    color: #fff !important;
}

.form-style {
     max-width: 630px;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 25px;
    margin-left: 1px;
}

label.checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s;
}

label.checkbox input:checked + .checkmark {
    background-color: #2a7f7f;
    border-color: #2a7f7f;
}

.checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.2s;
}

label.checkbox input:checked + .checkmark::after {
    opacity: 1;
}

i#refresh-captcha {
    font-size: 30px;
    cursor: pointer;
}

#loading-overlay {
    position: fixed;
    inset: 0; 
    background: rgba(170,170,170,0.3);
    z-index: 1000;
    display: none;
}

.loading-spinner {
    position: fixed;
    left: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border: 12px solid #dadada;
    border-top-color: #bababa;
    border-bottom-color: #bababa;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    z-index: 1001;
    display: none;
}

.footable .btn-primary {
    background-color: #2a7f7f;
    border-color: #2a7f7f;
}

.footable .btn-primary.active,
.footable .btn-primary.focus,
.footable .btn-primary:active,
.footable .btn-primary:focus,
.footable .btn-primary:hover {
    background-color: #236969;
    border-color: #236969;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media screen and (max-width: 1200px) {
    .topnav {
        margin: 0 8%;
    }

    .topnav a {
        padding: 22px 10px;
    }
    
    section {
        margin: 30px 8%;
    }

    header {
        margin-bottom: 50px;
    }

    div#cookie-info {
        margin: 0px 8%;
    }
}

@media screen and (max-width: 850px) {
    body {
        font-size: 16px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    form.base-form button[type="submit"].base-button, input[type="button"].base-button, a.base-button, label.upload-file {
        font-size: 16px;
    }
    
    form.base-form input[type="text"], form.base-form input[type="email"], form.base-form input[type="password"], form.base-form select, form.base-form textarea {
        font-size: 16px;
    }
    
    form.base-form input:not([type="radio"]), form.base-form select, form.base-form textarea {
        margin-bottom: 20px;
    }
    
    div.download-report {
        margin: 30px 0;
    }
    
    div#cookie-info {
        font-size: 14px;
    }

    footer {
        height: 110px;
    }

    div.page-content {
        min-height: calc(100vh - 110px);
    }

    .form-style {
        max-width: 400px;
    }
}

@media screen and (max-width: 350px) {
    .topnav div.main-menu a {
        display: none;
        padding: 7px 15px;
    }
    
    .topnav a.menu-bars {
        float: right;
        display: block;
    }
    
    .topnav.responsive {
        position: relative;
    }
    
    .topnav div.main-menu {
        float: none;
    }
    
    .topnav.responsive a.menu-bars {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .topnav.responsive a, .topnav.responsive div.main-menu a {
        float: none;
        display: block;
        text-align: left;
    }
}