﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

*, *::before, *::after {
    box-sizing: border-box !important;
}

/* debugging ------------------------------------------------------------------------------------------------------------*/

/** { outline: 1px dotted red; }*/
/** { background-color: hsl(10 100% 70% / 0.1); }*/


/* Corporate Design -------------------------------------------------------------------------------------------------------

     style="background-color: #;"

        beige: #E6E6DD; 
        brown: #8B6F40;
        black: #000000;
        darkblack: #2C2C2C;
        acidgreen: #BDFF00;
        white: #FFFFFF;
        medium black #333
*/

/* navbar ---------------------------------------------------------------------------------------------------------------*/

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

#header_appName a {
    color: black;
    background-color: #BDFF00;
    padding: 0.5rem 1.5rem;
}
#header_logo img {
    max-width: 75px;
}

li.nav-item a.nav-link {
    font-weight: bold !important;
}

.text_acid {
    color: #BDFF00;
}

.text_white{
    color: white;
}

.text_beige {
    color: #E6E6DD;
}

.bg_darken {
    background-color: #333;
}

.bg_beige {
    background-color: #E6E6DD;
}

.bg_acid {
    background-color: #BDFF00;
}

.shadow_blue {
    box-shadow: 2px 1px #3399ff;
    border: 1px solid #333;
}

.border_acid {
    border: 1px solid #BDFF00;
}

/* end navbar -------------------------------------------------------------------------------------------------------------*/


/* corporate elements -----------------------------------------------------------------------------------------------------*/

.corp_container {
    background-color: #E6E6DD;
}

#megalogo {
    height: 20rem;
    object-fit: cover;
}

.btn-corp-main {
    font-weight: bold;
    line-height: 1;
    height: 40px;
    margin: 5px;
    padding: 10px 40px;
    color: white;
    background-color: #8B6F40;
    transition: all 0.5s ease;
    transform: scale(1);
}
    .btn-corp-main:hover {
        background-color: #E6E6DD;
        border: 1px solid #8B6F40;
        color: #8B6F40;
        text-decoration-line: none !important; 
        transform: scale(1.25) perspective(1px);
    }

.btn-corp-secondary {
    font-weight: bold;
    line-height: 1;
    height: 40px;
    width: 100%;
    margin: 5px;
    padding: 10px 40px;
    color: white;
    background-color: #8B6F40;
    border: none;
    text-align: center;
    text-wrap: nowrap;
}

    .btn-corp-secondary:hover {
        background-color: #E6E6DD;
        border: 1px solid #8B6F40;
        color: #8B6F40;
        text-decoration-line: none !important;
    }

.btn-corp-decline {
    font-weight: bold;
    line-height: 1;
    height: 40px;
    width: 100%;
    margin: 5px;
    padding: 10px 40px;
    color: #8B6F40;
    background-color: #E6E6DD;
    border: none;
}

    .btn-corp-decline:hover {
        background-color: #E6E6DD;
        border: 1px solid #8B6F40;
        color: #8B6F40;
        text-decoration-line: none !important;
    }

.nav-corp.active {
    background-color: #8B6F40 !important;
}

/* end corporate elements --------------------------------------------------------------------------------------------------*/

/* elements */
.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Provide sufficient contrast against white background */
a {
    color: #BDFF00;
}

.link_contrast {
    color: black;
    text-decoration-color: #BDFF00 !important;
    text-decoration-thickness: 3px !important;
}

.group {
    float: left;
    position: relative;
    width: 385px;
    height: 160px !important;
    margin: 0 12px;
    padding: 0;
}

#survey {
    min-height: 80vh;
}

.team_card {
    background-color: #E6E6DD;
}

#runner_trackings_table, #Trackings, table, tbody {
    border-radius: 1rem;
}

.tracking .row {
    background-color: whitesmoke;
}

.evidence {
    text-align: end;
}

.k-grid {
    background-color: #333;
}

.k-grid-pager {
    justify-content: center;
}

#runner_trackings_table table {
    background-color: #333;
}

@media only screen and (min-width: 450px){
    .team_card {
        max-width: 22%;
        margin: 1rem;
    }
}

@media (min-width: 450px){
    #runner_top, #runner_trackings_table, #runner_actions {
        max-width: 800px;
    }
}

@media only screen and (max-width: 450px){
    /* 1.Frame */
    #group_first_frame {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 90vh;
    }

    #team_logo {
        align-content: center;
    }

    /* 1.Frame */
    #establishment_first_frame {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 90vh;
    }

    /* 1.Frame */
    #survey {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
        flex: 1;
        height: 90vh;
    }
}

@media only screen and (max-width: 450px) {
    .k-header {
        display: none;
    }
}
.k-listview-bordered {
    border-width: 0px !important;
}

.k-grid tbody .k-button {
    min-width: auto !important;
}

.k-button-icontext .k-icon, .k-button-icontext .k-image, .k-button-icontext .k-sprite {
    margin: 0 !important;
}

.k-animation-container, .k-animation-container *, .k-animation-container :after, .k-block .k-header, .k-list-container, .k-widget, .k-widget *, .k-widget :before {
    box-sizing: inherit !important;
}

.header-image-container {
    position: relative;
    margin: auto;
    max-width: 200px;
    background-color: #E6E6DD;
}

@media screen and (min-width: 1200px) {
    #headline {
        font-size: 35px;
        line-height: unset;
    }

    #subline {
        font-size: 40px;
        line-height: 50px;
    }
}

.centered-content {
    position: absolute;
    left: 50%;
    top: 35%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 85%;
}

.nav-item-margin {
    margin-left: 15px;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

.form-control {
    margin-bottom: 1rem;
}

.form-inline-centered {
    display: block !important;
}

.column-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: space-between;
}

.flexbox {
    margin-bottom: 30px;
    min-width: 300px;
}

.image-bottom-fix {
    max-height: 200px;
}

.form-box {
    max-width: 500px;
    margin: 0 auto;
}

.large-form-box {
    max-width: 800px;
    margin: 0 auto;
}

.img-fullwith {
    max-width: 90%;
}

.fit {
    max-width: 100%;
}

.k-card {
    height: 100%;
    margin-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    overflow-y: hidden;
    overflow-x: auto;
}

.k-grid .k-alt {
    background-color: unset !important; /* specify the alternate background-color */
}
.nobackground {
    background-color: unset !important;
}

.k-card-body {
    padding: 1.25rem 1.25rem !important;
}

.k-card-header {
    margin-top: 0px;
    margin-bottom: -0.1rem;
    padding: 1.25rem 1.25rem !important;
    background-color: unset !important;
}

.field-validation-error {
    color: red;
}

.required:after {
    content: " *";
    color: red;
}

a.btn-primary:hover {
    text-decoration:none !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.modal-title {
    margin-top: 0px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

h1 {
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

h4 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.second-line {
    font-weight: normal;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #333;
}

#wrapper {
    display: flex; /* use the flex model */
    min-height: 100%;
    flex-direction: column; /* learn more: http://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ */
}

.groupmember {
    padding-top: 10px;
    padding-bottom: 10px;
}

.listbutton {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #E6E6DD;
}

.btn-link {
    text-decoration: none !important;
}

.bi {
    display: inline-block;
    vertical-align: 0.075em;
    margin-left: 2px;
    margin-right: 2px;
}

.k-card-header a {
    color: black;
    text-decoration: none !important;
}

.k-card-header .collapsed .rotate {
    transform: rotate(90deg);
}

.k-card-header .rotate {
    transition: .3s transform ease-in-out;
}

.header {
    background: yellow;
}

.container {
    max-width: 1300px;
}

#body {
    flex: 1;
    margin-bottom: 1rem;
}

.footer {
    background: lime;
}

.text-footer {
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
