/*!
 * TechTarget
 * auther: Mike Latulippe
 * Copyright 1999-2013, TechTarget
 *
 *
 */

.open_search, .open_mega_menus {
	display: none;
}

#articleBody .abstractCoverBig img {
	-moz-transition: all 100ms linear;
	-webkit-transition: all 100ms linear;
}

#provinceDiv {
	display: inline;
}

.bitpipeAbstractCol1 h1 {
	display: none;
}

/*
- switch columns to 50% each
- reg form switches to multiple line view
*/

@media only screen and (max-width: 1000px) {
	#contentCompress,
	#universalBarCompress,
	#headerLogoCompress,
	#headerNavigationCompress,
	#footerNavigationCompress,
	#footerCompress,
	#footerMiscLinksCompress {
		width: auto;
		margin: 0 10px;
	}

	#article.articleFullWidth {
		width: auto;
		float: none;
	}

	.articleColumnsTwo .bitpipeAbstractCol1,
	.articleColumnsTwo .bitpipeAbstractCol2 {
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		padding: 0;
		margin: 0;
	}
	
	.articleColumnsTwo .bitpipeAbstractCol1 {
		width: 49%;
	}

	.articleColumnsTwo .bitpipeAbstractCol2 {
		width: 50%;
		padding-left: 20px;
	}

	.abstractRegBody li label {
		float: left;
	}

	.abstractRegBody li span.input, .abstractRegBody span.select, .abstractRegBody span.textarea {
		display: block;
		margin-left: 122px;
	}

	.abstractRegBody li input, .abstractRegBody select, .abstractRegBody textarea {
		width: 100%;
	}

	.abstractRegBody li label {
		float: none;
		text-align: left;
	}

	.abstractRegBody li span.input, .abstractRegBody span.select, .abstractRegBody span.textarea {
		margin-left: 0px;
	}

	.abstractRegBody li input.primaryButton[type="submit"] { /* mlatulippe */
		font-size: 18px;
		font-weight: bold;
		height: 40px;
		margin: 0 auto;
		padding: 0 20px;
		display: block;
		text-transform: none;
	}

	.bitpipeAbstractCol1 #articleToolbar { /* mlatulippe */
		border: none;
		padding: 0;
		margin: 0;
	}

	.bitpipeAbstractCol1 #articleToolbar li { /* mlatulippe */
		margin-bottom: 10px;
	}

	#articleBody .abstractCoverBig {
		padding: 12% 0;
	}

	#articleBody .abstractCoverBig img {
		max-width: 80%;
	}

	/* footer stuff */
	#relatedSites .listTypeTabContent {
		float: none;
		margin-left: 246px;
		margin-right: 90px;
		width: auto;
	}

	#relatedSitesHeadlines .rshCols li {
		float: none;
		width: auto;
		border: 0 none;
		padding-left: 0;
		padding-bottom: 0;
		margin-bottom: 15px;
		border-bottom: 1px dotted #999999;
		min-height: 0 !important;
	}
}

 /*
 - turn off megamenus - since their content is too big
 - reduce the size of the header logos
 - reformat the footer related TT sites
 - push right column reg form below content
 */
@media only screen and (max-width: 700px) {

	#headerLogoCompress {
		margin-top: 0;
		margin-bottom: 0;
		min-height: 0;
		height: 55px;
		overflow: hidden;
	}

	#headerLogo a {
		background-size: 70%;
		top: 18px;
	}

	#headerTechtargetLogo {
		background-position: -240px -157px;
		width: 87px;
		height: 47px;
		top: 5px;
	}

	#footerNavigation, #headerNavigation {
		position: relative;
	}

	.bitpipeAbstractCol1 .listTypeBitpipeDownloadInfo {
		overflow: hidden;
	}

	.articleColumnsTwo .bitpipeAbstractCol1 {
		float:	none;
		width: 100%;
	}

	.articleColumnsTwo .bitpipeAbstractCol2 {
		float:	none;
		width: 100%;
		padding-left: 0;
		clear: both;
	}



	/* hide the megamenus and related content */
	.open_mega_menus {
		margin: 8px 0 0 5px;
		display: block;
		float: left;
		text-indent: -100000px;
		width: 22px;
		height: 18px;
		background: transparent url("../images/global/sprite-new-icons.png") no-repeat 0px 0px;
	}

	.megaMenu {
		display: none;
		float: none;
		position: absolute;
		background: #666666;
		width: 100%;
		z-index: 10;
		top: 45px;
		left: 0;
	}

	.megaMenu > ul > li {
		display: block;
		float: none;
		width: 100% !important;
		padding: 20px 0 10px 0;
		margin: 0;
	}

	.mmNavItem:first-child, .megaMenu > ul > li {
		border: none;
		border-bottom: 1px solid #575757;
	}

	.mmNavItem .mmNavLink {
		position: static;
		font-size: 18px;
	}

	.megaMenu > ul > li div.break {
		width: .5em;
		display: inline-block;
	}

	.mmContent {
		position: absolute;
		left: -1000000px !important;
	}




	/* footer stuff */
	#relatedSites #relatedSitesNav {
		display: block;
		overflow: hidden;
		float: none;
		width: 100%;
		border-bottom: 1px dotted #666666;
		margin-bottom: 0;
	}

	#relatedSites #relatedSitesNav li {
		display: block;
		float: left;
		width: 33%;
		border-right: 1px dotted #666666;
		border-top: none;
	}

	#relatedSites #relatedSitesNav li:last-child {
		border-right: none;
	}

	.listTypeTab li a {
		min-height: 48px;
	}

	.listTypeTab li.selected span {
		display: none;
	}

	#relatedSites #relatedSitesHeadlines {
		display: block;
		float: none;
		width: auto;	
		margin: 0;
	}

	#relatedSites #footerTechtargetLogo {
		display: block;
		float: none;
		position: static;
	}

	#footerMiscLinks li {
		padding: 0 10px 0 0;
		margin: 0;
	}

	#footerMiscLinks li:last-child {
		float: left;
	}

}


 /*
 - remove TT logo from header
 - turn off search
 - turn off social icons, breadcrumbs
 - reduce h1 font size
 - reduce size of img's
 */
@media only screen and (max-width: 480px) {

	#headline h1.abstractRegFormHeadline {
		font-size: 1.6em;
	}

	#headerLogoCompress {
		height: 45px;
		overflow: hidden;
	}

	#headerLogo a {
		top: 12px;
	}

	#headerTechtargetLogo {
		display: none;
	}

	#relatedSites h5,
	#relatedSitesNav,
	#relatedSitesHeadlines {
		display: none;
		position: absolute;
		left: -1000000px;
	}

	#relatedSites #footerTechtargetLogo {
		float: right;
	}

	#footerMiscLinks ul {
		display: none;
	}

	#footerCopyright {
		position: static;
		float: none;
		width: auto;
		padding-top: 10px;
		padding-bottom: 20px;
	}

	#articleToolbar,
	#breadcrumbs {
		display: none;
	}

	#articleHeader {
		display: none;
	}

	#content {
		margin: 0;
		padding: 0;
	}

	#contentCompress {
		margin: 0;
		padding: 0;
	}
	
	#article {
		position: static;
		border: none;
		padding-top: 12px;
		margin-bottom: 0;
	}

	.abstractReg h2 {
		font-size: 22px;
		line-height: 28px;
	}

	.sponsorLogo { display: none; }

	/* turn off search */
	#footerNavigationSearch, #headerNavigationSearch {
		display: none;
		border-top: 1px solid #575757;
		border-bottom: 1px solid #575757;
		border-left: 1px solid #575757;
		background: #666666;
		float: none;
		width: auto;
		position: absolute;
		top: 45px;
		right: 0;
		padding: 10px 15px 15px 15px;
		z-index: 100;
	}

	#footerNavigationSearch {
		top: -51px;
		border-top: none;
		border-bottom: 1px solid #000000;
	}

	.open_search {
		margin: 5px 5px 0 0;
		display: block;
		float: right;
		text-indent: -100000px;
		width: 21px;
		height: 21px;
		background: transparent url("../images/global/sprite-new-icons.png") no-repeat -34px 0px;
	}



	#articleBody .abstractCoverBig {
		padding: 12% 0;
	}

	#articleBody .abstractCoverBig img {
		max-width: 75%;
	}

	#articleToolbar {
		padding-bottom: 0;
	}

	#articleToolbar li {
		padding-bottom: 5px;
	}
}