﻿.file, .input, .select, .textarea, input[type="datetime-local"],
input[type="email"], input[type="file"], input[type="month"],
input[type="number"], input[type="password"], input[type="search"],
input[type="tel"], input[type="text"], input[type="time"],
input[type="url"], input[type="week"], select, textarea {
    border-radius: 3px;
}

    button: focus, input:focus, select:focus, .button::after focus, .input:focus, .select:focus {
        outline: 0;
        box-shadow: none !important;
    }

    .file.focused, .file:focus, .input.focused, .input:focus, .select.focused, .select:focus, .textarea.focused, .textarea:focus, input[type="datetime-local"].focused, input[type="datetime-local"]:focus, input[type="email"].focused, input[type="email"]:focus, input[type="file"].focused, input[type="file"]:focus, input[type="month"].focused, input[type="month"]:focus, input[type="number"].focused, input[type="number"]:focus, input[type="password"].focused, input[type="password"]:focus, input[type="search"].focused, input[type="search"]:focus, input[type="tel"].focused, input[type="tel"]:focus, input[type="text"].focused, input[type="text"]:focus, input[type="time"].focused, input[type="time"]:focus, input[type="url"].focused, input[type="url"]:focus, input[type="week"].focused, input[type="week"]:focus, select.focused, select:focus, textarea.focused, textarea:focus {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

.bg-tartuMill {
    background-color: #6BBA2A !important;
}

.dataTables_filter {
    width: 260px;
}

    .dataTables_filter label {
        line-height: 35px;
        margin: 10px 0 15px 0;
        float: left;
        text-align: start;
        width: 100%;
    }

    .dataTables_filter input {
        width: 200px;
        float: right;
    }

.saveButton {
    background-color: #C60F13 !important;
    color: #ffffff !important;
}

.saveButton-active:active {
    background-color: #C60F13 !important;
    color: #ffffff !important;
}

.saveButton-hover:hover {
    background-color: #C60F13 !important;
    color: #ffffff !important;
}

.saveButton-focus:focus {
    background-color: #C60F13 !important;
    color: #ffffff !important;
}

.accordion > .frame > .heading {
    /*margin: -2px -1px !important;*/
    margin: -1px -5px 0px -5px;
    background-color: #f6f6f6;
}

.dialog {
    /*RK:Modal background bug fix*/
    display: block;
    margin: 24px auto;
}

/*start - Modal min-width*/
@media screen and (min-width: 0) {
    .dialog {
        min-width: calc(100vw - 16px);
        min-height: calc(100vh - 50px);
    }
}

@media screen and (min-width: 576px) {
    .dialog {
        min-width: calc(100vw - 100px);
        min-height: calc(100vh - 100px);
    }

    .cell-sm, cell-sm-5, cell-sm-7 {
        padding: 0 2px 0 0px;
    }

    .colspan-sm-7, .cell-sm-7 {
        left: 10px;
    }
}

@media screen and (min-width: 768px) {
    .dialog {
        min-width: calc(100vw - 100px);
        min-height: calc(100vh - 100px);
    }
}

@media screen and (min-width: 992px) {
    .dialog {
        min-width: 992px;
        min-height: 992px;
    }
}

@media screen and (min-width: 1200px) {
    .dialog {
        min-width: 1100px; /*1100px*/
        min-height: auto !important; /*1100px*/
        /*min-height: 600px !important; Changed 20.03.22 because binding dialog is too tall*/
    }
}

@media screen and (min-width: 1452px) {
}

/*end - Modal min-width*/

/*start - Modal smalldialog min-width*/
.importxlsdialog {
    top: 50px !important;
    max-height: calc(100vh - 100px) !important;
}

.importxlsdialog .dialog-content {
    max-height: calc(100vh - 220px) !important;
}

@media screen and (min-width: 0) {
    .smalldialog {
        min-width: calc(100vw - 50px);
        min-height: 120px;
        max-width: calc(100vw - 50px);
        max-height: calc(100vh - 50px);
        margin: 0px !important;
    }
}

@media screen and (min-width: 576px) {
    .smalldialog {
        min-width: 500px;
        min-height: 120px;
    }
}

@media screen and (min-width: 768px) {
    .smalldialog {
        min-width: 500px;
        min-height: 120px;
    }
}

@media screen and (min-width: 992px) {
    .smalldialog {
        min-width: 500px;
        min-height: 120px;
    }
}

@media screen and (min-width: 1200px) {
    .smalldialog {
        min-width: 500px;
        min-height: 120px;
    }
}

@media screen and (min-width: 1452px) {
}

/*end - Modal smalldialog min-width*/

.button.customicon {
    font-size: 12px;
    padding: 0px;
    height: 35px;
    line-height: 30px;
    vertical-align: text-top;
    margin: 5px 5px 5px 0px;
}

    .button.customicon img {
        height: 1.9rem;
    }

.customiconSmall {
    vertical-align: text-top !important;
    border: 0px none;
    cursor: pointer;
}



.select {
    max-width: 350px;
}

    .select .d-menu {
        overflow-x: hidden;
    }

.login-form {
    height: auto;
    opacity: 0;
    -webkit-transform: scale(.8);
    transform: scale(.8);
    width: 98%;
    max-width: 27rem;
    border: 0px none;
    box-shadow: none;
}

.tartuMillBg {
    background-image: url("/images/login_background.jpeg");
    background-size: cover; /* <------ */
    background-repeat: no-repeat;
    background-position: center center;
}

.customcollapse tbody tr td {
    font-weight: bold;
}

    .customcollapse tbody tr td + td {
        font-weight: normal;
    }

.clickedit {
    cursor: pointer;
}

.rowaction {
    padding: 0 .7rem;
    font-size: 1.1rem;
    line-height: 30px;
    height: 30px;
    border-radius: 3px;
}

/*Modal dialog danger text smaller*/
.modal-dialog .text-danger {
    font-size: 14px;
    vertical-align: top;
}

/*Modal text label center*/
label {
    margin-bottom: 0rem;
}

.logoImage {
    height: 25px;
    margin: 0px;
}

@media (min-width: 576px) {
    label {
        margin-bottom: .1rem;
        margin-top: .4rem;
    }

    .logoImage {
        height: 25px;
        margin: 20px;
    }
}

.importdeliverybutton {
    background: url(../images/icon-plus.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 3px;
    padding: 0px;
}

.additembutton {
    background: url(../images/icon-plus.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 3px;
    padding: 0px;
}

.syncdeliverybutton {
    background: url(../images/cloud-data-sync-icon.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px -2px 3px 3px;
    padding: 0px;
}

.synclogbutton {
    background: url(../images/sync_history_icon.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 3px;
    padding: 0px;
}

.addbutton {
    background: url(../images/icon-plus.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 3px;
    padding: 0px;
}

.deliverysetupbutton {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 3px;
    padding: 0px;
    font-size: 1.7rem;
}

.testrequestbutton {
    background: url(../images/icon-testrequest.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px -2px 3px 3px;
    padding: 0px;
}

.sendpush {
    background: url(../images/icon-notification.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    cursor: pointer;
}

.sendmessage {
    background: url(../images/icon-envelope.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    cursor: pointer;
}

.sendsms {
    background: url(../images/icon-sms.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    cursor: pointer;
}

.sendtestmessage {
    background: url(../images/icon-questionmark.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    cursor: pointer;
}

.historyButton {
    background: url(../images/icon-history.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 34px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0 5px -4px;
    padding: 0;
    cursor: pointer;
}

.locationButton {
    background: url(../images/icon-location.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    cursor: pointer;
}

.grainButton {
    background: url(../images/icon-grain.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    cursor: pointer;
}

.fieldButton {
    background: url(../images/icon-field.png) no-repeat top left;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    background-size: 30px;
    line-height: 30px;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    cursor: pointer;
}

.file:disabled input, .input:disabled input, .textarea:disabled input, .select:disabled input, .file.disabled input, .input.disabled input, .textarea.disabled input, .select.disabled input, .file:disabled textarea, .input:disabled textarea, .textarea:disabled textarea, .select:disabled textarea, .file.disabled textarea, .input.disabled textarea, .textarea.disabled textarea, .select.disabled textarea, .file:disabled select, .input:disabled select, .textarea:disabled select, .select:disabled select, .file.disabled select, .input.disabled select, .textarea.disabled select, .select.disabled select {
    color: black;
}

.p-2 {
    line-height: 1;
}

.custom_h5 {
    /*line-height: 1.8;*/
    margin: 10px 0px 5px 5px;
    /*text-decoration: underline;*/
    color: #60a917 !important;
}

.companyinfo-header {
    margin: 10px 0px 10px 5px;
    color: #60a917 !important;
}

form {
    margin: 5px;
}

.companyinfo label {
    /*margin-bottom: .5rem;*/
    margin-top: 0rem;
    font-weight: bold;
    font-size: 14px;
}

/* Important part */
.modal-content .container-fluid .content {
    overflow-y: initial !important
}

.modal-body .content {
    height: 250px;
    overflow-y: auto;
}

.tabs {
    background-color: #f8f8f8;
    line-height: 30px;
}

    .tabs .hamburger .line {
        background-color: black;
    }

.app-bar .hamburger .line {
    background-color: white !important;
}

.tabs-expand-md > ul {
    border: 0px none;
}

    .tabs-expand-md > ul > li {
        border-bottom: 0px none;
    }

.tabs .active > a {
    background-color: white;
}

.companySelect .select {
    min-width: 280px;
}

.companySelect .companySelectHeader {
    width: 100px;
    top: 6px;
    line-height: 35px;
    margin-bottom: 0px;
}


.tabs {
    background-color: white;
}

    .tabs > ul > li {
        padding: 0px 2px;
        margin: 0px 28px 0px 8px;
        border: none !important;
    }

        .tabs > ul > li > a {
            background-color: transparent !important;
            padding: .1rem .1rem;
            font-weight: bold;
            color: #000;
        }

        .tabs > ul > li.active:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 3px;
            bottom: 0;
            left: 0;
            background-color: #60a917;
            visibility: visible;
        }

        .tabs > ul > li:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 3px;
            bottom: 0;
            left: 0;
            visibility: visible;
        }

        .tabs > ul > li > a:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 3px;
            bottom: 0;
            left: 0;
            background-color: #60a917;
            -webkit-transition: all 0.3s ease-in-out 0s;
            -moz-transition: all 0.3s ease-in-out 0s;
            -o-transition: all 0.3s ease-in-out 0s;
            transition: all 0.3s ease-in-out 0s;
            -webkit-transform: scaleX(0);
            -moz-transform: scaleX(0);
            -o-transform: scaleX(0);
            transform: scaleX(0);
        }

        .tabs > ul > li > a:hover {
            color: #60a917;
        }


            .tabs > ul > li > a:hover:before {
                visibility: visible;
                -webkit-transform: scaleX(1);
                transform: scaleX(1);
            }

        .tabs > ul > li:hover, .tabs > ul > li > a:hover {
            background-color: transparent;
        }


    /*table.dataTable thead th {
  white-space: nowrap
}*/

    .tabs .expand-title {
        font-weight: bold;
    }

    .tabs .hamburger {
        top: 0.45rem;
    }

.cell-1, .cell-2, .cell-3, .cell-4, .cell-5, .cell-6, .cell-7, .cell-8, .cell-9, .cell-10, .cell-11, .cell-12, .cell-sx-1, .cell-sx-2, .cell-sx-3, .cell-sx-4, .cell-sx-5, .cell-sx-6, .cell-sx-7, .cell-sx-8, .cell-sx-9, .cell-sx-10, .cell-sx-11, .cell-sx-12, .cell-sm-1, .cell-sm-2, .cell-sm-3, .cell-sm-4, .cell-sm-5, .cell-sm-6, .cell-sm-7, .cell-sm-8, .cell-sm-9, .cell-sm-10, .cell-sm-11, .cell-sm-12, .cell-ld-1, .cell-ld-2, .cell-ld-3, .cell-ld-4, .cell-ld-5, .cell-ld-6, .cell-ld-7, .cell-ld-8, .cell-ld-9, .cell-ld-10, .cell-ld-11, .cell-ld-12, .cell-md-1, .cell-md-2, .cell-md-3, .cell-md-4, .cell-md-5, .cell-md-6, .cell-md-7, .cell-md-8, .cell-md-9, .cell-md-10, .cell-md-11, .cell-md-12, .cell-lg-1, .cell-lg-2, .cell-lg-3, .cell-lg-4, .cell-lg-5, .cell-lg-6, .cell-lg-7, .cell-lg-8, .cell-lg-9, .cell-lg-10, .cell-lg-11, .cell-lg-12, .cell-xl-1, .cell-xl-2, .cell-xl-3, .cell-xl-4, .cell-xl-5, .cell-xl-6, .cell-xl-7, .cell-xl-8, .cell-xl-9, .cell-xl-10, .cell-xl-11, .cell-xl-12, .cell-xxl-1, .cell-xxl-2, .cell-xxl-3, .cell-xxl-4, .cell-xxl-5, .cell-xxl-6, .cell-xxl-7, .cell-xxl-8, .cell-xxl-9, .cell-xxl-10, .cell-xxl-11, .cell-xxl-12, .cell-sx, .cell-sm, .cell-ld, .cell-md, .cell-lg, .cell-xl, .cell-xxl, .cell-sx-auto, .cell-sm-auto, .cell-ld-auto, .cell-md-auto, .cell-lg-auto, .cell-xl-auto, .cell-xxl-auto, .cell-sx-full, .cell-sm-full, .cell-ld-full, .cell-md-full, .cell-lg-full, .cell-xl-full, .cell-xxl-full, .cell-sx-half, .cell-sm-half, .cell-ld-half, .cell-md-half, .cell-lg-half, .cell-xl-half, .cell-xxl-half, .cell-sx-one-third, .cell-sm-one-third, .cell-ld-one-third, .cell-md-one-third, .cell-lg-one-third, .cell-xl-one-third, .cell-xxl-one-third, .cell-sx-two-third, .cell-sm-two-third, .cell-ld-two-third, .cell-md-two-third, .cell-lg-two-third, .cell-xl-two-third, .cell-xxl-two-third, .cell-sx-quarter, .cell-sm-quarter, .cell-ld-quarter, .cell-md-quarter, .cell-lg-quarter, .cell-xl-quarter, .cell-xxl-quarter {
    padding: 0 10px;
}

.modal-content .row, .companyinfo .row {
    margin-left: 0px;
    margin-right: 0px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px #d9d9d9 solid;
    border-radius: 3px;
}

    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        background-color: whitesmoke;
        border: 1px solid lightgrey;
        border-radius: 0px;
        cursor: default;
        float: left;
        margin-right: 3px;
        margin-top: 3px;
        padding: 0px 5px;
    }

.select2-search__field.valid {
    border: 1px none !important;
}

    .select2-search__field.valid:focus, .select2-search__field.valid.focused {
        -webkit-box-shadow: 0 0 0 0 transparent !important;
        box-shadow: 0 0 0 0 transparent !important;
    }

.customDataTableHeader {
    width: auto;
    float: left;
}

.dataTables_wrapper .dataTables_processing {
    top: 100%;
    font-weight: bold;
    font-size: 1rem;
    height: auto;
    background-color: #f8f8f8;
    padding-top: 0px;
    margin-top: 0px;
    vertical-align: top;
}

.dataTables_filter label .input {
    width: 75%;
    float: right;
    margin-left: 5px;
}

table.dataTable thead th, table.dataTable thead td {
    white-space: normal;
}

.customlabels label {
    margin-top: 0px;
}

#requestContainer {
    max-width: 900px !important;
    max-height: 300px !important;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

    #requestContainer .textarea {
        height: 100%;
    }

.table .sortable-column:after,
.table .sorting:after {
    visibility: hidden;
}

.customtabs .tabs {
    background-color: transparent;
}

.locationRef, .locationRef:hover {
    color: grey;
    text-decoration: none !important;
}

.showHistory {
    cursor: pointer;
    top: 2px;
    /*vertical-align: bottom;*/
    /*-webkit-animation: glowing 1500ms 2;
    -moz-animation: glowing 1500ms 2;
    -o-animation: glowing 1500ms 2;
    animation: glowing 1500ms 2;*/
}

    .showHistory.mif-history {
        top: 3px;
        font-size: 34px !important;
    }

    .showHistory:hover {
        /*color: #60a917 !important;*/
    }

.headingIcon {
    cursor: pointer;
    padding-top: 2px !important;
    vertical-align: text-bottom;
}

    .headingIcon img {
        vertical-align: unset !important;
        height: 1.8rem !important;
        border: 0px none;
    }

.va-middle img {
    vertical-align: middle !important;
}

@-webkit-keyframes glowing {
    0% {
        color: #bebebe;
    }

    50% {
        color: black;
        font-size: 2rem;
    }

    100% {
        color: #bebebe;
    }
}

@-moz-keyframes glowing {
    0% {
        color: #bebebe;
    }

    50% {
        color: black;
        font-size: 2rem;
    }

    100% {
        color: #bebebe;
    }
}

@-o-keyframes glowing {
    0% {
        color: #bebebe;
    }

    50% {
        color: black;
        font-size: 2rem;
    }

    100% {
        color: #bebebe;
    }
}

@keyframes glowing {
    0% {
        color: #bebebe;
    }

    50% {
        color: black;
        font-size: 2rem;
    }

    100% {
        color: #bebebe;
    }
}

.tm-app-bar {
    box-shadow: 0px 7px 10px rgba(0,0,0,0.2);
}

.login_userpsw.required {
    border: 0px none !important;
}

.login_userpsw.input {
    border-bottom: 1px black solid !important;
    background-color: transparent !important;
    border-radius: 0px;
}

    .login_userpsw.input.focused {
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

    .login_userpsw.input .prepend {
        background-color: transparent !important;
    }

    .login_userpsw.input input {
        font-size: 1.1rem !important;
        background-color: transparent !important;
    }

.login_userpsw input, select, textarea {
    max-width: 305px !important;
}

.priceBox {
    display: inline-block;
}

.categoryBox {
    width: 100%;
    float: left;
    height: auto;
    margin: 8px auto;
    min-height: 50px;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.2);
    /*background: #fcfcfc;*/
    border-radius: 3px;
    /*background-image: -webkit-linear-gradient(top, #f4f1ee, #fff);*/
}

.categoryName {
    text-align: center;
    font-weight: bold;
    padding: 6px 6px 12px 6px;
    /*min-height: 60px;*/
    font-size: 18px;
    border-bottom: 2px solid #60a917;
    margin: 6px 28px;
}

.categoryBox table {
    width: calc(100% - 56px);
    margin: 6px 28px 8px 28px;
}

    .categoryBox table td {
        padding: 5px 6px;
    }

    .categoryBox table th {
        padding: 4px 6px;
        font-weight: bold;
    }

    .categoryBox table tr {
        /*border-bottom: 1px solid lightgrey;*/
    }

@media screen and (min-width: 700px) {
    .categoryBox {
        width: 30%;
    }
}

@media screen and (min-width: 1020px) {
    .categoryBox {
        width: 22%;
    }
}

.purchase-price-table {
    /*border: 1px solid black;*/
    width: 100%;
}

    .purchase-price-table thead tr {
        border-bottom: 3px solid #60a917;
    }

    .purchase-price-table th {
        border: none;
        padding: 10px;
        text-align: center;
        font-weight: 600;
        cursor: default;
    }

    .purchase-price-table td {
        padding: 6px 12px;
        white-space: normal;
        /*border: 1px solid lightgrey;*/
        vertical-align: middle;
    }

    .purchase-price-table tr {
        border-bottom: 1px solid whitesmoke;
    }

.purchase-price-col {
    border-left: 1px solid lightgrey !important;
    width: 150px !important;
    cursor: pointer;
    padding: 3px 6px 3px 0px !important;
}

.purchase-price-table tbody tr:nth-of-type(odd) {
    background-color: whitesmoke;
}

.purchase-price-first {
    width: 200px;
}

.mobile-table, .mobile-show {
    display: none;
}

    .mobile-table th {
        text-align: center;
    }

.purchase-price-table {
    /*width: auto;*/
    width: 100%;
    min-width: 360px;
}

    .purchase-price-table.compact td {
        padding: 6px 12px;
    }

    .purchase-price-table.compact th {
        padding: 10px;
    }

.purchase-price-row {
    background-color: rgba(0,0,0,0.01) !important;
}

.icon-user {
    height: 30px;
}

.tabs ul {
    border: none;
    background-color: white;
    padding-bottom: 4px;
}

.mobile-name {
    display: none;
    font-size: 10px;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    margin: 3px 2px;
}

.desktop-name {
    white-space: nowrap;
}

@media screen and (max-width: 460px) {
    .companySelect .select {
        width: calc(100vw - 46px);
    }

    input, select, textarea {
        max-width: 350px;
    }
}

@media screen and (max-width: 600px) {
    .desktop-name {
        display: none;
    }

    .mobile-name {
        display: inline;
    }

    .call-button {
        position: fixed;
        right: 10px;
        bottom: 80px;
        z-index: 1;
        background-color: #60a917 !important;
        background-image: -webkit-linear-gradient(top, #60a917, #60a917) !important;
        border: 2px solid #60a917;
        line-height: 25px !important;
        box-shadow: 1px 2px 3px rgba(0,0,0,0.5) !important;
        color: white !important;
    }
    .mobile-button {
        z-index: 1;
        background-color: #60a917 !important;
        background-image: -webkit-linear-gradient(top, #60a917, #60a917) !important;
        border: 2px solid #60a917;
        line-height: 25px !important;
        box-shadow: 1px 2px 3px rgba(0,0,0,0.5) !important;
        color: white !important;
    }

    .call-button span {
        color: white !important;
    }
    #customerPrices .DataTableHeader {
        margin-bottom: 30px;
    }
    .customer-dashboard.tabs ul {
        padding-bottom: 0px;
        background: #60a917 !important;
    }

    .customer-dashboard.tabs > ul > li {
        background-color: transparent;
        text-align: center;
        height: 70px;
        max-width: 50px;
        margin: auto;
    }

    .customer-dashboard.tabs > ul > li.active::before {
        display: none;
    }

    .customer-dashboard.tabs > ul > li.active {
        color: white;
        text-decoration: none;
    }

    .customer-dashboard.tabs > ul > li.active .mobile-name img {
        filter: invert(0.8);
    }

    .desktop-table, .desktop-show {
        display: none;
    }

    .mobile-table, .mobile-show {
        display: inline-table;
    }

    .price-col, .purchase-price-col {
        background-color: rgba(96,169,23,.2);
        font-weight: bold;
    }

    .purchase-price-table {
        width: 100%;
        min-width: 100%;
    }

    .shared-footer {
        display: none;
    }

    .container {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .dataTable.container {
        padding-right: 4px;
        padding-left: 0px;
    }

    .body-content {
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 80px !important;
    }

    /*customer dashboard tab design*/
    #customer-dashboard .customer-dashboard {
        position: fixed;
        bottom: 0 !important;
        width: 100%;
        margin: 0px;
        padding: 0px;
        z-index: 1;
        left: 0px;
    }

    .app-bar .app-bar-menu > li, .app-bar .app-bar-menu > li > a {
        line-height: 42px;
        font-weight: 600;
    }

    .companyinfo .cell-sm-7 {
        text-indent: 8px;
        line-height: 1.2;
    }

    .companyinfo-header {
        text-align: center;
    }

    .mailpreview {
        width: 100%;
        padding: 8px 4px !important;
    }
}

@media screen and (min-width: 900px) {
    .purchase-price-col {
        padding: 6px 12px !important;
    }

    .companySelect .select {
        min-width: 350px;
    }

    input, select, textarea {
        max-width: 350px;
    }
}

.purchase-price-col span {
    display: none;
    float: right;
    font-size: 14px;
    color: green;
    margin: 0px 0px 0px 2px;
    line-height: 14px;
    margin-top: 1px;
}

#customerPrices .purchase-price-col span {
    display: none !important;
}

#customerPrices .purchase-price-col {
    cursor: default !important;
}

.purchase-price-col:hover span {
    display: inherit;
}

.tabs {
    min-height: 2.1rem;
}

#_target_userdata .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.tm-button {
    border-radius: 50px;
    background-color: #60a917 !important;
    color: #fff;
    width: 100%;
    padding: 0px;
    max-width: 500px;
}

.tm-button-sm, .tm-button-sm:focus, .tm-button-sm:active {
    border-radius: 50px;
    background-color: #fafafa !important;
    color: #000;
    width: 86px;
    height: 30px;
    line-height: 26px;
    padding: 0;
    max-width: 500px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0,.5), inset 0px 0.5px 1px 1px white, inset 0px -0.5px 1px 1px rgba(204,198,197,.5);
    background-image: -webkit-linear-gradient(top, #f4f1ee, #fff);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

    .tm-button-sm span {
        color: #60a917;
    }

    .tm-button-sm:hover, .tm-button-sm.active {
        box-shadow: 0px 1px 2px 0px rgba(0, 0, 0,.8), inset 0px 0.5px 1px 1px white, inset 0px -0.5px 1px 1px rgba(204,198,197,.5);
        -webkit-transition: all 0.3s ease-in-out 0s;
        -moz-transition: all 0.3s ease-in-out 0s;
        -o-transition: all 0.3s ease-in-out 0s;
        transition: all 0.3s ease-in-out 0s;
    }

    .tm-button-sm.active {
        color: #60a917;
    }

textarea {
    max-width: 100% !important;
    width: 100% !important;
}

.h3, .header, h3 {
    line-height: 32px !important;
}

.dataTables_wrapper .dataTables_processing {
    /*background: rgba(0,0,0,.1) !important;*/
    background: transparent;
}

.dataTables_processing {
    top: 80px !important;
    width: 100% !important;
    text-align: center !important;
    height: 100vh !important;
    width: 100vw !important;
    /*background-color: rgba(0,0,0,0.1) !important;*/
    background-color: transparent;
    position: fixed !important;
    /*left: 0px !important;*/
    top: 0px !important;
}

.itanic-spinner-border {
    display: inline-block;
    vertical-align: text-bottom;
    border: .125em solid rgb(255,128,0);
    border-right-color: transparent;
    -webkit-animation: spinner-border 3s linear infinite;
    animation: itanic-spinner-border 3s linear infinite;
}

.itanic-spinner-content {
    background-image: url('../images/tartumill_logo_green.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px;
    background-color: white;
    margin: auto;
}

.itanic-spinner-border, .itanic-spinner-content {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    z-index: 1;
    top: calc(50% - 50px);
}

@keyframes itanic-spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.ajax-lister-container {
    min-height: 100px;
}

    .ajax-lister-container .itanic-spinner-container {
        z-index: 1;
        width: 100%;
        height: 100%;
        position: absolute;
        background: rgba(245, 245, 245, 0.7);
    }

    .ajax-lister-container .itanic-spinner-content {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        position: fixed;
    }

.itanic-spinner-container {
    height: 100% !important;
}

.tippy-popper {
    font-size: 12px;
}

.grain-invoice-notification {
    margin-left: 8px;
    font-size: .9em;
    display: inline-block;
}

.purchase-price-info {
    line-height: 18px;
    color: rgb(150,150,150);
    font-size: 14px;
    margin-top: 4px;
}

.table.table-border {
    border-left: 0px none;
    border-right: 0px none;
}

.paginate_button {
    padding: 0.2em 0.8em !important;
    border-radius: 3px !important;
}

.hamburger .active, .app-bar .hamburger:active, .app-bar .hamburger:hover {
    background: transparent !important;
}

@media screen and (max-width: 768px) {
    .app-bar .app-bar-menu {
        text-align: center;
    }

        .app-bar .app-bar-menu > li, .app-bar .app-bar-menu > li > a {
            line-height: 42px;
        }

    .tm-app-bar.active {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

        .tm-app-bar.active .brand {
            position: fixed;
            top: 0px;
            z-index: 2;
            background-color: transparent;
        }

    .hamburger.menu-down.active {
        z-index: 2;
        background-color: transparent;
    }

    #logoutForm {
        margin-bottom: 60px;
    }

    .icon-user {
        height: 24px;
    }
}

/*.dialog, .modal {
    z-index: 9000 !important;
}*/
.dialog-content {
    max-height: calc(100vh - 280px);
    overflow: hidden;
    overflow-y: hidden;
    overflow-y: auto;
}

.loading-spinner {
    top: calc((100% - 100px) / 2);
    left: calc((100% - 100px) / 2);
}

.dropdown-toggle::before {
    height: .5125rem;
    width: .5125rem;
    background-color: transparent;
    border-left: 3px solid;
    border-left-color: currentcolor;
    border-bottom: 3px solid;
    border-bottom-color: currentcolor;
    border-color: black;
    margin-left: -1rem;
    margin-top: -.2225rem;
}

.d-menu li a {
    padding: 0 2rem 0 1.5rem;
}

.arrow-down {
    display: inline-block;
    position: absolute;
    content: "";
    background-color: transparent;
    z-index: 2;
    margin-left: 1rem;
    margin-top: 1rem;
    height: .5125rem;
    width: .5125rem;
    border-left: 3px solid;
    border-left-color: currentcolor;
    border-bottom: 3px solid;
    border-bottom-color: currentcolor;
    border-color: white;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    -webkit-transform-origin: center center 1px;
    transform-origin: center center 1px;
}

.dropdown-toggle.active-toggle .arrow-down {
    margin-top: 1.2rem;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.tm-app-bar .dropdown-toggle::before {
    display: none;
}

.tm-app-bar li a span {
    color: rgb(150,150,150);
}

.app-bar .app-bar-item .active, .app-bar .app-bar-item:active, .app-bar .app-bar-item:hover, .app-bar .app-bar-menu li .active, .app-bar .app-bar-menu li:active, .app-bar .app-bar-menu li:hover, .app-bar .brand:not(.no-hover) .active, .app-bar .brand:not(.no-hover):active, .app-bar .brand:not(.no-hover):hover, .app-bar .hamburger .active, .app-bar .hamburger:active, .app-bar .hamburger:hover {
    background: transparent;
}

.app-bar-menu a:hover {
    font-weight: 700 !important;
}

@media screen and (min-width: 768px) {
    .dropdown-toggle .arrow-down {
        margin-top: 21px;
        margin-left: 6px;
    }

    .dropdown-toggle.active-toggle .arrow-down, .dropdown-toggle.active-toggle:hover .arrow-down {
        margin-top: 24px !important;
    }
}

@media screen and (max-width: 768px) {
    #logoutForm .dropdown-toggle {
        margin: auto;
        /*border: 1px solid white;*/
        /*max-width: -moz-fit-content;*/
    }

    .dropdown-toggle {
        padding-right: 2.1rem !important;
    }

    .tm-app-bar .d-menu li a {
        padding: 0 2rem 0 1.5rem;
        /*color: white !important;*/
    }
    /*.tm-app-bar .d-menu {
        background-color: transparent !important;
    }
    .tm-app-bar li a span {
        color: white !important;
    }*/
}

.valid.focused, .valid:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

ul.d-menu {
    -webkit-box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.2) !important;
    box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.2) !important;
}

.dataTables_wrapper .dataTables_paginate {
    float: unset;
    text-align: center;
    margin-bottom: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin-right: 2px;
}

.select2-container--open .select2-dropdown--below {
    z-index: 1060;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom: 2px solid #60a917;
    font-weight: 600;
}
.table.striped tbody tr:nth-child(2n+1) {
    background: transparent;
}
.table.striped tbody tr {
    background: #f8f8f8;
}
.morder-2 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.morder-1 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}
@media screen and (min-width: 768px) {
    .morder-2 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .morder-1 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
}
.overflow .dialog-content {
    overflow: visible !important;
}

.smalldialog.overflow {
    top: 60px !important;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgb(0 0 0 / 30%);
    border-radius: 10px;
    background-color: white;
}
::-webkit-scrollbar-thumb {
    border-radius: 25px;
    -webkit-box-shadow: inset 0 0 4px rgb(0 0 0 / 10%);
    background-color: #60a917;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Automated required field detection */
label.required-field-faulty {
    color: red !important;
}

/* !important to override the chosen-select CSS */
.required-field-faulty {
    border: 1px solid red !important;
}

.modal-content {
    border-radius: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}   

.accordion > .frame > .heading {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.dataTables_wrapper {
    overflow: auto;
}

#DeliveryInfoGetData {
    overflow: auto;
    display: block;
    max-width: calc(100% - 24px);
    width: auto !important;
}
.oneline-header th {
    white-space: nowrap !important;
}
#DeliveryInfoGetData_wrapper {
    overflow: hidden !important;
}

@media (min-width: 600px) {
    .dataTable.container {
        padding-right: 4px;
        padding-left: 0px;
    }
}

.testbutton {
    filter: invert(0.9);
}

.wordcount {
    float: right;
    color: #60a917 !important;
}

.min-content {
    min-height: 0px !important;
}

.dialog-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.textarea #smsMessage, .textarea textarea {
    height: auto;
    min-height: max-content;
    overflow: auto;
    resize: auto;
}
.company-select {
    border: 1px #d9d9d9 solid;
    border-radius: 3px;
    margin-bottom: 0px;
    padding: 3px 16px;
    margin-top: 2px;
    cursor: pointer;
}

    .company-select:hover {
        border-color: #c0c0c0;
    }

.company-select i {
    font-weight: bold;
    margin-left: 8px;
}

.company-select-list div {
    width: 100%;
    background: white;
    text-align: center;
    box-shadow: 0px 1px 4px rgb(0 0 0 / 15%);
    border-radius: 2px;
    padding: 6px;
    margin: 8px 0px;
    cursor: pointer;
    font-weight: 500;
}

    .company-select-list div:hover {
        color: #60a917;
    }

.bg-light-custom {
    background-color: rgb(250,250,250);
}