body, html {
    height:100%;
    /*font-family: Arial,sans-serif;*/
    font-family: Noto Serif,serif;
    font-size: 18px;
    /*background-color: #F7F6F6;*/
}
body.grey-bg {
    background-color: #F7F6F6;
}

p:empty {
    width: 100%;
    height: 15px;
}

.white-links a {
    color: white !important;
}

#cssmenu {
    width: auto;
}

#fix-footer {
    position: fixed;
    bottom: 0;
    /*left: 0;*/
    width: 230px;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
    padding: 0;
    margin: 0;
    /*color: #161698 !important;*/
    color: #000000;
    font-size: 16px;
    text-transform: uppercase;
    font-family: Impact, sans-serif;
}
#cssmenu:before,
#cssmenu:after,
#cssmenu > ul:before,
#cssmenu > ul:after {
    content: "";
    display: table;
}
#cssmenu:after,
#cssmenu > ul:after {
    clear: both;
}

#cssmenu > ul {
    /*margin-top: 10px;*/
}
#cssmenu ul > li {
    float: left;
    list-style: none;
}
#cssmenu ul > li > a {
    text-decoration: none;
    padding: 0px 10px;
    position: relative;
}


#cssmenu > ul > li ul a {
    font-family: Arial,sans-serif;
    font-size: 15px;
    text-transform: none;
}
#cssmenu > ul > li ul {
    /*border: 1px solid #161698;*/
    border: 1px solid #000000;
    border-radius: 5px;
}

#cssmenu > ul > li > ul:after {
    content: "";
    position: absolute;
    top: -5px;
    left: 25px;
    border-bottom: 5px solid black;
    border-bottom-color: inherit;
    border-left: 5px solid transparent; /* левая граница элемента */
    border-right: 5px solid transparent;
}

#cssmenu > ul > li > ul > li > ul:after {
    content: "";
    position: absolute;
    top: 5px;
    left: -6px;
    border-right: 6px solid black;
    border-right-color: inherit;
    border-top: 6px solid transparent; /* левая граница элемента */
    border-bottom: 6px solid transparent;
}

#cssmenu > ul > li ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: white;
    z-index: 3;
}
#cssmenu > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    position: absolute;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}

#cssmenu > ul > li > ul {
    width: 250px;
    position: absolute;
}

#cssmenu > ul > li > ul li {
    float: none;
    position: relative;
    padding: 5px;
    border-bottom: 1px solid #DEDEFF;
}
#cssmenu > ul > li > ul li:last-child {
    border-bottom: none;
}

#cssmenu > ul > li > ul > li > ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: 4;
}
#cssmenu > ul > li > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    position: absolute;
}
#cssmenu > ul > li > ul > li > ul {
    left: 200px;
    top: 1px;
    width: 200px;
}
#cssmenu > ul > li > ul > li > ul > li {
    float: none;
}

/* bootstrap fixes */
.row {
    margin: 0 !important;
}

#pager {
    margin: 0 auto;
    max-width: 1280px;
    width: 1280px;
    padding: 0;
}

#sidebar-box {
    background-color: #000086;
    color: white;
    -webkit-box-shadow: 2px 0px 5px 0px rgba(0, 0, 134, 0.75);
    -moz-box-shadow:    2px 0px 5px 0px rgba(0, 0, 134, 0.75);
    box-shadow:         2px 0px 5px 0px rgba(0, 0, 134, 0.75);
    z-index: 2;

    position: fixed;
    width: 230px;
    height: 100%;
    /*top: 0;*/
    /*left: 0;*/
}

#content-box {
    margin-left: 230px;
    width: 1050px;
    float: left;
}

#sidebar-box a {
    color: white;
    text-decoration: none;
}


#logo img {
    width: 99%;
}

.fb-like:not(.in-box) iframe {
    margin-top: -6px;
}


#footer-box {
    /*align-self: flex-end;*/
    padding: 10px;
    text-align: right;
    font-size: 12px;
    font-style: italic;
    background-color: #0E0E5A;
}

#footer-box:hover {
    background-color: #09098E;
}

#footer-box a {
    display: block;
}


.breadcrumb {
    background-color: inherit;
    padding: 0;
    font-size: 12px;
    border-radius: 0;
    margin: 10px 0;
    border-bottom: 1px solid #ddd;
    /*border-top: 1px solid #ddd;*/
}

a, a:hover {
    /*color: #161698;*/
    color: #003366;
    /*text-decoration: underline;*/
}

/*.feed .box:last-child {*/
    /*border-bottom: 1px solid #ddd;*/
/*}*/

.box {
    background-color: white;
    padding: 10px 10px 20px;
    border: 1px solid #ddd;
    /*border-bottom: none;*/
    margin-bottom: 10px;
}

.box .author {
    margin-bottom: 10px;
    vertical-align: middle;
}

.box .author img {
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 45px;
    float: left;
    margin-right: 5px;
}
.box .box-img img {
    margin-right: 5px;
    border-radius: 3px;
    max-width: 98%;
    max-height: 700px;
}
.box .box-annotation {
    margin-bottom: 10px;
    font-style: italic;
}
.box .readmore a {
    font-size: 16px;
    text-transform: uppercase;
    font-family: Impact, sans-serif;
    text-decoration: underline;
}
.box .time {
    color: #7B7B7B;
    font-size: 13px;
    margin-bottom: 5px;
}
.box .author a {
    text-decoration: none;
    font-size: 16px;
    font-family: impact;
}
.box .author span {
    color: #003366;
}

.page-top {
    padding: 5px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-bottom: none;
}
.page-top h2 {
    font-size: 20px;
    margin: 0;
}

.box h2 {
    font-size: 25px;
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
}
.box h2 a {
    color: #003366;
    text-decoration: none;
}
.box h2 a:hover {
    color: red;
}

.ava-crop {
    max-height: 50px;
    object-fit: cover;
    object-position: 100% 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.rbox-top {
    font-size: 18px;
    text-align: center;
    padding: 5px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-bottom: none;
}

.rbox .rbox-body {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    padding: 5px;
}

.box h2 {
    font-size: 20px;
    /*font-size: 16px;*/
    /*text-transform: uppercase;*/
    /*font-family: Impact, sans-serif;*/
}
.box h1 {
    font-size: 25px;
    font-weight: bold;
    margin: 10px 0;
}

.box .post-body {
    margin-top: 20px;
}

.box .post-images img {
    display: block;
    margin-top: 10px;
}

.box .post-time {
    text-align: right;
    margin: 10px 0;
    font-size: 13px;
    color: #7B7B7B;
}
.box .post-author, .box .post-author a {
    color: #003366;
}
.box .post-author a {
    font-family: impact;
}
.box .post-source {
    margin: 10px 0;
    font-weight: 600;
}

.box .post-body img {
    max-width: 100%;
    height: auto !important;
}


#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 1100;
    opacity: 0.8;
}

.popup {
    display: none;
    position: fixed;
    background-color: #FFFFFF;
    top: 10%;
    left: 50%;
    width: 800px;
    margin-left: -400px;
    z-index: 1101;
    /*border: 2px solid #ddd;*/
    box-shadow: 0px 0px 10px 0px;
}
.popup .close-popup {
    color: blue;
    text-decoration: none;
    position: absolute;
    top: -25px;
    right: 0;
}
.popup .close-popup:hover {
    color: red;
}
.popup .header {
    border-bottom: 1px solid #EEEEEE;
    padding: 15px;
}
.popup .body {
    padding: 15px;
}
.popup .footer {
    border-top: 1px solid #EEEEEE;
    padding: 15px;
}
.popup .header h3 {
    margin: 0;
    font-size: 20px;
}

#authors-list {
    max-height: 400px;
    overflow-y: auto;
    padding-left: 15px;
}
#authors-list a:hover {
    background-color: #F7F7F7;
}
#authors-list a {
    text-decoration: none;
    color: #0000ff;
    display: inline-block;
    width: 250px;
    margin: 5px 0;
}

#authors-search {
    height: 40px;
    width: 100%;
    font-size: 18px;
    padding-left: 15px;
    border-bottom: 1px solid #eee;
    outline: none;
    border-top: none;
    border-left: none;
    border-right: none;
}


.pagination {
    margin: 10px 0 !important;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #000086 !important;
    border-color: #0202B9 !important;
    color: #fff !important;
}

.pagination>li>a, .pagination>li>span {
   color: #003366 !important;
}

.category-header {
    margin: 0;
    background-color: #eee;
    border: 1px solid #ddd;
    padding: 5px;
    border-bottom: none;
    font-family: impact, monospace;
}

.post-tag {
    text-decoration: none;
    color: #333333;
    background-color: #eeeeee;
    padding: 3px;
    border-radius: 5px;
    padding-right: 0;
    margin-right: 5px;
}
.post-tag:hover {
    text-decoration: none;
}

.last-posts a {
    text-decoration: none;
}

.last-posts a:hover {
    color: red;
}

.name-link {
    text-decoration: none;
    color: #0000ff;
    display: inline-block;
    width: 100%;
    margin: 5px 0;
    padding: 5px;
}

.name-link:hover {
    background-color: #F7F7F7;
    text-decoration: none;
}

@media screen and (max-width: 900px) {
    .phone-hide {
        display: none;
    }
}

@media screen and (min-width: 900px) and (max-width: 1100px) {
    .hide1100 {
        display: none;
    }
}