/*! Theme Name: 220-pro
Author: Rey C 
Description: Custom made bootstrap 4 theme Version: 1.0.0 
License: GNU General Public License v2 or later 
License URI: LICENSE Text Domain: ranobe-novels 

/* stylelint-disable selector-list-comma-newline-after */

@font-face {
    font-family: PlayfairB;
    src: url(/wp-content/themes/220/fonts/PlayfairDisplay-SemiBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Oswald;
    src: url(/wp-content/themes/220/fonts/Oswaldregular.ttf);
    font-display: swap;
}

/*
@font-face {
    font-family: Roboto;
    src: url(/wp-content/themes/220/fonts/Roboto.ttf);
    font-display: swap;
}
*/

.blog-header {
    line-height: 1;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    color: #1e213c;
    font-size: 30px;
    font-weight: bolder;
}

.custom-logo {
    width: unset;
    height: unset;
}

@media screen and (min-width: 992px) {

    .logo {
        align-self: end;
    }
}

.logo:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Oswald, Georgia, "Times New Roman", serif;
}

/*dark mode*/
body {
    transition: background-color .3s;
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body[data-light-mode=dark] {
    background-color: #1d1c1c;
    color: #c1bdbd;
}

#day_night {
    padding: 2px;
    font-size: 1em;
    background: #fdfdfd;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: .3s;
}

#day_night:hover {
    opacity: .5;
}

body[data-light-mode="dark"] button {
    color: #000;
}

body[data-light-mode="dark"] p,
body[data-light-mode="dark"] span,
body[data-light-mode="dark"] h3,
body[data-light-mode="dark"] h4,
body[data-light-mode="dark"] .display-3 {
    color: #c1bdbd;

}

body[data-light-mode="dark"] .bg-header,
body[data-light-mode="dark"] #s,
body[data-light-mode="dark"] .form-control:focus {
    background-color: #3f4c4c;
    color: #c1bdbd;
}

body[data-light-mode="dark"] .epvc-eye {
    background-color: #ee5c12;

}

body[data-light-mode="dark"] a {
    color: #f3eded;
}

body[data-light-mode="dark"] .breadcrumb-container,
body[data-light-mode="dark"] .breadcrumb-container-page {

    box-shadow: #182129 5px 10px 10px;
}

body[data-light-mode="dark"] li.page-item a,
body[data-light-mode="dark"] textarea {
    background-color: #1d1c1c;
    color: #1d9995;
}

/*end dark mode*/

.main__background {
    background-color: dodgerblue;
}

.display-4 {
    font-size: 2.5rem;
}

.display-3 {
    color: #fdfdfd;
    text-shadow: #535558 10px 10px 10px;
    display: inline-block;
    margin-top: 30px;

}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
}

.nav-link {

    font-size: 22px;
    font-weight: bolder;
    color: #375592 !important;
    border: 1px solid white;
}

.nav-link:hover {

    color: #1078c3 !important;
    border: 1px solid #1078c3;
    border-radius: 5px;
}

.nav-link:active {

    color: #27ab0a !important;
}

.flex-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

/* Pagination */
.blog-pagination {
    margin-bottom: 4rem;
}

.blog-pagination > .btn {
    border-radius: 2rem;
}

/* * Blog posts */
.blog-post {
    margin-bottom: 4rem;
}

.blog-post-title {
    margin-bottom: 0.25rem;
    font-size: 2.5rem;
}

.blog-post-meta {
    margin-bottom: 1.25rem;
    color: #999;
}

p {
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1.5rem;
    color: #212529;
    line-height: 1.5;
}

ul {
    font-size: 1.3rem;
    color: #212529;
    line-height: 1.5;
}

/* * Widgets */
.widget-title, .widgettitle {
    font-size: 26px;
    color: #161618;
    font-weight: 700;
}

.widget_recent_entries ul, .widget_top-posts ul {
    list-style: none;
    margin-left: -30px;
    display: inline;
    color: #fcfcfc;
}

aside section {
    margin-bottom: 30px;
}

.widget_recent_entries ul li, .widget_top-posts ul li {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: lightslategray 2px dotted;
    color: #fcfcfc;
}

ul li a {
    font-size: 18px;
    position: relative;
    color: #262424;
}

ul li a:hover {
    color: #868b8c;
    text-decoration: none;
}

/* * Footer */
.blog-footer {
    padding: 2.5rem 0;
    color: #999;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 0.05rem solid #e5e5e5;
}

.blog-footer p:last-child {
    margin-bottom: 0;
}

.footer__background {
    background-color: #1e62a9;
}

.site-info a {
    color: #d7d7d7;
}

#menu-footer li::before {
    content: '* ';
    color: white;
}

/* * Titles */

.entry-title a {
    font-size: 40px;
    line-height: 20px;
    font-weight: bold;
    color: #a40800;
}

.entry-title a:hover {
    color: #b8330b;
    text-decoration: none;
}

.entry-title-archive a {
    font-weight: bold;
    color: #a40800;
}

.entry-title-archive a:hover {
    color: #b8330b;
    text-decoration: none;
}

.home-btn {
    background: #6b2d25;
}

.home-btn:hover {
    background: #411717;
}

/* скроллбар */

::-webkit-scrollbar {
    width: 7px;
    height: 3px;
}

::-webkit-scrollbar-button {
    background-color: #666;
}

::-webkit-scrollbar-track {
    background-color: #999;
}

::-webkit-scrollbar-track-piece {
    background-color: #fcfcfc;
}

::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: #666;
    border-radius: 3px;
}

::-webkit-scrollbar-corner {
    background-color: #999;
}

::-webkit-resizer {
    background-color: #666;
}

.container {
    max-width: 1440px;
}

/* Breadcrumbs */

.breadcrumb-container,
.breadcrumb-container-page {
    background-color: dodgerblue;
    color: #fcfcfc;
    padding: 2px 5px 0;
    min-height: 20px;
    box-shadow: #71777c 5px 10px 10px;
}

.breadcrumb-item {
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .breadcrumb-item {
        font-size: 13px;
    }

}

@media screen and (max-width: 600px) {
    .breadcrumb-item {
        font-size: 13px;
    }

    .breadcrumb-container {
        display: none;
    }

    .custom-logo {
        width: 80%;
        height: auto;
    }

    .custom-logo-link {
        width: 70%;
        height: auto;
    }

}

.breadcrumb-item a {
    color: whitesmoke;
}

.breadcrumb-item a:hover {

    text-decoration: none;
    text-shadow: #63b9e3 2px 2px 2px;
}


.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

.breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb {
    background-color: dodgerblue;
}

.breadcrumb li {
    padding-bottom: 0;
}

.active {
    color: orangered;
}

.archive-pagination {
    margin-top: 24px;
}

.archive-pagination a {
    background-color: dodgerblue;
    color: white;
}

.archive-pagination .active {
    background-color: #c84407;
    color: white;
}

.archive-pagination a:hover {
    background-color: #c84407;
    color: white;
}

/* Breadcrumbs */

.bg-header {
    background-color: white;
}

/* футер меню */

.foobar ul {
    font-size: 13px;
    list-style: none;
    margin: 0 0 0 -0.8125em;
    padding-left: 0;
}

.foobar li {
    float: left;
    position: relative;

}

.foobar a {
    color: #fcfcfc;
    display: inline-block;
    margin-right: 5px;
    text-decoration: none;
}

/* футер меню */

body {
    background-color: white;
}

.taglinks a {
    color: #fcfcfc;
    background-color: #284169;
    padding: 5px 15px;
    text-align: center;
    border-radius: 5px;
}

.taglinks a:hover {

    background-color: dodgerblue;

}

.taglinks {
    margin: 0 auto;
}

/* Запись */
.post__category-link {
    font-size: 20px;
    font-weight: bold;
}

.post__category-link a {
    color: dodgerblue;
    text-decoration: none;
}

.post__category-link a:hover {
    color: #165f16;
}

.epvc-label {
    font-size: 16px;
    font-weight: bold;
}

.epvc-count {
    font-size: 16px;
    font-weight: bold;
    color: coral;
}

.epvc-post-count {
    margin-left: 5px;
}

.logged-in-as a {
    color: dodgerblue;
    font-weight: bold;
    text-decoration: none;
}

.logged-in-as a:hover {
    color: #165f16;
}

.post__btn {
    border: 1px solid dodgerblue;
    color: dodgerblue;
}

.post__btn:hover {
    border: 1px solid dodgerblue;
    background-color: dodgerblue;
    color: white;
}

/* to top */

#top {
    display: block;
    position: fixed;
    bottom: 60px;
    right: 32px;
    z-index: 9999;
    cursor: pointer;
    display: none;
    opacity: .8;
    background-color: #468fde;
    color: white;
    border-radius: 30px !important;
    padding: 10px 20px;
}

#top:hover {
    opacity: 1;
    -webkit-transition: 0.5s;
    background-color: #093758;
}

html {
    scroll-behavior: smooth;
}

/* to top */

#cat {
    max-width: 98%;
    background-color: dodgerblue;
    color: white;
    padding: 5px 0px 5px 15px;
    border-bottom: 2px black solid;
    border-right: 2px black solid;
}

.sidebar-links {
    box-shadow: 5px 5px 15px #334151;
    text-decoration: none !important;
}

/*.author a {
    color: #046bbf;
}*/

/* картинки  */

.post__img img {
    box-shadow: #1b1e21 10px 10px 10px;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80) black;
    -khtml-opacity: 0.8;
    background-color: #000;
    border-radius: 15px;
}

.post__img img:hover {
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100) black;
    -khtml-opacity: 1;
    background-color: #000;
}

@media screen and (min-width: 1200px) {

    .post__img img {
        width: 300px;
        height: 167px;
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .entry-title-archive a {
        font-size: 30px;
        line-height: 36px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {

    .post__img img {
        width: 300px;
        height: 167px;
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .entry-title-archive {
        line-height: 1;
    }

    .entry-title-archive a {
        font-size: 20px;
        line-height: 28px;
    }
}


@media screen and (min-width: 651px) and (max-width: 991px) {

    .post__img img {
        width: 300px;
        height: 167px;
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .entry-title-archive {
        line-height: 1;
    }

    .entry-title-archive a {
        font-size: 20px;
        line-height: 28px;
    }

}

@media screen and (max-width: 650px) {

    .post__img img {
        width: 100%;
        height: 167px;
        margin-bottom: 20px;
    }

    .entry-title-archive a {
        font-size: 20px;
        line-height: 28px;
        font-weight: normal;
    }

}

/* картинки  */

/* архивы  */

@media screen and (min-width: 1200px) {

    .arh-content-wide {
        max-width: 65%;
        margin-right: 10px;
        margin-left: 15px;
    }

    .arh-sidebar-wide {
        max-width: 23%;
        margin-top: 6px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {

    .arh-content-wide {
        max-width: 68%;
        margin-right: 10px;
        margin-left: 10px;
    }

    .arh-sidebar-wide {
        max-width: 27%;
    }
}

@media screen and (min-width: 651px) and (max-width: 991px) {


    .arh-content-wide {
        max-width: 100%;
        margin-right: 15px;
        margin-left: 25px;
    }

    .arh-sidebar-wide {
        max-width: 93%;
        float: none;
        margin: 0 auto;
    }
}

@media screen and (max-width: 650px) {

    .arh-content-wide {
        max-width: 95%;
        margin: 0 auto;
    }

    .arh-sidebar-wide {
        max-width: 93%;
        float: none;
        margin: 0 auto;
    }
}


/* архивы конец  */


.bg-aside {
    #background-color: rgb(255, 255, 255);
    color: #0c0c0c;
}


/* Мобильные стили  */
@media screen and (min-width: 1200px) {

    .entry-content h2 {
        font-size: 2rem;
    }
}

@media screen and (min-width: 576px) {

    .trending-wrapper .wrap-label {
        width: 70%;
        text-align: left;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .tags-wrapper a {
        display: inline-block;
    }

    .trending-wrapper .mt-container {
        background: unset;
    }
}

@media screen and (max-width: 1199px) {

    .entry-content h2 {
        font-size: 1.3rem;
        padding-top: 5px;
        padding-bottom: 5px;
    }

}

@media screen and (max-width: 991px) {

    #top {
        position: fixed;
        bottom: 20px;
        right: 22px;
    }


}

@media screen and (max-width: 575px) {
    .trending-wrapper .mt-container {
        background: none;
    }

    .trending-wrapper .wrap-label {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .tags-wrapper a {
        display: inline-block;
    }

    .arh-content-wide h1 {
        font-size: 1.55rem !important;
        padding-bottom: 20px;
    }


}

.entry-header .archive__img img {
    box-shadow: #1b1e21 10px 10px 10px;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80) black;
    -khtml-opacity: 0.8;
    background-color: #000;
    border-radius: 15px;
}

@media screen and (min-width: 1024px) {

    .entry-header .archive__img img {
        width: 125px;
        height: 100px;
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 1199px) and (min-width: 1024px) {


    .display-3 {
        font-size: 60px;
    }
}

@media screen and (max-width: 1023px) {

    .entry-header .archive__img img {
        width: 125px;
        height: 100px;
        margin-bottom: 20px;
        margin-right: 15px;
    }

    .display-3 {
        font-size: 40px;
    }
}

@media screen and (max-width: 600px) {

    .entry-header .archive__img img {
        width: 75px;
        height: 50px;
        margin-right: 5px;
        margin-bottom: 5px;
    }
}

.read-more {
    background-color: dodgerblue;
    color: white;
    padding: 6px 25px;
    box-shadow: #1b1e21 5px 5px 10px;
    border-radius: 5px;
}

.read-more:hover {
    background-color: #a53c0c;
    color: white;
    text-decoration: none;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;

}

/*Modal block*/

.hidden {
    display: none !important;
}

.modalblock {
    margin-top: 15px;
}

.modal-wrapper {
    width: 100%;
    position: fixed;
    bottom: 20%;
}

#qModal,
#rModal,
#sModal,
#dModal {
    max-width: 40%;
    height: auto;
    padding: 10px 10px 10px 10px;
    margin: 0 auto;
    line-height: 18px;
    z-index: 1000;
    box-shadow: 3px -3px 15px #ddd;
    transition: opacity 0.3s ease-in-out;
    -moz-box-shadow: 3px -3px 15px #ddd;
    -webkit-box-shadow: 3px -3px 15px #ddd;
    -o-box-shadow: 3px -3px 15px #ddd;
}

#sModal {
    background-color: #125325;
}

#rModal {
    background-color: #483129;
}

#qModal {
    background-color: #0e3754;
}

#dModal {
    background-color: #0c5991;
}

a.close {
    position: absolute;
    cursor: pointer;
    top: 5px;
    right: 5px;
    text-decoration: none;
    border: none
}

@media (max-width: 1024px) and (min-width: 576px) {
    #qModal,
    #rModal,
    #sModal,
    #dModal {
        max-width: 60%;
    }
}

@media (max-width: 575px) {
    #qModal,
    #rModal,
    #sModal,
    #dModal {
        max-width: 90%;
    }

    .modal-wrapper {
        bottom: 15%;
    }
}


.modalclose {
    color: #fff;
    text-shadow: #256bdd 2px 1px 1px;
    float: right !important;
    font-size: 28px;
    font-weight: bold;
}

.modalclose:hover,
.modalclose:focus {
    color: #d22424;
    text-decoration: none;
    cursor: pointer;
}

/*EndModdal */


.wp-block-image img {
    max-width: 100%;
    height: auto;

}

.comment-reply-title a {
    margin-left: 10px;
}

/* Search form */

#searchform { /* вся форма, можно задать цвет, размер, отступы */
    margin-top: 10px;

}

#searchform input[type="text"] { /* поле ввода */
    padding: 10px;
}

#searchform input[type="submit"] { /* кнопка */
    min-width: 60px;
    height: 48px;
    color: white;
    background-color: dodgerblue; /* цвет кнопки */
}

#searchform input[type="submit"]:hover { /* кнопка */
    background-color: #a53c0c; /* цвет кнопки */
}

/* top-block */
.main-grid-top__card {
    margin: 3px;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    word-wrap: break-word;
    background-clip: border-box;
}

.main-grid__card {
    margin: 3px;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    word-wrap: break-word;
    background-clip: border-box;
}


.main-grid-top__card-img,
.main-grid__card-img {
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80) black;
    -khtml-opacity: 0.8;
    background-color: #000;
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}


@media screen and (min-width: 1200px) {
    .main-grid-top__card {
        max-width: 15%;
    }

    .main-grid-top__card-img {
        min-height: 140px;
    }

    .main-grid__card:nth-child(-n+3) img {
        height: 300px;
    }

    .main-grid__card:nth-child(n+4) img {
        height: unset;
    }

    .main-grid__card:nth-child(n+8) img {
        height: 170px;
    }

    .main-grid__card:nth-child(1) {
        width: 40%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+2) {
        width: 29%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+4) {
        width: 24.5%;
    }

    .main-grid__card:nth-child(n+8) {
        width: 19.5%;
    }

}

@media (max-width: 1199px)  and (min-width: 1024px) {
    .main-grid-top__card {
        width: 24%;
    }

    .main-grid-top__card:nth-child(n+9) {
        display: none;
    }

    .main-grid-top__card-img {
        height: 140px;
    }

    .main-grid__card:nth-child(-n+3) img {
        height: 250px;
    }

    .main-grid__card:nth-child(n+4) img {
        height: 200px;
    }

    .main-grid__card:nth-child(n+7) img {
        height: 130px;
    }

    .main-grid__card:nth-child(n+11) {
        display: none;
    }

    .main-grid__card:nth-child(1) {
        width: 40%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+2) {
        width: 29%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+4) {
        width: 24.5%;
    }

    .main-grid__card:nth-child(n+8) {
        width: 19.5%;
    }

}

@media (max-width: 1023px)  and (min-width: 768px) {
    .main-grid-top__card {
        width: 32%;
    }

    .main-grid-top__card:nth-child(n+7) {
        display: none;
    }

    .main-grid-top__card-img {
        height: 140px;
    }

    .main-grid__card:nth-child(-n+2) img {
        height: 220px;
    }

    .main-grid__card:nth-child(n+3) img {
        height: 150px;
    }

    .main-grid__card:nth-child(n+6) img {
        height: 130px;
    }

    .main-grid__card:nth-child(n+10) {
        display: none;
    }

    .main-grid__card:nth-child(-n+2) {
        width: 48%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+3) {
        width: 29%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+4) {
        width: 24.5%;
    }

    .main-grid__card:nth-child(n+8) {
        width: 19.5%;
    }

}

@media (max-width: 767px)  and (min-width: 576px) {
    .main-grid-top__card {
        width: 48%;
    }

    .main-grid-top__card:nth-child(n+7) {
        display: none;
    }

    .main-grid-top__card-img {
        height: 160px;
        width: 100%;
    }

    .main-grid__card:nth-child(-n+2) img {
        height: 220px;
    }

    .main-grid__card:nth-child(n+3) img {
        height: 150px;
    }

    .main-grid__card:nth-child(n+6) img {
        height: 130px;
    }

    .main-grid__card:nth-child(n+10) {
        display: none;
    }

    .main-grid__card:nth-child(-n+2) {
        width: 48%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+3) {
        width: 29%;
        flex-grow: 1;
    }

    .main-grid__card:nth-child(n+4) {
        width: 24.5%;
    }

    .main-grid__card:nth-child(n+8) {
        width: 19.5%;
    }
}

@media screen and (max-width: 575px) {
    .main-grid-top__card {
        width: 100%;
    }

    .main-grid-top__card:nth-child(n+7) {
        display: none;
    }

    .main-grid-top__card-img {
        max-height: 150px;
        width: 100%;
    }

    .main-grid__card-img {
        max-height: 150px;
    }

    .main-grid__card {
        width: 98%;
        flex-grow: 1;
    }

}

.main-grid-top__title {
    position: absolute;
    bottom: -10px;
    padding: 15px 5px;
    min-height: 80px;
    width: 100%;
    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    font-size: 17px;
    display: block;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    text-align: center;
    border-radius: 15px;
}

.main-grid-top__title a {
    color: white;
    text-decoration: none;
}

.main-grid-top__title a:hover {
    color: white;
    display: block;
}

.main-grid-top__title:hover {
    background-color: dodgerblue;
    border-top-left-radius: unset;
    border-top-right-radius: unset;
}

/* top-block end */
.row-cards {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

/*.image-fluid {
    max-width: 100%;
    height: auto;
}*/

/*
.entry-header .archive__img img:hover,
.main-grid-top__card-img:hover,
.main-grid__card-img:hover{
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100) black;
    -khtml-opacity: 1;
    background-color: #000;
}
.widget_post_views_counter_list_widget ul,
.widget_categories ul{
    padding-left: 20px !important;
}

*/

/* топбар */

.row-topbar .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    opacity: 1 !important;
}

.row-topbar .top .logo {
    flex: 1;
    padding: 16px;
    text-align: center;
}

.row-topbar .quest, .row-topbar .otziv {
    margin-right: 20px;
}

.row-topbar .top .logo img {
    display: none;
    width: 184px;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: #24a1d4;
    font-weight: 400;
}

.topbar-wrapper {
    background-color: #0a001f;
}

.row-topbar {
    display: block;
    margin: 0 auto;
    width: 1110px;
    max-width: 100%;

}

.row-topbar .in-queue, .row-topbar .order {
    padding-left: 25px;
    color: #fff;
    background-size: 23px;
    display: inline-block;
    font-weight: 300;
    font-size: 16px;
    line-height: 52px;
    height: 52px;
}

.row-topbar .check-in a {
    display: inline-block;
    background: #375592;
    padding: 0 26px;
    font-weight: 700;
    font-size: 13px;
    line-height: 52px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

.row-topbar .check-in a:hover {
    background: #2c6b88;
}

.fa-15x {
    font-size: 20px;
}

.call_phone_head {
    display: inline-block;
    margin-left: 22px;
    text-align: center;
    vertical-align: middle;
}

.call_phone_head > div {
    text-align: center;
}

.nh_header__phone, .call_phone_mar_lub_a a, .call_phone_suh_a a, .call_phone_corp a {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.nh_worktime {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    white-space: nowrap;
    color: #fff;
    font-weight: 400;
}


@media screen and (max-width: 992px) {
    .row-topbar .top .logo,
    .row-topbar .top .check-in,
    .row-topbar .top .call_phone_head {
        width: 100%;
    }

    .row-topbar .top {
        display: block;
    }

    .row-topbar .logo {
        display: none !important;
    }

    .row-topbar {
        width: 95%;
    }

    .row-topbar .quest,
    .row-topbar .otziv {
        margin-right: 0;
    }

    .row-topbar .top > div {
        display: inline-block;
        width: 33.33333%;
    }

    .row-topbar .check-in a {
        display: block;
    }

    .call_phone_head {
        margin: 0 !important;
        padding: 15px 0;
        width: 100% !important;
    }

    #day_night {
        position: relative;
        top: -50px;
    }
}

@media screen and (max-width: 575px) {
    .row-topbar .top > div {
        width: 48%;
    }
}


/* топбае конец */

/*страница врачи */
.img-doctors {
    width: 100%;
    height: auto;
}

.doctor-name {
    font-size: 1.4rem;
}

.doctor-speciality {
    height: 40px;
}

.doctors-credentials {
    bottom: 20px;
    left: 40px;
    #background: linear-gradient(to top, #000 0%, transparent 100%);
    background-color: #0C1021;
    opacity: 0.8;
    color: white;
    padding: 20px 20px 5px 20px;
    text-align: center;
    width: 100%;

}

.doctors-credentials:hover {
    background: linear-gradient(to bottom, #1a2432 40%, transparent 100%);
}

.doctors-img {
    margin: 0 auto;
}

.doctors-top .row {
    margin-left: 0;
    margin-right: 0;
}

.doctor-card {
    border: 1px solid #708697;
}

.doctor-card:hover {
    border: 1px solid #38aee2;
    transition-duration: .3s;
}

.doctor-card:hover .img-doctors,
.img-works:hover {
    transition-duration: .3s;
    opacity: 0.7;
}


/*страница врачи конец */

/* главная страница */
.main-directions__list {
    list-style: inside none;
    margin: 0 0 36px;
    padding: 0;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}

.main-directions__list-item {
    display: block;
    margin-bottom: 6px;
    width: 100%;
    padding: 4px 0px 0px 14px;
    position: relative;
}

.main_title {
    background-size: 70px;
    font-size: 36px;
    line-height: 90px;
    color: #2070b6;
    text-align: center;
    margin: 0 0 30px;
    font-weight: 600;
}

.main_title-nobg {
    font-size: 36px;
    color: #2070b6;
    text-align: center;
    font-weight: 600;
}


.main-directions {
    display: inline-block;
    padding: 50px 0 90px;
    border-bottom: 1px solid #e4e4e4;
    width: 100%;
}

.btn_main {
    margin-top: 34px;
    display: block;
    width: 100%;
    max-width: 300px;
    height: 60px;
    margin: 0 auto;
    background: transparent;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 56px;
    color: #2070b6;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid #2070b6;
}

.full {
    width: 100%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

.grid-container {
    padding-right: 0;
    padding-left: 0;
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.anime-numbers.counter-anime {
    font-size: 64px;
    font-weight: 100;
    display: inline-block;
    width: 100%;
    text-align: left;
    line-height: 1;
}

.number-title {
    display: inline-block;
    text-align: left;
    width: 100%;
    font-size: 20px;
    padding-left: 6px;
    padding-right: 22px;
    line-height: 1.2;
    margin-top: 8px;
}

.home .number-crunch {
    padding-left: 35px;
}

.rounded-icon {
    width: 125px;
    height: 125px;
    background-color: #34c423;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 58%;
    border-radius: 50%;
}

.rounded-icon:hover {
    background-color: #248a18;
}

.experience-number {
    display: flex;
}

.content-home {
    margin-top: 41px;
    margin-bottom: 44px;
}

.paralax {
    background-attachment: fixed;
    padding: 70px 0;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 500px;
    background-image: url(/wp-content/themes/220/pics/bg-parallax-1-1.jpg);
}

.pimg img {
    border-radius: 50%;
    width: 95%;
    height: auto;
}


@media only screen and (min-width: 1001px) and (max-width: 1279px) {
    .anime-numbers.counter-anime {
        font-size: 47px;
    }

    .grid-container, #page .grid-container {
        max-width: 980px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .grid-container, #page .grid-container {
        width: 740px;
    }

    .rounded-icon {
        width: 85px;
        height: 85px;
    }

    .home .number-crunch {
        padding-left: 15px;
    }

    .anime-numbers.counter-anime {
        font-size: 38px;
    }

    .number-title {
        width: 100%;
        font-size: 15px;
        padding-right: 0;
        margin-top: 8px;
    }

    .content-home p,
    .p-front-page {
        font-size: 17px;
    }
}

@media only screen and (max-width: 767px) {
    footer .grid-container, #page .grid-container {
        width: 93%;
    }

    .content-home {
        margin-top: 1px;
        margin-bottom: 24px;
        text-align: left !important;
        padding: 15px 15px 0 15px;
    }

    .content-home p,
    .p-front-page {
        font-size: 17px;
    }

    .experience-number {
        margin-bottom: 20px;
    }

    .rounded-icon {
        width: 75px;
        height: 75px;
    }

    .anime-numbers.counter-anime {
        font-size: 46px;
    }

    .home .number-crunch {
        padding-left: 15px;
    }

    .main_title-nobg {
        font-size: 26px;

    }
}

@media screen and (max-width: 992px) {

    .main-directions__list {
        -webkit-column-count: 3;
        column-count: 3;
    }
}

@media screen and (max-width: 770px) {

    .main-directions__list {
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media screen and (max-width: 575px) {

    .main-directions__list {
        -webkit-column-count: 1;
        column-count: 1;
    }

    .main_title {
        font-size: 24px;
        line-height: 1.2;
        padding-bottom: 20px;
    }
}


/* главная страница конец */
/* контакты страница */
.contact-address-block p,
.contact-address-block li {
    font-size: 16px;
}

.contact-address-block span {
    font-size: 18px;
}

/* контакт форма стили*/

/***Стили для CF7 вариант2***/
.wpcf7 {
    border: 1px dashed #225384; /*цвет границы*/
    padding: 20px 20px 20px 0px !important;
    text-transform: uppercase;
}

.cf-left, .cf-right {
    float: left;
    margin-bottom: 15px;
}

.clear {
    clear: both;
}

/*Стили для блока с заголовками полей*/
.cf-left {
    width: 50%;
    padding-left: 20px;
    max-width: 150px;
    font-size: 1.1em;
}

/*Стили для блока полей формы*/
.cf-right {
    width: 60%;
}

.cf-right input, .cf-right textarea {
    width: 100%;
    max-width: 300px;
    padding: 4px;
    background: #d4d4d4; /*фон полей формы*/
    border: 1px solid #8a8a8a;
}

.wpcf7-submit {
    background: linear-gradient(#2F73B6, #399ADF), #2F73B6 !important; /*фон кнопки*/
    color: #fff !important; /*цвет шрифта кнопки*/
    text-transform: uppercase;
    float: right;
    margin-left: 20px !important;
    border-radius: 5px !important;
    text-shadow: none !important;
    border: 1px #475f8c solid;
}

.wpcf7-submit:hover {
    -moz-box-shadow: 0 0 6px #000;
    -webkit-box-shadow: 0 0 6px #000;
    box-shadow: 0 0 6px #000;
    background-image: linear-gradient(#399ADF, #2F73B6), #399ADF !important; /*фон кнопки при наведении*/
}

.contact-map {
    width: 100%;
}

.contact-list {
    list-style: none;
    padding-left: unset;
    margin-bottom: 0;

}

.contact-list li {
    font-weight: bold;
}

.order {
    display: inline-block;
}

.contact-list-border li {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px grey dashed;
}


.main-text-color,
.contact-list i {
    color: #399ADF;
}

.contact-banner {
    background: url("/wp-content/themes/220/pics/bg-contacts-1.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #464646;

}

@media screen and (min-width: 1024px) {
    .contact-banner {
        height: 200px;
    }

}

@media screen and (max-width: 1023px) {
    .contact-banner {
        height: 130px;
    }

    .cf-right {
        width: 100%;
        padding-left: 25px;
    }

}


/* контакты страница конец*/

/* страница услуги */

.item-service {
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: center;
    font-size: 1em;
}

.item-service:hover {
    background-color: #e4e2ee;
}

.item-service:nth-child(even) {
    background-color: #f5ebde;
}

.item-service:nth-child(even):hover {
    background-color: #e4e2ee;
}

.item-category {
    display: block;
    border: 1px solid white;
    text-align: center;
    background-color: #387fae;
    color: white;
    padding: 10px;
}

.item-category:hover {
    background-color: #29668e;
}

.item-title {
    width: 88%;
    display: inline-block;
    border-right: 1px dashed grey;
}

.item-price {
    width: 10%;
    display: inline-block;
    text-align: center;
}

.show-services {
    cursor: pointer;
    color: grey;
}

.show-services:hover {
    color: #3d3c3c;
}

.item-description-pre {
    cursor: pointer;
}

.item-description-pre:hover {
    text-decoration: underline;
}


@media screen and (max-width: 1024px) {

    .item-service {
        width: 100%;
        font-size: 0.8em;
    }

    .item-title {
        width: 83%;
    }

    .item-price {
        display: flex;
    }

    .item-price span {
        width: 15%;
        margin: auto;
    }
}

/* страница услуги конец*/

/* страница отзывы */

.service-card {
    background-color: #ffebd3;
    width: 45%;
}

@media screen and (max-width: 767px) {

    .service-card {
        width: 95%;
    }

}
/*страница отзывы конец*/

/*slider*/
.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 40px;
    height: 40px;
}

.carousel-indicators li {
    background-color: #0A246A;
    height: 6px;
}



/*slider end*/