@font-face {
    font-family: onefont;
    src: url(fonts/fnt1.woff2) format('woff2');
    font-weight: 400;
    font-style: normal
}


@font-face {
    font-family: twofont;
    src: url(fonts/fnt2.woff2) format('woff2');
    font-weight: 400;
    font-style: normal
}


@font-face {
    font-family: threefont;
    src: url(fonts/fnt3.woff2) format('woff2');
    font-weight: 400;
    font-style: normal
}


@keyframes hideElement {
    from {
		height: auto;
        opacity: 1;       
    }

    to {
		height: 0;
        opacity: 0;
    }
}

a {
    cursor: pointer;
    text-decoration: none;
    color: #484848
}

body {
    display: block;
    margin: 0px;
}

header {
    z-index: 999;
    right: 0;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    font-family: onefont;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}


ul {
    list-style-type: none
}


h1 {
    font-family: twofont;
    font-size: 38px;
    background-image: linear-gradient(0.834turn, rgba(18,69,247,1) 0%, rgba(167,71,235,1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}



h2 {
 padding-top: 33px;
    font-family: twofont;
    color: #3c58a7;
    font-size: 35px;
}

.topblock {
    padding: 1px 20px;
    display: flex;
    background-color: #eeeeee;
    align-items: center;
    justify-content: space-between;
	box-shadow: 0px 0px 15px 0px #c9c9c942;
}

img {
    display: block;
    width: 100px;
    margin: 0 auto;
    height: auto;
}

.imglogotype {
    padding-top: 5px;
    width: 60px;
    margin-left: 55px;
    padding-bottom: 5px;
}

.search {
    display: inline;
    width: 20px;
    margin-right: 7px;
    margin-left: 35px;
}

.nav {
    position: absolute;
    right: 8%;
    display: flex;
}

.nav a {
    font-size: 18px;
    display: flex;
    align-items: center;
    font-family: threefont;
	color: #676767;
}

.nav a:hover {
  color: #000;
}


.city {
    margin-right: 7px;
    display: inline;
    margin-left: 35px;
    width: 23px;
    padding-bottom: 5px;
    padding-top: 5px;
}


.blockturbolinks {
    font-size: 15px;
    display: flex;
    margin-bottom: 60px;
}

.blockturbolinks a {
  margin-right: 20px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #0293da 0%, #036fa9 100%);
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.blockturbolinks a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3);
}


#content {
    min-height: 100vh;
    padding-top: 80px;
    background-color: #fff;
    font-size: 22px;
    padding-right: 110px;
    max-width: 1920px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    padding-left: 12%;
    font-family: onefont;
    margin-top: 30px;
    padding-bottom: 20px;
}

p {
  color: #525c7a;
}
.editone {
    max-width: 500px;
    margin-bottom: 50px;
    margin-top: 50px;
    background: linear-gradient(to right, #3163e8 10%, #1b9fe1 100%);
    color: #ffffff;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.editone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.6s ease;
    z-index: 0;
    transform: skewX(-20deg);
}

.editone:hover::before {
    left: 100%;
}

.editone:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.edittwo {
    margin-bottom: 20px;
    margin-top: 20px;
    font-family: twofont;
    color: #fff698;
    font-size: 28px;
}

.errorsed {
    margin-left: 20px;
    margin-right: 20px;
    font-family: twofont;
    color: white;
    font-size: 28px;
}

.linknon {
    margin-bottom: 50px;
    margin-top: 50px;
}

.gogosp, .navigmenu, .themenu, .linemenu {
    display: none;
}

.linkone, .linktwo, .linkthree, .linkmap, .linkstop {
    background-size: 19px 19px;
    padding-left: 35px;
    background-repeat: no-repeat;
}

.linkthree {
    background-image: url(logosearch.svg);
}

.linkone {
    background-image: url(logohome.svg);
}

.linktwo {
    background-image: url(logocity.svg);
}

.linkstop {
    background-image: url(logobstp.svg);
}

.linkmap {
    background-image: url(logobsmp.svg);
}


.bstp {
    display: inline;
    width: 25px;
    margin-right: 7px;
    margin-left: 35px;
}


.bsmp {

    display: inline;
    width: 25px;
    margin-right: 7px;
    margin-left: 35px;
}


.bustxt {
margin-bottom: 50px;
}


.busroute {
	margin-top: 40px;
	margin-bottom: 20px;
	font-weight: bold;
}

 

.busspi a {
  background: #2b3958;
  color: #ffffff;
  font-family: 'threefont', sans-serif;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  display: inline-block;
  text-decoration: none;
  width:80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.busspi a:hover {
  background: linear-gradient(to right, #2bb6ff, #4179ff);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}


footer {
    display: flex;
    font-size: 15px;
    margin-top: 80px;
}

footer a {
    margin-right: 10px;
    border-bottom: 1px solid #e1e1e1;
    margin-left: 10px;
}

#mapload {
    display: none;
    text-align: center
}
.loadingmap {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
    }
}

#response {
    margin-top: 10px;
    margin-bottom: 20px;
}	
.errorbus {
   color: #fff;
}	

.turbolinkstwo {
display: flex;
}

.turbolinkstwo a{font-size: 18px;display: flex;align-items: center;font-family: threefont;background: #cbcbcb80;margin-right: 20px;margin-top: 20px;padding-right: 50px;padding-top: 10px;padding-bottom: 10px;border-radius: 20px;}

.turbolinkstwo a:hover{background: #b8b8b780;box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.1);transition: box-shadow 0.3s ease;}

.threestops {
    background: #ebebeb;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
    padding-bottom: 20px;
    max-width: 600px;
    border-radius: 20px;
    margin-bottom: 80px;
}
.fourstops {background: #dedede;padding-left: 30px;padding-right: 30px;padding-top: 30px;padding-bottom: 20px;max-width: 600px;font-weight: 900;border-radius: 20px;margin-bottom: 50px;}

.busstopslist{
}
.busstopslist li::before {
    content: '\25CF';
    color: #cdcdcd;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.busstopslist li {
    margin-bottom: 10px; 
}



.citybusone-button {
    color: #8c8c8c;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 26px;
    height: 50px;
    display: block;
}

.citybusone-button:hover {
color: #000000;
    font-size: 27px;
}

button {
  padding: 15px 20px;
  background-color: #3498db;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 25px;
  font-family: 'threefont';
}

button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.65s ease;
}


button:hover:before {
    left: 100%;
}

button:hover {
    box-shadow: 0 0 15px rgba(52,152,219,0.5);
    background-color: #2a80b9;
}

@media (max-width: 767px) {
	
	
   .nav {
    position: absolute;
    display: flex;
    margin-right: 15%;
}

.nav a {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.themenu:checked ~ .navigmenu {
    transition: max-height .2s ease-in-out;
    max-height: 1000px;
}

.navigmenu {
    position: absolute;
    max-height: 0;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 8px 10px 0 rgb(0 0 0 / 20%);
    display: block;
    overflow: hidden;
}

.menulinks {
    margin: 0;
    padding: 0;
    display: block;
    list-style: none;
}

.menulinks a {
    margin-left: 13px;
    padding: 15px 20px;
    font-size: 18px;
    color: #000;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
    display: block;
}

.menulinks a:hover {
    background-color: #eee;
}

.linemenu {
    display: block;
    width: 35px;
    height: 3px;
    position: relative;
    cursor: pointer;
    background-color: #525252;
}

.linemenu::before, .linemenu::after {
    display: block;
    position: absolute;
    content: '';
    width: 35px;
    height: 3px;
    background-color: #525252;
    transition: all .2s ease-out;
}

.linemenu::before {
    top: 9px;
}

.linemenu::after {
    top: -9px;
}

.themenu {
    display: none;
}

.themenu:checked ~ .gogosp .linemenu::before {
    top: 0;
    transform: rotate(-45deg);
}

.themenu:checked ~ .gogosp .linemenu::after {
    top: 0;
    transform: rotate(45deg);
}

.themenu:checked ~ .gogosp .linemenu {
    background-color: transparent;
}

.themenu:checked ~ .gogosp .navigmenu {
    display: block;
}

.search {
    margin-left: 35px;
    width: 20px;
    padding-top: 5px;
    display: inline;
    margin-right: 7px;
    padding-bottom: 5px;
}

.nav_city {
    display: none;
}

.turbolinkstwo {
    display: inline-table;
}

.topblock {
    flex-direction: row-reverse;
    display: flex;
}

.imglogotype {
    margin-left: 0;
}

.gogosp {
    display: block;
}

#content {
    padding-left: 30px;
    min-height: 100vh;
    padding-top: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    background-color: #fff;
    margin-top: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    margin-left: 0;
}

 .linkone, .linktwo, .linkthree, .linkmap, .linkstop {
    padding-left: 5px;
    background-size: 18px 18px;
    background-position: 10px;
}

.blockturbolinks {
    margin-bottom: 30px;
    font-size: 15px;
    display: flex;
    flex-direction: column;
}

.blockturbolinks a {
    line-height: 45px;
	margin-top: 10px
}

    h1 {
        font-size: 22px
    }
	
	h2 {
    text-align: center;
    font-size: 22px;
}

    .topblock {
        justify-content: space-between;
    }

  
.turbolinkstwo a {
    font-size: 16px;
}
  
  
  .busspi a {
    font-size: 15px;
}
  
  .threestops {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
}


.citybusone-button {
    font-size: 20px;

}

}