/* Portrait tablet to landscape and desktop */
@media (max-width: 1020px) {	
	body {
		background: transparent;
	}
	
	#menu .left-angle,
	#menu .right-angle {
		display: none;
	}
	
	#menu .contents {
		width: 100%;
	}

	#header .logo {
		position: relative;
		float: left;
		width: 5%;
	}

	#header .logo img {
		width: 100%;
		height: auto;
	}
	
	#header,
	#header .contents {
		height: auto;
	}
	
	#header .name {
		margin: 0px;
		width: 43%;
	}

	#header .links {
		width: 310px;
	}
	
	#social {
		display: none;
	}
	
	/* 99% to account for borders */
	#newstabs .contents,
	.news-page .second-column,
	#aroundpac12 .contents {
		width: 100%;
	}
	
	.news-page .second-column {
		float: none;
	}
	
	#rotator {
		width: 100%;
		height: auto;
	}
	
	#rotator .legend {
		display: none;
	}
	
	#rotator .related {
		float: right;
	}
	
	#rotator .arrow {
		top: 30%;
	}
	
	#subrotator {
		position: relative;
		top: 0px;
		left: 0px;
	}
	
	#subrotator .story {
		width: 12.9%;
		height: auto;
		margin: .7%;
		border: 0px;
	}
	
	#subrotator .story.first {
		margin: .65%;
	}
	
	#subrotator .story.last {
		margin-right: 0%;
	}
	
	#rotator .contents {
		box-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
		-webkit-box-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
		-moz-box-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
		border: 0px;
		height: 88%;
	}
	
	#rotator .titlebar {
		bottom: 10px;
	}
	
	#ad-row .right-leader {
		display: none;
	}
	
	#leaderboard {
		margin: 0px auto;
		float: none;
	}
	
	#footer .affil {
		display: none;
	}
	
	#footer .text {
		float: none;
		width: 100%;
		text-align: center;
	}
	
	#neulion {
		padding-left: 0px;
		width: 111px;
		margin: 0px auto;
		float: none;
	}
	
	.undermenu.adspace {
		display: none;
	}
	
	#article-date-icons .article-icons {
		display: none;
	}
	
	#list-menu {
		margin-left: 0px;
	}
	
	.adspace.rightfloat {
		display: none;
	}

	#header .right-leader {
		display: none;
	}

	#header .leaderboard .sprite-v_advertisement {
		display: none;
	}

	#header .ad-row {
		max-width: 728px;
		margin: 0px auto;
	}

	#upcoming-pac12 {
		max-width: none;
	}
}

@media (max-width: 868px) {
	#header .links {
		
	}
	
	#header .header-link {
		font-size: 10px;
		padding-top: 10px;
	}
	
	#header-search {
		padding-top: 6px;
	}
	
	#header .header-link.last {
		display: none;
	}

	#header .links {
		width: 204px;
	}
	
	#header div.right .clear {
		display: none;
	}
	
	#header-search {
		margin: 0px 0px 0px .5%;
		float: left;
	}
	
	#log-in {
		/*padding: 10px 5px 0px 0px;*/
		margin-left: 0px;
	}
	
	#pac12-dropdown-button {
		
	}
	
	#pac12-dropdown-button img {
		width: 40%;
	}
	
	#article-content,
	#article-date-icons,
	#article-title,
	#article-container a.back {
		padding-left: 8px;
	}
	
	#header-search {
		width: 130px;
		float: right;
	}

	#sectionmenu {
		height: 100%;
		padding: 6px 0px;
	}
	
	ul#section-menu {
		margin-top: 0px;
	}
	
	#section-menu {
		width: 100%;
		margin: 0px;
	}
	
	#sectionmenu .title, #sectionmenu .title a {
		float: none;
		line-height: 16px;
	}
	
	#section-menu li {
		padding: 0px 6px;
	}

	#sectionmenu .title, #sectionmenu .title a {
		font-size: 18px;
	}
	
	#section-menu li a {
		font-size: 10px;
		line-height: 22px;
	}
	
	ul#section-menu li.divider {
		height: 10px;
		margin-top: 7px;
	}

	.top-menu-link {
		padding: 0px 6px;
	}
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

	#list-menu {
		display:none;
		width: 100%;
		margin-left: 0px;
	}

	.subnav .template {
		min-height:auto;
	}

	#list-menu.show-mobile {
		display:block;
	}

	#list-menu div.standard.schedule li {
		width: 100%;
	}

	#list-menu li.template ul.subnav .standard {
		width: 98%;
	}

	#list-menu-button {
		display:block;
	}

	#list-menu li.parent {
		float:none;
		display:block;
		background:#eeeeee;
		border-top:1px solid #000000;
	}

	#list-menu li.parent:hover {
		
		background:grey;
		
	}

	#list-menu .divider {
		display:none;
	}

	#list-menu .subnav .template {
		height: 376px;
	}

	.top-menu-link {
		color:#000000;
	}

	.top-menu-link:hover {
		color:#ffffff;
	}

	.subnav {
		position:static;
		width:100%;
	}

	ul#menu-sport-group-1,
	ul#menu-sport-group-2 {
		width:100%;
		display:block;
		float:none;
	}

	#list-menu .feature-2,
	#list-menu .feature-1,
	#list-menu .label-2,
	#list-menu .label-1,
	#list-menu .image-text
	{
		display:none;
	}

	#list-menu .with-sections #menu-sport-group-2 li.first {
		border-top:1px solid #ffffff;
	}

	#list-menu .with-sections li {
		float:none;
		display:block;
	}

	#list-menu .with-sections a.sport {
		float:none;
		display:block;
	}

	#list-menu .subnav a.section,
	#list-menu .subnav a.custom,
	#list-menu .subnav a.twitter,
	#list-menu .subnav a.facebook {
		display:none;
	}

	#list-menu li.parent.menu-active {
		background:grey;
	}

	#list-menu li.parent.menu-active .top-menu-link {
		color:#ffffff;
	}
	
	#header {
		
	}
	
	#aroundpac12 {
		max-width: none;
	}
	
	.promo-ad {
		display: none;
	}
	
	#bottomads .promoad {
		display: none;
	}
	
	#leaderboard  .img.block {
		display: none;
	}
	
	#leaderboard {
		position: fixed;
		width: 100%;
		height: 50px;
		bottom: 0px;
		z-index: 900;
	}
	
	#leaderboard .ad {
		width: 320px;
		float: none;
		margin: 0px auto;
	}
	
	body.responsive #container {
		padding-bottom: 60px;
	}
	
	#content-right {
		margin: 0px auto;
		float: none;
	}
	
	#content-left {
		width: 100% !important;
		float: none;
	}

	#article-container {
		float: none;
	}
	
	#embedPlayer {
		width: 100%;
	}

	#rotator .titlebar .title a {
		font-size: 14px;
		line-height: 18px;
	}

	#rotator .titlebar .teaser a {
		font-size: 12px;
		line-height: 16px;
	}
}

@media (max-width: 728px) {
	#leaderboard .ad-row,
	#header .leaderboard,
	#ad-row .leaderboard {
		width: 320px;
		height: 50px;
	}

	#ad-row .leaderboard .sprite-v_advertisement{
		display: none;
	}

	#ad-row .leaderboard {
		margin: 0px auto;
		float: none;
	}

	#header.ad {
		height: 152px;
	}

	#header .header-link {
		width: 98px;
	}

	#header .links {
		width: 205px;
	}
}

@media (max-width: 660px) {
	.news-page .left-column,
	.news-page .right-column{
		float: none;
		width: 100% !important;
	}
	
	#cubead {
		margin: 16px auto 0px;
	}
	
	.adspace.undercube {
		margin: 16px auto 0px;
	}
	
	#schedule .title .links a,
	#schedule .title .links span,
	#schedule_sports {
		display: none;
	}

	#schedule .title .links a.first {
		display: inline;
	}
	
	#log-in {
		font-size: 10px;
		line-height: 18px;
		margin: 0px;
	}
	
	#drippan .item {
		width: 100%;
		float: none;
	}
	
	#drippan .item .header {
		cursor: pointer;
		border: 1px solid #7F2346;
		margin-top: 4px;
		padding-left: 10px;
	}
	
	#drippan .item .content {
		display: none;
		padding-left: 10px;
	}
	
	#drippan .item a {
		padding: 2px 0px;
	}
}

@media (max-width: 580px) {
	#header .links,
	#header-search {
		width: 128px;
	}
	
	#pac12-dropdown-button {
		width: 88px;
		float: right;
		text-align: right;
		padding-right: 2%;
	}
	
	#pac12-dropdown-button img {
		max-width: 40px;
	}
	
	#header .header-link {
		display: none;
	}

	#header.ad {
		height: 118px;
	}
	
	#header-search {
		float: right;
	}

	#search-button {
		margin-top: 5px;
	}

	#header .links {
		width: 125px;
	}
}

@media (max-width: 540px) {
	#rotator .contents {
		height: 100%;
	}
	
	#rotator .titlebar {
		position: relative;
		top: 0px;
		left: 0px;
		bottom: 0px;
	}
	
	#rotator .titlebar {
		height: 48px;
	}
	
	#subrotator {
		display: none;
	}
	
	#rotator .titlebar .related {
		display: none;
	}
	
	#rotator .titlebar .related a {
		font-size: 10px;
	}

	#rotator .arrow {
		top: 28%;
		width: 10%;
	}
	
	#article-content .article-related-links {
		display: none;
	}

	#rotator .titlebar .title a {
		font-size: 14px;
	}
	#rotator .titlebar .teaser {
		display: none;
	}
}

/* Landscape phones and down */
@media (max-width: 480px) {
	
	#moreheadlines {
		margin-top: 1%;
		float: none;
		width: 100%;
	}
	
	#cubead {
		float: none;
		width: 100%;
	}
	
	#schedule .title .links a {
		display: none;
	}
	
	#schedule .title select {
		margin-right: 0px;
	}
	
	/*
	#features .content {
		height: 100%;
		border: 0px;
	}
	
	#features .content .item {
		display: none;
	}
	
	#features .content .item.first,
	#features .content .item.second {
		float: none;
		display: block;
		width: 100% !important;
	}
	
	#features .content .item.first {
		padding: 10px 0px;
	}
	
	#features .slider {
		position: static;
		left: 0px;
		width: 100% !important;
	}
	
	#features .title .right {
		display: none;
	}
	
	#features .content .item .image, 
	#features .content .item .text {
		padding: 0px;
	}
	
	#features .content .item .text {
		padding: 0px 6px;
	}
	
	#features .border {
		padding: 0px;
	}
	*/
	
}

@media (max-width: 340px) {
	#cubead {
		
		border: 0px;
	}
	
	#header-search {
		padding-top: 3px;
	}
}

@media (max-width: 740px) {
	.article-leaderboard {
		width: 320px;
		height: 50px;	
	}

	.article-leaderboard .sprite-v_advertisement {
		display: none;
	}
}