﻿/* remove easy social share from print page */
#printfriendly .essb_links {
	display: none;
}

/* updates to others' styles */
.bedsidebar select {
	width: 100%;
}

/* general styles to be used wherever */
.btm-emphasis {
	font-weight: bold;
}

.btm-spacer {
	height: 10px;
}

/* for home page */
.btm-home-audiences {
	width: 100%;
	height: 365px;
}

.btm-home-audience {
	width: 24%;
	margin-right: 14px;
	float: left;
}

	.btm-home-audience:last-child {
		width: 24%;
		margin-right: 0;
		float: right;
	}

.btm-home-mission {
	font-size: 42px !important;
	color: #fff !important;
	text-align: center;
	text-shadow: 5px 5px 3px #2C3F77;
	line-height: 125%;
	font-weight: 600;
	letter-spacing: -.02em;
}

.btm-home-slider {
	font-size: 155%;
	color: #fff;
	font-weight: 700;
	margin-top: 0px;
	text-transform: uppercase;
	text-shadow: 5px 5px 3px #2C3F77;
}

.btm-home-sliderright {
	float: right;
	font-size: 125%;
	color: #fff;
	font-weight: 600;
	margin-top: -15px;
	margin-right: 20px;
	text-shadow: 5px 5px 3px #2C3F77;
}

	.btm-home-sliderright a {
		color: #FFE400;
	}

		.btm-home-sliderright a:hover {
			color: #fff;
		}

/* for 404 page */
.btm-404-big {
	color: #1aa5d3;
	text-align: center;
	font-size: 150%;
	font-weight: bold;
}

	.btm-404-big sup {
		font-size: xx-small;
		vertical-align: super;
	}


/* for home page footer */

.btm-home-socialbottom img {
	width: 25px;
}

/* for touch carousel */

div#touchcarousel-1 {
/*	width: 100% !important; DRS: 2016-01-26 */
	overflow: hidden !important;
}

.touchcarousel {
	width: 100%;
}

.touchcarousel.tc-layout-4 .touchcarousel-item {
	width: 15% !important;
	min-height: 190px;
	margin-right: 1%;
}

	.touchcarousel.tc-layout-4 .touchcarousel-item img {
		width: 100%;
	}

.tp-simpleresponsive .slotholder *, .tp-simpleresponsive img {
	z-index: 1000;
}

.touchcarousel.tc-layout-4 .touchcarousel-wrapper {
	margin-top: 10px;
	overflow: visible !important;
}

/* from plugin */
.touchcarousel.tc-layout-4 .touchcarousel-item {
	width: 150px !important;
	min-height: 170px;
	margin-right: 10px;
	position: relative;
	overflow: hidden;
	background: #fff;
}

	.touchcarousel.tc-layout-4 .touchcarousel-item p {
		margin: 0;
		padding: 0;
	}

	.touchcarousel.tc-layout-4 .touchcarousel-item a.tc-state {
		display: block;
		width: 150px !important;
		min-height: 170px;
		position: relative;
		text-decoration: none;
		color: #3e4245;
		-webkit-transition: color 0.2s ease-out;
		-moz-transition: color 0.2s ease-out;
		-ms-transition: color 0.2s ease-out;
		-o-transition: color 0.2s ease-out;
		transition: color 0.2s ease-out;
	}

	.touchcarousel.tc-layout-4 .touchcarousel-item img {
		max-width: none;
		border: 0;
		margin: 0;
	}

	.touchcarousel.tc-layout-4 .touchcarousel-item img,
	.touchcarousel.tc-layout-4 .touchcarousel-item h4,
	.touchcarousel.tc-layout-4 .touchcarousel-item span {
		position: relative;
		margin: 0;
		padding: 0;
		border: 0;
	}

	.touchcarousel.tc-layout-4 .touchcarousel-item img {
		//margin-top: -25px;
		width: 150px;
	}

.touchcarousel.tc-layout-4 .tc-block {
	margin: 0 4px 3px 8px;
}

.touchcarousel.tc-layout-4 .touchcarousel-item h4 {
	font-size: 14px;
	line-height: 1.4em;
	padding: 0;
	text-decoration: none;
	font-family: 'Questrial', sans-serif;
	margin-top: 5px;
}

.touchcarousel.tc-layout-4 .touchcarousel-item a.tc-state:hover {
	color: #13937a;
}

.touchcarousel.tc-layout-4 .touchcarousel-item span {
	font-size: 12px;
	color: #666;
}

.touchcarousel.black-and-white .arrow-icon {
	margin-top: -45px;
}

	.touchcarousel.black-and-white .arrow-icon.left {
		margin-top: -45px;
	}


/* for the sidebar */
#mailmunch-optin-form {
	padding: 10px;
	margin: 5px;
}

	#mailmunch-optin-form .headline {
		display: none;
	}

	#mailmunch-optin-form .text {
		margin-top: 0;
	}

.btm-sidebar-dailymath {
	background: url('http://bedtimemath.org/wp-content/uploads/2015/09/fun-daily-math-bite-sidebar-v2.png') no-repeat;
	width: 300px;
	height: 240px;
}

.btm-sidebar-icons {
	padding-left: 123px;
	padding-top: 140px;
}

/* no longer needed
  .btm-sidebar-dailymath ul {
    margin-top: 140px;
    float: left;
    margin-left: 108px;
    height: 65px;
    width: 165px;
    padding: 0 !important;
  }

    .btm-sidebar-dailymath ul li {
      line-height: 1em;
      margin-bottom: 8px;
    }
*/

/* for entry pages, these are the four audience-specific images */
.btm-entry-image {
	float: right;
	margin-left: 10px;
}

.btm-entry-options {
	margin: 0 auto;
	width: 608px;
}

.btm-entry-option {
	display: inline-block;
}

/* our team page */
.btm-headshot {
	float: left;
	margin-right: 0.5em;
}

/* big wording on the bottom of the crazy 8s page */
.btm-crazy8s-big {
	font-weight: bold;
	text-align: center;
	font-size: 36pt;
	margin: 25px auto;
	color: #1aa5d3;
	font-style: italic;
	line-height: 1.15em;
}

/* columns on the crazy 8s page */
.btm-crazy8s-columns {
}

	.btm-crazy8s-columns table thead {
		font-weight: bold;
	}

.btm-crazy8s-faq-question {
}

.btm-crazy8s-faq-answer {
}

/* for press pages */
.press-item {
	margin-top: 20px;
	clear: both;
}

.press-image {
	text-align: center;
	width: 120px;
	min-height: 32px;
	margin: 4px;
	float: left;
}

	.press-image img {
		max-height: 80px;
	}

.press-link {
	font-size: 125%;
	font-weight: bold;
}

.press-date {
	font-size: 85%;
}

.press-title {
	font-style: italic;
}

/* for app pages */
.btm-app-thumbnail {
	float: left;
	margin-right: 10px;
}

.btm-app-links {
	clear: both;
	margin-top: 15px;
}

.btm-app-link {
	margin: 15px auto;
	width: 700px;
	text-align: center;
}

	.btm-app-link a {
		color: #1aa5d3;
		font-style: italic;
		font-size: 125%;
		font-weight: bold;
		line-height: 1.15em;
	}


/* for book pages */
.btm-book-thumbnail {
	float: left;
	margin-right: 10px;
	width: 200px;
}

.btm-book-quote {
	margin: 0px 0.5em;
	font-style: italic;
}

.btm-book-attribution {
	text-align: right;
	font-size: 65%;
}

.btm-book-covers {
	margin: 15px auto;
	width: 700px;
}

.btm-book-cover {
	display: inline-block;
}

.btm-book-links {
}

.btm-book-link {
	margin: 15px auto;
	width: 700px;
	text-align: center;
}

	.btm-book-link a {
		color: #1aa5d3;
		font-style: italic;
		font-size: 125%;
		font-weight: bold;
		line-height: 1.15em;
	}


/* standard sidebar lists */
.btm-sidebar-list {
	font-size: 120%;
	margin: 0px 5px 5px 0px;
}

	.btm-sidebar-list ul {
	}

	.btm-sidebar-list li {
		background-image: url('/wp-content/uploads/2014/09/starsmall.jpg');
		background-repeat: no-repeat;
		padding-left: 30px;
		padding-top: 5px;
		min-height: 25px;
	}

		.btm-sidebar-list li a {
			color: #5829a5;
		}

/* standard starred lists */
.btm-standard-list {
	font-size: 120%;
	margin: 0px 5px 5px 20px;
}

	.btm-standard-list ul {
	}

	.btm-standard-list li {
		background-image: url('/wp-content/uploads/2014/09/starsmall.jpg');
		background-repeat: no-repeat;
		padding-left: 30px;
		padding-top: 5px;
		min-height: 25px;
		line-height: 1.25em;
	}

		.btm-standard-list li a {
			color: #5829a5;
		}

/* entry page lists */
.btm-entry-list {
	font-size: 160% !important;
	color: #5829a5 !important;
	margin: 5px 15px 5px 60px !important;
	font-weight: 900;
}

	.btm-entry-list ul {
	}

	.btm-entry-list li {
		background-image: url('/wp-content/uploads/2014/09/star.jpg');
		background-repeat: no-repeat;
		padding-left: 60px;
		min-height: 50px;
		padding-top: 20px;
	}

		.btm-entry-list li a {
			color: #5829a5;
		}

	/* mixed text & links */
	.btm-entry-list.mixed {
		font-size: 120% !important;
		font-weight: normal;
		color: black !important;
	}

		.btm-entry-list.mixed a {
			font-size: 140% !important;
			font-weight: bold;
		}

		.btm-entry-list.mixed li {
			line-height: 24px;
			margin-top: 20px;
			padding-top: 0px;
		}

/* for the testimonials page */
.btm-testimonial-text {
	font-style: italic;
}

.btm-testimonial-author {
	font-size: 65%;
	margin-left: 1.5em;
}

/* for individual posts */
.btm-post-topper {
	margin-bottom: 20px;
	font-size: 130%;
	line-height: 1.5em;
}

.btm-post-bottom {
	text-align: center;
	margin-bottom: 10px;
	font-size: 125%;
	font-weight: bold;
	line-height: 1.5em;
}

	.btm-post-bottom .btm-navlinks {
		height: 1.5em;
		margin-bottom: 10px;
	}

		.btm-post-bottom .btm-navlinks .btm-navlinks-previous {
			float: left;
		}

		.btm-post-bottom .btm-navlinks .btm-navlinks-next {
			float: right;
		}

.btm-sidebar-seeall {
	text-align: center;
	margin: 0 0 15px 0;
	font-size: 125%;
	font-weight: bold;
	line-height: 1.5em;
	background-color: #FFE400;
	border-radius: 10px;
	padding: 8px;
}

	.btm-sidebar-seeall a {
		color: #2E4077;
		font-weight: bold;
		font-size: 125%;
		text-decoration: none;
	}

		.btm-sidebar-seeall a:hover {
			text-decoration: underline;
		}

/* for email signup */
.btm-cc-signup {
	background-color: white;
	min-height: 215px;
	margin: 10px;
	padding: 5px;
	border-radius: 5px;
	border: solid 2px black;
}

	.btm-cc-signup p {
		padding: 0;
	}

	.btm-cc-signup .btm-cc-instructions {
		color: #333;
		text-align: center;
	}

	.btm-cc-signup h1.btm-cc-header {
		color: #2f4076;
		font-size: 225%;
		font-weight: bold;
		text-align: center;
	}

	.btm-cc-signup input[type=text] {
		width: 100%;
		border: solid 1px #333;
		margin: 4px 0;
	}

		.btm-cc-signup input[type=text].error {
			border: solid 2px red;
		}

	.btm-cc-signup button[type=submit] {
		width: 100%;
		color: #ffe400 !important;
		background-color: #2f4076;
		box-shadow: none;
		margin: 4px 0;
	}

	.btm-cc-signup .btm-cc-notes {
		color: #333;
		font-size: 85%;
		font-style: italic;
		text-align: center;
	}

	.btm-cc-signup .btm-cc-error {
		color: red !important;
		font-style: normal;
		font-weight: bold;
		text-align: center;
	}

	.btm-cc-signup .btm-cc-wait {
		font-size: 125%;
		text-align: center;
		margin: 2em 0;
	}

		.btm-cc-signup .btm-cc-wait img {
			margin-top: 15px;
		}

	.btm-cc-signup .btm-cc-success div {
		color: #2f4076;
		font-size: 175%;
		font-weight: bold;
		text-align: center;
		margin: 1.5em 0;
		line-height: 1.15em;
	}


	.btm-cc-signup.wide {
		min-height: auto;
	}

		.btm-cc-signup.wide input[type=text] {
			display: inline-block;
			width: 73%;
			margin-right: 2%;
		}

		.btm-cc-signup.wide button[type=submit] {
			display: inline-block;
			width: 25%;
		}

/* for school download */
form.btm-school-form {
}

	form.btm-school-form .btm-school-input {
	}

		form.btm-school-form .btm-school-input .btm-school-caption {
			font-weight: bold;
			display: inline-block;
			width: 120px;
			font-size: 120%;
		}

		form.btm-school-form .btm-school-input.error {
			color: red;
		}


/* for crazy8s */
.btm-c8-container {
	border: solid 1px gray;
	border-radius: 6px;
	padding: 4px;
	margin-bottom: 1em;
}

	.btm-c8-container a {
		margin-left: 1.5em;
	}

		.btm-c8-container a img {
			margin-right: 0.5em;
			vertical-align: middle;
		}

.btm-c8-left {
	width: 48%;
	float: left;
}

.btm-c8-right {
	width: 48%;
	margin-left: 52%;
}

.btm-c8-subhead {
	color: #FFF !important;
	background: #896ABB none repeat scroll 0% 0%;
	padding: 3px 10px !important;
	font-weight: bold;
	font-size: 125%;
}

.btm-c8-session {
	margin-top: 0.75em;
	font-weight: bold;
	font-size: 125%;
}

/* for superfans page*/
.superfan-container {
	clear: both;
}

	.superfan-container .superfan-image {
		display: inline-block;
		float: left;
	}

		.superfan-container .superfan-image img {
			width: 140px;
		}

	.superfan-container .superfan-name,
	.superfan-container .superfan-question {
		margin-left: 160px;
		line-height: 1.75em;
	}

	.superfan-container .superfan-name {
		font-size: 130%;
	}

	.superfan-container .superfan-question {
		font-size: 115%;
		font-style: italic;
		padding-left: 1.5em;
	}

/* Bedtime Math styles (Aimee)
  ------------------------------------------ */

.bedpagnation p {
	color: #d7d7d7 !important;
	font-size: 105% !important;
}

.bedpagnation a {
	color: #684C96 !important;
	font-size: 105% !important;
}

	.bedpagnation a:visited {
		color: #00B79B !important;
		font-size: 105% !important;
	}

.bedarchiveposts {
	width: 815px;
	background-color: #fff !important;
	display: inline;
	float: left;
	padding: 25px;
	margin-bottom: 40px;
}

	.bedarchiveposts .thumb {
		display: inline;
	}

	.bedarchiveposts .small_text p {
		display: inline;
	}

#bedheader {
	float: right;
	margin-right: 0px;
	width: 76%;
	margin-top: 74px;
}

.bedsearch {
	display: inline;
	width: 75%;
}

	.bedsearch input {
		display: inline;
	}

.bedtimelogo {
	margin-left: -30px;
	display: inline;
	float: left;
}

.socialtop {
	float: right;
	display: inline;
}

	.socialtop img {
		float: left;
		display: inline;
		text-decoration: none !important;
		margin-left: 5px;
	}

.socialbottom img {
	float: left;
	display: inline;
	text-decoration: none !important;
	margin-right: 5px;
	margin-bottom: 25px;
}

.layertitle {
	color: #fff;
	text-transform: uppercase;
}


.bedcontent {
	width: 755px;
	background-color: #fff;
	float: left;
	padding: 30px;
	margin-bottom: 40px;
}

	.bedcontent .thumb img {
	}

	.bedcontent p {
		padding: 10px 0 10px 0;
		line-height: 140%;
		font-size: 120%;
	}

	.bedcontent h1, h2, h3, h4, h5 {
		letter-spacing: -.05em;
		line-height: 105%;
		color: #684C96;
	}

	.bedcontent h2 {
		font-weight: bold;
		margin-top: 0.25em;
		margin-bottom: 0.125em;
	}

	.bedcontent h3 {
		margin-top: 0.25em;
		margin-bottom: 0.125em;
	}

.beddate {
	font-size: 185%;
	font-weight: 700;
	color: #684C96;
	margin-bottom: 12px;
	letter-spacing: -.02em;
}

.bedmeta {
	font-size: 115%;
	font-weight: 400;
	color: #555;
	margin-bottom: -20px;
}

.wrapper-frame {
	display: initial;
}

.wrapper-row {
	display: initial;
}

.wrapper-row {
	display: block;
	height: auto;
}

.flatheader {
	position: relative;
}

.flat_pagetop h1.page-title {
	display: none;
}

.bedarchiveposts .small_text p {
	display: inline;
	line-height: 26px;
}

a.morestyle {
	padding: 3px 5px;
}

div#rev_slider_1_1_wrapper {
	margin-top: 20px !important;
}








@media screen and ( max-width: 1280px ) {

	.bedtimelogo img {
		margin-top: -20px;
	}

	.container {
		max-width: 1200px;
	}

	.flatintro .container {
		width: 1200px;
	}

	.container .grid12.col {
		width: 100%;
	}

	.btm-home-audience {
		width: 24%;
		margin-right: 0.5%;
		margin-left: 0.5%;
	}

	.bedcontent {
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.flatintro {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
	}

	div#sidebar {
		margin: 0px auto;
		float: none;
		padding-bottom: 30px;
	}

	input[type=text], input[type=password], input[type=email], textarea, select {
		height: 32px;
	}

	.btm-entry-options {
		width: 920px;
	}

	.bedarchiveposts {
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}


	.container .grid8.col {
		width: 840px;
		padding-right: 60px;
	}

	.single div#sidebar {
		margin: initial;
		float: right;
	}
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	.wrapper-row.wrapper-expand #content {
		width: 100%;
	}

	.bedcontent {
		width: 66%;
		margin-left: 2%;
	}

	div#sidebar {
		margin: 0;
		float: left;
		padding-bottom: 30px;
		width: 29%;
		margin-left: 1%;
	}

	.single .bedcontent {
		width: 95% !important;
	}

	.single #content .grid8, .bedarchiveposts {
		width: 66% !important;
		margin-left: 2% !important;
		padding-right: initial;
	}

	.single #content .grid4, div#sidebar {
		margin: 0 !important;
		float: left !important;
		padding-bottom: 30px !important;
		width: 29% !important;
		margin-left: 1% !important;
	}

	.single #sidebar {
		margin: initial;
		float: none;
		width: 100% !important;
	}



	.btm-entry-options {
		width: 100%;
	}

	.btm-book-covers {
		width: 100%;
	}

	.btm-book-cover {
		width: 31%;
	}

		.btm-book-cover img {
			width: 100%;
		}

	.btm-book-link {
		width: 100%;
	}
}



@media screen and ( max-width: 1180px ) {

	#bedmenu {
		margin: 7px 15px 0 20px;
	}

	.flatintro .container {
		width: 100%;
	}

	.btm-home-audience img {
		max-width: 100%;
	}
}


@media screen and ( max-width: 960px ) {


	#bedheader {
		margin-top: 34px;
	}

	.socialtop {
		float: left;
		margin: 0px 15px 0 45px;
	}

	#suckersection {
		margin: 25px 15px 0 50px;
	}

	#suckerfishnav li {
		line-height: 36px;
	}

	.btm-home-audience, .btm-home-audience:last-child {
		width: 44%;
		margin-right: 3%;
		margin-left: 3%;
		margin-bottom: 20px;
		text-align: center;
	}

	/*.bedfooter {
width: 44%;
display: block;
margin-right: 3%;
margin-left: 3%;
vertical-align: initial;
float: left;
}
.container .grid3.col {
width: 100%;
}*/

	.btm-entry-options {
		width: 100%;
	}

	.single div#sidebar {
		float: none;
	}

	h1.page-title {
		margin-top: 40px;
	}

	.search h1.page-title {
		margin-top: 90px;
	}

	.bedarchiveposts .small_text p {
		line-height: 30px;
	}
}

@media screen and ( max-width: 960px ) {
	div#sidebar {
		display: none;
	}

	.btm-home-audience {
		min-height: 337px;
	}

	.btm-app-link, .btm-book-link, .btm-book-covers {
		width: 100%;
	}

	.bedsidebar h2 {
		line-height: 50px;
	}

	h1.page-title {
		margin-top: 0;
	}

	#bedheader {
		width: 100%;
	}

	.container {
		width: 90%;
		margin-left: 5%;
	}

	.btm-home-sliderright {
		float: right;
		font-size: 125%;
		color: #fff;
		font-weight: 600;
		margin-top: 0;
		margin-right: 0;
		text-shadow: 5px 5px 3px #2C3F77;
		width: 100%;
		line-height: 40px;
	}

	.bedfooter, .bedfooter_last {
		width: 44%;
		display: initial;
		margin-right: 3%;
		vertical-align: initial;
		margin-left: 3%;
		float: left;
	}

	.flatintro .container {
		width: 90%;
		margin-left: 5%;
	}

	.flat_pagetop h1 {
		display: none;
	}

	input[type=text], input[type=password], input[type=email], textarea, select {
		height: 38px;
	}

	.container .grid8.col {
		width: 100%;
	}

	span#switch {
		display: none !important;
	}

	.btm-home-audience img {
		max-width: 100%;
	}
}


@media screen and ( max-width: 480px ) {

	.bedtimelogo img {
		margin-top: -20px;
	}

	#bedheader {
		margin-top: 0;
	}

	.flatheader {
		padding-top: 0;
	}

	.btm-entry-list {
		margin: 5px 15px 5px 15px !important;
	}

		.btm-entry-list li {
			background-size: 10%;
			background-position-y: 14px;
		}

	.beddate {
		line-height: 28px;
	}

	h1.page-title {
		margin-top: 0;
		font-size: 2em;
	}

	#content {
		width: 100%;
		margin-left: 0;
	}

	.bedcontent {
		padding: 30px 10px;
	}

	.btm-home-mission {
		font-size: 32px !important;
	}

	.bedfooter {
		width: 100%;
		padding-top: 20px;
	}

	.bedfooter_last {
		float: none;
	}

	#bedmenu {
		margin: 0;
	}

	.socialtop {
		margin: 0;
		padding-bottom: 20px;
	}

	#suckersection {
		margin: 0;
	}

	.btm-home-audience {
		min-height: 170px;
	}

	.btm-book-covers {
		width: 100%;
	}

	.btm-book-link {
		width: 100%;
	}

	p img {
		max-width: 100%;
		height: auto;
		width: 100%;
	}
}

.flatheader2 {
	height: 0;
}

.forcefullwidth_wrapper_tp_banner {
	margin-top: 0 !important;
}
