/**
 * PW-Studio Template
 * @category   PW-Studio
 * @author     Alexander P. Stanogin <deeprus@gmail.com>
 * @copyright  Copyright (c) 2012, Pro-WEB Studio. Based on J!Blank Template by Joomla-book.ru
 * @license    GNU GPL
 * @link       http://pw-studio.ru
 */

/*
Безопасные шрифтовые стеки:

font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
font-family: Tahoma, "Geneva CY", sans-serif;
font-family: Verdana, "Geneva CY", "DejaVu Sans", sans-serif;

font-family: "Times New Roman", "Times CY", "Nimbus Roman No9 L", serif;

font-family: "Lucida Console", Monaco, monospace;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
*/

a, a:link, a:hover, a:active, a:visited {color: #ff7704;}

/*base size*/
.content, .module {font: normal normal 12px/20px Verdana, "Geneva CY", sans-serif; color: #454545;}
.content h1{clear: left; font: normal normal 18px/22px Verdana, "Geneva CY", sans-serif; color: #222;}
.content h2{clear: left; font: normal normal 16px/18px Verdana, "Geneva CY", sans-serif; color: #222; margin: 1em 0 .5em;}
.content h3{clear: left; font: normal normal 15px/16px Verdana, "Geneva CY", sans-serif; color: #333; margin: 1em 0 .7em;}
.content h4{clear: left; font: normal bold   14px/16px Verdana, "Geneva CY", "DejaVu Sans", sans-serif; color: #333; margin: 1em 0 .7em;}
.content h5{clear: left; font: normal bold   13px/14px Verdana, "Geneva CY", "DejaVu Sans", sans-serif; color: #333; margin: 1em 0 1em;}
.content h6{clear: left; font: normal bold   12px/14px Verdana, "Geneva CY", "DejaVu Sans", sans-serif; color: #333; margin: 1em 0 1em; font-style: italic;}

/*hr*/
.content hr{display:block;background:#aaa;width:100%;height:1px;border:none;}

/*list*/
.content ul, .content ol{padding-left:2em;margin-bottom:1em; overflow: hidden;}
.content ol ol{margin-left:2.5em;}
.content ul > li{list-style:disc outside none;}
.content ol > li{list-style:decimal outside none;}
.content dt{font-weight:bold;}

/*dt,dl,dd*/
.content dl dt{margin-bottom:0.25em;font-weight:bold;}
.content dl dd{margin-bottom:0.25em;}

.article-info { margin: 0 0 10px 0; }

.article-info-term { display: none;}
.content dl dd.create, .content dl dd.modified, .content dl dd.published,
.content dl dd.parent-category-name, .content dl dd.category-name, .content dl dd.createdby {
  display: inline-block;
  font: normal 12px/12px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
	color: #454545;
  margin: 2px 20px 2px 0;
  padding: 0;
}

.content dl dd.create {}
.content dl dd.modified {}
.content dl dd.published {}
.content dl dd.parent-category-name {}
.content dl dd.category-name {}
.content dl dd.createdby {}


/*table )*/
.content table {width:100%;}
.content table caption {color:#454545;font-style: italic;}
.content table th {text-align: right;}
.content table thead th {text-align: center;}
.content table th, .content table td {line-height:1.5em;padding: 0.75em; background: none;}
.content table thead th, .content table thead td {padding-top:0.75em}
.content table tfoot th, .content table tfoot td {padding-bottom:0.75em; font-style: italic;}
.content table tr:nth-child(even) td{}
/*.content table tr:hover {background: #e8f5e0 !important;}*/
/*.content table tbody tr:nth-child(odd) th, .content table tbody tr:nth-child(odd) td {background:rgba(0, 0, 0, 0.05); }*/

/*margin & padding*/
.content hr, .content p, .content ul, .content ol, .content dl, .content pre, .content address, .content form, .content table{margin-bottom:0.5em;}
.content p+p{margin-bottom:1em;}
.content p{text-indent:0;}
.content caption{padding:0.5em 0;}

/*link*/
.content a:link{text-decoration:underline;color:#222;}
.content a:visited{text-decoration:underline;color:#666;}
.content a:hover{text-decoration:none;color:#000;}
.content a:active, .content a:focus{text-decoration:underline;color:#000;}
.content a{text-decoration:underline;color:#222;}
.content a:hover{text-decoration:none;}
/*.content a[target="_blank"], .content a.external{background:url("../images/external-link.gif")no-repeat 100% 50%;padding-right:13px;}*/

.content h1 a, .content h1 a:link, .content h1 a:visited {text-decoration:none;}
.content h1 a:hover, .content h1 a:active {text-decoration:underline;}

/*code, pre*/
.content pre {margin: 0.5em 0;padding: 0.5em 0 0.5em 1em;border: 1px dotted #aab4be;border-left: 1.8em solid #b4b4b4;background: #fafafa;font-size: 90%;color: #2E8B57;white-space: pre-wrap;}
.content code {word-spacing: -2px;color: #555;}

/*image*/
/*.content img, .content img.alignImageLeft, .content img.alignImageRight{border:1px solid #ccc;}*/
.content a:hover img {}
.content img[align="left"], .content img.alignImageLeft{float:left;margin:0 1em 0.5em 0;}
.content img[align="right"], .content img.alignImageRight{float:right;margin:0 0 0.5em 1em;}

/*quote*/
blockquote {
  background: #eee;
  color: #333;

  -webkit-border-radius: 10px;
   -khtml-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;

	padding: 15px 45px;
	margin: 10px 0;
}
blockquote:before {
}
blockquote:after {
}
blockquote > p {
  font-style: italic;
}
blockquote > p:last-child {
  margin-bottom: 0;
}
blockquote > p:first-child:before {
	content: open-quote;
	display: block;
	width: 27px;
	height: 30px;
	margin: 0 10px -30px -37px;
	background: transparent url(n5erkgdv.png) 0 0 no-repeat;
}
blockquote > p:last-child:after {
	content: close-quote;
	display: block;
	width: 27px;
	height: 30px;
  float: right;
	margin: -20px -37px 0 10px;
	background: transparent url(n5erkgdv.png) -27px 0 no-repeat;

}

q:before {content: "\00AB";}
q:after {content: "\00BB";}

/*form & control*/
/*.content legend, .content fieldset, .content input,.content textarea,.content select, .content a.button, .content button,
.module legend, .module fieldset, .module input,.module textarea,.module select, .module a.button, .module button {border-radius: 3px;}*/
.content fieldset{padding:1em;margin:1.8em 0;}
.content legend{padding:2px 0.2em; margin: 0.5em 0;white-space:normal;}
.content legend+*{margin-top:1em;}
.content input[type="checkbox"], .content input[type="radio"], .content option, .content select{margin:0 0.45em;}
.content form.form-mode-1 label { display: block; }
.content form .row{margin-bottom: 0.75em;}
.content form .row-input-colonm input[type="radio"], .content form .row-input-colonm input[type="checkbox"] {float:left;}
.content form .row-input-colonm label {display: block;margin-bottom: 0.5em;}

/*form button*/
.content input[type="text"], .content input[type="password"], .content input[type="email"], .content select, .content textarea,
.module input[type="text"], .module input[type="password"], .module input[type="email"], .module select, .module textarea {
  padding:2px 5px;
  border:1px solid #c5c5c5;
  min-width: 400px;
	background-color: #fff;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
     -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
  color: #393939;
  font: normal 12px/12px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
}
.content input.rsform-captcha-box {min-width: 100px;}
.content img + input.rsform-captcha-box {margin: 0 20px;}
.content input[type="text"]:focus, .content input[type="password"]:focus, .content select:focus, .content textarea:focus,
.module input[type="text"]:focus, .module input[type="password"]:focus, .module select:focus, .module textarea:focus {
  outline: none;
  color: #000;
  border-color: #444;
}
.content button, .content input[type="button"], .content input[type="reset"], .content input[type="submit"], .content .button, .content button[type="submit"],
.module button, .module input[type="button"], .module input[type="reset"], .module input[type="submit"], .module .button, input.rsform-submit-button {
  display: inline-block;
  margin-left: 2px;
  min-width:110px;
  padding:5px 10px 4px;
  color:#454545;
  background:#e6e6e6;
  border: 0 none;
  font: normal 12px/12px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  text-decoration: none!important;
}

.content input[type="submit"]:hover,
.content button[type="submit"]:hover,
.content button[type="button"]:hover,
input.rsform-submit-button:hover {
  background: #ddd;
  color: #222;
}

td.vmiddle { vertical-align: middle !important; }

.content button:hover, .content input[type="button"]:hover, .content input[type="reset"]:hover, .content input[type="submit"]:hover,
.content .button:hover, .content .button:hover,
.module button:hover, .module input[type="button"]:hover, .module input[type="reset"]:hover, .module input[type="submit"]:hover,
.module .button:hover, .module .button:hover {
  color:#222;
}
.content button:active, .content input[type="button"]:active, .content input[type="reset"]:active,
.content input[type="submit"]:active, .content .button:active, .content .button:active,
.module button:active, .module input[type="button"]:active, .module input[type="reset"]:active,
.module input[type="submit"]:active, .module .button:active, .module .button:active {
  
}

.content textarea {
  min-height:180px;
  min-width: 400px;
  font: normal 12px/12px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  padding:2px 5px;
  border:1px solid #c5c5c5;
}

/*form validate error*/
.content input:invalid,.content textarea:invalid,.content input.error,.content textarea.error,.content legend.error,
.content select.error,
.module input:invalid,.module textarea:invalid,.module input.error,.module textarea.error,.module legend.error,
.module select.error {
  background-color: #fff!important;
  border:1px solid #c8312b!important;
  color:#000!important;
}
.content input:invalid:focus,.content textarea:invalid:focus,.content input.error:focus,.content textarea.error:focus,
.content legend.error:focus,.content select.error:focus,
.module input:invalid:focus,.module textarea:invalid:focus,.module input.error:focus,.module textarea.error:focus,
.module legend.error:focus,.module select.error:focus {
  background-color: #fff!important;
}


/* Блог и статья
-----------------------------------------------------------------------------*/
.blog {
  margin: 0;
}

.item-page {
  margin: 0;
 /* padding: 10px;*/
}


.blog .item, .blog .leading-item {
  margin: 0;
  padding: 10px 0 20px;
  overflow: hidden;
  clear: both;
}

.blog.ins .leading-item {
  padding-bottom: 0;
}

.content .blog .leading-item header {
  margin: 0;
  overflow: hidden;
}

.content .blog .leading-item header .publish-date {
  float: left;
  height: 16px;
  min-width: 95px;
  text-align: center;
  margin: 0 15px 0 0;
  padding: 0 5px;

  font: bold 12px/16px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  color: #454545;
  letter-spacing: 1px;
}

.content .blog .leading-item h2 {
  clear: none;
  margin: 0;
  border:none;
  padding:0 0 0 145px;
  font-size:20px;
}

.content .item-page h2 a {
  font: normal 20px/1.2 Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  letter-spacing: 1px;
  text-decoration: underline;
  color:#333;
}

.content .blog .leading-item h2 {
  font: normal 12px/1.2 Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  color:#454545;
  padding: 0;
}

.content .blog .leading-item h2 a {
  display: block;
  padding:0 0 10px 11px;
  font: normal 12px/1.2 Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  text-decoration: underline;
  color:#454545;
  background:url(_6s5xqz0.gif) 0 4px no-repeat;
}

.content .blog .leading-item h2 a:visited {
  color: #555;
}

.content .blog .leading-item h2 a:hover,
.content .item-page h2 a:hover {
  text-decoration: underline;
  color: #111;
}

.content .blog .leading-item h2 a:before {
  display: block;
  float: left;
  content: ".";
  text-indent: -9999em;
  width: 7px;
  height: 7px;
  margin: 6px 0 0 -13px;
  background: url(8df5x6kj.html) -14px 0 no-repeat;
}

.content .blog .leading-item h2 a:before:hover {
  background-position: -7px -7px;
}

.content .blog .leading-item h2 a:before:visited {
  background-position: 0 -14px;
}

.content .blog .leading-item .introtext {
  margin: 0;
  line-height: 1.3;
}

.blog .img-intro-left,
.item-page .img-fulltext-left {
  overflow: hidden;
}
.blog .img-intro-left {
  float: left;
}

.blog .img-intro-left a,
.item-page .img-fulltext-left a {
  display: block;
}

.blog .img-intro-left img,
.item-page .img-fulltext-left img {
  padding: 0;
  margin: 10px 37px 0 0;
}

.blog .img-intro-left img {
  max-width: 112px;
}

.blog .items-leading > div {
  padding: 0 0 10px 0;
  margin:  0 0 10px 0;
  border-bottom: 1px solid #1f1f1f;
}

.blog .items-leading > div:last-child {
  padding: 0;
  margin:  0;
  border-bottom: 0;
}

p.img_caption {display: none;}

.item-page .img-fulltext-left img {
  margin: 0 15px 0 0;
}

.blog p {
  margin: 0 0 10px 0;
}

.item-page p {
  margin: 0 0 15px 0;
}

.item-page table {
  margin: 10px 0;
  padding: 0;
  font: normal normal 12px/14px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  vertical-align: middle;
  text-align: left;
}

.item-page table tr {
  margin: 0;
  padding: 0;
}
.item-page table tr.odd {
  background-color: #eee;
}

.item-page table th {
  font-weight: bold;
  color: #222;
  text-align: center;
  padding: 5px 10px;
  border: 1px solid #666;
  background-color: #eee;
}

.item-page table td {
  background-color: #fff;
  padding: 5px 10px;
  border: 1px solid #666;
  color: #444;
}

form table {
  margin: 0 !important;
}

form table tr.odd {
  background-color: transparent !important;
}

form table th,
form table td {
  border: 0 none !important;
  background-color: transparent !important;
}



/* Actions icons & details
-----------------------------------------------------------------------------*/

ul.actions {
  float: right;
  margin: 0 0 5px 20px;
}

ul.actions li {
  float: right;
  margin: 0 0 0 10px;
  list-style: none;
}

ul.actions li a {
  text-decoration: none;
}
ul.actions li a:hover {
  text-decoration: none;
}

ul.actions li a img {
  border: 0;
}

span.content_rating {
  display: block;
  padding: 0 100px 0 0;
}

span.content_rating img {
  border: 0;
}



/* Readmore links & paginations
-----------------------------------------------------------------------------*/

.content p.readmore {
  margin: 10px 0 15px;
  text-align: right;
  color: #444;
  font: bold 12px/12px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  
}

.content p.readmore a,
.content p.readmore a:link,
.content p.readmore a:active,
.content p.readmore a:visited {
  color: #444;
  font: normal 12px/12px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  text-decoration: underline;
}

.content p.readmore a:hover {
  text-decoration: none;
}

div.pagination {
  margin: 20px 0 0;
}

div.pagination .counter {
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
}

ul.pagination {
  padding: 0;
  text-align: center;
  list-style-type: none;
}

ul.pagination li {
  display: inline-block;
  margin: 0 7px;
  padding: 0;
}

ul.pagination li span {
  font: normal bold 14px/14px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  color: #666;
}

ul.pagination li a {
  font: normal normal 14px/14px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
  color: #222 !important;
  text-decoration: none !important;
}

ul.pagination li a:hover {
  text-decoration: underline !important;
}

ul.pagination li.pagination-start a, ul.pagination li.pagination-start span {
  display: block; width: 7px; height: 11px; background: url(oe9088w1.png) 0 top no-repeat; margin: 0; padding: 0; text-indent: -9999em;
}
ul.pagination li.pagination-prev a, ul.pagination li.pagination-prev span {
  display: block; width: 6px; height: 11px; background: url(oe9088w1.png) -7px top no-repeat; margin: 0; padding: 0; text-indent: -9999em;
}
ul.pagination li.pagination-next a, ul.pagination li.pagination-next span {
  display: block; width: 6px; height: 11px; background: url(oe9088w1.png) -13px top no-repeat; margin: 0; padding: 0; text-indent: -9999em;
}
ul.pagination li.pagination-end a, ul.pagination li.pagination-end span {
  display: block; width: 7px; height: 11px; background: url(oe9088w1.png) -19px top no-repeat; margin: 0; padding: 0; text-indent: -9999em;
}
ul.pagination li.pagination-start span, ul.pagination li.pagination-prev span,
ul.pagination li.pagination-next span, ul.pagination li.pagination-end span {
  /* background-image: url(../images/pag-dis.png); */
  display: none;
}


/* Articles grid mode styles
-----------------------------------------------------------------------------*/

.blog .items-leading, .blog .items-leading > div {
  clear: both;
}

.blog .items-row {
  margin: 0 0 30px;
  padding: 0;
  width: 100%;
  clear: both;
  overflow: hidden;
}

.blog .items-row .item {
  float: left;
  clear: none;
}

.blog .cols-2 .item {
  width: 46%;
  float: left;
  margin: 0;
}

.blog .cols-3 .item {
  width: 220px;
  margin: 0 30px 0 0;
  float: left;
}

.blog .cols-3 .column-3 {
  margin: 0;
}

.blog .items-row .item .img-intro-left img {
  border: 0;
  margin: 0 10px 6px 0;
  padding: 0;
}

.blog .cols-2 .item .img-intro-left img {
  max-width: 150px;
}

.blog .cols-3 .item .img-intro-left img {
  max-width: 133px;
}


.blog .cols-2 .column-2 {
  margin: 0 0 0 8%;
}

.blog .items-row h2 {
  margin: 0 0 15px 0;
}

.blog .items-row p {
  margin: 0 0 10px 0;
}