/*----------GENERAL----------*/
@font-face {
    font-family: 'mgs';
    src: url('./font/MGS65__U.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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


html {
    height: 100%;
}

body {
    height: 100%;
}

.content {
    min-height: 100%;
    height: auto !important;
    padding-bottom: 107px;
}

.header {
    padding: 30px 0px;
    border-bottom: 2px solid #87898F;
}

#header-phone {
    font-family: 'mgs';
    font-size: 25px;
}

#header-phone a:hover {
    text-decoration: none;
}

.header-text {
    letter-spacing: 1px;
    margin-top: 10px;
    color: #87898F;
    font-size: 15px;
    text-transform: uppercase
}

.logo {
    height: 55px;
}

.footer {
    margin-top: -107px;
}

#footer {
    height: 60px;
    padding-bottom: 30px;
    font-weight: bold;
    border-top: 1px solid;
}

#footer-msg {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.fa-info-circle {
    color: #87898F;
    cursor: pointer;
}

h2 {
    font-size: 1rem;
    font-weight: bold;
}

h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

/*----------MENU----------*/

.menu {
    margin-bottom: 15px;
    font-size: 11px;
    text-transform: uppercase;
}

.top-menu {
    margin-bottom: 5px;
}

.list-group-item {
    color: #212529;
    background-color: #efefef;
}

.list-group-item:hover, .current {
    color: #fff;
    background-color: #193F85;
}

.tree {
    font-size: 13px;
    background-color: #efefef;


    padding: 10px;
    margin-bottom: 5px;
}

.tree a {
    color: #212529;
}

.tree h1 {
    color: #212529;
}

li > span {
    cursor: pointer;
    color: #007bff;
}

.city {
    cursor: pointer;
    color: #007bff;
}

.city:hover {
    color: #16181b;
}

.fa-plus-square,
.fa-minus-square {
    font-size: 12px;
    cursor: pointer;
    margin-left: -15px;
}

.fa-angle-double-down,
.fa-angle-double-up {
    font-size: 12px;
}

/*----------UP BUTTON----------*/

#back-to-top {
    position: fixed;
    z-index: 999;
    display: none;
    bottom: 70px;
    right: 70px;
    cursor: pointer;
}

#back-to-top i {
    width: 50px;
    height: 50px;
    display: block;
    color: #fff;
    background: #32589E;
    text-align: center;
    font-size: 20px;
    line-height: 50px;
    border-radius: 25px;
    box-shadow: 1px 1px 8px -1px rgb(164, 164, 164);
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}

#back-to-top i:hover {
    background: #BBE1FF;
}

/*----------SEARCH----------*/

.search-box .search-form .search-submit {
    display: none;
    outline: none;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.search-box .search-form .search-field {
    width: 100%;
    outline: none;
}

.search-top {
    position: fixed;
    z-index: 999;
    top: 70px;
    right: 70px;
    box-shadow: 0 0 3px 0 #32589E;
}

/*----------CALCULATOR----------*/

.add-to-calc {
    cursor: pointer;
    color: #32589E;
}

.delete-from-calc {
    cursor: pointer;
    color: #EE1E26;
}

.main-calc {
    visibility: hidden;
    color: #fff;
    background: #32589E;
    padding: 10px;
    border: 1px solid #87898F;
    position: fixed;
    top: 140px;
    right: 90px;
    box-shadow: 1px 1px 8px -1px rgb(164, 164, 164);
    z-index: 999;
    border-radius: 15px;
}

#delete-calc {
    padding-left: 20px;
    cursor: pointer;
    color: #fff;
}

#print {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

#calc {
    margin-top: 10px;
    border-top: 1px solid #fff;
}

/*----------DROPDOWN-----------*/
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #fff; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

/* The navigation menu links */
.sidenav a {
    padding: 8px;
    text-decoration: none;
    font-size: 11px;
    display: block;
    transition: 0.3s;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .125);
    margin-bottom: -1px;
    text-transform: uppercase;
    color: #212529;
    background-color: #BBE1FF;
}

.sidenav a:hover, .sidenav a.current {
    color: #fff;
    background-color: #193F85;
}

.sidenav a:first-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    background-color: transparent;
    border: none;
}

/* Position and style the close button (top right corner) */
.sidenav a.closebtn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px;
    color: #BBE1FF;
}

.sidenav a.closebtn:hover {
    color: #193F85;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
}

/***********************/
.btn-outline-lila {
    color: #193F85;
    background-color: transparent;
    background-image: none;
    border-color: #193F85;
}

.btn-outline-lila:hover {
    color: #fff;
    background-color: #193F85;
    border-color: #193F85;
}

.btn-lila:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(25, 63, 133, .25);
}

.btn-lila {
    color: #ffffff;
    background-color: #193F85;
    background-image: none;
    border-color: #193F85;
}

.btn-lila:hover {
    color: #fff;
    background-color: #112d5f;
    border-color: #193F85;
}

.btn-lila:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(25, 63, 133, .25);
}

.input-lila {
    border-color: #193F85;
}

.input-lila:focus {
    color: #193F85;
    border-color: #193F85;
    box-shadow: 0 0 0 .2rem rgba(25, 63, 133, .25);
}

.sort {
    cursor: pointer;
    color: #32589E;
    text-decoration: none;
    display: block;
}

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

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

    .bottom_buttons {
        display: none;
    }

}

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

    .bottom_buttons {
        border: 0px solid red;
        background: #ebebeb;
		border: 0; 
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 40px;
    }
    .sort i {
      display: none;
    }
    .visit {
        display: none;
    }
}

.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;
}

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

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

.col-md-12 {
    width: 100%;
}
.col-xs-3 {
    width: 23%;
    float: left;
}
@media (max-width: 1324px) {
    .footer-copy-text {

        margin: 15px 25px;
    }
}

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

    .prescriptions {
        display: block;
        text-align: center;
        font: 20pt Bebas;
        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 Bebas;
        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: 40pt Bebas;
        color: #496fb5;

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


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

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


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


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

    }

    .footer-phone {
        font-size: 21px;
    }

    #wrapper_razdely {
        width: 95%;
    }

}

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

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

    }
    .top_buttons {
        font-size: 11px;
    }

}


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

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

#wrapper:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
}
.cost-width {
    width: 100px;
}
.footer_phone {
    font-size: 27px;
}
