/*!
 * Med24Info
 */

@import "https://web.archive.org/web/20240131071029cs_/https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import "https://web.archive.org/web/20240131071029cs_/https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed:wght@300&display=swap";

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}
h1 { font-size: 1.5rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.2rem; }
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.navbar-nav .nav-link { padding-left: 15px; }
.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}
.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}
.btn-silver {
    background-color: #F1F1F1;
    color: #595959;
}
.btn-silver:hover { background-color: #7FC5FA; }
#google_pedestal_container { display: none !important; }

/* Закрепленная панель */
#topbar { padding: 10px 10px 10px 0; }
.topbar-container { padding-left: 0; }
/* button */
.topbar-btn { 
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: #ebebeb;
}
.topbar-btn:hover { background: #7FC5FA; }
.topbar-btn i,
.topbar-btn .svg-inline--fa { 
    color: #4e5350;
    font-size: 1.6rem;
}
/* логотип */
.logo {
    text-align: center;
    margin-left: 10px;
}
#logo-short { display: none; }
/* навигация по книге */
#btnSidebarExpande,
#navItemSearch span,
#navPagePrev span,
#navPageContent span,
#navPageNext span { display: none; }


/* Крошки */
.breadcrumb {
    margin: 10px 0 10px 0;
    background-color: #f1f1f1;
    font-size: 0.85rem;
    font-family: 'Roboto', sans-serif;
}
.breadcrumb a:hover { color: #0099E3; }

/* Боковая панель */
.wrapper {
    display: flex;
    width: 100%;
}
#sidebar {
    margin-top: 70px;
    width: 300px;
    background: #7fc5fa;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
    font-family: 'Roboto', sans-serif;
}
#sidebar.active { margin-left: -300px; }
#sidebar .sidebar-header {
    padding: 5px 5px 5px 5px;
    background: #7FC5FA;
}
#sidebar ul.components { padding: 7px 0; }
#sidebar ul p {
    color: #fff;
    padding: 10px;
}
#sidebar ul li.list-item-all a {
    text-align: right;
    color: #212529;
    font-weight: normal;
    padding-right: 10px;
    line-height: 30px;
}
#sidebar ul li a {
    padding: 4px 30px 4px 6px;
    font-size: 1rem;
    display: block;
    font-weight: bold;
    line-height: 1.2;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
#sidebar ul li a[aria-expanded="true"] { color: #212529; }
#sidebar ul li a:hover {
    color: #0099E3;
    background: #fff;
}
#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
    background: #0099E3;
}
a[data-toggle="collapse"] { position: relative; }

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.sidebar footer { text-align: center; }
.sidebar footer p {
    color: #212529;
    font-size: 14px;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.4;
}
.sidebar footer p a { color: #D43624; }
.sidebar footer p a:hover { color: #0098e9; }
ul ul a {
    font-size: 14px !important;
    padding-left: 12px !important;
    background: #0099E3;
}

/* Статья */
article { text-align: justify; }
article a { color: #387AE1; }
article a:hover { text-decoration: underline; }
main header h1,
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 { color: #4c5258; }
article p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.7rem;
}
article table td { padding: 10px; }
article img { max-width: 100%; }
article .img { margin: 0.4rem; }
/* книга */
main.book article h2 { font-weight: bold; }
main.book article p { color: #212529; }
main.book header h1 { font-size: 1.2rem; }
main.book article strong,
main.book article b { font-weight: bold; }
main.book article br {
    content: " ";
    display: block;
    margin-bottom: 20px;
}
main.book article span.br-none + br { display: none; }
.book-src {
    border-top: 1px solid gray;
    padding: 5px 5px 5px 5px;
}
.nav-wrap-ads {
    position: relative;
    text-align: right;
    min-height: 45px;
}
#nav-ads {
    position: absolute;
    top: -8px;
    bottom: -10px;
    right: 0;
    width: auto;
}

/* Контент разметки страницы */
#content {
    width: calc(100% - 300px);
    padding: 75px 25px 40px 25px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}
#content.active { width: 100%; }
#content.active::after {
    z-index: 900;
    content: ' ';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.7);
}

/* Прокрутка на верх страницы */
.scroll-to { 
    display: none;
    height: 40px;
    position: fixed;
    right: 5px;
    bottom: 55px;
    width: 40px;
    z-index: 9999;
}
.scroll-to a {
    text-align: center;
    font-size: 2.2rem;
    line-height: 2;
    padding: 0 7px 0 7px;
    border: 1px solid #dcdcdc;
    background: rgba(198, 229, 253, 0.5);
    cursor: pointer;
    transition: opacity 2s ease 0s, border-color 0.4s ease 0s;
    color: #4c5258;
}
.scroll-to a:hover { border-color: #4c5258; }

/* Список книг на главной странице */
.list-books {
    list-style-type: none;
    padding-left: 0;
}
.list-books a { color: #387AE1; }
.list-books a:hover { text-decoration: underline; }
.list-books h2 { color: #4c5258; }
.list-books li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #DEDFD6;
}
.list-books li.list-books-hd { border: 0 none; }
.list-books li.list-books-hd:first-child { padding-top: 0; }
.books-i-stick {
    text-align: right;
    margin-bottom: 8px;
}
.books-i-stick a {
    padding: 3px 8px 3px 8px;
    color: #595959;
    text-decoration: none;
    background: #DEDFD6;
    font-size: 0.9rem;
}
.books-i-stick a:hover {
    background: #7FC5FA;
    text-decoration: none;
}
.books-i-head { 
    font-size: 1.2rem; 
    color: #4c5258;
}
.head-links {
    font-size: 0.9rem;
    padding-left: 5px;
    color: #dd0000;
}
.head-links span {
    font-size: 0.7rem;
    color: #212529;
}
.head-links a {
    color: #d00;
    margin-right: 5px;
}
.head-links a.active { color: #959595; text-decoration: none; }
.head-links span { margin-right: 5px; }

/* Содержание книги */
.book-description {
    margin-bottom: 10px;
    padding: .75rem 1rem;
    border-radius: .25rem;
    background: #f1f1f1;
    color: #6c757d;
    font-size: 0.85rem;
    text-align: justify;
}
.book-chapters,
.book-chapters ol,
.book-chapters ul {
    padding-left: 0px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}
.book-chapters li {
    list-style-type: none;
    margin-bottom: 0.75rem;
}
.book-chapters label {
    font-weight: bold;
    margin-bottom: 0.2rem;
}
.book-chapters > li { margin-bottom: 10px; }
.book-chapters {
    padding-left: .75rem;
    margin-bottom: 2rem;
}
/* навигация по книге */
.book-nav {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}
.book-nav-left { text-align: left; }
.book-nav-right { text-align: right; }
.book-nav-center { text-align: center; }

/* Список книг в содержании */
.books {
    list-style: none;
    padding-left: 0;
}
.books li {
    /*border-bottom: 1px dashed #DEDFD6;*/
    margin-bottom: 0.4rem;
}
.books li:last-child { border-bottom: none; }
.books-title { font-size: 1.1rem; }
.books-description {
    font-size: 0.85rem;
    text-align: justify;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}
.books-stick {
    text-align: right;
    margin-bottom: 8px;
}
.books-stick a {
    padding: 3px 8px 3px 8px;
    color: #595959;
    text-decoration: none;
    background: #DEDFD6;
    font-size: 0.9rem;
}
.books-stick a:hover {
    background: #7FC5FA;
    text-decoration: none;
}

/* Новости */
.news article { padding-top: 10px; }
.card {
    font-size: 0.85rem;
    font-family: 'Roboto', sans-serif;
}
.card:hover {
    text-decoration: none;
    background-color: #F1F1F1;
}
.card-title {
    font-size: 1rem;
    text-align: left;
}
.card-date {
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
    color: #9b9b9c;
}
.card-body { padding: 1rem; }
.card-body h2 { margin: 0; }

/* Пагинация страниц */
.pagination-title {
    float: left;
    margin-right: 10px;
    font-size: 0.85rem;
    font-family: 'Roboto', sans-serif;
    color: #6c757d;
    line-height: 37px;
}

/* Yandex share */
.ya-share2 {
    text-align: right;
    margin-bottom: 2px;
    margin-top: 5px;
}

/* Поиск */
.search { padding-top: 1rem; }
.search form,
.search header { margin-bottom: 1rem; }
.form-comment {
    font-size: 0.85rem;
    color: #7c7c7d;
}
.search-none {
    margin-top: 1rem;
    font-family: 'Roboto', sans-serif;
}
.search-none { color: #7c7c7d; }
.search-none h2 { font-size: 1.2rem; }
.search-none ul { padding-left: 1rem; }

/* когда кнопка переключения показывается */
@media (max-width: 992px) {
    /* Закрепленная панель */
    #navItemHome { display: none; }
    #navItemSearch span,
    #navPagePrev span,
    #navPageContent span,
    #navPageNext span { display: inline-block; }

    /* Боковая панель */
    #sidebar {
        margin-top: 0;
        position: fixed;
        top: 70px;
        left: 0;
        bottom: 0;
        z-index: 999;
        overflow-y: auto;
    }
    #sidebar ul li a { font-size: 0.9rem; }
}

/* когда боковая панель скрывается */
@media (max-width: 768px) {
    /*body { overflow-y: hidden; }*/

    /*  Боковая панель */
    #sidebar { margin-left: -350px; }
    #sidebar.active { margin-left: 0; }
    #content { width: 100%; }
    #content.active { width: calc(100% - 300px); }
    #btnSidebarCollapse { display: none; }
    #btnSidebarExpande { display: block; }
    #content.active::after {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 700px) {
    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 1.1rem; }

    /* Крошки */
    .breadcrumb {
        padding: 0.6rem 0.7rem;
        font-size: .7rem;
    }

    #content.active { width: 100% }
}

@media (max-width: 600px) {
    .nav-wrap-ads { display: none; }

    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 1rem; }

    /* Крошки */
    .breadcrumb-item + .breadcrumb-item { padding-left: .2rem; }
    .breadcrumb-item + .breadcrumb-item::before { padding-right: .2rem; }

    /* Пагинация страниц */
    .page-link { padding: 0.25rem 0.6rem; }

    /* Статья */
    article,
    article p { font-size: 0.prem; }
}

@media (max-width: 500px) {
    h1 { font-size: 1.1rem; }
    h2 { font-size: 1rem; }
    h3 { font-size: 0.9rem; }

    /* Закрепленная панель */
    #logo { display: none; }
    #logo-short { display: inline-block; }

    .list-books h2 { font-size: 1.3rem; }
    .books-i-stick a { display: block; }

    /* Книги в содержании */
    .books-title { font-size: 1rem; }

    /* Книги на главной странице */
    .list-books h2 { font-size: 1.1rem; }
    .books-i-head { font-size: 1rem; }

    /* Навигация по книге */
    .book-nav > div { padding: 0 3px 0 3px; }

    /* Статья */
    article,
    article p { font-size: 0.9rem; }

    #content { padding: 66px 7px 39px 7px; }
}

/*
playback timings (ms):
  captures_list: 0.486
  exclusion.robots: 0.02
  exclusion.robots.policy: 0.009
  esindex: 0.009
  cdx.remote: 6.057
  LoadShardBlock: 275.996 (3)
  PetaboxLoader3.resolve: 296.585 (5)
  PetaboxLoader3.datanode: 175.289 (5)
  load_resource: 211.222 (2)
*/