/*
*
*	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: 'BebasNeueB';
src: url('./font/BebasNeue Bold.otf') format('opentype');
}
@font-face {
font-family: 'SegoeUIReg';
src: url('./font/Segoe UI.ttf') format('truetype');
}
@font-face {
font-family: 'seguisb';
src: url('./font/seguisb.ttf') format('truetype');
}
@font-face {
font-family: 'TrajanProR';
src: url('./font/TrajanPro-Regular.ttf') format('truetype');
}

@font-face {
font-family: 'AGENCYR';
src: url('./font/AGENCYR.ttf') format('truetype');
} 
@font-face {
font-family: 'TrajanProB';
src: url('./font/Trajan Bold.ttf') format('truetype');
}
@font-face {
font-family: 'AGaramondProR';
src: url('./font/AGaramondPro-Regular.otf') format('opentype');
}
@font-face {
font-family: 'AGaramondProB';
src: url('./font/AGaramondPro-Bold.otf') format('opentype');
} 
@font-face {
font-family: 'MontserratM';
src: url('./font/Montserrat Medium.ttf') format('truetype');
}
@font-face {
font-family: 'ACaslonProSB';
src: url('./font/ACaslonPro-Semibold.otf') format('opentype');
}  
@font-face {
font-family: 'MontserratSB';
src: url('./font/Montserrat-SemiBold.ttf') format('truetype');
}
@font-face {
font-family: 'MontserratB';
src: url('./font/Montserrat-Bold.ttf') format('truetype');
} 
@font-face {
font-family: 'MontserratR';
src: url('./font/Montserrat-Regular.ttf') format('truetype');
} 
@font-face {
font-family: 'futuraBT';
src: url('./font/futura-book-bt.ttf') format('truetype');
}




/* NAVIGATION */
#top-menu>li:last-child {
    padding-right: 44em !important;
	/*center 27em */
}


#top-menu li{
	text-transform:uppercase;
	font-weight:100;
	padding-right: 2em;
    letter-spacing: 3px;
	font-family:'MontserratM';
}
.et_mobile_menu {
    border-top: 3px solid #000000 !important;
	background-color: #ffffff !important;
	text-align:center;
}
#mobile_menu .current-menu-item a{
	color:#00a3c6;
}
/* HOME */
#booktitle h1{
	line-height:1;
}
.btn{
	font-family: 'seguisb';
	font-size:16px;
	background: #9a783f;
    color: #ffffff;
    padding: 10px 2em;
    border: none;
    border-right: 6px solid #ffcf83;
    margin-top: 1em;
    margin-right: 2em;	
}
.btn:hover,
.order:hover{
	transform:scale(1.1);
	transition:all .25s ease-in-out;
}
.infocontainer{
	border-bottom:1px solid #ffffff;
	border-top:1px solid #ffffff;
	padding: 1em 0 2em;
	margin-top:1em;
	margin-bottom:1em;
} 
.infocontainer h2{
	font-family: 'SegoeUIReg';
	font-weight:600;
	font-size:30px;
	color:#ffffff;
}
.infocontainer h3{
	font-size:15px;
	font-family: 'SegoeUIReg';
	margin-top:7em;
	color:#ffffff;
}
.info{
	float:left;
	margin-right:1em;
	font-family: 'AGENCYR';
	font-size:35px;
	line-height:1.2;
	color:#ffffff;
}

.info1{
	float:left;
	margin-right:1em;
	font-family: 'AGENCYR';
	font-size:35px;
	line-height:1.2;
	color:#ffffff;
	margin-left: 5.4em;
}
.order{
	background:transparent;
	border:none;
}
.amazon img{
	margin-bottom:-1.6em;
	margin-right: 2em;
}
p.no-blog{
	color: #ffffff;
    text-align: center;
    width: 100%;
    font-size: 20px;
}
/* CONTACT */
.et_contact_bottom_container {
    float: left;
}


/* =================
   |  SOCIAL ICONS |
   ================= */
.header-icons{
    display:flex;
	position: absolute;
    right: 21em;
    top: 1.3em;
	z-index:999;
}
.header-icons a{
    padding:0 5px;
}
.header-icons i{
    font-size:19px;
}
i.icon-facebook,
i.icon-tumblr,
i.icon-pinterest {
    border-radius: 50%;
    padding: 2px !important;
    transition: all .2s ease-in-out;
	background-color: #000000;
	color:#ffffff;
}
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;
}
/* End of Social Icons */


/* =================
   |  Back to top |
   ================= */
#back-top {
	position: fixed;
	bottom: 100px;	/* fixed distance from the bottom */
	right: 0;
	/* 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: transparent;
    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 all and (min-width:981px) and (max-width:1024px){
	.ds-thumbnail-blog .et_pb_post a img {
		width: 250px;
		height: 250px;
	}
}
@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;
    }
}
@media all and (max-width:414px){
	.ds-thumbnail-blog .et_pb_post a img {
		height: 250px;
	}
}
/*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 #d2a436;
    background: #d2a436;
    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 #d2a436;
    color: #d2a436;
    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: #000000 !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: #ffcf83 !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;
}
#footer-info1 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;
}
#footer-info  {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
	font-size:17px;
    /*14px*/
}
#footer-info1  {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
	font-size:14px;
}

.footer-info,
#footer-info a{
    font-family: 'SegoeUIReg';
    align-items:center;
    text-align:center;
	font-weight: 100;
}
.footer-info1,
#footer-info1 a{
    font-family: 'OPTITriplettLight-Agency';
    align-items:center;
    text-align:center;
	color:black;
}

.footer-social_media{
    display:flex;
	margin-left:2em;
	margin-right:7em;
}

.footer-social_media a {
    font-size: 20px;
    margin: 0 10%;
    background-color: transparent;
    color: #333 !important;
    padding: 3px;
    width:45px;
    border-radius: 50%;
}
/* End of Footer */

/* ==========================================
   |         Responsive Style               |
   ========================================== */

@media (min-width:1881px) and (max-width:1920px){
	#logo{
		max-height:75% !important;
	}
}

@media all and (min-width:1025px) and (max-width:1880px){
	.header-icons{
		right: 12em;
		/*margin-top:5px;*/
	}
	#logo{
		max-height:75% !important;
	}
	#top-menu>li:last-child {
    padding-right: 21em  !important;
		/*5em*/
    }
	
	.amazon img {
    margin-bottom: 1em;
    }
	
	.authimage {
    margin-top: -250px!important;
    max-width: 30% !important;
    }
	#bp-row-buynow .et_pb_button_0_wrapper{
		left: 56px !important;
	}
	.op-price1{
		font-size:25px !important;
	}
	.op-price2{
		font-size:25px !important;
	}
}

@media all and (min-width:981px) and (max-width:1024px){
	#logo{
		max-height:70% !important;
		     /*35%*/
	}
	#top-menu>li:last-child {
		padding-right: 109px !important;
		        /*6em*/
	}
	#top-menu li {
		padding-right: 1em;
		letter-spacing: 0px;
	}
	#homerowcol{
		padding-right: 3em;
	}
	
	.info {
    margin-right: 1em !important;
    }   
	
	.amazon img {
    margin-bottom: 1em;
    }
	.authimage {
    margin-top: -200px!important;
    max-width: 35% !important;
    }	
	.authname{
	margin-top: 40px !important;
    }
	.orderdescription{
		max-width: 75% !important;
	}
	.mockuphome{
		max-width: 95% !important;
	}
	.header{
		left: 0px !important;
	}
	.bookex{
	margin-top:0px !important;
    }
	.bookcover{
		width: 85%;
	}
	.bookorder{
		width:85% !important;
	}
	.hp-bookdesc{
		width:100% !important;
	}
	.hp-authdesc{
		width:100% !important;
	}
	#bp-row-buynow .et_pb_button_0_wrapper{
		left: -10px !important;
	}
	.bp-title{
		width:100% !important;
	}
	.op-price1{
		font-size:16px !important;
	}
	.op-price2{
		font-size:16px !important;
	}
	.cp-authname h1{
		font-size:24px !important;
	}
}
@media all and (max-width:1024px){
	.header-icons {
		right: 7em;
	}
}
@media all and (max-width:980px){
	.header-icons {
		right: 12em;
	}
	#logo{
		max-height:55% !important;
	}
	.swiper-button-next, .swiper-button-prev {
		top: 46%;
	}
	
	.header-icons {
    top: 2.1em; 
   }
	.pa-inline-buttons{
		text-align:center;
	}
}
@media all and (max-width:768px){
	.swiper-button-next, .swiper-button-prev {
		top: 40%;
	}
}
@media all and (max-width:414px){
	.header-icons {
		right: 6em;
	}
	.header-icons a {
		padding: 0 3px;
	}
	.header-icons i {
		font-size: 16px;
	}
	.father {
		font-size: 60px;
	}
	.child {
		font-size: 50px;
	}
	.infocontainer h3 {
		margin-top: 11em;
	}
	.amazon img {
		margin-bottom: 1em;
	}
	.bp-booksummary{
		width:100% !important;
	}
	.bp-excerpts{
		width:100% !important;
	}
	
	#main-header .container {
    /*border-bottom: 5px solid #357253;
    background-color: white;
	max-width: 1415px !important;*/
    padding: 0 0px !important;
    /*border-bottom-left-radius: 30px;*/
    /*border-bottom-right-radius: 30px;*/
    }
	
	
}
@media all and (max-width:375px){
        
	#main-header .container {
    /*border-bottom: 5px solid #357253;
    background-color: white;
	max-width: 1415px !important;*/
    padding: 0 0px !important;
    /*border-bottom-left-radius: 30px;*/
    /*border-bottom-right-radius: 30px;*/
    }

}
@media all and (max-width:320px){
	.header-icons {
		right: 5em;
	}
	.header-icons a {
		padding: 0 2px;
	}
	.header-icons i {
		font-size: 15px;
	}
	#main-header .container {
    /*border-bottom: 5px solid #357253;
    background-color: white;
	max-width: 1415px !important;*/
    padding: 0 0px !important;
    /*border-bottom-left-radius: 30px;*/
    /*border-bottom-right-radius: 30px;*/
    }
}

/* End of Responsive Style */



/*footer disable*/

/*#footer-bottom{
	display:none;
}*/

/*end disable footer */


/*BOTTOM BORDER HEADER*/

.et_fixed_nav #main-header{
	/*border-bottom-style:solid;
	border-bottom-color: #ff0100; */
	
	/*box-shadow: 0px -15px 25px 0px;*/
}


/*END*/


/*BLOG BORDERS*/

/*author border*/
/*.dgbc_blog_carousel_0 .dgbc_post_item .dg-post-thumb span.author {
    border-width: 2px;
    border-style: solid;
	border-color: #ff0100;
}*/

/*date border*/
/*.dgbc_blog_carousel_0 .dgbc_post_item .dg-post-thumb span.published {
    border-width: 2px;
    border-style: solid;
	border-color: #ff0100;
}*/



/*END*/


/*authimage*/
  
.authimage {
    margin-top: -270px;
    } 

/*end*/


/*auth name in author page*/

.authname{
	margin-top: 110px;
}

/*END*/


/*header*/


#main-header .container {
    border-bottom: 2px solid #7d7c7e;
    background-color: rgba(255,255,255,0);
	max-width: 1415px !important;
    padding: 0 30px;
    /*border-bottom-left-radius: 30px;*/
    /*border-bottom-right-radius: 30px;*/
}


/*end*/

/*Blog Border*/

/*.dgbc_blog_carousel .dgbc_post_item .dg-post-thumb {
    border-style: solid;
    border-width: 20px;
	border-color: rgba(255,255,255,0.7);
}


.dgbc_blog_carousel .dgbc_post_item .dgbc_post_inner_wrapper { 
    border-bottom-style: solid;
    border-bottom-width: 10px;
    border-bottom-color: #357253;
}*/


/*end*/

/*book excerpt*/

.bookex{
	margin-top:127px;
}
/*end*/


/*orderpage*/

.op-price1:hover {
   
    box-shadow: 2px 2px 10px 10px #03add7;
}
.op-price2:hover {
   
    box-shadow: 2px 2px 10px 10px #03add7;
}

/*end*/

/*Contact button center*/

.et_contact_bottom_container {
    float: none;
    text-align: center;
    display: block!important;
}

/*end*/