/*
Theme Name: GBUAGB (Айхальская Городская Больница)
Theme URI: https://gbuagb.ru/
Description: Восстановленная главная страница (до 22.03.2022) + раздел Блог со статьями.
Version: 1.1
Text Domain: gbuagb
*/

body {
    padding-top: 0;
    background-color: #e8f4ff;
}

.container {
    width: 1270px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #e8f4ff;
}

.header {
    width: 100%;
    box-sizing: border-box;
}

.header > table {
    width: 100%;
}

.sidebar1 {
    box-sizing: border-box !important;
    float: left;
    width: 270px !important;
    padding: 20px 15px 15px 10px !important;
}

.content {
    box-sizing: border-box !important;
    float: left;
    width: calc(100% - 270px) !important;
    padding: 15px 20px !important;
    min-height: 500px;
}

.content img,
.content video {
    max-width: 100%;
    height: auto;
}

.content table {
    max-width: 100%;
}

.sidebar1 table.menutable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 2px;
}

.sidebar1 td.menubg {
    height: auto;
    padding: 2px 0;
}

.sidebar1 a.MenuItem {
    display: block;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.3;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar1 a.MenuItem:hover {
    color: #ffffff;
    font-size: 15px;
    background: #5aa9e6;
    text-decoration: none;
}

.sidebar1 a.MenuItem.active {
    color: #ffffff;
    background: #1b6ec2;
    text-decoration: none;
}

@media (max-width: 900px) {
    .sidebar1,
    .content {
        float: none !important;
        width: 100% !important;
        padding: 12px 15px !important;
    }
    .header {
        height: auto !important;
        background-size: cover;
    }
    .header > table {
        height: auto !important;
    }
}

/* Blog styles */
.gbuagb-blog-wrap {
    padding: 20px 25px;
    background: #fff;
    color: #222;
    font-size: 15px;
    line-height: 1.65;
    border-radius: 4px;
}
.gbuagb-blog-wrap p {
    text-indent: 0;
}
.gbuagb-blog-wrap h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1b4f72;
}
.gbuagb-blog-wrap h2, .gbuagb-blog-wrap h3 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #1b4f72;
}
.gbuagb-blog-wrap img {
    max-width: 100%;
    height: auto;
}
.gbuagb-blog-wrap .btn {
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
    padding: 0.45rem 1rem;
    font-size: 13px;
    text-transform: none;
}
.gbuagb-blog-wrap .form-control {
    height: auto;
    padding: 0.4rem 0.75rem;
}
.gbuagb-post-card {
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    padding: 15px 18px;
    margin-bottom: 15px;
    background: #fafcff;
}
.gbuagb-post-card h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 17px;
}
.gbuagb-post-card a {
    color: #1b4f72;
    text-decoration: none;
}
.gbuagb-post-card a:hover {
    text-decoration: underline;
}
.gbuagb-post-card a.btn {
    color: #1b4f72;
}
.gbuagb-post-card a.btn:hover {
    color: #fff;
    text-decoration: none;
}
.gbuagb-breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}
.gbuagb-blog-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.gbuagb-blog-wrap .page-numbers {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #d0dbe5;
    border-radius: 4px;
    color: #1b4f72;
    text-decoration: none;
}
.gbuagb-blog-wrap .page-numbers.current {
    background: #1b6ec2;
    border-color: #1b6ec2;
    color: #fff;
    font-weight: 600;
}
