*{margin:0;padding:0;outline:none;box-sizing:border-box;font-family:BMWTypeNextTT,Tahoma,Arial;}
html{height:100%;}
body{font-family:BMWTypeNextTT,Tahoma,Arial;font-size:14px;background:fixed url(/static/img/bg.jpg) no-repeat center;background-size:cover;min-height:100%;height:100%;margin:0;padding:0;overflow:auto;}

.content{height:100%;overflow:auto;}
.content.result{height:auto;}

h1{color:#fff;font-size:34px;margin-bottom:10px;text-align:center;clear:both;font-family:BMWTypeNextTT;text-shadow:0 0 7px #000;margin-top:100px;text-transform:uppercase;font-weight:600;}
h2{font-weight:normal;font-size:28px;margin-bottom:30px;text-align:center;font-family:BMWTypeNextTT;}
h3{font-weight:normal;font-size:18px;margin-bottom:20px;font-family:BMWTypeNextTT;}
h4{font-weight:normal;font-size:16px;margin-bottom:30px;font-family:BMWTypeNextTT;color:#fff;}
b{font-family:BMWTypeNextTT;font-weight:normal;}

header{position:relative;z-index:2;}

.logout{position:fixed;right:35px;top:100px;width:80px;background:#fff;padding:5px 10px;text-align:center;color:#000;font-size:12px;text-decoration:none;}
.logo{position:fixed;right:30px;top:10px;display:none;max-height:110px;max-width:110px;}
.logo.active{display:block;}
#bmw_logo{display:block;padding:15px;width:90px;text-align:center;display:flex;height:90px;align-items:center;justify-content:center;}
#mini_logo{float:left;margin-left:30px;margin-top:10px;background:#fff;padding:5px;}
#selects{position:relative;text-align:center;padding:30px 60px;background:rgba(255,255,255,0.5);margin:0 auto;border-radius:50px;margin-bottom:20px;display:inline-block;}
.select_series{display:none;}
#bmw_series{display:inline;}

#conf_form .btns{position:fixed;bottom:20px;right:20px;width:90px;}
#conf_form .btns .btn{box-shadow:0 0 5px #333;padding:8px 15px;text-decoration:none;margin-bottom:5px;display:block;width:90px;}
#conf_form .btns .btn:nth-child(1){background:#293a46;}
#conf_form .btns .btn:nth-child(2){background:#1BC98E;}
#conf_form .btns .btn:nth-child(3){background:#9F86FF;}
#conf_form .btns .btn:nth-child(4){background:#E64759;}
#conf_form .btns .btn:nth-child(6){background:#293a46;}

#conf_form .btns .file{overflow:hidden;position:relative;height:33px;margin-bottom:5px;box-shadow:0 0 5px #333;}
#conf_form .btns .file .browse{position:absolute;right:0;top:0;width:100%;padding:8px 10px;background:#399fcd;color:#fff;}
#conf_form .btns .file input{position:relative;top:0;left:0;height:100%;width:100%;border:0;z-index:2;overflow:hidden;opacity:0;cursor:pointer;font-size:0;}

#euro{position:relative;color:#fff;display:inline;padding:9px 15px;background:#399fcd;color:#fff;border-radius:20px;border:1px solid #e6e6e6;margin-right:5px;}
#euro input{width:60px;text-align:center;padding:0px;border:0;}

#selects .row{position:relative;display:inline-block;vertical-align:top;}
#selects .btn{border-radius:20px;padding:11px 25px;}
#selects #loading{background: #fff;padding: 5px;border-radius: 16px;position: absolute;right: 25px;top: 35px;display:none;}
.errorMessage{position:relative;color:#b00000;margin:5px 0;}

input[type="checkbox"][readonly]{
  pointer-events:none;
  opacity:0.5;
}
input[type="checkbox"].disabled{
  pointer-events:none;
  opacity:0.8;
}
input[type=date].empty{color:rgba(0,0,0,0.3);}
input[type="text"],input[type="numeric"],input[type="date"],input[type="password"]{width:100%;padding:9px 15px;font-size:13px;font-family:BMWTypeNextTT;}
::placeholder{font-weight:300;}
select{padding:8px 5px 8px 15px;font-size:13px;font-family:BMWTypeNextTT;}
textarea{padding:9px 15px;font-size:14px;background:#399fcd;color:#fff;border-radius:20px;border:1px solid #e6e6e6;font-family:BMWTypeNextTT;resize:resize-y;}

.ui-datepicker .ui-datepicker-title select{padding-left:10px;}


.table{border-collapse:collapse;margin:0 auto 100px;border:1px solid transparent;position:relative;table-layout:fixed;width:100%;}
.table tr{background:#fff;}
.table thead tr{background:#1c69d4;color:#fff;}
.table thead tr th{text-transform:uppercase;font-size:12px;border-right:1px solid #1258b8;border-bottom:0;cursor:pointer;position:relative;padding:10px;}
.table thead tr th:hover:after,
.table thead tr th.sort:after{content:"";position:absolute;top:50%;margin-top:-3px;right:10px;border-right:5px solid transparent;border-left:5px solid transparent;border-bottom:7px solid #fff;}
.table thead tr th.sort.desc:after{border-bottom:0;border-top:7px;}
.table thead tr th:last-child{border-right:0;}
.table thead tr td{background:#fff;color:#000;border-top:0;}
.table thead tr td input::placeholder{color:#ccc;}
.table thead tr:last-child td{border-bottom:1px solid #2670d6;}
.table .parent{background:#ccc;}
.table .checked{background:#E1FFDE;}
.table .added{background:#ffbebe;}
.table .parent-0{font-weight:bold;}
.table td{position:relative;border:1px solid #e6e6e6;word-wrap:break-word;}
.table td:first-child{border-left:0;}
.table td:last-child{border-right:0;}
.table tr.space{background:none;}
.table tr.space td{border:0;height:60px;}
.table input, .table select{border:0;padding:0;background:none;width:100%;padding:10px;}
.table select{padding:9px 10px;}
.table td.success{background:#c5ffc5;}
.table input[type=numeric]{text-align:right;}
.table tbody input[type=date]{width:135px;padding-right:0;}

.table tbody{border-top:1px solid #2670d6;display:table-header-group;}
.table tbody tr:nth-child(2n){background:#f9f9f9;}
.table tbody td{-webkit-touch-callout: none;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
.table tbody td.td-select{box-shadow:inset 0 0 0 1px #1258b8;}
.table tbody tr.yellow{background:#fdf6a8;}
.table tbody tr.green{background:#affdc7;}
.table tbody tr.purple{background:#b8a8fd;}
.table tbody tr.blue{background:#affdfd;}
.table tbody tr.selected{background:#affdfd/*#00d0ff*/;}
.table tbody tr.hidden{display:none;}
.table tbody tr.show{display:table-row;}
.table tbody tr td:last-child a{text-decoration:none;transform:rotate(45deg);line-height:1;font-size:20px;display:inline-block;}
.table tbody tr td input:focus,.table tbody tr td select:focus{outline:1px solid #000;}

#check_cols{position:fixed;left:50%;top:100px;width:600px;margin-left:-300px;background:#fff;padding:30px;text-align:left;color:#000;column-count:2;box-shadow:0 0 10px #000;display:none;z-index:3;}
#check_cols div{margin-bottom:5px;}
#check_cols div label{cursor:pointer;}
#check_cols .close{position:absolute;right:20px;top:20px;cursor:pointer;transform:rotate(45deg);line-height:1;font-size:20px;}
#check_cols .btn{display:inline-block;padding:5px 15px;}

.jcontextmenu > div{text-align:left !important;}
.add_row, .export_xls, .check_cols, .set_invoice{background:rgba(28,105,212,0.8);border-radius:50px;width:65px;height:65px;color:#fff;overflow:hidden;position:fixed;bottom:50px;right:100px;display:block;text-align:center;line-height:65px;font-size:35px;cursor:pointer;z-index:3;}
.check_cols{right:180px;background:rgba(255,255,255,0.8);color:#1c69d4;border:1px solid #1c69d4;font-size:32px;line-height:45px;}
.export_xls{right:260px;}
.export_xls button{font-size:18px;text-decoration:none;background:rgba(24,129,37,0.8);border:0;width:100%;height:100%;color:#fff;display:block;cursor:pointer;}
.set_invoice{right:340px;display:flex;align-items:center;transition:0.3s;}
.set_invoice.expand{width:260px;}
.set_invoice span{min-width:65px;max-width:65px;font-size:26px;}
.set_invoice div{display:flex;}
.set_invoice input{width:60px;text-align:right;padding:5px;font-size:16px;border-top-left-radius:20px;border-bottom-left-radius:20px;border:0;}
.set_invoice button{border-top-right-radius:20px;border-bottom-right-radius:20px;}

.none{display:none;}
.content-width{width:100%;margin:0 auto;}
.clear{clear:both;display:block;overflow:hidden;}
.btn{background:#1c69d4;color:#fff;padding:13px 25px;border:0;font-size:11px;text-transform:uppercase;font-weight:600;width:100%;cursor:pointer;}
.relative{position:relative;}
.clearAfter:after{content:"";clear:both;display:block;}
.overflow{position:fixed;z-index:100;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,0.8);}
.loading{background-image:url(/static/img/loading.svg);background-repeat:no-repeat;background-position:center;background-size:60%;text-indent:150%;white-space:nowrap;overflow:hidden;}

.alert{color:#8a6d3b;background-color:#fcf8e3;border-color: #faebcc;padding:15px;margin-bottom: 20px;border:1px solid transparent;border-radius:4px;}
.done{color:#3b8a49;background-color:#e3fce4;border-color: #cffacc;padding:15px;margin-bottom: 20px;border:1px solid transparent;border-radius:4px;}

.main-footer__content{top:0;}

.popup{position:absolute;left:50%;top:100px;width:600px;margin-left:-300px;padding:30px 40px;background:#2986b9;color:#fff;display:none;border-radius:20px;box-shadow:0 0 10px #333;}
.popup_content{font-size:16px;}
.popup_content p{margin-bottom:10px;}
.popup_content div{cursor:pointer;padding:4px 7px;display:inline-block;}
.popup_content div.checked{background:#fff;color:#000;border-radius:4px;}

.popup .close{position:absolute;top:10px;right:15px;font-size:22px;transform:rotate(45deg);cursor:pointer;}

.popup + .popup{top:150px;width:700px;margin-left:-350px;}

.filter_block{position:absolute;border:1px solid #ccc;border-bottom:0;background:#fff;min-width:100%;top:0;left:0;right:0;height:100%;overflow:hidden;border-color:transparent;}
.filter_block div.filter_checkbox{border-bottom:1px solid #ccc;padding:10px;white-space:nowrap;font-size:12px;}
.filter_block > div.filter_checkbox:first-child{padding:0;}
.filter_block div.filter_checkbox input[type=checkbox]{width:auto;vertical-align:top;width:15px;height:15px;margin-right:5px;}
.filter_block div.filter_checkbox label{cursor:pointer;}
.filter_block.active{height:auto;border-color:#ccc;right:auto;z-index:1;}
.filter_values{max-height:210px;overflow:auto;}

.context-menu-open{display: none;position: fixed;z-index: 99999;top: 0;left: 0;box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.54);background:#fff;border-radius:3px;}
.context-menu-open ul{padding:0;margin:0;}
.context-menu-open ul li{cursor: pointer;list-style:none;margin:0;border-bottom:1px solid #BFE2FF;font-size:12px;font-weight:300;}
.context-menu-open ul li:last-child {border-bottom: 1px solid transparent;}
.context-menu-open ul li:hover {background-color: #BFE2FF;}
.context-menu-open ul li a{text-decoration:none;color:#000;display:block;padding:10px 15px;}

/* -------------------------------------------------- */

.grid-view{margin-bottom:100px;}
.grid-view .summary{margin:10px;padding:10px;background:#fff;}
#data-grid{position:relative;z-index:2;}
#data-grid.grid-view .filters input, #data-grid.grid-view .filters select{padding:6px 10px;width:calc(100% + 2px);margin:-1px;}
.grid-view table.items{margin:10px;width:calc(100% - 20px);}

.grid-view table.items thead tr{background:#1c69d4;}
.grid-view table.items thead tr th{position:relative;background:none;border:1px solid #1258b8;padding:10px;white-space:break-spaces;}
.grid-view table.items thead tr th a{color:#fff;font-size:12px;text-transform:uppercase;font-family:BMWTypeNextTT;}
.grid-view table.items thead tr.filters td{background:#fff;border-bottom:1px solid #1c69d4;}

.grid-view td .flex{display:flex;column-gap:5px;padding:0 10px;}

.grid-view table.items tr.odd:hover, .grid-view table.items tr.even:hover{background:aliceblue;}
.grid-view table.items tr.selected{background:#affdfd !important;}
.grid-view table.items th,
.grid-view table.items td{padding:0px;}

.grid-view table.items th:first-child,
.grid-view table.items td:first-child{text-align:center;}

.grid-view table.items td.yellow{background:#fdf6a8;}

.grid-view table.items th input,
.grid-view table.items td input,
.grid-view table.items th select,
.grid-view table.items td select{border:1px solid transparent;background:none;width:calc(100% + 2px);margin:-1px;height:40px;}

.grid-view table.items td input:disabled,
.grid-view table.items td select:disabled{opacity:0.7;}

.grid-view table.items td input:not(:disabled):hover,
.grid-view table.items td select:not(:disabled):hover{border:1px solid #1c69d4;position:relative;z-index:2;}

.grid-view table.items td input.status_85,
.grid-view table.items td select.status_85{background:#b8a8fd;border:1px solid #DADFE0;}

.grid-view table.items td input.status_90,
.grid-view table.items td select.status_90{background:#affdc7;border:1px solid #DADFE0;}

.grid-view table.items td input.status_yellow,
.grid-view table.items td select.status_yellow{background:#fdf6a8;border:1px solid #DADFE0;}

.grid-view table.items tr.selected input.status_yellow,
.grid-view table.items tr.selected select.status_yellow{background:#affdfd !important;}

.grid-view table.items td input:focus,
.grid-view table.items td select:focus{border:1px solid #1c69d4;position:relative;z-index:2;}

.grid-view table.items td.selected-cell input,
.grid-view table.items td.selected-cell select{border:1px solid #1c69d4;position:relative;z-index:2;}

.grid-view table.items td input[type=numeric]{text-align:right;}

.grid-view table.items td:has(.prepayment):after{content:"";position:absolute;border-top:10px solid red;border-left:10px solid transparent;margin-left:-10px;z-index:2;}

.grid-view .pager{background:#fff;padding:10px;margin:10px;}
.grid-view table.items + .pager{text-align:center;}

.grid-view table.items th .select{position:absolute;top:calc(100% + 40px);left:0;overflow:hidden;background:#fff;/*transition:0.3s;*/display:none;z-index:3;}
.grid-view table.items th .select.active{display:block;min-width:calc(100% + 2px);border:1px solid #1c69d4;border-bottom-width:0px;border-top: 0;border-bottom-left-radius:5px;border-bottom-right-radius:5px;margin-top:-1px;margin-left:-1px;overflow:hidden;}
.grid-view table.items th .select:before{position:absolute;top:15px;right:10px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:7px solid #000;display:block;content:"";display:none;}
.grid-view table.items th .select:hover{height:auto;box-shadow:0 0 7px #1c69d4;z-index:10;}
.grid-view table.items th .select .select_scroll{max-height:430px;overflow:auto;}
.grid-view table.items th .select .btn.submit{display:block;text-align:center;cursor:pointer;}
.grid-view table.items th .select .option{display:flex;min-height:38.5px;text-align:left;align-items:center;padding:10px;border-top:1px solid #e5e5e5;color:#000;font-weight:400;}
.grid-view table.items th .select .option.bg_active{background:#d9eeff;}
.grid-view table.items th .select .option input{min-width:15px;width:15px;height:15px;margin-right:10px;cursor:pointer;}
.grid-view table.items th .select .option label{cursor:pointer;}

.grid-view table.items th .select.select_values{border-bottom-width:1px;border-radius:0;}
.grid-view table.items th .select.select_values .option{cursor:pointer;}
.grid-view table.items th .select.select_values .option:hover{background:rgba(35,145,203,0.1);}
.grid-view table.items th .select.select_values [data-sort="1"]{background:rgba(28,212,148,0.18);}


#stock_single > .flex{margin-left:50px;display:flex;align-items:center;grid-gap:30px;}
#stock_single > .flex h1{text-align:left;font-size:48px;margin-top:50px;text-transform:none;}
#stock_single > .flex a{display:block;margin-top:50px;}

.single_stock{background:#fff;margin:50px;text-align:left;}
.single_stock .h1{font-size:2.8vw;margin-bottom:30px;margin-top:10px;color:#000;text-shadow:none;font-weight:400;text-transform:uppercase;}
.single_stock .h1 span{color:#1C69D4;}
.single_stock h2{font-size:40px;border-bottom:1px solid #bbb;text-align:left;padding-bottom:20px;margin-bottom:30px;margin-top:70px;text-transform:uppercase;}
.single_stock h2:first-child{margin-top:0;}

.single_stock .row_data{overflow:hidden;}
.single_stock .stock_price{display:flex;font-size:36px;text-align:left;padding-bottom:30px;margin-bottom:40px;}
.single_stock .stock_price label{font-size:20px;display:block;}
.single_stock .stock_price div:nth-child(2){border-left:1px dashed #262626;padding-left:80px;margin-left:80px;}

.single_stock .flex{display:flex;align-items:center;column-gap:50px;}
.single_stock .flex .stock_image{max-width:50%;position:relative;}
.single_stock .flex .stock_image img{max-width:100%;cursor:pointer;}
.single_stock .flex .stock_image img:first-child{width:100%;height:100%;object-fit:cover;position:absolute;left:0;top:0;transition:0.3s;transition-timing-function:ease-in-out;background:#fff;}
.single_stock .flex .stock_image img:first-child:hover{opacity:0;}
.single_stock .section{background:#F2F2F2;padding:50px 6.5vw;}
.single_stock .stock_data{column-count:3;column-gap:80px;font-size:18px;}
.single_stock .stock_data .item{margin-bottom:25px;display:flex;justify-content:space-between;font-size:16px;position:relative;align-items:end;}
.single_stock .stock_data .item:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-image: linear-gradient(to right, #bbb 33%,#f2f2f2 0%);background-position: bottom;background-size:4px 1px;background-repeat: repeat-x;}
.single_stock .stock_data .item dt{background:#F2F2F2;position:relative;padding-right:5px;max-width:60%;}
.single_stock .stock_data .item dd{background:#F2F2F2;position:relative;padding-left:5px;}

@media screen and (max-width: 1600px) {
	.single_stock .stock_data{column-count:2;}
}

.single_stock .form .rows{display:flex;flex-wrap:wrap;column-gap:80px;}
.single_stock .form .row{margin-bottom:25px;max-width:30%;}
.single_stock .form .row nowrap{display:flex;font-size:1vw;color:#999;}
.single_stock .row label{margin-bottom:10px;font-size:0.95vw;display:block;color:#999;}
.single_stock .form .row input[type=text],
.single_stock .form .row input[type=date],
.single_stock .form .row .field,
.single_stock .form .row select{width:450px;max-width:100%;border:1px solid #bbb;font-weight:500;font-size:0.95vw;background:transparent;line-height:60px;padding:0px 30px;min-height:60px;display:inline-block;}

.single_stock .row .btn{display:inline-block;font-size:16px;width:auto;font-weight:300;min-width:250px;line-height:50px;padding:0;text-align:center;text-decoration:none;}
.single_stock .btn-file{border:1px solid #1C69D4;text-transform:uppercase;color:#1C69D4;font-size:16px;font-weight:400;text-align:cener;background:#fff;text-decoration:none;}
.single_stock .form .row .success{background:#e1ffe4 !important;border-color:#a5ffae !important;}
.single_stock .form .row input.warning{background:#ffffe1 !important;border-color:#fff8a5 !important;}
.single_stock .form .row input.forbidden{background:#ffe1e1 !important;border-color:#ffa5a5 !important;}
.single_stock .form .row input.warning + .errorMessage{display:block !important;}
.single_stock .form .row input.forbidden + .errorMessage{display:block !important;}

.single_stock .docs_block{position:relative;text-align:left;}
.single_stock .docs_block input[type=file]{position:absolute;left:0;top:0;width:245px;height:50px;cursor:pointer;opacity:0;z-index:1;}
.single_stock .docs_block .btn-file{border:1px solid #1C69D4;text-transform:uppercase;color:#1C69D4;font-size:16px;font-weight:400;text-align:cener;background:#fff;text-decoration:none;width:245px;line-height:50px;}
.single_stock .docs_block .bar{width:0%;height:15px;background:#1C69D4;margin-top:10px;}
.single_stock .docs_block .sortable{column-count:3;column-gap:80px;margin-top:30px;}
.single_stock .docs_block .single_doc{overflow:hidden;margin-bottom:50px;border:1px solid #bbb;padding:1.5rem 2rem;}
.single_stock .docs_block .single_doc .row:last-child input{margin-bottom:0;}
.single_stock .docs_block .single_doc .flex{margin-bottom:20px;column-gap:30px;}
.single_stock .docs_block .single_doc .cursor-move{display:none;}
.single_stock .docs_block .single_doc input{margin-bottom:25px;border:1px solid #bbb;font-size:0.95vw;background:transparent;line-height:60px;padding:0px 30px;min-height:60px;}
.single_stock .docs_block .single_doc .main_doc_data{font-size:16px;}
.single_stock .docs_block .single_doc .main_doc_data input{border:0;padding:0;margin-bottom:7px;font-weight:700;text-transform:uppercase;min-height:0;line-height:1.4;}
.single_stock .docs_block .single_doc .main_doc_data span{color:#999;}
.single_stock .docs_block .single_doc .del{background:url(/static/img/del.svg) no-repeat left center;padding-left:25px;color:#CC4242;text-decoration:none;font-size:16px;display:inline-block;}
.single_stock .docs_block .single_doc .del:hover{opacity:0.7;}

.single_stock .requestsIIN{display:flex;width:100%;}
.single_stock .requestsIIN.status span{font-weight:600;}
.single_stock .requestsIIN span{padding:15px 25px;background:#fff;display:block;margin-bottom:1px;margin-right:1px;text-align:center;}
.single_stock .requestsIIN span:nth-child(1){width:25%;}
.single_stock .requestsIIN span:nth-child(2){width:25%;}
.single_stock .requestsIIN span:nth-child(3){width:25%;}
.single_stock .requestsIIN span:nth-child(4){width:25%;grid-gap:15px;white-space:nowrap;}
.single_stock .requestsIIN span:nth-child(4) a{margin:0 5px;}
.single_stock .requestsIIN.status2 span:nth-child(4){color:green;}
.single_stock .requestsIIN.status-1 span:nth-child(4){color:red;}

.btn:disabled, .btn.disabled{cursor:not-allowed;filter:grayscale(1);}
.btn.cancel{background:gray;}



