
/*.content-wrapper+.right-side { display:none; }*/
@media only screen and (min-width: 1px) and (max-width:980px) {
	.header-wrapper .logo a img {
		height : auto !important ;
		position : relative;
		top : 5px;
	}
	.w-tabs .right {
		float : right !important ;
	}
	#bus-data-placeholder .tabs .line {
		width : 23px;
	}
}

@media only screen and (min-width: 1px) and (max-width: 980px) {
	.container, .footer {
		width : 740px;
	}
	.left-side {
		width : 455px;
		float : right;
		margin : 0 30px 40px 0;
	}
	.right-side {
		float : right;
		margin-right : 30px;
		margin-bottom : 40px;
	}
	.event-slider {
		width : 422px;
		background : url(/img/event-slider-bg-grid-2.png);
	}
	.event-slider li {
		height : 260px;
	}
	.bx-next {
		margin-left : 408px;
	}
	.shortcuts .fp-bus-routes {
		margin-left : 20px;
	}
	.currency-switcher {
		padding-left : 0;
	}
	#apcelo-lv {
		display : none;
	}
	#iphone-android-app {
		display : none;
	}
	.social, .actual {
		display : none;
	}
	.header-wrapper .header .tag-line {
		/*float : left;*/
		background : white;
	}
	.header-wrapper .information .email {
		margin-right : 10px;
	}
	.footer .google-plus {
		right : 0;
	}
	.ticket-purchase-system {
		width : 740px;
		background : none;
	}
	.ticket-purchase-system .header {
		position : relative;
		width : 738px;
		background : #f7f7f7;
		border : #c8c8c8 solid 1px;
		border-bottom : none;
		border-top : 50px solid #dddddd;
		border-top-right-radius : 10px;
		border-top-left-radius : 10px;
	}
	.ticket-purchase-system .header .steps {
		margin-top : -50px;
	}
	.ticket-purchase-system .header h2 {
		left : auto;
		right : 10px;
		display:none;
	}
	.ticket-purchase-system-table-1 {
		width : 736px;
/*		width : 720px;
*/		margin : 0 auto;
	}
	.ticket-purchase-system .content {
		border-bottom-left-radius : 10px;
		border-bottom-right-radius : 10px;
		background : #f7f7f7;
		border : #c8c8c8 solid 1px;
		border-top : none;
	}
	#bus-order-form .days {
		width : 720px;
	}
	#bus-order-form .days .day {
		white-space : nowrap;
	}
	.ticket-purchase-system-table-1.bus-order-data-table {
		width : 730px;
		margin-bottom : 20px;
		border-bottom-left-radius : 10px;
		border-bottom-right-radius : 10px;
	}
	.bus-order-data-table .name input, .bus-order-data-table .surname input, .bus-order-data-table .discount input {
		width : 130px;
		background : white;
		border : #BDBDBD solid 1px;
		border-radius : 4px;
		height : 23px;
	}
	.ticket-purchase-system-block-wrapper-1 {
		background : none;
		/*width : 720px;*/
	}
	.ticket-purchase-system-block-wrapper-1 .bottom {
		display : none;
	}
	.ticket-purchase-system-block-wrapper-1 .content {
		border : none;
	}
	.ticket-purchase-system h3 {
		padding-left : 15px !important ;
		margin-bottom : 10px !important ;
	}
	div.coupon {
		width : 325px !important ;
	}
	.ticket-purchase-system-table-1 .footer-2 .price-totals-dev {
		width : 240px;
		float : right;
		margin-right : 10px;
	  	text-align: right!important;
	 	white-space: nowrap;
	}
	.bus-order-data-table td.price-total {
		width : 170px;
	}
	.ticket-purchase-system-table-1 .footer-2 .price-totals-dev .label {
		width : 185px;
	}
	.ticket-purchase-system-table-1 .footer-2 .price-totals-dev {
		width : 350px;
	}
	.ticket-purchase-system-block-wrapper-1 {
		width : 700px;
		background : none;
	}
	.ticket-purchase-system-table-2-wrapper {
		background : #ededed;
		padding : 10px;
		width : 678px;
		border : #D8D8D8 solid 1px;
		border-radius : 6px;
	}
	.ticket-purchase-system-table-2 {
		width : 678px;
		border : #D8D8D8 solid 1px;
	}
	.ticket-purchase-system-table-2 .footer td {
		background : #e5e3e4;
	}
	.ticket-purchase-system .header h3 {
		width: 700px;
		padding-top: 10px;
	}
	.ticket-purchase-system .finish a {
/*		width : 629px !important ;
		border-right : 1px solid #B3B3B3;*/
		border-radius : 8px;
	}
	.ticket-purchase-system .finish .item td {
		width : 629px;
		border-radius : 8px;
	}
	.ticket-purchase-system .finish .item {
		border-radius : 10px;
	}
	.menu-button {
		display : none;
	}
}
@media only screen and (min-width: 1px) and (max-width: 768px) {
	.continue-purchase .cancel-purchase { margin-left:20px; }
	.ticket-purchase-system-block-wrapper-1 { margin-bottom:20px; }
	.mobile_wrapper { 
		display: block; 
	}
	/*.header-wrapper .logo a img {
		height : 50px !important ;
		width : auto !important ;
		position : relative;
		top : 5px;
	}*/
	.menu-button {
		display : block;
	}
	.container, .footer {
		width : 430px;
	}
	
	.menu-button {
		width : 50px;
		height : 50px;
		display : block;
		background : url(/img/menu-button.png);
		float : right;
		margin-top : 30px;
		position : relative;
		text-align: center;
	}

	.menu-button select {
		opacity : 0;
		width : 55px;
		height : 55px;
		line-height : 55px;
	}
	.header-wrapper .header .tag-line {
		position : relative;
	}
	.currency-switcher {
		padding-left : 0;
	}
	.left-side {
		display : none;
		float : none;
		width : 260px;
		margin : 0 auto;
	}
	.right-side {
		float : none;
		margin : 0 auto;
		overflow : auto;
		margin-bottom : 40px;
		width : 380px;
		clear : both;
	}
	.event-slider {
		display : none;
	}
	.static-pages {
		width : 335px;
		margin-left : 15px;
	}
	.payment-methods, .google-plus, .currency-switcher, .fp-bus-routes {
		display : none;
	}
	.footer .copy {
		float : left;
		clear : left;
		margin-left : 15px;
		width : 200px;
	}
	.new-slides {
		margin : 0 auto;
		margin-top : 30px;
		overflow : hidden;
		width : 380px;
	}

	ul.new-slides-ul {
		clear : both;
	}
	ul.new-slides-ul li.item {
		list-style-type : none;
		position : relative;
		width : 168px;
		height:240px;
		/*padding : 10px;*/
		float : left;
/*		margin-right:0;
		padding:0px 10px;
		float: left;*/
		margin-right: 0;
		margin: 0px 10px;
		margin-bottom: 40px;
	}
	ul.new-slides-ul li.item a.title {
		position : absolute;
		width : 149px;
		padding : 7px 5px;
		bottom : 3px;
		color : white;
		text-decoration : none;
		font-weight : bold;
		font-size:14px;
/*		background : url("https://bezrindas.lv/bezrindas/img/event-slider-item-title-bg.png") 0 0 repeat scroll rgba(0, 0, 0, 0);*/
	}
	ul.new-slides-ul li.item img {
		display : block;
		height: 240px;
		width: 100%;
	}
	.sidebar .bus-tickets {
		overflow : hidden;
		margin : 0 auto;
	}
	.header-wrapper .languages {
		margin : 0;
	}
	.ticket-purchase-system {
		width : 380px;
	}
	.ticket-purchase-system .header {
		width : 378px;
	}
	.ticket-purchase-system .header .steps {
		margin-top : -50px;
	}
	.ticket-purchase-system .header h2 {
		display : none;
	}
	.ticket-purchase-system .header h3 {
	    width: 350px;
	    margin-top: 30px;	
	    text-align: center;
	    padding-top: 62px;

	}
	.ticket-purchase-system-table-1 {
		width : 370px;
	}
	#bus-order-form .days {
		position : relative;
	}
	#bus-order-form .days .day {
		position : absolute;
		left : 0;
		width : 100%;
		top : 20px;
	}
	#bus-order-form .days {
		width : 370px;
	}
	#bus-order-form .days * {
		font-size : 11px !important ;
	}
	#bus-order-form .days .previous {
		width : 170px;
		position : relative;
		z-index : 30;
	}
	#bus-order-form .days .previous a {
		padding-top : 5px;
		padding-bottom : 5px;
	}
	#bus-order-form .days .next {
		width : 170px;
		position : relative;
		z-index : 30;
	}
	#bus-order-form table tr * {
		font-size : 11px;
	}
	#bus-order-form > table > tbody > tr {
		border-bottom : 1px solid #cbcbcb;
		background-color : #e7e7e7;
	}
	#bus-order-form > table > tbody > tr .btn-1 * {
		font-size : 13px;
	}
	#bus-order-form > table > tbody > tr > td {
		border-bottom : 0;
		padding-left : 0 !important ;
		padding-right : 0 !important ;
		width : auto !important ;
	}
	#bus-order-form > table > tbody > tr > td.departure-time, #bus-order-form > table > tbody > tr > td.arrival-time {
		padding-left : 5px !important ;
		padding-right : 5px !important ;
	}
	#bus-order-form .title {
		text-indent : 5px;
	}
	#bus-order-form table tr td.quantity, #bus-order-form table tr td.price-total ~ .price-total {
		padding : 0 !important ;
		display : none;
	}
	.header .steps .btn-4 {
		margin-left : 0 !important ;
	}
	.bus-choose-title {
		margin-left : 15px;
	}
	.bus-choose-data-table tbody tr:first-child td:first-child {
		display : none;
	}
	.bus-choose-data-table tbody tr td.img {
		display : none;
	}
	.bus-choose-data-table tbody tr td.title {
		padding-left : 0;
	}
	.bus-choose-data-table .stop-and-district {
		padding-left : 0;
		padding-top: 5px;
		padding-right: 15px;
	}
	.bus-order-data-table tr, .bus-order-data-table td {
		display : block;
		line-height : 36px;
	}
	.bus-order-data-table tr.subtitle {
		display : none;
	}
	.bus-order-data-table tr.information * {
		line-height : 1.5;
	}
	.bus-order-data-table tr.information {
		padding-bottom : 12px;
	}
	.bus-order-data-table tr.information > div {
		padding-left : 10px;
	}
	.ticket-purchase-system-table-1.bus-order-data-table {
		width : 370px;
	}
	.ticket-purchase-system-table-1.bus-order-data-table .title td + td {
		display : none;
	}
	.ticket-purchase-system-table-1 td {
		line-height : 22px;
		padding-bottom : 5px !important ;
		padding-top : 5px !important ;
	}
	.ticket-purchase-system-table-1 .name {
		padding-top : 30px !important ;
	}
	.ticket-purchase-system-table-1 .name:before {
		margin-left : 10px;
		width : 70px;
		display : block;
		float : left;
	}
	.ticket-purchase-system-table-1 .surname:before {
		width : 70px;
		margin-left : 10px;
		display : block;
		float : left;
	}
	.ticket-purchase-system-table-1 .seat-number:before {
		width : 70px;
		margin-left : 10px;
		display : block;
		float : left;
	}
	.ticket-purchase-system-table-1 .seat-number .select-small {
		margin-left : 80px;
		line-height : 22px !important ;
	}
	.ticket-purchase-system-table-1 .subtitle + .item td.discount:before, .ticket-purchase-system-table-1 .item.discount + .item td.discount:before {
		clear : both;
		margin-left : 10px;
		width : 70px;
		display : block;
		float : left;
	}
	.ticket-purchase-system-table-1 .subtitle + .item td.discount .select, .ticket-purchase-system-table-1 .item.discount + .item td.discount .select {
		margin-left : 80px;
		line-height : 22px !important ;
	}
	.ticket-purchase-system-table-1 .seat-number .select-small, .ticket-purchase-system-table-1 .discount .select {
		width : 271px;
		background : white;
		border-radius : 4px;
		border : #BDBDBD solid 1px;
	}
	.ticket-purchase-system-table-1 .seat-number .select-small select, .ticket-purchase-system-table-1 .discount .select select {
		width : 100%;
	}
	.ticket-purchase-system-table-1 .item.discount td:first-child, .ticket-purchase-system-table-1 .item.discount td:first-child + td {
		display : none;
	}
	.ticket-purchase-system-table-1 .item .email {
		padding : 10px !important ;
	}
	.ticket-purchase-system-table-1 .item .newsletter {
		padding-top : 0 !important ;
		padding-bottom : 10px !important ;
	}
	.ticket-purchase-system-table-1 .price-total {
		display : none;
	}
	#bus-order-form > table > tbody > tr > td.discount-label {
		width : 70px;
		float : left;
		padding-left : 10px !important ;
	}
	.ticket-purchase-system-table-1 td.controls div {
		padding : 0;
	}
	.ticket-purchase-system-table-1 td.controls div a {
		margin : 0 auto;
		float : none;
		margin-bottom : 15px;
	}
	.event-purchase {
		padding : 0 10px;
	}
	.bus-order-data-table .information td div {
		background-image : none;
		padding : 10px;
	}
	.ticket-purchase-system-table-1 .title td {
		height : 22px;
	}
	.bus-order-data-table tr.information {
		padding-bottom : 0;
	}
	.bus-order-data-table .name input, .bus-order-data-table .surname input, .bus-order-data-table .discount input {
		width : 265px;
	}
	.bus-order-data-table .email input {
		width : 343px;
		background : white;
		border-radius : 4px;
		border : #BDBDBD solid 1px;
	}
	.ticket-purchase-system-table-1 .price-totals-dev {
		margin-top : 10px;
	}
	.ticket-purchase-system-table-1 .footer-2 .price-totals-dev .price {
		text-align: right;
		width : 40px;
	}
	.ticket-purchase-system-block-wrapper-1 {
		width : 370px;
		margin-bottom : 3px;
	}
	.ticket-purchase-system-block-wrapper-1 .sms-ticket-block p {
		width : 200px;
		margin-right : 10px !important ;
	}
	.ticket-purchase-system .sms-ticket-block .content, .ticket-purchase-system .sms-block {
		background : none;
	}
	.ticket-purchase-system .sms-block {
		border : #BDBDBD solid 1px;
		width : 320px;
		border-radius : 6px;
	}
	.ticket-purchase-system .sms-block h4 {
		padding-bottom : 10px;
	}
	.continue-purchase {
		padding : 0;
		margin-bottom : 20px;
	}
	.continue-purchase .btn-1 {
		margin-right : 30px;
	}
	.continue-purchase .accept-aggreement {
		width : 200px;
		float : left;
		margin-left : 20px;
	}
	.ticket-purchase-system-block-wrapper-1 {
		width : 345px;
	}
	.ticket-purchase-system-table-2-wrapper {
		width : 323px;
	}
	.ticket-purchase-system-table-2 {
		width : 323px;
	}
	.ticket-purchase-system-table-1 > tbody > tr > td {
		line-height : 36px !important ;
	}
	.coupon *, .price-totals-dev * {
		line-height : 22px !important ;
	}
	.ticket-purchase-system-table-2 .footer td {
		padding : 7px 7px 7px 0;
	}
	.ticket-purchase-system-table-2 .footer p {
		width : 170px;
		font-size : 12px;
	}
	.ticket-purchase-system-table-2 .footer p + p {
		width : 100px !important ;
	}
	.ticket-purchase-system-table-2 .item .select {
		font-size : 11px;
	}
	.ticket-purchase-system .payment {
		padding:0px;
	}
	.ticket-purchase-system .payment-wrapper .ticket-purchase-system-block-wrapper-1 {
		width: 376px;
	}

	.ticket-purchase-system-block-wrapper-1 .payment a {
		margin : 0 auto !important ;
		float : none !important ;
		margin-bottom : 10px !important ;
	}
	.ticket-purchase-system-table-1.bus-order-data-table .item td {
		line-height : 25px !important ;
	}
	.ticket-purchase-system .finish {
		width:340px;
	}
	.ticket-purchase-system .finish a {
		width: 325px!important;
		border-right : 1px solid #B3B3B3;
		border-radius : 8px;
	}
	.ticket-purchase-system .finish .item:not( .sms-ticket ) td {
		width : 274px;
		border-radius : 8px;
		padding-right:0px;
		border-right: 0px;
	}
	.ticket-purchase-system .finish .item.application-ticket a,
	.ticket-purchase-system .finish .item.sms-ticket p {
		line-height: 20px;
		padding-top:10px;
	}
	.ticket-purchase-system .finish .item {
		border-radius : 10px;
	}
	.ticket-purchase-system .content h3 {
		text-align : center;
		width : 100%;
		padding : 0 !important ;
	}
	.ticket-purchase-system-block-wrapper-1 .content {
		padding: 0 0;
	}
	.ticket-purchase-system .finish .sms-ticket i  {
		height: 100%;
	}
	.ticket-purchase-system .finish .sms-ticket {
		line-height: 2;
	}
}

@media only screen and (min-width: 1px) and (max-width:400px) {
	
	.container, .footer {
		min-width : 320px;
		width : 320px;
	}
	.left-side {
		display : none;
	}
	.right-side {
		float : none;
		clear : both;
		width : 320px;
	}
	.new-slides {
		width : 190px;
		margin : 0 auto;
	}
	.static-pages {
		margin : 0;
	}
	.header-wrapper .languages {
		margin : 0;
	}
	.header-wrapper .information.lv, .header-wrapper .information.ru, .header-wrapper .information.en {
		width : auto;
	}
	.ticket-purchase-system {
		width : 320px;
	}
	.ticket-purchase-system .header {
		width : 318px;
	}
	.ticket-purchase-system .header .steps {
		margin-top : -50px;
	}
	.ticket-purchase-system .header h2 {
		width : 200px;
		display : none;
	}
	.ticket-purchase-system-table-1 {
		width : 310px;
	}
	#bus-order-form .days {
		width : 310px;
		white-space : nowrap;
	}
	#bus-order-form .days * {
		font-size : 11px !important ;
	}
	#bus-order-form .days .previous {
		width : 0;
	}
	#bus-order-form .days .next {
		width : 110px;
	}
	#bus-order-form .days .day {
		position : absolute;
		top : 20px;
	}
	#bus-order-form table tr * {
		font-size : 11px;
	}
	#bus-order-form > table > tbody > tr {
		border-bottom : 1px solid #cbcbcb;
		background-color : #e7e7e7;
	}
	#bus-order-form > table > tbody > tr .btn-1 * {
		font-size : 13px;
	}
	#bus-order-form > table > tbody > tr > td {
		border-bottom : 0;
		padding-left : 0 !important ;
		padding-right : 0 !important ;
		width : auto !important ;
	}
	#bus-order-form > table > tbody > tr > td.departure-time, #bus-order-form > table > tbody > tr > td.arrival-time {
		padding-left : 5px !important ;
		padding-right : 5px !important ;
	}
	#bus-order-form .title {
		text-indent : 5px;
	}
	#bus-order-form table tr td.quantity, #bus-order-form table tr td.price-total ~ .price-total {
		padding : 0 !important ;
		display : none;
	}
	.header .steps .btn-4 {
		margin-left : 0 !important ;
	}
	.bus-choose-title {
		margin-left : 15px;
	}
	.btn-4 a {
		font-size : 14px;
	}
	.bus-choose-data-table tbody tr:first-child td:first-child {
		display : none;
	}
	.bus-choose-data-table tbody tr td.img {
		display : none;
	}
	.bus-choose-data-table tbody tr td.title {
		padding-left : 0;
	}
	.ticket-purchase-system-table-1.bus-order-data-table {
		width : 300px;
	}
	.bus-order-data-table .name input, .bus-order-data-table .surname input, .bus-order-data-table .discount input {
		width : 215px;
	}
	.ticket-purchase-system-table-1 .seat-number .select-small, .ticket-purchase-system-table-1 .discount .select {
		width : 221px;
	}
	.bus-order-data-table .email input {
		width : 215px;
	}
	.ticket-purchase-system-table-1 .footer-2 .price-totals-dev {
		width : 303px;
	}
	.ticket-purchase-system .sms-block {
		width : 260px;
	}
	.ticket-purchase-system-block-wrapper-1 {
		width : 315px;
	}
	div.coupon {
		width : 307px !important ;
	}
	.event-purchase * {
		font-size : 9px !important ;
	}
	.coupon div.btn-1 {
		width : 80px;
	}
	.sms-block .title {
		width : 210px;
	}
	.ticket-purchase-system-block-wrapper-1 .sms-ticket-block p {
		width : 235px;
	}
	.continue-purchase .accept-aggreement {
		width : 150px;
	}
	.continue-purchase .btn-1 {
		margin-top : 10px;
	}
	.ticket-purchase-system-block-wrapper-1 {
		width : 290px;
	}
	.ticket-purchase-system-table-2-wrapper {
		width : 270px;
	}
	.ticket-purchase-system-table-2 {
		width : 270px;
	}
	.ticket-purchase-system-table-1 > tbody > tr > td {
		line-height : 36px !important ;
	}
	.coupon *, .price-totals-dev * {
		line-height : 22px !important ;
	}
	.ticket-purchase-system-table-2 .footer td {
		padding : 7px 7px 7px 0;
	}
	.ticket-purchase-system-table-2 .footer p {
		width : 110px;
		font-size : 12px;
	}
	.ticket-purchase-system .payment-wrapper .ticket-purchase-system-block-wrapper-1 {
		width: 316px;
	}
	.ticket-purchase-system .payment {
		padding:0 0 0 8px;
	}

	.ticket-purchase-system-table-2 .footer p + p {
		width : 120px !important ;
	}
	.ticket-purchase-system-block-wrapper-1 .payment a {
		width : 100% !important ;
		background-size : 97% !important ;
		height : 62px !important ;
	}
	.ticket-purchase-system-table-2 .footer p:first-child { padding-left:10px!important; }
	.ticket-purchase-system-table-2 .footer p {}
	.ticket-purchase-system-table-2 .footer p small { display:block; margin-bottom:0; font-size:9px; }
	.ticket-purchase-system .payment a:hover {
		background-position : 0 -62px!important;
	}
	.ticket-purchase-system .finish {
		width:280px;
	}
	.ticket-purchase-system-table-2 .footer p:first-child {
		padding-left:10px;
	}
	.ticket-purchase-system .finish a {
		width : 267px !important ;
		border-radius : 8px;
	}
	.ticket-purchase-system .finish .item td {
		width : 219px;
		border-radius : 8px;
	}
	.ticket-purchase-system .finish .item {
		border-radius : 10px;
	}
}