/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

*{
    -webkit-text-size-adjust: none;
    outline: none; /*убираем рамку вокруг ссылок и кнопок*/

}

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}
input[type="search"] {-webkit-appearance: none; border-radius: 0;}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.header {
    overflow: hidden;
    margin: 0.7em 0;
}

.logo-img {
    float: left;
    margin-left: 0.6em;
}
.company-name {
    float:right;
    text-align: right;
    margin-right: 0.6em;
    font: 0.9em serif;
    color: #575656;
}
.slogan {
    color:#d91d19;
}
.scroller {
    position:static;
    width: 100%;
    z-index: 9999;
}
.top-bar {
    background: #1c7dca;
    text-align: center;
    font: 1.4em sans-serif;
    color: #fff;
    overflow: hidden;
}
.top-bar--inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    box-shadow: 0 0px 5px gray;
}
.menu_button {
    width: 15%;
    height: 2.5em;
    background: url("/templates/npssk/img/menu.svg") no-repeat #1c7dca;
    display: block;
    background-size: 1.3em;
    background-position: center;
    float: left;
}
.abbr {
    line-height: 2.5em;
    text-shadow: 1px 1px 0 #4f4f4f;
    float: left;
    width: 70%;
    background-color: #1c7dca;
    display: block;
}
.abbr-index {
    width: 85%;
}
.search {
    width:15%;
    height: 2.5em;
    background: url("/templates/npssk/img/search.svg") no-repeat #1c7dca;
    display: block;
    background-size: 1em;
    background-position: center;
    float: left;
}
.button-active {
    background-color: #1c5ca3;
}

.search-bar {
    position: fixed;
    top: 0;
    background-color: #1c5ca3;
    width: 100%;
    margin-top: 3.5em;
    text-align: center;
    box-shadow: 0 0px 5px gray;
}
.search-bar-index {
    position: static;
    margin-top: 0;
    overflow: hidden;
}
.search-bar_input {
    width: 76%;
    float: left;
}
.search-bar_input input {
    text-indent: 0.3em;
    width: 90%;
    height: 22px;
    padding: 0;
    border: 0;
    margin: 0.8em 0.6em;
}
.search-bar_button {
    float: left;
}
.search-bar_button input{
    height: 22px;
    margin: 0.8em 0;
    padding: 0 0.6em;
    background: #1c7dca;
    color: #fff;
    border: 1px solid #bcdcff;
}


.main-menu {
    margin: 0;
    padding: 0;
}
.main-menu--inner {
    display: none;
    -o-box-shadow: 0px 1px 20px gray;
    -moz-box-shadow: 0px 1px 20px gray;
    -webkit-box-shadow: 0px 1px 20px gray;
    box-shadow: 0px 1px 20px gray;
    position: absolute;
    top: 3.5em;
    width: 100%;
    z-index:1000;
}
.main-menu_item, .root-item {
    background: #fff;
}
.main-menu_item:hover {
    background: #1c7dca;
}
.main-menu_link, .inner-menu_link {
    color: #000;
}
.main-menu_link {
    display: block;
    font: 1.2em sans-serif;
    border-bottom: 1px solid #cecece;
    padding: 1em;
    text-decoration: none;
    color: #000;
}
.main-menu_link:hover {
    text-decoration: none;
    color: #fff;
}
.main-menu_item--select {
    background: #1c7dca;
    color: #fff;
    border-top: 1px solid #136ea3;
    padding: 0;
    position: relative;
}
/*.main-menu_item--select:after {*/
    /*content: " ";*/
    /*width: 2.32em;*/
    /*height: 3.13em;*/
    /*background: url("/img/shape.svg") no-repeat #1c7dca;*/
    /*position: absolute;*/
    /*top: 0;*/
    /*right: 0;*/
    /*background-size: 1.2em;*/
    /*background-position: center;*/
/*}*/

/*.main-menu_item:hover .main-menu_link {*/
    /*color: #fff;*/
/*}*/
.root-item {
    position: relative;
    padding: 0;
}
/*
.root-item:after {
    width: 2.32em;
    height: 3.13em;
    background: url("/img/shape-gray.svg") no-repeat #fff;
    position: absolute;
    top: 0;
    right: 0;
    background-size: 1.2em;
    background-position: center;
} */


.inner-menu {
    background: #e1e1e1;
    padding-left: 0;
    margin: 0;
    display: none;
}
.inner-menu_title {
    display: block;
    padding: 1em 2em 1em 1em;
    line-height: 3.13em;
    background: url("/templates/npssk/img/shape-gray.svg") no-repeat #fff;
    background-position-x: 95%;
    background-position-y: center;
    background-size: 1.2em;
    font: 1.2em sans-serif;
    border-bottom: 1px solid #cecece;
}
.inner-menu_title--select {
    background: url("/templates/npssk/img/shape.svg") no-repeat #1c7dca;
    background-position-x: 95%;
    background-position-y: center;
    background-size: 1.2em;
    color: #fff;
    border-top: 1px solid #136ea3;
    text-shadow: 1px 1px 0 #4f4f4f;
}
.inner-menu_item {
    display: block;
    padding: 0.7em 0;
    border-bottom: 1px solid #f0efef;
    border-top: 1px solid #cacaca;
}
.inner-menu_link {
    padding-left: 1.7em;
    display: block;
    position: relative;
}
a.inner-menu_link:before {
    content: " ";
    display: inline-block;
    width: 0.15em;
    height: 0.15em;
    background: #1c7dca;
    position: absolute;
    top: 0.5em;
    left: 1em;
}
.content {
    width: 92%;
    margin: 3.7em auto 0;
    font: 1em Arial, sans-serif;
    word-wrap: break-word;
}
.content-w-menu {
    margin-top: 0;
}
.content h1 {
    font: italic 1.25em Arial, sans-serif;
    padding: 0.5em 0;
    border-bottom: 1px solid silver;
    margin:0.2em 0 0 0;
}
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    font: bold 1em Arial, sans-serif;
}
.content a {
    color: #d91d19;
    text-decoration: underline;

}
.content a:hover {
    text-decoration: none;
}
.content ul, .content ol {
    padding-left: 1em;
}
.content li {
    list-style: square;
    margin: 0.4em 0;
}
.content p {
    line-height: 1.2em;
}
ul.file-list-docs {
    margin: 0;
    padding: 0;
}
li.file-doc, li.dir-doc {
    padding-left: 1.5em;
    position: relative;
    list-style: none;
    margin: 1.3em 0;
}

li.file-doc:after {
    content: " ";
    background: url('/templates/npssk/img/file-doc.png') no-repeat center;
    position: absolute;
    width: 1em;
    height: 1.1em;
    top: 0;
    left: 0;
    background-size: 1em;
}
li.dir-doc:after {
    content: " ";
    background: url('/templates/npssk/img/dir-doc.png') no-repeat center;
    position: absolute;
    width: 1em;
    height: 1.1em;
    top: 0;
    left: 0;
    background-size: 1.1em;
}
.file-doc_extra {
    font: 0.7em Arial, sans-serif;
    color: darkgray;
}

ul.news-list {
    padding: 0;
}
li.news-list_item {
    list-style:none;

}
h2.news-list_title {
    margin-top: 0;
}
time.news-list_time {
    color: gray;
    font: 0.8em Arial, sans-serif;
}
a.news-list_link {
    text-decoration: none;
}
a.news-list_link:hover {
    text-decoration: underline;
}
.navigator {
    text-align:center;
    font: 1em Arial, sans-serif;
    margin-bottom: 1em;
}
a.toprev, a.tonext
{
    text-decoration: none;

}
.toprev--inacive, .tonext--inacive {
    color: gray;
}
.toprev {
    /*background: url("/templates/npssk/img/shape-gray.svg") no-repeat left center;*/
    /*padding-left: 1.2em;*/
    /*background-size: 1em;*/
    font-size: 1.5em;
}
.tonext {
    /*background: url("/templates/npssk/img/shape-gray.svg") no-repeat right center;*/
    /*padding-right: 1.2em;*/
    /*background-size: 1em;*/
    font-size: 1.5em;
}
.to-mobile {
    text-align: center;
}
.to-mobile  a{
    color: red;
    font-size: 0.8em;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

