/*@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@100;300;400;500;600;700&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700&family=Roboto:wght@100;400;500;600;700&display=swap');*/
@import url("fonts/GillSansNova/stylesheet.css");
@import url("fonts/GillSans/stylesheet.css");
@import url("fonts/NunitoSans/stylesheet.css");
@import url("messagebox.css");
@import url("leftmenu.css");
@import url("topmenu.css");

html{
    height:100%;
    scrollbar-color: var(--scrollbar-color);     /* «цвет ползунка» «цвет полосы скроллбара» */
    scrollbar-width: thin;  /* толщина */
}



body *{
    crollbar-color: var(--scrollbar-color);     /* «цвет ползунка» «цвет полосы скроллбара» */
    scrollbar-width: thin;  /* толщина */
}

body{
    font-family: 'Gill Sans Nova';
    font-weight: 500;
    font-style: normal;
    color: var(--main-font-color);
    background: var(--main-background-color);
    /*margin: 0;
    height:100%;*/
    /*padding-left: 225px;
    padding-top: 105px;
    padding-right: 25px;*/
    scrollbar-color: var(--scrollbar-color);     /* «цвет ползунка» «цвет полосы скроллбара» */
    scrollbar-width: thin;  /* толщина */

}

::-webkit-scrollbar-button {
    background-image:url('');
    background-repeat:no-repeat;
    width:8px;
    height:0px
}

::-webkit-scrollbar-track {
    background-color:#ecedee
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color:#9D9CDE;
}

::-webkit-scrollbar-thumb:hover{
    background-color:#9D9CDE;
}

::-webkit-resizer{
    background-image:url('');
    background-repeat:no-repeat;
    width:8px;
    height:0px
}

::-webkit-scrollbar{
    width: 8px;
}


a:hover {
    color: hotpink;
}

a:active, a:focus {
    outline: none;
}

input, textarea, password {
    outline:none;
}
input:active, textarea:active, password:active {
    outline:none;
}
:focus {
    outline:none;
}
textarea {
    resize:none;
}
textarea {
    resize:vertical;
}
textarea {
    resize:horizontal;
}

.gold{
    color: #E18F00;
}
.bronze{
    color: #CD7F32;
}
.silver{
    color: #C0C0C0;
}
.platinum{
    color: #E5E4E2;
}

.selected td{
    /*background: none;*/
    background-color: #E0E5F3;
}

/*покрасим радиобаттоны*/
.optionGroup input[type=radio]{
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 7px;
}
.optionGroup input[type=radio] + label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
}
.optionGroup input[type=radio] + label:before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 22px;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: var(--main-background-color);
    transition: .2s;

}



.optionGroup input[type=radio]:checked+label::before {
    box-shadow: 0 0 2px 0px var(--defbutton-color);
    background-image: var(--radiobutton-image);
}

.optionGroup input[type=radio]:hover+label::before {
    border-color: var(--defbutton-color);
    box-shadow: 0 0 1px 1px var(--defbutton-color);
    transition: .2s;

}
.optionGroup{
    margin-top: 2px;
}

.mainField{
    display: flex;
    flex-direction: row;
}

.leftMenuMainContainer{
    width: 250px;
}

.rightSideMainContainer{
    display: flex;
    flex-direction: column;
    width: calc(100vw - 300px);
}

.mainTextInput{
    font-size: 14px;
    border: 1px solid #D8D8D8;
    border-radius: 3px;
    font-family: 'AvenirNextCyr-Regular';
    min-height: 22px;
    min-width: 110px;
    padding: 2px;
    margin-right: 25px;
    margin-top: 10px;
    background-color: #FCFCFC;
}

.mainContainer{
    margin-left: 27px;
    margin-top: 50px;
    position: fixed;
    height: 100vh;
    top: 60px;
    width: calc(100% - 320px);
}
/*.dropdownSelect{
     width: 100%;
     background-color: var(--main-background-color);
    color:var(--definput-font-color);
    height: 30px;
    border: 0px;
    font-size: 12px;
    font-family: 'Gill Sans Nova';
    border-radius: 5px;
    padding-left: 7px; 
     
}*/
.dropdownSelect{
    color:var(--definput-font-color);
    width: 100%;
    height: 30px;
    border: solid 1px var(--main-background-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Gill Sans Nova';
    -moz-font-family:'Gill Sans Nova';
    box-shadow: none;
    margin-right: 10px;
    padding-left: 7px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    -ms-appearance: none;
    appearance: none;
    cursor: pointer;
    background:  var(--select-arrow-down) no-repeat var(--main-background-color);
    background-position: center right 7px;
}



.dropdownSelect:hover{
    background: var(--select-arrow-down) no-repeat var(--main-background-color);
    background-position: center right 7px;
    border: solid 1px var(--defbutton-color);
    transition: 0.2s;

}


.dropdownSelect:focus{
    background: var(--select-arrow-up) no-repeat var(--main-background-color);
    background-position: center right 7px;


}

.dropdownSelect:focus option{
    box-shadow: 0 0 1px 1px var(--defbutton-color);
    border-color: var(--defbutton-color);
    color: var(--definput-font-color);
    cursor: pointer;
}

.dropdownSelect:focus option:hover {
    color: var(--definput-font-color);
}





.themeSwitch , .themeSwitch b{
    background-image: var(--theme-switch-img);
    background-size: 100%;
    width:  37px;
    height: 37px;
    background-position: center;
    display: inline-block;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-transition: .5s opacity;
    -moz-transition: .5s opacity;
    -ms-transition: .5s opacity;
    -o-transition: .5s opacity;
    transition: .5s opacity;

}

.themeSqitch:hover b{
    background-image: var(--theme-switch-invert-img);
    opacity: 1;
}

.themeSqitch b {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}


.bigLabel{
    padding-top: 21px;
    padding-left: 50px;
    color: var(--main-font-color);
    font-size: 21px;

}


.orderMaterialgroup{
    padding-top: 10px;
    padding-left: 30px;
}
.orderMaterialgroup>label{
    margin-right: 20px;
}
.quickOrderLine{
    padding-left: 30px;
}
.quickOrderLabel{
    /*font-weight: bold;*/
    margin-top: 5px;
    display: inline-block;
}

.orderPayGroup{
    padding-top: 10px;
    padding-left: 30px;
    display: inline-block;
}
.quickOrderTable{
    padding-top: 10px;
    font-weight: 200;
    padding-bottom: 5px;

}
.orderCommentInput{
    width: calc(100% - 40px);
    height: 50px;
    margin-bottom: 10px;

}
.quickOrderButton {
    width: 100px;
    height: 20px;
    color: white;
    background-color: #3498DB;
    border-radius: 5px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 12px;
    position: relative;
    left: calc(100% - 132px);
    cursor: pointer;
    bottom: 0px;
}
.addMaterialButton{
    background-image: url(../img/addMaterial.png);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
}
.addMaterialButton:hover{
    box-shadow: 1px 1px rgba(0,0,0,0.4) ;

}

.tableWidthField{
    font-size: 14px;
    border: 1px solid #D8D8D8;
    border-radius: 3px;
    font-family: 'AvenirNextCyr-Regular';
    background-color: #FCFCFC;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 55px;
    width: 70%;
    min-height: 22px;
    margin-top: 10px;
}

.tableHeightField{
    font-size: 14px;
    border: 1px solid #D8D8D8;
    border-radius: 3px;
    font-family: 'AvenirNextCyr-Regular';
    background-color: #FCFCFC;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 55px;
    width: 70%;
    min-height: 22px;
    margin-top: 10px;
}

.plusMinusButton{
    width:25px;
    height: 25px;
    display: inline-block;
    text-align: center;
    cursor: pointer;

}
.textDiv{
    width:55px;
    height: 25px;
    display: inline-block;
    text-align: center;
    margin-top: 2px;
}
.kolvoRolei, .kolvoKg{
    font-size: 16px;
    border: 1px solid #F5F5F5;
    border-radius: 3px;
    font-family: 'AvenirNextCyr-Regular';
    background-color: #F5F5F5;
    display: block;
    width: 110px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}
.blankDiv{
    font-size: 16px;
    color: black;
    width: 50px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.delMaterialButton{
    background-image: url(../img/delMaterial.png);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 20px;
}
.delMaterialButton:hover{
    box-shadow: 1px 1px rgba(0,0,0,0.4) ;

}
.addOrdePositionButton{
    display:none;
}

.quickOrderTableHeader > th:nth-child(3){
    width: 42%;
    text-align: left;
    margin-left: 10px;
}

.quickOrderTableHeader > th:nth-child(4){
    text-align: center;
    width: 100px;
}

.quickOrderTableHeader > th:nth-child(5){
    text-align: center;
    width: 100px;
}

.orderTableHeaderType2 > th:nth-child(3){
    width: 70%;
    text-align: left;
    margin-left: 10px;
    padding-right: 20px;
}

.orderTableType2{
    display: none;
}

.orderTimeToPick {
    display: none;
    float: right;
    margin-right: 30px;
    font-family: 'AvenirNextCyr-Regular';
    font-size: 14px;
}

.orderTimeToPickLabel{
    color: #000000;
    margin-bottom: 5px;
}

.orderTimeToPickVar{
    color:#4A4A4A;
    margin-bottom: 5px;
}

.draftContainer {
    border-radius: 24px;
    background-color: white;
    max-width: 412px;
    min-width: 250px;
    height: 448px;
    margin-left: 53px;
    color: #363565;
}
.draftMoreButton{
    text-align: center;
    cursor: pointer;
}



.draftLine{
    border-radius: 5px;
    box-shadow: 1px 1px 1px 0px rgba(225, 225, 239, 0.8);
    min-width: 310px;
    width: calc(100% - 20px);
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    position: relative;
    margin-bottom: 10px;
}
.draftLine:hover{
    background-color: rgba(228, 228, 240, 0.22);
}

.draftLineLabel{
    height: 100%;
    width: 5px;
    border-radius: 5px 0px 0px 5px;
    background-color: rgb(225, 225, 239);
    display: inline-block;
}
.draftLineTable{
    min-width: 250px;
    width: 70%;
    display: inline-block;
    color: #363565;
    font-family: 'HelveticaRegular', monospace;
    height: 100%;
    padding-top: 5px;
}
.draftNumber{
    font-size: 16px;
    width: 40%;
    height: 30px;
    padding-right: 5px;
}
.draftDate{
    font-size: 14px;
    font-weight: 600;
}

.draftName{
    font-size: 10px;
    text-align: center;
    height: 30px;
    padding-right: 5px;
}

.draftPositions{
    font-size: 12px;
    font-weight: bold;
}
.draftButton {
    width: 80px;
    height: 22px;
    text-align: center;
    border-radius: 20px;
    background-color: #E1E1EF;
    display: inline-block;
    font-size: 11px;
    padding-top: 10px;
    position: absolute;
    /* top: -30px; */
    cursor: pointer;
    min-width: 70px;
    top: 40px;
    right: 5px;
}
.draftButton:hover{
    box-shadow: 0px 0px 2px 0px rgba(128,128,128,0.7);
}

.draftDeleteButton {
    position: absolute;
    width: 12px;
    height: 15px;
    border-radius: 10px;
    color: red;
    top: -5px;
    left: calc(100% - 20px);
    border: #D8D8D8 1px solid;
    padding-left: 3px;
    visibility: hidden;
}

.draftLine:hover .draftDeleteButton {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
}

.newsContainer {
    border-radius: 24px;
    background-color: white;
    /*width: 100%;*/
    margin-left: 53px;
    /* margin-right: 30px;*/
    position: relative;
    color: #363565;
    height: 412px;
    max-width: 412px;
    margin-top: 35px;
}


.newsContainerLabel{
    padding-left: 30px;
    margin-bottom: 10px;
}

.newsContainerCouner{
    position: absolute;
    left: 150px;
    top: 20px;
    color: white;
    border-radius: 20px;
    width: 23px;
    height: 16px;
    background-color: #4A9D77;
    text-align: center;
    padding-top: 7px;
    font-size: 9px;
}
.newsLineAvatar{
    width: 58px;
    height: 58px;
    border-radius: 58px;
    background-size: 58px 58px;
    background-repeat: no-repeat;
    background-image: url(../avatars/news/news1.png);
    margin-right: 5px;

}

.newsContainerBottomLabel{
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #4A9D77;
    font-size: 16px;
    cursor: pointer;
}

.newsLine{
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 30px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 5px;
}
.newsLine:hover{
    background-color: #F8F8FB;
    transition: .3s ease-out;
    transition-delay: 0.1s;
}
.newsLineCaption{
    font-size: 16px;
    color: #4A9D77;
    font-weight: bold;
}
.newsLineSubCaption{
    font-size: 9px;
    line-height: 1.778;
}
.newsLineTime{
    font-size: 11px;
}
.newsLineContent{
    font-size: 9px;
    line-height: 1.778;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -ms-line-clamp: 2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    display: box;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    height: 30px;
    word-wrap: break-word;
    max-width: 80%;
    margin-right: 30px;
}
.newsLineTable{
    /*padding-bottom: 5px;*/
}
.newsLineTableBreakLine{
    border: solid 1px #E7EAF1;
    width: calc(100% - 42px);
    margin-left: 30px;
}
.dialogOverlay{
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(255,255,255, 0.5);
    z-index: 100;
    width: 100%;
    height: 100%;
    margin: 0;

}
.dialogSpace{
    display: none;
}

.inputError{
    box-shadow: inset 0px 0px 10px rgba(255, 0, 0, 1)
}



.defButton{
    text-align: center;
    color: var(--defbutton-font-color);
    height: 27px;
    padding-top: 4px;
    background: var(--defbutton-color);
    border-radius: 5px;
    width: fit-content;
    padding-left: 25px;
    padding-right: 25px;
    cursor: pointer;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    font-size: 14px;
    overflow: hidden;
    border: solid 1px var(--defbutton-color);
}


.defButton:hover{
    box-shadow: 0 0 3px var(--defbutton-shadow);
    transition: 0.1s;
}

.defButton.inactive{
    background-color: var(--defbutton-inactive-color);
    color: var(--defbutton-color);
}

.defButton.disabled{
    background-color: var(--defbutton-inactive-color);
    color: var(--defbutton-disabled-font-color);
    background-color: var(--defbutton-disabled-color);
    border-color: var(--defbutton-inactive-color);
    cursor: initial;
}

.defInput{
    background-color: var(--main-background-color);
    color:var(--definput-font-color);
    width: 100%;
    height: 30px;
    border: solid 1px var(--main-background-color);
    border-radius: 5px;
    font-size: 14px;
    margin-right: 10px;
    box-shadow: none;
    padding-left: 7px;

}


.defInput::placeholder{
    color:var(--definput-font-color);
}


.defInput:focus {
    box-shadow: 0 0 2px rgba(255,255,255,.5)
}


.paginator{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 14px;
}

.paginatorLeft{
    margin-left: 20px;
    margin-right: 5px;
    margin-top: 4px;
    cursor: pointer;
}
.paginatorRight{
    margin-left: 5px;
    margin-top: 4px;
    cursor: pointer;
}
.paginatorLeft>svg>*,.paginatorRight>svg>*{
    fill:var(--defbutton-color);
}

.closeButton {
    border-radius: 27px;
    width: 27px;
    height: 27px;
}

.closeButton:hover{
    box-shadow: 0px 0px 3px var(--defbutton-shadow);
    cursor: pointer;
}

.closeButton>svg>circle{
    fill:var(--defbutton-color);
}

.waitForLoading{
    display:flex;
    justify-content: center;
    height: 100%;
    width: 100%;
    flex-direction: column;
}

.waitForLoading>img{
    opacity: 0.2;
    margin: 0 auto;
    display: block;
    height: 80px;
    width: 80px;
}
.buttonColored{
    color:var(--defbutton-color);
}

@media screen and (max-width: 570px) {
    .mainContainer{
        width: 100%;
    }
}

.spinnerInput{
    width: 60px;
}

.spinnerSpinUp{
    background-image: var(--spinner-up-arrow);
    width:16px;
    height: 10px;
    cursor: pointer;
    margin-bottom: 1px;
    border-radius: 2px;
}

.spinnerSpinDown{
    background-image: var(--spinner-down-arrow);
    width:16px;
    height: 10px;
    cursor: pointer;
    border-radius: 2px;

}
.spinnerSpinDown.disabled{
    cursor: initial;
    background-image: var(--spinner-down-disabled-arrow);
}

.spinnerSpinUp.disabled{
    cursor: initial;
    background-image: var(--spinner-up-disabled-arrow);
}

.spinnerButtons {
    position: relative;
    top: -25px;
    left: 15px;
    float: right;
}
.spinnerSpinUp:hover, .spinnerSpinDown:hover{
    box-shadow: 0px 0px 1px 0px var(--main-font-color);
}
.spinnerText{
    background-color: var(--main-background-color);
    color:var(--definput-font-color);
    height: 20px;
    border: solid 1px var(--main-background-color);
    border-radius: 6px;
    font-size: 14px;
    box-shadow: none;
    text-align: right;
    padding-right: 25px;
    width:50px;
}

@media screen and (max-width : 1200px){
    .mainContainer{
        width: calc(100% - 130px)!important;
    }
}
