/***
    Custom styles for JSN Time Free Joomla 3 template by SovetnikProf
***/

*::-moz-selection { color: #fff; text-shadow: none; background: none repeat scroll 0% 0% #5b3593; }
*::selection { color: #fff; text-shadow: none; background: none repeat scroll 0% 0% #5b3593; }

@font-face {
  font-family: "LobsterRegular";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/lobsterRegular.eot?#iefix") format("embedded-opentype"),
       url("fonts/lobsterRegular.woff") format("woff"),
       url("fonts/lobsterRegular.ttf") format("truetype");
}
div#maximenuck ul.maximenuck li.maximenuck.level1 > a,
div#maximenuck ul.maximenuck li.maximenuck.level1 > span.separator { text-shadow: none; color: #fff;}

.fancy_font { font-family: "LobsterRegular"; }
.header-title {
  font-size: 25pt;
  color: #734fa8;
  text-shadow: 1.5px 1.5px 1.5px #bfa8e0;
}
.header-title p, .header-contacts p { margin: 0; }
.header-contacts {
  font-size: 13px;
  color: #734fa8;
  margin: -10px 4px 0 35px;
}
#jsn-topheader a { color: #734fa8; }
#jsn-topheader a:hover { text-decoration: underline; }
#SchuWeb_Sitemap > div.muted { display: none; }
#jsn-pos-banner div.jsn-article, #jsn-pos-user-bottom div.jsn-article, #jsn-pos-user-bottom ul.latestnews {
  background: #fff;
  padding: 15px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
  margin: 0 0 5px;
}
.readon, #jsn-mainbody .readmore .btn {
  color: #333;
  cursor: pointer;
  padding: 8px 15px;
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 14px;
  text-shadow: unset;
  background: unset;
  box-shadow: unset;
}
.readmore .btn span { display: none; }
#jsn-pos-banner { text-align: unset; }
#jsn-pos-banner .jsn-mod-newsflash .contentheading, #jsn-pos-user-bottom .jsn-mod-newsflash .contentheading { font-size: 1.4em; }
#jsn-pos-banner .jsn-mod-newsflash .contentheading a,
#jsn-pos-user-bottom .jsn-mod-newsflash .contentheading a,
#jsn-mainbody .blog .page-header h2 a { color: #333; }
#jsn-pos-banner .jsn-mod-newsflash .contentheading a:hover,
#jsn-pos-user-bottom .jsn-mod-newsflash .contentheading a:hover,
#jsn-mainbody .blog .page-header h2 a:hover { color: #5b3593; }
#vtnivo88 #vt_nivo_slider88 { overflow: hidden; }
.readon:hover, #jsn-mainbody .readmore .btn:hover { color: #5b3593; background: #f7f7f7; }
div#maximenuck ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > a, div#maximenuck ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h2 a, div#maximenuck ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h3 a, div#maximenuck ul.maximenuck li.maximenuck ul.maximenuck2 li.active > a, div#maximenuck ul.maximenuck2 li:hover > a, div#maximenuck ul.maximenuck2 li:hover > h2 a, div#maximenuck ul.maximenuck2 li:hover > h3 a, div#maximenuck ul.maximenuck2 li.active > a { color: #5b3593; }
div#maximenuck ul.maximenuck li.maximenuck ul.maximenuck2 li a, div#maximenuck ul.maximenuck2 li a { color: #333; }
.blog [itemprop="blogPost"] .page-header {
  padding-bottom: 0;
  margin-bottom: -10px;
}
.archive .article-info dd, .article-info dd { margin: 0; }
.jsn-article-toolbar {
    margin: 0;
    padding: 0;
}
.jsn-article-toolbar > .article-info { margin-top: -25px; }
ul.latestnews { list-style-type: none; }
ul.latestnews > li {
  margin: 0;
  border-top: 1px dotted #c8c8c8;
  padding: 5px 0;
}
ul.latestnews > li:first-child { border-top: none; padding-top: 0; }
ul.latestnews > li:last-child { padding-bottom: 0; }

/* ---- general template fixes ---- */


/* huge & ugly line-height, small font */
body {
  line-height: 1.5;
  font-size: 14px;
  background: url(../images/bg-violet.png) #f4f0ff repeat !important;
}

/* links color */
a { color: #333; }
a:hover { color: #5b3593; }
#jsn-mainbody a { color: #333; }
#jsn-mainbody a:hover { color: #5b3593; }

/* strange space between content and footer */
#jsn-content {
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 20px;
}

/* removing page title margin */
.page-header { margin-top: -2px; }
.page-header h1, #jsn-mainbody .content-category h2 {
  margin-top: 4px;
  margin-bottom: -3px;
  line-height: 150%;
}
#jsn-mainbody .content-category h2 {
  font-size: 1.6em;
  margin-top: 2px;
  padding-bottom: 5px;
}

/* strange background */
#jsn-content-top { background: transparent; }

/* margins and page bg */
#jsn-master, #jsn-body, html {
  margin: 0;
  padding: 0;
  background: transparent;
}

/* moving body from top and bottom */
#jsn-master { padding: 10px 0; }

/* removing border from content part */
#jsn-body { border: none; }

/* removing margins from header part */
#header { margin: 0; }

/* ugly white bg at logo position */
#jsn-logo { background: transparent; }

/* fix width causing by !important in template */
#jsn-content,
#header-inner,
#jsn-pos-promo-full,
#jsn-header-inner,
#jsn-content-bottom,
#jsn-pos-content-top {
  width: 1200px !important;
  background: #f7f7f7;
}
#jsn-header { box-shadow: 0 -1px 5px 1px #666; }
#jsn-pos-content-top { box-shadow: 0 1px 5px #666; }
#jsn-content { box-shadow: 0 5px 5px 1px #666; z-index: 87; }
#jsn-content-bottom { box-shadow: 0 6px 5px 1px #666; z-index: 90; }

/* fix content width */
#jsn-maincontent.order2 { width: 700px; margin-left: 250px; }
.row-fluid [class*="span"].offset-9 { margin-left: -950px; }

/* adding space between left & right pos modules */
#jsn-pos-left > div.jsn-modulecontainer:not(:first-child),
#jsn-pos-right > div.jsn-modulecontainer:not(:first-child) {
  margin-top: 20px;
}

/* adding padding to table cells */
table td { padding: 0px 5px; }


/* ---- customizing things ---- */


/* custom header */
#jsn-topheader-inner { padding-top: 15px; }
#jsn-topheader {
  font-size: 14px;
  margin-bottom: 0;
  background: rgba(255,255,255,0.75);
  background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 62%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255,255,255,0.75)), color-stop(62%, rgba(255,255,255,0.75)), color-stop(76%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,0)));
  background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 62%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%);
  background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 62%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%);
  background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 62%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%);
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 62%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );
}
#header-inner {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-top: 0;
  background: transparent;
}
#jsn-header {
  background: #f7f7f7;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding-top: 20px;
}

/* custom bottom */
div#jsn-pos-content-bottom { padding: 10px 0; }
#jsn-content-bottom {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin: 0 auto;
  background: #fff;
  border-top: 1px solid #ccc;
}

/* custom article */
#jsn-mainbody .item-page div[itemprop="articleBody"],
#jsn-mainbody .blog-featured div[itemprop="blogPost"],
#jsn-mainbody .items-leading div[itemprop="blogPost"],
#jsn-pos-mainbody-bottom div.jsn-modulecontent,
div.contact-miscinfo dd {
  background: #fff;
  padding: 15px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
  overflow: hidden;
}
#jsn-mainbody .blog-featured div[itemprop="blogPost"]:not(:last-child),
#jsn-mainbody .items-leading div[itemprop="blogPost"]:not(:last-child) {
  margin-bottom: 15px;
}

/* custom contact form */
div.contact-miscinfo .dl-horizontal dt { display: none; }
div.contact-miscinfo .dl-horizontal dd {
  /*width: 650px;*/
  margin-left: 0px;
}
#contact-form { background: #fff; }
#contact-form .input-group textarea { resize: vertical; }
.contact .page-header h2 {
  margin: 11px 0 -11px 0;
  font-size: 20px;
  line-height: 1.3;
}
.input-group label,
.input-group input,
.input-group button,
.input-group select,
.input-group textarea,
.input-group .btn,
.input-group .uneditable-input {
  font-size: 14px;
}
.input-group label {
  display: inline;
  margin-bottom: 0;
}
.input-group label:first-child {
  display: block;
  width: 150px;
  float: left;
}
#jform_spacer-lbl { width: 100%; }
.input-group {
  margin: 20px 0;
  overflow: hidden;
}
.input-group:first-of-type { margin-top: 0; }
.input-group input:first-child:not(.del) {
  display: inline-block;
  margin-top: -3px;
}
.input-group textarea,
.input-group input[type="text"],
.input-group input[type="email"],
#jform_captcha {
  width: calc(100% - 150px);
  display: block;
  box-sizing: border-box;
}
#jform_captcha { float: right; }
.input-group input[type="text"],
.input-group input[type="email"] {
  height: 30px;
}
.input-group input[type="file"] {
  height: auto;
  line-height: 100%;
}


/* ---- modules ---- */


/* left & right menus */
#jsn-leftsidecontent { width: 220px; }
#jsn-rightsidecontent { width: 220px; float: right; }
#jsn-maincontent { padding: 0 20px; }
#jsn-maincontent.order1 { width: 950px; }
#jsn-pos-left .jsn-modulecontainer_inner { padding-left: 15px; }
#jsn-pos-right .jsn-modulecontainer_inner { padding-right: 15px; }
.jsn-modulecontainer_inner .jsn-moduletitle .jsn-moduleicon {
  text-transform: none;
  color: #555;
  margin-top: 10px;
}
.jsn-modulecontainer_inner ul._menu {
  list-style-type: none;
  margin: 0;
  margin-bottom: 10px;
}
.jsn-modulecontainer_inner ul._menu li {
  margin: 0;
  padding-left: 5px;
  border-top: 1px solid #ccc;
  line-height: 30px;
  max-height: 30px;
  overflow: hidden;
}
.jsn-modulecontainer_inner ul._menu li.current { font-weight: bold; }
.jsn-modulecontainer_inner ul._menu li.current a { color: #222; }
.jsn-modulecontainer_inner ul._menu li.current:hover { background: transparent; }
.jsn-modulecontainer_inner ul._menu li.current:hover a {
  color: #222;
  cursor: default;
}
.jsn-modulecontainer_inner ul._menu li:hover { background: radial-gradient(rgba(0, 0, 0, .05), transparent); }
.jsn-modulecontainer_inner ul._menu li:last-child { padding-bottom: 1px; }
.jsn-modulecontainer_inner ul._menu li:first-child { border-top: none; }
.jsn-modulecontainer_inner ul._menu li a[href="javascript: void(0)"] {
  cursor: default;
  color: #555;
}
.jsn-modulecontainer_inner ul._menu li.parent:hover { background: transparent; }
.jsn-modulecontainer_inner ul._menu li.parent { max-height: none; }
.jsn-modulecontainer_inner ul._menu li.parent ul {
  margin: -2px 0 -2px 5px;
  padding: 0;
}
.jsn-modulecontainer_inner ul._menu li.parent ul li:first-child { border-top: none; }
.jsn-modulecontainer_inner ul._menu li.parent ul li:last-child { border-bottom: none; }
.jsn-modulecontainer_inner ul._menu li.parent ul li {
  font-size: 12px;
  line-height: 24px;
  border-top: 1px dashed #ccc;
  max-height: 24px;
}
.jsn-modulecontainer_inner ul._menu li.parent ul li a { display: inline-block; }
.jsn-modulecontainer_inner ul._menu li.parent ul li a span.jsn-menutitle {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* breadcrumbs */
ul.breadcrumb { padding-left: 15px; margin: 0; }
#jsn-pos-breadcrumbs { margin-bottom: 0; }
ul.breadcrumb li a:hover { color: #5b3593; }
ul.breadcrumb li:last-child span { background: none; }
ul.breadcrumb li span.divider { display: none; }
ul.breadcrumb li span:not(.divider) {
  max-width: 250px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: top;
}
ul.breadcrumb a, ul.breadcrumb li span { padding-right: 10px; }

/* switch to accessibility template */
#accessibility a {
  font-size: 12pt;
  font-weight: bold;
  float: right;
  margin-right: 70px;
  margin-bottom: 10px;
  line-height: 29px;
}
#accessibility img {
  float: left;
  margin-right: 6px;
}

/* title */
.header-title {
  margin-right: 60px;
}

/* slider */
#jsn-pos-promo-full {
  padding-bottom: 15px;
}
#jsn-pos-promo-full > div.jsn-modulecontainer { padding: 0 15px; }
#vtnivo88 {
  margin: 0 auto;
}

/* horizontal menu */
div#maximenuck.maximenuckh ul.maximenuck {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1 {
  margin: 2px 10px 2px 0;
  border: none;
  border-radius: 0;
}
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1 span.titreck { line-height: 30px; }
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck ul.maximenuck2 span.titreck { line-height: 20px; }

div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1:hover,
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1.active,
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1.parent:hover {
  border-radius: 0;
  border: inherit;
}
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck ul.maximenuck2 a { font-size: 14px; }
div#maximenuck.maximenuckh div.floatck {
  border-radius: 0;
  background: #eee;
}
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck div.floatck div.floatck  {
  border-radius: 0;
  background: #eee;
}
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1.parent > a:after,
div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1.parent > span.separator:after {
  top: 12px;
  right: -6px;
}
div#maximenuck ul.maximenuck li.level1.parent li.parent > a:after,
div#maximenuck ul.maximenuck li.level1.parent li.parent > span.separator:after,
div#maximenuck ul.maximenuck li.maximenuck ul.maximenuck2 li.parent > a:after,
div#maximenuck ul.maximenuck li.maximenuck ul.maximenuck2 li.parent > a:after {
  top: 2px;
  bottom: 2px;
  margin: auto;
}
#jsn-menu {
  height: 44px;
  box-shadow: none;
  background-color: #5b3593;
}
#jsn-menu div.search { margin-top: 6px; }

/* weather */
#weather_frame {
  height: 244px;
  overflow: hidden;
}
#weather_info td { padding: 1px; }
#weather_info table { margin: 0; }
#weather_info table a:hover { text-decoration: underline; }

/* news list on index page */
#jsn-pos-mainbody-bottom div.jsn-modulecontent ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#jsn-pos-mainbody-bottom div.jsn-modulecontent ul li {
  margin: 0;
  padding: 5px 0;
}
#jsn-pos-mainbody-bottom div.jsn-modulecontent ul li:first-child { padding-top: 0; }
#jsn-pos-mainbody-bottom div.jsn-modulecontent ul li:not(:first-child) {
  border-top: 1px dashed #015b86;
  padding-bottom: 0;
}
.item-page .page-header h1 { display: none; }
.page-header h2[itemprop="name"] {
  margin: 11px 0 15px 0;
  font-size: 20px;
  line-height: 1.3;
}
#jsn-mainbody .items-leading div[itemprop="blogPost"] img {
  max-width: 175px;
  width: 175px;
  height: auto;
}

/* banners */
._grayscale.jsn-modulecontainer img {
  filter: none;
  -webkit-filter: grayscale(0%);
  transition: all .6s ease;
  width: 140px;
}
._grayscale.jsn-modulecontainer img:hover {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
  -webkit-transition: all .6s ease; /* color transition for Chrome & Safari */
  -webkit-backface-visibility: hidden;
  transition: all .6s ease;
}

/* phocagallery */
.pg-cat-img-detail .pg-cat-img-detail-box + div {
    height: 100px;
    display: table-cell;
    vertical-align: middle;
}
.pg-cat-img-detail .pg-cat-img-detail-box + div pg-field-table2 { display: inline-block; }
.pg-cat-img-detail .pg-cat-img-detail-box table { margin: 0; }
#phocagallery .pg-cat-img-detail {
  margin-top: 5px;
  margin-left: 5px;
}

/* prosecutor explains */
table.hiding {
  width: 100%;
  border: none;
  border-collapse: collapse;
}
table.hiding td {
  border: none;
  border-bottom: 1px solid #C8C8C8;
  margin: 0;
  padding: 1em 0;
}
table.hiding tr:last-child td { border-bottom: none; }

table.hiding input, input.del { display: none; }
table.hiding input:not(:checked) + label,
input.del:not(:checked) + label,
table.hiding input:checked + label,
input.del:checked + label {
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
}
table.hiding input:not(:checked) + label + *,
input.del:not(:checked) + label + * { display: none; }

table.hiding input:checked + label,
input.del:checked + label { text-decoration: none; }

/* yandex & sputnik counters */
#jsn-pos-user6 {
  margin: 16px 0;
  text-align: center;
}
#jsn-pos-user6 .jsn-modulecontainer {
  display: inline-block;
  margin: 0 20px;
}

/* ------ Список статей ------ */
/* сообщение пустого месяца */
#system-message {
    margin: 0;
}

/* сообщение пустого месяца */
#system-message dd.notice {
    color: inherit;
    background: none;
    border: none;
}

/* название */
.blog h2 {
    color: #3C3D3E;
}

/* ссылка в названии */
.blog h2 a {
    color: #3C3D3E;
}

/* отступы заголовка */
div.blog h1 {
    margin: 5px 0 0;
}

/* даты статей при просмотре месяца */
div.blog h3 {
    margin: 5px 0 0 0;
    font-size: 18px;
    color: #cc0000;
}

/* сдвиг описания статьи вправо */
div.blog div.items-row {
    margin-left: 10px;
}

/* название статьи */
div.blog h2 {
    margin: 10px 0 5px 0;
    font-size: 19px;
    line-height: 19px;
}

/* надписи "подробнее" в списках */
div.blog a.readon {
    margin: 0 0 10px 0;
    display: inline-block;
    background-color: #fff;
}

/* разделители между статьями одного дня */
div.blog div.items-row div.item-separator {
    width: 100%;
    border-top: 1px solid #f0f0f0;
}

/* не показываем разделитель у последней статьи */
div.blog div.items-row:last-of-type div.item-separator {
    border: none;
}

/* разделители между разными днями */
div.blog div.blog-item {
    border-bottom: 1px solid #ddd;
}

/* не показываем разделитель у последнего дня */
div.blog div.blog-item:last-of-type {
    border: none;
}

div.blog .pagination {
    margin: 10px 0 0;
}

div.blog .pagination ul.jsn-pagination {
    padding: 10px 0 0;
    display: block;
    margin: 0;
}

div.blog .pagination ul.jsn-pagination > li > a:hover,
div.blog .pagination ul.jsn-pagination > li > a:focus,
div.blog .pagination ul.jsn-pagination > .active > a,
div.blog .pagination ul.jsn-pagination > .active > span { background-color: #fbfbfb; color: #5b3593 !important; }
div.blog .pagination ul.jsn-pagination span:hover { background-color: unset; color: #666 !important; }
.category-list .category.table .list-date.small { font-size: 13px; }

div#maximenuck.maximenuckh ul.maximenuck li.maximenuck.level1 { position: relative; }
div#maximenuck div.maxidrop-main { width: 100%; min-width: 180px; }
div#maximenuck div.floatck { margin-right: -1px; }
div#maximenuck ._wider + div.floatck { width: 150% !important; }
div#maximenuck ul.maximenuck li.maximenuck div.floatck div.floatck { margin: 5px 0 0 calc(100% - 4px); top: 0; width: 100%; }
div#maximenuck ul.maximenuck li ul.maximenuck2 li.maximenuck, div#maximenuck ul.maximenuck2 li.maximenuck { position: relative; }