/*
Theme's main style.

@author Vee W.
*/
@import 'flexvideo.css';
@media (min-width: 1400px){
    .container {
        width: 1360px;
        max-width: 100%;
    }
}
@media (min-width: 1600px){
    .container {
        width: 1540px;
        max-width: 100%;
    }
}
@media (min-width: 1800px){
    .container {
        width: 1740px;
        max-width: 100%;
    }
}
a {
    color: #22359b;
    text-decoration: none;
}

a:focus, a:hover {
    color: #014c8c;
    text-decoration: underline;
}
/* ancient-browser-alert error */
.ancient-browser-alert {
    background: #a00;
    color: #faa;
    display: block;
    padding: 3px 0;
    text-align: center;
}
.ancient-browser-alert a {
    color: #fff;
    text-decoration: underline;
}


.pagination {
    margin: 0;
}
.pagination-center {
    text-align: center;
}
.pagination-row {
    margin-bottom: 20px;
}


.page-header {
    margin-bottom: 60px;
}


.page-header-top-right {
    margin-top: 10px;
}


.post-view-attachment .entry-attachment .attachment {
    text-align: center;
}
.post-view-attachment .entry-attachment .attachment .card {
    margin: 0 auto;
    width: 400px;
}
.post-view-attachment .entry-attachment .attachment .wp-video {
    margin: 0 auto;
}
.row-with-vspace {
    margin-bottom: 20px;
}
.site-footer {
    border-top: 5px solid #c7cee8;
    padding: 16px;
    font-size: 13px;
}


.site-main .format-aside {
    background: #f5f5f5;
}
.site-main .format-image {
    background: url('../img/content-post-format-image.png') left top no-repeat;
}
.site-main .format-link {
    background: url('../img/content-post-format-link.png') left top no-repeat;
}
.site-main .format-quote {
    background: url('../img/content-post-format-quote.png') left top no-repeat;
}
.site-main .format-video {
    background: url('../img/content-post-format-video.png') left top no-repeat;
}


.site-title {
    margin-bottom: 0;
    margin-top: 10px;
}
.site-title > a {
    text-decoration: none;
}
.site-title > div {
    height: auto;
    line-height: 18px;
}
.site-title .site-description {
    color: #999;
    font-size: 16px;
}
.site-title .site-title-heading {
    margin: 0;
}


.widget_calendar .calendar_wrap table {
    font-size: 14px;
    margin: 0;
}
.widget_calendar .calendar_wrap table caption {
    caption-side: top;
}
.widget_calendar .calendar_wrap .table td,
.widget_calendar .calendar_wrap .table th {
    padding: 8px;
}
.widget_calendar .calendar_wrap .table #next {
    text-align: right;
}


#comments .comment-navigation,
#comments .comment-navigation-below {
    margin-bottom: 20px;
    margin-top: 15px;
}
#comments .comment-navigation {
    list-style: none;
    margin-top: 0;
    padding: 0;
}
#comments .comment-respond {
    margin-top: 20px;
}
#comments .media-list li .media {
    margin-top: 15px;
}
#comments .media-list li .media .media-body {
    border: 1px solid #eee;
    padding: 10px;
}
#comments .media-list li .media .media-body .comment-author {
    font-size: 12px;
    margin-bottom: 10px;
}
#comments .media-list ul.children {
    list-style: none;
    margin-left: 2.19em;
}


#main .wp-video-shortcode {
    display: block;
    height: auto;
    max-width: 100%;
}
#main .attachment .entry-content {
    margin-bottom: 20px;
}
#main .attachment .entry-content .attachment {
    text-align: center;
}
#main .attachment .entry-meta {
    margin-bottom: 20px;
}
/* fix auto img responsive */
#main .post .entry-content img {
    height: auto;
    max-width: 200px;
    padding-bottom: 10px;
    float: left;
    padding-right: 10px;
    margin-top: 4px;
}
#main .post,
#main .page {
    border: 1px solid #eee;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 10px;
}
#main .post .entry-header .entry-meta {
    color: #999;
    font-size: 0.8rem;
    padding-bottom: 10px;
}
#main .post .entry-header .entry-meta a {
    color: inherit;
}
#main .post .entry-header .entry-meta .posted-on .updated {
    display: none;
}
#main .post .entry-meta .categories-icon {
    cursor: default;
}
#main .post .entry-meta .comments-link a {
    color: #333;
}
#main .post .entry-meta .comments-link a .comment-total,
#main .page .entry-meta .comments-link a .comment-total {
    color: #555;
}
#main .attachment .edit-post-link a, 
#main .attachment .entry-meta .edit-post-link a, 
#main .post .entry-meta .edit-post-link a,
#main .page .entry-meta .edit-post-link a {
    color: #333;
}
#main .post .entry-meta .tags-icon {
    cursor: default;
}
#main .attachment .entry-title, 
#main .post .entry-title {
    margin-top: 0;
    word-wrap: break-word;
    font-size: 2em;
}


#sidebar-left .widget,
#sidebar-right .widget {
    border: 1px solid #eee;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 10px;
}
#sidebar-left .widget ul,
#sidebar-right .widget ul {
    padding-left: 20px;
}
#sidebar-left .widget .widget-title,
#sidebar-right .widget .widget-title {
    font-size: 18px;
    margin-top: 0;
}


/* Fix Bootstrap 4 */
.navbar {
    min-height: 54px;/* With this, we can use navbar without navbar-brand */
}
body.custom-background{
    color: #211b1b;
    font-family: tahoma, arial;
    font-size: 13px;
    background-image:  url(../pic/b-body.jpg);
}
.page-header-top-right img{
    max-width: 100%;
}
.page-header-sitebrand-topbar{
    background: url(../pic/b-top.jpg) center top no-repeat;
    margin-bottom: 0;
    min-height: 236px;
    padding-top: 47px;
}
.page-container{
    background: url(../pic/b-bottom.gif) center bottom no-repeat;
    padding-bottom: 114px;
}
#mainWrap{
    background: #ffffff url(../pic/b-main-bottom.gif) left bottom repeat-x;
    border: 1px solid #aeadaa;
    padding-bottom: 40px;
    border-radius: 5px;
}
.site-content{
    padding-top: 40px;
}

.row-with-vspace{
    margin-left: 0;
    margin-right: 0;
}
.site-title .site-title-heading a{
    background: url("../pic/logo2.png") no-repeat;
    width: 650px;
    height: 200px;
    display: inline-block;
    text-indent: -9999px;
    max-width: 100%;
    background-size:contain;
}
.page-header-top-right{
    text-align: right;
}
.main-navigation{
    display: none;
}
.widget_nav_menu{
    background: #cfd4fc url(../pic/b-submenu.gif);
    border-bottom-right-radius:5px;
    margin-bottom: 20px;
}
#sidebar-left{
    padding-left: 0;
}

#sidebar-left .widget, #sidebar-right .widget{
    border: none;
    padding-right: 0;
    padding-left: 0;
}
#sidebar-right{
    padding-right: 0;
}
.widget_nav_menu li{
    list-style: none;
    background: url(../pic/arr4.gif) left 7px no-repeat;
    padding-bottom: 13px;
    padding-left: 10px;
}
.widget_nav_menu li a{
    text-decoration: none;
    border-bottom: 1px dotted #081248;
    color: #081248;
    font-weight: bold;
}
#sidebar-left .widget_nav_menu{
    padding: 0;
}
#sidebar-left .widget ul, #sidebar-right .widget ul{
    padding-left: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    margin: 0;
}
#sidebar-left .widget ul li, #sidebar-right .widget ul li{
    list-style: none;
}
#sidebar-left .widget .widget-title, #sidebar-right .widget .widget-title{
    font-size: 21px;
    color: white;
    padding-left: 20px;
    background: #525b81;
    padding-top: 5px;
    padding-bottom: 5px;
}
.form-control{
    border-radius: 0;
}
.btn{
    border-radius: 0;
}
#search-2.widget{
    padding-left: 20px;
}
#archives_calendar-3 .widget-title{
    margin-bottom: 0;
}
.calendar-archives.classiclight .calendar-navigation{
    background-color: #f2ded8;
}
.calendar-archives.classiclight .calendar-navigation>.menu-container>a.title{
    color: #8f0722;
}
.calendar-archives.classiclight .day{
    color: #a9a9a9;
}
div.anons-icon{
    background: url("../pic/i-anons.png") no-repeat;
    padding-left: 71px;
    height: 76px;
    margin-bottom: 9px;
    font-size: 21px;
}
.anons-title{
    border-bottom: 5px solid #cf8d99;
    min-width: 155px;
    color: #8f0722;
    display: block;
}
.anons-date{
    font-size: 11px;
    margin-bottom: 8px;
}
.anons-text{
    margin-bottom: 20px;
    margin-left: 70px
}
.go_to_cat{
    padding-left:20px;
    margin-bottom:30px;
}
.more-news {
    padding-left: 22px;
    background: url(../pic/arr7.gif) left 6px no-repeat;
}
#anonce_widget-3.widget ul{
    padding-bottom: 0;
}
#books_widget-3.widget ul{
    margin-top: 20px;
}
#books_widget-3 li{
    margin-bottom: 10px;
    font-size: 1.4em;
    padding-left: 27px;
    background: url(../pic/arr7.gif) left 9px no-repeat;
}
.position2 {
    background: url(../pic/b-position.gif) left top;
    border-bottom: 1px solid white;
    border-bottom-right-radius:5px;
}
.position {
    padding: 14px 20px 30px 0px;
}
h1.position-title {
    border-bottom: 5px solid #e299a8;
    margin-bottom: 2px;
    padding-left: 20px;
    padding-bottom: 12px;
    color: #8f0722;
}
div.position-title {
    padding-left: 20px;
    margin-bottom: 17px;
}
.poetry .position-title {
    font-size: 19px;
}
.position-text{
    padding-top: 10px;
    padding-left: 20px;
}
.position-text {
    font-style: italic;
    font-size: 12px;
}
.position-title a {
    font-size: 13px;
}
#news_widget-3 li, #recomend_widget-3 li{
    margin-bottom: 20px;
}
.footer-center{
    background: url(../pic/logo2.gif) 20px 0 no-repeat;
    padding-left: 66px;
}
.entry-meta-comment-tools{
    margin-top: 10px;
}

#main .page-header .page-title, .breadcrumbs,
#main .page .entry-title {
    border-bottom: 5px solid #c7cee8;
    color: #263c98;
    margin-bottom: 14px;
    padding-bottom: 10px;
}
.rubric-menu{
    padding: 0;
    border-bottom: 5px solid #c7cee8;
    margin-bottom: 14px;
    padding-bottom: 20px;
}
.rubric-menu li{
    padding: 0;
    margin: 0;
    list-style: none;
}
.breadcrumbs{
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.entry-content iframe{
    margin:  0 auto;
}
.error-404{
    width: 100%;
}
.error-404 .page-header, .error-404 .page-content{
    max-width: 800px;
    margin: 0 auto;
}