*{margin:0;padding:0}iframe,a img,fieldset,form,table{border:0}h6,h5,h4,h3,h2,h1,caption,th,td{font-size:100%;font-weight:normal}dd,dt,li,dl,ol,ul{list-style:none}legend{color:#000}button,select,textarea,input{font:100% serif}table{border-collapse:collapse;border-spacing:0}table,tr,th,td,thead,tbody{font-size:1em}caption,th,td{text-align:left}
html {font-size: 100.01%; height: 100.15%}


body {font: 62.5% arial, sans-serif; color: #000000; width: 100%; background-color: #FFFFFF}
h2, h3, h4, p {font-size: 1.2em}
h2 a, h3 a, h4 a {text-decoration: none}
h1 {font-size: 3.6em; font-weight: bold; padding-bottom: .5em; letter-spacing: -.05em; color: #247fc3; line-height: 1em}
p {margin-bottom: 1em}
a {color: #5479ad}

/* Hides from IE-mac */
.g-cfx {display: inline-block; clear: both}
.g-cfx {display: block}
/* End hide from IE-mac */
.g-cfx:after {content: "."; display: block; height: 0; clear: both; visibility: hidden}

/* сетка */
.l-cont {min-width: 840px; max-width: 1130px; margin: 0 auto; padding: 25px 75px}
.l-block {margin: 0 0 15px; padding: 15px 25px; border: 1px solid #f2f1f1}
.l-block p {margin-bottom: 0}
.l-block {border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px}
.l-left {float: left}
.l-right {float: right}
.l-block-low {background: transparent url(../images/grad-low.jpg) repeat-x 0 100%}
.l-block-high {background: transparent url(../images/grad-high.jpg) repeat-x 0 100%}
.l-block-low a {text-decoration: none}

/* список картинок */
.i-list {margin: 0 -1.8% 0; color: #0563ab}
.i-list .i-item {float: left; width: 25%; padding-bottom: 15px; line-height: 2em}
.i-list .i-item .i-item-title a {font-weight: bold; text-decoration: underline}
.i-list .i-item .i-item-dl {font-size: 1.8em; margin-top: .5em}
.i-list .i-item .i-item-dl a {color: #60a517}
.i-list .i-item .l-block {width: 199px; margin: 0 auto; background-color: #e6eff6; border-color: #e6eff6}
.i-list-new .i-item .l-block {background-color: #ebf7de; border-color: #ebf7de}
.i-list .i-item img {display: block; border: 7px solid #84b4d8; margin: 1em 0}

/* блок с формой комментариев */
	/* колонки */
.l-comment-form {margin: 0}
.l-comment-form .l-block {height: 360px}
.l-comment-form.i-list .i-item {width: 251px !important; position: relative}
.l-comment-form .l-wrap {float: right; width: 100%; margin-left: -251px}
.l-comment-form .l-right {float: none; margin-left: 251px; color: #000000}
.l-comment-form .l-right .l-block {margin-left: 25px; background-color: #ebf7de; border-color: #ebf7de}
.l-comment-form .l-right .l-block .l-left {width: 50%}
.l-comment-form .l-right .l-block .l-wrap {margin-left: -50%}
.l-comment-form .l-right .l-block .l-right {margin-left: 50%}
.l-comment-form .l-right .l-block .l-left p {border: 7px solid #84b4d8; margin: 0; width: 100%; border: 7px solid #84b4d8; overflow: hidden}
.l-comment-form .l-right .l-block .l-left img {display: block; width: 468px; height: 335px}
	/* форма */

.l-comment-form .l-right .l-block .l-right .f-field,
.l-comment-form .l-right .l-block .l-right .f-field-submit,
.l-comment-form .l-right .l-block .l-right h3 {margin-left: 35px; font-size: 1.2em; font-weight: bold}
.l-comment-form .l-right .l-block .l-right h3 {font-size: 1.8em; margin-bottom: 20px}
.l-comment-form .l-right .l-block .l-right .f-field {margin-bottom: 10px}
.l-comment-form .l-right .l-block .l-right .btn-add {margin-top: 20px}
.l-comment-form .l-right .l-block .l-right label {display: block; margin-bottom: 5px}
.l-comment-form .l-right .l-block .l-right textarea,
.l-comment-form .l-right .l-block .l-right input {width: 100%; font: 14px arial; border: 0; background-color: #FFFFFF}
.l-comment-form .l-right .l-block .l-right input {padding: 3px 0}
.l-comment-form .l-right .l-block .l-right textarea {height: 120px}

/* марки авто */
.i-marks {font-size: 1em; border: 3px solid #fbfb85; background-color: #fdfdc8; padding: 12px 22px}
.i-marks a {font-size: 1.2em; font-weight: bold; display: block; width: 10%; white-space: nowrap; float: left; margin: .35em 0}
.i-marks table {width: 100%}
.i-marks table a {width: auto; float: none; margin: .7em 0}

/* путь */
.l-path a {margin: 0 .5em; font-weight: bold; text-decoration: underline}
.l-path a.g-first {margin-left: 0}

/* тэги */
.l-tags {font-weight: bold; line-height: 1.5em}
.l-tags a {margin-right: 1em; }

/* фильтр (расширения) / пейджер */
.l-pager a, .l-letters a, .l-filter a {margin-right: .75em; font-weight: bold}
.l-filter a {margin-left: .5em; margin-right: 0}

/* комменты */
.l-comments {margin-bottom: 15px}
.l-comments .l-block {background-color: #e0f2ff; border-color: #88b6d9}
.l-comments .l-comment {margin: .3em 0}

/* кнопка */
.btn-add {display: block; font: 30px arial; font-weight: bold; line-height: 1em; text-align: center}
.btn-add a, .btn-add a span {display: block; color: #74b82b; text-decoration: none; background: transparent url(../images/btn.gif) no-repeat}
.btn-add a {background-position: 100% -43px}
.btn-add a span {background-position: 0 0; padding: 7px 50px 6px}
	/* в форме */
form .btn-add {font-size: 24px !important}
form .btn-add a, form .btn-add a span {background-image: url(../images/btnsmall.gif)}
form .btn-add a {background-position: 100% -37px}

/* типографика */
h3.l-block {font-size: 1.8em; line-height: 1em; padding-top: 10px; padding-bottom: 10px}
.l-footer p {width: 80%}
.g-under {text-decoration: underline !important}
.g-upper {text-transform: uppercase}
.g-bold {font-weight: bold}
.g-mb4 {margin-bottom: 4em}
.g-haslayout {position: relative; zoom: 1}


/*   */

h1 a {text-decoration:none; color:inherit}

.l-head {font-size:18pt}
.l-tags a {display:inline-block}

.l-pager a.active {color:white; background:#5479ad; padding:0 0.2em}
.l-pager a.disabled {color:#999}

#facebox .content {font-size:150% !important;}
#facebox .content h3 {margin-bottom:0.5em}
#facebox .content table {width:100%; margin-top:1em}
#facebox .content table td {padding:0.5em 0.5em 0.5em 0;}
#facebox .content input[type=text],
#facebox .content textarea,
#facebox .content select,
#facebox .content input[type=password]  {padding:0.2em; font-family:arial, sans-serif}
#facebox .content input[type=submit] {padding:0.2em 2em; font-weight:bold; font-family:arial, sans-serif}

.ok {padding:0 0 1em 20px; margin:1em 0 0 0; background:url(/public/images/tick_16.png) no-repeat left top; font-weight:bold; color:#7da12f; font-style: italic;}
.error {padding:0 0 1em 20px; margin:1em 0 0 0; background:url(/public/images/block_16.png) no-repeat left top; font-weight:bold; color:#c34608; font-style: italic;}
.l-comment-form .l-right .l-block .l-right div {margin-left:35px; font-size:150% !important;}

#addUploadSection {
    cursor: pointer;
    border-bottom:1px dashed black;
}

#addUploadSection:hover {
    border-bottom:none;
}

div[class^=uploadSection] {
  margin-bottom:1em;
  overflow: hidden;
}

div[class^=uploadSection] img { padding-right:1em}
div[class^=uploadSection] input[type=text],
div[class^=uploadSection] select {width:240px}