﻿* {
    font-family: 'Söhne-Leicht' !important;
}

.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected, #components-reconnect-modal {
    display: none !important;
}

:root {
    --jadeLightGray: #F1F2F3;
    --jadeBlack: #332E2E;
    /*--jadeGreen: #D2F25C;*/
    --jadeGreen: #ffe137;
    --ramuBlue: #003c8c;
    /*Conditional colors // adjustable*/
    --matkatunti: #ced6d8;
    --omapoissaolo: #ced6d8;
    --hylattytyomaarain: #ec5f5f;
    --sairaspoissaolo: #6db7ca;
    --loma: #f4d985;
    --ajo: #b5dae7;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Söhne-Leicht' !important;
    letter-spacing:0.01rem;
    background-color: #f1f2f34a;
}

/*MV edit*/

header span {
    color: var(--jadeGreen);
    /*text-shadow: 1px 0 var(--jadeBlack), -1px 0 var(--jadeBlack), 0 1px var(--jadeBlack), 0 -1px var(--jadeBlack);*/
    -webkit-text-stroke: 1px var(--jadeBlack);
}
/*Definition below might be obsolete if we go with SVG logo route. Lol*/
header .navbar-brand {
    font-size: 1.7em;
    font-weight: 700;
    color: var(--jadeBlack) !important;
    margin-left: 25px;
}

    header .navbar-brand img {
        width: 140px;
        margin-top:-5px;
    }

header .navbar {
    background-color: var(--jadeLightGray) !important;
    height: 109px;
}

button.navbar-toggler {
    margin-left: auto;
}
.scroll-container{
    max-height:200px;
    overflow-y:scroll;
    padding-left: 20px;
    border-left:2px solid var(--jadeGreen);
}
.navbar-collapse {
    background-color: var(--jadeLightGray);
    z-index: 3;
    padding: 10px;
}

/* Initial fix for navbar responsiveness */
.navbar > .container-fluid {
    flex-wrap: wrap !important;
}

/*Sign-in styling*/
.sign-in form {
    display: flex;
    flex-direction: column;
    width: 75%;
    margin: 30px auto;
}
.ck-editor__editable {
    min-height: 200px;
}
.sign-in input {
    text-align: center;
    height: 35px;
    margin-top: 8px;
    border: solid 1px #707070
}

    .sign-in input[type = submit] {
        width: 50%;
        height: auto;
        padding: 10px;
        margin: 18px auto;
        background-color: var(--jadeGreen);
        border: 4px solid #F0F1F3;
        font-weight: 700;
        font-size: 1.1em;
    }
/*Generic reusable classes */
.space-below {
    padding-bottom: 10px;
}

.space-above {
    margin-top: 38px;
}

/* Main and WorkdOrders*/
main {
    width: 90%;
    margin: 25px auto;
}

    main hr {
        margin-top: 3px;
        border: solid 2px var(--jadeGreen);
        width: 80%;
    }

    main * {
        white-space: normal;
    }

h2 {
    font-weight: 600;
}

a {
    text-decoration:none;
    color: var(--ramuBlue);
}
.migrate {
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 20px;
    font-weight: bold;
}
.expense-block img{
    max-width:100%;
}
.control-container div {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    padding: 0px 20px
}
/*Accordion CSS definitions*/
.accordion {
    /*background-color: #eee;*/
    background-color: white;
    color: #444;
    cursor: pointer;
    padding: 7px 18px 18px 18px;
    width: 100%;
    border: solid 1px #CCCBCB;
    /*border: none;*/
    text-align: left;
    outline: none;
    font-size: 17px;
    transition: 0.4s;
    margin-top: 18px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.08);
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.08);
}

    .active, .accordion:hover {
        /*background-color: #ccc;*/
    }

.active {
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom: none;
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.08);
    -webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.08);
}

.work-start-date {
    text-align: center;
    font-size: 1.1em;
    margin: 0 auto;
    font-weight: 400;
    margin-bottom: 5px;
}

.work-label {
    font-size: 0.8em;
    color: #686868;
    margin-top: 5px;
}

.panel {
    border: solid #CCCBCB;
    border-width: 0px 1px 1px 1px;
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.08);
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.08);
}

    .panel form {
        padding-bottom: 10px;
    }

.work-container {
    border-top: 1px solid var(--jadeGreen);
    font-size: 1.1em;
    display: flex;
    justify-content: left;
    gap: 1px;
    flex-direction: column;
}

.work-segment {
    display: flex;
    padding: 20px 0px 0px 0px;
    flex-direction: column;
}

.work-controls {
    display: flex;
    flex-direction: row;
    padding-bottom: 30px;
    justify-content: left;
}

span#currentWorkTime {
    font-weight: 900;
    margin-top: 10px;
    padding: 10px;
    background-color: var(--jadeGreen);
    display: inline-block;
}

/* Button and input definitions*/
main input[type="button"], main input[type="submit"], input[type="reset"], button {
    margin: 10px 0px 10px 0px;
    appearance: none;
    background-color: #FAFBFC;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
    box-sizing: border-box;
    color: #24292E;
    cursor: pointer;
    display: inline-block;
    font-family: 'Söhne-Leicht' !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    list-style: none;
    padding: 6px 16px;
    position: relative;
    transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: break-word;
}


    main input[type = submit]:hover, main input[type=button]:hover, button:hover {
        background-color: #F3F4F6;
        text-decoration: none;
        transition-duration: 0.1s;
    }




/* Work controls */


.work-controls input[type = submit] {
    background-color: var(--jadeLightGray);
    padding: 10px 20px;
}

.work-controls form {
    align-self: end;
}

.denied, denied:hover {
    background-color: palevioletred !important;
}

.accepted, accepted:hover {
    background-color: lightgreen !important;
}

.work-note {
    border-radius: 3px;
    background-color: #F1F2F3;
}

    .work-note i {
        white-space: pre-wrap;
    }

/* Past work definitions */


.past-work-orders-section .work-start-date {
    font-size: 0.9em;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
}

.past-work-orders-section {
    margin-bottom: 45px;
    max-height:600px;
    overflow-y:scroll;
    border-bottom:5px solid var(--ramu-beige);
}

    .past-work-orders-section form {
        font-size: 1.1em;
    }

    .past-work-orders-section accordion {
        font-size: 15px;
    }

.past-work-section1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.past-work-section2 {
    display: flex;
    flex-wrap: wrap;
}


.past-work-section1 div {
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

    .past-work-section1 div input {
        width: 50px;
    }

    .past-work-section1 div .comment {
        width: 100%;
    }

.past-work-section2 div input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.past-work-section2 div {
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.past-work-orders-section input {
    margin-right: 25px;
}

.past-work-orders-section label {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.past-work-orders-section input[type = submit] {
    margin-top: 0px;
}


/* Special Test for making data grid user friendly to mobile with horizontal scroll */
#order-listing, #order-listing-past {
    overflow-x: auto;
}



.gui-grid {
    /*min-width:1000px;*/
    /*min-width:800px;*/
}

.gui-structure-info-panel {
    justify-content: start !important;
    gap: 25px;
}

/*Edit workorder specific stylings*/

#submitWorkOrder .work-form-wrap {
    overflow-x: scroll;
}

#submitWorkOrder .work-form-section {
    min-width: 1000px;
}

/* Formatting work order management */
select {
    border: solid #c6c3c3 1px;
    height: 28px;
    min-width: 80px;
}

main h1:first-of-type {
    /* Patience young grasshopper*/
}

form h2 {
    margin-top: 30px;
}

form p {
    margin-bottom: 5px;
}

option {
    font-size: 1.3em;
}

.gui-header .gui-header-cell .gui-header-title div {
    font-size: 1.1em;
}

#order-listing span {
    font-size: 1.1em;
}

#order-listing .gui-row {
    /*height:100px !important;*/
}

/* Definitions for admin control view */
#admin-control h2 {
    /*margin-top: 45px;*/
}

#admin-control #role-listing {
    margin-top: 45px;
    margin-bottom: 12px;
    overflow-x: scroll;
}

    #admin-control #role-listing .gui-grid {
        min-width: 449px;
    }

#admin-control #role-adding {
    margin-top: 42px;
}

    #admin-control #role-adding form {
        width: 80%;
        display: flex;
        gap: 15px;
        flex-direction: column;
    }

    #admin-control #role-adding label {
    }

#admin-control #tes-section {
    margin-top: 42px;
}

#admin-control #TES-listing {
    margin-bottom: 12px;
    overflow-x: scroll;
}

    #admin-control #TES-listing gui-jquery-grid {
        min-width: 1000px;
    }

#admin-control #tes-adding {
    margin-top: 42px;
}


/* Settings page */

#settings-page h1 {
    margin-bottom: 30px;
}

#settings-page>div {
    margin-bottom: 52px;
}

#settings-page h2 {
    margin-bottom: 24px;
}

#settings-page h3 {
    margin-bottom: 10px;
}

#settings-page form small:first-of-type {
    display: inline-block;
    margin-top: 13px;
}

#settings-page input {
    min-width: 200px;
}

#settings-page #settings-info-section input {
    display: block;
}

#settings-page input {
    margin-bottom: 9px;
}

#settings-page #settings-info-section hr {
    margin-top: 20px;
}

#settings-page .checkbox {
    width: 30px;
    min-width: 30px;
}

/* Report center \o/  */

/* added "button" rule to earlier button definition above ^^*/

/* Pls change hotpink to #ffcae4*/


/* Media query*/

@media only screen and (max-width: 375px) {

    .work-controls form#denyWork {
        margin-left: 15px !important;
    }

    .addition-text {
        height: 45px !important;
    }
}

@media only screen and (min-width: 768px) {
    .navbar-nav {
        align-items: center;
    }
    #admin-control #role-adding form {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }
}


@media only screen and (min-width: 1200px) {
    #submitWorkOrder .work-form-wrap {
        overflow-x: unset;
    }
}

/* CEO's input to front-end*/
.extra-rows input {
    width: 50px;
}

.extra-rows span {
    background-color: lightblue;
    border-radius: 5px 0px 0px 5px;
    height: 30px;
    display: inline-block;
    padding-left: 5px;
    margin-right: 5px;
}

.report-filters th {
    padding: 5px 10px;
}

.underchain-hour, .underchain-hour td {
    background-color: lightpink;
    padding: 0px 0px 0px 5px !important;
}

.report-padding input[type=checkbox] {
    accent-color: white;
}

.report-padding textarea {
    width: 100%;
    height: 100px;
    padding: 0px 0px;
    border-radius: 0px;
}

.workcenter-worktable {
    width: 100%;
}
    .workcenter-worktable input{
        border:none;
    }

    .workcenter-worktable td, .workcenter-worktable th {
        border: 1px solid black;
        padding: 3px;
        word-break: break-all;
    }

.r-report-table {
    width: 450px;
}

    .r-report-table td {
        border: 1px solid black;
        padding: 3px;
    }

#unconfirmed-listing, #my-order-listing, #all-order-listing {
    overflow-x: scroll;
    margin-top: 38px; /* MV add*/
}

    #unconfirmed-listing gui-jquery-grid, #my-order-listing gui-jquery-grid {
        min-width: 1000px;
    }

.see-me-button {
    background-color: var(--jadeGreen) !important;
    margin-top: 20px !important;
    width: 100%;
    margin-bottom: 40px !important;
}

.travel-row {
    background-color: lightyellow !important;
}

.drive-row {
    background-color: lightblue !important;
}

.report-detail-section .gui-structure-container {
    display: none;
}

.show .gui-structure-container {
    display: block !important;
}

.hide {
    display: none !important;
}

.hide-btn {
    display: none !important;
}

.gui-content > .chainable-row.gui-row, .chainable-row {
    background-color: #ffcae4 !important;
}

.hiderows .gui-structure-container {
    display: none;
}

.ownAbsence {
    background-color: lightgrey !important;
}

.sickAbsence {
    background-color: violet !important;
}

.holidayAbsence {
    background-color: lightgreen !important;
}

.right {
    float: right;
}

.edited {
    background-color: lightyellow;
}
.excel-icon {
    background-image: url("/content/Microsoft_Office_Excel_(2019–present).svg");
    height:20px;
    width:20px;
    display:inline-block;
    margin-bottom:-5px;
    margin-right:10px;
}
.report-row-title {
    padding: 5px;
    margin-left: -30px;
    padding-left: 30px;
    background-color: var(--jadeGreen);
}

.single-order-row {
    border-left: 2px solid var(--jadeGreen);
    padding-left: 30px;
    margin-left: -32px;
}

.single-role-row h4 {
    font-weight: bold;
}

.single-role-row {
    padding-top: 20px;
}

.report-summary {
    background-color: var(--jadeGreen);
    margin-left: -50px;
    padding-left: 50px;
    padding-bottom: 10px;
}

.order-summary {
    background-color: var(--jadeLightGray);
    padding: 5px;
    padding-left: 30px;
    margin-left: -30px;
    font-weight: bold;
}

.btn-addwork {
    border-radius: 50px;
    margin: 0 auto;
    background-color: var(--jadeGreen);
}

.scroll-box {
    height: 200px;
    border: 1px solid var(--jadeLightGray);
    border-radius: 3px;
    overflow-y: scroll;
    padding: 20px;
}

    .scroll-box p {
        margin-bottom: 0px;
    }

    .scroll-box ul {
        list-style-type: circle;
    }

#product-listing .gui-button-group button {
    padding: 2px !important;
    margin-left: 5px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: white;
    resize: none;
}

.message-text {
    white-space: break-spaces;
    overflow-wrap:break-word;
}

#messagePortal {
    margin-bottom: 20px;
}

.smol-notification {
    background-color: red;
    color: white;
    text-decoration: none;
    font-weight: bold;
    z-index: 2;
    position: absolute;
    margin-left: -10px;
    padding: 0px 7px;
    border-radius: 50px;
}

.addition-text {
    display: inline-block;
    width: 100%;
    height: 25px;
    color: red;
}

.printBody {
    width: 1720px !important;
}

@media print {
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    html:has(.smol-report), body:has(.smol-report) {
        max-width: 1300px;
    }
    .billing-comments {
        display: none;
    }

    button {
        display: none;
    }

    body {
        zoom: 0.60 !important;
        width: 1920px !important;
    }

    header {
        display: none;
    }

    .noprint {
        display: none;
    }

    body > .container {
        max-width: 100%;
    }

        body > .container > main {
            width: 100%;
        }

    .report-padding {
        padding: 100px;
    }
}

.report-buttonandfreeform-section {
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.report-freeform-section {
    width: 100%;
    flex: 1;
}

    .report-freeform-section textarea {
        height: 75%;
    }

.gui-display-grid > .gui-date-picker-day.gui-date-picker-selected-day {
    pointer-events: all;
}

.workprint-table td, .workprint-table th {
    padding-right: 20px;
    border: 1px solid lightgray;
}

.workprint-summary {
    background-color: var(--jadeLightGray);
}



/* Work Center UI-iterations MV*/
/* Introducing "new" color scheme*/
:root {
    --ramu-beige: #F2EBDF;
    /*--ramu-yellow: #F2D335;  This is official color, but went with a lighter shader below*/
    --ramu-yellow: #ffdd30;
    --ramu-dark: #173232;
}

/* Wraps everything in workcenter view (component) */
.workcenter-wrapper {
}

    .workcenter-wrapper hr {
        border: 2px solid var(--ramu-yellow);
        border-radius: 20px;
    }


/* Work center - filters*/

.wc-filters {
    padding: 15px 3px 30px 30px;
    background-color: var(--ramu-beige);
    border-radius: 3px;
    border: 2px solid #cbd0d04a;
    color: #173232;
    margin-bottom: 15px;
    display: flex; /* setting up for location segment*/
    gap: 1.5%;
    /*min-width: 1300px;*/ /* For maintining background and clarity, if someone wants to use this full sized woc with phone.*/
}
.side-filters {
    flex-direction:column;
    gap:20px;
}

    .wc-filters hr {
        margin: 1px 0px 7px;
        width: 30%;
    }

    .wc-filters h4 {
        margin-bottom: 0px;
        font-weight: 700;
    }

    .wc-filters p {
        margin-bottom: 3px;
        font-weight: 600;
    }

/* Time filter segment related*/
.wc-time-filters {
    border-right: 1px solid #e6dccb;
    padding-right: 10px;
    /*width:60%;*/
}

/* location filter segment related*/
.wc-location-filters {
    /*width:40%;*/
}

    .wc-location-filters .wc-locations {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 5px;
        min-width: 300px;
    }

        .wc-location-filters .wc-locations div {
            min-width: 140px;
        }

        .wc-location-filters .wc-locations button {
            margin-top: 0px;
            margin-bottom: 0px;
            width: 100%;
        }

.location-selected {
    background-color: var(--ramu-yellow);
    border-color: rgba(27, 31, 35, 0.15);
    border-width: 2px;
}


.wc-location-filters .wc-locations div label {
    /* min-width:230px; */
}

/* misc related to WOC filters */

.wc-filters .arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.wc-filters .ar-left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.wc-filters .ar-right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.wc-filters .btn-small {
    height: 35px;
    background-color: #f8edb5;
}

.wc-filters .week-controls {
    display: flex !important;
    align-items: center;
}

    .wc-filters .week-controls button {
        font-weight: 600;
    }

    .wc-filters .week-controls div {
        margin: 10px 3%;
    }

    /* Date calendar */

    .wc-filters .week-controls input[type=date] {
        border-radius: 6px;
        border-color: #e1d1b7;
        padding: 5px;
        border-style: solid;
    }

    .wc-filters .week-controls form {
        align-items: center;
        flex-direction: row-reverse;
        gap: 2%;
        justify-content: flex-end;
    }

        .wc-filters .week-controls form p {
            font-weight: 700;
        }

/* Day controls */
.wc-filters .day-controls {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

    .wc-filters .day-controls button {
        border: 1px solid #e1d1b7;
        margin-right: 2px;
    }
.scheduler-cell{
    position:relative;
    text-align:center;
}
.today {
    box-shadow: inset 5px 0 var(--ramu-yellow), inset -5px 0 var(--ramu-yellow) !important;
}
.modal-button {
    background-color: var(--ramu-yellow);
    position:absolute;
    margin:10px;
    right:0px;
    top:0px;
}
.clickable{
    cursor:pointer;
}
.modal-bg-blur{
    background-color:white;
    opacity:0.3;
    width:100%;
    height:100%;
    position:absolute;
    z-index:1;
}
.modal-active {
    position: absolute;
    width: 400px;
    height: auto;
    text-align:left;
    bottom:10px;
    left:10px;
    padding: 15px 3px 30px 30px;
    background-color: var(--ramu-beige);
    border-radius: 3px;
    border: 2px solid #cbd0d04a;
    color: #173232;
    z-index:5;
}
    .modal-active .arrow {
        height: 20px;
        width: 20px;
        margin: 5px;
        position: absolute;
        left: 0px;
        bottom: 0px;
        border-left: 3px solid var(--ramu-yellow);
        border-bottom: 3px solid var(--ramu-yellow);
        box-shadow: -3px 3px 2px 0px rgba(150,150,150,0.8);
    }
.action-bar {
    display:flex;
    gap:20px;
}
.st-header {
    position: sticky;
    top: 0;
    z-index:5;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    border: 1px solid rgba(34, 36, 38, 0.1);
}
/* Work center Table tuning */
.workcenter-wrapper .wc-actions {
    display: flex;
    gap: 6px;
}

    .workcenter-wrapper .wc-actions button,
    .workcenter-wrapper .wc-actions input {
        padding-top: 15px;
        padding-bottom: 15px;
    }

.workcenter-wrapper table thead tr {
    background-color: #f9fafb;
    border-width: 0 0 2px;
    border-color: #2224261a;
    font-size: 0.9em;
}

.workcenter-wrapper table th, .workcenter-wrapper table td {
    border: 1px solid #2224261a;
}


/* Attempts at UX */

.workcenter-wrapper {
    /*--wc-red: #ef4e7b;*/
    --wc-red: #FF7100;
    /* background for unaccepted? */
    --wc-purple: #a782ec;
}

    .workcenter-wrapper table .unsaved-changes {
        border-left: 2px solid var(--wc-red);
    }

    /* ! exclamation - This relies, that workorders appear in rows of two.*/

    .workcenter-wrapper tbody tr:nth-of-type(2n) td:first-child.unsaved-changes::before {
        color: var(--wc-red);
        font-weight: 900;
        font-size: larger;
        background-color: #f7e84a;
        border-radius: 20%;
        z-index:10;
        padding: 0.4% 0.4%;
        content: '!';
        /* height: 100%; */
        position: absolute;
        left: 0.91%;
    }

    .workcenter-wrapper .work-center-roles button {
        font-weight: 700;
    }

    #w-scheduler{
        width:100%;
        display:block;
    }
    #w-scheduler table{
        width:100%;
    }
    #w-scheduler th{
        text-align:center;
    }

/* Button animation for unsaved changes */

.btn-unsaved-changes {
}


.btn-unsaved-changes {
    --borderWidth: 5px;
    /*background: #1D1F20;*/
    position: relative;
    border-radius: var(--borderWidth);
}

    .btn-unsaved-changes:after {
        content: '';
        position: absolute;
        --deg1: 60deg;
        top: calc(-1 * var(--borderWidth));
        left: calc(-1 * var(--borderWidth));
        height: calc(100% + var(--borderWidth) * 2);
        width: calc(100% + var(--borderWidth) * 2);
        /*background: linear-gradient(var(--deg1), #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);*/
        /*background: linear-gradient(60deg, rgba(166,35,3,1) 0%, rgba(255,221,48,1) 25%, rgba(166,35,3,1) 50%, rgba(255,221,48,1) 75%, rgba(166,35,3,1) 100%);*/
        background: linear-gradient(60deg, rgba(255,221,48,1) 0%, rgba(255,221,48,1) 32%, rgba(255, 113, 0, 1) 35%, rgba(255, 113, 0, 1) 60%, rgba(255,221,48,1) 63%, rgba(255,221,48,1) 75%);
        border-radius: calc(2 * var(--borderWidth));
        z-index: -1;
        animation: animatedgradient 10s ease-in-out alternate infinite;
        background-size: 400% 300%;
    }


@keyframes animatedgradient {
    0% {
        /*--deg1:60deg;*/
        background-position: 0% 50%;
        /*background: linear-gradient(0deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);*/
    }


    100% {
        /*--deg1:60deg;*/
        background-position: 100% 50%;
        /*background: linear-gradient(0deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);*/
    }
}




/* Slight mediaquery tweaks to woc - Not meant for mobile, but to react slight changes*/

@media only screen and (max-width: 1350px) {
    .wc-time-filters {
        width: 50%;
    }
    .expense-block .expense-section > div {
        display: block;
        margin-bottom: 10px;
    }
    .wc-filters {
        min-width: 1100px;
    }
}


/*----------*/




/*WorkCenter UI-swag*/

#work-center input, #work-center textarea {
    display: block;
    margin: 0 auto;
    border-radius: 0px;
    border: 1px solid lightgrey;
}

#work-center input, #work-center select {
    width: 100%;
}

#work-center, .work-center-roles {
    width: 100%;
}

#work-center {
    border-bottom: 1px solid black;
}

    #work-center td, #work-center th {
        /* border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black; */
    }

    #work-center th {
        padding: 5px;
    }

    #work-center td {
        vertical-align: top;
    }

    #work-center textarea, #expense-center textarea {
        padding: 0px !important;
        resize: vertical;
        height: auto;
        min-height: 30px;
    }

    #work-center .work-center-roles td, #work-center .work-center-roles th {
        border: none;
        font-size: 0.9em;
    }

    #work-center .work-center-roles input {
        display: inline-block;
        margin: 0;
        height: 22px;
    }

    #work-center input, #work-center select {
        min-height: 30px;
    }

.work-center-selected-workorder {
    position: fixed;
    width: 1200px;
    margin-left: -610px;
    left: 50%;
    height: auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 30px lightgray;
    border-radius: 5px;
    z-index: 40;
    top:50px;
}

.workcenter-infochart td, .workcenter-infochart th {
    border: 1px solid lightgrey;
    padding: 5px;
}
/* CEO's input to front-end*/

.quick-work-control > form > div > label {
    font-size: 0.9em;
    display: block;
}

.quick-work-control p {
    font-weight: bold;
}

.quick-work-control .quickform-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px
}

    .quick-work-control .quickform-row label {
        display: block;
        font-size: 0.9em
    }

.quick-work-control select {
    width: 100%;
    margin-bottom: 10px
}

.quickform-fullrow input {
    width: 100%;
}

.quickform-fullrow {
    margin-bottom: 20px;
}

.quick-work-control textarea {
    resize: vertical;
    height: auto;
    margin-bottom: 20px;
    padding: 0px;
}

.quick-work-control .role-box-quickform input {
    width: 30px;
    text-align: center;
    font-weight: bold;
}

.role-box-quickform {
    margin-bottom: 20px;
}

    .role-box-quickform button {
        padding: 2px 8px;
        margin: 0px 2px;
    }

.billed-contract-comments{
    background-color:lightgrey;
    margin-bottom:20px;
}
.billed-contract-comments p{
    margin:0;
}
.customer-order-note{
    transform:rotate(-90deg);
    position:absolute;
    width:100px;
    margin-top:10px;
    margin-left:-65px;
}
.stackable-row{
    background-color:aqua;
}

.expense-block{
    border-radius:5px;
    border:1px solid lightgrey;
    padding:10px;
    margin-bottom:10px;
    margin-right:10px;
    max-width:800px;
}
.expense-section>div{
    display:table-cell;
}
.expense-block .expense-value {
    border-radius: 5px;
    border: 1px solid #DDD;
    background-color:ghostwhite;
    display:inline-block;
    padding:5px;
    margin-bottom:10px;
}
.expense-section a {
    border-radius: 5px;
    border: 1px solid #DDD;
    background-color: ghostwhite;
    display: inline-block;
    padding: 5px;
    margin-bottom: 10px;
}



.orderform-container {
    --ramu-primary-yellow: #FFE137;
    --ramu-secondary-beige: #FFE6AA;
    --ramu-secondary-green: #173232;
    --ramu-secondary-red: #3C1E28;
}

    .orderform-container hr {
        /* border: 2px solid var(--ramu-yellow);
    border-radius: 20px;
    margin: 0 auto;
    max-width:500px;*/

        width: 100%;
        opacity: 1;
        border: none;
        height: 4px;
        background: linear-gradient(to right, rgba(255, 221, 48, 0), rgba(255, 221, 48, 1), rgba(255, 221, 48, 0));
        border-radius: 20px;
        margin: 0 auto;
        max-width: 700px;
    }

    .orderform-container > h1:first-of-type {
        margin-bottom: 2px;
    }

#ramudden-logo {
    width: 45%;
    margin-bottom: 11px;
}

/* tilauslomakkeen minivalikko */
.orderform-tabs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    /*margin-bottom:25px;*/
    margin-top: 29px;
}

.orderform-tab {
    padding: 30px 15px;
    width: 40%;
    max-width: 300px;
    background-color: #e6e6e6;
    font-weight: 600;
    font-size: 1.3em;
    border-radius: 7px 7px 0px 0px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .orderform-tab:hover {
        /*background-color: #e2d8c6;*/
        background-color: #f8efdb;
    }


.orderform-tab-active {
    /*background-color: var(--ramu-primary-yellow);*/
    background-color: #f8ecd1;
}


/* tilauslomakkeen kenttien ja otsikoiden tyylittelyt */
.orderform-container {
    width: 100%;
    text-align: center;
}


.orderform-tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 5%;
    background-color: #f8ecd1;
    border-radius: 10px;
}

.orderform-tab-content-active {
    display: block;
}

.orderform-tab-content form {
    margin-top: 28px;
    font-size: 1.2em;
    text-align: left;
}

    .orderform-tab-content form label {
        margin-left: 15px;
    }

.orderform-tab-content .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

    .orderform-tab-content .form-group input, .orderform-tab-content .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
        transition: border-color 0.3s;
    }

        .orderform-tab-content .form-group input:focus, .form-group textarea:focus {
            border-color: var(--ramu-primary-yellow);
            outline: none;
        }

    .orderform-tab-content .form-group textarea {
        resize: vertical;
    }

.hover-highlight:hover {
    background-color: #DFDFDF;
}
.orderform-tab-content button {
    display: block;
    margin: 0 auto;
    margin-top: 25px;
    padding: 20px 30px;
    background-color: var(--ramu-primary-yellow);
    color: black;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .orderform-tab-content button:hover {
        background-color: #f3d941;
    }

.infobank-description {
    display: inline-block;
    margin-left: 10px;
    padding-bottom: 10px;
}

@media only screen and (max-width: 767.98px) {
    .infobank-open-btn{
        width:100%;
    }

    .action-bar {
        flex-direction:column;
    }
    .infobank-description {
        display: block;
    }
    #ramudden-logo {
        width: 75%;
    }

    .orderform-tab-content {
        border-radius: 0px 0px 10px 10px;
    }

    .orderform-tab {
        width: 50%;
        padding: 25px 10px;
        font-size: 1.25em;
    }

    .orderform-tabs-container {
        gap: 20px;
    }
}


@media only screen and (max-width: 575.98px) {
    .orderform-tab {
        font-size: 1.15em;
        width: 50%;
        height: unset;
        padding: 25px 10px;
        align-self: stretch;
    }

    .orderform-tabs-container {
        gap: 10px;
    }
}

@media only screen and (max-width: 375.98px) {
    .orderform-tab {
        font-size: 1em;
        width: 50%;
        height: unset;
        padding: 25px 10px;
        align-self: stretch;
    }

    .orderform-tabs-container {
        gap: 10px;
    }
}


.woc-sidenotation {
    position: absolute;
    bottom: -15px;
    font-size: 0.7em;
    text-wrap: nowrap;
}