html {
    height: 100%;
}


body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: transparent;
}

.background-start {
    background: rgba(0, 0, 0, 0) url("../images/background-start.jpg") no-repeat center center fixed;
    background-size: cover;
    text-align: center;
}

.background-main {
    background: rgba(0, 0, 0, 0) url("../images/background-main.jpg") no-repeat center center fixed;
    background-size: cover;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
    position: relative;
}

footer {
    background-color: #f5f5f5;
    bottom: 0;
    height: 50px;
    position: absolute;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid #ddd;
    /*font-family: arial, sans-serif;*/
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content:
        /*"\e113"*/
        "\e151";
}

a.desc:after {
    content:
        /*"\e114"*/
        "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.required>label:after {
    content: "\0000a0*";
    color: red;
}

.years ul.pagination {
    margin: 0;
}

.years ul.pagination a {
    color: #8B0000;
}

.years ul.pagination .active a {
    color: #ffffff;
}

.top5 {
    margin-top: 5px;
}

.top15 {
    margin-top: 15px;
}

.top20 {
    margin-top: 20px;
}

.top50 {
    margin-top: 50px;
}

.left3 {
    margin-left: 3px;
}

@font-face {
    font-family: 'Cuprum';
    font-style: normal;
    font-weight: 400;
    src: local('Cuprum'), local('Cuprum-Regular'), url('../fonts/cuprum.woff2') format('woff2'), url('../fonts/cuprum.woff') format('woff');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto Condensed'), local('RobotoCondensed-Regular'), url('../fonts/robotocondensed.woff2') format('woff2'), url('../fonts/robotocondensed.woff') format('woff');
}

@font-face {
    font-family: 'Oranienbaum';
    font-style: normal;
    font-weight: 400;
    src: local('Oranienbaum'), local('Oranienbaum-Regular'), url('../fonts/oranienbaum.woff2') format('woff2'), url('../fonts/oranienbaum.woff') format('woff');
}

#title {
    font-family: 'Cuprum', sans-serif;
    font-size: 42px;
    padding-top: 17px;
    padding-bottom: 0;
}

#index #title {
    padding-top: 0;
}

#title .isert {
    color: #8B0000;
}

#title a {
    text-decoration: none;
    color: inherit;
}

#subtitle {
    font-family: 'Cuprum', sans-serif;
    font-size: 22px;
    padding-top: 0px;
    padding-bottom: 0px;
    top: -7px;
    position: relative;
    color: #8B0000;
    line-height: 21px;
}

.welcome h2 {
    font-family: 'Roboto Condensed', sans-serif;
}

/* uikit ---------------------------------------- */

@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/fontawesome-webfont.woff2") format("woff2"), url("../fonts/fontawesome-webfont.woff") format("woff");
}

*+address,
*+blockquote,
*+dl,
*+fieldset,
*+figure,
*+ol,
*+p,
*+pre,
*+ul {
    margin-top: 0;
}

.uk-slidenav {
    color: rgba(50, 50, 50, 0.8);
}

/* ------------------------------------------- */

.comma:after {
    content: ",";
}

.comma:last-child:after {
    content: "";
}

h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 30px;
    padding-top: 0;
}

h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
}

p.date {
    font-family: 'Roboto Condensed', sans-serif;
    padding-bottom: 0px;
    margin-bottom: 5px;
    font-size: 15px;
}

.history p.date {
    font-size: 17px;
    margin-bottom: 0px;
}

.event img.main {
    float: left;
    padding-right: 10px;
    max-width: 300px;
    max-height: 200px;
}

.event-gallery img {
    padding-top: 4px;
}

#photo-gallery,
#video-gallery {
    display: none;
}

.post {
    font-weight: bold;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.list-view {
    width: 100%;
}

/* --------------------------------------------------- */

.item-event,
.item-achievement {
    padding-top: 25px;
    margin-right: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    line-height: 23px;
    display: inline-flex;
    width: 48%;
}

.item-event .info,
.item-achievement .info {
    padding-left: 10px;
}

.item-event .photo,
.item-achievement .photo {
    min-width: 150px;
}

.item-event .photo img,
.item-achievement .photo img {
    border-radius: 3px;
    max-height: 100px;
}

.item-event a:hover {
    text-decoration: none;
    color: #204d74;
}

/* --------------------------------------------------- */

.item-person {
    padding-top: 15px;
    margin-right: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: 19px;
    display: inline-flex;
    width: 31%;
}

.item-person .info {
    padding-left: 10px;
}

.item-person .info .post {
    font-size: 14px;
    font-weight: normal;
    padding-bottom: 0;
    margin-bottom: 0;
}

.item-person .photo {
    min-width: 80px;
}

.item-person .photo img {
    max-height: 100px;
    border-radius: 3px;
}

/* --------------------------------------------------- */

@media (max-width: 992px) {
    .item-person {
        width: 48%;
    }

    .item-event,
    .item-achievement {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .item-person {
        width: 100%;
    }
}

/* --------------------------------------------------- */

.person img.photo {
    height: 200px;
    margin-bottom: 10px;
    float: left;
    margin-right: 15px;
    border-radius: 3px;
}

.person .description,
.event .text,
.achievement .text {
    white-space: pre-line;
}

.explanation {
    /*font-family: 'Roboto Condensed', sans-serif;*/
    font-family: arial, sans-serif;
    color: #808080;
    font-size: 12px;
}

.achievement img {
    height: 200px;
    float: left;
    padding-right: 15px;
    margin-bottom: 10px;
}

p.header {
    font-family: 'Roboto Condensed', sans-serif;
    padding-bottom: 0px;
    margin-bottom: 5px;
    font-size: 17px;
}

.return {
    margin-top: 20px;
}

.event .return {
    margin-top: 0;
}

footer p a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
}

.navbar {
    font-family: "Cuprum", sans-serif;
    font-size: 17px;
    margin-bottom: 5px;
    min-height: inherit;
}

.navbar-nav>li>a {
    line-height: 18px;
    padding: 13px 10px;
}

.navbar-inverse {
    background-color: #303030;
    border-color: #303030;
}

.navbar-inverse .navbar-nav>li>a {
    color: #cfcfcf;
}

.navbar .dropdown-menu {
    font-size: inherit;
}

.navbar .dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    background-color: #e8e8e8;
}

#director {
    width: 180px;
    float: left;
    margin-right: 15px;
}

#director .panel-body {
    padding: 5px;
}

#director .panel-footer {
    /*padding: 10px 5px 10px 5px;*/
    padding: 10px;
}

#director p {
    margin-bottom: 5px;
    font-size: 13px;
}

#director .fio {
    font-family: "Cuprum", sans-serif;
    font-size: 20px;
    line-height: 22px;
}

.navbar #login {
    font-family: arial, sans-serif;
    font-size: 12px;
    padding-right: 20px;
}

/* .navbar #login>li>a {
    color: #303030;
} */

.navbar #login>li>a:hover {
    color: white;
}

.btn-control,
#btn-enter {
    background-color: #820000;
    color: #fff;
}

.btn-control:hover,
#btn-enter:hover {
    background-color: #5B0000;
    color: #fff;
}

#btn-enter {
    border-radius: 4px;
    font-family: "Cuprum", sans-serif;
    font-size: 19px;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 30px;
}

#index {
    text-align: center;
}

#index .bx-wrapper {
    margin-bottom: 20px;
}

.bx-wrapper {
    border-radius: 4px;
}

#index-slider {
    /*display: none;*/
    visibility: hidden;
}

#history-slider {
    visibility: hidden;
}

img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.aphorism {
    /*font-family: "Marck Script", sans-serif;*/
    font-family: 'Oranienbaum', serif;
    font-size: 22px;
    line-height: 32px;
    padding-left: 60px;
    padding-right: 60px;
}

.author {
    /*font-family: "Cuprum", sans-serif;*/
    font-family: 'Oranienbaum', serif;
    font-size: 22px;
}

#logo {
    position: relative;
    left: 15px;
}

.info-button:hover {
    background-color: #cacaca;
}

.uk-overlay-panel p.history {
    font-size: 18px;
}

#index #title {
    padding-bottom: 0;
}


.history .uk-slideshow .info {
    font-family: 'Roboto Condensed';
    font-size: 18px;
}

.history .info .glyphicon {
    position: relative;
    top: 4px;
}

.history .uk-slideshow .info a {
    text-decoration: none;
}

.history .uk-slideshow .info a:hover {
    text-decoration: underline;
}

.btn-group a {
    font-family: 'Roboto Condensed';
    font-size: 15px;
    color: #a31316;
}

.btn-group .active {
    background-color: #3278b2;
    color: white;
}

.btn-group a.all-symbol {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media all and (max-width: 991px) {
    .navbar {
        font-size: 15px;
    }

    .navbar-nav>li>a {
        padding-right: 8px;
        padding-left: 8px;
    }

    .navbar-right {
        margin-right: -7px;
    }
}

.person dl dt {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: normal;
    color: black;
}

.pre-line {
    white-space: pre-line;
}

.point-3d-tour p {
    font-size: 17px;
    padding: 0;
    margin: 0;
}

.summary {
    margin-top: 30px;
    text-align: center;
}

.summary .uk-thumbnail-caption {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 7px;
}

.summary .uk-thumbnail {
    border-radius: 4px;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 20px;
}

.summary .uk-thumbnail {
    background-color: #ebebeb;
}

.summary .uk-thumbnail:hover {
    background-color: #d9d9d9;
}

/* ---------------------------------------------------- */

.flip-container {
    perspective: 600px;
    position: relative;
    width: 350px;
    height: 230px;
}

.flip-container .front img {
    border: 1px solid #c6c6c6;
    border-radius: 3px;
}

.flip-container .back {
    text-align: center;
    /*background-color: #EEE;*/
    background-color: white;
    word-wrap: break-word;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    line-height: 20px;
    color: black;
    padding: 15px;
    border: 1px solid #c6c6c6;
    border-radius: 3px;
}

.flip-container .back .icon {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 60px;
    /*color: #505050;*/
    color: #700000;
    display: none;
}

@media (max-width: 1200px) {
    .flip-container {
        perspective: 600px;
        position: relative;
        width: 290px;
        height: 191px;
    }

    .summary .uk-thumbnail {
        margin-right: 10px;
        margin-bottom: 15px;
    }
}

.person-photo-mini {
    max-width: 115px;
    max-height: 150px;
    width: auto;
    height: auto;
    display: block;
}

/* Для заглушки */
.item-person .photo img[src*="noMiniPerson"] {
    width: 77px;
    height: 100px;
}