/* Layout
================================ */

html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 60px;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-family: Helvetica, Arial, sans-serif;
    font-size:14px;
}

h1 {
	font-size: 30px;
}

h2, .h2 {
    font-size: 28px;
}

input[type=file] {
  display: inline;
}

#footer {
    position: absolute;
    bottom: 0;
    height: 60px;
}

.container {
    max-width: 1000px;
}

.tab-content {
	padding: 10px;
}
  
/* Login Form
================================ */

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
    padding-left:20px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.data-item {
    border-bottom: 1px solid #ccc;
}

.data-item dt, .data-item dd {
    padding: 5px 15px 5px 0;
}

#footer > .container p {
    margin: 20px 15px;
}

.dataTables_wrapper {
    margin: 15px 0;
}

#users-table td:last-child {
    white-space: nowrap;
}


/* Icons
================================ */
@font-face {
	font-family: 'fontawesome';
	src:url('../fonts/fontawesome-webfont.eot');
	src:url('../fonts/fontawesome-webfont.woff') format('woff'),
		url('../fonts/fontawesome-webfont.ttf') format('truetype'),
		url('../fonts/fontawesome-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: 'fontawesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
    margin-right: 8px;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-home:before {
	content: "\e600";
}
.icon-pencil:before {
	content: "\f040";
}
.icon-file:before {
	content: "\e60a";
}
.icon-disk:before {
	content: "\e602";
}
.icon-user:before {
	content: "\e603";
}
.icon-users:before {
	content: "\e604";
}
.icon-search:before {
	content: "\e605";
}
.icon-lock:before {
	content: "\e606";
}
.icon-cog:before {
	content: "\f013";
	margin-right: 0;
}
.icon-remove:before {
	content: "\e608";
}
.icon-enter:before {
	content: "\e609";
}
.icon-pdf:before {
	content: "\f1c1";
	color:#f66;
}

.icon-jpg:before, .icon-gif:before, .icon-png:before {
	content: "\f03e";
	color:#f90;
}

.icon-cart-plus:before {
  	content: "\f217";
}
.icon-collapse:before {
  	content: "\f0da";
  	font-size:18px;
  	cursor:pointer;
}
.icon-expand:before {
  	content: "\f0d7";
  	font-size:18px;
  	cursor:pointer;
}

/* More
================================ */
.tab-controls {
}

.tab-controls ul {
	padding:0;
}

.tab-controls ul li {
    float: left;
    font: 13px;
    padding: 7px 15px;
    margin-right: 5px;
    color:#999;
    list-style:none;
    border: 1px #ddd solid;
    border-bottom:0;
}

.tab-controls ul li.active {
    background: #337ab7;
}

.tab-controls ul li a {
    color: #333;
}

.tab-controls ul li.active a {
    color: #fff;
}

.tab-container {
	border: 1px #ddd solid;
	padding:10px;
}

.navbar-collapse {
	padding:0;
}

.navbar-brand {
	font-weight: 900;
	font-size: 22px;
}

.user-greeting {
	margin-bottom: 8px;
}

.widget-header {
	padding:4px 12px;
	background-color:#F9F9F9;
}

.widget-box {
	margin:12px 0;
	border: 1px #ccc solid;
	
}

.widget-title {
	font-size:16px;
	font-weight:900;
}

.widget-view-more {
	float:right
}

.widget-body {
	padding:12px;
}

.widgetAction {
	text-align:right;
}

.records_list {
	width:100%;
}

.records_list tbody tr {
	border-top: 1px #eee solid;
}

.main-navbar {
	margin-bottom:0;
}

.main-navbar button {
	border:1px #eee solid;
}

.main-navbar .icon-bar {
	background-color:#337ab7;
}

.main-navbar .navbar-toggle {
	margin-top:0;
}


div.navbar.main-navbar > div > div.collapse.navbar-collapse > ul > li:hover {
	background-color:#eee !important;
}

.breadcrumb {
	border-radius: 0;
	margin:0;
	margin-bottom:12px;
	background-color: #eee;
}

.inactiveLink {
	color:#ccc !important;
}

.inactiveLink:hover {
	background:#fff !important;
}

.categoryTree {
	margin-left:-12px;
}

.categoryTree ul {
	list-style:none;
	margin:0;
	-webkit-padding-start: 0;
}

.categoryTree ul li {
	background: #fff;
	padding-left: 18px;
	border-top: 1px #ccc solid;
}

.categoryTree ul li a {
	margin: 8px 0;
	display:inline-block;
}

.categoryTree ul li ul {
	display:none;
	padding:1px;
	padding-right:0px;
	margin-bottom:1px
}

.quantityChange {
	color: #fff;
}

.mediaItem {
	text-align:center;
	margin:12px 0;
}

.mediaThumbImg {
	max-width:140px;
	}
	
.cartQtyInput {
	width:36px;
	padding:0 0 0 2px;
}

.full-width {
	width:100%;
	min-height:120px;
}

.productSearchForm input {
	display: inline;
   	height: 34px;
  	padding: 6px 12px;
  	width:50%;
  	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,.075);
  	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  	-webkit-transition: border-color ease-in-out .15s,-webkit-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;
}

.form-column-heading {
}

.form-column-heading label {
	width:200px;
}

#form_expDate{
    display: inherit;
}

.formError {
	font-weight:bold;
	color:#f00;
}

.form-column-input {
}

.form-column-input select, .form-column-input input, .form-column-input textarea {
	width:250px;
}

#form_expDate_month, #form_expDate_year {
	width:50%;
	display:inline;
}

#form_expDate_day {
	display:none;
}

.waitingtoLoad {
	margin: 0px 4px;
}

#truefitnessdealer_mainbundle_laborclaim_Mileage,
#truefitnessdealer_mainbundle_laborclaim_TravelUOM {
	width:49%;
	display:inline !important;
	margin:0;
}

#parts_table_filter input, #order_table_filter input, #claims_table_filter input, #ticket_table_filter input, #laborclaimline_serialNumber_search {
	width: 180px;
	display: inline;
	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,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-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;
}

#truefitnessdealer_mainbundle_warranty_PurchaseDate, #truefitnessdealer_mainbundle_laborclaim_ServiceDate {
	display:block;
}

#truefitnessdealer_adminbundle_bulletin_publishDate_month,
#truefitnessdealer_adminbundle_bulletin_publishDate_day,
#truefitnessdealer_adminbundle_bulletin_publishDate_year,
#truefitnessdealer_mainbundle_laborclaim_ServiceDate_month,
#truefitnessdealer_mainbundle_laborclaim_ServiceDate_day,
#truefitnessdealer_mainbundle_laborclaim_ServiceDate_year,
#truefitnessdealer_mainbundle_warranty_PurchaseDate_month, 
#truefitnessdealer_mainbundle_warranty_PurchaseDate_day, 
#truefitnessdealer_mainbundle_warranty_PurchaseDate_year {
	width:33% !important;
	display:inline !important;
}

#truefitnessdealer_mainbundle_laborclaimline_isIssueResolved .radio {
	display: inline;
	margin-right:48px;
}

#parts_table, #ticket_table, #order_table, #claims_table, #packs_table {width:100% !important;}

#parts_table .mobile-key {
	display: none;
	font-weight:bold;	
	}

#order_table .order-mobile-key {
	display: none;
	font-weight:bold;	
	}
	
.narrow-widget {
	display:none;
}

#order_table td:nth-child(2), #order_table th:nth-child(1){
		display: none;
	}
	
#parts_table td:nth-child(7), #parts_table th:nth-child(8),
#parts_table td:nth-child(9), #parts_table th:nth-child(10){
		display: none;
	}

.sorting_disabled {
	width:20px;
}

#mceu_33 > iframe {
	min-height: 500px;
}

.record_actions {
	margin-left: 0;
	-webkit-padding-start: 0px;
}

.record_actions li {
	list-style:none;
	float: left;
	margin: 12px 16px 2px 0;
}

.record_actions li a:nth-child(1) {
	
}

/* START jimmy added
================================ */

.top-nav .nav > li > a {
    padding: 10px 14px;
}
.tab-controls ul li {
	padding: 0;
}
.tab-controls ul li a,
.tab-controls ul li span {
	display: block;
	padding: 7px 10px;
}
.tab-controls ul li a:hover,
.tab-controls ul li a:focus {
	text-decoration: none;
	background: #337AB7;
	color: #fff;
}

#bulletin-table > thead > tr > th:nth-child(3){
	width:14%;
}

@media (max-width: 768px) {
	.navbar-fixed-top .navbar-collapse, 
	.main-navbar .navbar-collapse {
		clear: both;
	}
	.navbar-nav {
		margin: 7.5px 0;
	}
	#parts_table_wrapper .pull-right {
		clear:both;
		width: 100%;
	}
}

@media (max-width: 480px) {
	#claims_table_wrapper th:nth-child(2), 
	#claims_table_wrapper td:nth-child(2),
	#claims_table_wrapper th:nth-child(4), 
	#claims_table_wrapper td:nth-child(4) {
		display: none;
	}
	
	#ticket_table_wrapper th:nth-child(3), 
	#ticket_table_wrapper td:nth-child(3) {
		display: none;
	}
}

/* END jimmy added
================================ */



/* Media Queries
================================ */
	#parts_table thead .narrow-widgetParts {display: none;}
	#parts_table .narrow-widgetPartsAction {display: none;}
@media (max-width: 992px) {
	#parts_table thead .wide-widgetParts {display: none;}
	#parts_table thead .narrow-widgetParts {display: inline;}
	#parts_table .wide-widgetPartsAction {display: none;}
	#parts_table .narrow-widgetPartsAction {display: inline;}
}

@media (max-width: 480px) {
	
    .paginate_button.first,
    .paginate_button.last{
        display: none;
    }
    
    .narrow-widget {
		display:inline;
	}
	
	.wide-widget {
		display:none;
	}
    
	#order_table thead {display: none;}
	#order_table td { border: none; width: 100%; }
	#order_table tr td:first-child {background: #f0f0f0; font-weight:bold; font-size:1.3em; line-height: 1.6em; margin: 0; padding: 1px; border-top: 1px solid #ddd; text-align:center;}
	#order_table tbody td {display: block;  text-align:left;}
	#order_table tbody td:after { 
		content: attr(data-th); 
		display: block;
		text-align:center;  
	}
	#order_table .mobile-column-key {
		float: left;
		text-align: left;
		width: 100px;
		font-weight: bold;
		clear:both;
		display: block;
		}
	#order_table .order-mobile-key {
		display: inline;
	}
	#order_table .mobile-column-value {
		text-align: left;
	}
	#order_table td:nth-child(2) .mobile-column-value {
		text-align: center;
	}
	
	#claims_table td:nth-child(2), #claims_table th:nth-child(2), #claims_table td:nth-child(4), #claims_table th:nth-child(4){
		display: none;
	}
		
}

@media (max-width: 768px) {

	#parts_table table {width:100%;}
	#parts_table thead {display: none;}
	#parts_table td { border: none; width: 100%; }
	#parts_table tr td:first-child {background: #f0f0f0; font-weight:bold; font-size:1.3em; line-height: 1.6em; margin: 0; padding: 1px; border-top: 1px solid #ddd; text-align:center;}
	#parts_table tbody td {display: block;  text-align:left;padding:0 8px}
	#parts_table tbody td span.empty {display: none;}
	#parts_table tbody td:after { 
		content: attr(data-th); 
		display: block;
		text-align:center;  
	}
	#parts_table .wide-widgetPartsAction {display: inline;}
	#parts_table .narrow-widgetPartsAction {display: none;}
	#parts_table .mobile-column-key {
		float: left;
		text-align: left;
		width: 100px;
		font-weight: bold;
		clear:both;
		display: block;
		}
		#parts_table .mobile-key {
		display: inline;
	}
		#parts_table .mobile-column-value {
			text-align: left;
		}
		#parts_table td:nth-child(1) .mobile-column-value {
			text-align: center;
		}
		
		
	
    .breadcrumb {
	}
	
	.lineItemDesc{
		display:none;
	}
	
	.mediaThumbImg {
		width:80%;
	}
	
	.user-greeting {
		display:none;
	}
	
	.nav li {
		margin:0 20px;
	}
}