/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {

	/**** Forms ****/
	
	/* newsletter */
	#newsletterform #n {
		width: 75%;
	}

	/* pagewrap */
	#pagewrap {
		width: 95%;
	}

	/* content */
	#content {
		width: 60%;
		padding: 3% 4%;
	}

	/* sidebar */
	#sidebar {
		width: 30%;
	}
	#sidebar .widget {
		padding: 8% 7%;
		margin-bottom: 10px;
	}

	/* call to actions */
	a.cta-orange {
		background: url(http://img.en25.com/eloquaimages/clients/InfinityQSInternationalInc/{572b1275-9443-4fbb-abed-bdb95b85c3d1}_button-org-155.png) no-repeat scroll transparent;
		color: #FFFFFF;
		display: block;
		font-size: 10px;
		font-weight: bold;
		height: 15px;
		letter-spacing: 1px;
		line-height: 10px;
		margin: 16px 0 0;
		padding: 6px 12px 0;
		text-transform: uppercase;
		width: 155px;
	}

	a.cta-red-sm1 {
		background: url(http://img.en25.com/eloquaimages/clients/InfinityQSInternationalInc/{f3933fae-f6fd-4614-a085-f80dec311072}_button-red-sm1-155.png) no-repeat scroll transparent;
		color: #FFFFFF;
		display: block;
		font-size: 10px;
		font-weight: bold;
		height: 21px;
		letter-spacing: 1px;
		line-height: 10px;
		margin: 16px 0 0;
		padding: 5px 12px;
		text-transform: uppercase;
		width: 155px;
	}

	a.cta-red-sm2 {
		background: url(http://img.en25.com/eloquaimages/clients/InfinityQSInternationalInc/{7c33d350-04af-4551-aff3-5bd2662bed96}_button-red-sm2-155.png) no-repeat scroll transparent;
		color: #FFFFFF;
		display: block;
		font-size: 10px;
		font-weight: bold;
		height: 21px;
		letter-spacing: 1px;
		line-height: 10px;
		margin: 16px 0 0;
		padding: 5px 12px;
		text-transform: uppercase;
		width: 155px;
	}

	/*
	a.cta-red-lg {
		background: url(http://img.en25.com/eloquaimages/clients/InfinityQSInternationalInc/{41c37968-c13b-4d56-8cf7-e7b8c7782034}_button-red-lg-155.png) no-repeat scroll transparent;
		color: #FFFFFF;
		display: block;
		font-size: 10px;
		font-weight: bold;
		height: 32px;
		letter-spacing: 1px;
		line-height: 10px;
		margin: 16px 0 0;
		padding: 11px 12px 0;
		text-transform: uppercase;
		width: 155px;
	}
	/*

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		width: 100%;
		height: auto;
		min-height: 300px;
	}

}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {

	/**** Forms ****/
	
	/* newsletter */
	#newsletterform #n {
		width: 140px;
	}
	.signup {
		margin-left:0px;
	}
	/* mobileform */
	#mobileform #i {
		width:97%;
	}
	.submit {
		margin-left:0px;
	}
	
	/* header */
	#header {
		height: auto;
	}

	/* search form */
	#searchform {
		position: absolute;
		/*top: 5px;*/
		top:20px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 111px;
	}
	#searchform #s:focus {
		width: 150px;
	}

	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 0px 5px 0;
		position: static;
	}

	/* site description */
	#site-description {
		margin: 0 0 15px;
		position: static;
	}

	/* content */
	#content {
		width: auto;
		float: none;
		margin: 20px 0;
	}

	/* sidebar */
	#sidebar {
		width: 100%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		min-height: 250px;
	}

}

/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/* main nav */
	#main-nav a {
		/*font-size: 90%;*/
		/*padding: 10px 8px;*/
		padding: 14px 8px 13px 8px;
		line-height:100%;
		font-size:11px;
	}

}

/************************************************************************************
smaller than 360
*************************************************************************************/
@media screen and (max-width: 380px) {

	/* contact */
	.contact {
		margin-top:69px;
	}
	.contact_number {
		width:116px;
		height:14px;
	}
	.contact_email {
		width:110px;
		height:10px;
	}

	#searchform #s {
		width: 76px;
	}

	/* main nav */
	#main-nav a {
		font-size: 10px;
		padding: 14px 4px;
	}
}
