@media only screen and (min-width: 1px) and (max-width: 980px) {
	.w-input {
		background: #E9E9E9!important;
    	border: medium none;
    	color: #45474A;
    	font: bold 12px/26px Arial,sans-serif;
    	height: 31px;
    	padding: 5px 30px 5px 5px;
    	width: 100%!important;
    	-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-shadow: inset 1px 1px 0px 0px #CCC;
		-moz-box-shadow:    inset 1px 1px 0px 0px #CCC;
		box-shadow:         inset 1px 1px 0px 0px #CCC;
		line-height:21px;
	}
	.sidebar .bus-tickets {
		
	}
	.w-input2 {
		background: url('https://bezrindas.lv/img/cal.png') no-repeat scroll 7px center #E9E9E9;
		border: medium none;
    	color: #45474A;
    	font: bold 12px/26px Arial,sans-serif;
    	height: 31px;
    	padding: 5px 5px 5px 32px;
    	width: 100%;
    	-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-shadow: inset 1px 1px 0px 0px #CCC;
		-moz-box-shadow:    inset 1px 1px 0px 0px #CCC;
		box-shadow:         inset 1px 1px 0px 0px #CCC;
		line-height:21px;
	}

/*	.w-tabs a:first-child {
		width:50%;
	}
	.w-tabs a.selected {
		background:white;
		border-bottom:none;
	}
	.w-tabs div.w-line {
		width: 1%!important;
		float:left!important;
		border-bottom:1px solid #D8D8D8!important;
		height: 42px!important;
		padding:0!important;
		margin:0!important;
		-webkit-box-sizing:border-box;
  		-moz-box-sizing:border-box;
  		-ms-box-sizing:border-box;
  		box-sizing:border-box;
	}
	.w-tabs .left {
		float:left!important;
	}
	.w-tabs .right {
		float:right!important;
	}*/

	.sidebar .bus-tickets .w-tabs a.right span.lv {
	    background: url("https://bezrindas.lv/img/fp-cal-new-lv.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	}
	.sidebar .bus-tickets .w-tabs a.right span {
	    height: 34px;
	    position: absolute;
	    right: -3px;
	    top: -2px;
	    width: 34px;
	}
	.w-tabs {
		clear:right!important;
	}
	.sidebar .bus-tickets a.buy-here-lv,.sidebar  .bus-tickets a.buy-here-en,.sidebar  .bus-tickets a.buy-here-ru {
		position:relative;
		display:block;
		float:right;
		margin:-15px 0 0;
	}
	.right-side, .sidebar .bus-tickets {
		overflow:visible;
	}
	/** upcoming for bus page **/
	.left-side #bus-tickets {
		border-top:0;
		border-radius: 0 0px 5px 5px;
		-o-border-radius: 0 0px 5px 5px;
		-moz-border-radius: 0 0px 5px 5px;
		-webkit-border-radius: 0 0px 5px 5px;
	}
	.bus-tickets .from-to {
		float:none;
		width:100%;
		clear:left;
	}
	.bus-tickets .from-to-bullet {
		margin: 0 0 5px;
	}
	.bus-tickets #bus-direction {
		float:right;
		padding-bottom: 0px;
	}

	.bus-tickets .passangers {
		margin: 5px 0 10px;

	}
	.bus-tickets .btn-1 {
		margin:0 auto;
		float:none;
		clear:left;
		width:95px;
	}
	.bus-tickets-table{
		width:415px!important;
	}
	.bus-tickets-table .day a {
		width:57px;
	}
	.bus-tickets-table .week {
		display:none;
	}
	#bus-calendar-twins { border-top-right-radius:2px; }
	#bus-calendar-twins .bus-calendar { width:415px; border-top-right-radius:2px; margin-bottom:30px; }
	#bus-calendar-twins .bus-calendar .month td { background: url(/img/bus-tickets-table-month-bg.png) 0 0 no-repeat; }
	tr.month, tr.month td { border-top-right-radius:2px; }
	#calendar-placeholder .passangers { float:left!important; }
	#calendar-placeholder .btn-1 { float:right!important; clear:none; }
	
	#bus-calendar-twins .bus-calendar-return-date {
		/*float:none;*/
		float:left;
	}
}

@media only screen and (min-width: 1px) and (max-width: 768px) {
	form#bus-tickets { margin-bottom:20px; }
	.no-mob{ display:none!important; }
	.mob { display:block!important; }
	.left-side { width:100%; }
	#bus-data-placeholder .tabs.w-tabs a {
		display:block;
		position:relative;
		width:49%;
		height:42px;
		line-height:42px;
		text-decoration:none;
		text-align:center;
		-webkit-border-top-left-radius: 5px;
		-webkit-border-top-right-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-topright: 5px;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	    border:1px solid #D8D8D8;
		background:#EFEFEF;
		color: #45474A;
	    font-size: 11px;
	    font-weight: bold;
	    -webkit-box-sizing:border-box;
  		-moz-box-sizing:border-box;
  		-ms-box-sizing:border-box;
  		box-sizing:border-box;
  		-webkit-box-shadow: inset 0px 2px 0px 0px #fff;
		-moz-box-shadow:    inset 0px 2px 0px 0px #fff;
		box-shadow:         inset 0px 2px 0px 0px #fff;
	}
	#bus-data-placeholder .tabs.w-tabs a.selected {
		background:white;
		border-bottom:none;
	}
	#bus-data-placeholder .tabs.w-tabs div.line {
		width: 2%!important;
		float:left!important;
		border-bottom:1px solid #D8D8D8!important;
		height: 42px!important;
		padding:0!important;
		margin:0!important;
		-webkit-box-sizing:border-box;
  		-moz-box-sizing:border-box;
  		-ms-box-sizing:border-box;
  		box-sizing:border-box;
	}
	.bus-tickets-table .day a {
		width: 47px;
	}
	.bus-tickets-table {
		width: 340px!important;
	}
	#bus-calendar-twins .bus-calendar { width:340px; border-top-right-radius:2px; margin-bottom:30px; }

}

#bus-calendar-twins .departure-date span,
#bus-calendar-twins .return-date span {
	margin: 0;
}

@media only screen and (min-width: 1px) and (max-width:400px) {
	.bus-tickets-table { width:280px!important; }
	.bus-tickets-table .day .other-month a, .bus-tickets-table .day a { width:39px!important; }
	#bus-calendar-twins .bus-calendar { width:280px!important; }
	#calendar-placeholder .passangers { float:left; margin-bottom:20px ;}
	#calendar-placeholder .btn-1 { float:none!important; clear:left; }
}

@media only screen and (min-width: 1px) and (max-width:340px) {
	.responsive_page > .container-wrapper {
		padding: 0 !important;
	}
	.responsive_page > .container-wrapper > .footer-wrapper {
		margin: 0!important;
	}
}