/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

.et_pb_row {
    max-width: 1200px;
}

/*

@media screen and (min-width: 1024px) {
    #tribe-events-photo-events .tribe-events-photo-event {
        width: 29.667% !important;
        position: relative !important;
        top: initial !important;
        left: initial !important;
        float: left;
        margin-right: 5.5%;
		margin-bottom: 50px;
    }   
    
    #tribe-events-photo-events .tribe-events-photo-event:nth-of-type(3n+1) {
        margin-right: 0;
    }
}
*/

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

 .event_box {
        width: 44% !important;
    	margin: 25px 3% !important;
 }
}



/***** PREVIOUS INLINE CSS *****/

/* ///  HEADER STYLES /// */

#et-top-navigation .et-cart-info {
	margin-top: -3px;
}

@media (max-width: 1235px) {
 #et_mobile_nav_menu {
 display: block;
 }
 
#top-menu {
 display: none;
 }

#et-top-navigation .et-cart-info {
	margin-top: 4px;
}
 }


/* /// FORCE UPPERCASE /// */

#top-menu-nav ul li, .et_pb_newsletter_fields input, .woocommerce a.button  {
	text-transform: uppercase;
	font-weight: normal;
}

/* /// SWAP HEADER DIVIDER GRAPHIC FROM DEFAULT /// */

.et_pb_divider {
	max-width: 80px !important;
}

.et_pb_divider:before, .et-db #et-boc .et_pb_divider_0:before, .et-db #et-boc .et_pb_divider_1:before, .et-db #et-boc .et_pb_divider_2:before, .et-db #et-boc .et_pb_divider_3:before, .et-db #et-boc .et_pb_divider_4:before, .et-db #et-boc .et_pb_divider_5:before, .et-db #et-boc .et_pb_divider_6:before{
	border: none;
	content: url(https://chintamaniyoga.com/wp-content/uploads/2019/07/Header-Motif-1.png);
	display: block;
	top: -5px !important;
}

/* /// FORCE ALL HEADERS TO HAVE DEFAULT FONT WEIGHT /// */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal !important;
}



/* /// CUSTOM MENU STYLES /// */
#top-menu-nav ul li a:hover, li.current_page_item a{
	color: #547096 !important;
}

/* /// STYLES ONLY FOR DESKTOP /// */

@media (min-width:980px) { 
	
	#main-footer {
		max-height: 100px;
	}
	
	#footer-widgets {
		padding: 3% 0 0;
	}

#footer-bottom {
	display: none;
}
	#text-8 {
		float: left; }
#text-7 {
		float: right;
	}
}


/* /// SUBSCRIBE & CONTACT FORMS & BUTTONS /// */

.et_pb_contact p input, .et_pb_contact p textarea, .et_pb_subscribe .et_pb_contact_field input, .et_pb_subscribe .et_pb_contact_field textarea, .et-db #et-boc .et_pb_contact p input, .et-db #et-boc .et_pb_contact p textarea, .et-db #et-boc .et_pb_subscribe .et_pb_contact_field input, .et-db #et-boc .et_pb_subscribe .et_pb_contact_field textarea {
	background: #fff;
}

.et_pb_contact p input::-webkit-input-placeholder, .et_pb_contact p textarea::-webkit-input-placeholder, .et_pb_subscribe .et_pb_contact_field input::-webkit-input-placeholder, .et_pb_subscribe .et_pb_contact_field textarea::-webkit-input-placeholder {
	text-transform: uppercase;
}

.et_pb_contact p input:-ms-input-placeholder, .et_pb_contact p textarea:-ms-input-placeholder, .et_pb_subscribe .et_pb_contact_field input:-ms-input-placeholder, .et_pb_subscribe .et_pb_contact_field textarea:-ms-input-placeholder {
	text-transform: uppercase;
}

.et_pb_contact p input::-moz-placeholder , .et_pb_contact p textarea::-moz-placeholder , .et_pb_subscribe .et_pb_contact_field input::-moz-placeholder , .et_pb_subscribe .et_pb_contact_field textarea::-moz-placeholder  {
	text-transform: uppercase;
}

body #page-container .et_pb_section .et_pb_signup_0.et_pb_subscribe .et_pb_newsletter_button.et_pb_button, .et_pb_contact_submit, body.et-db #page-container #et-boc .et_pb_section .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button {
    transition: all 300ms ease 0ms;
	border: 2px solid;
}

.woocommerce-page.et_pb_button_helper_class input.button, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
	  float: right !important;
	margin: 25px 0;
	text-transform: uppercase;
	    transition: all 300ms ease 0ms;
}

body #page-container .et_pb_section .et_pb_signup_0.et_pb_subscribe .et_pb_newsletter_button.et_pb_button:hover, .et_pb_contact_submit, body.et-db #page-container #et-boc .et_pb_section .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button:hover, #buy-tickets .tribe-events-tickets button:hover, .woocommerce div.product form.cart .button:hover, .woocommerce-page.et_pb_button_helper_class input.button:hover, .woocommerce-page #payment #place_order:hover, .woocommerce div.product form.cart .button:hover
{
	border: 2px solid #e1e4e7;
	background: #e1e4e7;
	color: #547096 !important;

}

.woocommerce a.button:hover {
    color: #547096 !important;
}

.et_pb_contact_reset, .et_pb_contact_submit, body.et-db #page-container #et-boc .et_pb_section .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button {
    width: 100%;
    color: #547096;
    border-color: #547096;
    position: absolute;
    left: 0%;
    margin: 0;
	}

#buy-tickets .tribe-events-tickets button, .woocommerce div.product form.cart .button{
    text-transform: uppercase;
	padding: 5 10px;
    color: #547096;
	border: 2px solid #547096;
	cursor: pointer;
	 transition: all 300ms ease 0ms;
	background: transparent;
	}


/* /// SECONDARY FOOTER /// */

.single .et_pb_post {
	margin: 0;
}

.blue-section p a{
	color: #fff !important;
}

.secondary-footer a {
	color: #666 !important;
}

.nav li ul {
	border-top: 3px solid #547096;
}

/* /// EVENTS CALANDER STYLING /// */

hr {
	border: 1px solid #fff;
	margin-top: 60px;
}


/* /// BLOG STYLES /// */

.home .et_pb_blog_grid .pagination {
	display: none;
}

.et_pb_blog_grid article {
	position: relative;
	min-height: 575px !important;
	background: #eff2f5 !important;
	border-top: 1px #fff solid !important;
		border-left: 1px #fff solid !important;
		border-right: 1px #fff solid !important;
	overflow: hidden;
	  transition: all 300ms ease 0ms;
	text-align: center;
}
.et_pb_blog_grid article .entry-title, .post-meta, .post-content {
   padding-left: 25px;
	padding-right: 25px;
}

.et_pb_blog_grid article h2 {
	font-size: 20px;
	line-height: 1.2em;
	min-height: 88px;
}

.single-post .entry-title, #comment-wrap #comments {
	font-size: 36px;
}

@media screen and (min-width: 1024px) {

.et_pb_blog_grid article img {
	max-height: 221.25px;
	min-height: 221.25px;
}
}

.et_pb_blog_grid article .more-link {
	text-transform: uppercase;
	 position: absolute;
    right: 50%;
    transform: translateX(50%);
	bottom: 5%;
}

.et_pb_blog_grid article .post-meta {
	margin: 15px 0 25px 0; 
}


.et_pb_blog_grid article:hover {
	background: #fff !important;
	box-shadow: 1px 1px 10px 5px #eee;
}

/* /// SHOP STYLING /// */

.single-product .product_title {
	font-size: 30px;
	line-height: 36px;
}

.woocommerce-Tabs-panel h2, .woocommerce-order-details__title {
	font-size: 26px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 20px !important;
	padding: 10px 15px;
}

.woocommerce .quantity input.qty {
	height: auto;
	margin: 4px 0 0 0;
	padding: 6px 10px;
	font-size: 14px !important;
	color: #666 !important;
	background: #eee !important;
}

.woocommerce button {
	text-transform: uppercase;
}

.woocommerce button:hover {
	color: #547096 !important;
}


.woocommerce .cart_totals h2 {
	font-size: 30px;
}

.woocommerce-checkout #payment {
	background: #eff2f5;
}
.woocommerce-checkout #payment div.payment_box {
	background: #547096;
	color: #fff;
}
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
	content: "";
    display: block;
    border: 1em solid #547096;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
    position: absolute;
    top: -.75em;
    left: 0;
    margin: -1em 0 0 2em;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	line-height: 26px;
}

.woocommerce .price {
	margin: 25px 0;
	font-size: 20px;
}

.related.products ul li {
	text-align: center;
}

.woocommerce-checkout h3, .woocommerce-cart h3, .cart_totals h2 {
    font-size: 26px!important;
}

#order_review_heading {
	margin: 25px 0;
}




@media all and (max-width: 1275px) and (min-width:981px) {
      /* For portrait layouts only */
	.et_pb_blog_0 .et_pb_post .entry-title {
		font-size: 18px !important;
		line-height: 1.1em !important;
		min-height: 55px;
	}
	
	.et_pb_blog_grid article .post-meta {
		margin: 10px 0 !important
	}
	
	.et_pb_blog_grid article img {
	max-height: 221.25px;
	min-height: 100px;
}
	
    }

	@media all and (max-width: 767px) and (min-width:558px) {
	
	.et_pb_blog_grid article .post-meta {
		margin: 10px 0 !important
	}
	
	.et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post {
		min-height: 685px !important;
	}
	
}


@media screen and (max-width: 980px) { 
	
	.et_pb_newsletter_description {
		display: none;
	}
	
	.et_pb_column .et_pb_newsletter_form {
		padding-left: 0px;
	}
}

.woocommerce-thankyou-order-received {
	margin: 25px 0;
}

.secondary-footer et_pb_text_inner h2 {
	color: #547096 !important;
}

.secondary-footer et_pb_text_inner p {
	color: #666 !important;
}

.woocommerce-order-received .secondary-footer-wrap, .woocommerce-checkout .secondary-footer-wrap {
	display: none !important;
}

.woocommerce-checkout #eWAYBlock img {
	float: right;
}

.et-pb-contact-message message:focus {
	color: #666;
}
