/*
*
*	Theme Name: DIVI Child theme
*	Description: Child theme for Divi theme
*	Theme URI: http://www.elegantthemes.com/gallery/divi/
*	Version: 2.7.5
*	Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
*	Author: Elegant Themes
*	Template: Divi
*
*/

@import url('css/fontello.css');

@font-face {
    font-family: 'Raleway-Regular';
    src:
        local('Raleway-Regular'),
        local('Raleway-Regular'),
        url('font/Raleway-Regular.ttf');
}
@font-face {
    font-family: 'Raleway-Black';
    src:
        local('Raleway-Black'),
        local('Raleway-Black'),
        url('font/Raleway-Black.ttf');
}
/* Global */
#mainbanner::before{
	content:'';
	width:100%;
	position:absolute;
	bottom:-1.9em;
	height: 27px;
	  background:repeating-linear-gradient(
	  to right,
	  #c72f34,
	  #c72f34 65px,
	  #66c6cf 0px,
	  #66c6cf 130px
		);
	z-index:9;
	}
/* NAVIGATION */
#top-menu li{
	font-family:'Raleway-Regular';
	font-size:17px;
}
.et_mobile_menu {
    border-top: 3px solid #ffff00 !important;
}
#mobile_menu .current-menu-item a{
	color: #333;
    font-family: 'Raleway-Black';
}

/* HOME */
#homecode h1{
	font-family:'Raleway-Black';
	line-height:3em;
	color:#444444;
}
#homecode h1 div:first-child{
	font-size:46px;
}
#homecode h1 div:nth-child(2){
	font-size:135px;
	margin-left:-8px;
}
#homecode h2{
	font-family:'Raleway-Regular';
	font-size:20px;
	color:#444444;
	line-height:3em;
	letter-spacing:3px;
}
.btn{
	background: #66c6cf;
	padding: 0.5em 1em;
    font-family: 'Raleway-Black';
    color: #444444;
    font-size: 17px;
    border-radius: 30px;
}
.btn1{
	float:left;
	margin-right:2em;
}
.btn2{
	width: 12%;
    margin: auto;
}
.btn3{
	padding: 0.5em 1em 0.3em;
	width:30%;
}
.btn4{
	width:30%;
	margin-top:1em;
}
.btn:hover{
	transform:scale(1.1);
	transition: all .25s ease-in-out;
}

/* REVIEW */
.review_title{
	font-family:'Raleway-Black';
	font-size:35px;
	color:#444444;
	padding: 13px 13px;
    background-color: #ffffff;
    text-align: center;
	width: 40%;
    margin: -2.5em auto 1em;
	line-height: 1em;
}
.review_container{
	border:7px solid #c72f34;
	padding:4em 7em;
}
.review_content{
	font-family:'Raleway-Regular';
	font-size:18px;
	color:#444444;
	line-height:2em;
	text-align: center;
}
.review_content h2{
	font-family:'Raleway-Black';
	font-size:18px;
	color:#444444;
	margin-top:1em;
}

/* Blog */
.divi-100-article-card .et_pb_blog_grid .article-card__excerpt{
	display: inline !important;
}
.divi-100-article-card .et_pb_blog_grid .article-card__date{
	top:5px !important;
	left:5px;
	font-family:'Raleway-Black';
}
.divi-100-article-card .et_pb_blog_grid .article-card__date {
    width: 65px;
    height: 65px;
    color: #32373c;
}
.divi-100-article-card .et_pb_blog_grid .article-card__day {
    font-size: 25px !important;
}
.divi-100-article-card .et_pb_blog_grid .article-card__month {
    font-size: 15px;
}
.divi-100-article-card .et_pb_blog_grid .article-card__excerpt p{
    font-family:'Raleway-Regular';
	font-size:18px;
}

/* BOOK */

#excerpt_num::before{
	left: 0.5em;
    top: 25px;
	position:absolute;
	font-family:'Raleway-Black';
	font-size:60px;
	color:#353535;
}



/* CONTACT */
.et_contact_bottom_container {
    float: none !important;
    text-align: center !important;
    display: inherit !important;
}


/* =================
   |  SOCIAL ICONS |
   ================= */
/*.header-icons{
    display:flex;
	position: absolute;
    right: 3em;
    top: 2em;
}
.header-icons a{
    padding:0 5px;
}
.header-icons i{
    font-size:17px;
}
i.icon-facebook,
i.icon-tumblr,
i.icon-pinterest {
    border-radius: 50%;
    padding: 2px !important;
    transition: all .2s ease-in-out;
	background-color: #ffffff;
	color:#333333;
}
i.icon-facebook:hover,
i.icon-tumblr:hover,
i.icon-pinterest:hover {
    box-shadow: 0px 0px 20px #ffffff;
    
}
i.icon-facebook:hover {
    color: #3a559f;
}
i.icon-tumblr:hover {
    color: #55aded;
}
i.icon-pinterest:hover {
    color: #e71a21;
}*/
/* Social Icons */
.social-row { 
    display: block;
    position: absolute;
    top: 15em;
    right: 0;
    width: 5em;
    padding: 0 !important;
}

.social-code>div { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-code>div a {
    color: #ffffff;
    font-size: 2em;
    padding: 9px 2px 6px;
    border-radius: 50%;
    margin: 1px;
}

.social-code>div a:first-child {
    background-image: linear-gradient(#5c7fca, #3b5998);
}

.social-code>div a:nth-child(2) {
    background-color: #1da1f2;
}

.social-code>div a:nth-child(3) {
    background-color: #bc081c;
}

.social-code>div a:nth-child(4) {
    background-image: linear-gradient(to top right, #f40003, #b900b2);
}

.icon-grow {
    transition: all .2s ease-in-out;
}

.icon-grow:hover {
    transform: scale(1.2);
}


/* End of Social Icons */

/* =================
   |  Back to top |
   ================= */
#back-top {
	position: fixed;
	bottom: 100px;	/* fixed distance from the bottom */
	right: 0;
	z-index:9;
	/* display: none !important; uncomment this if you don't want to show the button */
}

#back-top a {
	display: block;
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-size: 20px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
	
	color: #ffffff;
	background-color: #000000; /* change this to the theme color */
	opacity: 0.5; /* Adjust transparency */

	/* transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover {
	color: #ffffff;
}

@media only screen and ( max-width: 980px ) {
	#back-top {
		bottom: 0;
		right: 15px;
	}
	#back-top a {
		border-bottom-left-radius: 0;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
	}
}

/* End of Back to top */

/* =================
      BLOG STYLE
   ================= */
.ds-thumbnail-blog .et_pb_post {
    background-color: #fff;
    min-height: 350px;
    margin-bottom: 50px;

}
/*Sets the image size posts and moves it to the left of the text*/
.ds-thumbnail-blog .et_pb_post a img {
    float: left;
    width: 400px;
    height: 350px;
    object-fit: cover;
    margin: 0 40px 0 0;
}
/*Resize the overlay to fit the image*/
.ds-thumbnail-blog .et_overlay {
    width: 300px !important;
    height: 280px !important;
}
.et-cart-info { display: none; }

/*Stack the image and content on smaller screens*/
@media only screen and (max-width: 980px) {
    .ds-thumbnail-blog .et_pb_post a img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        margin: 0 0 40px 0;
    }
    /*Resize the overlay on smaller screens*/
    
    .ds-thumbnail-blog .et_overlay {
        width: 100% !important;
        height: 500px !important;
    }
    .ds-thumbnail-blog .et_pb_post h2 {
        margin: 40px 30px 20px 30px !important;
    }
    .ds-thumbnail-blog .et_pb_post p {
        margin: 0 30px;
    }
    .ds-thumbnail-blog a.more-link {
        margin: 20px 0 30px 30px;
    }
}
/*Add a little top padding to the post titles*/
.ds-thumbnail-blog .et_pb_post h2 {
    padding: 0px 0 20px 0 !important;
    margin-top: 0px !important;
}
.ds-thumbnail-blog .et_pb_post p {
    font-size: 16px;
    margin-right: 40px;
    color: #1f1d1d;
}
.ds-thumbnail-blog .post-meta {
    font-size: 14px !important;
}
/*This styles the read more link*/
.ds-thumbnail-blog a.more-link {
    display: inline-block;
    padding: 0.3em 1em;
    color: #fff;
    border: 2px solid #f7941d;
    background: #f7941d;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 20px;
	-o-transition:.3s; /* smooth hover effect */
	-ms-transition:.3s;
	-moz-transition:.3s;
	-webkit-transition:.3s;
	/* ...and now for the proper property */
	transition:.3s;
}
/*This styles the read more link on hover*/
.ds-thumbnail-blog a.more-link:hover {
    display: inline-block;
    background: #fff;
    border: 2px solid #f7941d;
    color: #f7941d;
    margin-top: 20px;
    text-transform: uppercase;
/*     font-size: 20px; */
}
/*This styles the double arrow on hover*/
.ds-thumbnail-blog a.more-link:hover:after {
    color: #fff;
}

/* End of Blog Style */

/* =================
   WOOCOMMERCE STYLE
   ================= */
.woocommerce div.product div.images img, .woocommerce-page div.product div.images img {
    max-width: 335px;
    margin: 0 auto;
}

/* messages background */
.woocommerce .woocommerce-error, 
.woocommerce .woocommerce-info, 
.woocommerce .woocommerce-message {
    background: #6A1B9A !important; /* Change this to over all theme color */
}

/* Buttons and links */
#et_search_icon:hover, .mobile_menu_bar:before, .mobile_menu_bar:after, .et-social-icon a:hover, .comment-reply-link, .form-submit input, .entry-summary p.price ins, .woocommerce div.product span.price, .woocommerce-page div.product span.price, .woocommerce #content div.product span.price, .woocommerce-page #content div.product span.price, .woocommerce div.product p.price, .woocommerce-page div.product p.price, .woocommerce #content div.product p.price, .woocommerce-page #content div.product p.price, .woocommerce .star-rating span:before, .woocommerce-page .star-rating span:before, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button, .woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce a.button.alt:hover, .woocommerce-page a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce-page button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce-page input.button.alt:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce-page #respond input#submit.alt:hover, .woocommerce #content input.button.alt:hover, .woocommerce-page #content input.button.alt:hover, .woocommerce a.button:hover, .woocommerce-page a.button:hover, .woocommerce button.button, .woocommerce-page button.button:hover, .woocommerce input.button:hover, .woocommerce-page input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #respond input#submit:hover, .woocommerce #content input.button:hover {
    color: #333 !important; /* Change this to over all theme color */
}

/* Buttons and links on hover */
.comment-reply-link:hover, .form-submit input:hover, .et_password_protected_form .et_submit_button:hover, .woocommerce a.button.alt:hover, .woocommerce-page a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce-page button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce-page input.button.alt:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce-page #respond input#submit.alt:hover, .woocommerce #content input.button.alt:hover, .woocommerce-page #content input.button.alt:hover, .woocommerce a.button:hover, .woocommerce-page a.button:hover, .woocommerce button.button:hover, .woocommerce-page button.button:hover, .woocommerce input.button:hover, .woocommerce-page input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #respond input#submit:hover, .woocommerce #content input.button:hover, .woocommerce-page #content input.button:hover {
    background:  #333 !important; /* Change this to over all theme color */
	color: #ffffff! important;
}

/* For Products with variation */
.woocommerce-variation-price .woocommerce-Price-amount::before {
    content: "Unit Price: ";
    font-size: 0.7em;
    font-weight: 500;
}
.woocommerce-variation-price .woocommerce-Price-amount {
    margin-bottom: 35px;
    display: block;
    font-weight: bold;
    font-size: 1.5em;
}

/* End of WooCommerce */

/* =================
   |Default Footer|
   ================= */
#footer-info a.rm-favicon{
    background: url("/wp-content/themes/Divi-child/images/ReadersMagnet-Favicon.png") no-repeat 0 5px;
    background-size: 45px auto;
    padding: 15px 0 15px 50px;
    display: inline-block;
}
   /* Center Align Text without Social Media*/
   
	#footer-info{
		float: none;
		text-align: center;
		padding: 2% 0;
		font-size: 14px;
		font-family:'Raleway-Regular';
	}

/* End of Footer */

/* ==========================================
   |         Responsive Style               |
   ========================================== */
/* GLOBALWIDTH */
@media all and (min-width:981px) and (max-width:1600px){
	#globalwidth{
		width:80% !important;
	}
}

/* IPAD/SMALL DESKTOP */
@media all and (max-width:1024px){
	.review_title {
		margin: -3em auto 1em;
	}
	.btn2 {
		width: 20%;
	}

}
@media all and (min-width:981px) and (max-width:1024px){
	#book_img{
		margin-top:-10em !important;
	}
}
/* DIVI TABLET */
@media all and (max-width:980px){
	#homecode h1{
		line-height:2em;
	}
	#homecode h1 div:first-child{
		font-size:36px;
	}
	#homecode h1 div:nth-child(2){
		font-size:100px;
	}
	.review_title{
		font-size:30px;
	}
	#excerpt_num::before{
		font-size:40px;
	}
}
/* DIVI MOBILE */
@media all and (max-width:768px){
	#homecode h2{
		font-size:18px;
	}
	.review_container {
		padding: 4em 4em;
	}
	.review_title {
		margin: -4em auto 1em;
	}
	.review_title{
		font-size:25px;
	}
	.review_content{
		font-size:16px;
	}
	.review_content h2{
		font-size:16px;
	}
	#footer-info {
		font-size: 16px;
	}
	.ds-thumbnail-blog a.more-link {
		margin-top: 18px;
	}
	
}
@media all and (max-width:414px){
	#homecode h1 div:first-child {
		font-size: 23px;
	}
	#homecode h1 div:nth-child(2) {
		font-size: 70px;
	}
	#homecode h2 {
		font-size: 14px;
    	letter-spacing: 0px;
	}
	.social-row {
		top: 6em;
	}
	.social-code>div a {
		font-size: 16px;
		padding: 3px 2px 3px;
	}
	.review_container {
		padding: 4em 2em;
	}
	.review_title{
		padding: 13px 35px;
		width: 100%;
	}
	.btn{
		font-size:14px;
	}
	.btn1 {
		margin-top: 1em;
	}
	.btn2 {
		width: 45%;
	}
	.btn3,
	.btn4{
		width: 70%;
	}
	#excerpt_num::before{
		font-size:30px;
	}
	.ds-thumbnail-blog a.more-link {
		margin-top: 14px;
	}
	
}
@media all and (max-width:375px){

}

/* SMALLEST MOBILE */
@media all and (max-width:320px){
	#homecode h1 div:first-child{
		font-size:26px;
	}
	#homecode h1 div:nth-child(2){
		font-size:76px;
	}
	#homecode h2{
		font-size:12px;
	}
	#footer-info {
		font-size: 12px;
	}
}

/* End of Responsive Style */