@media screen and (max-width: 1000px) {
   #footer .inside,
	.header .inside,
   .inside {
   	width: 768px;
   	padding-left: 10px;
   	padding-right: 10px;
   }
   .main-form input[type="text"] {    
    width: 270px;
  }
   .header .logo-wr {
   	padding-left: 0px;
   }
   .header .logo-wr .slogan {
   	font-size: 20px;
   }
   .header .logo-wr .slogan span.slogan-desc {        
        font-size: 10px;        
      }
   .main-form button {
   	margin-top: 20px;
   	margin-left: 0;
   }
   .header .navigation li a {
    padding: 32px 12px;
   }
   .main {
   	max-width: 100%;
    
   }
   .main-form {
   	margin-left: 10px;
   	margin-right: 10px;
   	padding: 45px 0 39px;
   	box-sizing: border-box;
   }
   .main-form .main-form-inner {
    	padding: 0 20px;
	}
	.home-text {
		padding-top: 50px;
	}
	.popular-ways .inside {
		padding: 56px 10px 42px;
	}
	.popular-ways .inside .column li a {
		font-size: 16px;
	}
	.popular-ways .inside .column li {
		margin-bottom: 13px;
	}
	.popular-list {
		padding: 0 18px;
	}
	.popular-list .flex {
		justify-content: space-around;
	}
	.popular-list .item {
		width: 322px;
		height: 216px;
		overflow: hidden;
	}
	.popular-list .item a p {
		font-size: 14px;
		text-align: left;
	}
	.popular-list .item .caption {
		padding: 13px 12px;
	}
	.popular-news .flex {
		justify-content: space-around;
	}
	.popular-news .item {
		max-width: 49%;
		overflow: hidden;
	}
	.popular-news-inner {
	    padding: 0 33px;
	}

	.popular-news .item:last-child:before {
		width: 96%;
		left: 2%;
	}
	.popular-news .item:first-child:after {
	    position: absolute;
	    top: 296px;
	    border-top: 1px solid #e4e4e4;
	    width:96%;
	    left: 2%;
	    content: "";
	}
	#footer .logo-wr {
		display: none;
	}
	#footer .top-line > .flex {
		justify-content: space-around;
	}
	#footer .top-line {
    	padding: 34px 0 34px;
	}
	#footer .inside {
		padding-left: 0;
		padding-right: 0;
	}
	#footer .bottom-line {
	    padding: 0 10px;
	}
	.news.category .item .description {
	    width: calc(100% - 320px);
	    margin-left: 10px;
	}
	.news.category .item .description .excerpt {
	    margin-bottom: 10px;
	}
	.popular-ways .inside {
		margin-left: 0;
		margin-right: 0;
		box-sizing: border-box;
	}

	.road-ways .ways .row .coll-1 {
		width: 100%;
		padding-bottom: 12px;
		margin-bottom: 12px;
		border-bottom: 1px solid #ededed
	}
	.road-ways .ways .row .coll-2 {
		width: calc(100% - 240px);
		margin-right: 0;
	}
	.road-ways .buy-ticket a {
		height: 38px;
		line-height: 38px;
	}
	.road-ways .ways .row .flex {
		flex-wrap: wrap;
	}
	.road-ways .ways .row .number span:after {
		top: -3px;
	}
	.road-ways .ways .row .coll-1 > div {
		display: inline-block;
		vertical-align: middle;
		padding-bottom: 0;
		margin-bottom: 0;
                margin-top: 10px;
		padding-top: 0;
	}
	.road-description .list ul li a {
		font-size: 16px;
	}
	.road-description .list ul {
	    width: 49.5%;
	}
	.dirrections .inside {
		padding-left: 0;
		padding-right: 0;
	}
	.dirrections .list ul li a {
		font-size: 16px;
	}
}



@media screen and (max-width: 767px) { /*768*/
    .copy_h{
        display: none;
    }
    
    .copy_v{
        display: block;
    }
	.popular-ways .flex {
		justify-content: space-around;
	}
	.road-ways .ways .row .coll-2 {
		width: calc(100% - 200px);
	}	
   .main-form {
   	padding: 45px 0 47px;
   }
   .dirrections .list ul {
    	width: auto; 
	}
   
   .main-form .form-group {
   	margin-bottom: 15px;
   }
   .main-form button {
   	margin-top: 0;
   }
   .road-ways .subtitle,
   .title {
   	font-size: 22px;
   }
   .home-text h1 {
	    margin-bottom: 30px;
	}
	.home-text p {
		margin-bottom: 12px;
		letter-spacing: -0.2px;
	}
	.popular-ways .inside {
		padding-top: 42px;
	}
	.popular-list h3 {
		font-size: 22px;
	}
	.main-form {
		margin-left: 0;
		margin-right: 0;
	}
        .avto-nav ul li{
            margin-bottom: 25px;
        }
        .main-form input[type="text"] {  
            width:300px;
          }
	.main-form .field-routeform-date input[type="text"] {  
            width:300px;
          }

}
@media screen and (max-width: 740px) { 
	.header .navigation {
		display: none;
	}
    .header {
		padding: 15px 0;
	}
	.header .logo-wr .slogan {
		margin-left: 13px;
	}
    .main-form .inside {
   	    width: 340px;
    }
	.popular-list {
	    padding: 0;
	}
	.popular-news-inner {
	    padding: 0;
	}
	.header .toggler {
		display: block;

	}
	#footer .top-line .flex {
		justify-content: space-around;
	}
	.contacts .form {
		padding: 40px 15px;
	}
	.contacts .form .form-inner .input {
		max-width: 49%;
	}
	.contacts .form .form-inner .input input {
		max-width: 100%;
	}
	.contacts h2 {
		font-size: 22px;
	}
	.contacts .contact-information .attention {
		padding: 0
	}
    .contacts .inside {
        padding-left: 0;
        padding-right: 0;
    }
}
@media screen and (max-width: 700px) { 
	#footer  .navigation li {
		text-align: center;
		margin-bottom: 15px;
		width: 100%;
	}
    #thanks .success {
        font-size: 22px;
    }
	#footer .navigation li a {
		display: inline-block;
	}
	#footer .top-line {
	    padding: 34px 0 20px;
	}
	.popular-list .item {
		max-width: 100%;
		margin-bottom: 10px;
	}
	.popular-list-inner {
		padding: 0 10px;
	}
	.popular-news {
		padding-bottom: 30px;
	}
	.popular-news .item {
		max-width: 100%;
		margin-bottom: 20px;
	}
	.popular-news .item:first-child:after,
	.popular-news .item:last-child:before {
		display: none;
	}
	.popular-ways .flex .column {
		width: 100%;
	}
	.news.category .item > .flex {
		justify-content: space-around;
	}
	.news.category .item .description {
		width: 100%;
		margin-left: 0;
		margin-top: 14px;
	}
	.road-ways .ways .row .coll-2 {
		width: 100%;
		margin-bottom: 10px;
	}
	.road-ways .ways .row .point-b {
		width: 130px;
	}
	.road-ways .ways .row .coll-3 {
		padding: 0
	}
	.dirrections .list ul {
		width: 100%;
		text-align: center;
	}
	.dirrections .list ul li {
	    margin-bottom: 18px;
	  }
	.road-description .list ul {
		width: 100%;
		text-align: center;
	}
	.road-description .list:before {
		position: absolute;
		top: 0;
		left: -10px;
		content: "";
		width: 10px;
		height: 100%;
		background: #f7f7fe;
	}
	.road-description .list:after {
		position: absolute;
		top: 0;
		right: -10px;
		content: "";
		width: 10px;
		height: 100%;
		background: #f7f7fe;
	}
}
@media screen and (max-width: 680px) {
	.popular-news-inner {
		padding: 0 20px;
	}
}
@media screen and (max-width: 640px) {
	#footer .bottom-line .flex {
		justify-content: space-around;
	}
	#footer .bottom-line .copy {
		margin-top: 23px;
		width: 100%;
		text-align: center;
	}
	#footer .social-icons {
		padding-bottom: 23px;
	}
        .forms-similar .departures-list, .forms-similar .arrivals-list {
            width: 100%;
            margin-bottom: 15px;
        }
}
@media screen and (max-width: 500px) {
	.article-detail .post img {
		margin: 0;
		float: none;
        display: block;
        margin: 0 auto;
		margin-bottom: 10px;
	}
	.contacts .form .form-inner input {
		width: 100%;
	}
	.contacts .form .form-inner .input {
		max-width: 100%;
		width: 100%;
	}
	.road-ways .ways .row .point-b {
	    width: 100px;
	}
}
@media screen and (max-width: 480px) {    
    #map {
        max-height: 80vh;
    }
}
@media screen and (max-width: 460px) {
	.road-ways .ways .row .coll-2 .roof {
		text-align: left;
		font-family: "OpenSans-Regular";
		margin-bottom: 10px;
	}
	.road-ways .ways .row .coll-2 .roof span.hide {
		display: inline-block;
		font-family: "OpenSans-Regular";

	}
	.road-ways .ways .row .coll-2 .transition {
		order: -1;
		width: 100%;
		margin: 0;
	}
	.road-ways .ways .row .coll-2 .transition .type-1{
		font-family: "OpenSans-Bold";
	}
	.road-ways .ways .row .coll-2 .transition:after,
	.road-ways .ways .row .coll-2 .transition:before {
		display: none;
	}
	.road-ways .ways .row .coll-2 .roof span.count {
		display: inline-block;
		font-family: "OpenSans-Bold";
	}
    .road-description .list {
        padding: 44px 10px 36px;
        margin-bottom: 40px;
    }
    .road-description .list ul li {
        margin-bottom: 18px;
    }
    .road-ways.autostop .ways .row .number span {
        margin-left:6px;
    }
    .road-ways .ways .row .road-name a {
        font-size: 14px;
    }
    .road-ways .ways .row .coll-2 .roof {
        margin-bottom: 14px;
        font-size: 13px;
        margin-bottom: 12px;
    }
    .road-ways .ways .row .coll-2 .city a {
        font-size: 13px;
    }
    .road-ways .ways .row .coll-2 .time {
        font-size: 16px;
    }
    .road-ways .ways .row .coll-2 {
        margin-bottom: 20px;
    }
    .road-ways .ways-after {
        padding: 10px 0;
    }
    .interesting-facts li {
        padding-left: 10px;
    }
    .road-ways .title {
        margin-bottom: 20px;
    }
    
}
@media screen and (max-width: 400px) {
	.popular-list-inner,
	.popular-news-inner {
		padding: 0px;
	}
	.main-form input[type="text"] {
		width: 300px;
	}
        .main-form .field-routeform-date input[type="text"] {  
                width: 300px;
        }
	.popular-list .inside {
		padding-left: 0;
		padding-right: 0;
	}
	#left-sidebar #mobile-navigation {
        padding: 20px;
        box-sizing: border-box;
        width: 260px;
    }
    .road-ways .ways .row .footer-row {
        font-size: 13px;
    }
}