body {
    color: rgba(62, 62, 62, 0.87);
    background-color: #f5f5f5;
}
h1 {
    font-size: 1.6em;
}
h2 {
    font-size: 1.2em;
    text-transform:uppercase;
    color: #9cb7bb;
}
h3 {    font-size: 1.75em;}
a, a:hover {
    text-decoration:none;
    color: #4c92af;
}
.fa {
    color: #ffdd2d;
    padding-right: 0.5em;
 }
h1,h2 {text-align:center;padding: 0.2em 0;}
.header{background-color: #4c92af;border-bottom: 5px solid #9cb7bb;background: url(/img/back.jpg) no-repeat 50% 50%;background-size: cover;}
.footer{background-color: #9cb7bb;border-top: 5px solid #4c92af;    padding-bottom: 120px;}

.logo {
    height: 120px;
    /* padding:10px; */
}
.gerb {
	height: 100px;
}
.top-menu {
    margin-bottom: 15px;
}
.top-menu a {
    color:white;
    padding: 5px 10px;
    text-transform:uppercase;
    border:1px solid white;
    margin-right: 0.8em;
}
.top-menu a:hover {
    background:white;
    color:green;
}

.left {
	position:relative;
}
.left-menu{position: sticky;top: 0;}
.left-menu ul {
    list-style:none;
    padding: 0;
    margin: 0;
}
.left-menu li {
    padding: 0.3em 0.5em;
    background-color:#4caf50;
    border-bottom: 1px solid #ffdd2d;
}
.left-menu li span{
    float:right;
}
.left-menu li a{
    color:white;
    display: list-item;
}
.left-menu h4{
    font-size:1em;
    padding:0.5em;
    margin:0;
    background: #ffdd2d;
    color: #0b1d0c;
    text-align: center;
    font-weight:bold;
}
.left-menu li a:hover{
    color:#ffdd2d;
    text-decoration:none;
}
.left-menu li:hover{
 border-bottom: 1px solid #ffffff;
}

.index-menu a {
    display: block;
    padding: 20px 20px;
    border: 1px solid white;
    margin-bottom: 1em;
    font-size: 1.5em;
    text-transform: uppercase;
    background: #4c92af;
    color: white;
}

.content-container {
    background:white;
}


.update {color: #4c92af;}

.news {
    background: #fbfbfb;
    padding: 1em;
   
}

span.news-data {
    display: block;
    color: #4c92af;
    font-weight: bold;
}
.pogoda {
    text-align:center;
}
.pogoda h3{
    padding-bottom:1em;
}
.bus .navbar-nav {
    display:list-item;
}
.bus ul li {
    float: left;
    display: block;
    width: 48%;
    line-height:1.5em;
    padding:10px;
    margin:1%;
    border: 1px solid #4c92af;
}
.bus ul li.li-last{
    clear: both;
}

.bus a{
    font-weight:bold;
    color: #4c92af;
    display: list-item;
    list-style: none;
}
.bus a span{
    float:right;
    font-weight:normal;
    color: rgba(62, 62, 62, 0.87);
}
.bus h4 {
    clear:both;
    font-size: 1.2em;
}

ul.nav-marsh li {
    width: 18%;
    text-align: center;
    background: #ffdd2d;
}

ul.nav-marsh a {
    color:black;
}

/********TABLE***********/
.table-main,.table-main-el {
    overflow: hidden;
    justify-content: center;
    margin: 0 auto 40px;
    font-size: 1.5em
}

table th {
    background: #4c92af;
    color: #fff;
    height: 2em;
}

.table-main table td,table td,table th {
    vertical-align: middle;
    padding: .5em;
    text-align: center;
}

.table-main table {
    width: 400px;
    margin: 0 auto;
	table-layout: fixed;
}

.table-main table td {
    border-bottom: 1px solid #e4e4e4;
    width: 50%;
    line-height: 1.2em;
}
.table-main table td span {
    font-size: 0.8em;
    display: block;
    color: #6c6c6c;
}
.table-main table tr:nth-child(2) td {
    background: #bfe9fa;
    font-size: .7em;
}

.table-main table tr:nth-child(2n+4) td {
    background: #f9f9f9
}

.table-main-el table td {
    width: 33%
}

.table-main-el table tr:nth-of-type(4n-1),.table-main-el table tr:nth-of-type(4n-2) {
    background: #f9f9f9
}

.table-main-el table tr:nth-of-type(2n+3) {
    border-bottom: 1px solid #ccc;
    font-size: 1.2em
}

.table-main-el table tr:nth-of-type(2n) {
    text-align: left;
    color: #1d1d1d;
    text-transform: uppercase;
    height: 1em;
    font-size: .75em
}

.table-main-el table tr:nth-of-type(2n) td:first-child {
    text-align: left;
    color: #4caf50
}

.table-main-el table tr:nth-of-type(2n) td:last-child {
    color: #989898
}

.table-main-el table tr:nth-of-type(2n+1) td:first-child {
    font-weight: 700
}

.table-main-el table tr:nth-of-type(2n+1) td:nth-child(2) {
    border-top: 1px dashed gray
}
.table-main-mar table td {
    width:33%;
}
.table-marsh table td {
    border-bottom: 1px solid #e4e4e4;
    width: 50%;
}

.table-marsh table tr:nth-child(2) th {
    background: #d1f5d3;
    color:#626262;

}

.table-marsh table tr:nth-child(2n+3) td {
    background: #f9f9f9
}

.prim {
    font-size: 0.7em;
}
.taxi {
    font-weight:bold;
}
/***RTB******/
.rtb {
    display:block;
    overflow:hidden;
    margin-top:20px;

}
.rtb2 {
    margin: 10px 0;
    min-height: 120px;
}

.rtb3 {
    transition: height 0.5s ease;
    /* margin:10px 0; */
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    /*height: 100px;*/
    width: 100%;
    background:#fff;
    border-top: 2px solid #9cb7bb;
}
.closertb {
    position: absolute;
    left: 10px;
    top: -22px;
    /* padding: 22px; */
    background-color: transparent;
    font-size: 0;
    border: 0;
}
.closertb:focus {
    outline: 0;
}
.closertb:hover{
    cursor: pointer;
}
.hide {
    height: 0;
}

#navbar ul {
    width: 100%;
}
#navbar li {
    /* padding: 0.5em 0.5em; */
    background-color: #4c92af;
    border-bottom: 1px solid #ffffff;
    font-weight: bold;
}

#navbar li span{
    float:right;
    font-weight: normal;
    text-align: right;
}
#navbar li a{
    color:white;
    display: list-item;
    font-size: 0.9em;
    padding: 0.5em 0.5em;
}

#navbar h4{
    font-size:1em;
    padding:0.5em;
    margin:0;
    background: #ffdd2d;
    color: #0b1d0c;
    text-align: center;
    font-weight:bold;
}
#navbar li a:hover{
    /* color:#ffdd2d; */
    /* text-decoration:none; */
}
#navbar li:hover{
 border-bottom: 1px solid #ffffff;
 background: #9cb7bb;
}
/*tabs*/
.s-tabs {
display:flex;
}
.s-tabs ul{
 margin: 20px auto;
 border: 0;
}
.s-tabs ul li{
    margin-right:10px;

}
.s-tabs a {
    color: #9cb7bb;
    padding:4px 10px;
    border: 1px solid #9cb7bb;
}    
.s-tabs a:hover,.s-tabs a.active  {
    color:white;
    background: #4c92af;
}

.tablo {
    max-width:400px;
    margin: 1em auto;
    font-weight: bold;
    overflow: hidden;
    border: 1px solid #c2c2c2;
}
.tablo>div {
    float: left;
    font-size: 2em;
    padding: 14px 5px 14px 5px;
    background: yellow;
    margin-right: 0.2em;
    min-width: 2em;
    text-align: center;
}
.tablo p{
    padding: 0;
    margin: 0;
    line-height: 2.4em;
    text-transform: uppercase;
}
.table-marsh table {
    margin: 0 auto;
    width: 400px;
}

.p3 p{
    line-height: 1.5em;
}
.nic{
    line-height:1.3em;
    font-size:0.7em;
    color:white;
    padding-top:1em;
    margin: 0;
}
.nicotino {
    border: 1px solid #ffffff;
    /* width: 100px;*/
    font-size: 14px;
    padding: 0px 0px 0px 2px;
    font-family: arial;
    display: inline;
}
.nicotino a, .nicotino a:hover{
  color: #ffffff;
  padding: 0;
}
.nicotino span {
  background: #071f87;
  color: white;
  padding: 0px 2px;
  margin-left: 2px;
}
.goroda {
    list-style: none;
    margin: 1em 0;
padding-left: 0;}

.goroda li {
    float: left;
    width: 33%;
    /* text-align: center; */
padding: 0 0.5em 1em 0;}

.goroda a {
    color: white;
}
.footer h2 {
    text-align: left;
    color:#fff;
}
/********not mobile********/

        @media (min-width: 768px) {
            body {
                font-size:1em;
            }
		
            .navbar-container {
                position: sticky;
                top: 0;
                overflow-y: auto;
                height: 134vh;
            }

            .navbar-container .navbar {
                /* align-items: flex-start; */
                /* justify-content: flex-start; */
                /* flex-wrap: nowrap; */
                flex-direction: column;
                /* height: 100%; */
                padding: 0;
                /* margin: 0; */
            }

            .navbar-container .navbar-collapse {
                align-items: flex-start;
                width: 100%;
            }

            .navbar-container .nav {
                flex-direction: column;
                flex-wrap: nowrap;
            }

            .navbar-container .navbar-nav {
                flex-direction: column !important;
            }
        }
        

.b-i-timetable__cell_type_desc .b-i-timetable__overflow {
    min-width: 22px;

}
.b-i-timetable {
    font-size:12px;
}
.b-i-city__station {
    line-height:1.2em;
}
td.b-i-timetable__cell_type_desc {
        display:none;
}
		
@media (max-width: 1200px) {
    body{
        font-size: 0.82em;
    }
    }

@media (max-width: 992px) {
    body{
        font-size:0.5em;
    }
    }
/********mobile********/
@media (max-width: 767px) {
body {
    font-size:1em;
}

h1{
	font-size: 1.25em;
}
h2{
	font-size: 0.67em;
}
.header {
    position:fixed;
    z-index: 4;
    height: 60px;
    width: 100%;
}
.logo {
    height: 60px;
    width: 60px;
}
.logo img{
    width: 100%;
    padding-top: 10px;
}
.gerb {
    height: 60px;
    position: absolute;
    top: -3rem;
    left: 0rem;
}
.top-menu a{
    font-size: 1.2em;
    line-height: 1em;
    margin: 0em 0.3em 0 0;
    display: inline-block;
}
.top-menu a span{
    display: none;
}
.top-menu i {padding:0}
.tablo p {
    font-size:0.8em;
}
.table-marsh table {
    margin: 0 auto;
    width: 100%;
}

.bus ul.nav-marsh li {
    width: 25%;
    float:left;
    margin-right:1em
}
.navbar-toggler {
    padding:0.3em 0.7em;
    font-size:1em;
}

#navbar {
    overflow-y: scroll;
    height: 70vh;
}
.navbar {
    padding: 0.5rem;
}
.navbar-light .navbar-toggler
{
    border: 2px solid #ffdd2d;
}
.navbar-light .navbar-brand {
    color:white;
	    font-size: 1em;
}

.navbar-container {
    /* top: 0px; */
    /* left: 63px; */
    /* display: inline; */
    position: relative;
    z-index: 1;
    padding-top: 54px;
    background: #9cb7bb;
    padding-bottom: 0px;
    }
.content-container {
    margin-top: 0px;
}
.tabs__content {
    padding: 0;
}
.table-main table {
    width: 100%;
}		
.p3 p {
    font-size: 0.8em;
    line-height: 2;
}
p.update {
    font-size:0.7em;
}
.index-menu a {
    padding: 10px 10px;
    margin-bottom: 1em;
    font-size: 0.8em;
    height:60px;
}
.index-menu a i{
    display:block;
    float:left;
    font-size:3em;
    padding-right:5px;
}
.bus ul li {
    float: none;
    width: 100%;
    line-height:1.5em;
    padding:10px;
    margin:3% 0;
    border:1px solid #4caf50;
}


}