
body {
	padding:0;
	margin:0;
	font-family: Helvetica, Verdana, Tahoma, Arial, sans-serif;
	width:100%;
	height:100%;
        background:#f4f4f4;
	color:#575757;
	font-size:12px;
}
body.print{ background:#fff;}

h1 {	font-size:25px;}
h2 {	font-size:23px;}
h3 {	font-size:21px;}
h4 {	font-size:19px;}
h5 {	font-size:16px;}
h6 {	font-size:14px;}
h1,h2,h3,h4,h5,h6{
	font-weight: bolder;
	padding:3px 0;
	text-align:left;
	letter-spacing:-1px;
	border:none;
	margin:0;
}
.wrap{
	margin: 0 auto;
	min-width: 960px;
        max-width: 1200px;
}
.clearing{
    clear:both;
}
#top{
	width:100%;
	height:81px;
	/*background: #414352;*/
        background: url(../images/css/scrolltexture.png) repeat top left;
}
#top-wrap{
	width:100%;
	height:81px;
	
	position:relative;
}
#body-content{
	width:100%;
	/*background: url(../images/css/header_feather.jpg) repeat-x top left;*/
        background: #f4f4f4; /* Old browsers */ 
        background: -moz-linear-gradient(top,  #ffffff 0%, #f4f4f4 24%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(24%,#f4f4f4)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #ffffff 0%,#f4f4f4 24%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #ffffff 0%,#f4f4f4 24%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #ffffff 0%,#f4f4f4 24%); /* IE10+ */
        background: linear-gradient(to bottom,  #ffffff 0%,#f4f4f4 24%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */




}
#body-main{
	position:relative;
	width:100%;
	padding: 5px 0 0 0;
}
#body-main table:first-child{
	border-collapse:collapse;
	width:100%;
}
/*menu*/
#body-menu{
	width:175px;
	display:table-cell;
	vertical-align:top;
}
#body-menu a{
	display:block;
	padding:2px 5px;
	width:165px;
	font-size:14px;
	font-weight:bold;
	background:#cfcfcf;
	color:#000000;
	text-decoration:none;
}
#body-menu a:hover{
	background:#3268d4;
	color:#ebebeb;
	text-decoration:none;
}
div.menu-contents{
	border:1px solid #3268d4;
	margin: 5px 0 0 0;
}
div.menu-contents h1{
	color:#ebebeb;
	font-size:18px;
	padding:3px 30px 3px 2px;
	background: url(../images/css/h1_menu_bg.jpg) no-repeat right top;
}
div.menu-contents h1.selected{
	background-position: 100% -30px;
}
div.menu-contents div{
	display:none;
}
/*main*/
#body-detail{
	position:relative;
	display:table-cell;
	vertical-align:top;
	padding:0 0 0 5px;
	width:100%;
}
#footer{
	width:100%;
	margin:200px 0 0 0;
/*	background: #414352;*/
        background: url(../images/css/scrolltexture.png) repeat top left;
	height: 50px;
}
#footer-wrap{
	width:100%;
	height: 50px;
	padding:10px 0 0 0;
}
#footer-wrap p,#footer-wrap p a{
	font-family: sans-serif, Arial, Verdana;
	text-align:right;
	color:#ebebeb;
	font-weight:bold;
	text-transform: uppercase;
	text-decoration:none;
	font-size:10px;
}
h1.header-text {
    position: absolute;
    display: block;
    left: 290px;
    top: 54px;
    height: 20px;
    width: auto;
    font-size: 16px;
    color: #EBEBEB;
    text-shadow: 1px 1px 4px #black;
    letter-spacing: 0;
    font-style: italic;
}
p#logoff{
	position:absolute;
	top:0;
	right:10px;
	color:#ebebeb;
}
p#logoff a{
	text-decoration:none;
	color:#ebebeb;
	font-weight:bold;
}
li {
	font-weight:bold;
}
h1.pageHeading {font-size: 18px; color: #414352; font-weight: bold; margin: 0 0 2px 0; padding: 8px 0 0 0;}


/* page */
div.row{
	width:100%;
	float:left;
}
p.alert{
	border:1px solid #ff5555;
	background: #edc1c1;
	font-weight:bold;
	padding:5px;
	margin: 2px 0;
	text-align:center;
}
div#message-stack,div#new-insert{
	display:none;
}
div#new-insert{
	padding:5px;
	border: 1px solid #3268d4;
	margin:5px 0 0 0;
}
div#new-insert p{
	font-weight:bold;
	font-size:14px;
	color:#ff5555;
	margin:0;
	padding: 2px 5px;
}
form#insertForm table th{
	text-align:left;
	vertical-align:top;
	border-top:1px dashed #3268d4;
	color:#000000;
}
div#content-loading {
	width:100%;
	padding: 25px 0;
	text-align:center;
}
div#ajax-results{
	width:100%;
	float:left;
	margin:5px 0 0 0;
}
div#ajax-results div{
}

/*.headerBar { background-color: #414352; }
.headerBarContent {color: #ffffff; font-weight: bold; padding: 2px; }
.columnLeft { background-color: #414352; border-color: #999999; border-width: 1px; border-style: solid; padding: 2px; }*/

/* data table */
.dataTableHeadingRow { background-color: #414352; }
.dataTableHeadingContent,.dataTableHeadingContent  a{color: #ebebeb; font-weight: bold; }
.dataTableRow { background-color: #F0F1F1; }
.dataTableRowSelected { background-color: #3268d4; color:#ebebeb; cursor: hand;  }
.dataTableRowOver { background-color: #b6e0b9; cursor: pointer; cursor: hand; }
.dataTableContent {font-size:14px; color:#000000;}
.dataTableRowSelected .dataTableContent{
	color:#ebebeb;
	font-weight:bold;
}
/* info box */
.infoBoxHeading {color: #ffffff; background-color: #414352; }
.infoBoxContent {
	font-size: 13px; 
	font-weight:normal; 
	color: #ffffff; 
	background-color: #3268d4;
}

/* message box */
.messageBox,.messageStackError,.messageStackWarning,.messageStackSuccess {
	padding:5px;
	/*font-weight:bold;*/
}
.messageStackError, .messageStackWarning {background-color: #b72b25; color:white;}
.messageStackSuccess {background-color: #afcae7;}

a.headerLink:link {color: #ffffff; font-weight: bold; text-decoration: none; }
a.headerLink:visited {color: #ffffff; font-weight: bold; text-decoration: none; }
a.headerLink:active {color: #ffffff; font-weight: bold; text-decoration: none; }
a.headerLink:hover {color: #ffffff; font-weight: bold; text-decoration: underline; }

a.menuBoxHeadingLink:link { color: #616060; font-weight: bold; text-decoration: none; }
a.menuBoxHeadingLink:visited { color: #616060; font-weight: bold; text-decoration: none; }
a.menuBoxHeadingLink:active { color: #616060; font-weight: bold; text-decoration: none; }
a.menuBoxHeadingLink:hover { color: #616060; font-weight: bold; text-decoration: none; }

a.menuBoxContentLink:link {color: #000000; font-weight: bold; text-decoration: none; }
a.menuBoxContentLink:visited {color: #000000; font-weight: bold; text-decoration: none; }
a.menuBoxContentLink:active {color: #616060; font-weight: bold; text-decoration: none; }
a.menuBoxContentLink:hover {color: #616060; font-weight: bold; text-decoration: none; }

.left{
	float:left;
}
.right{
	float:right;
}
.clearing{
    clear:both;
}

/* forms */
CHECKBOX, INPUT, RADIO, SELECT, TEXTAREA, FILE {}

/* account */
.formArea { background-color: #f1f9fe; border-color: #7b9ebd; border-style: solid; border-width: 1px; }
.formAreaTitle {font-weight: bold; }

/* attributes */
.attributes-odd { background-color: #f4f7fd; }
.attributes-even { background-color: #ffffff; }

.fieldRequired {color: #ff5555; }

table.inputs td{
	font-size:11px;
}
.inputLabel{
	font-weight:bolder;
}
.remove{
	color: #ff5555;
	font-weight:bold;
}
.add{
	color: #0000ff;
	font-weight:bold;
}
.red{
    color:#b72b25 !important;
    font-weight: bold;
    font-size:1.2em;
}
.groupLabel{
	border-bottom:1px dashed #cfcfcf;
	color:#333333;
	font-weight:bold;
	font-size:14px;
}
FORM {
	display: inline;
}
CHECKBOX, INPUT, RADIO, SELECT {
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  padding:2px;
}

TEXTAREA {
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  padding:2px;
}

/*INQUIRY FORMS */
div#main_form_area {
	width:100%;
	border: 1px solid #3268d4;
        border-radius: 5px;
        background:white;
}
#main_form_area form{
	display:block;
	margin:3px;
}
#main_form_area h1{
	background: #3268d4;
	color:#ebebeb;
	border:none;
	padding:6px 0;
	font-size:18px;
	text-align:center;
}
#after_save{
	display:none;
	width:100%;
	border:1px solid #3268d4;
	background:#cfcfcf;
	padding:0 0 5px 0;
	margin:5px 0;
}
#after_save h1{
	background: #3268d4;
	color:#ebebeb;
	border:none;
	padding:3px 0 3px 3px;
	margin: 0 0 3px 0;
	font-size:16px;
	text-align:left;
}
h2.master_group{
	padding:3px;
	margin:0 0 3px 0;
	color:#ebebeb;
	letter-spacing:-0.25px;
	font-size:14px;
	background: url(../images/css/scrolltexture.png) repeat top left;
}
h2.sub_group{
	padding:3px;
	margin:3px 0;
	color:#ebebeb;
	letter-spacing:-0.25px;
	font-size:14px;
	background:#3268d4;
}
div.input_row{
	display:table-row;
	width:100%;
}
div.row_seperator{
	display:table-row;
	width:100%;
	height:2px;
}
div.input_row div:not(.mce-widget):not(.mce-container):not(.mce-path-item):not(.mce-divider) {
	display:table-cell;
	position:relative;
	border:1px solid #cfcfcf;
	vertical-align:top;
}
div.input_row div p{/*lookup format*/
	margin:3px;
	padding:0;
	color:#000000;
	font-weight:bold;
}
div.input_row div p a{
	font-weight:bold;
	color:#3268d4;
}
div.input_row div p a.email-link {
	font-weight:bold;
	color:#3268d4;
}
div.input_row div.label{
	padding:3px 0 3px 3px;
	width: 150px;
}
div.input_row div.label span{
	font-weight:bold;
}
/**/
div.input_row div:not(.mce-widget):not(.mce-container):not(.mce-path-item):not(.mce-divider) div:not(.mce-widget):not(.mce-container):not(.mce-path-item):not(.mce-divider), div.input_row div:not(.mce-widget):not(.mce-container):not(.mce-path-item):not(.mce-divider) div:not(.mce-widget):not(.mce-container):not(.mce-path-item):not(.mce-divider) div:not(.mce-widget):not(.mce-container):not(.mce-path-item):not(.mce-divider) {
	border:none;
	display:block;
}
div.input_row div div.sub_group{ /*same level as input_row div div div*/
	display:none;
	margin:3px;
}
div.sub_group div{ /*Contains a set of all fields and each field row*/
	display:table-row;
}
div.sub_group div div{ /*Contains a set of all fields and each field row*/

}
div.sub_group div div div{
	border: 1px solid #cfcfcf;
	display:table-cell;
}
div.sub_group div div div div{ /*makes child duplicates appear row by row*/
	display:table-row;
}
div.input_row div div.autofill-holder{
	display:block;
	position:relative;
        border: none;
}
div.input_row  div div.autofill-holder div.autofill{
	display:block;
	border:2px solid #3268d4;
	background:#ffffff;
	padding:3px;
	position:absolute;
	z-index:300;
	top:-3px;
	left:0;
}
div.autofill a{
	display:block;
	cursor:pointer;
	border-bottom:1px dotted #3268d4;
	padding:1px;
}
div.autofill a span{
	color:#ff5555;
	font-weight:bolder;
}


/*array field links*/
a.add-multi{
	background: url(../images/plus.png) no-repeat 0 0;
	display: inline-block;
	height: 12px;
	width: 12px;
	text-indent: -9999px;
}
a.remove-multi{
	background: url(../images/minus.png) no-repeat 0 0;
	display: block;
	display: inline-block;
	height: 12px;
	width: 12px;
	text-indent: -9999px;
}
a.add-multi:hover,a.remove-multi:hover{
	background-position: 0 -12px;
	cursor:pointer;
}

/*homepage searches*/
#all_results{
	display:none;
}
/*inquiry searches*/
#search_results{
	display:none;
	width:100%;
	float:left;
	border:2px solid #3268d4;
	margin:5px 0;
	padding:0;
}
#search_results p{
	margin:5px;
	font-weight:bold;
	font-size:14px;
}
#search_fields{
	border: 1px dotted #cfcfcf;
	padding:5px;
        margin:3px 0;
}
#search_fields span{
	font-weight:bold;
}
div.search_result_head{
	float:left;
	width:100%;
	display:block;
	background: url(../images/css/scrolltexture.png) repeat top left;
}
div.search_result_head div{
	float:left;
}
div.search_result_head div span{
	display:block;
	font-weight:bold;
	color:#ebebeb;
	margin:2px;
	padding:2px;
}
div.result_row{
	float:left;
	background:#ffffff;
	width:100%;
	display:block;
        cursor: pointer;
}
div.result_row:hover{
    background:#e6edf3;
}
div.result_row div{
	float:left;
	position:relative;
}
div.result_row div div{
	display:block;
	width:100%;
	margin:2px;
	padding:2px;
	color:#000000;
	font-size:14px;
}
div.result_row div div.actions{
	position:absolute;
	width:100%;
	display:none;
	z-index:10;
	top:0;
	left:0;
	text-align:right;
}
div.result_row div span{
	display:inline;
	font-weight:bolder;
	color:#ff5555;
}
/*Inquiry Data and history log*/
div#inquiry-data{
	position:relative;
	width:100%;
	border: 1px dotted #cfcfcf;
}

/*inquiry-toolbar-*/
 .ui-custom-header{
	/*background: #414352;*/
        background: url(../images/css/scrolltexture.png) repeat top left;
	border:1px solid #cfcfcf;
	float:right;
	border-top:none;
 }
div#inquiry-toolbar{
	display:none;
	margin: 0 0 5px 0;
}
div#log_text_holder, div#log_tracking_holder, div#stock_status, div#status_holder,div#charge_holder,div#refund_holder{
	position:absolute;
	display:none;
	z-index:75;
	top:100%;
	right:-1px;
	padding:10px;
	background: url(../images/css/scrolltexture.png) repeat top left;
	border:1px solid #cfcfcf;
	border-top:none;
}
div#status_holder {
	width: 250px;
}
div#confirm_delete{
	position:absolute;
	display:none;
	z-index:75;
	top:100%;
	left:175px;
	padding:10px;
	background: url(../images/css/scrolltexture.png) repeat top left;
	border:1px solid #cfcfcf;
	border-top:none;
	
}
/*reports*/
#report-results{
	display:block;
	margin:5px 0 0 0;
}
.report_title{
	font-size:20px;
	font-weight:bold;
	text-align:center;
	
}
div.report_summary{
	width:100%;
	border: 1px dotted #cfcfcf;
	padding:5px 0;
	text-align:center;
}
div.report_table{
	display:block;
	max-width:120%;
}
div.report_table div.report_row{
	display: block;
	padding:0 0 -2px 0;
	border:1px solid #575757;
}
div.report_table div.report_row div.report_cell{
	border-right:1px solid #575757;
	display: table-cell;
	padding:0;
}
div.report_cell div{
	border-bottom:1px solid #575757;
	color:#000000;
	display:block;
	padding:3px;
	height:20px;
	white-space:nowrap;
	overflow:hidden;
}
div.report_cell div.double{
	background: url(../images/css/scrolltexture.png) repeat top left;
	height:47px;
}
div.report_cell div.label_center{
	text-align:center;
}
div.report_cell div.report_label{
	background: url(../images/css/scrolltexture.png) repeat top left;
	color:#ebebeb;
	font-weight:bolder;
}
div.report_cell div.label_indent{
	padding-left:15px;
}

#btn_download{
    margin-top:5px;
    /*display:none;*/
}

.ui-accordion .ui-accordion-content {
	padding: 0px !important;
}

#parts_type {
	white-space: nowrap;
}

#parts_type .price {
	display: inline-block;
	width: 75px;
}
#parts_requested .label {
	display:none;
}
.parts_cell {
	display:inline-block !important;
	border:0px !important;
	padding-right: 3px;
}

.price_cell input {
/*	border: 0px;*/
}


/* AZ: check stock popup */
#myModal {
    width: 298px; height: 318px;
  	margin: 0 auto;
  	padding: 18px 9px;
    border-radius: 4px;
    background: #fafafa;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
  	margin: auto;
    display: none;
    opacity: 0;
    z-index: 38;
    font-weight: normal;
  	overflow: auto;
}
#myModal #myModal__close {
    width: 21px; height: 21px;
    position: absolute;
    top: 1px;   right: 11px;
    cursor: pointer;
    display: block;
  	font-size: 29px;
}
#myOverlay {
    z-index: 37;
    position: fixed;
    background-color: rgba(0,0,0,.7);
    width: 100%; height: 100%;
    top: 0; left: 0;
    cursor :pointer;
    display :none;
}	

table.stock_table, .stock_table th, .stock_table td {
    border:1px solid #BBB;
}
table.stock_table {
    border-bottom:0;
    border-left:0;
}
.stock_table td, .stock_table th {
    border-top:0;
    border-right:0;
}

select[name="parts_type[]"] {
	width: 200px;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .15rem .5rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

#record_image {
	padding: 10px;
}


.fileupload-buttonbar .btn.start {
	display: none;
}

.fileupload-buttonbar .btn.cancel {
	display: none;
}

.fileupload-buttonbar .btn.delete {
	display: none;
}


input.toggle {
	display: none;	
}

#links a {
	padding: 3px;
}