.layout {
    height: 100%;
}

.wrap {
    min-height: calc(100% - 345px);
    margin: 0;
}

.wrap__in {
    background: #fff;
    position: relative;
}

.wrap__in:after,
.wrap__in:before {
    position: fixed;
    content: '';
    width: 641px;
    right: 0;
    top: 49px;
    background: #f1f1f1 url('../img/fon_right.png') no-repeat 100% 0;
    height: 100%;
}

.wrap__in:before {
    right: auto;
    left: 30px;
    background-image: url('../img/fon_left.png');
}

.wrap__container {
    background: #fff;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 49px;
    padding-bottom: 45px;
    z-index: 1;
}

/* top */
.wrapHeaderPhoto {

}

.wrapTextPage {
    margin-top: 70px;
    padding-left: 195px;
    padding-right: 195px;
}

.textPage {
    padding-left: 160px;
    padding-right: 160px;
}

.textFeedback {
    margin-top: 30px;
}

.textEvent {
    margin-top: 80px;
}

.header-with-edge {
    display: table;
    width: 100%;
    position: relative;
    margin: 100px 0 0 0;
    padding-bottom: 45px;
}

.edge__left {
    display: table-cell;
    vertical-align: top;
    padding-left: 110px;
}

    .detail-type {
        padding: 8px 45px 7px 15px;
        margin-bottom: 20px;
        color: #fff;
        display: inline-block;
        vertical-align: top;
        font: normal 14px/14px "PFDinTextCondPro","Arial","sans-serif";
        text-transform: uppercase;
    }

    .detail__name {
        font: normal 36px/36px 'IntroBlack', 'Arial', 'sans-serif';
        position: relative;
        left: -3px;
        color: #000;
    }

    .wrapTextPage .detail__name {
        margin-bottom: 10px;
    }

    .detail__name + .detail-info {
        margin-top: 18px;
    }

    .detail__item {
        display: inline-block;
        vertical-align: top;
        color: #6f7076;
        font: normal 18px/20px 'PFDinTextPro-Light', 'Arial', 'sans-serif';
        position: relative;
    }

    .detail__item  + .detail__item {
        padding-left: 35px;
        margin-left: 30px;
    }

    .detail__item  + .detail__item:before {
        width: 1px;
        height: 28px;
        background: #d7d7d7;
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -14px;
    }

.edge__right {
    display: table-cell;
    vertical-align: bottom;
    width: 300px;
}

.detail-svg {
    width: 66px;
    height: 66px;
    max-height: 100% !important;
    max-width: 100% !important;
    fill: #000 !important;
}

.detail-svg:hover {
    fill: #1a6fb3 !important;
}

.detail-svg + .detail-svg {
    padding-left: 30px;
    margin-left: 25px;
    position: relative;
    min-width: 96px;
}

.detail-svg + .detail-svg:before {
    width: 1px;
    height: 60px;
    background: #d7d7d7;
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -30px;
}

.wrap__content {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.wrap__left {
    position: relative;
    display: table-cell;
    vertical-align: top;
    padding: 0 40px 0 20px;
}

    .textSliderSlides {
        display: none;
    }

    .nophoto {
        background: url('../img/empty_photo.jpg') no-repeat 50% 50%/cover;
        width: 100%;
        height: 100%;
    }

    .gallery {
        margin-bottom: 40px;
        display: block;
        width: 100%;
        position: relative;
    }

    .textSlider {
        position: relative;
        width: 100% !important;
        height: 100%;
    }

    .gallery[count="0"] + .textSliderSlides,
    .gallery[count="1"] + .textSliderSlides,
    .gallery[count="0"] .rsThumbs,
    .gallery[count="1"] .rsThumbs {
        display: none !important;
    }

    .textSlider img.rsImg {
        position: absolute;
        left: 0;
        bottom: 0;
        height: auto !important;
    }

    .textSlider .rsOverflow {
        height: calc(100%) !important;
    }

    .textSlider:after {
        position: absolute;
        width: 100%;
        content: '';
        height: 50%;
        left: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,.65) 100%);
    }

    .textSlider .rsThumbs {
        bottom: 20px;
    }

    .text-block {
        position: relative;
        padding: 50px 0 10px;
        border-bottom: #ddd 1px solid;
    }

    .detailNews {
        overflow: hidden;
        position: relative;
    }
/*
    .link-person {
        padding-bottom: 80px;
    }*/

    .nomoregallery {
        padding-bottom: 30px;
    }

    .news--text {
        margin-left: 90px;
        margin-right: 90px;
        margin-bottom: 60px;
    }

    .text-block:last-child {
        border-bottom: 0 solid transparent;
    }

    .text.text-block {
        padding-top: 0;
    }

    .text.text-block + .text.text-block {
        padding-top: 50px;
    }

    .text.text-block {
        /*margin-bottom: 40px;*/
        padding-bottom: 40px;
    }

    .text-block__header {
        font: normal 24px/24px 'IntroBold', 'Arial', 'sans-serif';
        text-align: center;
        padding-bottom: 35px;
    }

    .text-block__header a {
        color: #1a6fb3;
    }

    .text-block__header a:hover {
        text-decoration: underline;
        color: #1a6fb3;
    }

    .text-block .more-content {
        position: relative;
        width: 100%;
    }

    .mobile {
        display: none;
    }

    .link-person .person__item {
        width: 50%;
        margin-bottom: 55px;
    }

    .text-block .picList__item {
        width: 33.3%;
        float: left;
        margin-bottom: 66px;
    }

    .text-block .picList__item:nth-child(3n+1) {
        clear: left;
    }

    .text-block .picList__img {
        width: 100% !important;
        height: auto !important;
    }

    .wrap .smi__heading,
    .wrap .smi__name {
        padding-left: 0;
    }

    .wrap .smiList__item::after {
        display: none;
    }

    .photo-gallery {
        width: 100%;
        overflow: hidden;
        position: relative;
        margin-bottom: 30px;
    }
/*
    .photo-gallery__item {
        float: left;
        width: 32.5%;
        height: 160px;
        overflow: hidden;
        line-height: 190px;
        margin: 0 10px 10px 0;
    }

        .photo-gallery__item:nth-child(3n) {
            margin-right: 0;
        }
*/
    .photo-gallery__link {
        max-height: 190px;
        line-height: 180px;
        display: block;
        text-align: center;
        position: relative;
    }

        .photo-gallery__link:hover:before {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            content: '';
            background: #ee3431;
            height: 4px;
        }

    .photo-gallery__img {
        width: 111%;
        height: auto;
        display: inline-block;
        vertical-align: top;
    }

.wrap__right {
    width: 300px;
    display: table-cell;
    vertical-align: top;
}

    .s-block {
        padding-top: 26px;
        padding-bottom: 25px;
        padding-right: 30px;
        border-bottom: #ddd 1px solid;
    }

    .sideblocknews {
        padding-bottom: 65px;
    }

    .s-block:first-child {
        padding-top: 29px;
        border-top: #ddd 1px solid;
    }

    .s-block:last-child {
        padding-bottom: 0;
        border-bottom: 0 solid transparent;
    }

    .s-block__header {
        font: normal 18px/18px 'IntroBlack', 'Arial', 'sans-serif';
        margin-bottom: 30px;
        text-transform: uppercase;
        color: #333;
    }

    .sideblockwithperson .s-block__header {
        margin-bottom: 10px;
    }

    .s-block__text {
        font: normal 18px/21px 'PFDinTextPro-Light', 'Arial', 'sans-serif';
    }

    .s-block__text p br {
        font-size: 30px;
    }

    .s-block__text strong {
        font: normal 16px/18px 'PFDinMedium', 'Arial','sans-serif';
        display: block;
        color: #3f3f45;
        padding-bottom: 3px;
    }

        .s-block__text p strong {
            padding-top: 21px;
            margin-top: 23px;
            border-top: #d7d7d7 1px solid;
        }

            .s-block__text p strong:first-child {
                padding-top: 0;
                margin-top: 0;
                border: 0 solid transparent;
            }

    .s-block__text hr {
        border: 0 solid transparent;
        display: block;
        clear: both;
        background: #d7d7d7;
        width: 100%;
        height: 1px;
        margin: 15px 0 18px;
    }

.member__item {
    margin-bottom: 42px;
    min-height: 80px;
    position: relative;
}

.member__item:last-child {
    margin-bottom: 0;
}

.member__link {
    padding-left: 93px;
    line-height: 75px;
    min-height: 80px;
    display: block;
}

.member__img-container {
    -webkit-border-radius: 50%;
    overflow: hidden;
    max-width: 75px;
    max-height: 75px;
    border-radius: 50%;
    border: #fff 5px solid;
    position: absolute;
    top: 0;
    left: 0;
}

.member__link:hover .member__img-container {
    border-color: red;
}

.member__item:hover .member__img {
    border-color: #ec3331;
}

img.member__img[src*="nophoto.svg"] {
    width: 70px !important;
    height: 60px;
}

.member__name {
    display: inline-block;
    vertical-align: middle;
    font: normal 18px/20px 'PFDinTextCondPro', 'Arial', 'sans-serif';
    color: #231f20;
}

.member__item:hover .member__name {
    color: #1a6fb3;
}

.member__info {
    font: normal 17px/21px 'PFDinTextPro-Light', 'Arial', 'sans-serif';
    color: #3e3b3c;
}

.stat__item {
    margin-bottom: 20px;
    position: relative;
}

.stat__name {
    display: inline-block;
    vertical-align: middle;
    font: normal 18px/20px 'PFDinTextCondPro', 'Arial', 'sans-serif';
    color: #1a6fb3;
}

.stat__info {
    margin-bottom: 30px;
    font: normal 50px/50px 'IntroBold', 'Arial', 'sans-serif';
    color: #eb2227;
}

.wrap .more-news {
    position: relative;
    padding: 0;
    background: transparent;
    display: block;
}

.wrap .more-news .ico-morenews {
    right: 0;
}

.cloacked {
    display: none;
}

.gallery .rsArrow {
    bottom: 25px !important;
}

.textServicesMenu {
    margin: 0 0 70px 0;
}

.textServicesMenu a {
    margin-right: 30px;
    font: normal 20px/20px 'IntroBold', 'Arial', 'sans-serif';
}

.text .textServicesMenu a {
    color: #000;
}

.text .textServicesMenu a.active {
    color: #1a6fb3;
}

.text .textServicesMenu a:hover {
    color: #ee2b2c;
}

.textServicesText {
    display: none;
}

.textServicesText.active {
    display: block;
}

.textFeedback .form-group {
    margin-bottom: 30px;
}

.textFeedback .form-group label {
    display: block;
    margin-bottom: 7px;
    font: normal 18px/20px 'PFDinTextCondPro', 'Arial', 'sans-serif';
}

.textFeedback .form-group label span {
    display: block;
    margin-bottom: 3px;
}

.textFeedback .form-group select{
    max-width: 400px;
    width: 100%;
}

.textFeedback .form-group input {
    width: 400px;
    border: 0 solid transparent;
    border-bottom: #293a8d 2px solid;
    font: normal 14px/16px 'IntroBook', sans-serif;
    padding: 7px 10px 7px 10px;
    color: #000;
    background-color: #f9f9f9;
}

.textFeedback .form-group textarea {
    width: 400px;
    height: 70px;
    border: 0 solid transparent;
    border-bottom: #293a8d 2px solid;
    font: normal 14px/16px 'IntroBook', sans-serif;
    padding: 7px 10px 7px 10px;
    color: #000;
    background-color: #f9f9f9;
}

.textFeedback .form-group ul {
    margin: 5px 0 20px -45px;
    font: normal 16px/18px 'PFDinTextCondPro', 'Arial', 'sans-serif';
}

.textFeedback .form-group li {
    list-style: none;
    color: #ec282a;
}

.textFeedback input[type="submit"] {
    padding: 4px 10px;
    font: normal 16px/16px 'PFDinTextCondPro', 'Arial', 'sans-serif';
}

.textEvent p {
    margin-bottom: 5px !important;
}

.textEvent {
    margin-bottom: 70px;
}

.textEvent h2 {
    margin-bottom: 5px !important;
}

.textEvent h3 {
    margin-bottom: 15px !important;
    margin-top: 40px !important;
}

@media all and (max-width: 1366px){
    .header-with-edge {
        margin-top: 141px;
    }

    .gallery-collection {
        padding-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media all and (max-width: 1300px){

    .header-with-edge {
        padding-bottom: 25px;
    }

    .detail__name {
        padding-right: 30px;
        font-size: 32px;
        line-height: 32px;
    }

    .detail__name.mobile {
        padding: 30px;
    }

    .edge__left {
        padding-left: 30px;
    }

    .detail-sport {
        margin: 20px 0 0 30px;
    }

    .news--text {
        margin-left: 90px;
        margin-right: 30px;
    }

    .text blockquote {
        padding: 20px 0 25px !important;
    }

    .wrap__left {
        padding: 0 30px;
        overflow: hidden;
    }

    .text-block {
        padding-left: 30px;
        padding-right: 30px;
    }

    .text1280 {
        padding-left: 100px;
        padding-right: 100px;
    }

    .s-block {
        padding-right: 0;
        padding-left: 0;
        word-break: break-word;
    }

    .s-block__wrap {
        padding-left: 30px;
        padding-right: 30px;
    }

    .person__item {
        width: 100%;
        margin-bottom: 30px;
        padding-top: 3px;
    }

    .detail__item {
        display: block;
    }

    .detail__item  + .detail__item {
        padding-top: 7px;
        padding-left: 0;
        margin-left: 0;
    }

    .detail__item  + .detail__item:before {
        display: none;
    }
}

@media all and (max-width: 1152px) {
    .header-with-edge {
        margin-top: 170px;
    }
}

@media all and (max-width: 980px){

    .text-block__header {
        text-align: left;
        padding-left: 0;
    }

    .content-share,
    .social-icons,
    .content-share label {
        display: block !important;
    }

    .wrap__left {
        padding: 0;
    }

    .wrap_left_object,
    .wrap_right_object {
        display: block;
        width: 100%;
    }

    .person_wrap_left {
        padding: 0 30px;
    }

    .wrap .content-share label {
        font-size: 20px;
        line-height: 20px;
        padding-top: 30px;
        padding-bottom: 25px;
        padding-left: 30px;
    }

    .wrap .social-icons {
        margin-left: 35px ;
        padding-bottom: 30px;
    }

    .wrap .social-icons button {
        margin-right: 30px;
    }

    .wrap .share {
        margin-right: 10% !important;
        margin-left: 0 !important;
    }

    .wrap .content-comments {
        padding: 0 10px 0 20px;
    }

    .wrap .content-comments label {
        font: normal 20px/20px 'IntroBlack', 'sans-serif';
        padding: 50px 0 20px 10px;
    }

    .photo-gallery__item {
        width: calc(50% - 5px);
    }

    .photo-gallery__item:nth-child(3n) {
        margin-right: 10px;
    }

    .photo-gallery__item:nth-child(2n) {
        margin-right: 0;
    }

    .text-block .picList__item {
        width: 50%;
    }

    .text-block .more-content {
        width: calc(100% - 30px);
    }

    .text .incut{
        padding-left: 55px !important;
    }

    .text .incut:before {
        width: 35px !important;
    }

    .textSlider .rsThumbs {
        display: none;
    }

/*    .gallery {
        padding-bottom: 30px;
    }
*/
    .gallery[count="0"],
    .gallery[count="1"] {
        padding-bottom: 0;
    }

    .gallery .rsArrow {
        bottom: -45px !important;
    }

    .textSliderSlides {
        width: 100%;
        display: block;
        position: relative;
        top: -20px;
        color: #ec2b2b;
        font: normal 18px/21px 'PFDinTextCondPro','Arial','sans-serif';
        text-align: center;
    }

    .wrapTextPage .detail__name {
        margin-bottom: 60px;
    }

    .wrapTextPage {
        margin-top: 140px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .textPage {
        padding-left: 30px;
        padding-right: 30px;
    }

    .textPage img {
        max-width: 100%;
        height: auto;
    }

    .gallery-collection {
        margin-left: 30px;
        margin-right: 30px;
    }

    .news--text {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media all and (max-width: 768px){

    .detail__name {
        font-size: 21px;
        line-height: 30px;
    }

    .person_wrap_left,
    .gallery-person-collection {
        padding: 0;
    }

    .header-with-edge {
        margin-top: 94px;
    }

    .gallery {
        margin-left: 0;
    }

    .wrap__content,
    .wrap__left,
    .wrap__right,

    .header-with-edge,
    .edge__left,
    .edge__right {
        display: block;
        width: 100%;
    }

    .news__text img {
        width: 100%;
    }

    .text-block .picList__item {
        width: 100%;
        margin-bottom: 30px;
    }
}

.photo-gallery__item {
    float: left;
    margin: 0 0 10px 0;
    overflow: hidden;
    width: calc(99% / 3);
    max-height: 160px;
}

.photo-gallery__item:nth-child(3n-1){
    width: calc(100% / 3 - 20px);
    margin: 0 10px;
}

.photo-gallery__item:nth-child(3n+1){
    clear: left;
}

.photo-gallery__img {
    display: block;
    height: auto;
    max-width: 100%;
}

@media all and (max-width: 1380px){
    .gallery-collection {
        border: 0 solid transparent;
    }

    .photo-gallery__link {
        max-height: 155px;
    }
}

@media all and (max-width: 1152px){
    .photo-gallery__item {
        max-height: 120px;
    }

    .photo-gallery__link {
        max-height: 150px;
    }
}

@media all and (max-width: 980px){
    .photo-gallery__item {
        width: calc(50% - 5px);
        max-height: 160px;
    }

    .photo-gallery__item:nth-child(3n-1){
        width: calc(50% - 5px);
        margin: 0;
    }

    .photo-gallery__item:nth-child(3n+1){
        clear: none;
    }

    .photo-gallery__item:nth-child(2n+1){
        clear: left;
    }

    .photo-gallery__item:nth-child(3n){
        margin-right: 0;
    }

    .photo-gallery__item:nth-child(2n - 1){
        margin-right: 5px;
    }

    .photo-gallery__item:nth-child(2n){
        margin-left: 5px;
    }
}

@media all and (max-width: 840px){
    .photo-gallery__item {
        display: block;
        width: 100%;
        max-height: 100%;
        margin: 0 0 25px !important;
    }

    .photo-gallery__item:nth-child(3n-1){
        width: 100%;
    }

    .photo-gallery__link {
        display: inline-block;
        max-height: 100%;
    }

    .photo-gallery__img {
        display: block;
        height: auto;
        max-width: 100%;
        width: auto;
    }

    .textFeedback .form-group input {
        width: 100%;
    }

    .textFeedback .form-group textarea {
        width: 100%;
    }
}
