/* Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{font-style:normal;margin:0;padding:0;border:0;outline:0;font-size:100%;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}

/* Text */
body{font:13px/1.5 Verdana,Arial,Helvetica,FreeSans,sans-serif}a:focus{outline:1px dotted invert}hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}h1{font-size:25px}h2{font-size:23px}h3{font-size:19px}h4{font-size:17px}h5{font-size:15px}h6{font-size:13px}ol{list-style:decimal}ul{list-style:square}li{margin-left:30px}p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,fieldset{margin-bottom:10px}

/* Clear */
.clear{display:block;clear:both;/*overflow:hidden;visibility:hidden;width:0;height:0*/}
.clearfix:after{clear:both;content:'.';display:block;visibility:hidden;height:0}
.clearfix{display:inline-block}
* html .clearfix{height:1%}
.clearfix{display:block}

/* Layout */
html, body {
  height: 100%;
}

html {
  /* Turn on scroll bar */
  overflow-y: scroll;
}

body {
    color: #333;
    line-height:1.231;
    font-size: 11px;
}

a {
    color: #333;
}

h1 {
    font-size: 100%;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: normal;
    line-height: 19px;
}

h1,
.spacer {
    border: 1px dotted #000;
    border-left: 0;
    border-right: 0;
    padding: 5px 10px;
}

h2 {
    font-size: 120%;
}

h3 {
    font-size: 100%;
    margin-bottom: 0;
}

div.hl {
    border: 1px dotted #000;
    border-left: 0;
    border-right: 0;
    padding: 5px 10px;
    margin-bottom: 5px;
}

h1 .hl,
h2 .hl,
.hl h1,
.hl h2 {
    float: left;
}

div.hl h1,
div.hl h2 {
    border: none;
    margin-bottom: 0;
    padding: 0;
}

h1 .btn,
h1 .link,
h2 .btn,
h2 .link,
div.hl .btn,
div.hl .link,
div.hl .btn,
div.hl .link,
div.hl .div{
    float: right;
}

div.hl .btn,
div.hl .link,
div.hl .btn,
div.hl .link,
div.hl .div{
    margin-left: 5px;
    line-height: 19px;
}

h1 .link,
h2 .link{
    font-size: 85%;
    font-weight: normal;
}

.hr {
    display: block;
    margin-bottom: 10px;
    border-top: 1px dotted #000;
}

p {
    margin-bottom: 10px;
    line-height: 1.5;
}

li {
    line-height: 1.5;
}

strong, b, strong *, b * {
    font-weight: bold;
}

em, i, em *, i * {
    font-style: italic;
}

small {
    font-size: 85%;
}

sup.new {
    color: #C62B0F;
    /*color: #fff;
    background: #515f90;
    padding: 0 2px 1px 3px;*/
    font-size: 80%;
    margin-left: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

sup.sc,
span.sc {
    color: #fff;
    background: #515f90;
    padding: 0 2px 1px 3px;
    margin-top: 2px;
    font-size: 80%;
    line-height: 10px;
    margin-left: 3px;
    text-transform: uppercase;
    font-weight: bold;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.placeholder {
    color: #aaa;
}

.btn {
    border: 1px solid #383838;
    background: #383838 url(../../../img/bg-button.gif) 5px 5px no-repeat;
    *background-position: 5px 6px;
    padding: 3px 7px 3px 14px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    font: 11px Verdana,Arial,Helvetica,FreeSans,sans-serif;
    text-decoration: none;
}

.btn:hover {
    color: #6FC7FF;
    background-position: 5px -15px;
    *background-position: 5px -14px;
}

.btn-highlight {
    border-color: #ffcc00;
    background-color: #ffcc00;
    color: #000;
}

.btn-highlight:hover {
    color: #555;
}

.notspecified {
    font-style: italic;
}

.breadcrumb {
    font-size: 9px;
    display: block;
    text-transform: none;
    margin-bottom: 4px;
    margin-left: 10px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    /*text-decoration: underline;*/
    color: #000;
}

.list-separator {
    border-top: 1px dotted #333;
    background: #f0f0f0;
    padding: 5px 10px;
    color: #444;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 20px;
    text-align:center;
}

.paginator-box {
    margin-top: -6px;
    border-top: 1px dotted #333;
    background: #f0f0f0;
    padding: 5px 10px;
    color: #444;
    margin-bottom: 10px;
}

.paginator-info {
    float: left;
    line-height: 20px;
}

.paginator-perpage {
    float: right;
}

.paginator-perpage a {
    display: inline-block;
    padding: 2px 4px;
    border: 1px solid #373938;
    color: #666;
    text-decoration: none;
    background: #fff;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.paginator-perpage a:hover,
.paginator-perpage a.paginator-perpage-active {
    color: #fff;
    background: #373938;
    border-color: #373938;
}

.paginator-perpage a.paginator-perpage-first {
    border-right: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.paginator-perpage a.paginator-perpage-last {
    border-left: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-bottomleft: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.paginator-display {
    float: right;
    margin-right: 5px;
}

.paginator-display a {
    display: inline-block;
    margin-right: 5px;
    width: 20px;
    height: 20px;
    text-indent: -3000px;
    background: transparent url(../../../img/bg-button-display.gif) 0 0 no-repeat;
}

.paginator-display .paginator-display-list:hover,
.paginator-display .paginator-display-list-active{
    background-position: -40px 0;
}

.paginator-display .paginator-display-gallery {
    background-position: 0 -40px;
}

.paginator-display .paginator-display-gallery:hover,
.paginator-display .paginator-display-gallery-active{
    background-position: -40px -40px;
}

.sort-box {
    margin-top: -10px;
    border-top: 1px dotted #333;
    border-bottom: 1px dotted #333;
    padding: 10px;
    margin-bottom: 10px;
}

.sort-box a {
    color: #6f6f6f;
    display: block;
    float: left;
    padding: 0 15px;
    text-decoration: none;
    background: transparent url(../../../img/sort-arrows.png) 0 5px no-repeat;
}

.sort-box a:hover {
    text-decoration: underline;
}

.sort-box a:hover,
.sort-box a.sort-active {
    color: #373938;
}

.sort-box a.sort-asc:hover,
.sort-box a.sort-asc-active {
  background-position: 0 -85px;
}

.sort-box a.sort-desc:hover,
.sort-box a.sort-desc-active {
  background-position: 0 -55px;
}

.sort-box a.sort-relevance {
    background-position: 0 -115px;
}

.sort-box a.sort-relevance:hover,
.sort-box a.sort-relevance-active {
    background-position: 0 -145px;
}

.adminlogdisplay {
    border: 1px dotted #333;
    background: #f0f0f0;
    padding: 10px 20px 0 20px;
    margin: 10px 0;
}

.admincommentdisplay {
    border: 1px dotted #333;
    background: #f0f0f0;
    padding: 10px 20px 0 20px;
    margin: 10px 0;
}

.admincommentdisplay .delete { 
    background: transparent url(../../../img/icons/delete.png) 0 0 no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.admincommentdisplay .edit { 
    background: transparent url(../../../img/icons/edit.png) 0 0 no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.admincommentdisplay .form .textarea { 
    display: block;
    width: 100%;
    height: 100px;
    margin-bottom: 5px;
}

#wrapper {
    width: 1150px;
    margin: auto;
    position: relative;
}

#main {
    width: 970px;
    position: relative;
}

#skyscraper {
    position: absolute;
    top: 113px;
    right: 0;
    width: 160px;
    height: 600px;
}

.success {
    background: #f0fde2 url(../../../img/icon-success.png) 8px 6px no-repeat;
    padding: 3px 6px 4px 26px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.error {
    background: #FFC0CB url(../../../img/icon-error.png) 8px 6px no-repeat;
    padding: 3px 6px 4px 26px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.warning {
    background: #f9f9f9 url(../../../img/icon-warning.gif) 6px 4px no-repeat;
    padding: 3px 6px 4px 26px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

#uploadprogressbar {
    display: inline;
    margin-left: 10px;
    z-index: 1000;
}

.type-new {
	color: blue;
}

.type-success {
	color: green;
}

.type-error {
	color: red;
}

.type-rejected {
	color: #660000;
}

.type-pending {
	color: #FF9900;
}

.type-owner {
	color: #FF6600;
	font-weight: bold;
}

ul.tagcloud li {
    display: inline;
    list-style-type: none;
    padding: 1px;
    margin: 0;
}

/*** external-news ***/
.external-news {
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #999;
    clear: both;
}

.external-news img {
    float: left;
    margin: 0 10px 10px 0;
    _width: 180px;
    max-width: 180px;
    height: auto;
}

/*** categories ***/

.categories {
    margin: 10px 0;
}

.categories h3 {
    display: block;
    background: transparent url(../../../img/icon-category.gif) left top no-repeat;
    padding: 0 0 4px 25px;
}

.categories .first,
.categories .second{
    width: 310px;
    float: left;
}

.categories .second{
    margin-left: 10px;
}

.categories .item {
    margin-bottom: 10px;
}

.categories ul,
.categories p {
    margin: 0;
    padding: 0;
    margin-bottom: 2px;
}

.categories ul li {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 85%;
}

/*** table ***/

table.list {
  width: 100%;
  border-collapse: collapse;
}

table.list th {
  text-align: left;
  background: #d8d8d8;
  font-weight: bold;
  padding: 5px 10px;
  border-bottom: 1px dotted #999;
  white-space: nowrap;
}

table.list th a.sort {
  padding-right: 12px;
  background: transparent url(../../../img/sort-arrows.png) right 5px no-repeat;
}

table.list th a.sort-asc-active {
  background-position: right -55px;
}

table.list th a.sort-desc-active {
  background-position: right -85px;
}

table.list td {
  padding: 5px 10px;
  border-bottom: 1px dotted #999;
  border-top: 1px dotted #999;
  vertical-align: top;
}

table.list-no-border td {
  border-bottom: 0;
}

table.list-no-border tr:first-child td {
  padding-top: 0;
  border-top: 0;
}

table.list td  img {
    border: 1px solid #ccc;
}

table.list td.title strong {
	display: block;
	margin-bottom: .2em;
}

table.list td.title .actions {
  padding: 2px 0 0 0;
  visibility: hidden;
  white-space: nowrap;
}

table.list tr:hover td.title .actions {
  visibility: visible;
}

table.list td.title .actions a:hover {
  color: #D54E21;
}

table.list td.title .actions .delete:hover {
  color: red;
}

table.summary {
  width: 100%;
  border-collapse: collapse;
  font-size: 95%;
}

table.summary th {
  text-align: left;
  vertical-align: top;
  font-weight: bold;
  padding: 5px 10px;
  border-bottom: 1px dotted #999;
  border-top: 1px dotted #999;
}

table.summary td {
  vertical-align: top;
  padding: 5px 10px;
  padding-left: 0;
  border-bottom: 1px dotted #999;
  border-top: 1px dotted #999;
}

/** form **/

.form {
	margin-bottom: 10px;
}

.form:after{clear:both;content:'.';display:block;visibility:hidden;height:0}

.form #csrf-label,
.form #csrf-element,
.form #post_id-label,
.form #post_id-element,
.form #user_id-label,
.form #user_id-element,
.form #photographer_id-label,
.form #photographer_id-element {
    /*display: none;*/
    position: absolute;
    left: -3000px;
    top: -3000px;
}

.form label {
    font-weight: bold;
    margin-bottom: 2px;
    display: block;
    width: 300px;
}

.form dd>label {
    /*font-weight: normal;*/
    width: auto;
    margin-bottom: 10px;
}

input.checkbox {
    float: left;
}

label.checkbox {
    float: left;
    margin: 0;
    margin-left: 2px;
    margin-top: 2px;

    _position: absolute;
    _left: 0;
    _float: none;
}

#recaptcha_response_field,
input.text,
input.password,
input.file,
textarea.textarea,
iframe.textarea, /* For RTE */
select.select {
    border: 1px solid #b3b3b3;
    background: #fff url(../../../img/bg-input.gif) top left repeat-x;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 2px;
    margin: 0;
    font-family: Verdana,Arial,Helvetica,FreeSans,sans-serif;
    font-size: 12px;
    width: 200px;
}

.form input.text,
.form input.password,
.form input.file,
.form textarea.textarea,
.form iframe.textarea, /* For RTE */
.form select.select {
    width: 300px;
}

.form input.small {
    width: 100px;
}

.form input.ac_loading {
	background: white url(../../../img/loading.gif) 290px center no-repeat;
    padding-right: 15px;
    width: 287px;
}

.form select.select-date {
    width: auto;
    min-width: 60px;
}

.form textarea.textarea,
.form iframe.rte /* For RTE */ {
    height: 200px;
}

.form textarea.textarea.small,
.form iframe.rte.small /* For RTE */ {
    height: 100px;
}

input[readonly] {
    color: #b3b3b3;
    font-style: italic;
}

input[readonly]:focus {
    border: 1px solid #b3b3b3;
}

input.submit {
    border: 1px solid #383838;
    background: #383838 url(../../../img/bg-button.gif) 5px 5px no-repeat;
    padding: 2px 5px 2px 12px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    font: 11px Verdana,Arial,Helvetica,FreeSans,sans-serif;
}

input.submit:hover {
    color: #6FC7FF;
    background-position: 5px -15px;
    cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #383838;
}

.form dd, .form dt {
    position: relative;
    clear: both;
}

.form dd {
    margin-bottom: 10px;
}

/*form dd:after{clear:both;content:'.';display:block;visibility:hidden;height:0}*/

.form dt#submit-label,
.form dt#cancel-label {
    float: left;
    clear: none;
    width: 10px;
}

.form dd#submit-element,
.form dd#cancel-element {
    float: left;
    clear: none;
}

.form dd#cancel-element a {
    float: none;
    clear: both;
    display: block;
}

#content .form .hint,
#content .form .description {
    margin: 2px 0 0 0;
    color: #777;
    width: 300px;
    font-size: 85%;
}

#content .form .description .limit-error {
    color: red;
}

.form ul.errors {
    position: absolute;
    left: 290px;
    top: 0;
    list-style: none;
    margin: 0;
}

.form ul.errors li {
    background: #FFC0CB url(../../../img/icon-error.png) 8px 4px no-repeat;
    padding: 3px 6px 4px 26px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    width: 255px;
}

.form fieldset,
.fieldset {
    border: 1px solid #b3b3b3;
    /*background: #fff url(../../../img/bg-input.gif) top left repeat-x;*/
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 10px;
    margin: 0;
    margin-bottom: 10px;
}

.form fieldset fieldset,
.fieldset .fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    margin-right: 8px;
    float: left;
}

.form legend {
    padding: 0 10px;
    font-weight: bold;
    *margin-bottom: 10px;
}

.form .rte-toolbar {
    overflow:hidden;
    margin: 5px 0;
    padding: 0;
}

.form .rte-toolbar a {
	display: block;
    padding: 2px;
    border:0;
    padding: 0;
    margin: 0 5px 0 0;
    float: left;
    border: 1px solid #b3b3b3;
    background: #fff url(../../../img/bg-input.gif) top left repeat-x;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.form .rte-toolbar a:hover {
	border-color: #000;
}

.form .rte-resizer {
    width: 300px;
    top: -3px;
    position: relative;
    text-align: right;
    background: #e3e3e3;
    border: 1px solid #b3b3b3;
    border-top: 0;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-radius-bottomright: 3px;
    -webkit-border-radius-bottomleft: 3px;
}

/** loading **/

/*.loading-overlay {
    width: 190px;
    height: 52px;
    display:block;
}

.loading-overlay div.bg {
    width: 190px;
    height: 52px;
    display:block;
    background: #000;
    opacity: .5;
    position: absolute;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.loading-overlay div.text {
    position: absolute;
    background: #383838 url(../../../img/loading-overlay.gif) 40px 13px no-repeat;
    border: 1px solid #ccc;
    color: #6fc7ff;
    text-align: center;
    margin: 5px;
    padding: 5px;
    width: 168px;
    height: 30px;
    line-height: 30px;
}*/

.loading-overlay {
    width: 90px;
    height: 20px;
    display:block;
}

.loading-overlay div.text {
    position: absolute;
    background: #fff url(../../../img/loading-overlay.gif) 7px 5px no-repeat;
    color: #333;
    text-align: center;
    padding-left: 20px;
    width: 70px;
    height: 25px;
    line-height: 25px;
    opacity: .95;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.loading-content,
.loading-append,
.loading-insert {
    width: 10px;
    height: 10px;
    background: transparent url(../../../img/loading.gif) 0 0 no-repeat;
}

input.loading,
select.loading {
    background: #fff url(../../../img/loading.gif) right 50% no-repeat;
}

/** superbox **/

/* Base Superbox Styles */
#superbox-overlay{position:fixed;top:0;left:0;z-index:9998;width:100%;height:100%;}
#superbox-wrapper{position:fixed;z-index:9999;top:0;display:table;width:100%;height:100%;}
#superbox-container{position:relative;display:table-cell;width:100%;height:100%;margin:0;padding:0;vertical-align:middle;}
#superbox{margin:0 auto;padding:0;}
#superbox-container .loading{margin:0;text-align:center;}

/* IE7 */
*:first-child+html #superbox-container{position:absolute;top:50%;display:block;height:auto;}
*:first-child+html #superbox{position:relative;top:-50%;display:block;}
/* IE6 - Thanks to Thickbox for IE expressions */
* html #superbox-container{position:absolute;top:50%;display:block;height:auto;}
* html #superbox{position:relative;top:-50%;display:block;}
* html #superbox-overlay{position:absolute;height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight + 'px' : document.body.offsetHeight + 'px');}
* html #superbox-wrapper{position:absolute;margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');}

/* Default Theme */
#superbox-overlay{background:#000;}
#superbox-container .loading{opacity:.66;width:100px;height:100px;margin:0 auto;text-indent:-9999px;background:url(../../../img/loading-large.gif) no-repeat 0 0;}
#superbox{padding:10px;background:#fff;border:1px dotted #333}
#superbox-innerbox{padding:10px 0;}
#superbox.image{text-align:center;}
#superbox .close, #superbox .nextprev{overflow:hidden;margin:0;}
#superbox .close a{float:right;text-align:center;padding:0 5px;line-height:20px;min-width:10px;background:#333;cursor:pointer;}
#superbox .close a span{color:#fff;}
#superbox .nextprev a{float:left;margin-right:5px;padding:0 5px;line-height:20px;background:#333;cursor:pointer;color:#fff;}
#superbox .nextprev .disabled{background:#ccc;cursor:default;}

/** banner **/

#banner2 .ad,
#banner4 .ad,
.banner-ad,
.banner-content .ad {
    text-align: right;
    font-size: 9px;
    display: block;
    height: 14px;
    text-transform: uppercase;
}

.banner-billboard {
    display: block;
    text-align: center;
}

#banner2 {
    float: right;
    min-height: 74px;
    min-width: 468px;
    _width: 468px;
}

#banner4 {
    margin-bottom: 20px;
}

.banner-sidebar-1 {
    max-width: 300px;
    max-height: 250px;
    overflow: hidden;
}

.banner-sidebar-2 {
    display: block;
    max-width: 300px;
    overflow: hidden;
    margin-bottom: 10px;
}

.banner-content {
    display: block;
    margin-bottom: 10px;
    padding-left: 75px;
}

#banner2 .ad {
    min-width: 468px;
}

.banner-content .ad {
    width: 468px;
}

.banner-vehicle-detail,
.banner-post-detail,
.banner-news-detail {
    width: 590px;
    margin: 20px auto;
}
/** header **/

#meta {
    margin-top: 10px;
    border: 1px solid #000;
    border-left: 0;
    border-right: 0;
}

#meta .content {
    width: 48%;
    float: left;
}

#meta .user {
    width: 48%;
    float: right;
}

#meta .menu li {
    margin-left: 5px;
}

#meta .menu li span.sp {
    padding-right: 5px;
}

#meta .content ul {
    margin-left: 5px;
}

#meta .user ul {
    float: right;
    margin-right: 10px;
}

/** head **/

#head {
    position: relative;
}

#logo {
    display: block;
    width: 970px;
    height: 110px;
    margin-bottom: 2px;
    background: transparent url(../../../img/header.png) 0 0 no-repeat;
}

#logo a {
    display: block;
    height: 110px;
    width: 450px;
    text-indent: -3000px;
}

#login {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 405px;
    height: 55px;
    color: #d9d9d9;
}

#login a {
    color: #d9d9d9;
}

#login .login-group,
#login .password-group,
#login .remember-group,
#login .forgot-password-group,
#login .submit {
    position: absolute;
    left: 0;
}

#login .password-group {
    left: 160px;
}

#login .remember-group {
    left: -2px;
    bottom: 0;
}

#login .forgot-password-group {
    bottom: 4px;
    left: 162px;
}

#login .text,
#login .password {
    display: block;
    width: 150px;
    padding: 3px;
}

#login .submit {
    left: 320px;
    top: 15px;
}

/** body **/

#body {
    padding-top: 20px;
}

#content {
    width: 650px;
    float: left;
    min-height: 350px;
    padding-bottom: 20px;
}

.fullscreen #content {
    width: 970px;
}

#content .content {
    padding-left: 10px;
    padding-right: 10px;
}

/** sidebar **/

#sidebar {
    width: 300px;
    float: right;
}

#sidebar h2 {
    font-size: 100%;
    text-transform: uppercase;
}

#sidebar .box {
    width: 300px;
    margin-bottom: 10px;
    position: relative;
}

#sidebar .box p,
#sidebar .box form {
    padding: 10px;
}

#sidebar .box label {
    display:block;
    width: auto;
    color: #fff;
    font-weight: normal;
}

#sidebar .box input.text,
#sidebar .box input.password {
    width: 275px;
    margin-bottom: 5px;
}

#sidebar .box input.mainsubmit {
    clear: both;
    position: absolute;
    right: 0;
    bottom: 0;
    *width: 100px;
}

#sidebar .subnav {
    border: 0;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
}

#sidebar .subnav .nav a {
    padding: 0 10px;
    line-height: 17px;
}

/**/

#sidebar .search {
    padding: 0;
}

#sidebar .search .content {
    background: #6D6D6D;
    padding: 10px;
    color: #fff;
}

#sidebar .search .content a {
    color: #fff;
}

#sidebar .search #postsearch {
    display: none;
}

#sidebar  #sidebar-vehiclesearch-query,
#sidebar  #sidebar-postsearch-query {
    margin-bottom: 25px;
}

#sidebar .box-register {
    margin: 10px 0;
    font-size: 0;
}

#sidebar .box-appinfo {
    background: #000;
    width: 300px;
    height: 85px;
    color: #fff;
    position: relative;
}

#sidebar .box-appinfo-homepage {
    margin-bottom: 20px;
}

#sidebar .box-appinfo-slide {
    background: #000;
    width: 300px;
    height: 85px;
    position: absolute;
    top: 0;
    left: 0;
}

#sidebar .box-appinfo-slide .label {
    position: absolute;
    top: 5px;
    left: 10px;
    text-transform: uppercase;
}

#sidebar .box-appinfo-slide .number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #6FC7FF;
    font-size: 48px;
    line-height: 48px;
}

/** footermenu **/

#footermenu {
    background-color: #000;
    margin-bottom: 1px;
}

/** megafooter **/

#megafooter {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 1px;
}

#megafooter .box a {
    color: #fff;
    text-decoration: none;
}

#megafooter .box a:hover {
    text-decoration: underline;
}

#megafooter .box h2 {
    margin-bottom: 2px;
    font-size: 11px;
}

#megafooter .box ul {
    margin-left: -30px;
    list-style: none;
}

#megafooter .box {
    float: left;
    width: 250px;
}

#megafooter .register {
    float: right;
    text-align: right;
    margin-top: 15px;
    margin-right: -8px;
    width: 400px;
}

/** footer **/

#footer {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
}

#footer a {
    color: #fff;
}

#footer .menu {
    float: left;
    margin-left: 100px;
}

#footer .copyright {
    float: left;
    font-size: 85%;
    line-height: 25px;
    text-decoration: none !important;
}

#footer .copyright:hover {
    text-decoration: underline !important;
}

#footer .scroll-to-top {
    float: right;
    border: 1px solid #fff;
    padding: 0 15px;
    margin-top: -2px;
    line-height: 25px;
    text-decoration: none !important;
}

#footer .scroll-to-top:hover {
    text-decoration: underline !important;
}

/** menu **/

.menu,
.menu * {
    z-index: 201;
}

.menu ul,
ul.menu {
    float: left;
    list-style: none;
    padding:0;
    margin:0;
}

.menu li {
    float: left;
    position: relative;
    margin-left: 20px;
    height: 25px;
    line-height: 25px;
    text-transform: uppercase;
    line-height: 25px;
    font-size: 85%;
}

.menu li a {
    text-decoration: none;
}

.menu li a:hover {
    text-decoration: underline;
}

#nav .level2 {
    background: #000;
    border-top: 2px solid #fff;
    *padding-bottom: 5px;
}

#nav .level2 .menu a,
#footermenu .menu a {
    color: #fff;
    border-right: 1px solid #6d6d6d;
    padding-right: 20px;
    *line-height: 20px;
}

#nav .level2 .menu2 a {
    border-right: 0;
}

#nav .level2 .menu li a.special,
#footermenu .menu li a.special {
    color: #6fc7ff;
}

#nav .level2 .menu li a.news,
#footermenu .menu li a.news {
    color: #ffcc00;
}

#nav .level2 .menu li a.last,
#footermenu .menu li a.last {
    border-right: 0;
    padding-right: 0;
}

#nav .level2 .menu,
#footermenu .menu {
    _margin-left: -20px;
    float: left;
}

#nav .level2 .menu2 {
    float: right;
}

#nav .level2 .menu ul {
    position: absolute;
    top: -999em;
    width: 146px; /* left offset of submenus need to match (see below) */
}

#footermenu .menu ul {
    display: none !important;
}

#nav .level2 .menu2 ul {
    width: 141px;
}

#nav .level2 .menu li a:hover {
    text-decoration: none;
}

#nav .level2 .menu li ul {
    background: #000;
}

#nav .level2 .menu li li {
    margin: 0;
    height: auto;
    background: #000;
    font-size: 100%;
}

#nav .level2 .menu li li a {
    background: #000 url(../../../img/nav.gif) 8px -77px no-repeat;
    border: 0;
    border-top: 1px dotted #fff;
    display: block;
    white-space: nowrap;
    width: 106px;
    line-height: 25px;
    padding-left: 20px;
    text-decoration: none;
    text-transform: uppercase;
}

#nav .level2 .menu2 li li a {
    width: 101px;
    overflow: hidden;
}

#nav .level2 .menu li li a:hover {
    background-position: 8px -102px;
    color: #6fc7ff;
}

#nav .level2 .menu li:hover,
#nav .level2 .nav li.sfHover,
#nav .level2 .menu a:focus,
#nav .level2 .nav a:hover,
#nav .level2 .nav a:active {
    visibility: inherit; /* fixes IE7 'sticky bug' */
}
#nav .level2 .menu li:hover ul,
#nav .level2 .menu li.sfHover ul {
    left: -20px;
    top: 25px; /* match top ul list item height */
}
#nav .level2 .menu li:hover li ul,
#nav .level2 .menu li.sfHover li ul {
    top: -999em;
}
#nav .level2 .menu li li:hover ul,
#nav .level2 .menu li li.sfHover ul {
    left: 146px; /* match ul width */
    top: 0;
}

/** nav **/

#nav .level1 {
    background: #6d6d6d;
}

#nav .level1 .nav1 {
    float: left;
}

#nav .level1 .nav2 {
    float: right;
}

.nav, .nav * {
    z-index: 301;
}

.nav, .nav * {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav {
    line-height: 1.0;
}

.nav2 {
    background: transparent url(../../../img/nav.gif) 0 -25px no-repeat;
    padding-left: 1px;
}

.nav ul {
    position: absolute;
    top: -999em;
    width: 160px; /* left offset of submenus need to match (see below) */
}
.nav a {
    display: block;
    position: relative;
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent url(../../../img/nav.gif) right -50px no-repeat;
    line-height: 25px;
}
.nav li a.end {
    background-position: right 0px;
}

.nav a.active,
.nav a:hover,
.nav li:hover>a,
.nav li:hover>a:visited,
/* #nav .level1 .nav>li.active>a */
.nav>li.active>a {
    background-color: #383838;
    color: #6fc7ff;
}
.nav li a, .nav li a:visited  { /* visited pseudo selector so IE6 applies text colour*/
    color: #fff;
}
.nav li {
    float: left;
    position: relative;
    background: #6d6d6d;
}

.nav li ul {
    background: #383838;
}
.nav li li a {
    background: #383838 url(../../../img/nav.gif) 8px -77px no-repeat;
    border-top: 1px dotted #fff;
    display: block;
    font-size: 85%;
    white-space: nowrap;
    width: 160px;
}
.nav li li a:hover {
    background-position: 8px -102px;
    color: #6fc7ff;
}
.nav li:hover, .nav li.sfHover,
.nav a:focus, .nav a:hover, .nav a:active {
    visibility: inherit; /* fixes IE7 'sticky bug' */
}
.nav li:hover ul,
.nav li.sfHover ul {
    left: 0;
    top: 25px; /* match top ul list item height */
}
.nav li:hover li ul,
.nav li.sfHover li ul {
    top: -999em;
}
.nav li li:hover ul,
.nav li li.sfHover ul {
    left: 136px; /* match ul width */
    top: 0;
}
.nav li li:hover li ul,
.nav li li.sfHover li ul {
    top: -999em;
}
.nav li li:hover ul,
.nav li li.sfHover ul {
    left: 146px; /* match ul width */
    top: 0;
}

/** subnav **/

.subnav, .subnav * {
    z-index: 101;
}

.subnav {
    width: 100%;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    margin-bottom: 12px;
    margin-top: 10px;
}

.subnav .nav {
    font-size: 85%;
    float: none;
}

.subnav .nav li a {
    background-color: #cecece;
    color: #555;
}

.subnav .nav li a.active,
.subnav .nav li a:hover,
.subnav .nav li:hover>a,
.subnav .nav li:hover>a:visited {
    background-color: #6d6d6d;
    color: #6fc7ff;
}

/** Landingpage **/

.landingpage {
    border-top: 1px solid #fff;
    background: #373938;;
    background:-webkit-linear-gradient(top,#111 0%,#373938 10px,#373938 100%);
    background:linear-gradient(to bottom,#111 0%,#373938 10px,#373938 100%);
    color:#f5f5f5;
    padding: 20px 20px 0 20px;
}

.landingpage-main {
    width: 630px;
    float: left;
}

.landingpage h1 {
    border: 0;
    font-size: 26px;
    font-weight: normal;
    text-transform: none;
    line-height: 32px;
    padding: 0;
    margin: 0 0 10px;
}

.landingpage a {
    color: #fff;
}

.landingpage-description {
    display: none;
}

.landingpage-more {
}

.landingpage .shariff {
    margin-top: 10px;
}

.landingpage .shariff .orientation-horizontal li {
    margin-right: 5px;
}

.landingpage-related {
    width: 280px;
    float: right;
}

.landingpage-related-list {
    line-height: 17px;
    margin: 0 0 4px;
    overflow: hidden;
}

.landingpage-related-list li {
    float: left;
    list-style: none;
    margin: 0 4px 4px 0;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
}

.landingpage-related-list a {
    display: block;
    padding: 0 8px 2px 8px;
    text-decoration: none;
    border: 1px solid #aaa;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.landingpage-related-list a:hover {
    background: #6D6D6D;
}

/** channel headline **/

.channel-headline {
    background: #6D6D6D;
    margin-top: 20px;
    margin-bottom: 20px;
}
.channel-headline .hl {
    display: inline-block;
    font-size: 100%;
    color: #fff;
    margin: 0;
    font-weight: normal;
}
.channel-headline .hl a {
    display: block;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent url(../../../img/nav.gif) right -50px no-repeat;
    line-height: 25px;
    font-size: 100%;
    color: #fff;
    margin: 0;
    padding: 0 20px;
    font-weight: normal;
}
.channel-headline .hl a:hover {
    background-color: #383838;
    color: #6fc7ff;
}

/** topbox **/

.topbox {
    text-align: left;
    width: 302px;
}

#sidebar .topbox {
    margin-bottom: 20px;
}

.topbox img {
    width: 300px;
    height: 200px;
    border: 1px solid #ccc;
}

.topbox h2 {
    margin-bottom: 5px;
}

.topbox li {
    background: #e4e4e4;
    padding: 3px;
    margin: 0;
    list-style-position:inside;
    list-style-type:decimal-leading-zero;
    font-size: 95%;
}

.topbox li.even {
    background: #c8c8c8;
}

.topbox li.over,
.topbox li.over a {
    background-color:#6D6D6D;
    color:#6FC7FF;
}

.topbox a.more {
    display: block;
    text-align: right;
}

.topbox-single h3 {
    margin-bottom: 5px;
    font-weight: normal;
    text-align: center;
    margin-top: 5px;
}

.topbox-single h3 a {
    text-decoration: none;
}

/** tagbox **/

.tagbox {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
}

/** menubar **/

.menubar, .tree .menubar * { z-index: 50; }
.menubar {
    border:1px solid #CCC;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background: #F0F0EE url(../../../img/bg-menubar.gif) left top repeat-x;
    margin-bottom: 15px;
    padding: 3px;
}

.menubar-footer {
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-radius-topleft: 0;
    -webkit-border-radius-topright: 0;
}

.menubar a {
    float: left;
    opacity: .75;
    display: block;
    padding: 3px 6px 3px 24px;
    border:1px solid #CCC;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-decoration: none;
    background-color: #fff;
    margin-right: 3px;
    color: #333;
}

.menubar a:hover { opacity: 1; }
.menubar a:active {
    border-color: #999;
    padding: 4px 5px 2px 25px;
}


.menubar a.add { background: #fff url(../../../img/icons/add.png) 4px 2px no-repeat; }
.menubar a.edit { background: #fff url(../../../img/icons/edit.png) 4px 2px no-repeat; }
.menubar a.move { background: #fff url(../../../img/icons/move.png) 4px 2px no-repeat; }
.menubar a.delete { background: #fff url(../../../img/icons/delete.png) 4px 2px no-repeat; }
.menubar a.batch { background: #fff url(../../../img/icons/batch.png) 4px 2px no-repeat; }
.menubar a.adminlog { background: #fff url(../../../img/icons/batch.png) 4px 2px no-repeat; }
.menubar a.admincomment { background: #fff url(../../../img/icons/batch.png) 4px 2px no-repeat; }

/** paginator **/

.paginator {
  margin: 20px 0;
  text-align: center;
  clear: both;
}

.paginator a,
.paginator a:link,
.paginator a:visited {
    display: inline-block;
	margin: 2px;
    background: #d8d8d8;
    border: 1px solid #000;
    padding: 2px 5px;
	text-decoration: none;
}

.paginator-compressed a,
.paginator-compressed a:link,
.paginator-compressed a:visited {
    margin: 0;
    padding: 2px 4px;
}

.paginator a:hover,
.paginator a:active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.paginator .current {
	margin: 2px;
    background-color: #000 !important;
    border: 1px solid #000;
    padding: 2px 5px;
	color: #fff;
}

.paginator .disabled {
	margin: 2px;
    background-color: #fff !important;
    border: 1px solid #dfdfdf !important;
    padding: 2px 5px;
	color: #dfdfdf;
    cursor: default;
}

.paginator .disabled:hover,
.paginator .disabled:active {
    color: #dfdfdf;
}

/** admin **/
.admin-status {
    display: block;
    text-align: center;
    background: #f0f0f0;
    padding: 5px;
}
/** autocomplete **/

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

.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;
	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_odd {
	background-color: #eee;
}

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


/*** rating **/
.star-rating,
.star-rating a.over,
.star-rating .selected,
.star-rating .clicked {
background: url(../../../img/rating-star.gif) left -1000px repeat-x;
float: left;
}
#vehicle .star-rating,
#vehicle .star-rating a.over,
#vehicle .star-rating .selected,
#vehicle .star-rating .clicked {
background-image: url(../../../img/rating-star-grey.gif);
}
.star-rating {
position:relative;
height:16px;
overflow:hidden;
list-style:none;
margin:0;
padding:0;
background-position: left top;
z-index: 1;
}
.star-rating a,
.star-rating .selected,
.star-rating .clicked {
display: block;
position:absolute;
top:0;
left:0;
text-indent:-1000em;
height:16px;
line-height:16px;
outline:none;
overflow:hidden;
border: none;
}
.star-rating a.over {
background-position: left center;
z-index:2;
}
.star-rating .selected {
z-index:3;
background-position: left bottom;
}
.star-rating .clicked {
z-index:4;
background-position: left center;
}
/* ======= /STAR-RATER ======== */

/* News */

#news-gallery .news {
    width: 302px;
    min-height: 130px;
    padding: 10px;
    float: left;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

#news-gallery .news .img {
    text-align: center;
    max-width: 100%;
}

#news-gallery .news .img img {
    border: 1px solid #ccc;
    max-width: 100%;
    height: auto;
}

#news-gallery .news .img a:hover img {
    border: 1px solid #666;
}

#news-gallery .news .info {
    padding-top: 5px;
}

#news-gallery .news .info h2 {
    margin-bottom: 5px;
    font-size: 15px;
}

#news-gallery .news .info p {
    margin: 0;
}

#news-gallery .news .info .date {
    display: block;
    font-size: 9px;
    color: #666;
    font-style: normal;
    margin-bottom: 5px;
}

#news-gallery .news .info a {
    text-decoration: none;
    display: block;
}

#news .date {
    display: block;
    font-size: 11px;
    color: #666;
    font-style: normal;
    margin-bottom: 5px;
}

#news h2 {
    font-size: 24px;
}

#news .teaser {
    font-size: 13px;
}

#news .image {
    max-width: 100%;
}

#news .image img {
    max-width: 100%;
    height: auto;
}

/* Imagemanager */

.image-gallery-btn {
    display: inline-block;
    margin: 10px 0;
    border: 1px solid #666;
    background: #666 url(../../../img/bg-button.gif) 5px 5px no-repeat;
    *background-position: 5px 6px;
    padding: 3px 7px 3px 14px;
    color: #fff;
    text-transform: uppercase;
    font: 11px Verdana,Arial,Helvetica,FreeSans,sans-serif;
    text-decoration: none;
}

.image-gallery-btn:hover {
    color: #6FC7FF;
    background-position: 5px -15px;
    *background-position: 5px -14px;
}

.image-gallery-gallery {
    padding: 5px;
    overflow: auto;
    background: #f5f5f5;
    border: 1px solid #666;
}

.image-gallery-gallery-item {
    display: block;
    padding: 5px;
}

.image-gallery-gallery-item table {
    width: 100%;
}

.image-gallery-gallery-item td {
    vertical-align: top;
}

.image-gallery-gallery-item img {
    display: block;
    margin-right: 10px;
    border: 1px solid #666;
    width: 150px;
}

.image-gallery-gallery-item textarea {
    display: block;
    width: 100%;
    height: 50px !important;
    margin-bottom: 10px;
}

/** Photos carousel */

.teaser-carousel {
    width: 630px;
    height: 420px;
    padding: 10px;
    margin-bottom: 20px;
    background: #000;
    position: relative;
}
.teaser-carousel ul {
    width: 630px;
    height: 420px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.teaser-carousel li {
    width: 630px;
    height: 420px;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.teaser-carousel .img {
    width: 630px;
    height: 420px;
    overflow: hidden;
}

.teaser-carousel .img img {
    max-width: 100%;
    height: auto;
}

.teaser-carousel .info {
    width: 610px;
    padding: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #000;
    background: rgba(0, 0, 0, .60);
    color: #fff;
    font-size: 12px;
}

.teaser-carousel .info a {
    color: #fff;
    text-decoration: none;
}

.teaser-carousel .info a:hover {
    text-decoration: underline;
}

.teaser-carousel .info h3 {
    font-size: 20px;
}

.teaser-carousel .info .desc-nowrap {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.teaser-carousel .prev,
.teaser-carousel .next {
    width: 42px;
    height: 60px;
    position: absolute;
    top: 150px;
    display: none;
    z-index: 100;
    opacity: .75;
    filter: alpha(opacity=75);
}

.teaser-carousel .prev:hover,
.teaser-carousel .next:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

.teaser-carousel:hover .prev,
.teaser-carousel:hover .next {
    display: block;
}

.teaser-carousel .prev {
    background: transparent url("../../../img/bg-prev_large.png") 50% 50% no-repeat;
    left: 15px;
}

.teaser-carousel .next {
    background: transparent url("../../../img/bg-next_large.png") 50% 50% no-repeat;
    right: 15px;
}

/** Shariff **/

.shariff .orientation-horizontal li {
    margin-top: 10px;
    margin-left: 0;
}
