:root {
    /* this has to be set to switch between light or dark */
    color-scheme: light dark;

    --samyellow: #a6ce39;

    --light-bg: ghostwhite;
    --light-color: darkslategray;
    --light-color2: #eaedf6;
    --light-bg2: #eaedf6;
    --login-bg: #131a1c;

    --dark-bg: #000;
    --dark-color: ghostwhite;
    --dark-color2: #2c2c2c;
    --dark-bg2: #181818;


    --red: #ed1c24;
    --blue: #00aeef;
    --gray: #929292;
    --black: #000000;
    --white: #FFFFFF;
    --green: #369a47;
    --orange: #f7941d;
    --yellow: #fff200;
    --off_white: #888888;

}

html {
    html { font-size: 100%; } /* 1rem = ~16px */
    overflow: hidden;
}

body {
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    color: light-dark(var(--light-color), var(--dark-color));

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    /*line-height: 1.6;*/
    margin: 0;
    padding: 0;
    position: relative;
}

/*::-webkit-scrollbar {*/
/*    display: none;*/
/*}*/

.svgIcon {
    fill: light-dark(var(--light-color), var(--dark-color));
}

.svgBaker {
    fill: light-dark(#231f20, var(--dark-color));
}

.svgStroke {
    stroke: light-dark(var(--light-color), var(--dark-color));
}

.colorSwap {
    fill: light-dark(var(--light-color), var(--dark-color));
}

.svgIcon:hover {
    /*fill: red;*/
}

.light {
    /* forces light color-scheme */
    color-scheme: light;
}
.dark {
    /* forces dark color-scheme */
    color-scheme: dark;
}

.wid100 {
    width: 100% !important;
}

@media screen and (orientation:portrait) {
   /* body {
        background-color: red;
    }*/

    .left,
    .scrollLeft {
        display: none;
    }

    .scrollContent {
        width: 100%;
    }

}

@media screen and (orientation:landscape) {
    /*body {
        background-color: yellow;
    }*/

    body {
        font-size: 1.3rem;
    }

    .left,
    .scrollLeft {
        display: block;
    }

}

/*****0*****/


.dash .left {
    display: none !important;
}

.wrapper {
    /*padding-top: 61px;*/
}

.top {
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    border-bottom: 1px solid light-dark(var(--light-color), var(--dark-color));

    position: sticky;
    width: 100%;
    z-index: 3;
    left: 0;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    padding: 10px;
}

.top > div {
}

.top .two {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top .three {
    display: flex;
    align-items: center;
    justify-content: right;
}

.top .three .link {
    margin-left: 10px;
    min-width: 40px;
}

.top_con {
    display: flex;
    align-items: center;
    justify-content: start;
}

.logo, .top .link {
    width: 40px;
    height: 40px;
    min-width: 40px;
    /*margin-right: 1em;*/
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    background-size: 20px;
    border-radius: 4px;
}



.clientLogo {
    width:100px;
    height: 40px;
    display: flex;
    align-items: center;
}

.clientLogo a {
    display: flex;
    width: 100%;
    height: 100%;
}

.mobilelogo {
    display: block;
    width: 40px;
    height: 40px;
}

.show_hide {
    display: block;
}

.desklogo {
    display: none;
}

@media (min-width: 900px) {
    .mobilelogo.show_hide {
        display: none;
    }

    .desklogo.show_hide {
        display: block;
    }

    .clientLogo {
        width:180px;
    }

}

.siteTitle {
    text-transform: uppercase;
}
.top .link.user {
    /*position: relative;*/
    display: flex;
    align-items: center;
    justify-content: start;
}

.two.stages {
    gap: 5px;
}

.two.stages .link {
    border:0;
    display: none;
}

.two.stages .link a {
    font-size: 0.5rem;
    border-radius: 50px;
    background-color: var(--red);
    color: white;
}

.two.stages .link.WINFO {
    display: block;
}

.two.stages .link.WINFO a  { background-color: var(--red); }
.two.stages .link.WPREP a  { background-color: var(--orange); }
.two.stages .link.WAPPR a  { background-color: var(--black); }
.two.stages .link.WASH a  { background-color: var(--green); }
.two.stages .link.COMP a  { background-color: var(--blue); }
.two.stages .link.CLOSE a  { background-color: var(--gray); }

.right_top_menu {
    display: none;
}

.link input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 40px;
    max-width: 40px;
    border: 0;
    cursor: pointer;
    display: block;
    margin: 0;
    position: absolute;
    right: 10px;
    top:   10px;
}

.link #trigger:checked + .right_top_menu {
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    display: block;
    position: absolute;
    right: 10px;
    top: 60px;
    width: 150px;
}

@keyframes menuDropDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.right_top_menu {
    animation: menuDropDown 0.3s ease forwards;
}

.link .right_top_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link .right_top_menu ul li {
    border-bottom: 1px solid light-dark(var(--light-color), var(--dark-color));
}

.link .right_top_menu ul li:last-child {
    border-bottom: 0;
}

.link .right_top_menu ul li a {
    text-align: left;
    font-size: 1rem;
    justify-content: left;
    padding: 1rem;
    color: light-dark(var(--light-color), var(--dark-color));
}

.link .right_top_menu ul li:hover a {
    color: var(--samyellow);
}

.link .right_top_menu ul li span {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1rem;

    justify-content: space-between;
    padding: 1rem;
}

.link .right_top_menu ul li label {
    cursor: pointer;
}

.show_left {
    outline: 1px solid red;
}

.logo a, .top .link a, .top .link {
    text-decoration: none;
    /*background: red;*/
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a .svgIcon,
.top .link.user .svgIcon {
    height: 25px;
}

.link a .svgIcon {
    width: 20px;
}

.top .link.show_menu .svgIcon {
    height: 18px;
}

.user a .svgIcon {
    height: 25px;
}

.top_con h1 {
    font-weight: normal;
    padding-left: 10px;
    font-size: 1.2rem;
    margin: 0;
}

.top .search {
    /*outline: 1px solid red;*/
    /*min-width: 100px;*/
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top .search input {
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    height: 100%;
    width: 100%;
    padding: 5px;
}

.input {
    border: 0;
    padding: 0;
    margin: 0;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
}

.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}





/*****0*****/

.content h1 {
    text-align: center;
    font-weight: normal;
    font-size: 1.2rem;
    margin: 20px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 1.5em;
}

.grid .card {
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-radius: 10px;
}

.grid .card a {
    padding: 20px 0;
    display: block;
    text-decoration: none;
}

.grid .card div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid .card svg {
    margin: 0 auto 20px auto;
    height: 40px;
}

.grid .card:hover {
    /*border-color: var(--samyellow);*/
}

.grid .card:hover svg.svgIcon {
    /*fill: var(--samyellow);*/
}

.grid .card span {
    display: block;
    text-align: center;
    width: 100%;
}

/*****0*****/

.inner_wrapper {
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: stretch;
}

.left {
    min-width: 70px;
    position: relative;
    overflow: hidden;
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    border-right: 1px solid light-dark(var(--light-color), var(--dark-color));
    display: block;
    z-index: 2;
}

@media screen and (orientation:portrait) {
    .left {
        display: none;
    }
    .wrapper:has(#menuToggle:checked) .left { display: block; }

}

@media screen and (orientation:landscape) {
    .left {
        display: block;
    }
}


.right {
    display: block;
    width: 100%;
    min-height: 100vh;
    /*transition: all 0.3s;*/
    /*padding-top: 61px;*/
    overflow: clip;

}

.fade-in-left {
    -webkit-animation: fade-in-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-10-13 16:57:56
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation fade-in-left
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-left {
    0% {
        -webkit-transform: translateX(-50px);
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes fade-in-left {
    0% {
        -webkit-transform: translateX(-50px);
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.fade-in-out {
    animation: fade-in-out 2s ease-in-out forwards;
}

/* keyframes */
@keyframes fade-in-out {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    30% {
        opacity: 1;
        transform: translateX(0);
    }
    70% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px);
    }
}

.fade-out-left {
    -webkit-animation: fade-out-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-out-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

/**
 * ----------------------------------------
 * animation fade-out-left
 * ----------------------------------------
 */
@-webkit-keyframes fade-out-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-50px);
        transform: translateX(-50px);
        opacity: 0;
    }
}

@keyframes fade-out-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-50px);
        transform: translateX(-50px);
        opacity: 0;
    }
}


/*****0*****/

.gutter {
    padding: 1.2rem;
}

/*****0*****/

.scroll_wrap {
    /*position: relative;*/
    /*height: 100%;*/
    /*width: 100%;*/

    overflow: auto;
    height: 100vh;
    width: 100%;
}

.scroll {
    /*padding-bottom: 61px;*/
    /*position: absolute;*/
    /*overflow-y: scroll;*/
    /*width: 100%;*/
    /*height: 100%;*/

    overflow-y: auto;
}

.dash .scroll {
    padding-bottom: 61px;
}

.dash .scroll > div {
    width: 100%;
}

/*****0*****/

.scrollWrapper {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: row;
    height: 100%;
}

.scrollLeft {
    background: light-dark(var(--light-bg2), var(--dark-bg2));
    border-right: 1px solid light-dark(var(--light-color), var(--dark-color));

    position: absolute;
    width: 330px;
    left: 0;
    top: 0;
    height: 100% !important;
    flex: 1 auto !important;
    overflow-y: scroll !important;
    display: block;

}

/*.open .scrollLeft {*/
/*    display: block;*/
/*}*/

.scrollLeft {  }
.wrapper:has(#menuToggle:checked) .scrollLeft { display: none; }





@media screen and (orientation:portrait) {

    .scrollLeft {
        display: none;

        background: light-dark(var(--light-bg2), var(--dark-bg2));
        border-right: 1px solid light-dark(var(--light-color), var(--dark-color));
        z-index: 1;

    }

    .wrapper:has(#menuToggle:checked) .scrollLeft {
        display: block;

    }
}

/*#menu_option:target .scrollLeft { display: block; }*/


.scrollContent {
    /*border-left: 1px solid light-dark(var(--light-color), var(--dark-color));*/
    position: absolute;
    width: calc(100% - 330px);
    height: 100%;
    overflow-y: scroll;
    right: 0;
    top: 0;
}

@media screen and (orientation:portrait) {
    .scrollContent {
        border-left: 0;
        width: 100%;
    }
}

@media screen and (orientation:landscape) {
    .open .scrollContent {
        width: calc(100% - 330px);
    }

    /*.scrollContent { background-color: pink; }*/
    .wrapper:has(#menuToggle:checked) .scrollContent { width: 100%; }
}



/*#menu_option:target .scrollContent { background: red; width: calc(100% - 330px); }*/







/*****0*****/

.mainmenu {
    position: fixed;
    width: 100%;
    max-width: 69px;
    z-index: 2;
    left: 0;
    top: 61px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mainmenu li {
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    border-bottom: 1px solid light-dark(var(--light-color), var(--dark-color));
    height: 70px;
}

.mainmenu li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
}

.mainmenu li a svg {
    width: 100%;
    max-width: 25px;
    height: auto;
}

.mainmenu li a:hover {
}

/*****0*****/



.entry {
    border-bottom: 1px solid light-dark(var(--light-color), var(--dark-color));
    display: flex;
    justify-content: space-between;
}

.switches .entry {
    padding: 1em;
}

.entry:hover {
    background: light-dark(var(--light-bg), var(--dark-bg));
    cursor: pointer;
}

.entry .user {
    width: 100%;
    font-size: 1.2em;
    color: light-dark(var(--light-color), var(--dark-color));;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry .user a {
    width: 100%;
    padding: 1em;
    text-decoration: none;
    color: light-dark(var(--light-color), var(--dark-color));;
}

.entry:hover .user {
    color: var(--samyellow);
}

.entry .active {
    background: light-dark(var(--light-bg), var(--dark-bg));
    color: light-dark(var(--light-color), var(--dark-color));
}

.entry .group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.revers_switches .entry .group {
    width: 100%;
}

.revers_switches .form-switch {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
}

.revers_switches .form-switch .label {
    padding-left: 0;
}

.entry_link span {
    width: 25px;
    height: 25px;
}

.entry .edit {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: light-dark(var(--light-color), var(--dark-color));;
    margin-right: 1em;
}

.entry .edit span {
    margin-right: 0.5em;
}

.entry .dot {
    background-color: var(--red);
    border-radius: 1em;
    width: 1em;
    height: 1em;
}

.entry .dot.red {
    background: var(--red);
}

.entry .dot.orange {
    background: var(--orange);
}

.entry .dot.yellow {
    background: var(--yellow);
}

.entry .dot.green {
    background: var(--green);
}

.entry .dot.blue {
    background: var(--blue);

}

/*****0*****/

form {
    /*outline: red solid 1px;*/
    /*display: grid;*/
    /*gap: 30px;*/
}

form.form-grid {
    padding-bottom: 61px;
}

form.form-grid > div:first-child {
    background: rgb(240, 240, 249);
    background: light-dark(var(--light-bg2), var(--dark-bg2));
    border: 1px solid light-dark(var(--light-color2), var(--dark-color2));
    border-radius: 5px;
}

form.form-grid > div h3 {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.form-grid {
    /*outline: red solid 1px;*/
    display: grid;
    gap: 30px;
    align-items: start;
}

@media screen and (orientation:landscape) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .form-grid-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .form-grid-5 {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }

    .form-grid-6 {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .form-grid-1-150 {
        grid-template-columns: 1fr 150px;
    }

    .form-grid-1-200 {
        grid-template-columns: 1fr 200px;
    }

    .form-grid-1-250 {
        grid-template-columns: 1fr 250px;
    }

    .form-grid-1-300 {
        grid-template-columns: 1fr 300px;
    }

    .form-span-2 {
        grid-column: span 2;
    }

    .form-span-3 {
        grid-column: span 3;
    }

    .form-span-4 {
        grid-column: span 4;
    }

}

.form-group {
    display: grid;
}

/*****0*****/

details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

details {
    background: rgb(240, 240, 249);
    background: light-dark(var(--light-bg2), var(--dark-bg2));
    border: 1px solid light-dark(var(--light-color2), var(--dark-color2));
    border-radius: 5px;
}

details > div {
    margin-top: 1em;
}

details summary {
    position: relative;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
}

details summary svg {
    position: absolute;
    display: block;
    rotate: 90deg;
    width: 15px;
    height: 15px;
    top: 5px;
    right: 10px;
}

details[open] summary svg {
    rotate: 0deg;
    right: 15px;
}

details[open] {
}

/*****0*****/

/* Reset-ish */
.tabs { --gap: 0.5rem; }
.tabs * { box-sizing: border-box; }

.tabs input[type="radio"] {
    position: absolute;
    inline-size: 1px; block-size: 1px;
    margin: -1px; padding: 0; border: 0;
    clip: rect(0 0 0 0); overflow: hidden;
}

/* Tab buttons row */
.tab-buttons {
    display: flex; gap: var(--gap);
    /*border-bottom: 1px solid red;*/
}

.tab-buttons label {
    padding: 0.6rem 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    user-select: none;
}

.tab-buttons label:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Panels */
.tab-panels { padding: 1rem;  border: 1px solid light-dark(var(--light-color), var(--dark-color));
; }
.tab-panels > section { display: none; }

/* Show active tab + basic active styles */
#tab-1:checked ~ .tab-buttons label[for="tab-1"],
#tab-2:checked ~ .tab-buttons label[for="tab-2"],
#tab-3:checked ~ .tab-buttons label[for="tab-3"] {
    /*border-color: #ddd;*/
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-bottom: 0;
    background: light-dark(var(--light-bg2), var(--dark-bg2));
}

#tab-1:checked ~ .tab-panels #panel-1,
#tab-2:checked ~ .tab-panels #panel-2,
#tab-3:checked ~ .tab-panels #panel-3 {
    display: block;
}


/*****0*****/

.searchWrap input,
.form-group input {
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-radius: 5px;
    padding: 0.3rem 1.2rem;
    color: light-dark(var(--light-color), var(--dark-color));
    width: 100%;
}

.searchWrap input {
    border-radius: 100px;
}

input[type="date"],
input[type="time"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    /*color: light-dark(var(--light-color), var(--dark-color));*/
}

/*input[type="date"],*/
/*input[type=time] {*/
/*    color: light-dark(var(--light-color), var(--dark-color));*/
/*    opacity: 1;*/
/*}*/

/*input::-webkit-datetime-edit-fields-wrapper  {*/
/*    color: red;*/
/*    color: light-dark(var(--light-color), var(--dark-color));*/
/*}*/



.form-group input[type="date"] {
    color: light-dark(var(--light-color), var(--dark-color));
    opacity: 1;
}

/* Target the editable text inside the date */
.form-group input[type="date"]::-webkit-datetime-edit {
    color: light-dark(var(--light-color), var(--dark-color));
}

/* Target numbers */
.form-group input[type="date"]::-webkit-datetime-edit-year-field,
.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-day-field {
    color: light-dark(var(--light-color), var(--dark-color));
}

/* ✅ Target the slashes (/) or dashes (-) */
.form-group input[type="date"]::-webkit-datetime-edit-text {
    color: light-dark(var(--light-color), var(--dark-color));
    opacity: 1; /* removes the faded system opacity */
}

/* Optional: calendar icon */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    filter: invert(0);
}

.searchWrap input,
.form-group input,
.form-group select,
.form-group textarea {
    background-color: light-dark(var(--light-bg), var(--dark-bg));
}

.form-group label,
.form-button label {
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    height: 2.5em;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.searchWrap input {
    height: 2em;
    background: url("../assets/search-dark.svg") left center no-repeat;
    padding: 0.3rem 1.2rem 0.3rem 2rem;
    background-size: 30px !important;
}

.light .searchWrap input {
    background: url("../assets/search-dark.svg") left center no-repeat;
}

.dark .searchWrap input {
    background: url("../assets/search-white.svg") left center no-repeat;
}

.form-group textarea {
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-radius: 5px;
    padding: 1ex 2ex;
    color: light-dark(var(--light-color), var(--dark-color));
    width: 100%;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.form-group select {
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-radius: 5px;
    padding: 1ex 2ex;
    color: light-dark(var(--light-color), var(--dark-color));
    width: 100%;
    /*line-height: 1.1;*/
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
}

.form-group-2 select {
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-radius: 5px;
    padding: 1ex 2ex;
    color: light-dark(var(--light-color), var(--dark-color));
    width: 100%;
    /*line-height: 1.1;*/
}

/* For IE10 */
.form-group select::-ms-expand {
    display: none;
}

.form-select > div {
    position: relative;;
}

.form-arrow {
    position: absolute;
    top:0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 40px;
    pointer-events: none;
}

.form-arrow svg {
    width: 10px;
}

.searchWrap {
    padding: 0.5em;
}


/*@supports (appearance: base-select) {*/
/*    .custom-select {*/
/*        !**/
/*          new customizable appearance assignment.*/
/*          this changes what can go inside <select> and*/
/*          exposes parts you can target and style*/
/*        *!*/
/*        &, &::picker(select) {*/
/*            appearance: base-select !important;*/
/*        }*/

/*        !* nice layout for the selected state *!*/
/*        selectedcontent {*/
/*            display: flex;*/
/*            align-items: center;*/
/*            gap: .5ch;*/

/*            !* hide anything not an svg *!*/
/*            > :not(svg) {*/
/*                display: none;*/
/*            }*/
/*        }*/

/*        !* icon at the end with grid *!*/
/*        option {*/
/*            display: grid;*/
/*            padding: 1rem;*/
/*            grid-template-columns: [icon] auto [content] 1fr [mark] auto;*/

/*            &::checkmark {*/
/*                grid-area: 1 / mark;*/
/*            }*/
/*        }*/
/*    }*/
/*}*/



/* Enter into custom mode */

select,
::picker(select) {
    /*appearance: base-select;*/
    /*font: -webkit-small-control;*/
}

select.custom-select,
.custom-select::picker(select) {
    appearance: base-select;
    /*font: -webkit-small-control;*/
    /*background: red;*/
}

.custom-select option::checkmark,
select.custom-select::picker-icon {
    display: none;
}


/* Styling the options list */

.custom-select::picker(select) {
    border-radius: 0.5rem;
    padding: 0;
    box-shadow: 0px 12.8px 28.8px rgba(0, 0, 0, 0.13), 0px 0px 9.2px rgba(0, 0, 0, 0.11);
    /*border: 1px solid #ececec;*/
}

.custom-select option {
    grid-template-columns: 1.5rem 1fr auto;
    padding: 0.5rem 1rem;
    /*  remove when patch is in  */
    place-items: start;

    &:nth-child(even):not(:hover) {
         /*background: yellow;*/
     }

    &:hover {
         /*background: crimson;*/
     }

    .symbol {
        margin-left: 1rem;
    }

    .currency-long {
        /*font-size: 80%;*/
        /*color: #595959;*/
    }

    .symbol {
        justify-self: end;
    }
}

/* Styles for both the options and selectedcontent */

.custom-select option,
.custom-select selectedcontent {
    display: grid;
    gap: 10px;
    font-size: 1rem;
    align-items: center;
}

.custom-select .selected {
    display: flex;
    /*background:black;*/
    width: 100%;
    justify-content: space-between;
}

/* Style what you see before you open the select dropdown */

.custom-select selectedcontent {
    /*padding: 0.5rem;*/
    grid-template-columns: 1.5rem auto;

    .symbol,
    .currency-long {
        display: none
    }
}

.arrow {
    align-self: center;
    transition: rotate 0.25s;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66.49 42.37'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %23221f20; stroke-width: 0px; %7D %3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M3.96,0h58.57c3.37,0,5.2,3.95,3.01,6.52l-29.28,34.46c-1.58,1.86-4.45,1.86-6.03,0L.95,6.52C-1.23,3.95.59,0,3.96,0Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(4);
    width: 0.5rem;
    height: 0.5rem;

    .currency-select:open & {
        rotate: x 180deg;
    }
}

/* etc */

.custom-select [hidden] {
    display: none;
}

/*****0*****/

.form-switch {
    display: flex;
    align-items: center;
}

.form-switch .label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1em;
}

.form-switch .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.form-switch .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.form-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: light-dark(var(--dark-bg), var(--light-bg));
    -webkit-transition: .4s;
    transition: .4s;
}

.form-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    -webkit-transition: .4s;
    transition: .4s;
}

.form-switch input:checked + .slider {
    background-color: var(--samyellow);
}

.form-switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.form-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.form-switch .slider.round {
    border-radius: 34px;
}

.form-switch .slider.round:before {
    border-radius: 50%;
}

.form-button {
    display: grid;
}

.form-button input,
.form-button button {
    border: 0;
    background-color: light-dark(var(--dark-bg), var(--samyellow));
    font-size: 0.9rem;
    border-radius: 5px;
    padding: 1rem 1.2rem;
    color: light-dark(var(--dark-color), var(--black));
    width: 100%;
}

.form-button input {
    cursor: pointer;
}

@media screen and (orientation:landscape) {

    .form-button input {
        height: 3.6em;
    }

}

/*****0*****/

.form-photo {
    /*background: lightpink;*/
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-photo .item {
    height: 0;
    position: relative;
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-radius: 5px;
    overflow: hidden;
}
.form-photo .item.wid48,
.form-photo .item {
    width:48%;
    padding-bottom:48%;
}

.form-photo .item.wid100 {
    padding-bottom: 100%
}

@media screen and (orientation:landscape) {


    .form-photo .item {
        width:22%;
        padding-bottom:22%;
    }


}

.form-photo .item > div {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;

    display: flex;
    align-items: center;
}

.form-photo .item .form-grid > div {
    /*outline: 1px solid red;*/
    position: absolute;
    z-index: 1;
    width: 100%;
}


.form-photo .image_output {
    background-color: light-dark(var(--light-bg), var(--dark-bg));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*z-index: 2;*/
}

.form-photo .image_output img {
    max-width: 80%;
}

.form-photo input {
    border: 0;
    border-radius: 0;
}

.form-photo input[type="file"] {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    z-index: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.form-photo input[type="file"]::file-selector-button {
    opacity: 0;
}

.form-photo label {
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    color: light-dark(var(--dark-color), var(--light-color));
}

.form-photo label svg {
    max-width: 50%;
}

/*****0*****/

.login_page {
    height: 100%;
    display: flex;
}

.login_page > div {
    flex: 1;
    height: 100%;
    overflow: scroll;
}

.login_wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    height: 100%;
}

.login_wrapper > div {
    flex: 1;
}

.login_box_wrap {
    display: flex;
    height: 100%;
    flex-direction: column;
}


.login_box_wrap > div:first-child {
    width: 100%;
}

.login_box_wrap > div {
    flex: 1 1 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_box_wrap > div:first-child {
    padding: 2em;
}

.login_wrap > div {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.login_wrap form > div {
    margin: 1em 0;
}

.login_wrap h1 {
    font-size: 2rem;
    font-weight: normal;
}

.login_wrap a {
    color: var(--samyellow);
}

.login_wrap a:hover {
    text-decoration: underline;
}

@media screen and (orientation:landscape) {
    .login_page {
        height: 100%;
        display: flex;
        position: absolute;
        width: 100%;
    }

    .login_box_wrap {
        flex-direction: row;
    }

    .login_bg {
        background: url("../assets/login_bg.webp") center no-repeat;
        background-size: cover;
    }

    .login_wrap svg {
        display: block;
        /*max-width: 70%;*/
        margin: 0 auto;
    }
}

/*****0*****/

/* Base layout */
.stepper {
    margin: 40px 0;
    position: relative;
}

.stepper-rail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 25px;
}

/* Grey background bar */
.stepper-rail::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 14px;
    background: light-dark(var(--light-bg2), var(--dark-bg2));
    border-radius: 10px;
}

/* Black progress bar (width changes by step) */
.stepper-rail::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    height: 14px;
    background: #000;
    border-radius: 10px;
    transition: width 0.3s;
}

/* Step indicators */
.step {
    position: relative;
    text-align: center;
    font-weight: bold;
    flex: 1;
}

/* Circle */
.step::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: light-dark(var(--light-bg2), var(--dark-bg2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: light-dark(var(--dark-bg), var(--light-bg));
}

/* Step labels */
.step span {
    display: block;
    margin-top: 60px;
    color: light-dark(var(--light-color), var(--dark-color));
}

.stepper .step:nth-child(1)::before {
    content: '1';
}

.stepper .step:nth-child(2)::before {
    content: '2';
}

.stepper .step:nth-child(3)::before {
    content: '3';
}

/* -------- Step states -------- */

/* Step 1 active */
.stepper.step-1 .stepper-rail::after {
    width: 20%;
    background: var(--samyellow);

}
.stepper.step-1 .step:nth-child(1)::before {
    background: var(--samyellow);
    color: var(--dark-bg);
;
}

/* Step 2 active */
.stepper.step-2 .stepper-rail::after {
    width: 50%;
    background: var(--samyellow);
}
.stepper.step-2 .step:nth-child(1)::before,
.stepper.step-2 .step:nth-child(2)::before {
    background: var(--samyellow);
    color: var(--dark-bg);
    z-index: 3;
}

/* Step 3 active (complete) */
.stepper.step-3 .stepper-rail::after {
    width: 100%;
    background: var(--samyellow);

}
.stepper.step-3 .step:nth-child(1)::before,
.stepper.step-3 .step:nth-child(2)::before,
.stepper.step-3 .step:nth-child(3)::before {
    background: var(--samyellow);
    color: var(--dark-bg);
    z-index: 3;
}

/*****0*****/

dialog.gutter {
    padding: 20px;
}

dialog {
    border: 0;
    border-radius: 5px;
    padding: 0;
    /*max-width: 50%;*/
    width: 90%;
    /*min-width: 20%;*/
    background: none;
    position: relative;
    overflow: visible;
}

.modalBox {
    position: relative;
    overflow: hidden;;

    background: light-dark(var(--light-bg2), var(--dark-bg2));
    border: 1px solid light-dark(var(--light-color2), var(--dark-color2));
    border-radius: 5px;
}

dialog .closeModal .svgIcon {
    pointer-events: none;
    border-style: none;
    fill: light-dark(var(--light-bg), var(--dark-bg));
    width: 20px;
    height: 20px;
}

.popup > div {
    background: none;
}

::backdrop {
    background-color: #000;
    opacity: 0.75;
}


dialog.modal[open] {
    animation: fadeInModal 1.0s ease normal;
}

dialog .closeModal {
    text-decoration: none;
    border-style: none;
    content: 'close_small';
    outline: none;
    font-size: 1rem;
    border-radius: 40px;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: light-dark(var(--dark-bg), var(--light-bg));
    color: light-dark(var(--light-bg), var(--dark-bg));
    width: 40px;
    height: 40px;
    position: absolute;
    right: -0px;
    top: -0px;
    z-index: 999999;
    cursor: pointer;
}

dialog .closeModal:hover {
}

dialog .language svg {
    display: flex;
    width: 30px;
    margin-right: 10px;
}

/*****0*****/

.right_top_menu .toggleWrap {
    border: 1px solid light-dark(var(--light-color), var(--dark-color));
    border-radius: 50px;
    display: block;
}

.right_top_menu .themeModeSwitch {
    display: flex;
    justify-content: center;
    border: 2px solid light-dark(var(--dark-color), var(--light-color));
    border-radius: 50px;
    /*width: 40px;*/
}

.right_top_menu .themeModeSwitch input {
    height: 20px;
    width: 20px;
    min-width: 20px;
    display: block;
    appearance: none;
    background-color: light-dark(var(--light-color), var(--dark-color));
    border-radius: 100px;
    cursor: pointer;
    opacity: 0;
    margin: 0;
}

.themeModeSwitch input:checked {
    opacity: 1;
}

