/***********************************************************************
*
*   Bootstrap Override
*
***********************************************************************/
.card {
	border:0px;
}
.card h4{
	font-size: 1.8rem;
}
.card-img-top{
	width:100%;
	height:auto;
}
.card-info {
    background-color: initial;
    padding: 15px 10px;
}
.card-title {
	font-weight:bold;
	font-family:"Oswald", "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform:capitalize;
	font-weight:500;
	font-size:1.75em;
	background-color:white;
}
.card-title a {
	color:black;
}
.card-info span {
	color:rgba( 160,160,160,1 );
}

.item {
	height:100%;
}
.row > .item-container {
	padding-left:5px;
	padding-right:5px;
}
.row .item:hover {
	box-shadow:1px 1px 3px rgba(0,0,0,.25);
}


.blog-post {
	font-size:1.25em;
}
.blog-post .card-title {
	padding: 25px 15px 5px 15px;
	margin:25px auto 0 auto;
	font-weight:bold;
	font-size:2.25em;
	background-color:transparent;
}

.card-text p, .card-text ol, .card-text ul, .card-text span {
	margin:20px 0;
}
.card-text p img{
	width:80%;
	padding: 10px;
}
.container-search {
	max-height:40px;
}
.container-search input {
	background-image: url('../img/assets/Icon-Search.svg');
	background-repeat: no-repeat;
	background-position: 10px;
	padding-left:45px;
	border-radius:0;
	border-right-width:0;
}
.container-search button {
	height:100%;
	width:100%;
	padding:0;
	cursor: pointer;
	background-color:rgba(20, 117, 135, 1);
}
.container-search button:focus {
	outline:none;
}
.page-item.active .page-link {
	background-color:rgba(20, 117, 135, 1);
}
#return-top:hover {
	cursor: pointer;
}
@media (min-width:768px) {
	.card-title, .item-large .card-title {
		font-size:1.35em;
	}
	.item-large .info-box {
		position: relative;
	}
	.item-large .card-info {
		position:absolute;	
		bottom:0;
		background-color:rgba(0,0,0,.55);
		width:100%;
		color:white;
	}
	.item-large .card-title {
		background-color:initial;
		font-size:1.5em;
	}
	.item-large .card-title a, .item-large .card-info span {
		color:white;
	}
	.blog-post .card-title {
		margin-top:0px;
		font-size:2.75em;
	}
	.card-img-overlay {
		border: 2px solid black;
	}
}
@media (min-width:1200px) {
	.card-info {
		padding: 25px 15px;
	}
	.card-title, .item-large .card-title {
		font-size:2em;
	}
	.blog-post .card-title {
		font-size:3em;
	}
}
/***********************************************************************
*
*  Containers
*
***********************************************************************/
section {
	padding: 5px 0;
}
@media (min-width: 768px){
	section {
		padding: 15px 0px;
	}
}

/***********************************************************************
*
*   Header Section
*
***********************************************************************/

.main-header {
	display: flex;
	align-items: center;
	flex-direction: row;
	padding: 0;
	position:relative;
	height: 100px;
	max-width: 55%;

}
.main-header header {
	font-size:1.75em;
	font-family: "Oswald";
	font-weight: 500;
	letter-spacing:1px;
	text-transform: uppercase;
	text-align: center;
	height: 100%;
	width: 50%;
	padding:0;
	margin:0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: initial;
	position: absolute;
	right: -15%;
}

.main-header header span {
	z-index: 10;
	border-bottom: 3px solid #1DBAB4;
	margin-left: 75px;
	padding-bottom: 10px
}

.main-header header::before {
	content: " ";
	position: absolute;
	display: block;
	z-index: 1;
	width: 100%;
	height: 100%;
	top: 0;
	background: white;
	transform-origin: bottom left;
	-ms-transform: skew(-30deg, 0deg);
	-webkit-transform: skew(-30deg, 0deg);
	transform: skew(-30deg, 0deg);
}

.heading-page {
	height:175px;
}
.heading-bg-exercise {
	background-image: url(../img/BGBanners/BG_Woman-Yoga_1280w.jpg);
    background-position: -135px -120px;
    background-size: 150%;
    background-repeat: no-repeat;
}
.heading-bg-exercise .overlay:before {
	background-color:rgba(187, 52, 47, .5);
}
header.section-header {
	font-size:2.25rem;
	font-family:"Oswald";
	text-transform: uppercase;
	text-align:center;
	font-weight:600;
	margin-bottom:25px
}
.heading-bg-diet {
	background-image: url(../img/BGBanners/BG_Nutrition.jpg);
	background-position: -135px -120px;
	background-size: 150%;
    background-repeat: no-repeat;
}

@media (max-width: 375px) {
	.main-header header::before {
		-ms-transform: skew(-15deg, 0deg);
		-webkit-transform: skew(-15deg, 0deg);
		transform: skew(-15deg, 0deg);
	}
	.main-header header span {
		margin-left: 50px;
	}
	.heading-bg-exercise {
		background-position: -90px -70px;
		background-size: 125%;
	}
	.heading-bg-diet {
		background-position: -90px -70px;
		background-size: 125%;
	}
}
@media (min-width:768px) {
	.heading-bg-exercise {
		background-position: -20px -175px;
		background-size: 100%;
	}
	header.section-header {
		font-size:2.5rem;
		text-align:left;
		margin-bottom:50px
	}
	.main-header header {
		right: -30%;
	}
	.main-header header span {
		margin-left: 100px;
	}
}
@media (min-width:992px) {
	.main-header {
		height: 150px;		
	}
	.heading-bg-exercise {
		background-position: -125px -295px;
		background-size: 120%;
	}
}
@media (min-width:1200px) {
	.main-header {
		font-size: 2.5em;
	}
	.main-header header {
		font-size: 1.25em;
	}
	.heading-bg-exercise {
		background-position: -50px -300px;
		background-size: 100%;
	}
	.heading-bg-diet {
		background-position: -50px -120px;
		background-size: 100%;
	}
}
@media (min-width:1400px) {
	.heading-bg-exercise {
		background-position: -40px -315px;
	}
	.heading-bg-diet {
		background-position: -30px -120px;
	}
	.main-header {
		height: 200px;
	}
	.main-header header span {
		margin-left: 200px;
	}
}
@media (min-width: 1600px) {
	.heading-bg-exercise {
		background-position: -70px -400px;
	}
}
@media (min-width:1900px) {
	.heading-bg-exercise {
		background-position: -95px -475px
	}
}
@media (min-width:2000px) {
	.heading-bg-exercise {
		background-position: -95px -675px;
	}
	.main-header {
		height: 225px;
	}
}

/***********************************************************************
*
*   Text
*
***********************************************************************/
article {
	margin:0;
	padding:0;
}
section header, section h2 {
    font-family:"Oswald", "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:2em;
	color:black;
	text-transform:uppercase;
	font-weight:bold;
	margin:15px 0px;
}
section div.sub-head, section h3 {
	font-size:1.75em;
	font-weight:500;
	font-family:"Oswald", "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin:15px 0;
}
section header, section div.sub-head, section h2, section h3 {
	line-height:1.25em;
}
section.links header {
	font-size:1.75em;
}
.recipe header {
	text-align:center;
	margin-bottom:20px;
}
.recipe .sub-head {
	text-transform:uppercase;
}
.recipe .prep {
	text-align:center;
	margin:25px auto;
}
.recipe .prep>span {
	display:block;
	margin:0;	
}

@media (min-width:768px) {
	section header, section h2 {
		font-size:2.5em;
	}
	.recipe .prep>span {
		display:inline-block;
	}
	.recipe .prep>span:nth-child(2)::before, .recipe .prep>span:nth-child(2)::after {
		content: " | ";
	}
}

/***********************************************************************
*
*   Custom
*
***********************************************************************/
.main-list {
	position: relative;
    background-color: white;
	padding: 0;
	margin-top:25px;
}

.card-img-top-nonmember{
	width:100%;
 	height:100px;
 	object-fit: cover;
}
.blog-text-height {
  	max-height: 120px;
  	overflow: hidden;
  	text-overflow: clip;
	margin-bottom: 20px;
	font-size:1.15em;  
}
.fade-out {
  	position: relative;
  	max-height: 120px;
}
.fade-out:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-image: linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
}
.blog-date {
	font-style:italic;
}
.searches {
	margin-bottom: 10px;
}
.searches .btn-banner{
	border-color: gray;
	padding: 10px;
	margin: 0;
	font-size: 1em;
}
.searches .btn-primary{
	margin: 0px;
	font-size: 1em;
	padding: 9px;
}
.modal {
    padding-top: 5em; /* Location of the box */
}
.blog-item {
	padding-bottom:25px; 
	margin-bottom:35px;
}
.cta-item {
	display:flex;
	align-items:center;
	justify-content:center;
	padding-bottom: 0px;
}
.banner-link {
	height: 100%;
	display: inline-flex;
    align-items: center; 
}
.banner-link img {
	max-height:100%;
	max-width:100%;
}
.blog-content {
	padding:5px 25px 15px 25px !important;
}
section img, section img.img-fluid {
	display:block;
	margin:15px auto;
}
.post-links {
	margin-top:25px;
	padding-top:25px;
	border-top:1px solid lightgrey;
}
hr {
    border-radius: 30px;
	margin: 15px 0;
	border-color: rgba(140, 188, 185, 1);
}
.post-detail-item ol li, .post-detail-item ul li {
	margin-bottom:10px;
}

.info-writer {
	padding: 15px 0;
	font-size: .75em;
	margin: 25px auto;
	color: #58585d;
	border: 1px solid rgb(240,240,240);
	border-left-width: 0px;
	border-right-width: 0px;
}
.info-writer img {
	max-height: 125px;
	border-radius: 100%;
}
@media (min-width:768px) {
	.card-img-top-nonmember{
		width:100%;
	 	height:300px;
	 	object-fit: cover;
	}
	.blog-text-height {
	  	height: 100px;
	  	margin-bottom: 20px;
	}
	.fade-out {
	  	max-height: 300px;
	}
	.posts{
		overflow: visible;
	}
	.posts-searches{
		display:none;
	}
	.blog-item, .blog-cta {
		padding:25px;
		height:300px;  
		margin:15px;
	}
	.blog-cta {
		padding:0;
	}
	.horizontal-cta {
		max-width:750px; 
		margin: 50px auto; 
		padding:10px;
	}
	.blog-content {
		padding:0px 25px 0px 25px !important;
	}
	hr {
		margin: 45px 0;
	}
}
@media (min-width:992px) {
	.blog-item {
		height:375px;
	}
	.info-writer {
		max-width:75%;
		font-size: .80em;
	}	
}
@media (min-width:1200px) {
	.blog-item {
		height:300px;
	}
	section img, section img.img-fluid {
		max-width: 85%;
	}
}
@media (min-width:1400px) {
	.main-list, .sub-list, .featured-list {
		width:85%;
		max-width: 1400px;
		margin: 0 auto;
	}
	.sidebar-cta {
		position: absolute;
		right: -135px;
	}
}
/***********************************************************************
*
*   Buttons and Links
*
***********************************************************************/
.blog .btn-primary{
	margin: 0px;
	font-size: 1em;
	padding: 9px;
}
.btn-blog {
	margin:35px auto 0px;
	padding: 15px 25px;
	text-align:center;
	font-weight: 600;
    font-size: .8em;
	color:white;
}
.btn-blog:hover {
	text-decoration:underline;
}

.post-detail-item section a {
	color: rgb(20,117,135);
	text-decoration:underline;
	font-weight:600
}
.post-detail-item section b{
	font-weight:600
}
section.links header {
	font-weight:normal;
}
section.links a {
	font-size:1em;
	font-weight:normal;
}
section.links a:hover {
	text-decoration:underline;
}
section.links ol{
	counter-reset: initial;
	list-style:none;
	padding-left:0;
	font-size: .8em;
}
section.links ol li {
    counter-increment: links;
    margin-bottom: 5px;
    padding-left: 35px;
    position: relative;
}
section.links ol li::before {
	content: "[ "counter(links)" ]";
	position: absolute;
	font-size: 1em;
	top: 0px;
	left: 0;
	color: black;
	font-weight: normal;
	text-align: center;
	width: 36px;
	height: 36px;
}
.post-detail-item .links a {
	text-decoration:none;
}
@media (min-width:768px) {
	.btn-container {
		position:absolute;
		bottom:0;
	}
}

/***********************************************************************
*
*   Optin
*
***********************************************************************/
#optinModal{
	color:#fff;

}
.fb-comments span:first-of-type{
	width:100%;
}

#optinModal .modal-body{
	background-color: rgba(61, 61, 61, 0.8);
	font-size: 1.5em;
	padding:5%;
}

#optinModal #contact_fields_email{
	display: block;
    width: 70%;
    margin: 0 auto;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 7px	;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#optinModal	#optin_submit_btn input[type=submit]{
	cursor:pointer;
	font-size:1.2em;
}
.pagination .step-links{
	margin:10px auto;
}
/***********************************************************************
*
*   Hero Section - Blog Video, Exercise Buttons, etc
*
***********************************************************************/
.ipad {
	border:10px solid #282f37;
	border-radius:0px;
}
.btn-levels div{ 
	margin-bottom:15px;
}
.btn-levels img {
	cursor:pointer;
}
.not-active {
	-webkit-filter: grayscale(1);
    filter: grayscale(1);
}


/***********************************************************************
*
*   Nutrition Information
*
***********************************************************************/

.nutrition-guide-container {
	padding:15px 25px;
	border: 2px solid black;
	box-shadow:3px 5px 11px grey;
}
.nutrition-guide-container h1 {
	font-weight:bold;
}
.nutrition-guide-container header {
	font-weight:bold;
	font-size:1.65em;
}
.nutrition-guide-container p {
	margin:5px 0px;
}
.border-black-thick {
	margin:5px 0px;
	width:100%;
	border-color:black;
	border-width:4px;
}
.border-bottom-black {
	border-bottom:1px solid black;
}
.border-black {
	margin:5px 0px;
	width:100%;
	border-color:black;
	border-width:1px;
}
@media (max-width:768px){
	.nutrition-guide-container div:nth-last-child(2) {
		border-bottom:0px;
	}
	.nutrition-guide-container div:nth-last-child(1) {
		border-bottom:0px;
	}
}
@media (min-width:1200px) {
	.nutrition-guide-container header {
		font-size:2.15em;
	}
}
