@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,700italic,400italic,300italic&subset=latin,cyrillic);

html, body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #878787;
    min-height: 100%;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;

    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

#content-wrapper {
    background-image: url("/upload/bk-31.jpg");
    background-color: #f6fafc;
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
	background-attachment: fixed;
}

#content-wrapper > .container {
    background: #fff;
    min-height: calc(100vh - 329px - 291px);
    padding-top: 54px;
    box-sizing: border-box;
    padding-bottom: 100px;
}

.clear-both:after {
    content: "";
    display: block;
    clear: both;
}

/*==== END-SNIPPETS ====*/

body {
    background-image: url("./images/bk-3.png");
    background-position: center calc(100% - 291px);
    background-size: 100% auto;
    background-color: #f6fafc;
    background-repeat: no-repeat;
}

header .first-box {
    height: 189px;
    background-color: #065fc4;
    background-image: url("./images/bg-1.jpg");
    background-position: center center;
    background-size: cover;
}

header .second-box {
    height: 70px;
    background-color: #065fc4;
    background-image: url("./images/bg-2.jpg");

}

header {
    background-color: #ebf5ff;
}

header .first-box > .container {
    position: relative;
}

header a.logo {
    position: absolute;
    top: 15px;
    left: 50px;
}

header a.logo img {
    max-width: 424px;

}

.container {
    width: 1024px;
    margin: 0 auto;
    padding-left: 46px;
    padding-right: 46px;
    box-sizing: border-box;
}

header .first-box .flags {
    position: absolute;
    top: 15px;
    right: 50px;
}

header .logos a {
    display: inline-block;
    margin-right: 20px;
}

header .flags p {
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    margin-top: 20px;
    line-height: 36px;
    margin-bottom: 0;

}

header .flags .mail {
    text-decoration: none;
    color: #a2d7fd;
    font-size: 16px;
    display: inline-block;
    margin-top: 10px;
}

header .flags .mail img {
    padding-right: 10px;
}

header .top_menu ul {
    font-size: 0;
}

header .top_menu > ul > li > ul {
    display: none;
}

header .second-box .container {
    position: relative;
}

header .top_menu ul {
    position: absolute;
    top: 25px;
    left: 52px;
}

header .top_menu ul li {
    display: inline-block;
    padding-right: 20px;
    position: relative;
}

header .top_menu ul li {
    display: inline-block;
    padding-right: 20px;
    padding-left: 12px;
    position: relative;

}

header .top_menu ul li:first-child:before {
    position: absolute;
    content: "";
    display: block;
    left: -8px;
    top: 3px;
    width: 2px;
    height: 17px;
    font-size: 20px;
    background: #12adfe;
}

header .top_menu ul li:after {

    position: absolute;
    content: "";
    display: block;
    right: 3px;
    top: 3px;
    width: 2px;
    height: 17px;
    font-size: 20px;
    background: #12adfe;

}

header .top_menu ul li a {
    font-size: 16px;
    color: #edf6fc;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid transparent;

}

header .top_menu ul li a:hover {
    text-decoration: none;
    border: 1px solid #edf6fc;
}

header .top_menu ul li.current a {
    padding: 8px 26px;
    border: 1px solid #edf6fc;
}

header .third-box {
    height: 70px;
}

header .third-box > .container {
    position: relative;
}

header .central_menu {
    position: absolute;
    top: 16px;
}

header .central_menu ul {
    font-size: 0;
}

header .central_menu ul li {
    display: inline-block;
    text-decoration: none;
    position: relative;
    padding: 10px 40px;
}

header .central_menu ul li:after {
    position: absolute;
    width: 2px;
    height: 14px;
    content: "";
    display: block;
    background-color: #c5e5ff;
    top: 14px;
    right: 0;
}

header .central_menu ul li:first-child:before {
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: #c5e5ff;
    content: "";
    display: block;
    left: 0px;
    top: 14px;

}

header .central_menu ul a {
    display: inline-block;
    font-size: 16px;
    color: #8db2d0;
    text-decoration: none;
}

header .central_menu ul a:hover {
    text-decoration: underline;
}

header .rss {
    position: absolute;
    right: 50px;
    font-size: 16px;
    color: #c5efff;
    top: 25px;

}

header .rss a {
    text-decoration: none;
    color: #c5efff;
}

header .rss a:hover {
    text-decoration: underline;
}

header .rss img {
    padding-right: 7px;
}

#search-form {
    right: 50px;
    position: absolute;
    top: 21px;
}

#search-form input[type="text"] {

    border: 1px solid #a6c4dd;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    outline: none;
    padding: 5px 30px 5px 10px;
    width: 200px;
    box-sizing: border-box;
    background-color: transparent;

}

#search-form input[type="submit"] {
    position: absolute;
    right: 0;
    top: 1px;
    width: 29px;
    height: 29px;
    background-image: url("./images/icon-search.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    box-shadow: none;

}

/*==== FOOTER =====*/

footer {
    background-color: #0168cd;
}

footer .first_box > .container {
    position: relative;

}

footer .second_box {
    color: #8db2d0;
    font-size: 16px;
    background-color: #ebf5ff;

}

footer .first_box {

    background-color: #0066cc;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    height: 265px;

}

footer .first_box .box-1 {
    font-size: 12px;
    color: #ebf5ff;
    font-weight: 300;
    max-width: 320px;
    line-height: 23px;
    top: 20px;
    left: 50px;
    position: absolute;
}

footer .second_box .container {
    text-align: center;
    padding: 30px 0;
}

footer .first_box .box-2 {
    font-size: 12px;
    color: #ebf5ff;
    font-weight: 300;
    max-width: 220px;
    line-height: 23px;
    top: 20px;
    right: 250px;
    position: absolute;
}

footer .first_box .box-2 li {
    display: block;
    padding-bottom: 12px;
}

footer .first_box .box-2 a {
    display: inline-block;
    color: #ebf5ff;
    font-size: 12px;
    text-decoration: none;
}

footer .first_box .box-2 a:hover {
    display: inline-block;
    color: #ebf5ff;
    font-size: 12px;
    text-decoration: underline;
}

footer .first_box .box-3 {
    font-size: 12px;
    color: #ebf5ff;
    font-weight: 300;
    max-width: 220px;
    line-height: 23px;
    top: 20px;
    right: 50px;
    position: absolute;
}

footer .first_box .box-3 a {
    display: inline-block;
    color: #ebf5ff;
    font-size: 12px;
    text-decoration: none;
}

footer .first_box .box-3 a:hover {
    display: inline-block;
    color: #ebf5ff;
    font-size: 12px;
    text-decoration: underline;
}

footer .first_box .box-3 li {
    display: block;
    padding-bottom: 12px;
}

#main-wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -291px;
}

#pusher {

    height: 291px;
}

footer {
    height: 291px;
}

#content-wrapper h1 {
    font-size: 24px;
    color: #8db2d0;
    padding-left: 38px;
    position: relative;
    font-weight: 500;
    margin-bottom: 40px;
    margin-top: 0;

}

#content-wrapper h1:before {

    background-color: #0384f4;
    width: 2px;
    height: 20px;
    position: absolute;
    top: 2px;
    left: 0;
    display: block;
    content: "";
    top: 8px;
}

#content-wrapper > .container > section {
    float: left;
    width: 67%;
    box-sizing: border-box;

}

#content-wrapper > .container > aside {
    float: left;
    width: 33%;
    padding-left: 40px;
    box-sizing: border-box;
}

#content-wrapper > .container:after {
    clear: both;
    display: block;
    content: '';
}

aside .main-title {
    font-size: 24px;
    color: #8db2d0;
    padding-left: 38px;
    position: relative;
    font-weight: 500;
    margin-bottom: 40px;
}

aside .main-title:before {

    background-color: #0384f4;
    width: 2px;
    height: 20px;
    position: absolute;
    top: 8px;
    left: 0;
    display: block;
    content: "";
}

section .news-list article {
    margin-bottom: 40px;
}

section .news-list article:after {
    clear: both;
    display: block;
    content: '';
}

section .news-list .l-col {

    width: 240px;
    box-sizing: border-box;
    float: left;

}

section .news-list .l-col a {
    font-size: 0;
    display: inline-block;
}

section .news-list .r-col {

    width: calc(100% - 243px);
    box-sizing: border-box;
    float: left;
    padding-left: 20px;

}

section .news-list .r-col .date {
    font-size: 12px;
    font-style: italic;
    color: #878787;
 margin-bottom: 9px;
    margin-top: -2px;
}

section .news-list .r-col h2 {
    color: #0183f2;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 21px;

}

section .news-list .r-col h2 a {
    text-decoration: none;
    color: #0183f2;
}

section .news-list .r-col h2 a:hover {
    text-decoration: none;
    color: #54acf6;
}

section .news-list .text {
    font-size: 12px;
    color: #000;
    line-height: 20px;
}

section .more-box {
    text-align: right;
    margin-top: 5px;
    margin-top: 15px;
}

section .more-box a {
    border: 1px solid #ffb766;
    display: inline-block;
    color: #ffb766;
    font-size: 16px;
    text-decoration: none;
    padding: 7px 29px;
    transition: all .3s ease;
}

section .more-box a:hover {
    text-decoration: none;
    background: #ffb766;
    color: #fff;
}

aside #facebooklikebox-2 h2.widget-title {
    padding: 5px 9px;
    font-size: 17px;
    background: #f6f7f9;
    border-top: 1px solid #dedede;
}

.page-content {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #000;
}

.page-content a {
    color: #0486f6;
}

.page-content a:visited {
    color: #0486f6;
}

.page-content a:hover {
    color: #54acf6;
}

/*
span.b
{
    color: #8db2d0;
}*/
.form-box {
    padding: 10px 0;
}

.form-box input, .form-box textarea {
    width: 300px;
    padding: 5px 5px !Important;

}

.form-box input[type="submit"] {
    width: auto;
    background-color: #065fc4;
    background-image: none;
    color: #fff;
    border: none;
    outline: none;
    box-shadow: none;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 15px !Important;
}

.form-box input[type="submit"]:hover {
    box-shadow: none;

}

div.wpcf7-validation-errors {
    width: 300px;
    margin: 0 !important;
    margin-top: 10px !important;
}

span.wpcf7-not-valid-tip {
    font-size: 12px !important;
}

a.call-link {
    text-decoration: none;
    color: #444;
    font-weight: bold;
}

body.single-post #content-wrapper h1:before {
    height: 100%;
    top: 0;
}

body.single-post .tags-wrap {
    margin-bottom: 20px;
}

body.single-post .category {
    display: inline-block;
    background: rgba(12, 139, 252, 0.63);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 10px;
}

body.single-post .category a {
    color: #fff;
}

body.single-post .date {
    display: inline-block;
    background: rgba(12, 139, 252, 0.63);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
}

.books-list img {
    max-width: 45px;
}

ul.page-numbers {
    display: block;
    list-style: none;
    margin-left: 0;
    text-align: center;
}

ul.page-numbers li
{
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;

}
ul.page-numbers li a
{
    border: 1px solid #124dc2;
    padding: 8px 9px;
    text-decoration: none;
    color: #124dc2;}

.b-footer-banners {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  left: 35px;
  top: 200px;
}
.b-footer-banner {
  display: flex;
  align-items: center;
  border: 2px solid #ffb766;
  margin-left: 15px; 
  transition: all 0.3s ease;
  transform: scale(1);
  text-decoration: none;
}

.b-footer-banner:hover {
  color: #fff;
  transform: scale(1.1);
  text-decoration: none;
}
.b-footer-banner__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.b-footer-banner__icon img {
	max-width: 100%;
}
.b-footer-banner__name {
  flex: 1 1 auto;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 0 15px;
}