/* POST PAGE STYLE */

main {
	margin: 64px 0 -183px 0;
}

#amazon-affiliate-header {
    margin: 74px 8% 10px 8%;
    text-align: center;
}

.wrapper {
	padding: 0 30px;
}

article {
    padding: 0 30px 30px 30px;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.14), 0 3px 3px -2px rgba(0,0,0,.2), 0 1px 8px 0 rgba(0,0,0,.12);
    margin-bottom: 30px;
	min-height: 1400px;
}

h1.post-title {
    border: 0 none;
    font-size: 34px !important;
    font-weight: 500 !important;
    letter-spacing: normal;
    line-height: 1.3em !important;
    padding: 10px 0 0 0;
    text-transform: capitalize;
    text-align: left;
    background: white;
    height: auto;
    border-top: 1px solid #e5e5e5;
}

p, h2, h3, h4, h5, h1.post-title, .post-header, figure, ol, .post-body ul,
div.highlighter-rouge, pre[class*="language-"], video {
    margin-left: 3% !important;
    margin-right: 3% !important;
}

p, ul, ol, table {
	margin-bottom: 25px;
}

p {
	text-align: justify;
}

p.quote {
	margin: 40px auto !important;
	width: 90%;
	font-style: italic;
	text-align: center;
	padding-left: 25px;
	border-left: 3px solid #f1571c;
}

p.callout {
	margin: 50px auto !important;
	width: 90%;
	font-weight: bold;
	text-align: center;
	padding-left: 25px;
	font-size: 24px;
	border-left: 3px solid #039be5;
}

ol ul li:last-of-type {
    padding-bottom: 20px;
}

ol li p {
    margin-bottom: 0;
    margin-left: 5px !important;
    padding-top: 0 !important;
}

ol ul li {
    margin: 0 !important;
}

video {
	width: 94%;
}

.img-box {
	width: 94%;
    margin: 0 auto;
}

.img-container {
	text-align: center;
	margin-bottom: 50px;
}

.img-container img {
	margin: 0 auto;
	width: 94%;
}

.img-container p {
	margin-top: 10px !important;
	padding-top: 0px !important;
	text-decoration: underline;
	margin-bottom: 10px !important;
}

/* POST HEADER */

.post-header{
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    padding: 5px 0;
    text-transform: capitalize;
    line-height: 250%;
    overflow: hidden;
    color: #999999;
    font-size: 14px;
    margin-top: 10px;
}

.post-author {
    margin-left: 15px;
}

.fn {
    display:inline-block;
    vertical-align:middle;
 }

/* POST BODY */

.post-body {
    padding: 0;
    margin: 0;
    text-align: left;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.88235;
    color: rgba(0,0,0,0.7);
    word-wrap: break-word;
}

.post-body h2 {
    color: #525252;
    font-weight: 400;
    text-align: left;
    font-size: 28px;
    line-height: 1.361em;
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 3px solid #4189FF;
    scroll-margin-top: 64px;
}

.post-body h3 {
    text-align: left;
    font-weight: 400;
    font-size: 1.4em;
    line-height: 1.375em;
    margin: 10px 0;
    padding: 5px 0;
    display: block;
    border-bottom: 2px solid #42B2F4;
    text-transform: capitalize;
    scroll-margin-top: 64px;
}

.post-body ul li {
    list-style-type: disc;
}

.post-body li {
	margin-left: 50px;
}

.post-body ol, .post-body ul {
	padding: 0 !important;
}

h4 {
    color: rgba(0, 0, 0, 0.74);
    font-size: 20px;
    padding-bottom: 10px
    font-weight: normal;
    text-transform: capitalize;
}

.home-link {
    background: #FFFFFF;
    border-radius: 3px;
    padding: 8px 11px;
    box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.239216) 0px 1px 4px;
    transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    margin: auto;
    text-align: center;
    width: 57px;
}

.post-img {
    height: auto;
    max-width: 100%;
    display: block;
    margin: auto;
}

.category {
    padding-right: 5px;
}

.post-timestamp {
    margin-left: 10px;
}

pre:not(.file):not(.insert):not(.delete):not(.info):not(.context), code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef !important;
}

code {
  padding: 1px 5px;
  color: #532dc3 !important;
}

pre:not(.file):not(.insert):not(.delete):not(.info):not(.context) {
  padding: 8px 12px;
  overflow-x: auto;
}

pre > code {
	border: 0;
	padding-right: 0;
	padding-left: 0;
	color: black !important;
}

.post-header {
	margin-bottom: 30px;
}

.post-title {
	font-size: 42px;
	letter-spacing: -1px;
	line-height: 1;
}

#cta-toast-1, #cta-toast-4 {
    z-index: 2;
    right: 15px;
    background-color: white;
    background-clip: initial;
}

.toast-header div {
    padding-left: 10px;
    padding-right: 0;
}

.toast-body-title {
	font-weight: 600;
}

.toast-inline-para {
	padding-right: 10px;
	width: 100%;
}

#cta-toast-1 p, #cta-toast-2 p, #cta-toast-3 p, #cta-toast-4 p, #cta-toast-5 p, #cta-toast-6 p, #cta-toast-7 p {
	margin: 0 0 .5rem 0 !important;
}

#cta-toast-2 .toast-header, #cta-toast-3 .toast-header, #cta-toast-6 .toast-header, #cta-toast-7 .toast-header {
	font-weight: 600;
	color: black;
}

#cta-toast-3 .row {
	justify-content: left !important;
}

.toast-header .badge {
	pointer-events: none;
}

.toast-body p {
    color: black !important;
    padding: 0;
}

.toast-body a:hover {
	color: #f1571c !important;
    text-decoration: underline;
}

.toast-cover {
	width: 100%;
	border-radius: .25rem;	
}

#cta-toast-2 .close {
	display: none;
	position: absolute;
    right: 20px;
}

table, th, td {
    border: 1px white solid;
    text-align: center;
}

/* Related posts carousel */

.relatedArticles {
	margin-bottom: 25px;
}

.relatedArticles h4 {
    margin-left: 0 !important;
    text-decoration: underline;
    font-size: 24px;
}

.main-carousel {
	min-height: 300px;
	border-radius: 3px;
	opacity: 0;
	transition: opacity 0.4s;
}

.main-carousel.is-hidden {
	display: none;
}

.main-carousel.flickity-enabled {
  opacity: 1;
}

.carousel-cell {
	width: 30%;
	margin: 10px 15px;
	border-radius: 5px;
}

.flickity-page-dots {
	display: none;
}

.flickity-page-dots .dot {
	background-color: #f1571c !important;
}

.flickity-button {
	background-color: #f1571c !important;
	z-index: 2;
}

.flickity-button-icon {
	color: white !important;
}

.related-post-outer {
    vertical-align: top;
    -webkit-transition: all 0.2s ease-in-out 0s;
}

.related-post-inner {
    box-shadow: 0 3px 4px 0 rgba(0,0,0,.14), 0 3px 3px -2px rgba(0,0,0,.2), 0 1px 8px 0 rgba(0,0,0,.12);
    box-sizing: border-box;
    border-radius: 15px;
}

.related-post-title {
    text-decoration: none;
    margin: 0px !important;
    font-size: 119%;
    text-align: left;
    line-height: normal;
    font-weight: normal;
    text-transform: capitalize;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    background-color: #fafafa;
    height: 85px;
    border-top: 1px solid #fafafa;
    border-bottom: 1px solid #DFDFDF;
    display: table;
    width: 100.1%;
}

.related-post-footer {
    height: 58px;
    background-color: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 14px;
}

.post-link {
    color: #5A5A5A !important;
    padding: 0 10px;
    display: table-cell !important;
    vertical-align: middle;
    text-align: center;
    -webkit-transition: all 0.2s ease-in-out 0s;
}

.post-link:hover {
    text-decoration: none;
}

.related-post-footer-icon {
    float: left;
    margin-top: 8px;
    margin-left: 10px;
    margin-right: 10px;
    width: 40px;
    border-radius: 30px;
}

.related-post-categories {
    padding-top: 16px;
    font-size: 14px;
}

.related-category {
    padding-right: 5px;
    color: black;
}

.related-post-content {
    margin-bottom: 0px !important;
}

.related-post-content > a {
    display: block;
}

.related-post-content img {
	max-width: 100%;
}

.relatedArticles a:hover {
    color: #3F51B5;
}

.related-post-inner:hover {
    box-shadow: 0 6px 20px #AFAFAF;
    border-radius: 15px;
}

.related-post-content img, .related-blog-post-clicks {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-block {
	text-align: center;
    background-color: white;
    margin: 25px;
    padding: 25px;
    border-radius: 10px;
}

.product-block h4 {
	color: #5A5A5A !important;
	font-weight: bold;
	text-transform: none;
}

.product-block img {
	width: 50%;
	border-radius: 10px;
}

@media only screen and (max-width: 1100px) {

	.carousel-cell {
		width: 45%;
	}
	
}

@media only screen and (max-width: 600px) {

	.carousel-cell {
		width: 70%;
	}
	
}

/* End related post carousel */

@media only screen and (max-width: 767px) {
	
	main {
		width: 100% !important;
	}
	
	.right-sidebar-ad-slot:not(#email-capture-block) {
		display: none;
	}
	
	.wrapper {
		padding: 0;
	}
	
	article {
		padding: 0 5px 30px 5px;
	}
	
	.post-body li {
	    margin-left: 20px;
	}
	
	.navbar-toggler {
		margin-left: 1%;
	}
	
	.home-link {
		margin-left: 4%;
	}
	
	#email-capture-block {
		position: fixed;
		bottom: 0;
		left:0;
		margin: 0;
		width: 100vw;
		z-index: 1;
	}
	
	#cta-toast-2 {
		max-width: initial;
	}
	
	#cta-toast-2 .toast-body {
		padding-top: 5px;
    	padding-bottom: 5px;
	}
	
	#cta-toast-2 .mb-3 {
		margin-bottom: 5px !important;
	}
	
	#cta-toast-2 .close {
		display: block;
	}
	
	pre, code {
        overflow-x: scroll !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        word-wrap: normal !important;
	}
	
	.relatedArticles {
		margin: 0 3% 50px 3% !important;
	}
	
}