/*
Media Queries for responsiveness

01. DEVICE BREAKPOINTS
02. FOR RETINA DISPLAYS
03. VIDEO SLIDER / GALLERY

*/

/*===================================================================================*/
/*	01: BREAKPOINTS
/*===================================================================================*/

/*.hidden-phone, .hidden-tablet, .hidden-desktop { display: none!important; }*/
.hidden-desktop, .show-phone { display: none!important; }

@media(min-width:768px) { /* tablet */
	body {
		/*background-color: yellow!important;*/
		background-image: none!important;
	}
	.travel_mode {
		width:65%;
	}
	.service_info {
		width:35%;
	}
	header {
		margin-bottom:0!important;
	}
	.alert {
		top: -80px;
	}
	.metro_brand {
		display: none!important;
	}


	/*.metro_nav_wrapper {
		position: absolute;
		top: 0;

	}*/
}

@media(min-width:992px) { /* desktop/laptop */
	/*#main-content .container {
		margin-top: -70px;
	}*/
/*	.metro_brand {
	position: relative;
	left: 0;
	height: 70px;
	width: 275px; 
	margin-left: -20px;
	color: white;
	text-align: center;
	line-height: 70px;
	text-indent: -9000px;
}*/

		
}

@media(min-width:992px) { /* desktop/laptop */
body.travel_options {
	background-position: top center!important;
	background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/green2.jpg")!important;
	background-repeat: repeat-x!important;
	background-size: auto!important;
}
body.service_options {
	background-position: top center!important;
	background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/yellow1.jpg")!important;
	background-repeat: repeat-x!important;
	background-size: auto!important;
}
body.about_metro {
	background-position: top center!important;
	background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/blue2.jpg")!important;
	background-repeat: repeat-x!important;
	background-size: auto!important;
}
header {
	/*background-color: red!important;*/
}
/*.main-breadcrumb-row {
	margin-top: 58px!important;
}
.metro_nav_wrapper {
	top: -199px!important;
}*/
	.travel_mode {
		width:65%;
	}
	.service_info {
		width:35%;
	}
	.main-breadcrumb-row {
		margin-top: 60px!important;
		/*margin-top: 20px!important;*/
		border-top: none!important;
	}
	.metro_nav_wrapper {
		margin-top: -1px!important;
	}
/*.nav_group span { display: block; clear: both; }*/
	.container {
		/*background: red;*/
	}
}

@media (max-width:992px) {
	.main-breadcrumb-row {
		margin-top: 54px!important;
		/*border-top: none!important;
		background: blue!important;*/
	}
	.metro_nav_wrapper {
		margin-top: -9px!important;
		/*display: none!important;*/
	}

}



@media(min-width:1180px) { /* desktop/laptop */
	/*#main-content .container {
		margin-top: -70px;
	}
	.metro_brand {
	position: relative;
	left: 0;
	height: 70px;
	width: 275px; 
	margin-left: -20px;
	color: white;
	text-align: center;
	line-height: 70px;
	text-indent: -9000px;
}*/


		
}




@media screen and (max-width:767px) {
	/*.metro_nav_wrapper {
		top: -322px!important;
		position: absolute!important;
	}*/
	body {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/blue2.jpg")!important;
		background-position: top center;
		background-repeat: no-repeat;
		background-attachment:scroll!important;
	}
	
	.page-header h1   { font-size: 2.8rem!important; line-height: 1.4; } 
	
	.hidden-desktop {
		display: block!important;
	}
	.metro_home_link {
		display: none!important;
	}
	.metro_home_link a {
		display: block;
		width: 100%;
		height: 62px;
		overflow: hidden;
		text-indent: -9000px;
		text-decoration: none!important;
		border: none!important;
		margin: 0;
		padding: 0;
	}
	.metro_nav_wrapper {
		display: none!important;
	}
	.pad20_phone { padding: 20px 0; }
	
	.intro_plan_trip {
		padding-top: 1em;
	}
	.intro_plan_trip .or {
		padding: 0;
		margin-top: -.25em;
		text-align: center;
		color: #fff;
		font-size: 1.5em;
		white-space:nowrap;
		width:30%;
		float: left;
	}
	
	h1 {
		font-size: 22px!important;
		font-weight: bold;
	}
	
	h2.subtitle {
		margin-top: -18px;
		/*margin-bottom: 30px;*/
		color: #666;
		font-weight: normal!important;
		font-size: 18px;
	}
	#sidebar {
		margin-top: 60px;
		margin-top: 0;
	}
	.main-breadcrumb-row {
		/*margin-top: 60px!important;*/
		margin-top: 0!important;
		/*margin-top: 20px!important;*/
		border-top-color: #427839!important;
	}
	.change_direction {
		margin: 0 0 0 20px;
	}
	
	.panel-heading .list-group a.list-group-item:first-child {
		content: "Dept. of Transportation"!important;
	}
	.intro_header .intro_wrapper {
		width: 100%;
		/*background: red;*/
	}
	
	/*------------------------------*/
	/*  Metro branding styles       */
	/*------------------------------*/
	.metro_brand {
		position: relative;
		top: 0px;
		left: 0px;
		right: 0px;
		height: 36px;
		width: 100%;
		display: block;
		color: white;
		text-align: center;
		line-height: 36px;
		text-indent: -9000px;
		z-index: auto;
		background-color: #109e63; /* medium green */
		background-color: #ffcf00; /* yellow */
		background-color: #456c95; /* blue   */
		margin: 0;
	}
	.metro_brand a {
		display: block;
		width: 100%;
		height: 36px;
		margin: 0 auto;
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/logos/metro_type_header_sm_white.png");
		
		background-position: 50% 50%;
		background-repeat: no-repeat;
		background-size: contain;
		border: none!important;
		text-decoration: none;
	}
	
	/* DataTable overrides */
	.dataTables_info {
		white-space: normal!important;
	}

}

@media (max-width:480px) {
	.main-breadcrumb-row {
		/*margin-top: 60px!important;*/
		border-top: auto!important;
	}
	.metro_nav_wrapper {
		display: none!important;
	}
	
	.intro_plan_trip .or {
		padding: 1em;
		text-align: center;
		color: #fff;
		font-size: 1.3em;
		white-space:nowrap;
		float: none;
		width: 100%;
	}
	
	.intro_plan_trip .finder_input, .intro_plan_trip .plan_button{
		width: 100%;
		float: none;
	}
	
	.hidden-phone { display: none!important; }
	.show-phone { display: block!important; }
	
	img.width50, img.width40 {
		width: 100%;
	}
	
	ol.steps img.border6 {
		width: 100% !important;
		height: auto !important;
		display: block;
		clear: both;
		margin: 6px 0;
	}
	
	.white-popup-block {
		background:#FFF;
		padding:40px 20px 20px 20px;
		text-align:left;
		max-width:650px;
		margin:0px auto;
		position:relative;
	}
	/* ========================================
		Datatable overrides
	==========================================*/
	/*table.dataTable th,
		table.dataTable td {
			white-space: nowrap;
		}*/
}

@media screen and (max-width: 320px) {
	.show-phone { display: block!important; }
	/*#service_advisories_filter label {
		text-indent: -9000px;
		float: left;
	}*/
	#service_advisories_filter {
		display: block;
		clear: both;
		width: 100%;
	}
	

}
@media screen and min-width992px {

}

/*==================================================================================================*/
/*	FOR RETINA DISPLAYS
/*==================================================================================================*/
	
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	.travel_mode li.bus a {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/icons/travel-options/busiconwhite2x.png");
		background-size: 23px 27px;
	}
	.travel_mode li.bike a {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/icons/travel-options/bikeiconwhite2x.png");
		background-size: 43px 27px;
	}
	.travel_mode li.rideshare a {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/icons/travel-options/rideshareiconwhite2x.png");
		background-size: 24px 27px;
	}
	.travel_mode li.rail a {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/icons/travel-options/railiconwhite2x.png");
		background-size: 17px 27px;
	}
	.travel_mode li.watertaxi a {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/icons/travel-options/watertaxiiconwhite2x.png");
		background-size: 33px 27px;
	}
	.travel_mode li.accessible a {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/icons/travel-options/accessibleiconwhite2x.png");
		background-size: 17px 27px;
	}
}

/*==================================================================================================*/
/*	VIDEO SLIDER / GALLERY
/*==================================================================================================*/
@media screen and (min-width: 0px) and (max-width: 766px) {
/*@media screen and (min-width: 0px) and (max-width: 600px) {*/
.hidden-phone {
	display: none!important;
}

.videoGallery .rsTmb {
	padding: 6px 8px;
}
.videoGallery .rsTmb h5 {
	font-size: 12px;
	line-height: 17px;
}
.videoGallery .rsThumbs.rsThumbsVer {
	/*width: 100px!important;
    padding: 0;
	display: none!important;*/
	width:0!important;
}
.videoGallery .rsThumbs .rsThumb {
	/*width: 100px!important;
    height: 47px;
	display: none!important;*/
	width:0!important;
}
.videoGallery .rsTmb span {
	display: none;
}
.videoGallery .rsOverflow, .royalSlider.videoGallery {
	height: 300px !important;
}
.sampleBlock {
	font-size: 14px;
}
/*====================================
	Route Finder (select2)
=====================================*/
.desktop_right, .table_right {
	float: none;
	width: 100%;
	margin: 0 0 20px 0;
}

/*====================================
	Intro Header
=====================================*/
	.intro_header .intro_wrapper {
		padding: 1em;
		width: 100%;
		/*background: red;*/
	}
	/*.intro_header img {
		display: none;
	}*/
} 

@media screen and (max-width: 600px) {
.videoGallery .rsTmb {
	display: none;
}

}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
.home .slide {
	top: 34px!important;
}
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
.home .slide {
	top: 34px!important;
}
}
@media screen and (min-width: 320px) and (max-width: 1100px) {
.home .full_caption h2 {
	font-size: 18px!important;
}
.hidden-tablet { display:none!important; }
}
@media only screen and (max-device-width: 480px) and (orientation: landscape), @media only screen and (max-device-width: 640px) and (orientation: portrait) {
 .home .slide {
 top: 34px!important;
}
.hidden-phone {
	display: none!important;
}

}


/* ----------- Galaxy S5 ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) {
	.show-phone { display: block!important; }
}

/* Portrait */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait) {
	.show-phone { display: block!important; }
}

/* Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: landscape) {
	.show-phone { display: block!important; }
}





/*------------------------------*/
	/*  Metro branding styles       */
	/*------------------------------*/
	.metro_brand {
		display: block!important;
                position: relative;
		top: 0px;
		left: 0px;
		right: 0px;
		height: auto;
		/*width: calc(100% - 40px);*/
                width: auto;
		color: white;
		text-align: center;
		/*line-height: 55px;*/
		text-indent: -9000px;
		z-index: auto;
		/*background-color: #109e63;  medium green */
		/*background-color: #ffcf00;  yellow */
		/*background-color: #456c95;  blue   */
                background-color: none!important;
		margin: -60px 0 8px 0;
                padding; 0;
	}
	.metro_brand a {
		display: block;
		width: 100%;
                width: calc(100% - 20px);
                height: 60px;
		margin: 0;
                padding: 0;
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/logos/metro_type_header_lg_white.png");
		
		background-position: 50% 50%;
		background-repeat: no-repeat;
		background-size: contain;
		border: none!important;
		text-decoration: none;
	}

@media screen and (max-width:1199px) {
/*------------------------------*/
	/*  Metro branding styles       */
	/*------------------------------*/
	.metro_brand {
                margin: -50px 0 8px 0;

	}
}

@media screen and (max-width:992px) {
/*------------------------------*/
	/*  Metro branding styles       */
	/*------------------------------*/
	.metro_brand {
		/*height: 70px;*/
                margin: 12px 0 8px 0;

	}

}


@media screen and (max-width:767px) {
/*------------------------------*/
	/*  Metro branding styles       */
	/*------------------------------*/
	.metro_brand {
		position: relative;
		top: 0px;
		left: 0px;
		right: 0px;
		height: 42px;
		width: 100%;
		display: block;
		color: white;
		text-align: center;
		line-height: 36px;
		text-indent: -9000px;
		z-index: auto;
		background-color: #109e63; /* medium green */
		background-color: #ffcf00; /* yellow */
		background-color: #456c95; /* blue   */
		margin: 0;
	}
	.metro_brand a {
		display: block;
		width: 100%;
		height: 42px;
		margin: 0 auto;
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/logos/metro_type_header_sm_white.png");
		
		background-position: 50% 50%;
		background-repeat: no-repeat;
		background-size: contain;
		border: none!important;
		text-decoration: none;
	}



.main-breadcrumb-row {
     background-color: #109e63!important; /* medium green */
     background-color: #0e6640!important; /* dark green */
     border: none!important;
}
.breadcrumb li, .breadcrumb li a, .breadcrumb>.active {
    color: #fff!important;
    display: none!important;
}

}


@media(max-width:991px) { /* tablet */
/*------------------------------*/
	body {
	background-position: top center!important;
	background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/blue2.jpg")!important;
	background-repeat: repeat-x!important;
	background-size: auto!important;
	}
}



@media(min-width:992px) { /* desktop/laptop */
body.travel_options {
	background-position: top center!important;
	background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/green2.jpg")!important;
	background-repeat: repeat-x!important;
	background-size: auto!important;
}
body.service_options {
	background-position: top center!important;
	background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/yellow1.jpg")!important;
	background-repeat: repeat-x!important;
	background-size: auto!important;
}
	body.service_options .metro_brand a {
		background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/logos/metro_type_header_lg.png")!important;
	}
body.about_metro {
	background-position: top center!important;
	background-image: url("http://www.kingcounty.gov/~/media/depts/transportation/metro/images/backgrounds/blue2.jpg")!important;
	background-repeat: repeat-x!important;
	background-size: auto!important;
}
}