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


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


/* huge & ugly line-height, small font */
body {
  line-height: 1.5;
  font-size: 14px;
}

/* links color */
a { color: #015b86; }
a:hover { color: #029feb; }
#jsn-mainbody a { color: #6996b0; }
#jsn-mainbody a:hover { color: #029feb; }

/* 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 {
  margin-top: 4px;
  margin-bottom: -3px;
  line-height: 150%;
}

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

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

/* moving body from top and bottom */
#jsn-master { padding: 40px 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;
}

/* fix content width */
#jsn-maincontent.span6 { width: 680px; }
.row-fluid [class*="span"].offset-9 { margin-left: -82%; }

/* 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: 15px;
}
#header-inner {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-top: 0;
  background: #fff;
}

/* 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);
}
#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: 260px; }
#jsn-rightsidecontent { width: 180px; }
#jsn-rightsidecontent { float: right; }
#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; }
#jsn-pos-breadcrumbs { margin-bottom: 0; }
ul.breadcrumb li a:hover { color: #029feb; }
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: 100px;
}

/* slider */
#jsn-pos-promo-full {
  padding-top: 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: #2a4250;
}
#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;
}
._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;
}

/*
     FILE ARCHIVED ON 10:44:01 Dec 06, 2021 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 17:50:16 Aug 09, 2024.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.575
  exclusion.robots: 0.033
  exclusion.robots.policy: 0.022
  esindex: 0.013
  cdx.remote: 33.39
  LoadShardBlock: 1382.613 (3)
  PetaboxLoader3.datanode: 1233.946 (4)
  load_resource: 1150.261
  PetaboxLoader3.resolve: 52.05
*/