html {
    height: 99%;
}

body {
    font-size: 9pt;
    font-family: Segoe UI, Calibri, Helvetica, Sans-Serif;
    margin: 0px;
    padding: 0;
    color: Black;
    height: 100%;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #4C9ED9;
}

p {
    margin-bottom: 20px;
    line-height: 1.6em;
}

table ul {
    margin-bottom: 4px;
}

header, footer, nav, section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #777;
    font-family: "Verdana", sans-serif;
    margin-bottom: 2px;
    margin-top: 2px;
    padding: 0px;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    padding-top: 1em;
    font-size: 1.2em;
}

    h3.subsection {
        padding-bottom: 1em;
    }

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    margin-bottom: 0px;
    color: #000;
    padding: 0;
    background-color: #EFF3F7;
    margin-bottom: 10px;
}

    header h1, #header h1 {
        font-weight: bold;
        padding: 5px 0;
        margin: 0;
        color: #fff;
        border: none;
        line-height: 2em;
        font-size: 32px !important;
    }

#main {
    padding: 20px 30px 20px 30px;
    background-color: #fff;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

#errorMessage {
    background-color: #FF0066;
    font-size: 120%;
    font-weight: bold;
    padding: 20px 100px 20px 100px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    text-shadow: 0 1px 0 LightGray;
}

#InfoMessage {
    background-color: #99FFCC;
    font-size: 120%;
    font-weight: bold;
    padding: 20px 100px 20px 100px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    text-shadow: 0 1px 0 LightGray;
}

#warningMessage {
    background-color: #FFFFCC;
    font-size: 120%;
    font-weight: bold;
    padding: 20px 100px 20px 100px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    text-shadow: 0 1px 0 LightGray;
}

.over-limit-value {
    background-color: darkred !important;
    color: white;
    text-align: center;
}

.over-limit-value-nodebt {
    background-color: mistyrose !important;
    color: black;
    text-align: center;
}

td.no-over-limit {
    text-align: center;
}

td.currency-value {
    text-align: right;
}

footer, #footer {
    background-color: #fff;
    color: #999;
    /*padding: 10px 0;*/
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 0px;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
    border: 1px solid #cccccc;
}

select {
    font-size: 1em;
}

input[type="text"], input[type="password"] {
    border: 1px solid #cccccc;
    padding: 1px;
    color: #444;
    width: 200px;
}

input[readonly] {
    background-color: #cccccc;
}

select {
    border: 1px solid #cccccc;
    padding: 1px;
    color: #444;
}

input[type="submit"], button, a.button-link {
    font-size: 1em;
    padding: 5px; 
}

a.button-link {
    /*margin-left: 55px; 2024 */
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

    table td {
        padding: 3px;
        border: solid 1px #e8eef4;
    }

    table th {
        padding: 4px 3px;
        text-align: center;
        background-color: #f1f7fe;
        border: solid 1px #e8eef4;
    }

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    /*border: 1px solid #ff0000 !important;*/
    border-left: 3px solid #ff0000 !important;
    /*background-color: #ffeeee !important;*/
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff4444;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label {
    margin: 0px;
    font-weight: bold;
    padding-top: 1.3em;
}

.display-field, .editor-field {
    font-size: 1em;
    margin: 0.2em 0 0 0;
}

.display-field {
    font-style: italic;
    float: left;
}

.text-box {
    width: 30em;
    border: 1px solid #cccccc;
}

    .text-box.multi-line {
        height: 6.5em;
    }

.tri-state {
    width: 6em;
}

input.short {
    width: 100px;
}

/* Custom styles
----------------------------------------------------------*/
.classifiers {
    border-left: solid 2px #aaffaa;
    padding-left: 1em;
}

.addresses {
    border-left: solid 2px #aaaaff;
    padding-left: 1em;
}

a.active {
    font-weight: bold;
    text-decoration: none;
    border-bottom: none !important;
}

a.ajax {
    text-decoration: none;
    border-bottom: dashed 1px;
}

a.edit-link {
    font-size: 13px;
    font-weight: normal;
    text-shadow: none;
}


.yellow {
    background-color: khaki;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 10px;
    margin: 10px;
    text-shadow: 0 1px 0 LightGray;
}

.success {
    background-color: #AFA;
    padding: 10px;
    width: auto;
}

.failure {
    padding: 10px;
    background-color: #FAA;
    width: auto;
}

.agreement-number {
    text-decoration: underline;
}

div#control form {
    float: left;
}

.scroll-area {
    width: 400px;
    height: 100px;
    border-color: #6699CC;
    border-width: 1px;
    border-style: solid; /*float: left; */
    overflow: auto;
}

    .scroll-area ul {
        list-style: none;
        padding: 0;
        margin: 0.5em;
    }

.filter {
    z-index: 5;
}

div.control {
    padding: 1em;
    margin: 1em;
    border: 1px #6699CC solid;
    display: inline-block;
    background-color: #eeeeee;
}

.inline {
    display: inline;
}

img {
    border: 0;
}

/* combobox */
.ui-button-text {
    padding: 0 !important;
}

button.ui-button-icon-only {
    position: initial;
    margin-top: 1px;
    margin-left: 0.1px;
}

.ui-autocomplete-input {
    height: 16px;
    width: 230px;
    vertical-align: top;
}

.autocomplete-wide .ui-autocomplete-input {
    width: 700px;
    vertical-align: top;
}

/*filter*/

div#filter-content {
    position: absolute;
    z-index: 1001;
    display: none;
    background-color: #fff;
    border: 1px solid #cccccc;
    padding: 0 10px;
}

#active-tariff {
    font-style: italic;
    background-color: #AFA;
}

.display-none {
    display: none;
}

.totalSum {
    color: red;
    font-style: normal;
    font-weight: normal;
    font-size: 85%;
}

.selectedRow {
    background-color: blanchedalmond !important;
}

.selectedBlueRow {
    background-color: #b8e2fc !important;
}

.cell-text-aling-rigth {
    text-align: right;
}

.all-deliverys {
    color: #034af3;
    text-decoration: underline;
}

    .all-deliverys:hover {
        color: #1d60ff;
        text-decoration: none;
    }

.collapseField {
    border-bottom: 1px dotted #034af3;
    color: #034af3;
    cursor: pointer;
    width: 400px;
    line-height: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: normal;
}

    .collapseField:hover {
        border-bottom: 1px dotted #034af3;
        color: #1d60ff;
        border-bottom: 1px solid #034af3;
    }

    .collapseField span {
        float: right;
    }

a[target="_blank"] {
    display: inline-block;
    line-height: 16px;
    background: url(images/window.png) center right no-repeat;
    padding-right: 20px;
}

.completeTask {
    font-size: 1em !important;
    padding: 3px !important;
    width: auto !important;
}

.scrollable-table-delivery tr {
    height: 35px;
}

.mustCompleteToday {
    background: #CFC;
}

.expired {
    background: #FCC;
}

div.buttonset {
    margin-top: 1em;
    margin-bottom: 1em;
}

ul.remote-mulitselect-list {
    font-size: 1em;
    padding: 0;
    margin-bottom: 5px;
}

    ul.remote-mulitselect-list li {
        padding: 0;
        margin: 3px;
        list-style: none;
        list-style-position: inside;
    }

a.remote-multiselect-link-button {
    margin-left: 5px;
}

.ui-autocomplete-input {
    font-size: 1em;
}


.ui-autocomplete {
    position: absolute;
    cursor: default;
    z-index: 1002
}


.statisticColor {
    font-size: 150%;
    color: #19A2DE;
}

.gray {
    color: gray;
}

#magicSearch {
    float: left;
}

/*Блок настройки внешнего вида*/
.templates ul li, .filters ul li {
    text-decoration: none;
}

#activeTemplate {
    color: green;
}

.templateUnderEdit {
    background-color: khaki;
}

.selectedEmployee {
    background-color: greenyellow;
}


input.phone-code {
    width: 50px;
}

input.phone-number {
    width: 100px;
}

input.phone-additional {
    width: 50px;
}

.contacts-dynamic {
    width: 900px;
}

    .contacts-dynamic table tbody tr td:nth-child(1) {
        width: 100px;
    }

    .contacts-dynamic table tbody tr td:nth-child(2) {
        width: 350px;
    }

    .contacts-dynamic table tbody tr td:nth-child(3) {
        width: 300px;
    }

    .contacts-dynamic table tr td.last-td {
        border-bottom-width: 4px;
        border-bottom: 1px solid #e8eef4;
    }


tr[data-contact-id] span {
    padding-top: 6px;
    font-size: 14px;
}

#tab {
    border: 3px double;
    border-color: #fff;
}

    #tab th {
        padding-right: 15px;
    }

    #tab td {
        padding-left: 10px;
    }

        #tab td a {
            color: #313131;
            text-decoration: none;
        }

            #tab td a:hover {
                color: #ee6f1a;
                text-decoration: none;
            }

.but {
    margin-top: 25px;
}

    .but a {
        text-decoration: none;
        color: #fff;
        font-weight: 600;
        padding: 5px 10px 5px 10px;
        height: 25px;
        background-color: #4b4a4a;
    }

        .but a:hover {
            color: #ffd800;
        }

.etxt {
    padding: 10px 0 10px 0;
    color: #a42020;
}

.formact {
    padding-top: 10px;
}

/*new 2024*/
body {
    background-color: #CCC;
    padding: 10px;
}

#menu-logo-image {
    content: url("/Content/css/image/opt-log-svg.svg");
    max-width:50px;
}

#header {
    border-radius: 10px;
}

#main {
    min-height: 90vh;
}

header, #header {
    background-color: inherit;
}

#header {
    border-radius: 10px;
}

#main-menu {
    border-radius: 10px;
}

.ui-tabs {
    box-shadow: none;
    margin: 0;
    padding: 0;
    position: initial;
}

    .ui-tabs .ui-tabs-nav li {
        position: initial;
    }

.ui-tabs-panel {
    padding: 0px;
}

.ui-widget-content {
    border: none;
}

.ui-widget-header {
    border: none;
}

.ui-tabs .ui-tabs-nav {
    background: none;
}

    .ui-tabs .ui-tabs-nav li {
        border-radius: 3px;
        border-bottom-width: 1px;
    }

    .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
        border-radius: 3px;
    }

.ui-tabs .ui-tabs-panel {
    padding: 2px;
}

/*.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border-color: #265;
    background: #265;
}*/

table th {
    padding: 4px 3px;
    text-align: left;
    border: solid 1px #e8eef4;
    font-weight: 500;
}

.k-header, .k-grid-header {
    background-color: none !important;
}

.toolbox-item {
    position: initial;
}

/*a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #fff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

a:hover:after {
    width: 100%;
    left: 0;
}*/

/*new 2024*/

@media print {
    body {
        background-color: #FFFFFF;
        font-size: 0.5em;
        color: #000000;
    }

    header, #header {
        display: none;
    }

    #main {
        margin: 0px;
        padding: 0px;
    }

    A, A:link, A:hover, A#pseudolink {
        text-decoration: none; /* Убирает подчеркивание для ссылок */
        border: none;
        color: black;
    }

    tr, td, table {
        border-spacing: 0px;
        margin: 0px;
        padding: 1px;
    }

    div, ui-tabs-panel, ui-widget-content, ui-corner-bottom {
        border-spacing: 0px;
        margin: 0px;
        padding-left: 2px !important;
    }
}

.discountTable {
    font-size: 1.2em;
    font-weight: normal;
}

    .discountTable th {
        font-weight: normal;
        padding: 4px;
    }

.textBoxesTable td input {
    width: 80px;
    border: none;
    background: transparent;
    text-align: center;
}

.textBoxesTable th input {
    width: 80px;
    border: none;
    background: transparent;
    text-align: left;
}

/*Notification box*/
.notification {
    border: 2px solid goldenrod;
    position: relative;
    float: left;
    margin-bottom: 6px;
}

    .notification .icon-box {
        width: 100px;
        padding: 10px;
        float: left;
        color: goldenrod;
    }

    .notification .notification-box {
        float: left;
        padding: 10px;
    }

.notification-box p {
    font-size: larger;
}

.rounded-corners {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

/*Os convention*/
.os-convention td {
    width: 150px;
}

.own {
    background-color: #dbfcd1;
}

.partly-own {
    background-color: #f9fdbe;
}

.foreign {
}

.unknown {
    background-color: #ffbfbf;
}
 
body {
    background-image: url('/Content/css/image/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-color: floralwhite;
    padding: 0px;
    font-size: 10pt;
}

input[type="text"], input[type="password"] {
    font-size: 1.5em;
    width: 240px !important;
    align-self: center;
    padding: 7px;
    outline: none;
    border: 2px solid #aaa;
}

    input[type="text"]:focus {
        outline: none;
        border: 2px solid #4285f4;
    }

    input[type="password"]:focus {
        outline: none;
        border: 2px solid #4285f4;
    }

input[type="submit"] {
    font-size: 1.5em;
    width: 230px !important;
}

.logo-image{
    height:20vh;
}

#main {
    font-family: Roboto,Arial,sans-serif;
    /*    -webkit-box-shadow: 0px 0px 15px 5px rgba(229, 242, 255, 0.75);
    -moz-box-shadow: 0px 0px 15px 5px rgba(229, 242, 255, 0.75);
    box-shadow: 0px 0px 15px 5px rgba(229, 242, 255, 0.75);*/
    width: 450px;
    /*height: 100vh;*/
    color: #333;
    padding: 0px;
    margin-left: 150px;
    --mask: conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 46%/60px 100%;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    min-height: 30vh;
}

#submain {
    padding: 50px;
}

    #submain img {
        padding-right: 3vh;
        padding-top: 30px;
        padding-bottom: 3vh;
    }

.input-validation-error {
    /* border: 1px solid #ff0000 !important; */
    border-left: 3px solid #ff0000 !important;
    /* background-color: #ffeeee !important; */
}

/* CSS */
.button-17 {
    align-items: center;
    appearance: none;
    background-color: #fff;
    border-radius: 24px;
    border-style: none;
    box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
    box-sizing: border-box;
    color: #3c4043;
    cursor: pointer;
    display: inline-flex;
    fill: currentcolor;
    font-family: Roboto,Arial,sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    justify-content: center;
    letter-spacing: .25px;
    line-height: normal;
    max-width: 100%;
    overflow: visible;
    padding: 2px 24px;
    position: relative;
    text-align: center;
    text-transform: none;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: auto;
    will-change: transform,opacity;
    z-index: 0;
}

    .button-17:hover {
        
    }

    .button-17:active {
        box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%), 0 8px 12px 6px rgb(60 64 67 / 15%);
        outline: none;
    }

    .button-17:focus {
        outline: none;
        border: 2px solid #4285f4;
    }

    .button-17:not(:disabled) {
        box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
    }

        .button-17:not(:disabled):hover {
            box-shadow: rgba(60, 64, 67, .3) 0 2px 3px 0, rgba(60, 64, 67, .15) 0 6px 10px 4px;
            background: #F6F9FE;
            color: #174ea6;
        }

        .button-17:not(:disabled):focus {
            box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
        }

        .button-17:not(:disabled):active {
            box-shadow: rgba(60, 64, 67, .3) 0 4px 4px 0, rgba(60, 64, 67, .15) 0 8px 12px 6px;
        }

    .button-17:disabled {
        box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
        background: #eee;
        cursor: default;
    }

.display-label, .editor-label {
    margin: 0px;
    font-weight: normal;
    padding-top: 1.3em;
}
