/*
 Theme Name:     Tower Child
 Theme URI:      http://codeless.co
 Description:    Tower Child Theme
 Author:         Codeless
 Author URI:     http://www.codeless.co
 Template:       tower
 Version:        1.1
*/

@import url("../tower/style.css");

img[src*="https://cdn1.iconfinder.com/data/icons/silk2/cross.png"] {
	background: url(/wp-content/uploads/2019/04/times-solid.svg) no-repeat center !important;
	background-size: contain;
	width: 20px !important;
	height: 20px !important;
	overflow: hidden !important;
	padding-left: 20px !important;
	box-sizing: border-box !important;
}

img[src*="https://cdn1.iconfinder.com/data/icons/silk2/tick.png"] {
	background: url(/wp-content/uploads/2019/04/check-solid.svg) no-repeat center !important;
	background-size: contain;
	width: 20px !important;
	height: 20px !important;
	overflow: hidden !important;
	padding-left: 20px !important;
	box-sizing: border-box !important;
}

/* Sitewide use */
.yellow-button {
	background-color: #ffc208;
	border-radius: 50px;
	color: #4f4f4f !important;
	font-size: 16px;
	font-weight: bold;
	padding: 5px 15px;
	text-transform: uppercase;
}

.yellow-button.alt {
	font-weight: normal;
	text-transform: unset;
	background-color: #ffd761;
}

.yellow-button:hover {
	background-color: #ffd34e;
}


/* hide interpage navigation */
.nav-growpop {
	display: none;
}

/* fixes horizontal overflow on mobile */
.section_clear {
	margin: auto;
}

/* disclaimer styles */
.global-page-disclaimer,  .french-page-disclaimer{
	display: block;
	font-size: 12px;
	line-height: 1.2;
	margin-top: 8px;
}

.global-page-disclaimer a, .french-page-disclaimer a{
	text-decoration: underline;
}

.global-page-disclaimer.uptop, .french-page-disclaimer.uptop {
	display: none;
}

@media (min-width: 980px) {
	.global-page-disclaimer, .french-page-disclaimer {
		display: none;
	}

	.global-page-disclaimer.uptop, .french-page-disclaimer.uptop{
		display: block;
		margin: 105px auto 20px auto;
		max-width: 1100px;
		width: 90%;
	}
}


#blogmasonry .info {
    display: none;
}

.row {
	margin-left: 0 !important;
}

@media (max-width: 767px) {
	.menu-small {
		height: 40px;
	}
}

/* Reduce Abundant Padding above rows -- Alex */
.wpb_row.standard_section {
	padding-top: 0 !important;
}

/* Fix H2 Formatting -- Alex */
.block_title.column_title.inner-bottom_border h2.prev-h1 {
	border-bottom: 1px solid #ededed;
}

.block_title.column_title h2.prev-h1 {
	padding-bottom: 10px;
}

.blog-article.standard-style .content h2.prev-h1, .blog-article.alternative-style .content h2.prev-h1, .blog-article.timeline-style .content h2.prev-h1, .blog-article.alternate-style .content h2.prev-h1 {
	line-height: 30px;
	font-weight: 600;
	color: #444444;
}
h2.prev-h1 {
	margin-top: 5px !important;
}
h2.wpb_heading {
	font-weight: 300 !important;
	font-size: 1.2em;
}
/* End Fix H2 Formatting -- Alex */

.codeless_slider .swiper-slide .content h1 {
	text-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
}

.wpb_content_element .review-table-cta {
	background-color: #0fbaae;
	border-radius: 50px;
	color: #fff;
	display: inline-block;
	font-weight: 800;
	padding: 8px 32px;
	white-space: nowrap;
}

.wpb_content_element .review-table-cta.off {
	display: block;
}

.wpb_content_element .review-table-cta.review-table-cta:hover {
	background-color: #888;
	color: #fff;
}

.wpb_content_element .review-table-cta.off {
	background-color: #ddd;
}
.wpb_content_element .review-table-cta.off:hover {
	background-color: #ddd;
}

.wpb_content_element .review-table-cta.outline {
	background-color: initial;
	border: 2px solid #0fbaae;
	color: #0fbaae;
}

.wpb_content_element .review-table-cta.outline:hover {
	background-color: #0fbaae;
	color: #fff;
}

a.btn-bt.default {
	margin-top: 20px;
}

a.vc_btn3.vc_btn3-block {
	display: inline-block;
}

@media (max-width: 767px) {
  .tablepress-scroll-wrapper::before,
  .tablepress-scroll-wrapper::after {
    content: "Scroll for more >";
    color: #000;
    display: block;
    font-weight: bold;
    text-align: center;
  }

  #tablepress-315-scroll-wrapper:before,
  #tablepress-315-scroll-wrapper:after {
  	display: none;
  }

}

@media (max-width: 979px) {
  .stacktable.large-only { display: none; }
  .stacktable.small-only { display: table; }
}

@media (max-width: 979px) {
	.tablepress.stacktable tr th {
		background-color: #e8e8e8;
		color: #fff;
		font-size: 20px;
		padding: 16px 8px;
		text-align: center;
	}

	.tablepress.stacktable .row-1 {
		display: none;
	}

	.tablepress.stacktable .st-key {
		font-weight: bold;
	}

	.tablepress.stacktable td {
		text-align: center;
	}

	#content .tablepress.stacktable .review-table-cta {
		display: block;
		margin-bottom: 16px;
		text-align: center;
	}

	.wpb_content_element .review-table-cta.off {
		margin-bottom: 16px;
	}
}

.summary-border .col.span_12 {
	margin-left: 0;
}

.summary-border {
	border: 2px solid #0fbaae;
	padding: 20px;
	margin-left: 0 !important;
	margin-right: 0 !important;
	overflow: auto;
	/*
	@media (max-width: 767px) {
		border-left: none;
		border-right: none;
	}
	*/
}

.rating-circle {
	margin: auto;
	width: 80%;
}
.rating-circle:after {
	content: "";
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	background-color: #0fbaae;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	background: linear-gradient(45deg, rgba(255,255,255,1) 0%, rgba(15,186,174,1) 40%);
	border-radius: 50%;
}
.rating-circle div {
	float: left;
	width: 100%;
	padding-top: 50%;
	line-height: 1em;
	margin-top: -0.5em;
	text-align: center;
	color: white;
	font-family: Montserrat;
	font-size: 4em;
	font-weight: 800;
}

.single-post #content.sidebar_right {
	padding-top: 45px;
}

@media (max-width: 780px) {
	header#header .container {
		display:  none;
	}

	.header_wrapper.header_1 {
		height: auto;
	}

	.header_wrapper.header_1:before {
		content: "MATTRESS REVIEWS";
		display: block;
		position: absolute;
		font-family: Montserrat;
		font-weight: 800;
		font-size:  15px;
		top: 0;
		left: 15px;
		color: #fff;
		z-index: 99999;
	}
	.header_wrapper.header_1:after {
		content: "by GoodMorning.com";
		display: block;
		position: absolute;
		font-family: Montserrat;
		font-weight: 800;
		font-size: 10px;
		top: 13px;
		left: 15px;
		color: #fff;
		z-index: 99999;
	}

	.single-post #content.sidebar_right {
		padding-top: 0;
	}

	#blog.container {
		max-width: 90%;
	}

	.text .container {
		max-width: 100%;
	}

	.blog-article.standard-style .content {
		padding-top: 0;
	}

	.blog-article.standard-style .media:first-child {
		margin-left: -6%;
		margin-right: -6%;
		width: 112%;
	}

	.blog-article.category-mattress-reviews .content > h1:first-child {
		text-align: center;
		font-size: 20px !important;
		margin-top: 8px;
		line-height: 1.2;
		position: absolute;
		top: -100px;
	}

	.disclaimer-wrapper {
		font-size: 12px;
		line-height: 1.2;
	}

	.vc_empty_space:first-child {
		display: none;
	}

	.disclaimer-wrapper h4 {
		display: inline-block;
		line-height: normal;
	}

	.wpb_row .container {
		max-width: 95%;
	}

	.page #content.composer_content {
		padding-top: 10px;
	}

    #content .blog-article.category-articles .content h1,
    #content .blog-article.category-guides .content h1 {
	    font-size: 1.5em !important;
	    line-height: 1.2;
    	margin-top:16px;
	}
}

@media (max-width: 781px) {
	.page #content.composer_content .wpb_text_column {
		float: none;
		margin-bottom: 16px;
	}

	.page #content.composer_content .wpb_text_column .wpb_wrapper {
		float: none;
	}
}

.page_header_yes #content {
    padding-top: 32px;
}

.wpb_wrapper .wpb_content_element {
	margin-bottom: 24px;
}



/* BEST MATTRESS STYLES */
/* -------------------------------------------------- */

.best-mattress-page .header_page {
	padding: 20px 0;
}

.best-mattress-page .header_page.with_subtitle.centered .titles {
	float: none;
	top: unset;
	transform: none;
	-webkit-transform: none;
	-moz-transform: none;
	-o-transform: none;
}

.best-mattress-page .header_page.with_subtitle.centered .titles h1 {
	font-size: 24px !important;
	line-height: 1.1 !important;
	position: relative;
	height: auto !important;
	top: unset;
	margin-top: 0;
}

.best-mattress-page .header_page.with_subtitle.centered .titles h5 {
	font-size: 14px;
	line-height: 1.3;
	margin-top: 4px;
}

@media (min-width: 769px) {
	.best-mattress-page .header_page.with_subtitle.centered .titles h1 {
		font-size: 38px !important;
	}

	.best-mattress-page .header_page.with_subtitle.centered .titles h5 {
		font-size: 18px;
	}
}

.bm-validation .wpb_wrapper .wpb_content_element,
.bm-validation .wpb_column {
	margin-bottom: 0;
}

.bm-validation .wpb_column {
	padding: 0;
}

.bm-validation {
	font-family: "Work Sans", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 1.1;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.bm-validation img {
	height: 25px;
}

@media (min-width: 980px) {
	.bm-validation {
		font-size: 14px;
	}

	.bm-validation .wpb_column {
		padding-left: 15px;
		padding-right: 15px;
	}

	.bm-validation img {
		height: 40px;
	}
}

.desktop-button-row-container .container {
	margin-bottom: 8px;
}

.bm-button-row {
	margin-top: 16px;
}

.bm-button-row .active button,
.bm-button-row-mobile .active button,
.bm-button-row .active a,
.bm-button-row-mobile .active a {
	background-color: #0fbaae !important;
	color: #fff !important;
}

.bm-button-row a.vc_btn3,
.bm-button-row button.vc_btn3 {
	font-size: 12px;
}

.bm-button-row button {
	font-weight: bold;
}

.bm-button-row .vc_btn3-container {
	margin-right: 10px;
	margin-bottom: 8px;
}
.bm-button-row .vc_btn3-container:last-child {
	margin-bottom: 8px;
	margin-right: 0;
}

.bm-accordion .accordion.style_2 {
	margin-bottom: 0;
}

.accordion.style_2 .accordion-group {
	margin-bottom: 8px;
}

.bm-accordion .accordion.style_2 .accordion-inner .vc_btn3-container {
	margin: 0 0 8px 0;
}

.bm-accordion .accordion.style_2 .accordion-inner .vc_btn3-container a {
	font-size: 14px;
	padding: 12px;
}

.bm-accordion .accordion.style_2 .accordion-heading {
	box-shadow: none;
	position: relative;
	z-index: 2;
}

.bm-accordion .accordion.style_2 .accordion-body {
	transform: translateY(-8px);
	border: 1px solid lightgrey;
}
.bm-accordion .accordion.style_2 .accordion-body .accordion-inner {
	box-shadow: inset 0 22px 10px -15px rgba(0,0,0,0.4);
	padding-top: 24px;
	z-index: -1;
}

.bm-accordion .accordion.style_2 .accordion-heading .accordion-toggle {
	border: 1px solid grey;
	border-radius: 8px;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 15px;
}

.bm-accordion .accordion.style_2 .accordion-heading .accordion-toggle:before {
	display: none;
}

.bm-accordion .accordion.style_2 .accordion-heading .accordion-toggle:after {
	content: url('data:image/svg+xml; utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%230fbaae" width="16" height="16" viewBox="0 0 24 24"><path d="M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z"/></svg>');
	position: absolute;
	right: 15px;
	top: 8px;
}

.bm-accordion .accordion.style_2 .accordion-inner {
	float: none;
}

#morebutton button {
	background-color: #0fbaae;
	color: #fff;
}

.bm-row-container {
	display: none;
}

.bm-row {
	background-color: #fff;
	border: 1px solid #ddd;
	border-bottom: none;
	display: none;
	font-size: 14px;
	min-height: 140px;
	position: relative;
}

.bm-made-in-country {
	color: #858585;
	font-size: 9px;
	text-transform: uppercase;
	margin-top: 10px;
}

.bm-row__mobile .bm-row-rating img.bm-country-flag {
	width: 18px;
	margin: 0 0 0 4px;
	vertical-align: bottom;
}

.bm-row .bm-made-in-country {
	display: flex;
	margin: 0;
	padding: 0 16px 5px 0;
	line-height: 1.8;
	text-align: center;
	font-size: 10px;
	font-weight: bold;
	flex-direction: column;
	justify-content: center;
	width: 66px;
	box-sizing: border-box;
}

.bm-row .bm-made-in-country img.bm-country-flag {
	display: block;
	width: 40px;
	margin: 0 auto;
}

.bm-row.display {
	display: flex;
}

.bm-gradient-background {
	background: rgb(242,242,242);
	background: linear-gradient(90deg, rgba(242,242,242,0.78) 50%, rgba(255,255,255,0.70) 70%);
}

.bm-gradient-remove {
	background: none;
}

.bm-featured-flag {
	background-color: #e4e4e4;
	font-size: 12px;
	padding: 0 16px;
	position: absolute;
	top: 0;
	left: 0;
	white-space: nowrap;
}

.bm-row-logo {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-width: 190px;
	max-width: 190px;
	padding: 28px 10px 10px 25px;
	flex: 1 1 auto;
}

.bm-row-logo.no-flag {
	padding-top: 10px;
}

.bm-row-logo img {
	max-width: 145px;
	width: 100%;
}

.vertical-logo img {
	max-width: 145px;
	max-height: 75px;
	width: auto;
}

.bm-row-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 0 32%;
	padding: 10px 25px 10px 10px;
}

.bm-row-text h3 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 4px;
}

.bm-row-text .bm-promo {
	color: #ca3030;
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	line-height: 1.4;
}

.bm-row-text .bm-promo span.promo-terms {
	font-weight: normal;
}

.bm-row-text ul {
	margin-top: 8px;
	margin-bottom: 0;
	padding-left: 20px;
	line-height: 1.2;
}

.bm-row-text ul li {
	margin-top: 6px;
}

.bm-row-rating {
	background: rgb(239,240,240);
	background: linear-gradient(180deg, rgb(240, 240, 240) 0%, rgba(227,228,228,1) 100%);
	box-sizing: border-box;
	color: #00746c;
	flex: 1 1 130px;
	font-weight: 800;
	max-width: 150px;
	overflow: hidden;
	padding: 10px 25px 10px 12px;
	position: relative;
	text-align: center;

	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bm-row-rating::before {
	content: "";
	width: 0;
	height: 0;
	border-bottom: 200px solid transparent;  /* left arrow slant */
	border-top: 200px solid transparent; /* right arrow slant */
	border-right: 65px solid #fff; /* bottom, add background color here */
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	right: 0;
}

.bm-row-rating::after {
	content: "";
	width: 0;
	height: 0;
	border-bottom: 200px solid transparent;  /* left arrow slant */
	border-top: 200px solid transparent; /* right arrow slant */
	border-right: 65px solid #fff; /* bottom, add background color here */
	font-size: 0;
	line-height: 0;
	position: absolute;
	bottom: 50%;
	right: 0;
}

.rating-large {
	font-size: 42px;
	letter-spacing: -2px;
	line-height: 1;
	margin-right: 4px;
}

.review-link {
	color: #00746c !important;
	display: block;
	font-weight: normal;
	line-height: 1.5;
	text-decoration: underline;
	white-space: nowrap;
}

.bm-row-cta {
	flex: 1 0 auto;
	max-width: 170px;
	min-width: 132px;
	padding: 10px 15px 10px 10px;
	text-align:center;

	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bm-row-cta div {
	font-weight: 800;
	margin-bottom: 8px;
}

.bm-price {
	font-size: 24px;
}

@media (max-width: 742px) {
	.best-mattress-page .disclosure-spacing {
		width: 100%;
	}

	.rating-large {
		font-size: 28px;
	}

	.bm-row-rating::before {
		border-right: 35px solid #fff; /* bottom, add background color here */
	}

	.bm-row-rating::after {
		border-right: 35px solid #fff; /* bottom, add background color here */
	}

	.review-link {
		color: #707070 !important;
	}
}

@media (min-width: 743px) and (max-width: 979px) {
	.bm-row-logo,
	.bm-row-logo.vertical-logo {
		min-width: 130px;
		max-width: 130px;
		padding-left: 10px;
	}

	.bm-row-logo img {
		max-width: 135px;
	}

	.bm-featured-flag {
		font-size: 11px;
		line-height: 2;
		padding: 0 5px;
	}

	.bm-row .bm-made-in-country {
		padding: 0 8px 0 0;
		line-height: 1.2;
		width: 46px;
	}

	.bm-row .bm-made-in-country img.bm-country-flag {
		margin: 4px 0;
	}

	.bm-row .bm-made-in-country img.bm-country-flag:last-child {
		margin-bottom: 0;
	}

	.bm-row-text {
		padding-right: 15px;
	}

	.rating-large {
		font-size: 36px;
	}

	.bm-row-rating::before {
		border-right: 35px solid #fff; /* bottom, add background color here */
	}

	.bm-row-rating::after {
		border-right: 35px solid #fff; /* bottom, add background color here */
	}
}

.bm-row__mobile-container {
	display: block;
}

.bm-row__mobile {
	border-bottom: 1px solid #ddd;
	display: none;
	margin-left: -2.5%;
	margin-right: -2.5%;
}

.bm-row__mobile.display {
	display: flex;
}

.bm-row__mobile-container:first-child .bm-row__mobile {
	border-top: 1px solid #ddd;
}

.bm-row__mobile .bm-row-rating {
	flex: 1 1 45%;
	line-height: 1;
	min-width: unset;
	max-width: unset;
	padding: 20px 26px 20px 10px;
}

.bm-row__mobile .bm-row-rating img {
	max-width: 95px;
	width: 100%;
	margin: 0 auto 8px auto;
}

.bm-row__mobile .bm-row-rating .review-link {
	font-size: 14px;
}

.bm-row__mobile .bm-row-text {
	flex: 1 1 55%;
	min-width: unset;
	max-width: unset;
	padding: 10px;
	position: relative;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bm-row__mobile .bm-row-text h3 {
	font-size: 15px;
	line-height: 1.2;
}

.bm-row__mobile .bm-row-text .bm-promo {
	font-size: 12px;
	line-height: 1.2;
}

.bm-row__mobile .bm-row-text.with-flag {
	padding-top: 40px;
}

.bm-row__mobile .bm-featured-flag {
	left: 50%;
	transform: translate(-50%,0);
}

.bm-row__mobile .bm-row-text .yellow-button {
	padding: 8px;
	display: block;
	line-height: normal;
	font-size: 14px;
	margin-top: 16px;
}

@media (min-width: 743px) {
	.bm-row-container {
		display: block;
	}

	.bm2020-container {
		border-bottom: 1px solid #ddd;
	}

	.bm-row__mobile-container {
		display: none;
	}
}

.best-table-rating {
	background-color: #0fbaae;
	border-radius: 50px;
	color: #fff;
	display: inline-block;
	font-size: 20px;
	font-weight: 800;
	line-height: 2.6;
	text-align: center;
	width: 55px;
	height: 55px;
}

.best-choice {
	background-color: rgb(0, 215, 0);
	color: #fff;
	font-family: Montserrat;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 8px;
	position: absolute;
	text-transform: uppercase;
	top: 8px;
	left: 0;

	/* Temporarily Hide */
	display: none;
}

#tablepress-315 thead th {
	text-align: center;
}

#tablepress-315 thead th.column-1 {
	min-width: none;
	text-align: left;
}

@media (min-width: 980px) {
	#tablepress-315 thead th.column-1 {
		padding-left: 35px;
	}
}

#tablepress-315 tbody td.column-1 {
	padding-left: 35px;
}

#tablepress-315 td {
	text-align: center;
}

#tablepress-315 td:first-child {
	text-align: left;
}

.bm-made-in {
	display: inline;
	text-align: center;
}

@media (min-width: 994px) {
	#tablepress-315 thead th.column-1 {
		min-width: 180px;
	}

	.bm-made-in {
		display: block;
	}

	.bm-made-in img {
		display: block;
		margin: auto;
	}
}

#tablepress-315.dtr-inline .child ul.dtr-details {
	width: 100%;
}

#tablepress-315.dtr-inline .child li span.dtr-data {
	float: right;
}

#tablepress-315_paginate,
#tablepress-315_filter {
    display: none;
}

#morebutton {
    width: 100%;
    margin: auto;
}

#morebutton button {
    font-weight: bold;
}

#tablefilter-table {
	width: 90%;
	margin: auto;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
}

#tablefilter-table select {
	font-size: 14px;
	max-width: 200px;
	min-width: 150px;
	width: 100%;
}

#tablefilter-table td span {
	display: block;
}

#clearfilters {
	background: #535353;
	border: none;
	border-radius: 3px;
	color: #fff;
	display: none; /* Hide button by default */
	font-weight: bold;
	margin-top: 16px;
	padding: 10px 18px;
	width: 100%;
}

@media (max-width: 768px) {
    #tablefilter-table td {
		display: block;
		padding-bottom: 16px;
		text-align: left;
	}

	#tablefilter-table select {
		float: right;
		margin-bottom: 0;
		width: 60%;
	}

	#tablefilter-table td span {
		display: inline-block;
	}
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>th:first-child:before {
	top: 40%;
	left: 6px;
	color: #777777;
	border: none;
	box-shadow: none;
	font-family: initial;
	font-size: 20px;
	font-weight: bold;
	background-color: unset;
}

/* Temporarily Hide
#tablepress-315 tr:nth-child(-n+5) td:first-child {
	padding-top: 35px;
	position: relative;
}
*/
@media (max-width: 994px) {
	.best-table-rating {
		display: block;
		margin: auto;
	}

	.best-choice {
		top: -16px;
		left: -8px;
		width: 100%;
		position: relative;
	}
}

.disclosure-spacing {
	float: none;
	margin: auto;
    width: 90%;
}
.tablepress thead th {
    background-color: #0fbaae;
    color: #fff;
    font-weight: 800;
}

.tablepress td {
    padding: 15px;
}

.tablepress {
    border: 1px solid #ddd;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.tablepress .sorting:hover, .tablepress .sorting_asc, .tablepress .sorting_desc {
    background-color: #167d76;
}

.dataTables_length, .dataTables_filter {
    font-size: small;
}

.dataTables_length select {
    height: auto;
}

.dataTables_filter {
    margin-bottom: 5px;
}

.dataTables_filter input {
    padding: 2px 5px;
}

@media only screen and (max-width: 767px) {
    .tablepress tr td {
        vertical-align: middle;
    }

    table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>th:first-child:before {
        top: 40%;
    }
}

.header_1 .header_wrapper{position:relative !important;}
.header_4 .header_wrapper{position:relative !important;}

/* Fixed Mobile Menu */

.header_1 .header_wrapper {
	position:fixed !important;
}

@media (max-width: 767px) {
	#mega-menu-main {
		height: 100vh !important;
		max-height: 100vh !important;
		overflow-y: scroll !important;
		-webkit-overflow-scrolling: touch !important;
	}
}
@media (min-width: 800px) {
	header#header, .header_1 .header_wrapper {
		position: fixed !important;
		visibility: visible !important;
		top: 0;
		height: 85px;
		background: white;
	}
}


/* Moved from Wordpress > Appearance > Additional CSS on March 4, 2020 */
.top_wrapper {
	padding-top: 40px !important;
}

@media (min-width: 781px) and (max-width: 980px) {
	.top_wrapper {
		padding-top: 165px !important;
	}
}

@media (min-width: 980px) {
	.top_wrapper {
		padding-top: 0 !important;
	}
}

header#header #navigation {
	float:none;
	position:absolute;
	top:5px;
	left:28%;
}

hr {
	border-top: 1px solid #d8d8d8;
	border-bottom:1px solid #fff;
	border-right:1px solid #fff;
	border-left:1px solid #fff;
}

.block_title.section_title p {
	color:#888888 !important;
	font-size:16px !important;
	margin-top:20px;
}

.blog-article.standard-style .content h1 {
	font-size:1.7em !important;
}

.blog-article.grid-style .content .link_grid {
	display:none;
}

.blog-article.grid-style .content .intro {
	width:100% !important;
}

.menuLink {
	background-color:#f1f1f1;
	border-radius:20px;
	border:2px solid #0FBAAE;
	padding:10px 20px 10px 20px;
	text-transform:uppercase;
	color:#0FBAAE !important;
	font-weight:bold;
	font-size:13px;
	text-align:center;
}

.menuLink:hover {
	background-color:#0FBAAE;
	border:2px solid #0FBAAE;
	color:#ffffff !important;
}

.homeGreyRow .wpb_content_element, ul.wpb_thumbnails-fluid>li {
	margin-bottom: 0px;
}

.btn-bt.align-center {
	width:80%;
	max-width:150px;
}

.block_title.column_title.inner-bottom_border h1 {
	font-size: 1.7em !important;
}

.wpb_content_element a {
	color:#0FBAAE;
}

.wpb_content_element a:hover {
	color:#000000;
}

.buttonBold {
	font-weight:bold;
	text-transform:uppercase;
}

.btn-bt.default {
	color:#0FBAAE;
}

.greenButtonHome a {
	background-color:#0FBAAE !important;
	color:white !important;
	font-weight:bold;
	font-size:13px !important;
}

.greenButtonHome a:hover {
	background-color:white !important;
	color:#0FBAAE !important;
}

.testersClass {
	padding-top:200px;
	padding-bottom:200px;
	background-size:cover;
}

.testersClass p {
	padding-left:33%;
	padding-right:33%;
}

.guidesLinks {
	clear: both;
}

.guidesLinks ul {
	padding-left:20px !important;
}

.guidesLinks li {
	border-bottom: 1px solid #dbdbdb;
	list-style-type:circle;
	padding:10px 0px 10px 0px;
}


.blog-article.grid-style .content .text h3 {
	text-align:left !important;
	font-weight: 500 !important;
	font-size:16px !important;
	color:#888888 !important;
}

.testersNames {
	margin-top:-60px !important;
}

/*.tablepress tbody .column-2 a {
	background-color:#0fbaae;
	color:#fff;
	display:block;
	font-weight: 600;
	padding:10px;
	text-align:center;
}*/


/*.tablepress tbody .column-2 a:hover {
	background-color: #167d76;
} */

.chart_skill .text {
	top: 30%;
}

footer#footer a {
	text-transform:uppercase;
	font-size: 12px;
	font-weight:bold;
}

.submitFormButton, label {
	margin-top:20px;
}

.caldera-grid .btn-default {
	background-color:#ffffff;
	color:#0FBAAE;
	text-transform:uppercase;
	font-weight:700;
	border: 2px solid #0FBAAE;
	padding:10px 30px 10px 30px;
	border-radius:30px;
}

.caldera-grid .btn-default:hover {
	background-color:#0FBAAE;
	border: 2px solid #0FBAAE;
	color:white;
}

footer#footer .inner .row-fluid.ff .span12:first-child:last-child {
	width:500px;
	margin-left: -255px;
}

.copyright_text {
	text-align:center;
}

.copyright_text a {
	font-weight:normal !important;
	text-transform:none !important;
}

@media(max-width: 1100px) {

	.codeless_slider .swiper-slide .content h1 {
		line-height:45px !important;
	}
}

@media (max-width: 979px) {
	footer .inner .row-fluid [class*="span"] {
		padding-bottom:0px !important;
	}
	.menu-small {
		display:block !important;
	}

	.mobile_small_menu {
		display: none;
	}
	.block_title.section_title p {
		padding:0% !important;
	}
 ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
	font-size: 16px !important;
	}
}




@media(max-width: 800px) {
	.mega-sub-menu .textwidget h2 {
		font-size:16px;
		line-height:25px;
		margin-top:0px;
		text-align:center;
	}

	.menuLink {
		padding-left:0px !important;
		padding-right:0px !important;
	}

	.testersClass {
		padding-top:100px;
		padding-bottom:100px;
	}

	.testersClass p {
		padding-left:20%;
		padding-right:20%;
	}

	.block_title.column_title.inner-bottom_border h1 {
		margin-top:20px !important;
	}
	.codeless_slider .swiper-slide .content h1 {
		line-height:25px !important;
	}

}


@media only screen and (max-width: 767px) {
	.imagePaddingBottom img {
		padding-bottom:30px !important;
	}
	.codeless_slider .swiper-slide .content h1 {
		font-size:22px!important;
	}


}

@media (max-width: 480px) {
	#logo {
		float:none !important;
	}
	.greenBorderBox p {
		padding-right:10px !important;
		padding-left:10px !important;
	}
	.codeless_slider .swiper-slide .buttons.colors-light a.colored {
		font-size:13px;
	}


}

#comments {
display: none;
}

#logo img {
	height: 65px !important;
	margin-top: 0;
	top: 12px;
}

/* Mega Menu Styles */

.mega-toggle-label {
	display: none;
}

#mega-menu-wrap-main #mega-toggle-block-1 {
	float: right;
	margin-right: 10px;
	outline: none;
}

#mega-menu-wrap-main .mega-menu-toggle {
	background-color: #0fbaae;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item {
	margin: 0;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item h2 {
	margin-top: 0;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-megamenu > ul.mega-sub-menu {
	border-bottom: 5px solid #272727;
	padding: 10px 25px;
}

@media (min-width: 781px) {
	#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item {
		margin: 0 16px 0 0;
	}
}

@media (min-width: 1042px) {
	#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item {
		margin: 0 25px 0 0;
	}
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item:last-child {
	margin-right: 0;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item-has-children > a.mega-menu-link::after {
	color: #818181;
}

#mega-menu-wrap-main, #mega-menu-wrap-main #mega-menu-main {
	opacity: 1 !important;
}

#mega-menu-wrap-main .mega-menu-toggle {
	border-radius:0px 0px 0px 0px !important;
}


.block_title.section_title.inner-only_text {
	margin-bottom: 16px;
}

/* Modifiers */
.no-margin {
	margin: 0 !important;
}

.no-margin-bottom {
	margin-bottom: 0 !important;
}

.no-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.display-inline-block {
	display: inline-block !important;
}

.text-center-mobile {
	text-align: center;
}

@media (min-width: 768px) {
	.text-center-mobile {
		text-align: unset;
	}
}

.text-weight-bold {
	font-weight: bold !important;
}


/* NEW Review Template Header - June 2020 */
.micro-rating-circle {
	display: inline-block;
	margin: 0;
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-size: 25px;
	background-color: #0fbaae;
	color: #fff;
	border-radius: 50%;
	position: absolute;
	font-weight: 800;
	letter-spacing: -1px;
	z-index: 3;
	left: 8%;
}

.new-review-header {
	margin-bottom: 0 !important;
}

.review-header-container.mobile {
	display: none;
}

.review-header-container.desktop {
	background-color: #f1f1f1;
	display: flex;
	line-height: 1.3;
}

.review-header-detail-col {
	display: flex;
	flex-wrap: wrap;
	flex: 1 0 75%;
	padding: 24px 0 24px 24px;
}

.review-header-logo {
	flex: 1 0 33%;
	text-align: center;
	align-self: center;
}

.review-header-origin::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	height: 100%;
	top: 0;
	border-right: 1px solid #d1d1d1;
}

.review-header-origin::after {
	content: "";
	display: block;
	position: absolute;
	right: 0;
	height: 100%;
	top: 0;
	border-right: 1px solid #d1d1d1;
}

.review-header-logo img {
	max-width: 75%;
	margin-right: 20px;
}

.review-header-origin,
.review-header-price {
	color: #919191;
	flex: 1 1 33%;
	font-size: 13px;
	position: relative;
	text-align: center;
}

.review-header-section-title  {
	color: #0fbaae;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 8px;
}

.header-price,
.header-firmness-rating,
.header-overall-rating {
	font-weight: 800;
}

.header-overall-rating {
	color: #00746c;
}

.review-header-promo {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	padding-right: 24px;
	flex: 1 1 100%;
	text-align: center;
}

.review-header-desc {
	margin-top: 8px;
}

.review-header-rating-col a {
	text-decoration: underline;
	color: #00746c;
	font-size: 13px;
	line-height: 1.3;
}

.large-text {
	font-size: 46px;
	line-height: 46px;
	letter-spacing: -2px;
}

.review-header-rating-col {
	flex: 1 1 25%;
	color: #919191;
	font-size: 13px;
	text-align: center;
	padding: 24px 18px;
	background: rgb(242,242,242);
	background: linear-gradient(0deg, rgba(223, 223, 223, 0.70) 20%, rgba(255,255,255,0.60) 80%);
}

.review-header-rating-col .large-text {
	color: #00746c;
	font-size: 46px;
	line-height: 46px;
}

.review-header-rating-col .large-text.gm-brand {
	font-size: 72px;
	line-height: 70px;
}

.review-header-promo .yellow-button {
	width: 100%;
	flex: 0 1 30%;
	font-size: 16px;
	margin-right: 20px;
	padding: 10px;
	text-align: center;
	align-self: center;
}

.header-promo-text {
	color: #ca3030;
	font-weight: bold;
	flex: 0 1 70%;
}

.review-header-summary h2 {
	font-size: 38px;
	font-weight: 700;
	line-height: 1.1;
	margin-top: 16px;
	text-transform: none;
}

.review-header-summary p,
.review-header-summary ul {
	font-size: 18px;
	margin-top: 8px;
	padding-right: 42%;
}

.review-header-summary.no-pic p,
.review-header-summary.no-pic ul {
	padding-right: 0;
}


.review-header-summary .byline {
	font-size: 15px;
	margin-top: 8px;
}

.review-header-summary.db-profile-bg {
	background: url('/wp-content/uploads/2017/11/Douglas-mattress-construction.jpg') no-repeat;
	background-size: 42%;
	background-position: bottom -15px right;
}

.review-header-summary.lc-profile-bg {
	background: url('/wp-content/uploads/2020/06/lc-mattress-profile.jpg') no-repeat;
	background-size: 42%;
	background-position: bottom -12px right;
}

.review-header-summary.nb-profile-bg {
	background: url('/wp-content/uploads/2020/07/novosbed-side-profile.png') no-repeat;
	background-size: 42%;
	background-position: bottom -10px right;
}

.review-header-summary.endy-profile-bg {
	background: url('/wp-content/uploads/2020/07/endy-side-profile.png') no-repeat;
	background-size: 42%;
	background-position: bottom -10px right;
}

.review-header-summary.casper-original-profile-bg {
	background: url('/wp-content/uploads/2020/07/casper-original-side-profile.png') no-repeat;
	background-size: 42%;
	background-position: bottom -10px right;
}

.review-header-summary.ap-profile-bg {
	background: url('/wp-content/uploads/2020/11/apollo-side-profile.png') no-repeat;
	background-size: 45%;
	background-position: bottom -5px right;
}

.review-header-summary ul {
	font-weight: 800;
}

.review-header-keyfeatures {
	background-color: #f1f1f1;
	padding: 16px 24px;
}

.review-header-keyfeatures ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	line-height: 1.3;
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

.review-header-keyfeatures ul li {
	flex: 0 0 42%;
	margin-bottom: 8px;
	margin-left: 28px;
}

.review-header-keyfeatures ul li:before {
    font-family: 'FontAwesome';
	content: '\f058';
	display: inline-block;
    margin: 0 8px 0 -26px;
	color: #0fbaae;
	font-size: 21px;
}

.wpb_wrapper .wpb_content_element.mobile-disclaimer {
	margin-bottom: 0;
}

.review-top-choice {
	margin-bottom: 0;
}

.review-top-choice h2 {
	color: #0fbaae;
	font-size: 50px;
	margin-top: 0;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}

.review-top-choice h2 i {
	display: inline-block;
}

.review-top-choice p {
	margin-top: 0;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.review-body-button a {
	background-image: none !important;
	transition: none;
}

.review-body-button a:hover {
	background-image: none !important;
	background-color: #ffd34e !important;
	transition: none;
}

@media (max-width: 1065px) and (min-width: 768px) {
	.review-top-choice h2 {
		font-size: 38px;
	}
}

@media (max-width: 979px) and (min-width: 768px) {
	#blog.container {
		width: 95%;
	}

	.multiple-flags img {
		height: 30px !important;
		margin-bottom: 11px !important;
	}

	.review-top-choice p {
		font-size: 18px;
	}

	.review-header-section-title  {
		font-size: 11px;
	}

	.large-text {
		font-size: 35px;
	}

	.review-header-logo img {
		max-width: 85%;
	}

	.review-header-rating-col {
		padding-left: 18px;
		padding-right: 18px;
	}

	.review-header-rating-col .large-text {
		font-size: 35px;
	}

	.review-header-rating-col .large-text.gm-brand {
		font-size: 56px;
		line-height: 1;
	}

	.review-header-detail-col {
		flex-basis: 68%;
	}

	.review-header-rating-col {
		flex-basis: 32%;
	}

	.review-header-promo {
		flex-wrap: wrap;
		text-align: center;
	}

	.header-promo-text {
		flex-basis: 90%;
		margin: 0 auto 8px auto;
	}

	.review-header-promo .yellow-button {
		flex-basis: 90%;
		margin: auto;
		order: 2;
	}

	.review-header-summary p,
	.review-header-summary ul {
		font-size: 16px;
		line-height: 1.5;
	}

	.mobile-disclaimer {
		margin-bottom: 8px;
	}

}

/* Mobile version */
.review-header-container.mobile {
	background-color: #f1f1f1;
	margin-left: -5.5%;
	margin-right: -5.5%;
	overflow: hidden;
}

.review-header-brand {
	box-sizing: border-box;
	display: flex;
	max-height: 86px;
	min-height: 86px;
}

.review-header-brand {
	background-size: auto 95%;
	background-repeat: no-repeat;
	padding: 20px 0 20px 8%;
	text-align: center;
}

.review-header-brand.douglas {
	background-image: url('/wp-content/uploads/2020/06/douglas-side-profile-460x275.png');
	background-position: center right;
	text-align: left;
}

.review-header-brand.logancove {
	background-image: url('/wp-content/uploads/2020/06/loganandcove-side-profile-460x275.png');
	background-position: center right -20px;
	text-align: left;
}

.review-header-brand.novosbed {
	background-image: url('/wp-content/uploads/2020/07/novosbed-side-profile-460x275.png');
	background-position: center right;
	text-align: left;
}

.review-header-brand.endy {
	background-image: url('/wp-content/uploads/2020/07/endy-side-profile-460x275.png');
	background-position: center right;
	text-align: left;
}

.review-header-brand.casper-original {
	background-image: url('/wp-content/uploads/2020/07/casper-original-side-profile-460x275.png');
	background-position: center right;
	text-align: left;
}

.review-header-brand.apollo {
	background-image: url('/wp-content/uploads/2020/11/apollo-side-profile-460x275.png');
	background-position: center right;
	text-align: left;

}

.review-header-brand img {
	align-self: center;
	margin: auto;
	max-height: 58px;
	max-width: 36%;
	width: auto;
}

.review-header-brand.douglas img {
	margin: unset;
	max-height: 68px;
}

.review-header-brand.logancove img {
	margin: unset;
	max-width: 50%;
}

.review-header-brand.novosbed img {
	margin: unset;
	max-width: 45%;
}

.review-header-brand.endy img {
	margin: unset;
	max-width: 45%;
}

.review-header-brand.casper-original img {
	margin: unset;
	max-width: 45%;
}

.review-header-brand.apollo img {
	margin: unset;
	max-height: 68px;
}

.review-header-data {
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #d1d1d1;
	border-bottom: 1px solid #d1d1d1;

}

.review-header-container.mobile .review-header-origin {
	flex: 0 1 29%;
	padding: 12px 8px;
}

.review-header-container.mobile .review-header-section-title {
	font-size: 12px;
	line-height: 1;
}

.review-header-container.mobile .review-header-desc {
	font-size: 12px;
	line-height: 1.3;
	margin-top: 0;
}

.review-header-container.mobile .review-header-origin .large-text,
.review-header-container.mobile .review-header-price .large-text {
	font-size: 30px;
	line-height: 1.2;
}

.review-header-container.mobile .review-header-origin::before,
.review-header-container.mobile .review-header-origin::after {
	display: none;
}

.review-header-container.mobile .review-header-price {
	flex: 0 1 29%;
	padding: 12px 8px;
}

.review-header-container.mobile .review-header-rating {
	background: rgb(242,242,242);
	background: linear-gradient(0deg, rgba(223, 223, 223, 0.70) 20%, rgba(255,255,255,0.60) 80%);
	font-size: 13px;
	flex: 0 1 34%;
	text-align: center;
	padding: 12px 8px;
}

.review-header-container.mobile .review-header-rating .large-text {
	font-size: 30px;
	line-height: 1.2;
}

.review-header-container.mobile .review-header-rating a {
	color: #00746c;
	font-size: 12px;
	text-decoration: underline;
}

.review-header-container.mobile .global-page-disclaimer , .review-header-container.mobile .french-page-disclaimer {
	padding-left: 8px;
	padding-right: 8px;
	margin-top: 5px;
}

.review-header-container.mobile .global-page-disclaimer p , .review-header-container.mobile .french-page-disclaimer p{
	margin-top: 0;
}

.review-header-container.mobile .review-header-promo {
	flex-direction: column;
	text-align: center;
	padding: 0 5% 18px 5%;
	margin-top: 8px;
}

.review-header-container.mobile .header-promo-text {
	line-height: 1.4;
	margin-bottom: 8px;
}

@media (max-width: 780px) {
	.review-top-choice {
		margin-top: 24px;
	}
}

@media (max-width: 767px) {
	.micro-rating-circle {
		left: 5%;
		position: relative;
		margin-bottom: -40px !important;
	}

	.review-top-choice h2 {
		font-size: 42px;
	}

	.review-top-choice h2 i {
		display: block;
		margin-right: 0;
	}

	.review-top-choice p {
		font-size: 18px;
	}

	.sidebar {
		padding-left: 0 !important;
	}

	.review-header-promo .yellow-button {
		margin: 0;
	}

	.new-review-header div > .wpb_wrapper {
		float: none;
		width: auto;
	}

	.mobile-disclaimer {
		display: none;
	}

	.review-header-container.mobile {
		display: block;
	}

	.review-header-container.desktop {
		display: none;
	}

	.review-header-summary {
		background: none !important;
		float: none;
		width: auto;
	}

	.review-header-summary p,
	.review-header-summary ul {
		padding: 0;
	}

	.review-header-summary h2 {
		font-size: 28px;
		margin-top: 18px;
	}

	.review-header-summary .wpb_wrapper {
		float: none;
		width: auto;
	}

	.review-header-keyfeatures {
		float: none;
		width: auto;
		padding: 16px;
	}

	.review-header-keyfeatures .wpb_wrapper {
		float: none;
		width: auto;
	}

	.review-header-summary .byline {
		font-size: 13px;
		margin-top: 4px;
	}

	.review-header-summary ul {
		padding-left: 1.1em;
	}

	.review-header-keyfeatures ul li {
		flex: 0 0 48%;
		font-size: 13px;
		line-height: 1.3;
		margin-bottom: 16px;
		margin-left: 0;
		text-align: center;
	}

	.review-header-keyfeatures ul li::before {
		display: block;
		font-size: 28px;
		margin: 0;
	}

	.summary-border .wpb_wrapper .block_title.column_title.inner-simple {
		margin-bottom: 0;
	}

	.summary-border .wpb_text_column .wpb_wrapper ul {
		margin-top: 0;
	}

	.keyfeatures-list ul {
		margin-bottom: 0;
		display: flex;
	}

	.review-body-button a {
		width: 100%;
	}
}

/* Footer Menu Styles */
#menu-footer-menu,
#menu-footer-menu-usa {
	list-style: none;
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	align-content: center;
	width: 100%;
	padding: 0;
}

#menu-footer-menu li
#menu-footer-menu-usa li {
	flex: 0 1 auto;
	margin: 0 4px;
}

#menu-footer-menu li:nth-last-child(-n+2),
#menu-footer-menu-usa li:last-child {
	flex-basis: 100%;
	text-align: center;
}

/* Hide Search on US */
.header_tools:lang(en-US) {
	display: none;
}

/* "Hardcode" header styles that disappear on /us/ urls */
.page_header_yes .header_page h1 {
	color: #00746c;
}

.page_header_yes .header_page.centered.no_parallax {
	background-color: #f4f4f4;
	background-size: cover;
	background-position: right top;
	background-image: url(/wp-content/uploads/2020/06/bm-header-bg.jpg);
}

/* Search Bar overrides */
.search_bar {
	opacity: 0;
}

.open_search .search_bar {
	z-index: 999;
	opacity: 1;
	transition: opacity: 0.4s;
}

@media (min-width: 781px) and (max-width: 980px) {
	.search_bar {
		top: 165px;
	}
}

.open_search .viewport {
	transform: none;
}
