:root {
    --c-main-blue: #0b6aaf;
    --c-main-orange: #be5726;
}

@font-face {
    font-family: Myriad;
    src: url(/fonts/myriad.otf);
}

body {
    background-color: #fff;
    color: #212121;
    font-family: Myriad, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.fffcolor i {
    color: white;
}

p {
    font-size: 16px;
    font-family: Myriad, sans-serif;
}

.form-group {
    margin-bottom: 15px;
}

header, footer {
    min-height: 90px;
}

.category-list {
    color: var(--c-main-blue);
    text-decoration: unset;
    font-weight: bold;
}

.btn-search:hover {
    background-color: var(--c-main-blue);
    border-color: var(--c-main-blue);
    color: white;
}

.btn-search {
    color: var(--c-main-blue);
    border-color: var(--c-main-blue);
}

.page-link {
    color: var(--c-main-blue);
}

.page-item.active .page-link {
    background-color: var(--c-main-blue);
    border-color: var(--c-main-blue);
}

.news-list-item__title {
    color: var(--c-main-orange);
    text-decoration: unset;
}

.event-date {
    color: #1a1b1b;
    font-size: 16px;
    padding: 2px;
    border-radius: 3px;
}

.event-date:hover {
    background-color: #cfd2d2;
}

.img-wrapper-main {
    height: 180px;
}

.img-responsive {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.categories {
    background-color: #7f95bb;
}

.categories:hover {
    background-color: #4f5f7a;
}

.region:hover {
    background-color: #e6e6e8;
}

.form-wrapper {
    min-height: 650px;
}

.bg-footer {
    background-color: #4f5f7a;
}

@media screen and (max-width: 768px) {
    .mt-xs {
        margin-top: 15px;
    }

    .categories-wrapper a {
        display: list-item;
        padding: 2px 10px !important;
        border: #c8cbcb 1px solid;
        border-radius: 5px;
    }
}

.checkbox {
    width: 15px;
    height: 15px;
    position: relative;
    top: 2px;
}


/*@font-face {*/
/*    font-display: swap;*/
/*    font-family: Bebas;*/
/*    src: url(/fonts/bebas.otf);*/
/*}*/

/*@font-face {*/
/*    font-family: Magistral;*/
/*    src: url(/tabletka/fonts/magistral.ttf);*/
/*}*/

/*@font-face {*/
/*    font-family: MagistralB;*/
/*    src: url(/tabletka/fonts/magistral-bold.ttf);*/
/*}*/

/*@font-face {*/
/*    font-family: Myriad;*/
/*    src: url(/tabletka/fonts/myriad.otf);*/
/*}*/

/*@font-face {*/
/*    font-family: MyriadB;*/
/*    src: url(/tabletka/fonts/myriad-bold.otf);*/
/*}*/

html, body {
    #background: url(/tabletka/pics/bg.jpg) top right fixed no-repeat;
    font-family: Myriad;
    margin: 0;
    padding: 0;
}

.scrollUp {
    position: fixed;
    top: auto;
    bottom: 40px;
    left: auto;
    right: 100px;
    border-radius: 20px;
    cursor: pointer;
    padding: 0px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}


.card_table_header {
    background: #f3f3f3;
    color: #000;
    text-transform: uppercase;
    font-family: MyriadB;
    border-radius: 100px;
}


a:link, a:visited {
    color: #24408e;
}

a:hover {
    color: #ed1c24;
}


.person_row {
    background: #f7f7f7;
}

.person_row:hover {
    background: #f1f1f1;
}


.styled-select {
    background: #d9d3bd;
    height: 50px;
    overflow: hidden;
    width: 100%;
    border: 2px solid #ccc;
}

.styled-select select {
    background: transparent;
    border: none;
    font-size: 14px;
    height: 50px;
    padding: 5px; /* If you add too much padding here, the options won't show in IE */
    width: 95%;
}

.styled-select.slate {
    background: url(http://i62.tinypic.com/2e3ybe1.jpg) no-repeat right center;
    height: 34px;
    width: 240px;
}

.styled-select.slate select {
    border: 1px solid #ccc;
    font-size: 16px;
    height: 34px;
    width: 268px;
}


/* -------------------- Colors: Background */
.green {
    background-color: #fff;
}


/* -------------------- Colors: Text */
.green select {
    color: #fff;
}


/* -------------------- Select Box Styles: danielneumann.com Method */
/* -------------------- Source: http://danielneumann.com/blog/how-to-style-dropdown-with-css-only/ */
#mainselection select {
    border: 0;
    color: #EEE;
    background: transparent;
    font-size: 20px;
    font-weight: bold;
    padding: 2px 10px;
    width: 378px;
    *width: 350px;
    *background: #58B14C;
    -webkit-appearance: none;
}

#mainselection {
    overflow: hidden;
    width: 350px;
    -moz-border-radius: 9px 9px 9px 9px;
    -webkit-border-radius: 9px 9px 9px 9px;
    border-radius: 9px 9px 9px 9px;
    box-shadow: 1px 1px 11px #330033;
    background: #58B14C url("http://i62.tinypic.com/15xvbd5.png") no-repeat scroll 319px center;
}


/* -------------------- Select Box Styles: stackoverflow.com Method */
/* -------------------- Source: http://stackoverflow.com/a/5809186 */
select#soflow, select#soflow-color {
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    background-image: url(http://i62.tinypic.com/15xvbd5.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
    background-position: 97% center;
    background-repeat: no-repeat;
    border: 1px solid #AAA;
    color: #555;
    font-size: inherit;
    margin: 20px;
    overflow: hidden;
    padding: 5px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 300px;
}

select#soflow-color {
    color: #fff;
    background-image: url(http://i62.tinypic.com/15xvbd5.png), -webkit-linear-gradient(#779126, #779126 40%, #779126);
    background-color: #779126;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding-left: 15px;
}

.main-box {
    background: #fff;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    clear: bottom;
}

.form-select {
    outline: none;
    font-family: Myriad;
    height: 50px;
    width: 100% !important;
    color: #24408e !important;
    padding: 10px !important;
}


/*.col-md-3 {
    float: left;

}*/

.service_icon {
    display: inline-block;
    position: absolute;
    top: -25px;
    width: 70px;
    height: 70px;
    border-radius: 1000px;
    border: 4px solid #4f71b0;
    background: #4f71b0;
    text-align: center;
    padding-top: 12px;
    z-index: 5;
}

.service_text {
    display: inline-block;
    position: relative;
    font: 20px MagistralB;
    top: -1px;
    left: 90px;
    color: #fff;
}

.service_set:hover > .service_icon {
    background: #193f85;
}

.service_set:hover > .service_text {
    text-decoration: underline;
}

.h3-footer {
    color: #193f85;
    font: 32px MyriadB;
    margin-bottom: 20px;
    margin-top: 20px;
}

.clinic-addreses {
    border-left: 5px solid #00ced1;
    padding-left: 10px;
    margin-bottom: 20px;
    height: 60px;
}

.mfont {
    font-family: MyriadB;
}

.addresses a {
    font-family: MyriadB;
    color: #193f85;
}

.clinic-addreses a {
    font-size: 19px;
    font-family: MyriadB;
    color: #193f85;
}

.clinic-addreses1 a {
    font-size: 19px;
    font-family: MyriadB;
    color: #193f85;
}

.clinic-addreses1 {
    border-left: 5px solid #00ced1;
    padding-left: 10px;
    margin-bottom: 20px;
    height: 60px;
    padding-top: 17px;
}

.addresses {
    text-align: left;
    color: #333;
    font-family: Myriad, serif;
    font-size: 18px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

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

    .main-box {

        border: 10px solid #eaeaea;
        width: 65%;
        padding: 30px;

    }

    .form-select {

        font-size: 20px !important;

    }

    .hide-xs {
        display: block;
    }

    .show-xs {
        display: none;
    }

    #wrapper {
        width: 70%;
        margin: 0 auto;

    }

    #wrapper {
        width: 80%;
        margin: 0 auto;
    }

    .service_panel {
        width: 100%;
        background: #193f85;
        z-index: 2;
        margin-bottom: 2px;
        padding: 8px;
    }

}

@media screen and (max-width: 1199px) {
    .service_panel {
        display: none;
    }

    .hidden-lg {
        display: none;
    }
}


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

    .main-box {

        border: 10px solid #eaeaea;
        width: 85%;
        padding: 20px;
    }

    .form-select {

        font-size: 18px !important;

    }

    .hide-xs {
        display: block;
    }

    .show-xs {
        display: none;
    }

    #wrapper {
        width: 95%;
        margin: 0 auto;

    }

    .col-md-3 {
        width: 25%;

    }

    .col-md-4 {
        width: 30%;
        float: left;
    }

    .col-md-5 {
        width: 40%;
        float: left;
    }

}

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

    .main-box {

        border: 8px solid #eaeaea;
        width: 90%;
        padding: 15px;
    }

    .form-select {

        font-size: 16px !important;

    }

    .hide-xs {
        display: block;
    }

    .show-xs {
        display: none;
    }

    #wrapper {
        width: 95%;
        margin: 0 auto;

    }

    .col-md-3 {
        width: 50%;

    }

    .col-md-4 {
        width: 50%;
        float: left;
    }

    .col-md-5 {
        width: 40%;
        float: left;
    }


}


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

    .bottom_buttons {
        display: none;
    }

}

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

    #rightsidebar {

        display: none !important;
    }

    .bottom_buttons {
        border: 0px solid red;
        background: #193f85;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 40px;
    }
}


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

    .main-box {

        border: 5px solid #eaeaea;
        width: 85% !important;
        padding: 15px;
    }

    .form-select {

        font-size: 16px !important;

    }

    .hide-xs {
        display: none;
    }

    .show-xs {
        display: block;
        width: 20px;
    }

    #wrapper_copy {
        width: 95%;
        margin: 0 auto;

    }

    #wrapper {
        width: 95%;
        margin: 0 auto;

    }

    .col-md-3 {
        width: 100%;

    }

    .col-md-5 {
        width: 100%;

    }

    .col-md-4 {
        width: 100%;

    }


}

.copyright_block {
    padding-bottom: 30px;
    margin-top: -20px;
}

.footer-copy-text {
    font-size: 14px;
    margin: 15px 255px;
}

@media (max-width: 1324px) {
    .footer-copy-text {

        margin: 15px 25px;
    }
}

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

    .prescriptions {
        display: block;
        text-align: center;
        font: 20pt Magistral;
        color: #496fb5;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 20px;

    }
}

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


    .prescriptions {
        display: block;
        text-align: center;
        font: 20pt Magistral;
        color: #496fb5;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 20px;

        margin-left: 10px;
        margin-right: 10px;
    }
}

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

    p.prescriptions {
        font: 26pt Magistral;
        color: #496fb5;

        text-align: center;
        margin-bottom: 35px;
    }
}

#wrapper:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
}

#wrapper_razdely:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
}

#wrapper_copy:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
}

.col-xs-3 {

    width: 22%;
    float: left;
}

.col-md-8 {
    width: 95%;

}


.col-md-9 {
    width: 75%;
    float: left;

}

.button_2c8 {
    position: relative;
    bottom: 30px;
}

.footer_plashka {
    font-size: 15px;
    color: #193f85;
    border: 0px dashed red;
}

.footer_plashka_blue {
    margin: 30px 0 30px 0;
    display: inline-block;
    font-size: 14px;
    color: #fff;
    border: 0px dashed red;
}

.footer_plashka ul {
    position: relative;
    left: -22px;
}

a.footerlink:link, a.footerlink:visited {
    color: #87898f;
    text-decoration: none;
    font-size: 15px;
}

a.footerlink:hover {
    text-decoration: underline;
}

a.footerlink_white:link, a.footerlink_white:visited {
    color: #fff;
    text-decoration: underline;
}

a.footerlink_white:hover {
    text-decoration: none;
}

.row {
    margin-left: -.9375rem;
    margin-right: -.9375rem;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.w-220 {
    width: 200px;
}

.w-40 {
    width: 40px;
}

.pagination-main {
    display: inline-block;
    float: right;
    margin-top: -20px;
    position: relative;
    top: -20px;
}


@media screen and (max-width: 767px) {
    .w-220 {
        width: 0;
        display: none;
    }

    .w-40 {
        width: 0;
        display: none;
    }

    .pagination-main {
        display: inline-block;
        float: right;
        margin-top: 10px;
    }

    .main-h2 {
        display: block;

    }
}


/* карусель */
.carousel-control {
    padding-top: 10%;
    width: 5%;
    font-size: 80px;
    text-decoration: none;
    text-shadow: 2px 2px 4px black, 0 0 1em #193f85;
    background-image: none !important;
}

.carousel-control.left {
    left: -60px;
}

.carousel-control.right {
    right: -60px;
}

.carousel-control1 {
    font-size: 80px;
    text-decoration: none !important;
    text-shadow: 2px 2px 4px black, 0 0 1em #193f85;
    background-image: none !important;
}

.carousel-control {
    width: 5%;
    color: #fff;
    font-size: 80px;
    text-decoration: none;
    text-shadow: 2px 2px 4px black, 0 0 1em #193f85;
    background-image: none !important;
}

.carousel-control:hover {
    color: #d9d6d6;
    text-decoration: none;
}

.carousel-control.left {
    position: relative;
    top: -280px;
    left: -550px;
}

.carousel-control.right {
    position: relative;
    top: -280px;
    right: -550px;
}

.carousel-control1.left {
    margin-right: 25px;
}

.carousel-control1.right {
    msrgin-left: 25px;
}

.divlic a {
    color: #193f85;
    font: 22px MyriadB;
}

.divlic {
    position: relative;
    padding-bottom: 40px;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner > .item {
    position: relative;
    display: none;
    -webkit-transition: .6s ease-in-out left;
    -o-transition: .6s ease-in-out left;
    transition: .6s ease-in-out left;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    line-height: 1;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-inner > .item {
        -webkit-transition: -webkit-transform .6s ease-in-out;
        -o-transition: -o-transform .6s ease-in-out;
        transition: transform .6s ease-in-out;

        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }

    .carousel-inner > .item.next,
    .carousel-inner > .item.active.right {
        left: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    .carousel-inner > .item.prev,
    .carousel-inner > .item.active.left {
        left: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    .carousel-inner > .item.next.left,
    .carousel-inner > .item.prev.right,
    .carousel-inner > .item.active {
        left: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
    display: block;
}

.carousel-inner > .active {
    left: 0;
}

.carousel-inner > .next,
.carousel-inner > .prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.carousel-inner > .next {
    left: 100%;
}

.carousel-inner > .prev {
    left: -100%;
}

.carousel-inner > .next.left,
.carousel-inner > .prev.right {
    left: 0;
}

.carousel-inner > .active.left {
    left: -100%;
}

.carousel-inner > .active.right {
    left: 100%;
}

.carousel {
    max-height: 350px;
}

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

    .carousel-control.left {
        left: -440px !important;
    }

    .carousel-control.right {
        right: -440px !important;
    }

    .carousel {
        max-height: 300px;
    }
}

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

    #wrapper_razdely .col-md-8 {
        width: 100% !important;
    }
}

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

    .carousel-control.left {
        left: -330px !important;
        top: -215px;
    }

    .carousel-control.right {
        right: -330px !important;
        top: -215px;
    }

    .carousel {
        max-height: 200px;
    }
}


@media screen and (min-width: 768px) {
    .hidden-sm {
        display: none;
    }

    .online-consult {
        display: block;
        max-width: 400px;
        margin: 0 auto;

    }

    /*.main-dot {*/
    /*    display: block;*/
    /*    width: 10px;*/
    /*    margin: 10px 10px 0 10px;*/
    /*    height: 10px;*/
    /*    background: #ccc;*/
    /*    border-radius: 100px;*/
    /*    float: left;*/
    /*}*/


}

.button-sm {
    padding: 5px 10px;
    border: solid 1px #2c2c7a;
    display: block;
    margin-top: 15px;
}

.main-dot {
    display: none;

}

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


    .button-sm {
        padding: 5px 10px;
        border: solid 1px #2c2c7a;
        display: block;
        margin-top: 15px;
    }

    .hidden-xs {
        display: none;
    }

    .hidden-sm {
        display: block;
    }

    .carousel .item .row img {
        height: 370px;
        margin: 0 auto;
    }

    .carousel {
        max-height: 440px;
    }

    .divlic {
        margin-top: 30px;
        padding-bottom: unset;
    }

    .divlic a {
        z-index: 9999;
        display: block;
    }

    .carousel-control1 {
        font-size: 80px;
        text-decoration: none !important;
        text-shadow: 2px 2px 4px black, 0 0 1em #193f85;
        background-image: none !important;
    }

    .carousel-control1.left {
        position: relative;
        top: -35px;
    }

    .carousel-control1.right {
        position: relative;
        top: -35px;
    }

    .online-consult {
        padding: 25px;
    }


}


/* карусель конец*/
.h3lic {
    color: #193f85;
    font: 32px MyriadB;
    margin-bottom: 40px;
    margin-top: 80px !important;
}
