


/* Use the variable */
.headertest {
    background-color: var(--primary-color);
}

/*----------------RESET---------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

@font-face {
    font-family: StandardFont;
    src: url('Quicksand-Regular.ttf');
}

@font-face {
    font-family: HeadFont;
    src: url('IndieFlower-Regular.ttf');
}

body{
    font-family: StandardFont;
    font-size: 15px;
}

pre.ontop{
    position: fixed;
    top: 0%;
    width: 100%;
    overflow: scroll;
    z-index: 10000;
    height: 100vH;
}

button{
    cursor: pointer;
}

.nofloat {
    clear: both;
    font-size: 1px;
    line-height: 0.1;
}

.floatright {
    float: right;
}

.floatleft {
    float: left;
}

.submit{
    cursor: pointer;
}

.hidden{
    display: none;
}

.inline{
    display: inline;
}

.centered{
    text-align: center;
}

img.preview{
    display: none;
    max-width: 60%;
    max-height: 500px;
    box-shadow: 5px 5px 5px #999;
    border-radius: 15px;
}

.picture_data, .picture_preview{;
    max-width: 60%;
    max-height: 500px;
    box-shadow: 5px 5px 5px #999;
    border-radius: 15px;
}

#onhold{
    position: fixed;
    width: 100%;
    height:100vH;
    top: 0vH;
    z-index: 99;
    background-color: #666666;
    opacity: 0.8;
    text-align: center;
    display: none;
}

#waitwait{
    position: fixed;
    width: 100%;
    height:100vH;
    z-index: 100;
    background-color: #F5F5F5;
    opacity: 0.8;
    text-align: center;
}

#waitwait img{
    margin-top: 42vH;
    height: 8vH;
}

/* general layout */

input{
    font-size: 150%;
    padding: 15px 10px 5px 10px;
    border-radius: 3px;
    background-color: #FFFBF9;
    border: 1px solid #000;
    width: 60%;
}

.labelled_input{
    width: 100%;
    text-align: center;
    position: relative;
    margin-top: 25px;
    padding: 0px 0px;
}

.labelled_input label{
    position: absolute;
    top: 2px;
    left: 20%;
    font-size: 70%;
    color: #ABABAB;
}

.labelled_radio {
    display: flex;
    align-items: center;
    width: 80%;
    height: 30px;
    gap: 1em; /* optional: space between items */
    height: 40px;
    padding-left: 20%;
}

.labelled_radio input[type="radio"] {
    display: none;
}
.labelled_radio label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 90%;
}
.labelled_radio label:before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    border: 1px solid #555;
    border-radius: 50%;
    background: #fff;
}
.labelled_radio input[type="radio"]:checked + label:before {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.labelled_radio span {
    display: flex;
    align-items: center;
}

input[type="file"] {
    width: auto;
    border: none;
    background-color: transparent;
    font-size: 100%;
}

#username{
    text-transform: uppercase;
}

.button{
    width: auto;
    padding: 5px 10px;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 110%;
}

.button:hover{
    background-color: var(--primary-color);
    color: white;
}

.clearbutton{
    width: 40px;
    height: 40px;
    background-color: white;
    color: #999;
    border: 2px solid #999;
    font-size: 150%;
    border-radius: 20px;
    margin-right: 30px;
}
/* page layout */

#headline{
    background-color: #fff;
    width: 100%;
    height: 5vH;
    position: fixed;
    color: #000000;
    font-size: 120%;
}

#headline img{
    height: 80%;
}

#footer{
    position: fixed;
    height: 5vH;
    width: 100%;
    top: 95%;
    background-color: #333;
    color: #FFF;
    padding: 1vh 20px;
    font-size: 100%;
    align-items: center;
    text-align: center;
}

#footer span{
    display: inline-block;
    width: 15%;
}

.pp_win{
    resize: both;
    overflow: hidden;
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 3px;
    box-shadow: #000 1px 1px 1px;
    display: none;
}

.pp_datefns{
    z-index: 101;
    position: fixed;
    left: 15%;
    top: 10vH;
    width: 70%;
    height: 80vH;
}

.pp_prop{
    z-index: 101;
    position: fixed;
    right: 35%;
    top: 5vH;
    width: 300px;
    height: 400px;
}

.prop_chosen{
    font-weight: bold;
}

.men_chnname{
    width: 90%;
    padding: 2% 5% 1% 5%;
    font-weight: bold;
}

.men_propname{
    width: 96%;
    padding: 10px 2% 10px 2%;
    cursor: pointer;
}

.men_propname:hover, .men_item:hover{
    background-color: var(--secondary-color);
}

.men_propname_active{
    background-color: var(--highlight-color);
}

.men_item{
    width: 94%;
    padding: 10px 2% 10px 2%;
    cursor: pointer;
    font-size: 90%;
}

#maincontent{
    height: 100%;
}

.descline{
    width: 100%;
    font-size: 120%;
    text-align: center;
    margin: 10px 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.result_table{
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    font-size: 95%;
}

.result_table .leftalign{
    text-align: left;
}

.result_table .rightalign{
    text-align: right;
}

.result_table .centeralign{
    text-align: center;
}

.result_table th{
    font-weight: bold;
    border-bottom: 1px solid #333;
    padding: 0px 5px;
    font-size: 80%;
}

.result_table tr td{
    cursor: pointer;
    height: 30px;
    vertical-align: middle;
    padding: 0px 5px;
    border-bottom: 1px dotted black;
    white-space: nowrap;
}

.result_table tbody tr:hover{
    background-color: var(--hover-color)!important;
    color: var(--hover-color-text)!important;
    transform: scale(1.01);
    transition: all 0.1s ease-in;
}

.result_table tbody tr:nth-child(even){
    background-color: #EFEFEF;
}

#searchfield {
    font-size: 100%;
    position: absolute;
    top: 10px;       /* adjust as needed */
    right: 10px;     /* adjust as needed */
    /* Optional styling */
    padding: 5px 10px;
    box-sizing: border-box;
    width: 200px;
}

#modmenue {
    position: fixed;
    left: 0;
    top: 15vh;
    width: 12%;
    height: 79vh;
    overflow-y: hidden; /* prevent vertical scroll on container */
    overflow-x: visible; /* allow horizontal overflow for submenus */
    background: linear-gradient(180deg, #EFEFEF,  #fff, #ABABAB);
    z-index: 1;
    padding-top: 1vH;
}

#modmenue input{
    font-size: 100%;
    padding: 5px 10px 5px 10px;
    border-radius: 3px;
    background-color: #FFF;
    border: 1px solid #000;
    width: 70%;
}

#modmenue .labelled_input{
    width: 100%;
    text-align: center;
    position: relative;
    margin-top: 20px;
    padding: 0px 0px;
}

#modmenue .labelled_input label{
    position: absolute;
    top: -15px;
    left: 10%;
    font-size: 70%;
    color: #000;
}

#modmenue .searchfields{
    margin: 0px 10px;
    padding: 20px 15px 30px 15px;
    border-bottom: 1px solid #000;
}

#modmenue .button{
    width: auto;
    padding: 5px 10px;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 110%;
}

#modmenue .button:hover{
    background-color: var(--primary-color);
    color: var(--primary-color-text);
}

.modmenue_scroll {
    height: auto;
    overflow-y: auto; /* scroll main menu items vertically */
    overflow-x: hidden; /* allow horizontal overflow */
    padding: 0px 10px; /* space for scrollbar */
    box-sizing: content-box; /* ensure padding doesn't reduce width */
    font-size: 90%;
}

#modmenue > .modmenue_scroll > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

#modmenue > .modmenue_scroll > ul > li {
    position: relative;
    border-bottom: 1px solid #666;
    padding: 10px 15px;
    cursor: pointer;
    white-space: nowrap; /* prevent wrapping */
}



#modmenue > .modmenue_scroll > ul > li:hover {
    /*filter: brightness(0.8); */
    transform: scale(1.02);
    transition: all 0.2s ease;
    font-weight: bold;
    background: linear-gradient(90deg, #fff, #efefef, #fff);
}

/* Submenu container */
#modmenue > .modmenue_scroll > ul > li {
    position: relative; /* positioning context for submenu */
}

#modmenue ul li ul {
    display: none;
    position: relative; /* no absolute positioning */
    margin-top: 5px;
    padding-left: 15px;
    border-left: 2px solid #ccc;
    background: #fff;
    box-shadow: none;
    min-width: auto;
}

#modmenue ul li:hover > ul {
    display: block;
}

#mainpart_show {
    position: fixed;
    left: 12%;
    top: 15vh;
    width: 88%;
    height: 80vh;
    background-color: #FFF;
}

.searchfiels{
    width: 100%;
    padding: 10px 10px;
}

#mainpart_show_full {
    position: fixed;
    left: 00%;
    top: 15vh;
    width: 100%;
    height: 80vh;
}

#allmods {
    position: fixed;
    left: 0;
    top: 5vh;
    width: 100%;
    height: 10vh;
    overflow: hidden;
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    display: flex; /* Add flex to align children horizontally */
    align-items: center; /* Vertically center children */
    box-sizing: border-box; /* Ensure padding/borders don't affect size */
}

.allmods_left {
    width: 20%;
    height: 100%; /* Match parent's height */
    display: inline-block;
    box-sizing: border-box;
}

.allmods_right {
    width: 79%;
    height: 100%; /* Match parent's height */
    display: flex; /* inline-flex is fine, but flex is simpler */
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.moditem {
    width: 100px; /* Adjust width to fit icon + text */
    display: flex;
    flex-direction: column; /* Stack icon and text vertically */
    align-items: center; /* Center icon and text horizontally */
    justify-content: center;
    height: 100%;
    text-align: center; /* Center text */
    cursor: pointer;
}

.moditem_top {
    width: 100%;
    height: auto;
    display: flex; /* Use flex to center content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.moditem_bottom {
    width: 100%;
    height: auto;
    font-size: 0.9rem;
    margin-top: 4px;
    color: #000;
    font-size: 85%;
}

.moditem img {
    max-height: 40px; /* Limit icon height */
    width: auto;
    display: block;
    margin: 0 auto;
}

.moditem:hover .moditem_top,
.moditem:hover .moditem_bottom {
    filter: brightness(0.8);
    transform: scale(1.15);
    transition: all 0.3s ease;
    font-weight: bold;
    filter: drop-shadow(6px 6px 4px #FFF);
}

.pp_user{
    z-index: 101;
    position: fixed;
    right: 5%;
    top: 5vH;
    width: 300px;
    height: 400px;
}

#usermenue img{
    width: 50%;
    margin: 2% 25%;
    height: auto;
}

#usermenue .button{
    margin-top: 20px;
}

.pp_win_header{
    width: 90%;
    height: 10%;
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    color: #000;
    padding: 3%;
    margin: 2%;
}

.pp_win_header_fixed{
    width: 90%;
    height: 30px;
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    color: #000;
    padding: 10px;
    margin: 2%;
}

.pp_win_headdesc{
    width: 90%;
    float: left;
    align-items: center;
    font-size: 120%;
    font-weight: bold;
    display: flex;
    height: 100%;
    text-transform: uppercase;
    text-align: left;
}

.pp_win_closer{
    width: 9%;
    padding-right: 1%;
    float: left;
    align-items: center;
    font-size: 150%;
    display: flex;
    height: 100%;
    font-weight: bold;
    cursor: pointer;
    justify-content: right;
}

.pp_win_content{
    height: 78%;
    padding: 3%;
    overflow-y: auto;
}

.m_win_main {
    width: 50%;
    height: 80vH;
    background: linear-gradient(180deg, #EFEFEF, #fff, #ABABAB);
    border: 1px solid #000;
    border-radius: 5px;
    position: absolute;
    top: 7vH;
    left: 10%;
    box-shadow: 6px 6px 10px rgba(100,100,100,0.8);
    resize: both;
    overflow: hidden;
    z-index: 999;
}
.m_win_head {
    padding: 10px;
    background-color:  #DEDEDE;
    color: #000;
    font-weight: bold;
    cursor: move;
    user-select: none;
}
.m_win_cont {
    padding: 10px;
}

.m_win_content {
    overflow-y: auto;
    height: 80%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10%;
}

.m_win_content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.window.active .header{
    background-color: var(--primary-color)!important;
    color: var(--primary-color-text)!important;
}

.window-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary-color-text);
    line-height: 1;
    padding: 0;
}
.window-close-btn:hover {
    transform: scale(1.5);
    transition: all 0.3s ease;
}

.menue_grouper {
    width: 95%;
    padding-right: 5%;
    height: 10%;
    display: flex;
    display: flex;
    justify-content: space-between; /* pushes children to edges */
    align-items: center; /* vertically center items */
    position: absolute;
    bottom: 0px;
    background-color: #FFF;
}

.menue_grouper .switch_button {
    flex: 1;
    max-width: 150px;
    height: 40px;
    color: var(--invert-button-text);
    background-color: var(--invert-button);
    border: none;
    margin: 0 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    order: 2; /* place before item_info */
}

.menue_grouper .switch_button:hover, .menue_grouper .switch_button.active {
    transform: scale(1.10);
    transition: all 0.1s ease;
    font-weight: bold;
}

.menue_grouper .item_info{
    float: none; /* remove float */
    width: 50%;
    padding-left: 20px;
    order: 1; /* place it after switch_buttons */
    text-align: left;
    font-size: 80%;
}

.screen_grouper_half{
    width: 45%;
}

.screen_grouper_full{
    width: 95%;
}

.screen_grouper{
    background-color: #FFF;
    border-radius: 3px;
    border: 1px solid black;
    height: auto;
    min-height: 150px;
    margin: 10px 1%;
    box-shadow: 2px 2px 2px #666;
    padding: 1px 1% 1px 1%;
}

.screen_grouper .descline{
    font-weight: bold;
    letter-spacing: 2px;
    color: #ABABAB;
    margin-bottom: 10px;
}

.screen_grouper input, .screen_grouper select{
    font-family: StandardFont;
    font-size: 110%;
    padding: 2px;
    border-radius: 3px;
    background-color: #FEFAEB;
    border: 1px solid #000;
    width: 80%;
    box-sizing: border-box;
}

.screen_grouper .labelled_input{
    width: 100%;
    text-align: center;
    position: relative;
    margin-top: 20px;
    padding: 0px 0px;
}

.screen_grouper .labelled_input label{
    position: absolute;
    top: -15px;
    left: 15%;
    font-size: 80%;
    color: #000;
}

.slideshow {
    width: 100%;
    height: 120px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
    margin: 20px auto;
}
.slideshow .slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slideshow .slide {
    min-width: 100%;
    height: 100%;
    background: #EFEFEF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100%;
}
.slideshow .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #333;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}
.slideshow .arrow.left {
    left: 10px;
}
.slideshow .arrow.right {
    right: 10px;
}

.slideshow .item_headdesc{
    font-weight: bold;
    margin-bottom: 10px;
}

.head_logo{
    height: 100%;
    width: 20%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.head_busdate{
    height: 100%;
    width: 20%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90%;
    font-weight: bold;
    cursor: pointer;
}

.head_prop{
    height: 100%;
    width: 30%;
    float: left;
    display: flex;
    align-items: center;
    font-size: 80%;
}

.head_user{
    height: 100%;
    width: 25%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80%;
}

.head_plus{
    height: 100%;
    width: 5%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 250%;
    cursor: pointer;
}

.itemicon{
    width: 27%;
    padding-right: 3%;
    text-align: right;
}

.itemicon img{
    height: 3vH !important;
    opacity: 0.6;
}

.itemname{
    width: 65%;
    padding-left: 2%;
    text-align: left;
    color: #666;
}

#mainpart{
    width: 100%;
    top: 5vH;
    height: 90vH;
    position: fixed;
    overflow: auto;
    background-color: #EFEFEF;
    z-index: 1;
}


/*this is for dividers moveable*/

#container {
        display: flex;
        height: 100%;
        width: 100%;
        overflow: hidden;
    }
    #left, #right {
        height: 100%;
        overflow: auto;
        padding: 10px;
    }
    #left {
        background-color: #fefefe;
        width: 80%;
        border-left: 1px solid #000;
        position: relative;
    }
    #right {
        width: 20%;
    }
    #divider {
        width: 4px;
        background-color: #ABABAB;
        cursor: col-resize;
        user-select: none;
    }

/* end dividers*/

.miniicon img{
    height: 60%;
    width: auto;
    margin-top: 20%;
}

.guestname img{
    height: 20px;
    width: auto;
    margin: 0px 10px 0px 0px;
}

#ind_profile, #comp_profile{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.profilehead{
    width: 30%;
}

#ind_profile .guestname, #comp_profile .guestname{
    font-size: 120%;
    font-weight: bold;
    align-items: center;
    display: flex;
}

#ind_profile .guestaddress, #comp_profile .guestaddress{
    font-size: 80%;
}

.profilehead img{
    width: 95%;
    height: auto;
    border-radius: 20px;
    box-shadow: 2px 2px 2px #666;
}

.profilehead img.company{
    width: 95%;
    height: auto;
    border-radius: 0px;
    box-shadow: none;
}

.comm_line{
    display: flex;
    width: 100%;
    height: 30px;
    align-items: center;
    margin-top: 10px;
}

.comm_line img{
    height: 80%;
    width: auto;
    margin-right: 10px;
}

.linked_profiles {
    border: 2px solid var(--primary-color);
    position: relative;
    padding: 20px 5px 15px 5px;
    background: white;
    margin-top: 20px;
    border-radius: 10px;
}

.linked_profiles .lp_header {
    position: absolute;
    top: -10px;
    left: 15px;
    background: white;
    padding: 0 5px;
    color: var(--primary-color);
    font-size: 90%;
    letter-spacing: 2px;
    font-weight: bold;
}

.lp_content_2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* space between cards */
}

.lp_content_2 > .profile_card_2 {
    flex: 1 1 calc(33.333% - 10px); /* 2 cards per row with gap */
    box-sizing: border-box;
    max-width: calc(33.333% - 10px);
}

.profile_card_2 {
    height: 130px; /* fixed height */
    /*border: 1px solid #555;*/
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    background: #fff;
    cursor: pointer;
}

.profile_card_image_2 {
    flex: 0 0 60%; /* 60% of card height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile_card_image_2 img {
    max-width: 98%;
    max-height: 98%;
    object-fit: cover;
    padding: 1%;
    display: block;
}

.profile_card_name_2 {
    flex: 1 1 40%; /* remaining 40% */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
    font-size: 80%;
}

.lp_content_1 {
    display: flex;
    flex-direction: column; /* stack cards vertically */
    gap: 15px;
}

.lp_content_1 > .profile_card_1 {
    display: flex; /* horizontal layout inside each card */
    height: 50px;
    /*border: 1px solid #555;*/
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
    width: 100%; /* full width of container */
    box-sizing: border-box;
    cursor: pointer;
}

.profile_card_image_1 {
    flex: 0 0 30%; /* 40% width for image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile_card_image_1 img {
    max-width: 98%;
    max-height: 98%;
    padding: 1%;
    object-fit: cover;
    display: block;
}

.profile_card_name_1 {
    flex: 1 1 70%; /* 60% width for text */
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    font-size: 80%;
}

.profile_card_2:hover, .profile_card_1:hover{
    transform: scale(1.05);
    transition: all 0.1s ease-in;
}

.profile_headtab {
    position: relative;
    height: 5%;
    width: 100%;
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.profile_headtab .head_tabs {
    width: 15%;
    height: 100%;
    display: flex;
    align-items: flex-end;   /* Align text to the bottom */
    justify-content: center; /* Center text horizontally */
    box-sizing: border-box;
    cursor: pointer;
    color: #777;
    font-size: 90%;
}

.profile_headtab .head_tabs:hover, .profile_headtab .head_tabs.active {
    transform: scale(1.10);
    transition: all 0.1s ease;
    font-weight: bold;
    color: #000;
}

.tabcontent{
    padding: 15px;
}

.buttonline_3 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
    margin: 10px 0px;
}

.buttonline_3 .button_s {
    width: 30%;
    min-height: 40px;
    font-size: 80%;
    padding: 5px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
    border: 1px solid var(--simple-button);
    border-radius: 3px;
    color: var(--simple-button);
    background-color: var(--simple-button-text);
}

.buttonline_3 .button_s:hover {
    background-color: var(--simple-button);
    color: var(--simple-button-text);
}

.buttonline_3 .button_flat {
    width: 30%;
    min-height: 25px;
    font-size: 80%;
    padding: 2px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
    border: 1px solid var(--simple-button);
    border-radius: 3px;
    color: var(--simple-button);
    background-color: var(--simple-button-text);
}

.buttonline_3 .button_flat:hover {
    background-color: var(--simple-button);
    color: var(--simple-button-text);
}

#loginbox{
    position: fixed;
    top:20vH;
    min-height: 40vH;
    left: 30%;
    width: 40%;
    border: 1px solid #666;
    background-color: white;
    border-radius: 5px;
    padding: 10px 15px 15px 15px;
    box-shadow: 2px 2px 5px #ABABAB;
}

.linkline{
    position: fixed;
    bottom: 10vH;
    left: 10px;
}

a, a:visited{
    color: #333;
    font-size: 90%;
    text-decoration: underline;
}

.mainline{
    font-family: HeadFont;
    width: 100%;
    text-align: center;
    margin: 10px 5px;
    color: #000;
    font-size: 40px;
}

.messageline{
    width: 100%;
    height: 40px;
    text-align: center;
}

.msg_error{
    color: var(--primary-color);
}

#resscreen{
    z-index: 101;
    position: fixed;
    left: 5%;
    top: 10vh;
    width: 90%;
    height: 80vh;
    background-color: #fff;
}
