* {
    font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
}

a {
    color: #316088;
}

a:hover {
    color: #9b0000;
}

.debug * {
    border: 1px solid navy;
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#header {
    background: url("../pic/horizontal.png") repeat-x bottom, url("../pic/clouds.png");
    height: 68px;
    padding: 6px 10px 0 10px;
}

#bottom {
    background: url("../pic/horizontal.png") repeat-x top, url("../pic/ice.png");
    height: 150px;
    padding-top: 15px;
}

#bottom div {
    font-size: 0.75rem;
    margin-top: 5px;
    text-align: center;
}

#left {
    background: url("../pic/horizontal.png") repeat-x top, url("../pic/mbg.png");
    padding-top: 10px;
    padding-bottom: 5px;
}

#left nav {
    display: none;
}

#right {
    background: url("../pic/horizontal.png") repeat-x top, url("../pic/mbg.png");
    padding-top: 10px;
    padding-bottom: 5px;
}

#header_big {
    display: none;
}

#header_small {
    display: flex;
    height: 68px;
    justify-content: space-between;
}

#sm_name {
    font-size: 0.6rem;
    font-weight: bolder;
    color: #316088;
    padding-top: 10px;
    text-align: center;
}

aside {
    padding: 5px;
}

.block-name {
    background: url("../pic/block.png") repeat-x left;
    height: 20px;
    padding: 5px 4px 3px 4px;
    text-align: center;
    font-weight: bolder;
    color: #244664;
    line-height: 100%;
    vertical-align: middle;
}

.block-body {
    padding: 0 5px 0 5px;
    line-height: 1.2rem;
    font-size: 0.9rem;
}

.block-body li {
    padding-bottom: 5px;
}

.block-body li:last-child {
    padding-bottom: 0;
}

#main-content {
    background-color: #f8ffff;
    padding: 8px 8px 15px 8px;
    font-size: 1rem;
    line-height: 1.3rem;
}

#main-content p {
    margin: 5px 0;
}

#main-content p img {
    padding: 5px;
}

#page-name {
    color: #316088;
    font-size: 1.3rem;
    padding-bottom: 8px;
}

#main-content img {
    max-width: 100%;
    height: auto;
}

#calendar {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1rem;
}

.wrap-menu {

}

.smart-menu {
    display: none;
}

.menu-button {
    font-size: 2rem;
    color: #316088;
    padding: 4px;
    border: 2px solid #316088;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #f0fcff;
}

.smart-menu li {
    background-color: #316088;
    padding: 5px;
    border-bottom: 1px dashed #888;
    font-size: 1.2rem;
}

.smart-menu li:last-child {
    background-color: #316088;
    padding: 5px;
    border-bottom: none;
}

.smart-menu li:first-child {
    background-color: #316088;
    padding: 5px;
    border-top: 1px dashed #888;
    margin-top: 5px;
}

ul li {
    list-style-type: none;
}

.smart-menu a {
    color: #fff;
}

.smart-menu ul {
    padding-left: 20px;
}

#small_logo {
    width: 54px;
    height: 54px;
}

#fontsize {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-right: 10px;
    padding-left: 10px;
    margin-top: 0;
}

#fontsize_name {
    padding: 10px 15px 5px 15px;
    color: #fff;
}

.fs {
    background-color: #fff;
    color: #316088;
    border-radius: 10px;
    font-weight: bolder;
    cursor: pointer;
}

#fontsize_minus {
    padding: 13px 15px 5px 15px;
    font-size: 0.7rem;
}

#fontsize_plus {
    padding: 5px 15px 5px 15px;
    font-size: 1.5rem;
}

#search_block {
    display: none;
}

#search_small {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}

#search_small form {
    display: inline;
}

#sm_search_text {
    font-size: 1.2rem;
}

#sm_search_btn {
    font-size: 0.9rem;
    background-color: #6699c6;
    padding: 2px 8px 2px 8px;
    border-radius: 2px;
    border: 1px solid #fff;
    color: #fff;
    font-weight: bolder;
}

.slides li {
    display:inline-block;
    height:270px;
    overflow:hidden;
    padding:10px;
    width:320px;
    float:left;
    position: relative;
    background-color:#c6dde1;
    color:#244563;
    text-align:center;
    font-weight:bolder;
    text-decoration:underline;
}
.slides li img {
    padding-bottom:5px;
    width: 320px;
    height: 270px;
    border: 0;
}

.tizer_name {
    background-color: #ecfdfd;
    padding: 2px;
    border: 1px solid #c7dee2;
    font-weight: bolder;
    color: #316088;
}

.tizer {
    padding: 5px 5px 15px 5px;
    overflow: hidden;
}

.tizer img {
    margin: 10px 5px 5px 0;
    width: 100px;
    height: auto;
    float: left;
    padding: 0;
}

#mission_helper > li {
    display: inline-block;
    width: 320px;
}

.video {
    width: 100%;
    height: auto;
    display: block;
    max-width: 640px;
    margin: 0 auto;
}

.video-wrap {
    position: relative;
    height: 100vh;
    overflow: hidden;
    text-align: center;
}

.video-wrap iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.video-fix {
    max-width: 640px;
    max-height: 640px;
    margin: 0 auto;
}

.pager_wrap {
    text-align: right;
    margin: 20px;
    font-size: 0.9rem;
}

.pagination {
    margin: 0 3px;
    padding: 3px 8px;
    border: 1px solid #5f8eb8;
    font-weight: bolder;
    border-radius: 20px;
    background-color: #fff;
}

.pagination-select {
    margin: 0 3px;
    padding: 3px 8px;
    border: 1px solid #316088;
    font-weight: bolder;
    border-radius: 20px;
    background-color: #5f8eb8;
    color: #fff
}

.lib_cat_name {
    font-weight: bolder;
    text-align: center;
    padding-top: 15px;
}

.lib_letters {
    text-align: center;
}

.lib_letters a {
    padding: 0 2px;
}

.lib_cat {
    text-align: center;
    line-height: 1.5rem;
}

.left {
    text-align: left;
    padding: 10px 0;
}

.right {
    text-align: right;
    padding: 10px 0;
}

.arrows {
    margin: 0 3px;
    padding: 3px 8px;
    border: 1px solid #5f8eb8;
    font-weight: bolder;
    border-radius: 20px;
    background-color: #fff;
    display: inline-block;
}

.author {
    padding: 15px 0;
    text-align: center;
    font-weight: bolder;
}

.persons_wrap {
    display: flex;
    flex-direction: row;
    padding: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.person {
    width: 210px;
    margin: 5px 10px 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.person_name {
    margin: 0 3px 10px 3px;
    padding: 3px 8px;
    border: 1px solid #5f8eb8;
    border-radius: 20px;
    background-color: #fff;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1rem;
}

.person_name a {
    font-weight: bolder;
}

.person_pic {
    width: 210px;
    height: 300px;
}

.person_title {
    text-align: center;
    font-size: 0.9rem;
}

.wrong {
    color: red;
    text-align: center;
    padding: 30px;
}

.good {
    color: green;
    text-align: center;
    padding: 30px;
}

.finded {
    padding-left: 30px;
}

.finded span {
    color: red;
    font-weight: bolder;
}

.searched {
    padding-bottom: 15px;
}

.search, .find {
    text-align: center;
}

.search input {
    border: 1px solid gray;
    border-radius: 2px;
    margin-bottom: 5px;
    width: 100%;
    font-size: 1.2rem;
}

.find input {
    background-color: #B0E0E6;
    padding: 2px;
    font-size: 1rem;
    border: 1px solid #6495ED;
}

ol {
   padding-left: 30px;
}

.navi_string {
    padding-bottom: 15px;
    font-size: 0.8rem;
}

.navi_string a {
    margin: 2px 2px;
    padding: 2px 6px;
    border: 1px solid #5f8eb8;
    border-radius: 20px;
    background-color: #fff;
    display: inline-block;
}

.navi_string span {
    margin: 2px 2px;
    padding: 4px 8px;
    border: 1px solid #316088;
    border-radius: 20px;
    background-color: #5f8eb8;
    color: #fff
}

#shedule {
    width: 99%;
    margin: auto;
}

#shedule td {
    padding: 10px;
}

@media screen and (min-width: 1200px) {

    #left {
        background: url("../pic/vertical.png") repeat-y right, url("../pic/mbg.png");
        padding-top: 0;
        padding-right: 10px;
        order: 1;
        min-width: 200px;
    }

    #left nav {
        display: block;
        list-style-type: none;
        padding-left: 10px;
    }

    #left nav li {
        font-weight: bolder;
        color: #3c668a;
        font-size: 0.9rem;
    }

    #left nav a {
        font-weight: normal;
        text-shadow: none;
        text-decoration: none;
        color: #004;
    }

    #left nav a:hover {
        text-decoration: underline;
        color: #9b0000;
    }

    #right {
        background: url("../pic/vertical.png") repeat-y left, url("../pic/mbg.png");
        padding-top: 0;
        padding-left: 10px;
        order: 3;
        min-width: 200px;
    }

    #header {
        height: 209px;
        padding: 0;
    }

    #header_big {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 200px;
    }

    #header_big div:last-child {
        width: 256px;
        text-align: right;
    }

    #big_logo {
        width: 256px;
        height: 200px;
    }

    #big_title_pic {
        width: 400px;
        height: 133px;
    }

    #big_title_div {
        padding-top: 33px;
    }

    #big_icon_pic {
        width: 133px;
        height: 200px;
    }

    #header_small {
        display: none;
    }

    footer div {
        display: flex;
    }

    #bottom {
        height: 50px;
        margin-bottom: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 10px 0 10px;
    }

    #bottom div {
        font-size: 0.75rem;
        margin-top: 5px;
        color: #444;
    }

    #disclaimer {
        text-align: center;
    }

    #contacts {
        text-align: right;
        flex: none;
        display: block;
    }

    aside {
        width: 190px;
        padding: 5px;
        align-content: center;
    }

    #main-content {
        order: 2;
        min-height: 100%;
        padding: 15px 15px 30px 15px;
        width: 100%;
    }

    #center-row {
        flex-grow: 1;
        display: flex;
        flex-wrap: nowrap;
    }

    .smart-menu {
        display: none;
    }

    .submenu {
        padding-left: 20px;
    }

    .search, .find {
        text-align: center;
    }

    .search input {
        border: 1px solid gray;
        border-radius: 2px;
        margin-bottom: 5px;
        font-size: 1rem;
        max-width: 640px;
    }

    .find input {
        background-color: #B0E0E6;
        padding: 2px 5px;
        font-size: 0.8rem;
        border: 1px solid #6495ED;
    }

    #search_block {
        display: block
    }

    .slider {
        font-size: 0.9rem;
    }

    .slides li {
        line-height: 1rem;
    }
    .slides li img {
        padding-bottom:5px;
        width: 320px;
        height: 240px;
        border: 0;
    }

    #shedule {
        width: 85%;
        margin: auto;
    }

    #wide-menu {
        line-height: 1.5rem;
        margin-top: 5px;
    }
}

@media print {
    #header, .smart-menu, #left, #right, #bottom {
        display: none
    }
}