/*html, body {
    height: 100%;
}
.cover {
    height: calc(100% - 125px);
}
.cover .row, .cover .main {
    height: 100%;
}*/
input, textarea, select {
    -webkit-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
}

body {
    /*background-image: url('../images/bg-main.jpg');*/
    background-image: url('../images/docs-bg.jpg');
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;

    text-shadow: none;
    font-family: OpenSans, sans-serif;
    font-size: 14px;
    line-height: 2.29;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
}
body.photo {
    background-image: url('../images/photo-bg.jpg');
}
body.video {
    background-image: url('../images/video-bg.jpg');
}
body.exponat {
    background-image: url('../images/docs-bg.jpg');
}
p {
    line-height: 1.5;
}

.send-materials img {
    margin: 0 auto;
    width: 150px;
    padding-top: 20px;
}

.send-materials.photos img {
    padding-top: 35px;
}

.placeholders {
    margin-top: 32px;
}

.placeholders .send-materials:hover {
    background-color: #ed1c24;
}

.send-materials {
    cursor: pointer;
    width: 200px;
    height: 200px;
    background-color: #959595;
    margin: 0 auto;
}

/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    /*padding-top: 50px;*/
}

/* Custom default button */
.btn-primary,
.btn-primary:active,
.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    text-shadow: none; /* Prevent inheritence from `body` */
    background-color: #ed1c24;
    border: none;
    min-width: 176px;
    border-radius: 0;
}

.btn {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: none;
}

.btn-default,
.btn-default:active,
.btn-default:hover,
.btn-default:focus {
    color: #fff;
    text-shadow: none; /* Prevent inheritence from `body` */
    background-color: #006eae;
    border: none;
    border-radius: 0;
}

.navbar-header > .btn-default,
.navbar-header > .btn-default:active,
.navbar-header > .btn-default:hover,
.navbar-header > .btn-default:focus {
    background: none !important;
}

/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

.navbar {
    border: 0;
    margin-bottom: 0 !important;
}

.navbar-inverse {
    background: none;
    color: #ffffff;
}

.navbar-inverse .navbar-collapse {
    background-color: #1e1711;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
    width: 150px;
}

.navbar-header img {
    height: 100%;
}

@media (min-width: 768px) {
    .navbar-header .navbar-brand:before {
        width: calc((100% - 750px) / 2 + 308px);
    }

    .navbar-header .navbar-brand:after {
        width: calc(100% - 322px - ((100% - 750px) / 2));
    }
}

@media (min-width: 992px) {
    .navbar-header .navbar-brand:before {
        width: calc((100% - 970px) / 2 + 308px);
    }

    .navbar-header .navbar-brand:after {
        width: calc(100% - 322px - ((100% - 970px) / 2));
    }
}

@media (min-width: 1200px) {
    .navbar-header .navbar-brand:before {
        width: calc((100% - 1170px) / 2 + 308px);
    }

    .navbar-header .navbar-brand:after {
        width: calc(100% - 322px - ((100% - 1170px) / 2));
    }
}

@media (min-width: 768px) {
    body {
        /*padding-top: 124px;*/
    }

    .navbar-header {
        height: 124px;
    }

    .navbar-header .navbar-brand:before {
        content: '';
        position: absolute;
        top: 61px;
        border-bottom: 1px solid rgba(255, 255, 255, 1);
        left: 0;
    }

    .navbar-header .navbar-brand:after {
        content: '';
        position: absolute;
        top: 103px;
        border-bottom: 1px solid rgba(255, 255, 255, 1);
        right: 0;
    }

    .navbar-header img {
        height: 89px;
        margin-left: 135px;
    }

    .navbar-inverse .navbar-collapse {
        background: none;
    }

    .navbar-nav > li > a {
        text-transform: uppercase;
        color: #ffffff;
        font-size: 14px;
        font-weight: 400;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .navbar-nav > li.active > a,
    .navbar-nav > li > a:hover {
        background-color: #ed1c24 !important;
    }

    .nav-sidebar li.active a:after,
    .nav-sidebar li:hover a:after {
        content: '';
        color: #fff;
        position: absolute;
        right: 0;
        top: 17px;
        border: 10px solid transparent; /* Прозрачные границы */
        border-right: 10px solid white;
    }

    #navbar .navbar-form {
        margin: 67px -15px 0 10px;
    }

    #navbar.nav {
        margin-top: 65px;
    }

    .sidebar {
        float: left;
        top: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: hidden; /* Scrollable contents if viewport is shorter than content. */
    }
}

/* Sidebar navigation */
.nav-sidebar a {
    font-size: 16px;
    font-weight: 400;
    color: #959595;
}

.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
}

.nav-sidebar > li.active > a {
    color: #fff;
}

.nav-sidebar > li > a:hover,
.nav-sidebar > li > a:focus {
    background: none;
    color: #fff;
}

/*
 * Main content
 */

.main {
    padding: 20px;
    background-color: #fff;
    width: 100%;
}

.main-row::after {
    display: none;
}

@media (min-width: 768px) {

    .placeholders {
        max-width: 850px !important;
        margin: 32px auto !important;
    }

    .main-row::after {
        display: block;
    }

    .main {
        width: calc(100% - 150px);
        padding-right: 40px;
        padding-left: 40px;
        float: right;
    }
}

.main .page-header {
    margin-top: 0;
}

/**
 * Hide sidebar
 */
.main-row.min .main {
    width: 100% !important;
}

.main-row.min .sidebar {
    display: none !important;
}

.main-row.min::after {
    border: 22px solid transparent;
    border-left: 6px solid #ed1c24;
    left: 2px;
}

.main-row::after {
    display: none !important;
    border: 22px solid transparent;
    border-right: 6px solid #ed1c24;
    cursor: pointer;
    content: '';
    position: fixed;
    top: 50%;
    left: 130px;
}

.main-row::after:hover {
    left: 10px !important;
}

.main-row {
    -webkit-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 700;
    line-height: 0.5;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

/*
 * User
 */

.cover .form-control:-webkit-autofill:focus,
.cover .form-control:-webkit-autofill {
    -webkit-box-shadow: inset 0 -1px 0 0 #bfbfbf, inset 0 0 0 50px #fff !important;
    -webkit-text-fill-color: #354052 !important;
}

.cover .form-control.error:-webkit-autofill,
.cover .form-control.error:-webkit-autofill:focus,
.cover .form-control.error {
    box-shadow: inset 0 -1px 0 0 #ed1c24 !important;
    -webkit-box-shadow: inset 0 -1px 0 0 #ed1c24, inset 0 0 0 50px #fff !important;
    -webkit-text-fill-color: #ed1c24 !important;
}

.has-error .help-block.error:before {
    content: '×';
    text-align: center;
    color: #fff;
    width: 16px;
    height: 16px;
    background-color: #ed1c24;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    position: absolute;
    top: -1px;
    left: 0;
    line-height: 1.45;
}

.has-error .control-label {
    color: #ed1c24;
}

.has-error .help-block.error,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
    padding-left: 25px;
    display: inline;
    position: relative;
    line-height: 1.58;
    font-size: 12px;
    color: #ed1c24;
}

.cover {
    text-align: center;
}

.cover-left {
    text-align: left !important;
}

.cover .form-control {
    font-size: 16px;
    text-align: center !important;
    background-color: #ffffff !important;
    box-shadow: inset 0 -1px 0 0 #bfbfbf;
    border: none !important;
    border-radius: 0 !important;
}

.cover .select2-container .select2-choice {
    border: none !important;
    background: none !important;
    filter: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.cover-left .btn {
    text-align: left !important;
    padding-left: 10px;
}

.cover-left .form-control {
    font-size: 16px;
    text-align: left !important;
}

.cover .select2-choices {
    font-size: 16px;
    border: none !important;
    background: none !important;
    filter: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.cover .control-label {
    font-size: 16px;
    font-weight: normal;
    padding-left: 10px;
    color: #998;
}

.cover textarea.form-control:active {
    border-radius: 0 !important;
    border-bottom: solid 1px #354052 !important;
}

.cover .content-left .control-label {
    font-weight: 400 !important;
}

.cover .content-left .form-control {
    text-align: left !important;
}

.cover .form-control:focus {
    color: #354052 !important;
    box-shadow: inset 0 -1px 0 0 #354052 !important;
}

.cover input.form-control,
.cover input.select2-container,
.cover textarea.form-control {
    display: inline !important;
}

.cover .btn-xs {
    padding: 2px 5px 0 5px;
}

.user-avatar {
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}

.user-avatar.big-user-avatar {
    width: 56px;
    height: 56px;
}

.send-button-label span {
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    color: #606060;
}

.send-button-label h4 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 0.5;
    font-size: 19px;
    margin-bottom: 0;
    margin-top: 13px;
    color: #333;
    text-decoration: none;
}

.send-button-label {
    margin-left: 66px;
    color: #333;
    text-decoration: none;
}

.send-button-wrapper a {
    text-decoration: none;
}

.send-button-wrapper {
    clear: both;
    float: right;
    z-index: 99;
    position: relative;
    height: 56px;
    width: 260px;
}

.send-button {
    background: url(../images/plusic.png) no-repeat center;
    -webkit-background-size: 24px 24px;
    background-size: 24px 24px;
    background-color: #ed1c24;
    position: absolute;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 56px;
    outline: none;
    text-align: center;
    width: 56px;
    z-index: 2;
    left: 0;
    top: 0;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-animation: expandFab .4s ease-out;
    animation: expandFab .4s ease-out;
}

@media (max-width: 767px) {
    .send-button {
        left: inherit;
        top: inherit;
        right: 32px;
        bottom: 32px;
    }
}

.login-wrapper > div:first-child {
    margin-right: 12px;
}

.login-wrapper > div {
    display: inline-block;
}

.login-wrapper a {
    color: #fff;
    opacity: 0.6;
    font-size: 14px;
    line-height: 9px;
}

.login-wrapper {
    font-size: 13px;
    color: #fff;
    opacity: 0.6;
    z-index: 99;
    position: absolute;
    TOP: 10PX;
    right: 30px;
}

/* news */
.post-info {
    padding-bottom: 10px;
    position: relative;
}
.post-info > span:not(.doc-tag) {
    padding-right: 10px;
}
.doc-tag {
    position: relative;
    z-index: 30;
    display: inline-block;
    bottom: 2px;
    text-transform: uppercase;
    border: 1px solid;
    border-radius: 2px;
    font-weight: 700;
    line-height: 1;
    color: #555;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.doc-tag-small {
    height: 15px;
    line-height: 15px;
    padding: 0 5px;
    font-size: 10px;
    letter-spacing: .5px;
}
.doc-tag-fill {
    color: #fff;
    background-color: #ed1c24;
    border-color: #ed1c24;
}
.user-small-avatar {
    line-height: 1;
    position: relative;
    top: -2px;
    display: inline-block;
}
.addition-info .photo__subtitle {
        margin-top: 2px;
        font-size: 14px;
        height: 50.4px;
    }
.addition-info .daynews__item_big {
    margin: 56px 0;
}

.addition-info > div > h4,
.addition-info-gallery > div > h4 {
    margin-top: 20px !important;
}

.addition-info > div > h4,
.addition-info-gallery > div > h4 {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.addition-info > div:nth-child(2) > div:first-child {
    margin-top: 0 !important;
}
@media (min-width: 768px) {

    .addition-info > div > h4 {
        margin-top: 0 !important;
    }

    .addition-info .photo__subtitle {
        margin-top: 7px;
    }
    .addition-info .daynews__item_big {
       width: 80%;
       height: 150px;
       margin: 42px 0;
       float: right;
   }

    .addition-info > div > h4 {
        float: right;
        width: 80%;
    }
}

.sorter {
    padding-bottom: 5px !important;
}
.sorter > ul > li a:active,
.sorter > ul > li a:hover {
    text-decoration: none;
    background-color: #ed1c24;
}
.sorter > ul > li a {
    background-color: #B7B7B7;
    padding: 8px !important;
}
.sorter.letters > ul > li a:hover {
    background-color: #ed1c24;
    color: #fff;
}
.sorter.letters > ul > li a {
    background: none;
    color: #3D3D3D;
}

.sorter > ul > li a.asc:after,
.sorter > ul > li a.desc:after {
    content: '';
    color: #fff;
    position: absolute;
    color: #ed1c24 !important;
    bottom: -15px;
    left: 50%;
    left: calc(50% - 10px);
    border: 10px solid transparent; /* Прозрачные границы */
    border-top: 10px solid #ed1c24;
}
.sorter > ul > li a.asc,
.sorter > ul > li a.desc {
    background-color: #ed1c24;
    position: relative;
    color: #fff;
}
.sorter > ul > li > a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}
.person .caption h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}
.person .caption p {
    font-size: 12px;
    font-weight: 400;
}
.person .caption {
    padding: 0 !important;
}
.person .thumbnail {
    border: 0 !important;
}
.person > div {
    padding-right: 0 !important;
}
.daynews__item.player-wrap .video-icon a,
.video-player > ul > li a {
border: 0;
border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
    height: 100%;
    width: 100%;
}
.daynews__item.player-wrap a .video-icon,
.video-player > ul > li a .video-player-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.daynews__item.player-wrap a:hover .video-icon > img,
.video-player > ul > li a:hover .video-player-poster > img {
  opacity: 1;
}
.daynews__item.player-wrap .video-icon,
.video-player > ul > li a .video-player-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.daynews__item.player-wrap .video-icon > img,
.video-player > ul > li a .video-player-poster > img {
  left: 50%;
  opacity: 0.8;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.daynews__item.player-wrap img,
.video-player .video .video-player-poster img {
    height: 64px;
    margin-left: -32px;
    margin-top: -32px;
    opacity: 0.8;
    width: 64px;
}
.daynews__item.player-wrap a:hover .video-icon,
.video-player > ul > li a:hover .video-player-poster {
  background-color: rgba(0, 0, 0, 0.3);
}

.sorter.letters {
    text-align: left !important;
}

/* Начала блока комментариев */
.comments-section {
    font: 13px arial, helvetica, sans-serif;
    color: #333333;
}

.comments-section-count-feed {
    padding: 0 0 0 7px;
    font-size: 24px;
    font-weight: normal;
}

.comments-add-form {
    padding: 0 0 0 86px;
    position: relative;
    margin: 0 0 -10px 0;
}

.comments-add-text textarea {
    background: #f5f5f5;
    padding: 0 15px;
    margin: 0 0 0 -34px;
    line-height: 36px;
    height: 36px;
    width: 100%;
    border: 1px solid #eeeeee;
    resize: none;
    box-shadow: -1px -1px 0 #dddddd, 1px -1px 0 #dddddd, 0px -2px 0 #c6c6c6, -1px -2px 0 #c6c6c6, 1px -2px 0 #c6c6c6;
}

.comments-item {
    position: relative;
    margin: 20px 0 0 0;
}

.comments-item-avatar, .comments-add-ava {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
}

.comments-item-avatar img, .comments-add-ava img {
    width: 38px;
    height: 38px;
    border-radius: 5px;
    border: 1px solid #d6d6d6;
}

.comments-item-main {
    padding: 0 0 0 54px;
}

.comments-item-author {
    padding: 0px 0 7px 0;
    font-weight: bold;
    font-size: 15px;
    color: #8f8f8f;
}

.comments-item-author a {
    color: #8f8f8f;
}

.comments-item-top, .comments-item-top a {
    color: #a5a5a5;
    font-size: 14px;
}

.comments-item-info {
    overflow: hidden;
    display: block;
}

.comments-item-date {
    padding: 0 0 0 22px;
    line-height: 20px;
    font-weight: normal;
    height: 15px;
    background: url('../images/cal-reply.png') no-repeat 0 0;
}

.comments-item-reply {
    float: right;
    padding: 0 0 0 24px;
    height: 14px;
    line-height: 14px;
    background: url('../images/cal-reply.png') no-repeat 0 -15px;
}

.comments-item-reply a {
    text-decoration: underline;
}

.comments-item-reply a:hover {
    text-decoration: none;
}

.comments-item-message {
    padding: 5px 0;
    font-size: 13px;
    color: #333333;
    line-height: 19px;
    overflow: hidden;
}

/* Вложенные комментарии */
.comments-item-child {
    background: #f5f5f5;
    margin: 10px 0 0 0;
}

.comments-item-child .comments-item-main:before {
    display: block;
    content: '';
    background: url('../images/comment-marker.png') no-repeat;
    width: 34px;
    height: 13px;
    margin: -31px 0 18px 0;
}

.comments-item-child .comments-item-main {
    margin: 18px 20px;
    padding: 18px 0 10px 54px;
}

.comments-item-child .comments-item-avatar {
    left: 20px;
    top: 18px;
}

.comments-item-child .comments-item-date {
    background-position: 0 -29px;
}

.black-bg .main .mobile-thing {
    height: 100%;
    margin-bottom: 50px;
}
.black-bg .main .mobile-thing-descrption {
    line-height: 1.2;
}
.black-bg .main h2 {
    text-transform: uppercase;
}
.black-bg .main {
    background: radial-gradient(circle 563px at center, rgba(61, 44, 35, 0.8) 0%, rgba(22, 15, 9, 0.8) 100%);
    color: #fff;
}
.eclipsess-7 {
    max-height: 140px;
    margin-top: 2px;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}