@charset "UTF-8";
/* CSS Document */

@import url('reset.css');

body {
	font-family:Arial, Verdana, Helvetica, sans-serif;
	font-size:12px;
	margin:0px;
	min-width:800px;
}

/* General */

:focus { outline:none }

form {
	margin:0;
}

table {
	font-size:12px; /* IE 5.5 */
}

h2 {
	font-size:16px;
}

h3 {
	margin-bottom:0px;
	font-size:14px;
}

h4 {
	font-size:12px;
}

.clear {
	clear:both;
}

a:link, a:visited {
	color:#003399;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

#popup {
	min-width:100px;
	height:auto;
}

#maintable {
	width:100%;
}

#container {
	padding:18px;
}

#content {
	padding:18px;
	padding-top:0px;
	clear:both;
}

#homelink {
	display:none;
	float:left;
}

.error {
	font-weight:bold;
	color:#D7161F;
	text-align:center;
	font-size:14px;
	margin-bottom:4px;
}

.error p {
	margin:0px;
	margin-top:2px;
}

.error_message {
	padding:12px;
	border:2px #F00 solid;
	color:#F00;
	text-align:center;
	font-size:14px;
}

.smallloader {
	background-image:url(../../imgs/loading_small.gif);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	display:none;
}

.loading_bg {
	background-image:url(../../imgs/loading_small.gif);
	background-repeat:no-repeat;
	background-position:center center;
}

.dds_select_loading {
	background-image:url(../../imgs/loading_small.gif);
	background-repeat:no-repeat;
	background-position:center center;
	background-color:#FFF;
	width:150px;
	height:110px;
	display:block;
	float: right;
}

.input_loader {
	background-image:url(../../imgs/loading_small.gif);
	background-repeat:no-repeat;
	background-position:right -100px;
}

/* search */

.search_button a {
	display:none;
}

.search_query {
	float:left;
	margin-top:10px;
}

.search_query input {
	font-size:11px;
	background-image:url(../../imgs/field-bg.gif);
	background-repeat:repeat-x;
	background-color:#FFFFFF;
	border:none;
	border-width:0px;
	padding:4px;
	width:135px;
}

/* OK button */
.ok_button {
	background-repeat:no-repeat;
	width:99px;
	height:43px;
	cursor:pointer;
	margin:0 auto;
}

.ok_button a {
	display:none;
}

/* navigation */

.nav ul {
	list-style:none;
	margin:0px;
	padding:0px;
	text-align:center;
	padding-top:15px;
}

.nav li {
	float:right;
	margin-left:8px;
}

.nav li[data-total] {
	position: relative;
}

.nav a[data-total]:after {
	content: attr(data-total);

	position: absolute;
	display: block;
	right: 3px;
	top: 3px;
	margin: auto;

	padding: 3px;
	border-radius: 5px;
	height: 35%;

	color: #ffffff;
	background-color: #000000;
	font-size: 80%;
	line-height: 1.2em;
}

.nav a[data-total="0"]:after{
	display: none;
}

.nav a {
	display:block;
	padding:8px;
	color:#fff;
	width:4em;
	height:26px;
	line-height:1.1em;
	text-decoration:none;
}

.nav li:hover a, .nav .active a {
	color:#fff;
}

/* IE 6 and below can not hover on li elements */
.nav a:hover {
	color:#fff;
}

/* Notification */
.nav .notification {
	display:block;
	color:#FFF;
	background-repeat:no-repeat;
	width:24px;
	height:28px;
	line-height:24px;
	top:-45px;
	left:41px;
	float:left;
	position:relative;
	margin-bottom:-41px;
}

.nav .notification span {
	display:none;
}

.nav .dom {
	display: none;
	position: absolute;
	z-index: 50;
}

/* Search */

#page-search #search_form {
	display: flex;
	flex-direction: column;
	margin: auto;
	max-width: 480px;
}

#page-search #search_form > div#advanced-toggle-container {
	text-align: right;
	user-select: none;
}

#page-search #search_form label[for="advanced-toggle"] {
	display: inline-block;
	margin-bottom: 1em;
}

#page-search #search_form #advanced-toggle,
#page-search #search_form #advanced-options,
#page-search #search_form label[for="advanced-toggle"] > span[data-toggle="on"] {
	display: none;
}

#page-search #search_form #advanced-toggle:checked ~ #advanced-options {
	display: flex;
}

#page-search #search_form #advanced-toggle:checked + div > label[for="advanced-toggle"] > span[data-toggle="off"] {
	display: none;
}

#page-search #search_form #advanced-toggle:checked + div > label[for="advanced-toggle"] > span[data-toggle="on"] {
	display: inline;
}

#page-search #search_form #advanced-options {
	flex-direction: column;
}

#page-search #search_form .field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1em;
}

#page-search #search_form .field > label {
	display: block;
	font-weight: bold;
	font-size: 1rem;
	margin-bottom: .25em;
}

#page-search #search_form .input {
	display: flex;
	flex-direction: row;
}

#page-search #search_form .input > input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]) {
	flex-grow: 1;
}

#page-search #search_form .input > *:not(:first-child) {
	margin-left: .5em;
}

#page-search-results #back_search {
	display: inline-block;
	float: none;
	margin: 0 0 1em 0;
}

#page-search-results #back_search a {
	float: none;
}

#page-search-results #boxes_container {
	padding-top: 0;
}

#page-search-results #boxes_container .box label {
	display: block;
}

/* Site Alerts */

#site_alerts {
	position: relative;
	box-sizing: border-box;
}

#site_alerts a[data-site-alert-unseen]:not([data-site-alert-unseen="0"])::after {
	content: attr(data-site-alert-unseen);
	background-color: #000000;
	color: #FFFFFF;
	border: 1px solid #FFFFFF;
	position: absolute;
	top: 2px;
	right: 2px;
    padding: 3px 3px 1px 3px;
    font-size: 14px;
    font-weight: bold;
}

#site_alerts #site_alerts_backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 48;
}

#site_alerts #site_alerts_popup {
	right: 0;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	width: 250px;
}

#site_alerts #site_alerts_popup > div {
	padding-left: 10px;
	padding-right: 10px;
}

#site_alerts #site_alerts_popup #site_alerts_title {
	font-weight: bold;
	font-size: 14px;
	text-align: left;
	border-bottom: 1px solid #000000;
	padding: 10px;
}

#site_alerts #site_alerts_popup #site_alerts_container {
	height: 200px;
	overflow-y: scroll;
	overflow-x: hidden;
	border-bottom: 1px solid #000000;
	padding: 0;
}

#site_alerts #site_alerts_popup #site_alerts_container > div {
	display: block;
	position: relative;
	height: auto;
	width: 100%;
	min-height: 35px;
	padding: 0px 35px 0px 0px;
	border-bottom: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	box-sizing: border-box;
}

#site_alerts #site_alerts_popup #site_alerts_container > div[data-site-alert-seen="true"] {
	background-color: #EEEEEE;
}

#site_alerts #site_alerts_popup #site_alerts_container > div:last-child {
	border-bottom: none;
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:hover {
	background-color: inherit;
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:first-child {
	display: flex;
	align-items: center;
	height: auto;
	min-height: 35px;
	padding: 5px;
	text-align: left;
	box-sizing: border-box;
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2) {
	display: block;
	width: 25px;
	height: 25px;
	padding: 0;
	position: absolute;
	right: 5px;
	top: 0px;
	bottom: 0px;
	margin: auto 0px;
	border-radius: 4px;
	background-color: rgba(221, 221, 221, 0);
	transition: background-color 500ms;
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2):hover {
	background-color: rgba(221, 221, 221, 1);
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2)::before,
#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2)::after {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	content: '';
	width: 80%;
	height: 2px;
	background-color: #CCCCCC;
	transform-origin: center;
	transition: background-color 500ms;
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2):hover::before,
#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2):hover::after {
	background-color: #000000;
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2)::before {
	transform: rotate(45deg);
}

#site_alerts #site_alerts_popup #site_alerts_container > div > a:nth-child(2)::after {
	transform: rotate(-45deg);
}

#site_alerts #site_alerts_popup #site_alerts_buttons > div.button {
	float: none;
	display: inline-block;
	margin: 8px 0;
}

#site_alerts #site_alerts_popup #site_alerts_buttons > div.button:nth-child(n+2) {
	margin-left: 8px;
}

#site_alerts #site_alerts_popup #site_alerts_buttons > div.button > a {
	float: none;
}

/* Progress Bar */
#progressbar {
	margin:0 auto;
}

#progressbar #loader {
	background:white url(../../imgs/percentImage_back4.png) no-repeat scroll 1px 0;
	background-position:-120px 0;
}

/* Breadcrumb */

#breadcrumb ul {
	margin:8px;
	margin-left:18px;
	padding:0px;
	list-style:none;
	height:20px;
}

#breadcrumb li {
	float:left;
	margin-right:4px;
	color:#b2b2b2;
}

#breadcrumb .active {
	font-weight:bold;
}

#breadcrumb a {
	text-decoration:none;
	color:#818285;
}

#breadcrumb a:hover {
	text-decoration:underline;
}

/* login */

#login_links {
	margin-top:8px;
}

#login_links .forgot {
	float:left;
}

#login_links .forgot a {
	color:#000;
}

#login_links .register {
	float:right;
}

#login_links .register a {
	color:#104a18;
}

#login_links .whyregister {
	float:right;
}

#login_links .whyregister a {
	color:#000000;
}

#login #submit_button {
	display:none;
}

.whyreg_page #login_form{
	padding: 1px 10px 0 10px;
	text-align: left;
}

/* login fields */

#login {
	margin:0px;
}

#login ul {
	list-style:none;
	padding:0px;
	text-align:left;
	margin-left:84px;
}

#login li {
	margin-bottom:6px;
}

#login label {
	width:6em;
	display:block;
	text-align:left;
	float:left;
	line-height:22px;
}

#login ul input {
	width:150px;
	background-image:url(../../imgs/field-bg.gif);
	background-repeat:repeat-x;
	background-color:#FFFFFF;
	border:none;
	border-width:0px;
	padding:2px;
	padding-top:3px;
}

#message {
	height:auto;
}

#message .warning {
	background-image:url(../../imgs/warning.gif);
	background-repeat:no-repeat;
	background-position:top center;
	padding-top:200px;
	width:50%;
	margin:10% auto;
}

#message .text {
	font-weight:bold;
	color:#D7161F;
	text-align:center;
}

#message .success {
	background-image:url(../../imgs/success.gif);
	background-repeat:no-repeat;
	background-position:top center;
	padding-top:200px;
	width:50%;
	margin:10% auto;
}

#message .success .text {
	color:#000;
}

#message .button {
	float:none;
	width:100px;
	margin:0 auto;
	margin-top:40px;
}

#message :active {
	outline: 0;
}

/* Buttons */

.button {
	float:right;
	margin-left:8px;
	margin-top:8px;
	margin-bottom:8px;
}

.button a, .button a:visited, .button input {
	background-color:#333;
	background-repeat:no-repeat;
	float:left;
	color:#fff;
	font-size:12px;
	text-align:left;
	display:block;
	padding:7px 8px;
	padding-bottom:10px;
	width:84px;
	text-decoration:none;
	cursor:pointer;
}

.button a:hover, .button input:hover {
	background-color:#999;
}

.button input {
	width:100px;
	height:30px;
	border:0px none !important;
	padding:6px;
	padding-top:0px;
	padding-right:12px;
	line-height:12px !important;
}

/* Multi-State Checkboxes */

.cyclestate{
	display: inline-block;
	width: 12px;
	height: 12px;
	line-height: 12px;
	vertical-align: middle;
}
.cyclestate input:not(b),
.cyclestate input:not(b) + label {
	display: none;
}
.cyclestate input:checked + label {
	display: inline-block;
	width: 12px;
	height: 12px;
	line-height: 12px;
	vertical-align:middle;
	margin:0;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}
.cyclestate label,
.cyclestate label a{
	width: 12px;
	height: 12px;
	line-height: 12px;
	vertical-align:middle;
}
.cyclestate label a{
	display: inline-block;
	pointer-events: none;
}

a.checkbox-blank{
	background-image: url('/media/shared/imgs/checkbox-blank.png');
}
label:active a.checkbox-blank{
	background-image: url('/media/shared/imgs/checkbox-blank-down.png');
}
a.checkbox-tick{
	background-image: url('/media/shared/imgs/checkbox-tick.png');
}
label:active a.checkbox-tick{
	background-image: url('/media/shared/imgs/checkbox-tick-down.png');
}
a.checkbox-dash{
	background-image: url('/media/shared/imgs/checkbox-dash.png');
}
label:active a.checkbox-dash{
	background-image: url('/media/shared/imgs/checkbox-dash-down.png');
}
a.checkbox-cross{
	background-image: url('/media/shared/imgs/checkbox-cross.png');
}
label:active a.checkbox-cross{
	background-image: url('/media/shared/imgs/checkbox-cross-down.png');
}
a.checkbox-circle{
	background-image: url('/media/shared/imgs/checkbox-circle.png');
}
label:active a.checkbox-circle{
	background-image: url('/media/shared/imgs/checkbox-circle-down.png');
}
a.checkbox-question{
	background-image: url('/media/shared/imgs/checkbox-question.png');
}
label:active a.checkbox-question{
	background-image: url('/media/shared/imgs/checkbox-question-down.png');
}
a.checkbox-exclamation{
	background-image: url('/media/shared/imgs/checkbox-exclamation.png');
}
label:active a.checkbox-exclamation{
	background-image: url('/media/shared/imgs/checkbox-exclamation-down.png');
}


/* Table */

#content table {
	width:100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #B2B2B2;
	margin-bottom:8px;
}

#content table th, #content table td {
	padding:6px;
}

#content table th {
	text-align:left;
	background-color:#000000;
	color:#FFFFFF;
}

#content table .subhead {
	font-weight:bold;
	background-color:#333333;
	color:#FFF;
}

#content table .last {
	text-align:right;
}

#content table th a {
	color:#FFF;
}

#content #dynamic_content table {
	border:none;
	width:auto;
}

.odd {
	background-color:#b2b2b2;
}

.highlight {
	background-color:#003399;
	color:#FFFFFF;
}

.highlight a, .highlight a:visited {
	color:#FFFFFF;
}

.complete_list .lastrow td {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #B2B2B2;
}

/* table widths */

table .date {
	width:120px;
}

table .fao {
	width:120px;
}

table .code {
	width:50px;
}

table .thumb_col {
	width:40px;
}

table .thumb_col {
	width:100px;
}

table .thumb img {
	-ms-interpolation-mode: bicubic;
	width:80px;
	border: 1px solid #393839;
	padding:4px;
}

/* dialog boxes */

#dialog .content {
	padding:18px;
}

/* forms */

.fieldset {
	width:400px;
	margin:0 auto;
}

.fieldset ul {
	list-style:none;
	margin:0px;
	padding:0px;
}

.fieldset li {
	margin-bottom:6px;
	line-height:1.9em;
}

.fieldset label {
	display:block;
	width:110px;
	float:left;
	line-height:1.9em;
}

.fieldset ul input {
	width:240px;
}

.ie .fieldset ul input {
	width:16em;
}

.fieldset ul .checkbox {
	width:auto;
}

.fieldset .smallloader {
	float:left;
}

.fieldset ul textarea {
	width:20em;
}

.required_error, .help {
	padding:2px 6px;
	cursor:pointer;
	text-decoration:none !important;
	font-weight:bold;
}

.required_error, .help {
	color:#FFF !important;
}

.required_error {
	background-color:#F00;
	color:#D7161F;
}

.help {
	background-color:#666;
	color:#FFF;
}

.group_input label {
	display:inline;
	float:none;
}

.image_preview {
	width:648px;
	margin:0 auto;
}

.image_preview .image_border {
	padding:2px;
	margin-top:10px;
	clear:both;
	text-align:center;
	border: 1px solid #B2B2B2;
}

#parent_id {
	width:228px;
}

#content_form {
	margin:0px;
	width:auto;
}

#content_form h3 {
	margin:14px 0;
}

#content_form li {
	padding-bottom:8px;
}

#content_form li.error {
    text-align: inherit;
}

#content_form ul > li > ul{
    display: inline-block;
}

#content_form ul > li > ul > li {
    padding-bottom: 0;
}

#content_form ul > li > ul > li > input[type="checkbox"]{
	width: auto;
}

#content_form ul > li.users_setting_role_id{
	white-space: nowrap;
	padding-left: 20px;
}

#content_form ul > li.users_setting_role_id > label,
#content_form ul > li.users_setting_role_id > ul{
	white-space: normal;
}

#content_form ul > li.users_setting_role_id > ul > li{
	display: inline-block;
}

#content_form #boxes .box {
	margin-bottom:0px;
}

#forgot_password {
	margin-top:40px;
}

#forgot h3 {
	text-align:center;
}

/* Admin */

#content #html_parent #html_tbl {
	border: 1px solid #b2b2b2;
}

#content #html_parent table {
	width:auto;
	margin:0px;
	border:none;
}

#content #html_parent td {
	padding:0px;
}

#tinymce {
	padding:8px;
}

/* tablelist */

#tablelist {
	clear:both;
}

#tablelist #add_record {
	margin-left:0px;
}

#tablelist .image {
	width:100px !important;
}

.no_records {
	margin:10px;
	text-align:center;
	color:#D7161F;
	font-size:14px;
	font-weight:bold;
}

.rowhover {
	background-color:#999;
}

/* basket */

.grandtotal, .discount {
	font-weight:bold;
	font-size:14px;
	text-align:right;
	margin-bottom:10px;
}

.discount {
	color:#D7161F;
}

.price {
	width:100px;
}

#stock_orderform {
	margin-top:10px;
}

.map img {
	border: 1px solid #b2b2b2;
}

.notes {
	border: 1px solid #b2b2b2;
	overflow:auto;
	height:80px;
	padding:4px;
	font-size:10px;
}

.note {
	text-align:center;
	color:#000;
	margin:4px;
}

.backorder {
	color:#D7161F;
	font-weight:bold;
}

#banner {
	text-align:center;
	vertical-align:bottom;
}

/* Calendar Style */

#calendar_page {
	background-color:#FFF;
	min-width:220px;
}

#calendar {
	width:200px;
	margin:8px;
}

#calendar .calnav a {
	border:none;
	color: #df302d;
	font-weight:bold;
}

#calendar .calnav a:hover {
	background-color:#FFFFFF;
	color:#052e65;
}

#calendar .month a {
	color:#000000;
	font-weight:normal;
	text-align:center;
	width:auto;
}

#calendar th {
	color:#FFFFFF;
	background-color:#DF302D;
	padding-top:4px;
	padding-bottom:4px;
}

#calendar td {
	padding:2px;
	padding-bottom:3px;
	text-align:center;
}

#calendar a {
	display:block;
	width:24px;
	height:18px;
	text-align:center;
	color:#000000;
	font-weight:normal;
	border: 1px solid #767a7d;
	line-height:18px;
}

#calendar a:hover {
	background-color:#052e65;
	color:#FFF;
}

#calendar .highlight {
	background-color:#FFFFFF;
}

#calendar .highlight a {
	border: 1px solid #df302d;
	color:#df302d;
}

/* pagination style */

.pagination {
	font-size:14px;
	text-align:center;
	margin:18px;
}

.pagination a {
	text-decoration:none !important;
	background-color:#CCC;
	padding:8px;
}

.pagination a:hover {
	background-color:#000;
	color:#FFF;
}

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

.checkboxes label {
	float:none;
	width:auto;
	display:inline;
	line-height:10px;
}

.checkboxes input {
	width:auto !important;
	margin-right:8px;
}

.title_float {
	width:60%;
	float:left;
}

/* Record Set */

.recordset {
	float:left;
	margin-right:18px;
	width:400px;
	margin-bottom:18px;
	background-color:#f0f0f0;
}

.recordset .form_content {
	padding:6px;
}

.recordset h1,
.recordset h2 {
	background-color:#000;
	color:#FFF;
	padding:6px;
	margin:0px;
	font-size:12px;
}

.recordset h1 a, .recordset h1 a:link, .recordset h1 a:visited, .recordset h1 a:hover,
.recordset h2 a, .recordset h2 a:link, .recordset h2 a:visited, .recordset h2 a:hover {
	color:#FFF;
	text-decoration:none;
	display:block;
}

.recordset .drawer_handle_down, .recordset .drawer_handle_up {
	background-image:url(../imgs/down_white.gif);
	background-repeat:no-repeat;
	background-position: right center;
}

.recordset .drawer_handle_up {
	background-image:url(../imgs/up_white.gif);
}

.recordset .drawer_handle_down span {
	display:none;
}

.recordset ul {
	padding:6px;
	padding-bottom:4px;
}

.recordset li {
	margin-bottom:6px;
}

.select_toggle {
	text-align:right;
}

#item_form {
	width:auto;
}

.fieldset .radio {
	float:left;
}

.fieldset .radio label {
	float:none;
	display:inline;
}

.fieldset .radio input {
	width:auto;
	margin-right:18px;
}

.column {
	float:left;
	width:50%;
}

.column .recordset {
	width:97%;
	margin-right:0;
}

.column .last .recordset {
	margin-right:0;
}

.last {
	margin-left:0 !important;
	margin-right:0 !important;
}

#thumbnail img {
	border-color:#333;
	border-width:1px;
}

.chart {
	text-align:center;
}

#loginpage #foot {
	display:none;
}

#uploading_file {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index: 9999;
 	margin: 0;
  	padding: 0;
	background-color:#FFF;
	text-align:center;
	background-image:url(../../imgs/loading_white.gif);
	background-repeat:no-repeat;
	background-position: center center;
}

#models #mainfeatures input {
    width: 34em;
}

#models #mainfeatures select {
	width: 34em;
}

#order_form .thumbnail {
	width:1px;
}

form #notes {
	width:100%;
	margin-right:0;
}

form #notes ul {
	list-style:none;
	margin:0;
	padding:0;
}

form #notes textarea {
	width:100%;
	height:120px;
	font-size:10px;
}

#delivery_notes {
	height:60px;
}

#dealers_map {
	width:100%;
	height:550px;
}

#dealers_map h3 {
	font-size:16px;
	margin:0;
	margin-bottom:4px;
}

#dealers_map p {
	margin:0;
	margin-top:4px;
}

#message, #popup, #tinymce, #loading {
	height:auto;
	min-width:400px;
	background:#fff;
}

#dealers_fields {
	width:100%;
	border-bottom:none;
}

#dealers_fields td {
	vertical-align:top;
	background-color:#F0F0F0;
	padding:0 !important;
}

#dealers_fields ul {
	list-style:none;
	padding:0;
	margin:0;
}

#dealers_fields .drawer {
	padding:8px;
}

#dealers_fields .gap {
	background-color:#FFF;
	width:12px;
}

.left {
	float:left !important;
	margin-left:0px !important;
}

.right {
	float:right !important;
	margin-right:0px !important;
}

hr {
	border:none;
	border-bottom: 1px solid #B2B2B2;
}

.arrows .checkbox {
	width:20px;
}

#attachments_upload ul {
	list-style:none;
}

#attachments .imgs {
	margin:6px;
	width:200px;
	text-align:center;
	float:left;
	cursor:pointer;
}

#attachments .img {
	height:120px;
	width:200px;
	line-height:210px;
	color:#FFF;
	background-position:center center;
	background-repeat:no-repeat;
	background-color:#333;

}

#attachments .a {
	display:block;
	border:8px solid #666;
}

#attachments .a:hover {
	border:8px solid #CCC;
}

#attachments .imgdelete {
	margin-top:8px;
}

#attachments label {
	width:auto;
	display:inline;
	float:none;
}

#attachments img {
	border-width:1px;
}

#popup #dealers_map {
	height:500px;
}

#footer td {
	vertical-align:bottom;
}

#linkselector h3 {
	margin-bottom:8px;
}

/* edit button */

#edit_content {
	position: fixed;
    right: 18px;
    bottom: 18px;
}

#edit_content .button a {
	z-index:9999;
	display:block;
	opacity:0.5;
	background-color:transparent;
	background-image: url(../imgs/edit_page.png);
	width:32px;
	height:32px;
	padding:0;
}

#edit_content .button a:hover {
	opacity:1;
}

#edit_content span {
	display:none;
}

/* autocomplete */

.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
	color:#000;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/*
	if width will be 100% horizontal scrollbar will apear
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font-size: 11px;
	/*
	it is very important, if line-height not setted or setted
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url(../../imgs/loading_small.gif) right center no-repeat;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #0A246A;
	color: white;
}

#my_details #opening_hours {
	font-size:10px;
}

#my_details #opening_hours li {
	float:left;
	margin-right:12px;
}

#my_details #opening_hours label {
	width:60px;
}

#my_details #opening_hours input {
	width:80px;
}

#my_details #services li {
	float:left;
	margin-right:38px;
}

#my_details #services input {
	width:auto;
}

#contact_log {
	width:400px;
	margin-left:29px;
	margin-top:20px;
}

#contact_log textarea {
	width:370px;
	height:120px;
	padding:8px;
}

#multiple_roles select {
	width:200px;
}

#dealers_select {
	width:90%;
}

.fieldset ul, .recordset ul {
	margin-left:0;
}

#contacts, #map_view {
	margin-top:18px;
}

.checkbox_block {
	display:block;
	float:left;
	margin-right:8px;
}

.ie #edit_content {
	display:none;
}

.search_title {
	width:60%;
	float:left;
}

.auto_table_title {
	width:60%;
	float:left;
}

/* s2 stuff */
.up_arrow {
    background-image: url(/media/shared/imgs/up.gif);
}
.down_arrow {
    background-image: url(/media/shared/imgs/down.gif);
}
.order_arrow {
    height: 12px;
    width: 12px;
    display: inline-block;
    vertical-align: middle;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ie hacks */

.ie #nav li {
	cursor:pointer;
}

.ie .fieldset li, .ie .recordset li, .ie #other li {
    margin-bottom:2px;
}

.ie #list li {
	margin-bottom:4px;
}

.ie .clear {
	clear:both;
	margin-top:-6px;
	height:0.1em;
}

/* ie5 */

#ie5 #nav a {
	height:42px;
	width:72px;
}

#ie5 body, #ie5 #maintable {
	text-align:center;
}

#ie5 .search_query input {
	height:20px;
	width:125px;
}

#ie5 .button a, #ie5 .button a:visited, #ie5 .button input {
	width:100px;
	height:35px;
	cursor:pointer;
}

#ie6 .button input {
	padding-right:68px;
}

#ie7 .button input {
	padding-right:48px;
}

#ie8 .button input, #ie9 .button input {
	padding-top:9px;
	padding-bottom:9px;
}

input {
	border-radius: 0;
}

.center {
	text-align:center!important;
}

.language-picker.continue .language-block {
	text-align: center;
}

.language-picker.flags .language-block {
	max-width: 200px;
	display: inline-block;
	padding: 10px;
	margin: 20px;
}

.language-picker.flags a.language-block:link {
	text-decoration: none;
}

.language-picker.flags a.language-block:hover {
	text-decoration: underline;
}

.language-picker.flags .language-block .language-flag img {
	width: 100%;
}

.language-picker.flags .language-block .language-name {
	line-height: 2.5;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}

body.language-picker.flags #content {
	text-align: center;
}

body > #cookie-notice {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;

	display: flex;
	justify-content: space-between;

	box-sizing: border-box;
	padding: 1em 2em;

	background-color: rgba(0, 0, 0, .75);
	color: #fff;
}

body > #cookie-notice > p > a {
	color: #fff;
	text-decoration: underline;
}

body > #cookie-notice > a {
	display: flex;
	justify-content: center;
	align-items: center;

	margin-left: 1em;
	padding: 1em;
	border-radius: .5em;

	white-space: nowrap;
	background-color: #fff;
	color: #000;
	cursor: pointer;
}

/* notifications */

#notifications[role="list"] .notification {
	display: grid;
	grid-template-columns: 1fr auto auto;
	padding: 1em .5em;
}

#notifications[role="list"] .notification:not(:last-child) {
	border-bottom: 1px solid black;
}

#notifications[role="list"] .notification label {
	grid-column: 1;
	grid-row: 1;

	font-weight: bold;
}

#notifications[role="list"] .notification span.date {
	grid-column: 2 / span 2;
	grid-row: 1;

	white-space: nowrap;
	text-align: right;
}

#notifications[role="list"] .notification p {
	grid-column: 1 / span 2;
	grid-row: 2;

	white-space: pre-wrap;
}

#notifications[role="list"] .notification .icon {
	grid-column: 3;
	grid-row: 2;
	align-self: center;

	width: 20px;
	padding: 1em;
	cursor: pointer;
}

#notifications[role="list"] .notification .icon svg {
	fill: red;
}

#notifications[role="list"] .notification .links {
	grid-column: 1 / span 3;
	grid-row: 3;
}

#notifications[role="list"] .notification .links a {
	margin-right: 2em;
	color: blue;
	font-weight: bold;
	text-decoration: none;
}

#notificationsAlert svg {
	max-height: 26px;
	fill: #000000;
	transition: fill .4s ease;
}

#notificationsAlert:not([data-count="0"]) svg {
	fill: #FFBE11;
}

body#page-notifications-admin form .field {
	margin: 1em auto;
}

body#page-notifications-admin form .field > label {
	display: block;
	margin: .5em auto;
	font-weight: bold;
}

body#page-notifications-admin form #roles > label {
	display: block;
}

/* Errors */

body.http-error #content {
	text-align: center;
}

/* Password Visibility Toggle */

.password-visibility-container {
	position: relative;
}

.password-visibility-container input {
	width: 100%;
}

.password-visibility-container .password-visibility-toggle {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 20%;
	max-width: 2rem;
	z-index: 1;
	cursor: pointer;
	user-select: none;
}

.password-visibility-container .password-visibility-toggle img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}