html,
body {
    height: 100%;
}
body#login-page{
  background:url(../img/login-bg.jpg) center top no-repeat;
}
#content-panel{

}
header{
	float:left;
	background:#3B6082;
	margin-bottom:20px;
	padding:30px 0 15px 15px !important;
}
header #left{
	text-align: left;
}
header #left img{

}
/*login page*/
#login-page h3.title{
    font-size:44px;
    margin-top:5px;
    color:#fff;
}
#login-page button{
  font-size:18px;
}
#top-page{
	padding:0 30px 0px 30px;
    background:#F8F8F8;
    margin:0 0 20px 0;
    box-shadow: 0 2px 0px 0 rgba(34, 36, 38, 0.15);
}
/*menu top*/
#menu-top{
    background:#F8F8F8;
    padding:0;
    margin:0;
    bordeR:0;
    box-shadow: 0 0px 0px 0;
    border-radius: 0;
}
#right-page{
	padding:0 30px 40px 30px;
}
.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 10px 20px 10px 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}
.not-set {
    color: #c55;
    font-style: italic;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/*main styles*/
#spinner
{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background:#fff url(../img/loading.gif) 50% 50% no-repeat;
    display:none;
}
.loading-crm
{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 100;
    background:#fff;
    opacity:0.7;
    background:#fff url(../img/loading.gif) 50% 50% no-repeat;
    display:none;
}
.loading-crm .load{
    
    opacity:1 !important;
    width: 300px;
    height: 300px;   
    position: fixed;
    left: 45%;
    top: 30%;   
    z-index: 9999 !important;    
}
.loading-content{
	width:100%;
	height:100%;
	background:#fff url(../img/loading-content.gif) 50% 50% no-repeat !important;
    position:absolute;
    top:0;
    left:0;
    z-index:99999;
    min-height:400px;
}

/*tabs*/
.tabular .item .icon{
	font-size:20px;
}

/*customer - generate password modal*/
#customer-generate-password-form .generate-password{
    
}
#generate-password-modal .content{

}
@media only screen and (max-width: 767px) {
  #generate-password-modal.large.modal {
    width: 95%;
    margin: 0em 0em 0em -47.5%;
  }
}

@media only screen and (min-width: 768px) {
  #generate-password-modal.large.modal {
    width: 60%;
    margin: 0em 0em 0em -30%;
  }
}

@media only screen and (min-width: 992px) {
  #generate-password-modal.large.modal {
    width: 300px;
    margin: 0em 0em 0em -150px;
  }
}

@media only screen and (min-width: 1200px) {
  #generate-password-modal.large.modal {
    width: 24%;
    margin: 0em 0em 0em -12%;
  }
}

@media only screen and (min-width: 1920px) {
  #generate-password-modal.large.modal {
    width: 24%;
    margin: 0em 0em 0em -12%;
  }
}

/*offer - hart glass*/
.field-hartglass-color #hartglass-color-cont{
  padding:0;
  border:0 !important;
}
.field-hartglass-color #hartglass-color-cont .sp-replacer{
    border: 1px solid #AAAAAA;
}
.field-hartglass-color #hartglass-color-cont .sp-preview{
  margin-right:0;
}
.field-hartglass-color #hartglass-color-cont .sp-dd{
  border:0 !important;
  padding:3px 10px 0 10px;
}
.field-hartglass-color #hartglass-color{
  float:left;
  width:70%;
  border-left:1px solid #AAAAAA !important;
}
@media only screen and (max-width: 767px) {
  #offer-hart-glass-modal.large.modal {
    width: 95%;
    margin: 0em 0em 0em -47.5%;
  }
}

@media only screen and (min-width: 768px) {
  #offer-hart-glass-modal.large.modal {
    width: 60%;
    margin: 0em 0em 0em -30%;
  }
}

@media only screen and (min-width: 992px) {
  #offer-hart-glass-modal.large.modal {
    width: 300px;
    margin: 0em 0em 0em -150px;
  }
}

@media only screen and (min-width: 1200px) {
  #offer-hart-glass-modal.large.modal {
    width: 30%;
    margin: 0em 0em 0em -15%;
  }
}

@media only screen and (min-width: 1920px) {
  #offer-hart-glass-modal.large.modal {
    width: 30%;
    margin: 0em 0em 0em -15%;
  }
}

/*order*/
.wrap-product-order table tr.item-product:hover{
  background: #D1EAF9;
}
.wrap-product-order table tr.item-product td{
	padding:1px 5px 1px 5px !important;
}
.wrap-product-order table tr.item-product td select{
	padding:3px;
}
.wrap-product-order table tr.item-product td input:focus ,.wrap-product-order table tr.item-product td select:focus{
    border:2px solid #4389B7 !important;
}
.wrap-product-order .ui.checkbox input:focus ~ .box::before, .wrap-product-order .ui.checkbox input:focus ~ label::before {
    border:2px solid #4389B7 !important;
}
.top-status .active{
	background:#D01919 !important;
}
@media only screen and (max-width: 767px) {
  #order-modal.large.modal {
    width: 95%;
    margin: 0em 0em 0em -47.5%;
  }
}

@media only screen and (min-width: 768px) {
  #order-modal.large.modal {
    width: 60%;
    margin: 0em 0em 0em -30%;
  }
}

@media only screen and (min-width: 992px) {
  #order-modal.large.modal {
    width: 600px;
    margin: 0em 0em 0em -300px;
  }
}

@media only screen and (min-width: 1200px) {
  #order-modal.large.modal {
    width: 50%;
    margin: 0em 0em 0em -25%;
  }
}

@media only screen and (min-width: 1920px) {
  #order-modal.large.modal {
    width: 40%;
    margin: 0em 0em 0em -20%;
  }
}

/*invoice*/
.wrap-product-invoice{
    
}
.wrap-product-invoice .item-product{
    border:1px solid #E5E5E6;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 20px;
    margin-bottom:15px;
    position:relative;
}
.wrap-product-invoice .item-product .search-product{
	width:100%;
}
.wrap-product-invoice .item-product .search-product input{
	width:100%;
}
.wrap-product-invoice table tr.item-product td{
	padding:1px 5px 1px 5px !important;
}
.wrap-product-invoice table tr.item-product td select{
	padding:3px;
}
.wrap-product-invoice div.search{

}
.item-details-fields{
	display: none;
}
.wrap-product-invoice .header-item{
	width:100%;
	display:inline-block;
}
.wrap-product-invoice .header-item .title{
	float:left;
	width:90%;
	font-size:20px;
}
.wrap-product-invoice .header-item .detail{
	width:10%;
	float: right;
	margin:0;
	text-align: right;
}
.wrap-product-invoice .header-item .detail .remove{
	font-size:20px;
	margin:0;
	padding:0;
}
.wrap-product-invoice  .item-details-fields{
	padding-bottom:10px;
}
.field-invoiceproduct-vat{
	width:80px !important;
}
.field-invoiceproduct-type{
	width: 100px !important;
}
.change-status{
	cursor: pointer;
}
.detail-invoice tbody tr td:first-child{
	width:30%;
}
/* modal send/generate invoice */
#invoice-pdf-modal .content{
  padding:0px 20px 10px 20px;
}
@media only screen and (max-width: 767px) {
  #invoice-pdf-modal.large.modal {
    width: 95%;
    margin: 0em 0em 0em -47.5%;
  }
}

@media only screen and (min-width: 768px) {
  #invoice-pdf-modal.large.modal {
    width: 60%;
    margin: 0em 0em 0em -30%;
  }
}

@media only screen and (min-width: 992px) {
  #invoice-pdf-modal.large.modal {
    width: 300px;
    margin: 0em 0em 0em -150px;
  }
}

@media only screen and (min-width: 1200px) {
  #invoice-pdf-modal.large.modal {
    width: 30%;
    margin: 0em 0em 0em -15%;
  }
}

@media only screen and (min-width: 1920px) {
  #invoice-pdf-modal.large.modal {
    width: 30%;
    margin: 0em 0em 0em -15%;
  }
}

/*Balance*/
.wrap-client-profits{
	font-size:12px;
}
.wrap-client-profits thead, .wrap-client-profits .month{
	font-size:14px;
}
.wrap-client-profits tbody tr td{
	padding:10px 3px 10px 3px !important;
}
/*Reports*/
.report-production table tbody tr td{
    padding:5px 3px 5px 3px !important;
    text-align:center !important;
}
.report-production table td{
  padding:3px 3px 3px 3px !important;
  text-align: center !important;
}
.report-production table td.sum, .report-production table th{
  padding:3px 3px 3px 3px !important;
  text-align: center !important;
  font-weight:bold !important;
}
/*sort change*/
a.asc:after {
	content: "\f0de";
	display: inline-block;
	opacity: 1;
	width: 1.18em;
	height: 1em;
	font-family: 'Icons';
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	text-align: center;
	speak: none;
	font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;	
}
a.desc:after {
	content: "\f0dd";
	display: inline-block;
	opacity: 1;
	width: 1.18em;
	height: 1em;
	font-family: 'Icons';
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	text-align: center;
	speak: none;
	font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;	
}

/** table **/

/** form **/
.move-to-production {
	cursor:pointer;
}
/** login form **/
#loginform-rememberme label{
	padding:0 0 0 25px!important;
}

/** overwrite semantic **/
.field input, .field select, .ui.input input, .ui.input select{
    border:1px solid #AAAAAA !important;
}

/*** invoice - top filters ***/
#top-filters{
	float: right;
}
#top-filters .wrap-filter{
	display: inline-block; 
}
#top-filters .wrap-filter:first-child{
	margin-right: 20px;
}
#top-filters .wrap-filter > div{
	float: left;
}
#top-filters .wrap-filter select{
	width:100px; 
	padding:5px 10px 5px 10px;
	text-align: right; 
	padding-right:10px;
}
/*** grid filters ***/

/*** Grid ***/
.grid-view th {
    white-space: nowrap;
}
.grid-view .summary{
	float: right;
	margin-bottom:5px;
}
.ui.table tbody tr:hover{
	background:#B3D9F2;
	color:#0B8C00;
}
.per-page{
	float:right;
	margin-top: 0px;
	margin-right:20px;
}
.summation-grid{
	width:100%;
	clear:both;
	text-align:right;
}
.summation-grid .item{
	width:250px;
	margin-bottom:10px;
	text-align:left;
}
.summation-grid .detail{
	float: right;
}

.modals .actions{
	width:100%;
	clear:both;
}
.button-all-invoices-client{
	cursor: pointer;
}

.register-vat-sales-index table td, .register-vat-sales-index table th{

}
.register-vat-sales-index .summary-text{
	font-weight:bold;
	background:#0425CE;
	color:#fff;
	border:1px solid #fff;
}
.register-vat-sales-index .summary-value{
	font-weight:bold;
	background:#AD0000;
	color:#fff;	
	border:1px solid #fff;
}
/* add style table for semantic */
.ui.table .right{
	text-align:right;
}
.checkbox-after-deadline label{
  padding-left: 0px !important;
  padding-right: 1.85714em;
}
.checkbox-after-deadline label::before {
  left: auto !important;
  right: 0 !important;
}
.checkbox-after-deadline label::after {
  left: auto !important;
  right: 0 !important;
}
.checkbox-after-deadline input[type="checkbox"] {
  left: auto !important;
  right: 0 !important;
}

.m2-product {
  position: relative;
}

.change-status-payment {
  position: relative;
}
.popup-count {
  position: relative;
}