@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400&display=swap&subset=cyrillic');

html, body { margin: 0; padding: 0;
    overflow-x: hidden;
    background: #d7e8ff; }

body {
    font: 12px 'Open Sans', sans-serif;
    color: #333333;
    -webkit-font-smoothing: antialiased;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #1cff075c;
}

header {
    position: relative;
    width: 100%;
}

.site-version {
    position: relative;
    width: 100%;
    padding: 5px 0;
    background: #2e66ac; 
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1366px;
}

.wrapper-logo {
    display: table;
    position: relative;
    text-align: right;
}

.logo-text {
    vertical-align: top;
    text-align: left;
    display: inline-block;
    font-size: 22px;
    font-weight: bold;
    /*text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
    0px -5px 35px rgba(255,255,255,0.3);*/
    
}

.logo-images {
    vertical-align: top;
    display:inline-block;
    text-align: left;
}

.logo-images img {
    height: 95px;
    margin: 10px;
}

.logo-right {
    display: table-cell;
    position: relative;
    width: 35%;
}

.logo-right img {
    width: 100%;
    min-width: 425px;
}

.logo-left {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 65%;  
    max-width: 64%;
    margin-bottom: 0;
    min-width: 100px;
}

.images {
    display: inline-block;
    text-align: center;
    width: 60%;
}

.images img {
    display: inline-block;
}

#site-version-menu {
    list-style: none;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: auto; 
    padding: 0 18px;
}

#site-version-menu li {
    display: inline-block;
    margin: 0 20px;
}


#site-version-menu li  a{
   color:white;
}

.appeal {
    margin: 0px 36px;  
    float:right; 
    color:#fff;
}

.appeal a{
    color:#fff;
}

.search {
	position: relative;
	width: 0%;
	min-width: 55px;
	height: 55px;
    float: right;
	-webkit-transition: width 0.3s;
	-moz-transition: width 0.3s;
	transition: width 0.3s;
    -webkit-backface-visibility: hidden;
    z-index: 3;
}

#search-input {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	outline: none;
	background: #fff;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 3;
	font-family: inherit;
	font-size: 20px;
    color: #2c3e50;
    opacity: 0;
   
}

#search input[type="text"]{padding-left: 10px;}


.icon-search,
#search-submit  {
	width: 55px;
	height: 55px;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
}
table.dialog:before {
    content: " ";
    width: 0;
    height: 0;
    border-top: 100px solid #68B8AE;
    border-right: 100px solid #4384c5;
    position: absolute;
    width: 0;
   bottom: -27px;
    left: -5px;
    height: 0;
    border-top: 24px solid #4384c5;
    border-right: 38px solid transparent;
}
img.dialog {
    min-width: 300px;
    max-width: 50%;
}
table.dialog{
    position: relative;
}
#search-submit {
	background: #fff; /* ��� IE */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
    filter: alpha(opacity=0); /* IE 5-7 */
    opacity: 0;
	color: transparent;
	border: none;
	outline: none;
	z-index: -1;
}

.icon-search {
	color: #fff;
	background: #008000;
    z-index: 90;
    line-height: 40px;
}
.icon-search svg {
    position: absolute; 
    margin: auto; 
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    fill: #ffffff;
}

nav {
    display: inline-block;
    background: #2e66ac; /*Цвет главного меню*/
    border-bottom: 1px solid #008000; /**/
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    width: 100%;
    text-align: center;
}

nav li {
    max-width: 185px;
    padding: 8px;
    line-height: 1em;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.menu-main {
    display: inline-block;
    max-width: 200px;
    vertical-align: middle;
    padding: 8px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    /*margin: 0 30px;*/
    margin: 0 10px;
}

.submenu {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.submenu li {
    margin: 0;
    padding: 0;
    max-width: 310px;
}

.submenu li ul a {
    min-width: 250px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul:after {
    content: "";
    display: table;
    clear: both;
}

nav a {
    text-decoration: none;
    display: block;
}

#menu {
    display: inline-block;
    padding: 4px;
}

#menu > li:first-child {
    border-left: 0;
}

#menu > li > a {
    font-size: 16px;
    color: #FEFDFD;
}

#menu > li > a.active,
.submenu a:hover {
    color: #008000;
}

.submenu {
    position: absolute;
    z-index: 5;
    background: white;
    border-top: 1px solid #2e66ac;
    border-left: 1px solid #2e66ac;
    border-right: 1px solid #2e66ac;
    visibility: hidden;
    opacity: 0;
}

.submenu li {
    position: relative;
}

.submenu li a {
    color: #333333;
    padding: 10px 5px;
    font-size: 16px;
    border-bottom: 1px solid #2e66ac;
}

.submenu .submenu {
    position: absolute;
    left: 100%;
    top: -1px;
}

nav li:hover > .submenu {
    visibility: visible;
    opacity: 1;
}

.menu-main{
    vertical-align: middle;
 cursor: pointer;
}

.main-link {
    display: inline-block;
}

.wrapper-section {
    text-align: center;
    position: relative;
}

.name-section {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
}

.name-section:before, .name-section:after {
    content: "";
    display: inline-block;
    width: 10%; /*размер линии*/
    margin: 0 .5em 0 -55%;
    vertical-align: middle;
    border-bottom: 1px solid #2e66ac;
}

.name-section::after {
    margin: 0 -55% 0 .5em;
}

.card {
    vertical-align: top;
    display: inline-block;
    position: relative; 
    background: #fff;
    border-radius: 2px;
    min-height: 250px;
    width: 300px;
    margin: 8px;
}

.card-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.card-1:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.round {
    position: absolute; 
    margin: auto; 
    width: 20%;
    height: 20%;
    width: 75px;
    height: 75px;
    top: 30px;
    left: 0;
    bottom: 0;
    right: 0;
    border: 2px solid #2e66ac;
    background: white;
    border-radius: 55px;
    vertical-align: middle;
    z-index: 2;
}

.round svg {
    display: inline-block;
    position: absolute; 
    margin: auto; 
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    fill: #2e66ac;
}

.top-content {
    width: 100%;
    height: 50%;
    background: white;
    border-bottom: 1px solid #2e66ac;
}

.top-content img {
    width: 100%;
    border-bottom: 2px solid #2e66ac;
}

.bottom-content {
    width: 100%;
    min-height: 120px;
    height: 50%;
    position: relative;
}

.card-name {
    position: absolute;
    display: inline-block;
    margin: auto;
    width: 95%;
    min-height: 60%;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.news-item {
    margin: 8px;
    display: inline-block;
    z-index: 1;
    background: white;
    min-width: 270px;
    max-width: 230px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    vertical-align: top;
}

.news-subtitle{
    padding: 0px;
}
.news-item:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.news-item:hover .news-header img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
    opacity: .6;
}

.news-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    background: #008000;;
    width: 50px;
    height: 50px;
    border-radius: 40px;
}

.number {
    display: inline-block;
    position: absolute; 
    margin: auto; 
    text-align: center;
    width: 100%;
    height: 100%;
    top: 25%;
    left: 0;
    bottom: 0;
    right: 0;
}

.day {
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.month {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    color: white;
}

.news-header img {
    display: block;
    height: 100%;
}

.news-category {
    position: absolute;
    background: #008000;;
    left: 0;
    bottom: 100%;
    right: 40%;
    padding: 10px 15px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-footer {
    position: relative;
    background: white;
    min-height:  190px;
    padding: 18px;
    margin-bottom: 10px;
}

.news-title {
    margin: 0;
    padding: 0 0 10px;
    color: #333333;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 24px;
}

.news-subtitle {
    margin: 0;
    padding: 0 0 0px;
    color: #008000;;
    text-align: left;
    font-size: 15px;
    font-weight: bold;
}

.news-meta {
    position:absolute;
    margin-bottom:10px;
    bottom:0;
    color: gray;
}

.actuality {
    display: inline-block;
    position: relative;
    width: 93.2%;
    background: white;
    border: 2px solid #2e66ac;
    text-align: left;
    margin-top: 5px;
    text-align: center;
}

.actuality-image {
    display: inline-block;
    float: left;
    position: relative;
    vertical-align: top;
    height:75px;
}

.actuality-image img {
    height: 100%;
}

.actuality-text {
    display: inline-block;
    font-size: 25px;
    line-height: 75px;
    font-weight: bold;
}

.information {
    vertical-align: top;
    display: inline-block;
    position: relative; /*выравнивание вложенных элемнтов относительно card*/
    width: 17.3%;
    margin: 10px;
    min-width: 236px;
}

a.banners {
    display: inline-block;
}

.information-image img {
    width: 100%;
    box-shadow: 0px 0px 14px 0px rgb(46 102 172), 0px 0px 5px rgb(255 255 255);
}

.full-wrapper-section {
    text-align: center;
    margin: 8px;
    position: relative;
}

.full-wrapper-section-link {
    text-align: center;
    width:100%;
}

.item-link {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 130px;
    /*width: 160px;*/
    vertical-align: top;
    margin: 10px;

}

.item-link-image {
    display: inline-block;
    width: 83px;
    height: 83px;
    position: relative;
}

.item-link-image img {
    position: absolute;
    width: 85%;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.logo_cit {
    width: 20px;
    margin: 10px;
}
.copywriter{
    text-align:center;
    color:#337ab7;
    font-weight:700;
}
.item-link-name {
    width: 100%;
    font-size: 12px;
    font-weight: bold;
}

.footer {
    background: #171b23;
}

.navigation-line{
    display: block;
    position:relative;
    width: 100%;
    background: #2e66ac;
}

.navigation-line-item{
    display: inline-block;

}

@media screen and (max-width: 900px) {
    .logo-right {
        display: none;
    }
    .logo-images{
        text-align: center;
    }
    .logo-text{
        text-align: center;
    }
    .logo-left {
      
        text-align: center;
    }
}

@media screen and (max-width: 1095px) {
    .logo-text{
        text-align: center;
    }
}

.page-content {
    padding: 20px;
    margin: 10px;
    margin-top: 15px;
    position:relative;
    border-radius: 3px;
    background: #FFF;
    color:#333333;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,0,0.1);
    font-size: 14px;
    line-height: 1.7em;
    padding-top:10px;
    min-height:500px;
    /*text-align: justify;*/
}

.page-content h1{
    font-size: 20px; /*18-29px*/
    font-weight: bold;
}

.page-content p{
    margin:0px;
    margin-bottom: 6px;
    /*text-indent: 25px;  Отступ первой строки в пикселах */
}

.page-content {overflow-x:auto;}
.page-content table {max-width: 950px; border-collapse: collapse; text-align: left; margin: 0 auto;}
.page-content table tbody tr:first-child{ font-weight: bold; background: #ebffe8; text-align: center; vertical-align: middle;}
.page-content table tbody tr:first-child td {border: 1px solid  gray; padding: 5px;}
.page-content table tbody tr td {border: 1px solid gray; padding: 5px;}
.page-content table tbody tr:nth-child(2n) {background: #f4f4f4;}

.page-content table tbody tr:hover {background: #ebffe8;}
.page-content table tbody tr:first-child:hover {color:#333333;}

.breadcrumb{
    margin:0px;
    padding:0px;
}

.photo{
    position: relative;
    margin: 20px;
    border: 2px solid #008000;
    min-height: 200px;
    font-size: 2rem;
}


.photo-information{
    vertical-align: top;
    padding: 10px;
    display: inline-block;
    width:70%;
    min-height:200px;
}

.photo img {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    height: auto;
    min-height: 200px;
    min-width: 170px;
  }

.phone-number {
    font-weight: bold;
}

.caption{
    font-size: 18px;
    font-weight: bold;
}
.position {
    font-style: italic;
}

/*Yii 2*/
div.required label.control-label:after {
    content: " *";
    color: red;
}

.sticky-menu {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
.test{
    margin: 0;
}
.correct {
    margin-top: 40px;
}

.news-title {
    line-height: 25px;
    border: 5px solid white;
    height:110px;
    overflow:hidden;
   /* -webkit-transition: height .5s ease;
    transition: height .5s ease;
    */
}
.news-title:before {
    content: "";
    float: left;
    height:25px;
    width: 1px;
    min-height:100px;
}
.news-title > *:first-child {
    float: right;
    width: 100%;
    margin-left: -5px;
}
.news-title:after {
    content: "\02026";
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    float: right;
    position: relative;
    top: -25px;
    left: 99%;
    width: 3em;
    margin-left: -3em;
    padding-right: 5px;
    text-align: right;
    background-size: 100% 100%;/* 512x1 image,gradient for IE9. Transparent at 0% -> white at 50% -> white at 100%.*/
    background: -webkit-gradient(linear,left top,right top,
        from(rgba(255,255,255,0)),to(white),color-stop(50%,white));
        background: -moz-linear-gradient(to right,rgba(255,255,255,0),white 50%,white);
        background: -o-linear-gradient(to right,rgba(255,255,255,0),white 50%,white);
        background: -ms-linear-gradient(to right,rgba(255,255,255,0),white 50%,white);
        background: linear-gradient(to right,rgba(255,255,255,0),white 50%,white);
    }

.news-title:hover{
	height: 100%;
	box-sizing:border-box;
}

.news-title:hover:before{
	background:white;
}

.news-title:hover:after{
	background:none;
	content:"";
}

.page-content {
   text-align:justify; 
}
