/*
 Theme Name: 	Before I Marry
 Theme URI: 	http://millionclues.com/
 Description: 	Custom Theme for Chavara Microsite
 Author:		Arun Basil Lal
 Author URI:	http://millionclues.com/
 Version:      	1.0
 License:    	Private license
 Tags:			responsive-layout, mobile-first
 Text Domain:	beforeimarry
*/

/****************************/
/*	 		Index			*/
/****************************/
/* Typography 				*/
/* Utilites 				*/
/* Header  					*/
/* Home Carousel 			*/
/* Home Category Menu 		*/
/* Post Card 				*/
/* Most Popular Posts 		*/
/* Most Liked Posts 		*/
/* Singular 				*/
/* Single Page 				*/
/* Single Post 				*/
/* Comments 				*/
/* Widgets 					*/
/* Search Box 				*/
/* Recent Popular Widget 	*/
/* Polls Widget 			*/
/* Social Widget 			*/
/* Email Newsletter 		*/
/* Footer 					*/
/* Register Page 			*/
/****************************/

/* Typography */

body, h3.post-card-category, h3.footer-widget-title, .widget_polls-widget h3.widgettitle, h3.carousel-meta, #email-subscribers-2 h3.widgettitle {
	font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, .entry-content p:first-child:first-letter {
	font-family: 'Playfair Display', serif;
}

a {
	color: #572A79;
}

a:hover {
	color: #000;
}

/* Utilites */

.purple-text {
	color: #572A79 !important;
}

.white-text {
	color: #fff;
}

.tablet-pill {
	border: 2px solid #fff;
	padding: 5px 30px;
	border-radius: 25px;
	text-transform: uppercase;
	display: table;
	margin: 0 auto;
}

.tablet-pill a {
	color: #fff;
}

.tablet-pill-purple {
	color: #572A79;
	border: 2px solid #572A79;
}

.tablet-pill-purple a {
	color: #572A79;
}

.fixed-top-spacer {
	height: 175px;
}

@media screen and (max-width: 576px) {
	.home .fixed-top-spacer {
		display: none;
	}
}

/* Header  */

.top-purple-band {
	background-color: #572A79;
	height: 32px;
	color: #fff;
	z-index: 1999;
}

.top-purple-band a {
	color: #E4DDE9;
	font-size: 12px;
}

.top-purple-band a.register {
	color: #FFF;
}

.top-nav-menu {
	background: #fff;
}

.nav-main-menu a {
	color: #572A79;
	margin: 0 10px;
}

#navbarNav {
	margin-top: 20px;
}

.navbar-toggler-icon {
	background-image: url('assets/img/navbar-toggler-icon.png');
}

.header-socialmediaicons {
	margin-right: 5px;
	opacity: 0.7;
	height: 13px;
}

.header-socialmediaicons:hover {
	opacity: 1;
}

@media screen and (max-width: 992px) {
	#navbarNav ul li {
		text-align: center;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

/* Home Carousel */

.carousel-caption {
	bottom: calc(100%/6);
}

.home-page-carousel img.home-carousel-image {
	width: 100%;
	height: 400px;
	margin: 0 auto;
	object-fit: cover;
}

.home-carousel-img:after {
  content: " ";
  z-index: 10;
  display: block;
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgb(0,0,0,0.5));
}

h3.carousel-meta {
	font-size: 20px;
	text-shadow: 2px 2px 8px #000;
}

h3.carousel-meta img {
	margin-top: -4px;
	margin-right: 5px;
	text-shadow: 2px 2px 8px #000;
}

img.heart-grey-md {
	width: 20px;
}

.carousel-title {
	text-shadow: 1px 1px 10px #000;
}

.carousel-title a {
	color: #fff;
}
	
.carousel-title a:hover {
	color: #fff;
	text-decoration: none;
}

.carousel-caption-primary .carousel-title {
	float: left;
}

.home-page-carousel .carousel-control-next, .home-page-carousel .carousel-control-prev {
	opacity: 1;
}

.home-page-carousel .carousel-control-prev-icon, .home-page-carousel .carousel-control-next-icon {
	width: 75px;
	height: 75px;
}

.carousel-caption-primary {
	bottom: 10px;
	text-align: left;
	left: 5%;
	width: 60%;
}

h3.carousel-meta-primary {
	font-size: 14px;
	text-transform: uppercase;
	float: left;
}

.carousel-read-more-primary {
	text-transform: uppercase;
	padding: 3px 10px;
	border: 1px solid #fff;
	color: #fff;
	font-size: 12px;
	float: left;
}

.carousel-read-more-primary a { 
	color: #fff !important;
}

.count-primary {
	font-size: 14px;
}

@media screen and (max-width: 768px) {
	.carousel-caption {
		bottom: calc(100%/12);
	}
	.home-page-carousel .carousel-control-prev-icon, .home-page-carousel .carousel-control-next-icon {
		width: 45px;
		height: 45px;
	}
	
	h1.carousel-title {
		font-size: 30px;
	}
	
	h3.carousel-meta {
		font-size: 14px;
		text-shadow: 2px 2px 8px #000;
		bottom: 0px;
	}
	
	h3.carousel-meta img {
		margin-top: -4px;
		margin-right: 2px;
	}
	
	h3.carousel-meta img.heart-grey {
		width: 16px;
	}
	
	h3.carousel-meta img.bookmark-grey {
		width: 13px;
	}

}

@media screen and (max-width: 540px) {
	.carousel-caption-primary {
		width: 80%;
	}
	
	.carousel-read-more-primary {
		background: #fff;
	}

	.carousel-read-more-primary a { 
		color: #572A79 !important;
	}
	
	.full-view {
		height: 100vh;
	}
	
	.carousel-item, .carousel-inner {
		height: 100%;
	}
	
	.home-carousel-img {
		background-size: cover !important;
	}
	
	.home-page-carousel img.home-carousel-image {
		height: 100%;
	}
	
	.carousel-caption-primary {
		bottom: 30px;
	}
}

/* Home Category Menu */

.home-category-menu ul {
	list-style: none;
	padding: 0 15px 25px 25px;
	border-bottom: 1px solid #572A79;
}

/* Post Card */

.post-card {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.post-card-image {
	position: relative;
}

.post-card img {
	box-shadow: 0px 0 20px #ddd;
	width: 100%;
}

.post-card-details {
	box-shadow: 0px 0 20px #ddd;
	margin-top: -40px;
	background-color: #fff;
	width: 90%;
	position: relative;
	flex: 1;
	margin-left: auto;
	margin-right: auto;
	max-width: 350px;
}

.most-popular-post-details {
	max-width: 430px !important;
}

.post-card-category {
	background-color: #572A79;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
	margin-top: -15px;
	vertical-align: 15px;
	display: inline-block;
}

h3.post-card-title {
	font-size: 18px;
	margin-top: 10px;
}

h3.post-card-title a {
	color: #000;
}

.post-card-details p {
	line-height: 18px;
	color: #666666;
}

.post-card-counts {
	font-size: 14px;
}

.post-card-counts img {
	box-shadow: none;
}

.post-card-counts .heart-grey {
	width: 20px;
}

.post-card-counts .bookmark-grey {
	width: 16px;
}

@media screen and (max-width: 576px) {
	.post-card-details {
		width: 100%;
		max-width: 430px;
	}
}

.post-card-popular-mobile img {
	box-shadow: 0px 0 20px #ddd;
	width: 100%;
}

.mobile-title {
	text-size: 28px;
	padding-bottom: 10px;
	border-bottom: 2px solid #572A79;
}

/* Most Popular Posts */

.popular-carousel-prev, .popular-carousel-next {
	opacity: 1 !important;
}

.popular-carousel-prev .carousel-control-prev-icon {
	background-image: url('assets/img/slider-left.png');
	width: 32px;
	height: 32px;
}

.popular-carousel-next .carousel-control-next-icon {
	background-image: url('assets/img/slider-right.png');
	width: 32px;
	height: 32px;
}

.title-most-popular-mobile {
	font-size: 16px;
}

.most-popular-mobile-date {
	font-size: 16px;
}

/* Most Liked Posts */

.most-liked-posts-container {
	background-image: url('assets/img/sunset-wedding.jpg');
	background-size:cover;
}

.most-liked-post img {
	box-shadow: none;
}

.most-liked-post .post-card-details {
	box-shadow: none;
}

@media screen and (max-width: 576px) {
	.most-liked-posts-container {
		background: #fff;
	}
}

/* Singular */

.entry-content img {
	height: auto;	
}

.aligncenter {
	margin: 20px auto;
	overflow: hidden;
	width: 100% !important;
	object-fit: scale-down;
}

.aligncenter img {
	width: 100%;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.wp-caption-text {
	text-align: center;
	font-size: 90%;
}

/* Single Page */

.single-page-title {
	font-size: 32px;
}

/* Single Post */

.singe-post-img-title-meta-block {
	display: block;
	position: relative;
}

.single-post-featured-image { 
	position:relative; 
	display:block;
	width: 100%; 
}

.single-post-featured-image img{ 
	width:100%;
	max-height: 400px;
}

.single-post-featured-image:after { 
	width: 100%;
	height:50%;
	position: absolute;
	content: " ";
	bottom: 0px;
	left: 0px;
	z-index:100;
	display:block;
	background: linear-gradient(transparent, rgb(0,0,0,0.5));
}

.single-post-title-and-meta {
	color: #fff;
	margin-top: -100px;
	position: absolute;
	z-index: 200;
	bottom: 0px;
	width: 100%;
}

.single-post-title {
	font-size: 36px;
	text-shadow: 2px 2px 8px #000;
}

.single-post-meta {
	background: linear-gradient(rgb(0,0,0,0.5), rgb(0,0,0,0.7));
	width: 100%;
	padding-top: 7px;
	padding-bottom: 8px;
	font-size: 14px;
	text-transform: uppercase;
}

.share-icons {
	float: right;
}

.share-socialmediaicons {
	margin-right: 5px;
	opacity: 0.8;
}

.share-socialmediaicons:hover {
	margin-right: 5px;
	opacity: 1;
}

.entry-content {
	display: inline-block;
}

div.entry-content>p:first-child:first-letter {
	font-size: 4em;
	margin-right: 0.05em;
	line-height: 90%;
}

h1.single-post-title-primary {
	font-size: 32px;
}

.single-post-meta-primary {
	color: #572A79;
	font-size: 14px;
	text-transform: uppercase;
}

.share-icons-primary {
	float: none;
}

.share-icons-primary img {
	width: 28px;
	opacity: 1;
}

.share-icons-primary img:hover {
	opacity: 0.9;
}

.single-like-button .sl-count {
	display: none;
}

.single-like-button .sl-button {
	padding-right: 0px;
}

.single-like-button .sl-icon img {
	width: 22px;
	height: auto;
}

.single-bookmark-button img {
	width: 18px;
	margin-top: 2px;
}

@media screen and (max-width: 576px) {
	.single-post-title {
		font-size: 24px;
	}

	.single-post-meta {
		font-size: 10px;
	}
}

/* Comments */

#commentform {
	display: inline-block;
	width: 100%;
	margin-bottom: 20px;
}

#commentform #comment {
	width: 100%;
	padding: 10px;
}

#commentform .form-submit {
	display: inline;
}

#commentform .submit {
	float: right;
	background-color: #572A79;
	color: #fff;
	border: 0px;
	padding: 10px 28px;
	margin-top: 1px;
}

#commentform .comment-form-author {
	display: inline;
	margin-right: 15px;
}

#commentform #author {
	padding: 10px;
}

#commentform .comment-form-email {
	display: inline;
}

#commentform #email {
	padding: 10px;
}

.commentlist {
	margin-bottom: 40px;
	list-style: none;
}

.commentlist .parent, .commentlist .no-child {
	border-bottom: 1px solid #ccc;
}

ul.children .parent, ul.children .no-child {
	border-bottom: 0px;
	list-style: none;
}

.comment-author img {
	width: 100%;
	height: auto;
}

.comment-author-name {
	font-weight: bold;
	font-style: normal;
}

.comment-reply-link {
	margin-right: 20px;
	color: #808080;
}

.comment-date {
	color: #808080;
}

/* Widgets */

.widget {
	margin-bottom: 2rem;
}

/* Search Box */

.sidebar-search {
	border: 1px solid #572A79;
}

.search-form-label {
	margin-bottom: 0px;
	width: 100%;
}

.search-field {
	width: 100%;
	height: 40px;
	padding: 10px;
	border: 0px !important;
}

/* Recent Popular Comments Widget */

.widget_wpt {
	border: 1px solid #572A79;
}

.wpt-tabs, .tab-content ul {
	padding-left: 0px !important;
}

#recent-tab, #popular-tab, #comments-tab {
	font-size: 18px;
}

/* Polls Widget */

.widget_polls-widget {
	border: 1px solid #572A79;
}

.widget_polls-widget h3.widgettitle {
	font-weight: bold;
	margin: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #572A79;
	font-size: 18px;
}

.poll-question, .wp-polls-ul {
	margin: 10px 20px;
}

/* Social Widget */

.social-widget {
	border: 1px solid #572A79;
}

/* Newsletter Widget */

#email-subscribers-2 {
	background-image: url('assets/img/newsletter-bg.jpg');
	background-size: cover;
	padding: 2em 2em 1em;
}

#email-subscribers-2 h3.widgettitle {
	color: #fff;
	font-size: 24px;
}

#es_txt_email {
	padding: 10px;
	width: 100%;
	background: #572A79;
	border: 1px solid #fff;
	color: #fff;
}

.es_button, .es_widget_form_email {
	display: none;
}

/* Footer */

#footer {
	background-color: #572A79;
	color: #fff;
}

#footer a, #footer p {
	color: #fff;
	font-size: 14px;
}

.footer-nav {
	background: #572A79 !important;
}

.footer-nav a {
	color: #666666;
	margin: 0 5px;
}

.footer-nav li:first-child a {
	margin-left: 0px;
}

.socialmediaicons {
	margin: 15px 15px 0 0;
	opacity: 0.8;
	width: 40px;
}

.socialmediaicons:hover {
	opacity: 1;
}

.footerhr {
	border-color: #ccc;
}

.footer-widget-title {
	margin-top: 40px;
	padding: 0 0 10px 0px;
	border-bottom: 1px solid #ccc;
	font-size: 20px;
}

.title {
	line-height: 16px;
	margin-bottom: 0px;
}

.subtitle {
	opacity: 0.6;
}

.copyright {
	margin-top: 20px;
	margin-right: 0px !important;
}

.footer-menu-mobile ul, .footer-menu-tablet ul {
	list-style: none;
	text-transform: uppercase;
}

@media screen and (max-width: 768px) {
	.socialmediaicons {
		width: 30px;
	}
}

/* Register Page */

body#login-page {
	background: #fff;
}

.register-page-container {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0px 0px 20px #808080;
	flex-direction: row;
}

.register-page-container img {
	width: 100%;
	height: auto;
}

p.or {
	background: #572A79;
	border-radius: 500px;
	padding: 20px;
	color: #fff;
	width: 65px;
}

.register-input, #user_login, #user_pass {
	width: 100%;
	padding: 10px;
	color: #572A79 !important;
	border-radius: 10px;
	background: #F0F0F0;
	border: 0px;
}

#register-submit-btn, #wp-submit {
	width: 100%;
	border-radius: 10px;
	color: #fff;
	box-shadow: none;
	background: #572A79;
	border-color: #572A79;
	text-shadow: none;
	padding: 10px 15px;
	border: 0px;
}

.register-error {
	background-color: #dc3232;
	color: #fff;
	margin-bottom: 20px;
	padding: 20px;
	text-align: center;
}

@media screen and (min-width: 768px) {
	body#login-page {
		background-image: url('assets/img/login-bg.jpg');
		background-size: cover;
	}
}