/*
*
*	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: 'GothamBold';
  src: url('./font/GothamBold.ttf') format('truetype');
}
@font-face {
  font-family: 'GothamBook';
  src: url('./font/GothamBook.ttf') format('truetype');
}
@font-face {
  font-family: 'GothamLight';
  src: url('./font/GothamLight.ttf') format('truetype');
}
@font-face {
  font-family: 'GothamMedium';
  src: url('./font/GothamMedium.ttf') format('truetype');
}

/* NAVIGATION */
/* #top-menu>li:last-child {
    padding-right: 4em !important;
} */
#top-menu li a{
	position: relative;
    display: block;
	font-family:'GothamBook';
	transition: color 0.1s,background-color 0.1s,padding 0.2s ease-in;
}
#top-menu li a:hover{
	color:#f26522;
}
#top-menu li a::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 3px;
    left: 0;
    height: 5px;
    width: 100%;
    background-color: #f26522;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: color 0.1s,transform 0.2s ease-out;
}
#top-menu li a:hover::before, #top-menu li a:focus::before {
    transform-origin: left top;
    transform: scale(1, 1);
}
#top-menu .current-menu-item a::before,
#top-menu .current-menu-item a:focus::before{
	transform-origin: left top;
    transform: scale(1, 1);
}

.et_mobile_menu {
    border-top: 3px solid #f26522 !important;
}
#mobile_menu .current-menu-item a{
	color:#f26522 !important;
	
}


/* HOME */
#line::before,
#line::after{
	content:url('/wp-content/uploads/2021/02/line.jpg');
	position:absolute;
	top:0.5em;
}
#line::before{
	left:0;
}
#line::after{
	right:0;
}
.btn{
	font-family:'GothamMedium';
	font-size:16px;
	color:#ffffff;
	border:1px solid #f26522;
	border-radius:15px;
	background-color:#f26522;
	padding:10px 2em;
	margin-top:1em;
}
.btn:hover{
	transition: all .25s ease-in-out;
	transform:scale(1.1);
}
.submit{
	font-size:25px !important;
	padding: 12px 4em !important;
    border-radius: 30px !important;
}
#link a{
	font-family:'GothamBook';
	font-size:16px;
	color:#000000;
}
/* DISCUSSION */
#af-wrapper .notices-panel{
    display: none !important;
}
#af-wrapper #forum-header {
    font-family: 'GothamBook';
	padding: 20px 10px;
}
#af-wrapper .last-post-headline {
    font-style: normal;
    width: 900px;
    text-align: left;
}
#af-wrapper .forum-poster, #af-wrapper .topic-poster {
    width: 900px;
}
#af-wrapper #forum-breadcrumbs {
    background-color: #ffffff;
}

/* #af-wrapper .forum-name, #af-wrapper .topic-name {
    background-color: #f26522;
}
#af-wrapper .forum .forum-status, #af-wrapper .topic .topic-status {
    background-color: #f26522;
} */
#af-wrapper .content-container, #af-wrapper .editor-element {
    margin: 0 0 0px 0;
}
#af-wrapper #statistics {
    margin: 0px 0;
}
#af-wrapper .forum-poster .no-topics {
    text-align: left !important;
}

/* FORUM TXT */
#af-wrapper .title-element {
    padding: 10px 20px 2em;
    font-size: 20px;
    font-family: 'GothamBook';
}
#af-wrapper .forum-name, #af-wrapper .topic-name {
    font-family:'GothamBook';
	padding: 15px;
}
#af-wrapper .main-title {
    padding: 16px 20px;
	background-color: #ffffff;
	font-family:'GothamBook';
}
/* Posts Buttons */
#af-wrapper #read-unread {
    padding: 10px 20px;
	background-color: #ffffff;
}
/* Page Link */
#af-wrapper .pages-and-menu {
    background-color: #ffffff;
}

/* =================
   |  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;
}*/
/* 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-thumbnail .et_pb_post, .blog-thumbnail .et_pb_post .post-content * {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
}
.blog-thumbnail .et_pb_post {
	float: left;
    background-color: #fff;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%);
    min-height: 0;
    margin-bottom: 50px;
    width: 31%;
    margin-right: 2em;
    margin-bottom: 50px;
	padding: 2em 1em 2em 3em !important;
}
.blog-thumbnail .et_pb_post::before{
	content:'';
	position:absolute;
	height:100%;
	top: 0;
    left: 0;
    width: 1em;
	background-color:#f26522;
}
.blog-thumbnail .et_pb_post h2 {
    padding: 0px 0 20px 0 !important;
    margin-top: -25px !important;
}
.blog-thumbnail .et_pb_post .post-meta {
    margin-bottom: -6px;
}
/*Sets the image size posts and moves it to the left of the text*/
.blog-thumbnail .et_pb_post a img {
    float: left;
    width: 180px;
    height: 125px;
    object-fit: cover;
    margin: 0 25px 0 0;
}
/*Resize the overlay to fit the image*/
.blog-thumbnail .et_overlay {
    width: 300px !important;
    height: 280px !important;
}
/* =================
      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: 350px;
/*     height: 350px; */
    object-fit: cover;
    margin: 0 25px 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: 15px 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 #f26522;
    background: #f26522;
    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 #f26522;
    color: #f26522;
    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: #f26522 !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: #ffff00 !important; /* Change this to over all theme color */
	color: #f26522! 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-bottom {
    background-color: #111111 !important;
}
#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-info  {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
	font-size:14px;
}
.footer-info,
#footer-info a{
    font-family:'GothamLight';
    align-items:center;
    text-align:center;
}
.footer-social_media{
    display:flex;
	margin-left:2em;
}
.footer-social_media a {
    font-size: 14px;
    margin: 0 6%;
    background-color: #ffffff;
    color: #333 !important;
    padding: 3px;
    width: 45px;
    border-radius: 50%;
}

/* End of Footer */

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

@media all and (min-width:981px) and (max-width:1024px){
	#globalpadding{
		padding:6em 7em !important;
	}
	#globaltxtwidth{
		width:45% !important;
	}
	.globaltxtwidth{
		width:45% !important;
	}
	.globalwidth{
		width:55% !important;
	}
	.blog-thumbnail .et_pb_post {
		width: 45%;
		margin-right: 2em;
	}
	#logo {
		max-height: 55% !important;
	}
	#et-top-navigation{
		padding-left:350px !important;
	}
}
@media all and (max-width:1024px){
	#af-wrapper .last-post-headline {
		width: 470px;
	}
	#af-wrapper .forum-poster, #af-wrapper .topic-poster {
		width: 470px;
	}
}
@media all and (max-width:980px){
	.blog-thumbnail .et_pb_post {
		float: none;
		width: 100%;
	}
}
@media all and (max-width:768px){
	.submit {
		font-size: 20px !important;
	}
}
@media all and (max-width:414px){
	#line::before, #line::after {
		top: -0.3em;
	}
	.submit {
		font-size: 16px !important;
		padding: 7px 2em !important;
	}
	.blog-thumbnail .et_pb_post a img {
		float: none;
		margin: 0 25px 1em 0;
	}
	#af-wrapper .title-element {
		font-size: 16px;
	}
}
@media all and (max-width:375px){


}
@media all and (max-width:320px){
	#line::before{
		left:-2em;
	}
	#line::after{
		right:-2em;
	}
	.submit {
		padding: 7px 1em !important;
	}
}

/* End of Responsive Style */