/* Navigation Menu */

.catlink { cursor: pointer !important; }

/* Other */

.midalign td { vertical-align: middle; }

.message {
    font-weight: normal;
    font-size: 18px;
    color: grey;
    margin-top: 15px;
    text-align: center;
    margin-bottom: 25px;
}

.clear { clear: both; }

span.required { color: red; }

#main a, #main a:visited { text-decoration:  underline; }

input.price { width: 50px !important; }

#content h2 {
    font-size: 30px;
    margin: 0;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: normal;
}

#main h2 {	background:#fff;	color: #000;	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;	font-size: 160%;	margin-top: 10px;    margin-bottom: 20px;	padding-top: 0.8em;}

#front { margin-top: 10px; }

/* Products Index Search Form */

.products .searchform {
    margin-bottom: 15px;
    background: #F8F8F8;
    border: 1px solid #EEE;
    width: auto;
}

.products .searchform td.label { }
.products .searchform td.input {  }

.searchform td {
    text-align: left;
    border: 0 !important;
    padding: 5px !important;
    background: none;
    vertical-align: middle; }

/* Login Form */

#login_form_bar, #logged_in {
    font-size: 12px;
    text-align: left;
}

#logged_in {
    margin-top: 11px;
}

#login_form_bar label {
    text-align: right;
    width: 65px;
    margin-top: 4px;
    padding-right: 10px;
    float: left;
}

#login_form_bar .right {
    margin-top: 11px;
}

#login_form_bar .input {
    margin-top: 7px;
    float: left;
    width: 240px;
}

#login_form_bar .submit {
    margin-top: 6px !important;
    float: left;
}

#login_form_bar .submit input { padding: 1px 2px; font-size: 12px; font-family: Arial; }

#login-form_bar .input input {
    margin-right: 10px;
    width: 100px;
    float: left;
    padding: 2px;
    font-size: 12px;
    font-family: Arial;
}



/* Paging */
div.paging {
	margin-top: 15px;
	background:#fff;
	color: #ccc;
	margin-bottom: 2em;
	text-align: center;
	font-size: 12px;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}


/* BASKET */

.enquiry table { width: 100% !important; }
.enquiry td { vertical-align: middle; padding: 8px; }
.enquiry .prod { text-align: left; width: 50% }
.enquiry .comments { width: 40%; }
.enquiry form { width: 100% !important; }
.enquiry th { padding: 8px; }
.enquiry td.img { width: 90px; height: 90px; }
td.prod .name { display: block; font-size: 14px; font-weight: bold; margin-bottom: 5px; }
td.prod .description { font-size: 11px; }
td.comments textarea { width: 250px; height: 50px; }
.enquiry .remove { width: 70px; }
.enquiry .qty { width: 30px; }
.enquiry .qty .input { margin: 0 auto !important; padding-left: 0; width: 40px; text-align: center; }
.enquiry .qty input { text-align: right; width: 30px; }
.enquiry .submit { text-align: right; }
.enquiry form { width: 100%; }

/* NOTIFICATION */

.notification {
   text-align: center;
   background: #FFFFCC;
   padding: 8px;
   margin-bottom: 10px;
   font-size: 1.2em;
   font-weight: bold;
   color: red;
}

.quotepending-bottom {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    margin: 40px 0;
}

.quotepending-bottom a, .quotepending-bottom a:visited {
    padding: 8px;
    background: #FF9911;
    text-decoration: none !important;
    color: #000 !important;
}

.quotepending-bottom a:hover {
    background: #111;
    text-decoration: none !important;
    color: #FFF !important;
}

.notification a, .notification a:visited { background: none; }

/* USER LOGIN FORM */

#content #UserLoginForm .input {
    padding: 5px;
    background: #F8F8F8;
}

#content #UserLoginForm .input input {
    padding: 3px;
    font-family: Arial;
    font-size: 12px;
    width: 150px;
}

#content #UserLoginForm label {
    margin-top: 3px;
    float: left;
    text-align: right;
    width: 120px;
    padding-right: 10px;
}

#content #UserLoginForm .submit { margin-top: 15px; margin-left: 240px; width: 30px; }

/* CATEGORY VIEW */

#view_category .cat {
    width: 175px;
    padding: 5px;
    float: left;
    text-align: center;
}

#view_category .cat img {
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #EEE;
    display: block;
    margin-bottom: 10px;
}

#view_category .cat a:hover img {
    background: #ffc64a;
    border: 1px solid #ff9911;
}

#view_category .title a, #view_category .title a:visited {
    font-size: 12px;
    font-weight: bold;
}

#view_category .title a:hover { color: #000 !important; }

/* PRODUCTS */

.breadcrumb {
    font-size: 11px;
    margin-top: 15px;
}

.results_info {
    padding: 5px;
    font-size: 12px;
    margin-bottom: 15px;
    background: #F8F8F8;
    border: 1px solid #EEE;
}

.product {
    float: left;
    margin-bottom: 10px;
    width: 168px;
    padding: 5px;
}

.product .basket { color: #888 !important; }
.product .basket a, .product .basket a:visited { color: #AAA !important }

.product-name { font-weight: bold; font-size: 14px; margin-bottom: 5px; text-align: center; }
.product-name a, .product-name a:visited { color: #333 !important; }
.product-name a:hover { color: #000 !important; }

.product-description { font-size: 11px; color: #555; margin-bottom: 10px; text-align: center; }

.product-basket { text-align: center; }
.product-basket a, .product-basket a:visited {
    font-size: 11px;
    font-weight: normal;
}

.product-basket a.remove, .product-basket a.remove:visited { color: red !important; }

.product .img {
    text-align: center;
    margin-bottom: 10px;
}

.product .img a:hover img {
    background: #ffc64a;
    border: 1px solid #ff9911;
}

.product .img img { margin: 0 auto; display: block; padding: 4px; border: 1px solid #EEE; }

#main .sort {
    text-align: right;
    margin: 15px 0;
}

td.img { width: 50px }

/* View */

.view dt {
    padding: 5px;
    text-align: right;
    width: 150px;
    float: left;
    display: block;
    margin: 0 1px 1px 0;
    background: #EEE;
    font-weight: bold;
}

.view dd {
    padding: 5px;
    float: left;
    width: 571px; /* 742 - 161 - 10 */
    clear: right;
    margin: 0 0 1px 0;
    background: #F8F8F8;
}

/* Product View */

.product_info dd {
    width: 365px;
}

/* Enquiries View */

.enquiries_view_products {
    margin-top: 15px;   
}

.enquiries_view_products .img { width: 50px; }
.enquiries_view_products .img img { width: 40px; height: 40px; margin: 0 auto; display: block; }

.enquiries_view_products .prod { text-align: left; }
.enquiries_view_products .comment { font-size: 11px; margin-top: 5px; }

.enquiries_view_products td, .enquiries_view_products th {
    padding: 5px;
}

/* Public Enquiry */

.public_enquiry { text-align: center; }

.public_enquiry .input {
    width: 400px;
    margin: 10px auto;
    text-align: left;
}

.public_enquiry .input input {
	width: 200px;
}

.public_enquiry .input textarea {
	width: 200px;
	font: 13px/15px Arial;
}

.public_enquiry label {
    width: 150px;
    text-align: right;
    display: block;
    padding-right: 20px;
    float: left;
}

/* Categories Admin */

.categories_index .cat {
    padding: 6px;
    font-weight: bold;
    background: #E0E0E0;
    font-size: 16px;
}

.categories_index .scat {
    padding: 4px;
    padding-left: 15px;
    background: #EEE;
    font-weight: bold;
    font-size: 14px;
}

.categories_index .sscat {
    padding: 4px;
    padding-left: 30px;
    background: #F8F8F8;
}

/* Quote */

.productnote { text-align: left; background: #DDD; }

.quote_products td, .quote_products th {
    vertical-align: middle;
    padding: 5px;
}

.quoteview_products {
    margin-top: 20px;
    border: 0;
}

.quoteview_products th {
    font-weight: bold;
    font-size: 14px;
    border: 0;
    padding: 8px;
}

.quoteview_products td {
    vertical-align: middle;
    border: 0;
    padding: 8px;
    border-bottom: 1px solid #EEE;
}

.quoteview_products td.img {
    width: 50px;
}

.quoteview_products td.img img { width: 40px; height: 40px; display: block; margin: auto; }
.quoteview_products .price { width: 80px; text-align: right; }
.quoteview_products .prod { text-align: left; }

.quoteview_products .subtotal { text-align: right; font-weight: bold; border: 0; }
.quoteview_products .shipping { text-align: right; border: 0; }
.quoteview_products .total { text-align: right; font-size: 14px; font-weight: bold;  border: 0; }

.quoteview_products .shippingvalue, .quoteview_products .subtotalvalue { border: 0}
.quoteview_products .totalvalue { border-top: 1px solid #EEE; border-bottom: 2px solid #DDD; }

/* Forms */

.adminform input, .adminform textarea, .adminform select {
    width: 450px;
    padding: 3px !important;
    font-family: Arial;
    font-size: 12px;
}

.adminform .checkbox input { 
	width: auto; 
    *overflow: hidden;
}

.adminform label {
    display: block;
    padding-right: 20px;
    float: left;
    width: 180px;
    font-weight: bold;
    text-align: right;
    padding-top: 3px;
}

.adminform div.input {
    background: #F8F8F8;
    margin-bottom: 1px;
    padding: 5px;
}

.adminform div.input .note { margin-top: 3px }
.adminform div.input .note_large { margin-top: 3px; margin-left: 150px;  }

.adminform .section { padding: 5px; margin: 10px 0; font-weight: bold; font-size: 14px; }

.adminform .submit { margin-top: 15px; width: 710px; text-align: right; }
.adminform .submit input { width: auto !important; }

.adminform .error-message { color: red; margin: 5px 0 5px 200px; }

.ajax_search_product { padding: 4px; margin-bottom: 1px; background: #EEE; }

/* PRODUCT VIEW */

.view_product .product-details-basket {
	text-align: center;
	font-size: 14px;
	margin-bottom: 15px;
}

.product-details-basket a.remove { color: red !important;  }

.view_product .img img {
    margin: 0 auto;
    display: block;
    padding: 5px;
    border: 1px solid #EEE;
    margin-bottom: 15px;
}

/* Tables */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
	padding: 4px;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* IE */

.overlay {
	display: none;
	background: #FFF;
	border: 1px solid #888;
	width: auto;
	padding: 10px;	
	font-size:11px;
	z-index: 99999;
}

.overlay .print a, .overlay .print a:visited {
    padding: 5px;
    font-size: 12px;
    color: #333;
    margin-bottom: 10px;
    text-decoration: none !important;
}

.overlay .print {
    margin-bottom: 10px;
    text-decoration: none !important;
}

.overlay .print a:hover {
    background: #F8F8F8;
    color: #000;
}

/* default close button positioned on upper right corner */
div.close, .overlay div.close {
	background-image:url(../img/close.png);
	position:absolute;
	right: -15px;
	top: -15px;
	cursor:pointer;
	height:35px;
	width:35px;
}

/* Print */
.print_left {
    width: 260px;
    margin: 10px 0;
    float: left;
}

.print_right {
    margin: 10px 0;
    width: 260px;
    float: right;
}

.print_center {
    text-align: center;
}
