/**** New Front Page Styles ****/

.menu li li {
	display: block !important;
	margin-right: 0px !important;
}
a.button {
	white-space: initial;
}
a.button.call-to-action {
	background: rgba(255,174,76,1);
	background: -moz-linear-gradient(top, rgba(255,174,76,1) 0%, rgba(214,126,19,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,174,76,1)), color-stop(100%, rgba(214,126,19,1)));
	background: -webkit-linear-gradient(top, rgba(255,174,76,1) 0%, rgba(214,126,19,1) 100%);
	background: -o-linear-gradient(top, rgba(255,174,76,1) 0%, rgba(214,126,19,1) 100%);
	background: -ms-linear-gradient(top, rgba(255,174,76,1) 0%, rgba(214,126,19,1) 100%);
	background: linear-gradient(to bottom, rgba(255,174,76,1) 0%, rgba(214,126,19,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffae4c', endColorstr='#d67e13', GradientType=0 );
	border: 1px solid #D08702;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1rem;
	margin: 5px auto 0 !important;
 padding: .5rem;
	text-shadow: 0 0 6px #fff;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
	text-transform: initial;
	border-radius: 4px;
	color: #000;
	font-weight: bold;
	line-height: 1.15em;
	margin-top: 5px !important;
	white-space: nowrap;
	width: auto;
}
a.button.call-to-action:hover {
	background: rgba(255,209,94,1);
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,209,94,1) 0%, rgba(255,148,25,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%,, color-stop(0%, rgba(255,209,94,1)), color-stop(100%, rgba(255,148,25,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,209,94,1) 0%, rgba(255,148,25,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(255,209,94,1) 0%, rgba(255,148,25,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(255,209,94,1) 0%, rgba(255,148,25,1) 100%);
	background: radial-gradient(ellipse at center, rgba(255,209,94,1) 0%, rgba(255,148,25,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd15e', endColorstr='#ff9419', GradientType=1 );
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	text-decoration: none;
	/* text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.75); */
	-moz-text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.75);
	-webkit-text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.75);
}
.call-to-action {
	margin: .75em auto 0 !important;
	width: auto !important;
}
.call-to-action a.button {
	border: none;
	border-radius: 0px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	font-family: "Georgia", "GeorgiaRegular", "Times New Roman", Times, serif;
	font-size: 1.5em;
	font-weight: normal;
	padding: .25em;
	text-shadow: none;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
}
.call-to-action a.button:hover {
	border: none;
	border-radius: 0px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-decoration: none;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
	text-shadow: none;
}
#featured {
	background-attachment: scroll;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	border: none;
	border-radius: 0px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	float: none;
	min-height: 492px;
	position: relative;
}
#featured p {
	font-family: "Georgia", "GeorgiaRegular", "Times New Roman", Times, serif;
	font-size: 1.2em;
	margin-top: .5em;
	padding: 0px;
	text-align: left;
}
#featured-content {
	background: transparent url('img/frontpage-textbg.png') top left repeat scroll;
	bottom: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	left: 10px;
	padding: 1em !important;
	position: absolute;
	text-align: center;
	width: 55% !important;
}
#featured-quiz {
	background: transparent;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff;
	font-family: "Georgia", "GeorgiaRegular", "Times New Roman", Times, serif;
	font-size: 1.75em;
	line-height: 1.75em;
	margin: 0 auto;
	padding: 0 .5em;
	position: absolute;
	text-align: center;
	width: 25%;
	opacity: .8;
}
#featured-quiz:hover {
	background: transparent;
	opacity: 1;
}
#featured-quiz a {
	color: #fff;
}
.featured-subtitle {
	font-family: "Georgia", "GeorgiaRegular", "Times New Roman", Times, serif;
	font-size: 2em;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
.featured-title {
	border: none;
	color: #000;
	font-family: "Georgia", "GeorgiaRegular", "Times New Roman", Times, serif;
	font-size: 3em;
	margin: 0 0 .25em;
}
.phone_number {
	display: none;
}
.front-page #wrapper {
	margin-top: 20px !important;
}
.displayone {
	height: 0px;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	border: 0 none !important;
	box-shadow: none !important;
}
.width-one-half {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	width: 49.00%;
}
.width-one-half .er-featured-content {
	width: 50%;
}
.width-one-half .er-featured-content p {
	font-size: 1.5em;
	margin: .1em 0;
}
.width-one-quarter {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	width: 24%;
}
.width-one-whole {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 99%;
}
.height-one-half {
	height: 270px;
	text-align: center;
}
.height-three-quarters {
	height: 410px;
}
.height-one-whole {
	height: 550px;
}
.er-featured-content {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	font-family: helvetica, arial, sans-serif;
	opacity: 0;
	padding: 1.5%;
	width: auto;
	z-index: 10;
}
.call-bottom-left, #featured-quiz {
	opacity: 0;
}
.er-featured-content p {
	font-size: 1.5em;
	margin: 0;
	text-align: center;
}
.er-featured-content-1379 {
/* width: 75% !important; */
}
{
}
.er-featured-content-1379 a.button.call-to-action {
/* -moz-box-sizing: border-box;
-webkit-box-sizing:border-box;
box-sizing: border-box;*/
	/* margin: 0 auto !important; */
	/* width: 80% !important; */
}
.er-featured-content-1380 p a.button.call-to-action {
/* display: inline; */
	/* font-size: 1.15em !important; */
	/* line-height: 1.25em; */
	/* padding: 0 .25em; */
}
.er-featured-1376 {
	opacity: 1 !important;
}
.er-featured-1381 a.button.call-to-action {
}
.er-featured-content-1382 {
	font-size: 1.5em;
	line-height: 2em !important;
	font-family: Georgia, times new roman, serif;
}
#er-text-yellow {
	font-size: 1.75em;
	line-height: 1.5em !important;
	padding: 5px;
	text-align: center;/* width: 40%; */
}
#header {
	background: url('core/images/headerBackground.jpg') repeat-x left 14px transparent;
}
.home-contact-top {
	font-family: "Georgia", "GeorgiaRegular", "Times New Roman", Times, serif;
	font-size: 1.5em;
	font-weight: 700;
	margin-bottom: 10px;
	text-align: right;
}
.grid-right.fit {
	min-height: 40px;
}
form#searchform {
	margin: 10px 0;
}
h1.featured-title {
	text-align: center;
}
h2.featured-subtitle {
	font-size: 2em;
	margin: 0 0 .25em;
	text-align: center;
	line-height: 1.1em;
}
h2.er-featured-title {
	font-size: 2em;
	line-height: 1.1em;
	margin: 0 0 .1em;
	text-align: center;
}
#linky {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}
#linky .boxy {
	background-size: cover !important;
	margin: .5%;
	padding: 0;
	border: 5px solid #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.29);
}
.call-top-left {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
}
.call-bottom-left {
	bottom: 0;
	position: absolute;
	left: 0;
	max-width: 100%;
}
.call-top-center {
	display: block;
	margin: 0 auto;
	position: initial;
	max-width: 100%;
}
.call-bottom-center {
	bottom: 0;
	margin: 0 auto;
	position: absolute;
	max-width: 100%;
}
.call-top-right {
	position: absolute;
	right: 10px;
 top 10px;
	max-width: 100%;
}
.call-bottom-right {
	bottom: 0;
	position: absolute;
	right: 0;
	max-width: 100%;
}
fieldset.verification {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	position: relative;
	width: 100%;
}
.verification .vfb-legend {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px;
	font-size: 1.20vmax;
	margin: 0;
	max-width: 100%;
	padding: 0;
	text-align: center;
	width: 100%;
}
.verification h3 {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}
form.visual-form-builder {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
a.modalCloseImg.simplemodal-close {
	background: url(img/close-button.png) no-repeat 0 0 transparent;
	background-size: contain;
	border-radius: 14px;
	cursor: pointer;
	display: block;
	font-size: 20px;
	height: 25px;
	position: absolute;
	right: -9px;
	top: -9px;
	width: 25px;
}
div#simplemodal-container {
	background: #000;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff;
	display: table-cell;
	height: auto;
	line-height: 100%;
	padding: 10px 0 0 0;
	text-align: center;
	vertical-align: middle;
	width: 50%;
}
#quiz, #er-video {
	display: none;
}
#text-96 .widget-title {
	color: #006699;
	font-size: 1.25em;
	font-weight: 700;
}
.thank-you-widget-header {
	color: #f2b237;
	display: block;
	font-size: 1.5em;
	font-weight: 700;
	margin: 10px 0;
	text-transform: uppercase;
}
.thank-you-widget-sub-header {
	color: #006699;
	display: block;
	font-size: 1.1em;
	font-weight: 700;
	clear: both;
}
.thank-you-widget-sub-header img {
	box-shadow: 8px 8px 18px 0px rgba(0,0,0,0.65);
	-moz-box-shadow: 8px 8px 18px 0px rgba(0,0,0,0.65);
	-webkit-box-shadow: 8px 8px 18px 0px rgba(0,0,0,0.65);
	margin: 5px 0;
}
#text-96 p {
	font-family: Tahoma, Verdana, sans-serif;
	font-size: .95em;
	margin: 10px 0;
}
h2.thank-you-title {
	font-size: 2.25em !important;
	font-variant: normal !important;
}
.blue-label-14 {
	color: #006699;
	display: block;
	font-size: 1.2em;
	font-weight: 700;
	margin-bottom: 10px;
}
.black-border {
	border: 1px solid #000;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	font-size: 1.75em;
	margin-right: 10px;
	padding: 15px;
}
.page-id-1466 #content img, .page-id-1429 #content img {
	border: 5px solid #eeeeee;
	box-shadow: none;
	/*
	box-shadow: 8px 8px 18px 0px rgba(0,0,0,0.65);
	-moz-box-shadow: 8px 8px 18px 0px rgba(0,0,0,0.65);
	-webkit-box-shadow: 8px 8px 18px 0px rgba(0,0,0,0.65);
	*/
	margin: 10px 15px !important;
}
.catalog-dl-button {
	padding: 5px;
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	background: rgba(255,242,102,1);
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,242,102,1) 0%, rgba(255,191,102,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%,, color-stop(0%, rgba(255,242,102,1)), color-stop(100%, rgba(255,191,102,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,242,102,1) 0%, rgba(255,191,102,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(255,242,102,1) 0%, rgba(255,191,102,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(255,242,102,1) 0%, rgba(255,191,102,1) 100%);
	background: radial-gradient(ellipse at center, rgba(255,242,102,1) 0%, rgba(255,191,102,1) 100%);
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff266', endColorstr='#ffbf66', GradientType=1 );
}
.catalog-dl-button a {
	color: #006699;
	font-weight: 700;
}
.featured-home2 #wrapper {
	margin-top: 18px !important;
}
.page-template-new-content-sidebar-page-php #widgets {
	float: left;
}
.page-template-new-content-sidebar-page-php #content {
	float: right;
}
a.home-block-video-overlay {
	background: url(img/video_overlay.png) no-repeat scroll 50% bottom transparent;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	height: 100%;
	opacity: .85;
	position: absolute;
	width: 100%;
	z-index: 20;
	top: 0;
	left: 0;
	background-size: auto 48px;
}
a.home-block-video-overlay:hover {
	opacity: 1;
}
#er-modal-holder iframe {
	height: 99% !important;
	/*height: auto !important;*/
	/*min-height: 99%;*/
	width: 100% !important;
}
#quiz-modal {
	background: rgba(242,242,242,1);
	background: -moz-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(242,242,242,1)), color-stop(100%, rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 100%);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-moz-box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff', GradientType=0 );
	font-size: 1.5em;
	height: 75vh;
	padding: 20px;
	width: 65%;
}
.easy-quiz-check-option {
	margin-bottom: 3px;
	font-size: .95em;
}
.outer-quiz-answer-wrapper {
	display: none;
}
#item-vfb-605, #item-vfb-598, #item-vfb-614, #item-vfb-621 {
	max-width: 20% !important;
	min-width: 20% !important;
	width: 20% !important;
}
#special-offer-buy-one-get-one-free-35 select {
	height: 23px !important;
}
#special-offer-buy-one-get-one-free-35 .vfb-section-1 li, #special-offer-free-ereader-34 .vfb-section-1 li {
	clear: none;
	float: left;
	min-width: 46%;
}
#special-offer-buy-one-get-one-free-35 .vfb-section-1 .vfb-item-instructions, #special-offer-free-ereader-34 .vfb-section-1 .vfb-item-instructions {
	float: none;
	overflow: hidden;
}
.loader-video {
	background: url('img/ajax-loader.gif') no-repeat 50% 50% transparent;
	height: 100%;
	max-width: 100%;
	width: 100%;
}
div#er-modal-holder {
	background: #000;
	height: 100%;
}
#video-modal {
	background: rgba(242,242,242,1);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 1.5em;
	height: 60vh;
	padding: 20px;
	width: 65%;
	min-width: 65%;
	max-width: 65%;
}
#catalog-modal, #er-modal-pop {
	background: rgba(242,242,242,1);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.75);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 1.5em;
	height: 75vh;
	padding: 20px;
	width: 65%;
}
.verification ul {
	margin: 0 !important;
	padding: 0 !important;
}
#form .vfb-submit {
	margin: 0 !important;
	white-space: initial;
	padding: 8px !important;
}
div#er-modal-popup p {
	margin-top: 0;
}
#er-modal-popup {
	overflow-y: auto;
	height: 100%;
	padding: 20px;
	background: #fff;
	max-width: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.er-modal .er-featured-content {
/*margin: 0 10px !important;
	 width: 91%; 
	font-size: 0;*/
}
.er-modal .er-featured-content p {
	margin: 0;
}
#er-modal-holder p {
	margin: 0 !important;
}
#video-modal #er-modal-holder p {
	margin: 0 !important;
	display: inline;
	height: 100%;
}
/* Login Popup Modal */
#simplemodal-overlay {
	background-color: #b6b6b6;
}
.popupBox {
	background: #fff;
	border: 1px solid #c7c7c7;
	border-radius: 4px;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
	-webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
	display: none;
	min-width: 540px;
}
.popupBox .closeBtn {
	background: url('core/images/icon_close.png') no-repeat;
	cursor: pointer;
	float: right;
	height: 17px;
	position: relative;
	right: 10px;
	top: 10px;
	width: 17px;
}
div#catalog-form-popup {
	padding: 0 10px;
}
#catalog-form-popup {
	display: none;
}
.page-template-thank-you-our-beds-php .blue1 {
	float: none;
	margin: 10px auto !important;
}
.page-template-thank-you-our-beds-php .textwidget > div {
	text-align: center;
}
.page-template-thank-you-our-beds-php .buttion-bt-1231 {
	float: none;
	margin: 10px auto !important;
}
.loader-quiz {
	display: none;
	background: url('img/ajax-loader2.gif') no-repeat 50% 50% transparent;
	width: 100%;
	height: 100% !important;
	max-width: 100%;
	min-height: 250px;
}
.easy-quiz-checkbox {
	margin-right: 10px;
	width: 20px;
	height: 20px;
	vertical-align: bottom;
}
.easy-quiz-field {
	border: none;
	margin: 0 0 .75em .5em;
	padding: 0;
}
.outer-quiz-wrapper {
	padding: 0;
	;
}
.quiz-legend-wrapper {
	margin: 10px 0 0 0;
	font-weight: bold;
}
#easy-quiz-button {
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
}
.quiz-legend-wrapper legend {
	padding-left: 0;
	padding-right: 0;
}
.stext-width-100 {
	width: 100% !important;
}
.stext-width-75 {
	width: 75% !important;
}
.stext-width-50 {
	width: 50% !important;
}
.stext-width-25 {
	width: auto !important;
}
.text-width-100 {
	width: 100% !important;
}
.text-width-75 {
	width: 75% !important;
}
.text-width-50 {
	width: 50% !important;
}
.text-width-25 {
	width: 25% !important;
}
.er-featured-1377, .er-featured-1378 {
	background-position: center 0 !important;
}
.visual-form-builder .vfb-legend h3 {
	font: 1.25em/133% Arial, Helvetica, sans-serif;
	color: #006699;
	padding: 8px 0 !important;
}
.show-hide-terms {
	color: #006699 !important;
	cursor: pointer;
}
.show-hide-terms:hover {
	text-decoration: underline;
}
span.hidden-terms {
	font-size: 11px;
	line-height: 15px;
	padding-left: 25px;
	display: block;
}
#content form#searchform {
	float: none !important;
	text-align: left;
	margin-top: 26px;
}
.learn-about-our-mattresses li {
	float: left;
	clear: initial !important;
	min-width: 47% !important;
}
#er-modal-popup .vfb-legend {
	border-bottom: 2px solid #FFB700 !important;
	padding-bottom: 5px !important;
}
.er-featured-content-1382.call-bottom-right {
	color: #000;
	margin: 1%;
}
img.no-shadow {
	box-shadow: none !important;
	border: 0 none !important
}
label.vfb-desc {
	color: #1A77AC;
	font-family: georgia, times new roman, serif !important;
	font-size: 1.25em !important;
	font-weight: normal !important;
}
#er-modal-holder h2, #er-modal-pop h2 {
	font-size: 1.40em;
	line-height: 1.40em;
	color: #1A77AC;
	font-family: georgia, times new roman, serif;
}
#er-modal-holder h3, #er-modal-pop h3 {
	font-size: 1.20em;
	line-height: 1.20em;
	color: #1A77AC;
	font-family: georgia, times new roman, serif;
}
#er-modal-popup h2 {
	font-size: 22px;
	line-height: 24px;
	font-family: Georgia, serif;
	color: #0876AC;
}
#er-modal-popup h3 {
	font-size: 18px;
	line-height: 20px;
	font-family: Georgia, serif;
	color: #0876AC;
}
 @media (max-width: 980px) {
.featured-home2 .right {
	margin-top: 10px;
}
}
@media (max-width: 859px) {
#featured-quiz {
	width: 25%;
	top: 10px;
	right: 0;
}
#header {
	background: none;
}
.grid-right form#searchform {
	position: initial;
	margin: 0;
}
#textSelector {
	height: auto;
	text-align: center !important;
}
#logo {
	float: none;
	margin-top: 10px !important;
	text-align: center;
}
.home-contact-top {
	text-align: center;
}
#menu-topmenu-temp > li {
	margin-right: 0;
}
li:first-child a {
	border-left: none;
}
.page-template-new-content-sidebar-page-php #widgets {
	float: none;
}
.page-template-new-content-sidebar-page-php #content {
	float: none;
}
a.button.call-to-action {
	white-space: initial;
	font-size: 1rem;
}
span.home-quote1 br {
	display: none;
}
}
@media (max-width: 650px) {
.er-featured-1382 {
	min-height: 500px !important;
}
.er-featured-content-1382.call-bottom-right {
	color: #000;
	margin: 0;
	width: 100% !important;
	font-size: 1.25em;
}
.boxy {
	width: 100%;
}
.main-nav {
	background: #2484c7 !important;
	font-family: "Georgia", "GeorgiaRegular", "Times New Roman", Times, serif;
	height: auto;
	min-height: 40px;
}
#responsive_current_menu_item {
	font-weight: normal !important;
	line-height: 30px;
}
#responsive_menu_button {
	margin-top: 5px;
}
#menu-topmenu-temp {
	position: initial;
}
.catalog-callout-wrapper {
	width: 100% !important;
}
.guide-callout-wrapper {
	width: 100% !important;
}
a.button.call-to-action {
	white-space: initial;
font-size: .85rem;
}
#video-modal {
	min-width: 95%;
	max-height: 45vh;
}
span.home-quote1 br {
	display: none;
}
#content img {
	margin: 0 auto !important;
	text-align: center;
	float: none;
	display: block;
}
#special-offer-buy-one-get-one-free-35 .vfb-section-1 li, #special-offer-free-ereader-34 .vfb-section-1 li {
	clear: both;
	float: none;
	min-width: 100%;
}
.safari .width-one-half {
	width: 100.00% !important;
}
.safari .width-one-quarter {
	width: 100.00% !important;
}
.safari .width-one-whole {
	width: 100.25% !important;
}
.safari #linky {
}
.safari #linky .boxy {
	box-shadow: none !important;
}
#quiz-modal, #catalog-modal, #er-modal-pop, #catalog-form-popup {
	width: 90% !important;
}
#er-modal-holder h2, #er-modal-pop h2 {
	font-size: 1.40em;
	line-height: 1.40em;
	color: #1A77AC;
	font-family: georgia, times new roman, serif;
}
#er-modal-holder h3, #er-modal-pop h3 {
	font-size: 1.20em;
	line-height: 1.20em;
	color: #1A77AC;
	font-family: georgia, times new roman, serif;
}
#er-modal-popup h2 {
	font-size: 22px;
	line-height: 24px;
	font-family: Georgia, serif;
	color: #0876AC;
}
#er-modal-popup h3 {
	font-size: 18px;
	line-height: 20px;
	font-family: Georgia, serif;
	color: #0876AC;
}
.sub-menu.showsub {
	display: block !important;
}
.flyout-init .sub-menu.showsub {
	display: none;
}
#menu-topmenu-temp .current-page-ancestor > a {
	background: #1A77AC;
	color: #fff !important;
	font-family: sans-serif;
}
#menu-topmenu-temp li a {
	font-family: sans-serif;
	font-size: 1rem;
}
#menu-topmenu-temp > li > a {
	font-weight: bold;
}
#sub-menu li {
	float: none;
	background: #fff;
	border-top: 1px solid #ccc;
}
#sub-menu li a {
	font-size: 1.25rem !important;
}
}
@media (max-width: 450px) {
.er-featured-content {
	/* position: initial !important; */
	width: 100% !important;
}
.height-one-whole {
	min-height: 400px;
	height: auto;
}
#video-modal {
	min-width: 95%;
	max-height: 30vh;
}
span.home-quote1 br {
	display: none;
}
#content img {
	margin: 0 auto !important;
	text-align: center;
	float: none;
	display: block;
}
#menu-topmenu-temp .current-page-ancestor > a {
	background: #1A77AC;
	color: #fff !important;
	font-family: sans-serif;
}
#menu-topmenu-temp li a {
	font-family: sans-serif;
	font-size: 1rem;
}
#menu-topmenu-temp > li > a {
	font-weight: bold;
}
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.blogresults {
	margin-left: .5%;
}
.safari .width-one-half {
	width: 48.00%
}
.safari .width-one-quarter {
	width: 24.0%;
}
/*
.safari .width-one-whole {
	width: 96.25%;
}*/
.safari #linky {
}
.safari #linky .boxy {
	box-shadow: none;
}
#er-modal-popup p img{
	max-width:70%;
	border:1px solid #eaeaea;	
}