/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}

.customLi ul {
	margin:0;
	padding:0;
}
.customLi ul li {
	list-style-type:none;
	font-size: 16px;
}
.customLi ul li a {
	padding:5px 10px;
	display:block;
	text-decoration: none;
}

a.highlight {
	background-color: #FF0000;
	color:#fff;
}



/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}



.nav-sidebar > li.active > a {
  color: #fff;
  background-color: #FF0000;
}

.nav-sidebar > .active > a:hover {
  color: #fff;
  background-color: #B70604 !important;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}

.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}


.navbar-brand { font-size: 20px; font-family: 'Roboto Condensed';  font-weight: bold; -webkit-font-smoothing: antialiased; color:#FFF !important; margin-right: 20px; }
.alternate { color: #999; }

h1, h2, h3, h4, h5, h6 { font-family: 'Roboto'; font-weight: normal; }





.table-head { background-color: #FF0000; color: #FFF; }
.table-head th { font-weight: normal; }


.order {  }

.order-left { width:78%; float:left;  }
.order-left .input-row { margin: 0; }
.order-left .input-row input[type=text],
.order-left .input-row select { margin-bottom:5px; font-weight:bold !important; }
.order-left .input-row label { display:inline; margin:0 5px; }
.order-left .input-row .btn { vertical-align: top ; }


.order-right { width: 21%; float:right; border-left:1px solid #E1E1E1; padding-left:8px; }
.order-right .input-row label { display:inline-block; margin:3px 0; width:45%; text-align: right; }
.order-right input[type=text] { width:45%; margin:3px 0; font-weight:bold;}
.order-right select {  width:45% !important; margin:1px 0; }

#sales_id_chzn { vertical-align: middle; }

.sticky-buttons { width:100%; margin-top:1px; position: fixed; top: 50px; padding:10px 0 10px 0; background-color:#FFF; z-index: 999; }
.sticky-push { margin-top:50px; }


.input-element label,
.input-element { margin-bottom:5px; vertical-align: top; }
.input-element input { width:100% !important; }

.input-element .textarea {
	width:665px;
	max-width:100%;
	height:150px;
	border:1px solid #ccc;
	padding:10px;
	border-radius: 4px;
}

.input-element.prof-email {
	width:665px;
	max-width:100%;
}



.inline-element label { display:block; text-align:left; vertical-align: top; }
.inline-element { display:inline-block; margin:0 1% 5px 0; vertical-align: top; }
.inline-element input,
.inline-element textarea,
.inline-element select { width:100% !important; }
.inline-element .form-control { display:inline-block; }
.inline-element input[type=checkbox] { display:inline !important; }



.login { width:350px; margin:100px auto; }

.login-nav { height:50px; background-color: #2c2c2c; margin:-50px 0 0 0; }

.banner {
    background-color: rgb(74, 144, 212);
    color: #001489;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.banner-inner {
	background-image: url(../images/noise.png);
	background-repeat: repeat;
	-moz-box-shadow: 0 -6px 5px -6px rgba(0,0,0,.6) inset,0 7px 5px -6px rgba(0,0,0,.5) inset;
	-webkit-box-shadow: 0 -6px 5px -6px rgba(0,0,0,.6) inset,0 7px 5px -6px rgba(0,0,0,.5) inset;
	box-shadow: 0 -6px 5px -6px rgba(0,0,0,.6) inset,0 7px 5px -6px rgba(0,0,0,.5) inset;
	padding: 14px 0;
	margin-top:0;
	height:100px;
}

.banner h2 {
    font-size: 34px;
    line-height: 36px;
    margin: 16px 0px 10px 200px;
}

.ui-datepicker-month, .ui-datepicker-year { color: #000 !important; }

.price_delete, 
.delete-line-item, 
.edit_par,
.add-par,
.pointer { cursor:pointer; }

.required { background-color: #FFFFE9; }

.changed { background-color: #5488CC; color:#FFF; }

.address_table { margin-bottom:10px; }


.cs-notes { width:100%; }
.cs-notes input { width:100% !important; }
.cs-notes .notes { height:85px; overflow-x:auto; padding:5px; }
.cs-notes table { width:100%; }

.print_orders { width:80%; margin:0 auto; }



#total_count { font-size:22px; }
.receive-cell { display:inline-block; width:100px; margin:0 25px 25px 0;}

.form-invisible { border:0; outline:0; padding:10px 2px; margin:0 !important; }


#order-filter-div-hider { text-align: center; margin-top:-20px;}
#order-filter-div-hider button { padding:1px 10px; background-color: #101010; color:yellow; border:0; }
#filter-button-div { text-align: center;  }


.check-block { display:inline-block; width:240px; }



.locked-banner { background-color: #f2dede; border: 1px solid #ebccd1 !important; color: #a94442; padding: 7px; margin-bottom: 10px; border: 1px solid transparent; border-radius: 4px; }

.upper { text-transform: uppercase; }


.customer_form  input,
.customer_form  select,
.customer_form  textarea { font-weight:bold !important; }


.inline-element .form-control { display:inline-block; }
.inline-element .last { margin-right: 0 !important; }
.navbar a.active { background-color: #001489 }

.section-header { border-bottom:1px solid #e1e1e1; margin-top:25px; font-weight:bold; }

.line-item-header { border-bottom:1px solid #428bca; color:#428bca; font-size:17px; }
.payments-header { border-bottom:1px solid green; color: green; font-size:17px; } 
.chargeback-header { border-bottom:1px solid red; color: red; font-size:17px; }

.negative { background-color:#FF6367 !important; }
.positive { background-color:#6EFFA0 !important;  }

.btn-special { padding:1px 12px !important; }

#new_cust { color:red; font-size: 20px; }

.shaded { background-color:#efefef; }
.no-borders { border:1px solid transparent; }


.navbar-brand {
    padding: 10px 15px;
}


.navbar-inverse {
    background-color: #FF0000;
    border-color: #FF0000;
}

.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus {
    color: #fff;
    background-color: #B70604;
}

.navbar-inverse .navbar-nav>li>a.active, .navbar-inverse .navbar-nav>li>a.active {
    color: #fff;
    background-color: #B70604;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
    background-color: #B70604;
}



.file-zone {
	margin:20px 0;
}
.order-files {
	display: inline-block;
	text-align: center;
}
.file-zone img {
	max-height:100px;
	border:1px solid #ccc;
	padding:5px;
	display: block;
}


.edit_event_type {
	cursor: pointer;
}

.profile-col1 {
	float:left; 
	width:320px; 
}

.profile-col2 {
	float:left; 
	width:320px; 
	margin-right:25px;
}

.pop { 
	display:none; 
}

.ar {
	text-align: right;
}

.ac {
	text-align: center;
}

.contact-list-buttons i {
	font-size: 25px;
	color:#CCC;
	cursor: pointer;
	margin:0 5px;
}
.contact-list-buttons i:hover {
	color:#000;
}

.pop-overlay { 
	position: absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background-color: rgba(0,0,0,0.5); 
	z-index: 9999;
}
.popup {
	position: absolute;
	top:100px;
	left:50%;
	width:600px;
	margin-left:-300px;
	background-color: #FFF;
}
.popup .popup-inner {
	padding:10px;
}

#close-personal-email {
	position: absolute;
	top:5px;
	right:5px;
	cursor: pointer;
}

.popup-inner h3 {
	margin-top:0;
}

.personal-email-form input,
.personal-email-form textarea {
	margin-bottom:10px;
}
.personal-email-form textarea {
	height:200px;
}

.popup-inner .signature {
	padding:25px 0;
}
.popup-inner .signature img {
	margin-top:15px;
}
.imp-links {
	cursor: pointer;
}

.ap-info {
	border:1px solid #ccc;
	padding:15px;
}

.edit-supplier {
	cursor: pointer;
}

.form-container {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	gap: 0 30px;
	flex-wrap: wrap;
}

.form-column {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	min-width:221px
}

.form-container input[type=text]
{
	width:100%;
	margin-bottom:15px;
}

.form-container .table input[type=text]
{
	margin-bottom:0;
}

.form-container select
{
	width:100%;
	margin-bottom:15px;
}

.po-notes.form-control {
	height:90px;
	margin-bottom:10px;
}

.fl {
	float:left;
}

.fr {
	float:right;
}

.al {
	text-align: left;
}

.ac {
	text-align: center;
}

.ar {
	text-align: right;
}

.header-button-row {
	padding-bottom:5px;
}

.breadcrumbs {
	font-size: 20px;
}
.breadcrumbs a {
	color:#FF0000;
}

.po-icons .fa {
	font-size: 24px;
	margin:0 4px;
	color:rgb(226, 226, 226);
	cursor: pointer;
}

.po-icons .fa:hover {
	color:rgb(34, 92, 230);
}

.po_status_select {
	width:200px;
}


.form-container2 {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	gap: 5px;
}

.form-column2 {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	margin-bottom:5px;
}

.form-column2 label {
	display: block;
}


.input2 {
	border:1px solid #ccc;
	border-radius: 4px;
	padding:6px;
	width:100%;
}

.select2 {
	border:1px solid #ccc;
	border-radius: 4px;
	padding:0 6px;
	height:34px;
	width:100%;
}


.popup-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 0 15px;
	overflow: auto;
	z-index: 9999;
  }
  
  .popup {
	position: absolute;
	width: 800px;
	top: 100px;
	left: 50%;
	margin-left: -400px;
	background-color: #fff;
	border-radius: 8px;
  }
  
  .popup-header {
	border-bottom: 1px solid #eaeef5;
	padding: 10px 25px;
	position: relative;
  }
  
  .popup-header h1 {
	font-size: 25px;
	font-weight: bold;
	margin: 0;
  }

.popup-header h3 {
	font-size: 20px;
	margin:0;
}
  
  .popup-body {
	padding: 15px;
  }
  
  .popup-body.border-bottom {
	border-bottom: 1px solid #eaeef5;
	padding-bottom: 35px;
  }
  
  .popup label {
	color: #000;
	display: block;
	margin-bottom: 12px;
  }
  
  .popup label.label-inline {
	display: inline-block;
  }
  
  .popup label.label-grey {
	color: #7888a9;
  }
  
  .popup-footer {
	padding: 25px;
  }

.no-input {
	font-weight: bold !important;
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}


/* Responsive elements */
@media only screen and (max-width:990px) {


	.input-element .textarea {
		width:320px;
	}

	.input-element.prof-email {
		width:320px;
	}

}


@media only screen and (max-width:767px) {
	
	.input-element .textarea {
		width:665px;
	}

	.input-element.prof-email {
		width:665px;
	}

}

@media only screen and (max-width:744px) {
	
	.input-element .textarea {
		width:320px;
	}

	.input-element.prof-email {
		width:320px;
	}

}

@media only screen and (max-width:600px) {
	
	.profile-col1 {
		width:100%;
	}
	.profile-col2 {
		width:100%;
	}
	.input-element .textarea {
		width:100%;
	}

	.input-element.prof-email {
		width:100%;
	}

}

/* REVERSE */

@media (min-width: 768px) {
	.sidebar {
		position: fixed;
		top: 51px;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: block;
		padding: 20px;
		overflow-x: hidden;
		overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
		background-color: #f5f5f5;
		border-right: 1px solid #eee;
	}
	.main {
		padding-right: 20px;
		padding-left: 20px;
	}
}






/*   PRINT STYLE  */
@media print {
    body  { margin:0; padding:0; }
    #search-form { display:none; }
    #export { display:none; }
    #promo_report_form { display:none; }
    .sidebar { display:none; }
    .main { width:100%; margin:0px 20px; }
    .sticky-buttons { display:none; }
    input[type=text] { border:0; }
    #com-rep-form { display:none; }
    #tax-rep-form { display:none; }
    #total-sales-rep-form { display:none; }
    .commission-report { font-family: Arial;  font-size: 12px; }
    tr { height:10px !important;  }
    .commission-report h4.com-rep-header { text-align: center; font-size: 13px; font-weight: bold; margin-top:0; font-family: Arial; }
    .commission-report h5 { text-align: left; font-size: 13px; font-family: Arial; }
    .commission-report .table-condensed td{ border:0 !important; margin:0 !important; padding:0 5px !important;  font-size: 11px;  }
    .sales-summary .table-condensed td{ border:0 !important; margin:0 !important; padding:5px 5px 6px 5px!important;  font-size: 12px;  }
    .sales-summary #user_select { display:none; }
    .commission-report table { margin:0 0 5px 0;  }
    .underline { border-bottom:1px solid #CCC !important; }
    .legend { font-size: 10px; }
    input[type=checkbox] { display:none; }
    #reassign_customers { display:none; }

    .sales-summary-form { display:none; }
    .no-print { display:none; }

    #order_filter { display:none; }
    .print_orders .table-condensed td{  margin:0 !important; padding:5px 5px 5px 5px!important;  font-size: 11px; margin-bottom: 0px; }
    .print_orders { width:100%; margin:0; }
    .break { page-break-after: always; }
    .tax-report .table-condensed td { border:0 !important; margin:0 !important; padding:0 5px !important;  font-size: 11px;  }
    .rep_customers .table td { border-bottom:1px solid #E1E1E1; margin:0 !important; padding:8px 5px !important;  font-size: 11px;  }
    .rep_customers .table { border:0 !important; }
    .rep_customers .table thead th { border:0 !important; }
    #corrections-form { display:none; }

    a:link:after,
    a:visited:after { content: "" !important; }

    .aging_report thead { font-size: 9px; }
    .aging_report tbody { font-size: 11px; }
    .aging_report .table td,
    .aging_report .table th {
    background-color: inherit !important; font-size:9px; }
    .aging_report .shaded { background-color:#efefef !important; }
    .aging_report { @page {size: landscape} } 
	}

/*  END PRINT STYLE  */