/*
Theme Name:		 Divi Child
Theme URI:		 http://soltuin.com/
Description:	 Divi Child is a child theme of Divi.
Author:			 Cesar Garcia Murguia
Author URI:		 http://soltuin.com/
Template:		 Divi
Version:		 1.0.4
License:         GNU General Public Licence v2 or later
License URI:     http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:	 divi-child
*/


/*
    Add your custom styles here
*/

/*. Menu styles */
#et-top-navigation #top-menu .nmk-registro-menu a{
	background-color: #E61B72;
	color: white !important;
	padding: 10px;
	border-radius: 5px;
}

.et_fixed_nav #main-header, .et_fixed_nav #top-header {
	box-shadow: unset;
}

/* Hero Header styles */

@media all and (max-width: 980px) {
	/*** wrap row in a flex box ***/
	.nmk-hero-row {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;
	}

	/*** custom classes that will designate the order of columns in the flex box row ***/
	.mobile-1 {
	-webkit-order: 1;
	order: 1;
	}

	.mobile-2 {
	-webkit-order: 2;
	order: 2;
	}

	/*** add margin to last column ***/
	.nmk-hero-row:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
	}

}


.nmk-blurb .et_pb_blurb_container {
    padding: 20px;
}

/* footer styles */
#nmk-footer {
    font-size: 16px !important;
}

#nmk-menu-footer .et-menu {
    display: flex;
    flex-direction: column;
    justify-content: initial;
}

#nmk-footer-credits {
	display: flex;
	flex-direction: row;
	line-height: 1em;
}


/*  Product Prices */
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: black !important;
}

.et-db #et-boc .et-l .et_pb_wc_price .price del {
	color: #f02d00;
}

.woocommerce div.product p.price del, .woocommerce div.product span.price del {
	opacity: 1;
}

.woocommerce .product_meta a {
    color: black !important;
}
.woocommerce .product_meta a:hover {
    color: #e61b72 !important;
}

/* WooCommerce cart styles */

.woocommerce-cart #main-content .container {
	width: 90%;
	padding-top: 20px !important;
	max-width: 1024px;
}

.woocommerce-cart #main-content .entry-title.main_title {
    margin: 0;
}

.woocommerce-cart .woocommerce{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
/* The table containing the list of products and our custom elements */
.woocommerce-cart .woocommerce-cart-form {
  flex: 1 0 70%; /* 100% at small screens; 70% on larger screens */
}
/* The element that contains the cart totals */
.woocommerce-cart .cart-collaterals {
  flex: 1 0 30%; /* 100% at small screens; 30% on larger screens */
}
.woocommerce-cart .woocommerce-notices-wrapper {
    flex-basis: 1 !important;
    flex: 1 1 100%;
}

.woocommerce-cart .woocommerce .coupon {
	float: unset !important;
	display: flex;
	flex-direction: column;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 100% !important;
    flex: 1 0 50%;
}
.woocommerce-cart .woocommerce-cart-form button[name="apply_coupon"] {
	flex: 1 2 50%;
	width: 100% !important;
	margin-top: 20px;
	background-color: #848484;
	border-color: #848484;
}

.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
    display: none;
}

@media screen and (min-width: 769px) {
  	.woocommerce-cart .woocommerce,
	.woocommerce-cart .woocommerce .coupon{
    	flex-direction: row;
  	}
	.woocommerce-cart .woocommerce-cart-form button[name="apply_coupon"] {
		margin-top: 0;
	}
	
	.woocommerce-cart .cart-collaterals .cart_totals {
  		width: 100%;
  		padding: 0 20px 70px;
	}

}

/* WooCommerce Checkout */
.woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: #A9CD4C !important;
}
.woocommerce-info a {font-weight: bold;}

@media only screen and (max-width: 980px) {
	
	/* Single Product Styles */
	.product-template-default.single-product #main-content .container {
    	padding-top: 0px;
	}

	#nmk-menu-footer .et_pb_menu__menu {
		display: flex !important;
	}
	#nmk-menu-footer .et_pb_menu_inner_container .et_pb_menu__wrap {
    	justify-content: flex-start !important;
	}
	#nmk-menu-footer .et_mobile_nav_menu {display: none !important;}
}


/* BBPress Forum Styles */


/* Registration form */
.nmk-register-form input,
.nmk-register-form form label {
    font-size: 20px !important;
}
.nmk-register-submit-btn{
	background: #00ACB9;
	color: white;
	font-size: 20px;	
}


/* WooCommerce shop styles */
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price, .woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price del {
	font-size: 20px;
}

.et-cart-info span:before {vertical-align: middle;}

/* Fix Learndash Focus MOde is wider than screen on mobile */
.learndash-wrapper #et-boc{ width: 100%}


/* Download Manager Styles */
.w3eden .text-muted {
    display: none !important;
}
.w3eden .media {
    justify-content: center;
}

/* Prevent title link on Download documents*/
.w3eden .media-body .package-title a {
    cursor: default;
    pointer-events: none;
	color: #606060;
}


/* Materiales Styles */
.nmk-lenguaje {color: #e61b72;}
.nmk-vida-practica{color:#93c01f;}
.nmk-matematicas{color:#941b80;}
.nmk-principios{color:#F7A601;}
.nmk-crianza-amorosa{color:#00ADBA;}


.nmk-lenguaje::before,
.nmk-vida-practica::before,
.nmk-matematicas::before,
.nmk-principios::before,
.nmk-crianza-amorosa::before{
  	display: inline-block;
  	font-style: normal;
  	font-variant: normal;
  	text-rendering: auto;
  	-webkit-font-smoothing: antialiased;
}

.nmk-lenguaje::before,
.nmk-vida-practica::before,
.nmk-matematicas::before,
.nmk-principios::before,
.nmk-crianza-amorosa::before{
	content: "\f004";
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900;
  	font-size: 20px !important;
	margin-right: 5px;  	
}

.nmk-shop-module .product .add_to_cart_button {
    color: white;
}

/* Hide Edit Profile link on users account page */
.ld-profile-edit-link {
    display: none;
}


/* Cursos pages style */
.sfwd-courses .et_post_meta_wrapper img {
    max-width: 300px;
}


.woocommerce span.onsale, .woocommerce-page span.onsale {
	background-color: #93c01f !important;
    visibility: inherit;
}

.woocommerce.single-product #main-content .container{width: 90%;}
.woocommerce.single-product h4 {
    color: #E61B72 !important;
}

span.nimoneki-tm sup {
    font-size: 10px;
}

@media only screen and (max-width: 600px) {
	#nmk-footer-credits{
		flex-direction: column;
	}
	#nmk-footer-credits p {
    	text-align: left !important;
	}
}


/* hide woocommerce cart icon */
.et-cart-info {
   display: none !important;
}

/* Memberpress styles */

/* Login form */

.button-primary,
.mepr-submit {
    color: white;
    background-color: #e61b72;
    border-color: #e61b72;
    border-radius: 5px;
    padding: 10px 15px;
    width: 100%;
    font-size: 18px;
    margin: auto;
}

