* {box-sizing: border-box;}
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
}
.width980 {
    margin: 0 auto;
    width: 100%;
    max-width: 980px;
    padding: 0 10px;
}
a {
    color: #999;
    text-underline-offset: 2px;
}
a:hover {text-decoration: none;}
header {
    position: relative;
    width: 100%;
    height: 316px;
    background: url(/wp-content/themes/intentionally-blank/img/shapka.jpg) no-repeat center top;
}
.header_logo {
    position: absolute;
    left: 40px;
    top: 5px;
    z-index: 1;
}
.header_logo img {
    width: 150px;
    height: auto;
}

ul.top_menu {
    width: 100%;
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: space-between;
}
ul.top_menu li {
    position: relative;
    flex-grow: 1;
}
ul.top_menu li a {
    display: flex;
    width: 100%;
    height: 40px;
    line-height: 1;
    font-family: Arial;
    color: #fff;
    font-size: 18px;
    font-style: italic;
    text-decoration: none;
    background-color: #6F7B95;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    -moz-box-shadow: inset 0px 0px 5px 2px #fff;
    -webkit-box-shadow: inset 0px 0px 5px 2px #fff;
    box-shadow: inset 0px 0px 5px 2px #fff;
    justify-content: center;
    align-items: center;
}

ul.top_menu li.current-page-ancestor > a,
ul.top_menu li.current-menu-ancestor > a,
ul.top_menu li.current-menu-parent > a,
ul.top_menu li.current-page-parent > a,
ul.top_menu li.current_page_parent > a,
ul.top_menu li.current_page_ancestor > a,

ul.top_menu li.current-menu-item > a,
ul.top_menu li.current_page_item > a,
ul.top_menu li:hover > a {
    color: #0ac2ec;
    opacity: 70%;
}
ul.top_menu li ul.sub-menu {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    -moz-box-shadow: inset 0px 0px 5px 2px #fff;
    -webkit-box-shadow: inset 0px 0px 5px 2px #fff;
    box-shadow: inset 0px 0px 5px 2px #fff;
    background: #6F7B95;
    width: calc(100% + 50px);
    position: absolute;
}
ul.top_menu li.menu-item-has-children:hover ul.sub-menu {display: block !important;}
ul.top_menu li ul.sub-menu li a {
    background-color: transparent;
    box-shadow: none;
    font-style: normal;
    justify-content: flex-start;
    padding-left: 20px;
    font-weight: normal;
}
.content-page {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.content-page .left-content {width: 700px;}
.content-page .right-content {width: 230px;}

.content-page .right-content .block {
    background: #C8C3C9;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 40px 10px 10px 10px;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.content-page .right-content .block h2.block-title {
    background: #2370ca;
    color: #fff;
    float: right;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    padding: 10px 20px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -moz-border-radius: 0 10px 0 10px;
    -webkit-border-radius: 0 10px 0 10px;
    border-radius: 0 10px 0 10px;
    margin: -40px -10px 20px 0;
    text-align: right;
    width: min-content;
}
.content-page .right-content .block img {
    width: 100%;
    height: auto;
}
.content-page .right-content .block a {color: #2370ca;}

.blockglavnaja {
    background-image: linear-gradient(right , #FFFFFF 0%, #2370ca 20%, #2370ca 80%, #FFFFFF 100%);
    background-image: -o-linear-gradient(right , #FFFFFF 0%, #2370ca 20%, #2370ca 80%, #FFFFFF 100%);
    background-image: -moz-linear-gradient(right , #FFFFFF 0%, #2370ca 20%, #2370ca 80%, #FFFFFF 100%);
    background-image: -webkit-linear-gradient(right , #FFFFFF 0%, #2370ca 20%, #2370ca 80%, #FFFFFF 100%);
    background-image: -ms-linear-gradient(right , #FFFFFF 0%, #2370ca 20%, #2370ca 80%, #FFFFFF 100%);
    background-image: -webkit-gradient( linear, right top, left top, color-stop(0, #FFFFFF), color-stop(0.2, #2370ca), color-stop(0.8, #2370ca), color-stop(1, #FFFFFF) );
    width: 100%;
    padding: 12px 0px;
    color: #fff;
    font-family: 'dejavu';
    text-align: center;
    font-size: 30px;
    line-height: 1.2;
}

.foto {
    display: flex;
    flex-wrap: wrap;
    gap: 27px;
    margin-top: 40px;
}
.foto a {
    display: flex;
    width: calc(33.33% - 18px);
}
.foto a img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.foto a img:hover {
    outline: 3px solid #c4db65;
    outline-offset: -3px;
    opacity: 70%;
}

.fon-bottom {
    width: 100%;
    min-height: 140px;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    background: #C8C3C9;
    color: #fff;
}
.fon-bottom img.logo2 {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.icons-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px
}
.icons-fixed a {display: flex;}
.icons-fixed a img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.icons-fixed a img:hover {
    opacity: 70%;
    box-shadow: 0px 0px 10px 5px #999;
}

.fon-bottom .width980 {
    display: flex;
    justify-content: space-between;
}
.fon-bottom .width980 a {color: #006fcc;}
.fon-bottom .width980 .block1 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: #006fcc;
}
.fon-bottom .width980 .block2 {text-align: right;}

.content-page .left-content table {
    font-size: 12px;
    line-height: 1.2;
    width: 100%;
    border: 1px solid #999;
    border-spacing: 0;
}
.content-page .left-content table thead {
    background: #D9D9D9;
    text-align: left;
}
.content-page .left-content table tr,
.content-page .left-content table th,
.content-page .left-content table td {
    border: 1px solid #999;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}
.content-page .left-content table p {margin: 0;}

a.file {
    display: table;
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
}

h1.page-title {
    margin-top: 0;
    margin-bottom: 25px;
}

.thumb-text {
    display: table;
    width: 100%;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 2px solid #999;
}
.thumb-text a.post-thumbnail {
    float: left;
    margin-right: 20px;
    width: 50%;
    display: flex;
}
.thumb-text a.post-thumbnail img {
    width: 100%;
    height: auto;
}
.thumb-text a.post-thumbnail img:hover {
    outline: 3px solid #c4db65;
    outline-offset: -3px;
    opacity: 70%;
}
.thumb-text p {margin-top: 0;}

.foto-text h2 {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: normal;
}

.block-progivanie div {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.block-progivanie div a.child-page-image {
    display: flex;
    width: 50%;
    height: 200px;
}
.block-progivanie div a.child-page-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.block-progivanie div span {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}
.block-progivanie div a.title {font-size: 18px;}

.page-id-24 .content-page .left-content a img {
    max-width: 100%;
    height: auto;
}

.crumbs {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.post-date {
    color: #999;
    font-size: 12px;
}
.page-news-single a.post-thumbnail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.page-news-single a.post-thumbnail img:hover {
    outline: 3px solid #c4db65;
    outline-offset: -3px;
    opacity: 70%;
}

.posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.posts .post-item {
    display: flex;
    gap: 20px;
}
.posts .post-item > a {
    display: flex;
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}
.posts .post-item img.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.posts .post-item > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.posts .post-item .post-date {margin-bottom: 10px;}
.posts .post-item a.title {
    font-size: 24px;
    color: #2370ca;
    margin: 0;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.content-page .right-content .block > div {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.content-page .right-content .block > div p {margin-top: 0;}
.block.news > div a.title {margin-bottom: 15px;}

.pagination {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}
.pagination > * {
    font-size: 14px;
    line-height: 1;
    padding: 10px;
    background: #2370ca;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    min-width: 40px;
    text-align: center;
}
.pagination .current {
    background: #c4db65;
    color: #000;
}
.pagination a:hover {background: #999;}

#toTop {
    display: none;
    width: 60px;
    height: 60px;
    background: #2370ca;
    position: fixed;
    bottom: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 99;
    border-radius: 50%;
}
#toTop:before,
#toTop:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 10px;
    top: 24px;
    background: #fff;
}
#toTop:before {
    transform: rotate(-45deg);
    left: 8px;
}
#toTop:after {
    transform: rotate(45deg);
    left: 22px;
}
#toTop:hover {opacity: 0.8;}