

/**/

body {
width: auto;
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-family: Arial, sans-serif;
	background: #000;
	color: #fff;

}

#icon-loading {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
}

#bus-info {
	float: left;
	width: 100%;
	background: #000000;
	color: #ffffff;

}

/*Current stop panel */

#bus-info .current-stop {
	position: relative;
	 padding: 20px 44px;
	 background: #676767;
	z-index: 200;
 }

#bus-info .current-stop > .stop-name {
	margin: 0;
	font-size: 24px;
}

#bus-info .current-stop a{
	color: #fff!important;
}


#bus-info .current-stop:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 13px;
	width: 20px;
	height: 100%;
	background: url(../images/icon-pin.svg) no-repeat center center;
}

#bus-info .current-stop:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 13px;
	width: 25px;
	height: 100%;
	background: url(../images/arrow-down.svg) no-repeat center center;
	transition: transform 0.5s;
}

#bus-info .current-stop.active:after {
	transform: rotate(-180deg);
}

.firstbus-stops{
	position: relative;
}

#stopsPanel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 0 14px 20px;
	overflow: hidden;
	opacity: 0;
	border-top: solid 1px #999;
	box-sizing: border-box;
	z-index: 201;

	transition: all 0.2s;
	background: #676767;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
}

#stopsPanel.active {
	opacity: 0.99;
}

#stopsList {
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
}

#stopsList .stop{
	display: flex;
	position: relative;
	padding: 15px 20px 15px 0;
	border-bottom: solid 1px #999;
}

#stopsList .stop:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0px;
	width: 16px;
	height: 100%;
	background: url(../images/arrow-down.svg) no-repeat center center;
	transform: rotate(-90deg);
}

#stopsList .stop .distance{
	flex: 1;
	//background: pink;
}

#stopsList .stop .stop-name{
	flex: 4;
	//background: red;
}



#stopsPanel .search-link{
	display: inline-block;
	width: 100%;
	margin: 15px 0 0;
	color: #fff;
	background: url('../images/icon-search.svg') no-repeat center center;
	text-indent: -99999px;

}


#bus-info .bus{
	display:table;
	width: 100%;
	border-top: solid 1px #666;
}

#bus-info .bus:first-child{
	border-top: none;
}

#bus-info .bus-number{
	display:table-cell;
	vertical-align:middle;
	width: 20%;
	height: 53px;
	margin: 0;
	background: #fff100; /* Old browsers */
	background: -moz-linear-gradient(top, #fff100 0%, #dbcb00 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff100), color-stop(100%,#dbcb00)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #fff100 0%,#dbcb00 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #fff100 0%,#dbcb00 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #fff100 0%,#dbcb00 100%); /* IE10+ */
	background: linear-gradient(to bottom, #fff100 0%,#dbcb00 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff100', endColorstr='#dbcb00',GradientType=0 ); /* IE6-9 */
	color: #000000;
	font-size: 27px;
	font-weight: bold;
	text-align: center;
}


#bus-info .destination{
	display:table-cell;
	vertical-align:middle;
	width: 60%;
	height: 53px;
	margin: 0;
	padding: 0 0 0 10px;
	//background: #000000;
	color: #ffffff;
	font-size: 21px;
}

#bus-info .minutes{
	display:table-cell;
	vertical-align:middle;
	width: 20%;
	height: 53px;
	margin: 0;
	background: #404040;
	color: #ffffff;
	font-size: 21px;
	text-align: center;
}

#bus-info .bus-number.next{
	width: 40%;
	height: 71px;
	font-size: 46px;
}
#bus-info .destination.next{
	width: 70%;
	height: 71px;
	font-size: 32px;
}
#bus-info .minutes.next{
	float: left;
	width: 100%;
	height: 250px;
}

#bus-info .minutes.next .value{
	float: left;
	width: 100%;
	height: 135px;
	margin: 0;
	padding: 10px 0 0 0;
	font-size: 150px;
	font-weight: bold;
	
}
#bus-info .minutes.next .unit{
	float: left;
	width: 100%;
	clear: both;
	font-size: 32px;
}

#audioPlayBtn {
	background: transparent !important;
    border: none;
    height: 100%;
    position: absolute;
    text-indent: -99999px;
    text-shadow: none;
    width: 100%;
	box-shadow: none;
	z-index: 100;
}

.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper {
	background: #000000!important; // to cover all the area
}



/* #1- Large desktop */
@media screen and (min-device-width: 980px) { 
	body {
		max-width: 500px;
	}
 }

/* #2- Portrait tablet to landscape and desktop */
@media screen and (min-device-width: 768px) and (max-device-width: 979px){ 
	body {
	}
 }

/* Overwrite*/

.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper {
	text-shadow: none;
}


/*Dev */
.dev-block {
	display: none;
}

/*dev only*/
#audioPlayBtn {
//display: none;
}


