*{
  outline:0;
  padding: 0;
  margin:0;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
}
::-webkit-scrollbar{width: 5px; }
::-webkit-scrollbar:horizontal{ height: 22px; }
::-webkit-scrollbar-button { background: #000;  }
::-webkit-scrollbar-track { background: #c2c2c2; }
::-webkit-scrollbar-track-piece { background: #c2c2c2;  }
::-webkit-scrollbar-thumb {background: #000;-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);}
html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  height: 100%;
  width: 100%;
  background-color: #edf1f5;
}
/*links*/
a{
  color:#181818;
  -webkit-transition:all .2s ease-in-out;
  transition:all .2s ease-in-out;
}
a:hover, a:focus {
  color:#60606e;
  text-decoration: none;
}
p{
  font-family: arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.628571;
  color: #666;
  text-rendering: optimizelegibility;
}
ul {
  list-style: none;
  display: block;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  padding-inline-start: 0px;   
}
li {list-style-type:none;}
h1, h2, h3, h4, h5, h6 {font-family: arial, sans-serif;color: #000;text-rendering: optimizelegibility;line-height: normal;}
.clear:before,
.clear:after,
.row:before,
.row:after,
.container:before,
.container:after{
  content: " ";
  display: table;
}
.clear:after,
.row:after,
.container:after{
  clear:both;
}
.container {max-width: 100%;}
.container-full {max-width: 100%}
.justify-content {justify-content: center;}
/** Button **/
.btn,button:focus {outline: none!important;}
.btn-clients {
  border-radius: 0;
  background: #0468b3;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  margin-bottom: 20px;
}
.btn-clients:hover {background: #0468b38c;}
/** Input **/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
/** Page Title **/
.page_title {margin-bottom: 20px;}
.page_title span {font-size: 28px;}

/** Login Page **/
.login_page {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255,255,255,0.7);
  background: url(../img/login-bg.jpg) no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  background-attachment: fixed;
}

/** Form Login **/
.form_login {height: 100vh}
.form_login_div {
  position: absolute;
  left: 0;
  right: 0;
  margin-right: auto;
  margin-left: auto;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  height: 280px;
}
.form_login form {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  max-width: 360px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.form_login input {
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}
.form_login input[type=submit] {
  background: #0468b3;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0;
}
.form_login input[type=submit]:hover {background: #0468b38c;}
.form_login .error {
  color: red;
  font-size: 13px;
  font-weight: bold;
  margin-top: 10px;
}

/** Header **/
header {
  background: #fff;
  padding: 30px 0;
  position: relative;
  z-index: 9;
}
.container_header {width: 100%;padding: 0 15px;}
.header_info {
  display: flex;
  align-items: center;
  flex: 100%;
}
.header_info .logo {width: -webkit-fill-available;}
.header_info .logo a span {
  font-size: 30px;
  text-transform: capitalize;
  font-weight: 700;
  color: #000;
}
.header_info .logo a:hover span {color: #000000a8;}
.header_info .user_info {
  text-align: right;
  width: -webkit-fill-available;
}
.header_info .user_info i {margin-right: 10px;}
.header_info .user_info a {
  color: #0468b3;
  font-size: 16px;
  text-transform: capitalize;
}

/** Breadcrumbs **/
.breadcrumbs {
  background: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-top: solid 1px #edf1f5;
  width: 101%;
  margin-left: -10px;
}
.breadcrumbs ul li {
  display: inline-block;
}
.breadcrumbs ul li a,.breadcrumbs ul li span {
  font-size: 16px;
  color: rgba(0, 0, 0, .5);
}
.breadcrumbs ul li span.brea_current {color: #0468b3}

/** Sidebar (Menu) **/
.sidebar_left {
  z-index: 8;
  position: fixed;
  width: 220px;
  padding-top: 102px;
  height: 100%;
  background: #fff;
  box-shadow: 1px 0px 20px rgb(0 0 0 / 8%);
  overflow-y: auto;
  top: 0;
}
.sidebar_menu li {
  padding: 15px 15px 0 15px;
}
.sidebar_menu li:first-child {border-top: solid 1px #edf1f5;}
.sidebar_menu li a {
  font-size: 16px;
}
.sidebar_menu li a i {
  color: #0468b3;
  font-weight: 500;
  margin-right: 10px;
}
.sidebar_menu li:hover a {color: #0468b3b3;}
.sidebar_menu li:hover a i {color: #0468b3b3;}

/** Page **/
.page-wrapper {
  position: inherit;
  margin: 0 0 0 230px;
  /*height: calc(100% - 102px);*/
  min-height: 88%;
}
.page-footer {
  bottom: 0;
  color: #58666e;
  padding: 20px 30px;
  right: 0;
  background: #fff;
  left: 0;
  margin: 0;
  width: 100%;
  height: auto;
  min-height: auto;
  z-index: 9;
  position: inherit;
}

/** Home Page **/
.home_block {
  background: #fff;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: rgb(169 165 226 / 22%) 5px 6px 5px;
  margin: 5px;
  max-width: 32%;
}
.home_block:hover {box-shadow: -1px -1px 15px rgb(0 0 0 / 53%);}
.home_block a {
  display: flex;
  align-items: center;
}
.home_block .icon {}
.home_block .icon i {
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 50%;
  background: #0468b3;
  color: #fff;
  line-height: 60px;
  text-align: center;
  font-size: 25px;
  margin-right: 15px;
}
.home_block .title {}
.home_block .title span {
  font-size: 22px;
  font-weight: 500;
  margin: 10px 0 0px;
  color: #0468b3;
  text-transform: uppercase;
}
.home_block .title p {
  font-size: 26px;
  font-weight: 600;
  color: #0468b3;
  margin: 0;
}

/** Clients Page **/
#clients .modal-dialog {max-width: 800px;}
.ajax_form input,.ajax_form textarea,.ajax_form select {
  width: 33%;
  padding: 10px;
  border: solid 1px #e9ecef;
  border-radius: 0;
  font-size: 16px;
  margin-bottom: 10px;
}
#ajax_form_category input,#ajax_form_subcategory input,#ajax_form_subcategory select,
#ajax_form_order input,#ajax_form_order select,#purchase input ,#purchase select,
#selling input,#selling select {width: 100%;}
.ajax_form #comment,.ajax_form #comment_2,.ajax_form #comment_sale {
  display: block;
  width: 100%;
  min-height: 100px;
}
.tab-content>.tab-pane {
  margin-top: 25px;
  /*max-height: 530px;
  overflow: hidden;
  overflow-y: scroll;*/
}
#result_form_clients,.ajax_result_form {
  text-align: right;
  color: green;
  font-size: 18px;
}
/* Table */
#clients_table {
  /*max-height: 655px;
  overflow: hidden;
  overflow-y: scroll;*/
}
.table button {width: 100%;}
.table button:not(:last-child) {margin-bottom: 5px;}
.table td, .table th {vertical-align: middle;}
.client_table {width: 100%}
.client_table tbody tr th {
  padding-right: 15px;
  padding-bottom: 10px;
}
.client_table tbody tr th:last-child {padding-right: 0;}
.client_table tbody tr:hover {
  background: #f1f1f1;
  cursor: pointer;
}
#statistics form {
  align-items: center;
  justify-content: flex-start;
  display: flex;
}
#statistics form input {
  width: 50%;
  margin-bottom: 0;
}
#statistics form input:last-child {margin-left: 5px;}
/* Order */
.order_total div {
  font-size: 16px;
  margin-right: 20px;
  display: inline-block;
  font-weight: bold;
}
.order_total #order_total {font-size: 24px;}
#order_plus,#order_plus input{color: green;}
#order_minus,#order_minus input{color: #0468b3;}
#statistics .col-md-4 {border: solid 2px #0468b3;}
#order_minus {font-size: 15px;text-align: center;font-weight: bold;}
#order_minus input {text-align: center;border: none;width: 100%;font-weight: bold;}
.order_total input {
  border: solid 1px;
  padding: 10px;
  background: transparent;
  font-weight: bold;
  margin-bottom: 0;
}
.order_table input {
  background: transparent;
  border: none;
  max-width: 60px;
}
.order_total {
  display: flex;
  align-items: center;
  margin-top: 25px;
}
#order_plus form {display: inline-block;}
.client_prepayment {margin-top: 25px;}
.client_prepayment table {margin-top: 10px;}
.client_prepayment table input {
  border: 0;
  color: #000;
  font-size: 14px;
}
/** Order Page **/
#order_table tbody tr {display: none;}
#order_table tbody tr.active,#transfer_table tr,#removal_table tr {display: table-row;}
#removal_table tbody tr {
  background: #dc3545;
  color: #fff;
}
.order_table tr.In-process {background: #fff;}
.order_table tr.Sent {background: #0468b3;}
.order_table tr.Completed {background: #03a9f4;}
.order_table tr a,.order_table input,.order_table tr a p {
  font-weight: bold;
  color: #000;
  margin: 0;
  line-height: normal;
  font-size: 14px;
}
#order_select,#order_search,#date_search,#clients_search {
  width: 100%;
  max-width: 300px;
  padding: 15px;
  border: solid 2px #fff;
  margin-bottom: 20px;
}
#order_search {max-width: 100%;}

/** Footer **/
footer .developed a {
  font-size: 16px;
  color: #337ab7;
}

/** Media queries **/

@media only screen and (max-width:1724px){

}

@media only screen and (max-width:1440px){
}

@media only screen and (max-width:1280px){
}

@media only screen and (max-width:1110px){
}

@media only screen and (max-width: 1050px ){
/** Button **/
.btn-clients {
  width: 100%;
  font-size: inherit;
  width: 100%;
  display: block;
}
.btn-clients:not(:last-child) {margin-bottom: 15px;}

/** Header **/
header {margin-bottom: 0;padding: 10px 0;}

/** Page Title **/
.page_title {
  text-align: center;
  margin-bottom: 15px;
}
.page_title span {font-size: 28px;}

/****/
/** Sidebar (Menu) **/
.sidebar_left {
  position: inherit;
  width: 100%;
  top: 0;
  margin: 0;
  height: auto;
  padding: 15px 0;
  border-top: solid 1px #edf1f5;
  box-shadow: none;
}
.sidebar_menu li {padding: 0 15px 0 15px;;}
.sidebar_menu li:not(:last-child) {padding-bottom: 15px}
.sidebar_left li:first-child {border-top: none;}

/** Breadcrumbs **/
.breadcrumbs {
  width: 100%;
  margin-left: 0
}

/** Table **/
.tab-content>.tab-pane {max-height: 100%;overflow: hidden;}

/** Page **/
.page-wrapper {margin: 0;height: auto;}
.page-footer {
  margin: 20px 0 0 0;
  position: inherit;
  padding: 20px 10px
}
.page-footer .col-md-6 {width: 50%;}

/** Home Page **/
.home_block {max-width: 100%;}

/** Clients Page **/
#ajax_form_clients input, #ajax_form_clients textarea, #ajax_form_clients select {width: 100%;}
#statistics form {display: block;width: 100%;}
#statistics form input,form.ajax_form  input {width: 100%;}
#statistics .col-md-8,#statistics .col-md-4 {
  width: 70%;
  align-items: center;
  justify-content: flex-start;
  display: flex;
}
#statistics .col-md-4 {width: 29%;}
#statistics input {width: 100%;margin-bottom: 0;}
#statistics form input:last-child {margin-left: 0;}
#btn-order-plus {margin-top: 10px;}

/* Order */
.order_total div {margin-right: 0}
#order_select {
  max-width: 100%;
  margin-bottom: 15px;
}
#order_plus form {
  width: 60%;
  margin-left: 10px;
}
.order_total {display: block;}
#order_plus {
  display: flex;
  align-items: center;
}
#order_plus form input {display: inline-block;width: 49%;}
/** Modal **/
.modal-dialog {margin: 0;}
.modal-content {height: 100%;}
/** Firma Page **/
.firma_page .col-md-6 {width: 100%;}
}

@media only screen and (max-width:768px){

}

@media only screen and (max-width:480px){


}

@media only screen and (max-width: 375px){
/** Header **/
}

@media only screen and (max-width: 325px){

}

@media only screen and (max-height: 606px){

}

@media only screen and (max-height: 506px){

}

@media only screen and (max-height: 406px){

}