* {

word-wrap: break-word;
}

a {
  color: #337ab7;
}
a:hover {
    text-decoration: none;
}
body .oo {
    font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    background-color: #fff;
}
.redact {
    text-align: center;
}
.oo div .redact a {
    color: #ffffff;
    display: inline-block;
    padding: 5px 20px;
    background: #016faf;
    border-radius: 20em;
    font-size: 14px;
}
img {
    max-width: 100%;
    height: auto;
}
a img {
    transition: 0.5s;
}
a:hover img {
    transition: 0.5s;
      -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
      transform: scale(0.9);
}

.wrap-oo {background: #F8F9FB;}
.oo {max-width: 1920px; margin: 0 auto;}
.oo .inline-block {
    display: inline-block;
    vertical-align: middle;
}
/*ЗАГАЛОВОК*/
.oo h2{
    color: #4078c6;
    font-size: 18px;
    text-transform: uppercase;
}
.oo h1 {
    font-size: 20px;
    text-transform: uppercase;
    color: #4078c6;
}

/*ХЛЕБНЫЕ КРОШКИ*/
.oo .breadcrumb {
    padding-top: 4px;
    padding-bottom: 0;
}

.oo .breadcrumb a:hover {
     color: #3e2d7f;
}
.oo .breadcrumb li {
     font-size: 14px;
     font-weight: bold;
}
/*ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ*/
.oo .vs {
   background: #2D1A75;
   color: #fff;
}
.oo .vs p {
    margin: 10px;
}

.oo .vs a, 
.oo .vs a:hover {
    text-decoration: none;
    color: #fff;
}
.oo .vs_img {
    position: relative;
    top: 0;
    left: 0;
    padding: 10px;
    padding-left: 70px;
    display: inline-block;
    border-radius: 20em;
    vertical-align: middle;
    margin: 1em 0;
}
.oo .vs_img:before {
    content: '';
    position: absolute;
    top:50%;
    left: 10px;
    background: url(../images/eye.png) 50% 50% no-repeat;
    width: 50px;
    height: 38px;
    margin-top: -20px;
    display: block;
    background-size: 100%;
}
.oo .vs_img:hover {
    background: #c6267b;
}
/*ПОДВАЛ*//*ПОДВАЛ*//*ПОДВАЛ*//*ПОДВАЛ*/
.oo .footer {
  background: #2D1A75;
  color: #fff;
}
.oo .footer a {
    color: inherit;
}
.oo .footer h2 {
color: #fff;
text-align: center;
} 
.oo .footer .start {
  text-align: center; 
  padding-bottom: 15px;
  color: #d8d8d8;
}
.footer_top p {
    margin: 0;
}
.oo .footer .start a {
  color: #d8d8d8;
}
.oo .left_sidebar h2,
.oo .right_sidebar h2 {
color: #c6267b;
text-transform: uppercase;
font-size: 18px;
}
.footer-1 p {
    display: inline-block;
    text-align: left;
}
.footer-4 {
    text-align: right;
}

  /*ПОЛЕЗНЫЕ РЕСУРСЫ*//*ПОЛЕЗНЫЕ РЕСУРСЫ*//*ПОЛЕЗНЫЕ РЕСУРСЫ*//*ПОЛЕЗНЫЕ РЕСУРСЫ*/

 .oo .row-resurs:nth-of-type(2n) .polezn_resurs {
   border: 4px solid #2D1A75;
}
.oo .polezn_resurs {
    position: relative;
    top: 0;
    left: 0;
    box-sizing: border-box;
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    display: table;
    width: 100%;
    border: 4px solid #c6267b;
}

.oo .polezn_resurs a {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.oo .polezn_resurs:hover .wrap_title {
    background: #c6267b;
    opacity:1;
    transition: 0.3s;
    border: 4px solid #c6267b;
    color: #fff;
}
.oo .row-resurs:nth-of-type(2n) .polezn_resurs:hover .wrap_title {
    background:#2D1A75;
    border: 4px solid #2D1A75;
}
.oo .polezn_resurs:hover {
   box-shadow:rgba(62, 57, 107, 0.3) 0px 6px 16px 13px;
}
.oo .polezn_resurs .wrap_title {
    opacity:0;
    transition: 0.3s;
    width: 100%;
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 100;
    left: 0;
    text-align: center;
    box-sizing: border-box;
    top: 0;
    color: #fff;
    text-transform: uppercase;
    border: 4px solid #c6267b;
}
.oo .polezn_resurs .wrap_title .title {
  position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 100%;
}
.oo .polezn_resurs .wrap_title a {
    color: #fff;
}
.oo .polezn_resurs_img {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    
}


.oo .polezn_resurs_img img{
    padding: 10px;
}
.oo .polezn_resurs_img img{
    max-width: none;
    width: auto;
    height: auto;
    max-height: 160px;
}
/*СЛАЙДЕР ПОЛЕЗНЫЕ РЕСУРСЫ*//*СЛАЙДЕР ПОЛЕЗНЫЕ РЕСУРСЫ*//*СЛАЙДЕР ПОЛЕЗНЫЕ РЕСУРСЫ*//*СЛАЙДЕР ПОЛЕЗНЫЕ РЕСУРСЫ*//*СЛАЙДЕР ПОЛЕЗНЫЕ РЕСУРСЫ*/
.field_slider_five_col {
    text-align: center;
    padding: 10px;
}
.slider_five_col_img {
    margin-bottom: 10px;
}
.polezn-resurs-slider .flexslider .slides img {
    width: auto;
    display: inline-block;
}
.polezn-resurs-slider .flexslider {
    background: #fff;
    margin: 0;
}
.polezn-resurs-slider .flexslider {
    padding-bottom: 60px;
}
.polezn-resurs-slider .flexslider .flex-control-nav {
    bottom: 20px;
}

/*ПРЕДСТАВЛЕНИЕ СТРАНИЦА НОВОСТИ*/
.oo .views_node_news .title {
    text-transform: uppercase;
    margin: 20px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.oo .views_node_news .title a {
    color: #2d1a75;
    font-weight: bold;
    font-size: 16px;
}
.oo .views_node_news:hover .title a {
    color: #c6267b;
}
.oo .decript {
    padding: 0 20px 20px 20px;
}
.oo .views_node_news {
    border: 1px solid #d6d3d3;
    margin: 1%;
    box-shadow:rgba(51, 51, 51, 0.51) 0px 11px 8px -10px, rgba(51, 51, 51, 0.51) 0px -11px 8px -10px;
    transition: 0.5s;
    position: relative;
    width: 48%;
    float: left;
}
.oo .views_node_news:hover {
    box-shadow:rgba(51, 51, 51, 0.51) 0px 0px 0px -0px, rgba(51, 51, 51, 0.51) 0px -0px 0px -0px;
} 
.oo .views_node_news .changed {
    font-weight: bold;
    color: #c6267b;
    margin-top: 10px;
}
.oo .views_node_news .link a{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 0;
    z-index: 10;
    text-indent: -9999px;
    opacity: 0;
}

.oo .views_node_news .img {
    position: relative;
    border-bottom: 1px solid #d6d3d3;
}
.oo .views_node_news .img:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    background: #00000061;
    background: rgba(0, 0, 0, 0.38);
    opacity: 0;
    z-index: 1;
}
.oo .views_node_news .link_img {
    position: absolute;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    top: 50%;
    display: inline-block;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    opacity: 0;
    z-index: 2;
}
.oo .views_node_news:hover .link_img,
.oo .views_node_news:hover .img:before {
    opacity: 1;
    transition: 0.5s;
}
/*СТРАНИЦА НОВОСТИ*/
.oo .news_gallery {
   text-align: center;
 }
.oo .news_gallery .field__item {
    display: inline-block;
    vertical-align: middle;
    margin: 10px;
    border: 2px solid #e4e4e4;
    box-shadow: rgba(0, 0, 0, 0.2) 15px 15px 5px -5px;
    transition: 0.5s;
}
.oo .news_gallery .field__item:hover {
    box-shadow: rgba(0, 0, 0, 0.2) 5px 5px 5px -5px;
}
/*СЛАЙДЕР НОВОСТИ*//*СЛАЙДЕР НОВОСТИ*//*СЛАЙДЕР НОВОСТИ*/
.oo #slider_news {
    margin: 0;  
}
.oo #slider_news .slides {
    padding: 0 10px 10px 10px; 
}
.oo .news_slider .title {
    margin: 0 0 10px 0px;
    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    */
}
.oo .news_slider .img {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.oo .news_slider .text {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.oo .news_slider .title a {
    color: #2d1a75;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}
.oo .news_slider .changed {
    position: absolute;
    top: 0;
    right: 15px;
    color: #fff;
    background: #c6267b;
    padding: 5px 10px;
    z-index: 2;
}
.oo .news_slider .node a {
    text-align: right;
    color: #c6267b;
}

.oo #slider_news {
    margin: 0;
}
.oo #slider_news .flex-direction-nav a:before {
    font-size: 30px;
    color: #c6267d;
    top: 50%;
    position: relative;
    margin-top: -20px;
    height: 40px;
}
.oo #slider_news .flex-direction-nav .flex-nav-prev:hover .flex-prev:before,
.oo #slider_news .flex-direction-nav .flex-nav-next:hover .flex-next:before,
.oo #photo_gallery_slider .flex-direction-nav .flex-nav-prev:hover .flex-prev:before,
.oo #photo_gallery_slider .flex-direction-nav .flex-nav-next:hover .flex-next:before{
    color: #2D1A75;
}
.oo #slider_news .flex-direction-nav .flex-nav-prev:active .flex-prev:before,
.oo #slider_news .flex-direction-nav .flex-nav-next:active .flex-next:before,
.oo #photo_gallery_slider .flex-direction-nav .flex-nav-prev:active .flex-prev:before,
.oo #photo_gallery_slider .flex-direction-nav .flex-nav-next:active .flex-next:before{
    color: #c6267d;
}
.oo #slider_news .flex-direction-nav a {
    opacity: 1;
    display: block;
}
.oo #slider_news .flex-direction-nav .flex-prev {
    left: -4px;
    top: 10px;
    width: 20px;
    height: 100%;
}

.oo #slider_news .flex-direction-nav .flex-next {
    right:-4px;
    top: 50%;
    width: 20px;
}

.oo #slider_news .flex-direction-nav .flex-next:hover  .flex-direction-nav a:before {
    color: #3e2d7f;
}
.oo .more-link {
    text-align: right;
    background: #e0e0e0;
    border-radius: 20em;
}


/*ФОТОГАЛЕРЕЯ*/
.gallery_node .field__item {
    font-size: 16px;
    overflow: hidden;
     width: 33%;
    float: left;
}

.gallery_node .field__item a img {
  padding: 5px;
  display: block;
  background: #fff;
  transition: transform .2s ease-in-out;
  max-height: 350px;/*Для слабовидящих*/

}

.gallery_node .field__item a:hover img {
  transform: scale(1.15);
}
/*СЛАЙДЕР ФОТОГАЛЕРЕЯ*/
.oo #photo_gallery_slider .flex-direction-nav a:before {
    font-size: 30px;
    color: #c6267d;
    position: relative;
}

.oo #photo_gallery_slider .flex-direction-nav a {
    opacity: 1;
    display: block;
}
.oo #photo_gallery_slider .flex-direction-nav .flex-prev {
    left: -4px;
}

.oo #photo_gallery_slider .flex-direction-nav .flex-next {
    right:-4px;
    top: 50%
    width: 20px;
}

.oo .view-slider-gallery .more-link a,
.oo .view-slider-news .more-link a,
.oo .views-news--block .more-link a {
    text-transform: uppercase;
    display: inline-block;
    padding: 5px 15px;
    color: #fff;
    background: #c6267d;
    border-radius: 20em;
    width: 40%;
    text-align: center;
    transition: 0.5s;
    font-size: 14px;
}
.oo .view-slider-news .more-link a:hover,
.oo .view-slider-gallery .more-link a:hover,
.oo .views-news--block .more-link a:hover {
    background: #c6267d;
    width: 100%;
    transition: 0.5s;
}
.oo .view-slider-news .more-link a:active,
.oo .view-slider-gallery .more-link a:active,
.oo .views-news--block .more-link a:active {
    background: #3d2b7e;
}
.oo #photo_gallery_slider {
    margin: 0;
    padding: 0 30px;  
}
.oo #photo_gallery_slider .flex-direction-nav .flex-disabled {
    opacity: 1!important;
    cursor: pointer;
    z-index: 0;
}
.oo #photo_gallery_slider a:focus {
    outline: 0;
}

.oo .photo_gallery_slider {
    text-align: center;
    color: #333;
}
.oo .photo_gallery_slider .title a{
    margin-top: 6px;
    color: #3d2c7f;
    font-weight: bold;
    display: inline-block;
}

.oo .photo_gallery_slider .img img{
    display: block;
    max-height: 300px; /*Для слабовидящих*/
}

.oo .photo_gallery_slider:hover .title a {
   color: #c6267d;
}
 

.oo .photo_gallery_view .title {
    border-top: 1px solid #d6d3d3;
    position: absolute;
    z-index: 2;
    background: #fff;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    transition: 0.5s;
}
.oo .photo_gallery_view .title a {
    color: #2D1A75;
    text-transform: uppercase;
}
.oo .photo_gallery_view:hover .title a {
	color: #c6267b;
}
.oo .photo_gallery_view {
    margin: 15px 0;
    position: relative;
    top: 0;
    border: 1px solid #d6d3d3;
    left: 0;
}
.oo .photo_gallery_view:hover .title {
    padding: 5px 20px;
}

/*SEARCH*/
.oo form {
    position: relative;
}
.oo .vs form {
    margin: 0 60px 0 0;
}
.oo .search-block-form .form-search{
  width: 70%;
  min-width: 100px;
  top: 0;
  right: 0;
  padding: 0 30px 0 15px;
  height: 34px;
  box-sizing: border-box;
}

.oo .search-block-form .form-submit{
  position: absolute;
  top: 0;
  right: 0;
  background: #c6267b;
  color: #fff;
  border: none;
  height: 34px;
  border-radius: 0;
  width: 31%;
  min-width: 60px;
  padding: 10px;
}

.oo .search-block-form .form-submit:hover {
    background: #2d1a75;
}
.oo .search-block-form .form-submit:active {
    background: #c6267b;
}
.sidebar .block {
    margin: 10px -15px;
    padding: 10px;
    border: 1px solid #eee;
}

.oo .sidebar .block h2 {
    padding: 5px 10px;
    margin: 0 -10px;
    margin-bottom: 10px;
}

/*POLL*/
.sidebar .block .poll input[type="submit"] {
    margin: 5px 0;
}

.poll .bar .foreground {
    background-color: #60af98;
    border-radius: 20em;
}
.poll .bar {
    border-radius: 20em;
}

.poll .poll-question {
    margin-top: 0;
}


.oo .main .content h2 {
    font-size: 22px;
    text-align: center;
}
.oo .key {
    margin: 1em 0;
}
.oo .key .Login-popup-link{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0;
    width: 60px;
}
.oo .key .Login-popup-link a:before {
    content: '';
    position: relative;
    top: 0;
    right: 0;
    width: 40px;
    display: inline-block;
    vertical-align: middle;
    z-index: 200;
    height: 40px;
    background-color: #fff;
    background: url(../images/log-in.png);
    background-size: 100%;
}
.oo .key .Login-popup-link a:hover:before,
.oo .key .Login-popup-link a:active:before,
.oo .key .Login-popup-link a:visited:before {
      content: '';
    position: relative;
    top: 0;
    right: 0;
    width: 40px;
    display: inline-block;
    vertical-align: middle;
    z-index: 200;
    height: 40px;
    background-color: #fff;
    background: url(../images/log-in-before.png);
    background-size: 100%;
}
.oo .request-password-link,
.oo .user-login-form .item-list {display: none;}
.oo .user-login-form .form-item input {
    width: 100%;
}

.oo .header {
    position: relative;
    top: 0;
    left: 0;
    background: #fff;
    height: 100%;
    width: 100%;
    text-align: right;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
.banner img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.oo .header a {
     color: #fff;
}
.oo .banner_cont {
    position: relative;
    top: 0;
    right: 0;
    display: inline-block;
    color: #fff;
    z-index: 300;
    text-align: center;
    margin: 4%;
    padding: 10px;
    background: #2D1A75;
    background: rgb(45, 26, 117, 0.9);

}

.oo .banner_cont .site_logo {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}
.oo .banner_cont .site_name {
    display: inline-block;
    vertical-align: middle;
     font-size: 36px;
}
.oo .banner_cont .site_name a {
    text-decoration: none;
}

.oo .banner.hidden + .oo .header {
    background-image: none;
}
.oo .header.overlay {
    position: relative;
}
.oo .header.overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.48);
    z-index: 3;
}
.oo .header.overlay .banner_cont {
    margin: 4% 0;
    width: 100%;
     background: none;
}
/*Стили шапки для общих страниц*/
.oo.node .header .banner_cont {
    margin: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.48);
}
.oo.node .header.overlay .banner_cont {
    background: none;
}

/*Блок новости*/
.oo .news_img--block,
.oo .news_title--block {
   float: left;
    width: 50%;
}
.oo .news_title--block .title {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 50%;
    text-align: center;
}
.oo .news--block {
    border-right: 2px solid #c6267d;
    border-bottom: 2px solid #c6267d;
    position: relative;
}
.oo .news_img--block {
    float: left;
    text-align: left;
    position: relative;
}
.oo .views-news--block .view-content {
    border-left: 2px solid #c6267d;
    border-top: 2px solid #c6267d;
    margin-bottom: 15px;
}
.oo .news_img--block img {
    border-right: 2px solid #c6267d;
}

.oo .news_title--block a {
    color: #333;
    text-decoration: none;
}
.oo .news--block:hover {
    background: #c6267d;
}
.oo .news--block:hover .news_title--block a {
    color: #fff;
    text-decoration: underline;
}
.oo .news--block:hover img {
    box-shadow: none;
}
 .news_img--block:before {
    position: absolute;
    content: '';
    top: 50%;
    margin-top: -15px;
    right: 0;
    width: 10px;
    height: 10px;
    /* background: #67016a; */
    border: 15px solid transparent;
    border-right: 15px solid #c6267d;
    z-index: 10;
    opacity: 0;
}
.oo .news--block:hover .news_img--block:before  {
    opacity: 1;
}
.views-row:nth-of-type(2n) .news_img--block {
float: right;
text-align: right;
}
.views-row:nth-of-type(2n) .news_img--block img {
    border: none;
    border-left: 2px solid #c6267d;
}
.oo .views-row:nth-of-type(2n)  .news--block:hover .news_img--block:before {
    position: absolute;
    content: '';
    top: 50%;
    margin-top: -15px;
    left: 0;
    width: 10px;
    height: 10px;
    /* background: #67016a; */
    border: 15px solid transparent;
    border-left: 15px solid #c6267d;
}
#button-up {
    display:none;
    right: 0;
    margin: 0;
    position: fixed;
    z-index: 100;
    bottom: 50px;
    outline:none;
    width: 60px;
    height: 60px;
    color: #333333;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    background: url(../images/top.png) no-repeat;
    background-size: 100%;
    font-size: 14px;
}
#button-up:hover {
    cursor: pointer;
}
.button-up-txt { 
    opacity: 0; 
    transition: 0.5s; 
    position: relative;
    top: -20px;
    background: #fff;
}
#button-up:hover .button-up-txt {
    opacity: 1;
    transition: 0.5s;
}
.oo .flex-direction-nav a:before {
    font-size: 30px;
    color: #000;
    position: relative;
}
