﻿@font-face {
    font-family: 'Messina Sans Bold';
    src: url('../fonts/MessinaSans-Bold.otf') format('opentype');
}


@font-face {
    font-family: 'Messina Sans Light';
    src: url('../fonts/MessinaSans-Light.otf') format('opentype');
}

@font-face {
    font-family: 'Messina Sans';
    src: url('../fonts/MessinaSans-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'MessinaSerif-Bold';
    src: url('../fonts/MessinaSerif-Bold.otf') format('opentype');
}

body {
    margin: 0;
    min-height: 100%;
    /*height: 100%;*/
    display: flex;
    flex-direction: column;
}

* {
    box-sizing: border-box;
}

html {
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
    height: 100%;
}

.body-container-width{
    width: 1222px;
}

#master-frame {
    min-height: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.button-list-table {
    width: 380px;
    margin: auto;
    font-family: 'Messina Sans';
    font-size: 12pt;
    font-weight: bold;
}

    .button-list-table input[type=submit] {
        width: 100%;
        margin: 3px 0;
    }

.localization-info {
    color: white;
    display: block;
    display: flex;
    align-items: center;
}

.silver-area {
    background-color: #EAEAEA;
}

.main-frame-container{
    overflow:auto;
    display:flex;
    flex-direction:column;
    flex-grow:1;
}

.main-frame, .table-frame, .main-frame-padding {
    width: 1222px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    margin-top: 35px;
}

.main-frame-body {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    min-height: 230px;
    border: 1px solid #e3e3e3;
    min-height: 590px;
}

.main-frame-padding {
    padding-top: 50px;
    padding-bottom: 30px;
}

.full-table {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0px;
    border-collapse: separate;
}

    .full-table td {
        width: 611px;
        padding: 0;
    }

.table-cell-bg-img {
    display: block;
    width: 611px;
}

.row-stretch {
    align-self: stretch;
    margin: 0 10px;
}

#signin-table {
    display: table;
    margin-left: auto;
    margin-right: auto;
    width: 320px;
    padding: 0;
}

input:disabled, .disabled, .readonly{
    opacity: 0.5;
    pointer-events: none;
}

.big-inputs input[type=text], .big-inputs input[type=password], .big-inputs select {
    padding: 10px;
    width: 100%;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 10pt;
    border: 1px solid #A2A2A2;
    border-radius: 5px;
    height: 40px;
    font-size: 12pt;
    background-color: #EAEAEA;
}

    select option {
        padding: 5px;
    }

    input[type=text]:focus, input[type=password]:focus {
        outline: 1px solid gray;
        background-color: whitesmoke;
        transition: 0.5s;
    }

.button-black, .button-black-outlined, .button-black-small {
    /*background-color: black;*/
    display: block;
    /*min-width: 120px;*/
    padding: 15px;
    padding-top: 10px;
    padding-bottom: 5px;
    /*color: white;*/
    /*color: #d4dce3;*/
    /*border: 1px solid transparent;*/
    border-radius: 3px;
    font-family: 'Messina Sans';
    letter-spacing: 0.8pt;
    /*font-weight: bold;*/
    font-size: 12pt;
    cursor: pointer;
    text-align: center;
    transition: 0.5s;


    border: 1px solid black;
    background-color: transparent;
    color: black;
}

    .button-black:hover, .button-black-small:hover {
        /*background-color: #320606;*/
        color: gray;
    }

.button-black-outlined {
    border: 1px solid black;
    background-color: transparent;
    color: black;
}

    .button-black-outlined:hover {
        color: gray;
        transition: 0.5s;
    }

.button-black-small {
    font-size: 10pt;
    padding: 0;
    height: 35px;
    line-height: 35px;
}

.button-black a, .button-black a:visited, .button-black a:active, .button-black a:link {
    text-decoration: none;
    color: inherit;
    font-weight: normal;
}

.buttons-container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

p {
    margin: 0;
    font-family: 'Messina Sans';
    font-weight: bold;
}

    p a {
        text-decoration: none;
        color: black;
    }

        p a:visited {
            color: black;
        }

a, a:visited {
    text-decoration: none;
    color: black;
    font-family: 'Messina Sans';
    font-weight: bold;
    font-size: 14pt;
}

.error-text {
    color: red;
    font-family: 'Messina Sans';
}

.logo-img {
    height: 50px;
}

.header-bar, .footer-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    min-height: 102px;
    font-family: 'Messina Serif';
    font-weight: bold;
    font-size: 14pt;
    width: 1222px;
    margin-left: auto;
    margin-right: auto;
}

.header-bar-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-bar-c {
    color: #7399CA;
    font-family: 'Messina Sans';
    font-size: 16pt;
    display: block;
    min-height: 25px;
    text-transform: uppercase;
}

.header-bar-height{
    height:65px;
}

.header-bar-usr {
    font-family: 'Messina Sans';
    font-size: 13pt;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /*margin-top:16px;*/
}

    .header-bar-usr input {
        width: 80px;
        min-width: 60px;
        height: 26px;
        font-size: 9pt;
        line-height: 26px;
        padding: 0;
    }

.pdk-menu-button, .pdk-menu-button-active {
    min-width: 125px;
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Messina Sans';
    font-size: 10pt;
    font-weight: normal;
    color: inherit;
    /*cursor: pointer;*/
}

    .pdk-menu-button:hover {
        background-color: #d5d5d5;
        text-decoration: none;
        color: inherit;
    }

.pdk-menu-button-active {
    /*background-color: #7399CA;*/
    background-color: #4d80c1;
    color: white;
    cursor: default;
}
    .pdk-menu-button-active:hover {
        background-color: #7399CA;
    }
    .pdk-menu-button-active span {
        color: white !important;
    }

    .pdk-menu-button img, .pdk-menu-button-active img {
        height: 24px;
        margin: 8px;
    }

    .pdk-menu-button-active img {
        filter: invert(1);
    }

.list-table-container, .product-details-conteiner {
    margin-left: auto;
    margin-right: auto;
    min-width: 800px;
    display: table;
}

.product-details-conteiner {
    background-color: white;
    margin-top: 128px;
    margin-bottom: 30px;
    /*border-radius:6px;*/
    border: 2px solid black;
    box-shadow: 0px 0px 8px 4px rgb(0,0,0, 0.4);
}

.product-details-header {
    display: flex;
    flex-direction: column;
    background-color: #3e669b;
    padding: 15px;
    color: white;
    font-family: 'Messina Sans';
    margin-bottom: 40px;
}

    .product-details-header span:first-child {
        font-weight: bold;
        font-size: 16pt;
        margin-bottom: 10px;
    }

.product-details-conteiner span:nth-child(2) {
    font-size: 10pt;
}

.product-details-conteiner-close {
    font-size: 14pt;
    margin: 15px;
    cursor: pointer;
    border: none;
    padding: 5px 10px;
    background-color: #fb9090;
    border-radius: 2px;
}

    .product-details-conteiner-close:hover {
        background-color: #f76666;
    }

.table-row-link tr td {
    transition: none !important;
}

    .table-row-link tr:hover, .table-row-link tbody > tr:hover > td {
        cursor: pointer;
        background-color: #7399CA !important;
        color: white;
        transition: none;
    }
.table-row-link th{
    cursor: default;
}
.table-row-link tr:hover td span {
    color: white;
}

.attachments-table tr:hover{
    text-decoration: underline;
    cursor: pointer;
    color: steelblue;
}
.attachments-table img{
    width:16px;
    height:16px;
}

.list-table {
    width: 100%;
    font-family: 'Messina Sans';
    font-weight: normal;
    font-size: 10pt;
    display: table;
    border: none;
}
    .list-table tr {
        background-color: #EAEAEA;
    }

    .list-table tr:last-child td {
        border-bottom: 1px solid silver;
    }

    .list-table tr:nth-child(2n+1) {
        background-color: #fff;
    }

    .list-table th {
        background-color: #3f5b81;
        margin: auto;
        padding: 10px;
        text-align: left;
        color: white;
        border: none;
        letter-spacing: .025em;
        font-weight: normal;
    }

        .list-table th a, .list-table th a:visited {
            color: white;
            font-family: 'Messina Sans';
            font-weight: bold;
            font-size: 10pt;
        }

    .list-table td, .list-table td a, .list-table td a:visited {
        padding: 8px 15px;
        border: none;
        font-weight: normal;
        font-size: 10pt;
    }

        .list-table td a {
            text-decoration: underline;
        }

    .list-table td {
        border-left: 1px solid silver;
        border-right: 1px solid silver;
    }

#tblNewFv td, .no-border-cell {
    border: none !important;
}

#tblNewFv tr:hover {
    background-color: transparent;
}

.selected-table-row-half, #gvDaneFv tr:hover {
    background-color: #7399CA80;
    color: #051e58;
}

.cell-no-style, .cell-no-style a, .cell-no-style a:hover, .cell-no-style tr:hover {
    background-color: white !important;
    border: none;
    color: black;
}

.action-cell, .action-cell a, .action-cell a:hover, .action-cell:hover, .action-cell-invisible {
    background-color: white !important;
    border: none !important;
    color: black;
    padding: 6px !important;
}

.action-cell-invisible {
    visibility: hidden;
}

.list-table > tbody > tr:hover > .action-cell-invisible {
    visibility: visible;
}




#gvDaneFv td:last-child, #gvFvDetails td:last-child {
    border: none;
}

#gvDaneFv tr a {
    background-color: white;
    color: #051e58;
}

.status-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-cell-hovered a {
    padding-left: 0 !important;
    margin-left: 15px;
}

#gvFv tr:hover {
    background-image: url(/pdk/img/folderOpenDoc16.png);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 5px;
}

#gvDaneFv input[type=text], #gvDaneFv select {
    min-width: 130px;
}

.cell-text-centered {
    text-align: center !important;
}

.cell-text-right {
    text-align: right !important;
}

.legend-label {
    display: inline-block;
    font-family: 'Messina Sans';
    font-size: 9pt;
    padding: 15px 0;
}

.flex-container, .flex-hv-center {
    display: flex;
    align-items: center;
}

.flex-hv-center{
    justify-content: center;
}

.flex-h-center {
    display: flex;
    align-items: center;
}

.info-message {
    display: inline-block;
    border: 1px solid #d99016;
    border-radius: 3px;
    padding: 15px;
    padding-right: 40px;
    margin: 5px 10px 15px 0px;
    background-color: #fffacd;
    font-family: 'Messina Sans';
    font-size: 11pt;
    background-image: url('../img/x.png');
    background-repeat: no-repeat;
    background-position: center right 5px;
    background-size: 24px;
    color: #b32b0c;
}

.editing-row, .editing-row:hover {
    background-color: #38abe7 !important;
    color: white !important;
}

.empty-row, .empty-row td {
    border: none !important;
    font-family: 'Messina Sans';
    font-size: 11pt;
    padding: 10px;
    background-color: white !important;
    color: black;
}

.btn-show-details {
    /*display:inline-block;*/
    background-color: transparent;
    border: none;
    color: steelblue;
    cursor: pointer;
    padding: 5px;
    height: 100%;
}

    .btn-show-details:hover {
        text-decoration: underline;
        color: orangered;
    }

#panProductDetails {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.60);
    backdrop-filter: blur(2px);
    z-index:1;
}

#gvProductDetails {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

    #gvProductDetails th a:hover {
        color: coral;
    }

.div-form-settings {
    display: flex;
    align-items: end;
    align-content: flex-start;
    font-family: 'Messina Sans';
    /*background-color: #EAEAEA;*/
    /*border: 1px solid #bfd5e1;*/
    padding: 0 15px;
}

    .div-form-settings div {
        display: flex;
        flex-direction: column;
        margin-right: 20px;
    }

    .div-form-settings input {
        width: auto;
    }

.important-info-small {
    font-size: 9pt;
    color: #d3102e;
}

.div-flex-row {
    display: flex;
    align-items: center;
}

.div-flex-col {
    display: flex;
    flex-direction: column;
    margin: 5px 15px 5px 0px;
}

    .div-flex-col p {
        margin-bottom: 5px;
    }

.section-header {
    font-family: 'Messina Sans';
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18pt;
    margin: 5px 0px 40px 0px;
}

.error-message, .page-message {
    display: block;
    font-family: MessinaSans-Bold;
    font-size: 14pt;
    margin: 30px 0;
    color: #c70909;
}

.page-message {
    color: #0b91c5;
}

.text_section {
    font-size: 11pt;
    font-weight: normal;
    line-height: 16pt;
}

.table-hover td:hover{
    cursor: pointer;
}
.table th {
    background-color: #7399CA;
    color: #244770;
}

/*input:not([type='submit']), select {
    background-color: #f1f1f1 !important;
}*/

.document-container, .document-container-native, .document-container-stretch {
    background-color: white;
    border: 1px solid #d7d4d4;
    padding: 30px;
    font-size: 10pt;
    line-height: 1em;
    min-width: 800px;
    margin: 0 24px;
    /*border: 1px solid #b5b3b3;*/
    /*box-shadow: 2px 4px 5px 1px #b3b3b3;*/
    /*max-width: 960px;*/
}

.document-container-native {
    background-color: #5a5a5a;
}

.document-container-stretch {
    align-self: stretch;
}

.document-section-header, .ant-row-section-header {
    background-color: #e5e5e5;
    min-height: 15px;
    margin: 5px 10px 10px 10px;
    padding: 8px 10px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1em;
}

.ant-row-section-header {
    margin: 10px -5px;
}

.ant-tabs-top > .ant-tabs-nav {
    margin-bottom: -1px !important;
    z-index:1;
}

.ant-modal-header {
    background-color: #3f5b81 !important;
}
    .ant-modal-header > .ant-modal-title {
        color: #fbf7f7 !important;
    }

    .ant-modal-close-x {
        color: #fbf7f7 !important;
    }

/*.ant-steps-item-title {
    display: inline-flex !important;
    white-space: break-spaces;
    margin-right: 10px;
}*/
.ant-steps-item-container {
    /*min-width: 200px;*/
    width:contain;
}

.document-no-data {
    text-align: center;
    text-transform: uppercase;
    color: silver;
    font-family: sans-serif;
}

.document-menu-container {    
    align-self: end;
    /*padding-right: 50px;*/
}

.form-label{
    font-weight:bold;
    margin-right:5px;
}

span.form-control {
    min-height: 52px;
    margin-bottom: 10px;
}

.editable-field:not(:read-only)
, .ant-select-selector
, .editable-field > .ant-input:not(:read-only)
, .editable-currency-field
, .editable-date-field
, .editable-number-field-centered
, .editable-radiogroup-field .ant-radio-inner
, .editable-field.ant-picker
, .editable-select-field {
    background-color: #fff9c1 !important;
    color: #3c0202;
}

.ant-radio-disabled .ant-radio-inner {
    background-color: whitesmoke !important;
}

.ant-radio-disabled + span{
    color: rgb(0, 0, 0, 0.7) !important;
}

/*.editable-radiogroup-field .ant-radio-inner {
    background-color: whitesmoke !important;
}

.ant-radio-inner + span{
    color: black !important;
}*/

.editable-currency-field input[role=spinbutton] {
    text-align: right;
    padding-right: 30px;
}

.editable-number-field-centered input[role=spinbutton] {
    text-align: center;
}

.annotation {
    color: #ff3636;
    margin: 25px 0;
}
.annotation:before{
    content: '*** ';
}
.annotation:after{
    content: ' ***';
}

.help {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #068df7;
    /*cursor: help;*/
}

.ant-table-blue{
    border: 1px solid #dbdee3 !important;
}

.ant-table-blue .ant-table-thead .ant-table-cell, .ant-table-blue th.ant-table-column-sort {
    background-color: #3f5b81 !important;
    color: #e9f0ff;
}

.ant-table-invoice-items thead {
    position: sticky;
    /*top: 167px;*/
    top: 29px;
    z-index: 1;
}
/*.ant-table-blue .ant-table-thead .ant-table-cell:hover {
    color: #f9d28c !important;
}*/

/*.ant-table-thead .ant-table-cell, th.ant-table-column-sort {
    background-color: #3f5b81 !important;
    color: #e9f0ff;
}

.ant-table-thead:hover {
    background-color: #121212;
}

.ant-table-thead .ant-table-cell:hover, th.ant-table-column-sort {
    color: #f9d28c !important;
}

.ant-table tbody > tr:hover > td {
    background-color: lightsteelblue !important;
}*/

/*
.ant-table tbody > tr:nth-child(1n+2) {
    background-color: #f7fbff !important;
}*/

.button-gray {
    /*color: #f4f4f5;*/
    border: 1px solid #586066;
    /*background-color: #373a3c;*/
    color: #222324;
    background-color: ghostwhite;
    box-shadow: 2px 3px 7px 0px rgb(129 123 123 / 51%);
    padding: 6px 15px;
    transition: .25s;
    border-radius: 3px;
    margin-left: 10px;
    min-height: 36px;
    border: 1px solid #9da7b3;
}
    .button-gray:hover {
        color: white;
        background-color: #396aa9;
        cursor: pointer;
        border: 1px solid #415cc4;
    }

    .button-gray:disabled {
        color: #c2c4c7;
        border-color: #cbcdd1;
        pointer-events: none;
        background-color: #e5e5e5;
        box-shadow: none;
    }

.button-wide{
    padding: 6px 60px;
}

.ant-form-span {
    /*box-sizing: border-box;*/
    font-weight: inherit;
    margin: 0;
    position: relative;
    display: inline-block;
    width: 100%;
    min-width: 0;
    padding: 4px 11px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
    transition: all 0.3s;
}

.ant-card-head {
    background-color: #f2f4f5 !important;
}
.ant-card-hoverable{
    cursor: default !important;
}

.sign-field{
    border-bottom: 1px dashed dimgray;
    padding: 0 20px;
    font-style: italic;
    min-width:120px;
    text-align: center;
}

.ant-btn-link-bordered {
    border: 1px solid #d9d9d9 !important;
    width: 100%
}

.ant-btn-link-bordered:hover{
    background-color: #dee7f3 !important;
    color: steelblue !important;
}

.ant-btn {
    white-space: initial !important;
}

.ant-upload-select-picture-card {
    height: 60px !important;
}

.ant-comment-content-author-name a {
    font-size: 11pt;
    font-weight: normal;
}

.ant-comment-content-detail p {
    font-weight: normal;
    font-style: italic;
    color: rgba(0, 0, 0, 0.75);
}

.warning-text{
    color:darkred;
    font-size:1.1em;
    margin: 0 5px 0 0;
    text-transform: uppercase;
}

.star-note, .star-note a, .star-note a:visited {
    font-size: 10pt;
    font-weight:normal;
    color: firebrick;
}
.star-note::before{
    content: '* ';
    font-weight: bold;
}
    .star-note a, .star-note a:hover {
        text-decoration: underline;
    }
