@font-face {
    font-family: 'Open-Sans';
    src: url('/fonts/OpenSans-Regular.eot');
    src: url('/fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('/fonts/OpenSans-Regular.woff') format('woff'),
         url('/fonts/OpenSans-Regular.ttf') format('truetype'),
         url('/fonts/OpenSans-Regular.svg#centurygothic') format('svg');
    font-weight: normal;
    font-style: normal;
} 

html,body{
	height: 100%;
	padding: 0;
	margin: 0;
	min-height: 100%;
	font-size: 13px;
	font-family: 'Open-Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
}

/* resets */
body, html { margin-top: 0; margin-bottom: 0; }
html { margin: 0; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; }
p { margin-top: 0; margin-bottom: 0; }
a{ cursor: pointer; text-decoration: none !important; }

#container {}

#wrapper {
	min-height: 100%;
	position:relative;
	width: 100%;
	background: url('/images/bg7.jpg') no-repeat center center fixed;
	background-size: cover;
	margin-top: 0;
}

#container {
	max-width: 1150px;
	padding: 20px;
	position: relative;
	margin: 0 auto;
}

#register, #registration_complete,  #forgot_password { display: none; }
#logout { float: right; /* position: relative; top: -35px; */ margin-top: -6px; }
#interface { margin-top: 20px; background: rgba(255,255,255,0.6); padding: 20px; border-radius: 10px; }

h1{ font-size: 32px; }
h2{ font-size: 26px; padding: 0; margin: 0 0 10px 0; }
label { /* float: left; clear: left; width: 150px; line-height: 30px; */ font-weight: normal; cursor: pointer; }

input { float: left; }
input[type="radio"] { float: none;  margin-right: 5px; vertical-align: top; }

.forgot_password { clear: left; float: right; }

.productlist { list-style-type: none; margin: 0; padding: 0; }
.productlist li { padding: 10px; display: block; border-bottom: 1px solid #ddd; }
.productlist li:last-child { border: 0; }

/* Product rows */
.product-row { display: table; width: 100%; }
.product-image { display: table-cell; vertical-align: middle; width: 90px; height: 90px; text-align: center; }
.product-image img { max-width: 80px; }
.product-info { display: table-cell; vertical-align: middle; padding-right: 10px; padding-left: 10px; }
.product-order { display: table-cell; vertical-align: middle; width: 200px; text-align: right; }
.product-order .input-group-addon { min-width: 0px; }
.product-order .form-control { padding: 0; text-align: center; }

.panel-group .panel-group .panel-body{ padding: 0; }

/* Notifications */
#notification { position: fixed; right: 20px; top: 20px;  z-index: 1000; display: none; }

/* Contact */
#contact_table { display: table; width: 100%; }
.contact_cell { display: table-cell; }

#map-canvas {
  	width: 100%; 
  	height: 300px;
	margin: 0;
	padding: 15px;
}

/* Checkout */
#checkout_content { text-align: left; }

/* Bootstrap mods */
/* .control-label { text-align: right; } */
.input-group-sm{ margin-bottom: 5px; }
.input-group-addon{ min-width: 125px; }
.panel-heading { font-weight: 500; }
.tab-content {
	overflow: auto;
	background: #FFFFFF;
	padding: 15px;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
.nav-tabs { margin-bottom: 0; }

.panel-heading [data-toggle="collapse"]:after {
	font-family: 'Glyphicons Halflings';
	content: "\e072";
	float: right;
	color: #333;
	font-size: 12px;
	line-height: 18px;
	opacity: .6;
	-webkit-transform: rotate(-90deg);
	-moz-transform:    rotate(-90deg);
	-ms-transform:     rotate(-90deg);
	-o-transform:      rotate(-90deg);
	transform:         rotate(-90deg);
}
.panel-heading [data-toggle="collapse"].collapsed:after{
	-webkit-transform: rotate(90deg);
	-moz-transform:    rotate(90deg);
	-ms-transform:     rotate(90deg);
	-o-transform:      rotate(90deg);
	transform:         rotate(90deg);
}

.nav-tabs a { color: #555; }
.cart-tab { float: right !important;}
.cart-tab a { margin-right: 0 !important; }
.cart_delete { color: #777; }
.cart_delete:hover { color: #333; }

#cart .input-group-sm { margin: 0; }
#cart .input-group-addon { width: 90px; min-width: auto; padding: 0px 5px; line-height: 1; }
#cart .form-control { padding: 0px; text-align: center; }
#cart td { vertical-align: middle; }

#products .panel-heading , #information  .panel-heading, #contact .panel-heading { padding: 0; }
#products .panel-heading a , #information .panel-heading a , #contact .panel-heading a { padding: 10px; display: block; color: #555; }
#products .panel-body { padding-bottom: 0; }

.img-thumbnail { cursor: pointer; }
.img-thumbnail em { line-height: 26px; }

/* .alert  span { margin-right: 10px; } */

.fix_dropdown {
	-webkit-appearance: none;
	background-position: right 50%;
	background-repeat: no-repeat;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
	padding: .5em;
	padding-right: 1.5em;
}

/* New Fixes */
.version {
	float: right;
	font-size: 12px;
	margin-right: 20px;
	font-style: italic;
}

.badge {
	border-radius: 3px;
	margin-left: 7px;
	border-width: 1px;
	padding: 3px 5px;
	border-style: solid;
	margin-top: -5px;
}

.nav-tabs>li>a { font-weight: bold; }
.dataTables_filter input { float: none; }
.pagination>li>a, .pagination>li>span {
    padding: 2px 6px;
}
.filter_clear { /* color: #d9534f; */ color: #555; margin-left: 5px; cursor: pointer; vertical-align: middle; font-size: 16px; }

.no-sort::after { display: none!important; }
.no-sort { pointer-events: none!important; cursor: default!important; }
.no-sort  select { pointer-events: auto !important; }

.datatable tr { cursor: pointer; }

/* Modal fixes */
.modal-header { padding: 10px; }
.modal-body .panel-heading { /* padding: 5px 10px; */ }
.panel-heading .btn { float: right; margin-top: -5px; }
.panel-divider { width: 50%; float: left; }
.panel-divider:first-child  .panel{ margin-right: 10px; }
.panel-divider:last-child .panel { margin-left: 10px; }
.panel-divider .input-group-addon { max-width: 100px; }

/* Flyouts NOT IN USE */
.bs-callout {
    padding: 10px;
    margin: 0px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout-info{border-left-color:#1b809e}

.alert { padding: 10px; line-height: 29px; margin-bottom: 10px; }

/* Panel fixes */
.panel-heading { padding: 5px 10px; }
.panel-heading h3 { font-weight: bold; font-size: 13px; }

/* Select fixes */
select.form-control {
    -webkit-appearance: none;
    /* -webkit-border-radius-left: 0px; */
    background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='#444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>");
    background-position: 100% 50%;
    background-repeat: no-repeat;
}
select.input-sm { padding-top: 0; } /* datatables fix */

/* Product history */
#product_history{ width: 100%; max-height: 200px; overflow: auto; }

/* Shipping classes */
.ordertable td:last-child { text-align: center; }
.ordertable td:nth-child(6) { text-align: center; }
.ordertable td:nth-child(5) { text-align: right; }
.shipping_shipped { color: #3c763d; margin-right: 5px; /* background-color: #dff0d8; border: 1px solid #d6e9c6; border-radius: 4px; padding: 0 5px; margin: 2px; */ }
.shipping_new{ color: #31708f; margin-right: 5px; /* background-color: #d9edf7; border: 1px solid #bce8f1; border-radius: 4px; padding: 0 5px; margin: 2px; */ }
.shipping_on_hold{ color: #8a6d3b; margin-right: 5px; /* background-color: #fcf8e3; border: 1px solid #faebcc; border-radius: 4px; padding: 0 5px; margin: 2px ; */ }

/* Product table fixes */
.shown .glyphicon-chevron-down:before { content: "\e113"; }
.add_sub{ margin-right: 5px; }
#products_table td:first-child { max-width: 20px !important; }
#products_table td:last-child { text-align: right; }
#products_table td:nth-child(5) { text-align: center; }

/* Sites */
.treemenu_options{ float: right; }
.treemenu_options span { cursor: pointer; }
.treemenu_options .published { color: #3c763d; margin-right: 10px; cursor: default; }

/* Product images (Media tab) */
.image_preview {
	background-color: #eee;
    border: 1px solid #ccc;
	width: 140px;
	height: 100px;
	padding: 5px;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}
.image_preview img { margin: auto !important; }
.image_preview span { float: right; margin: 1px; cursor: pointer; }

/* TinyMCE Fixes */
.mce-statusbar { border: 0 !important; }
.mce-path{ display: none !important; }

/* Too many sites in tabs fixes */
#orders .nav-tabs li a { padding: 10px !important; }
#container { max-width: 1200px; }