/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/***STYLE UPDATES****/

a.primary-btn {
	background:#6B2D9C;
	color:#fff;
	border:1px solid #6B2D9C;
}

a.primary-btn-reversed {
	background:transparent;
	color:#6B2D9C;
	border:1px solid #6B2D9C;
}

/***************[RESOURCES & BLOG POSTS]****************/
.title-template h1 {
	font-size: 48px !important;
	font-weight: 800 !important;
	line-height: 1.21;
	margin-bottom: 30px !important;
}
.subtitle-template {
	opacity: 0.7
} 
/*Featured*/
.featured-post .fusion-column-first {
	width: 662px !important;
	margin-right: 0px;
	height: 452px;
	margin-bottom: 0px;
}
.featured-post .fusion-column-first .fusion-imageframe {
	display: block;
}
.featured-post .fusion-column-first img {
	border-radius: 10px;
	width: 100%;
	object-fit: cover;
    height: 452px;
}
.featured-post .fusion-column-last {
	width: calc(100% - 662px - 23px) !important;
	margin-left: 23px !important;
	height: 452px;
	border-radius: 10px;
	background-color: #f9f9f9;
}
.featured-post .z-featured-post-content {
	padding: 36px 70px 0px 70px;
	cursor: inherit;
}
.featured-post .z-entry-title{
	font-size: 20px !important;
	font-weight: bold !important;
	line-height: 1.5 !important;
}
.featured-post .z-entry-title a {
	color: #000000 !important;
}
@media only screen and (max-width: 1149px) {
	.featured-post {
		background-color: #f9f9f9;
		border-top-right-radius: 10px;
		border-bottom-right-radius: 10px;
	}
	.featured-post .fusion-column-first {
		width: 65% !important;
		height: auto;
	}
	.featured-post .fusion-column-first img {
		width: 100%;
		height: auto;
	}
	.featured-post .fusion-column-last {
		width: 35% !important;
		height: auto;
		margin-left: 0px !important;
		margin-bottom: 0px !important;
	}
	.featured-post .z-featured-post-content {
		padding: 30px 40px 20px;
		cursor: inherit;
	}
}
@media only screen and (max-width: 1040px) {
	.featured-post .fusion-column-first {
		width: 50% !important;
	}
	.featured-post .fusion-column-last {
		width: 50% !important;
	}
}
/*@media only screen and (max-width: 880px) {
	.featured-post .fusion-column-first {
		width: 40% !important;
	}
	.featured-post .fusion-column-last {
		width: 60% !important;
	}
}*/
@media only screen and (max-width: 880px) {
	.featured-post {
		max-width: 453px;
		margin: 0px auto 80px !important;
		border-radius: 10px;
	}
	.featured-post .fusion-column-first {
		width: 100% !important;
	}
	/*.featured-post .fusion-column-first img {
		border-bottom-right-radius: 0px;
		border-bottom-left-radius: 0px;
	}*/
	.featured-post .fusion-column-last {
		width: 100% !important;
	}
}
@media only screen and (max-width: 543px) {
	#main .title-template h1 {
		font-size: 32px !important;
		line-height: 1.5 !important;
	}
	.featured-post .z-featured-post-content {
		padding: 20px 20px 0px;
	}
}

/*List of posts*/
#posts-container .z-article_margin {
	width: calc(33% - 12.5px) !important;
	margin-right: 24px;
}
#posts-container .z-article_nomargin {
	width: calc(33% - 12.5px) !important;
}
.z-article .fusion-imageframe {
	display: block;
}
.z-article img {
	width: 100%;
	height: 216px;
	border-radius: 10px;
	object-fit: cover;
}
.z-article .fusion-title {
	margin-bottom: 0px !important
}
.z-article h4 {
	font-size: 20px !important;
	font-weight: bold !important;
	line-height: 1.5 !important;
	padding: 0px !important;
    min-height: 80px;
	/*text-transform: uppercase;*/
	margin-bottom: 20px !important;
}
.z-article h4 a {
	color: #000000 !important;
}
.z-article .fusion-layout-column .fusion-column-wrapper {
	padding: 30px 30px 30px 30px !important;
}
#posts-container .author-date-post .author {
	font-size: 15px;
	font-weight: bold;
	line-height: 1.6;
	color: #000000;
	font-family: 'Ubuntu';
}
#posts-container .author-date-post .date {
	font-size: 15px;
	line-height: 1.6;
	color: #000000;
	font-family: 'Ubuntu';
}
.z-article .author-date-post {
	/*padding: 0px 32px !important;
	margin-bottom: 22px !important;*/
}

/*Pagination*/
#posts-container .z-blog-posts-pagination{
	text-align: center;
	margin-bottom: 0px;
    min-height: inherit !important;
}
#posts-container .z-blog-posts-pagination a{
	padding: 17px 75px;
	line-height: 17px;
	font-size: 16px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
	color: #ffffff;
	font-weight: bold;
	display: inline-block;
	width: 220px;
	margin-bottom: 20px;
	margin-left: 10px;
	margin-right: 10px;
	background-color: #1C0064;
    border-radius: 48px !important;
}
@media only screen and (max-width: 1149px) {
	#posts-container .z-article_margin,
	#posts-container .z-article_nomargin  {
		width: calc(33% - 13.5px) !important;
	}
}
@media only screen and (max-width: 1040px) {
	#posts-container .z-article {
		width: 48% !important;
		clear: none !important;
		margin-right: 0px;
	}
	#posts-container .z-article:nth-child(2n+1) {
		margin-right: 4% !important;
	}
}
@media only screen and (max-width: 800px) {
	#posts-container .wrapper-list-posts {
		width: 100%;
		max-width: 453px;
		margin: 0px auto !important;
	}
	#posts-container .z-article {
		width: 100% !important;
		margin-bottom: 40px !important;
		background-color: #f9f9f9;
		border-radius: 10px;
	}
	#posts-container .z-article:nth-child(2n+1) {
		margin-right: 0px !important;
	}
	.z-article h4 {
		min-height: inherit;
		margin-bottom: 20px !important;
	}
}

@media only screen and (max-width: 767px) {
	.z-article img {
		height: 170px;
	}
}



/***************[SINGLE POSTS]****************/
.single #main {
	padding-left: 0px !important;
	padding-right: 0px !important;
	padding-top: 0px !important;
}
.single-post #content {
	margin-bottom: 0px !important;
}
.single-post #main > .fusion-row {
	max-width: 100%;
}
.single-post .single-post_content {
	width: 100% !important;
    max-width: 768px;
    margin: 0px auto !important;
    float: none !important;
}
.z-entry-thumbnail {
	overflow: hidden;
    position: relative;
    width: 1500px;
    height: 720px;
    margin: 0px auto;
}
.z-entry-thumbnail img {
	object-fit: cover;
    width: 100%;
    height: 100%;
}
.single-post_content .fusion-text {
	font-family: "Ubuntu";
	font-size: 20px !important;
    line-height: 32px !important;
}
.z-entry-container .fullwidth-box{
	background-color: #fff;
	color: #000;
	padding-top: 50px;
}
.z-entry-container .fullwidth-box a{
	color: #1C0064;
}
.z-entry-header{
	padding-bottom: 40px;
}
.z-entry-header h1 {
	text-transform: uppercase;
    font-size: 28px;
    line-height: 42px;
    font-family: Gilroy Bold;
    font-weight: 400;
}
.z-entry-content h2 {
	font-size: 26px !important;
    line-height: 38px !important;
    font-family: Gilroy Bold !important;
    font-weight: 400 !important;
    margin-top: 48px;
	margin-bottom: 0px;
}
.z-entry-content h3 {
	font-size: 25px !important;
    line-height: 36px !important;
    font-family: Gilroy Bold !important;
    font-weight: 400 !important;
    margin-top: 48px;
	margin-bottom: 0px;
}
.z-entry-content h4 {
	font-size: 24px !important;
    line-height: 36px !important;
    font-family: Gilroy Bold !important;
    font-weight: 400 !important;
    margin-top: 30px;
	margin-bottom: 0px;
}
.z-entry-content{
	margin-bottom: 80px;
}
.z-entry-content p,
.z-entry-content li {
	margin: 24px 0px;
	font-size: 20px;
    line-height: 1.6;
	font-family: "Ubuntu";
	font-weight: 400;
}
.z-entry-content li {
	margin: 20px 0px;
}
.z-about-author {
	width: 48px;
    height: 48px;
    float: left;
    margin-right: 10px;
}
.z-about-author .z-avatar img {
	width: 48px;
	height: 48px;
	border-radius: 48px;
}
.z-about-author_name,
.author-name-post {
	font-size: 15px;
	font-weight: bold;
	line-height: 1.6;
	color: #000000;
	margin-bottom: 0px;
}
.z-about-author_date,
.single .author-date-post {
	opacity: 0.5;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.85;
	color: #000000;
	margin-bottom: 0px;
	margin-top: 0px;
	font-family: 'Ubuntu';
}
.single-post_related {
   margin-left: 0px !important;
   margin-right: 27px !important;
   width: 365px !important;
}
.single-post_related img {
   height: 216px;
   object-fit: cover;
   border-radius: 10px 10px 0px 0px;
}
.wrapper-posts_related .single-post_related:nth-child(4) {
   margin-right: 0px !important;
}
.single-post .z-article {
	height: 550px;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.single-post .z-article .fusion-column-wrapper,
.single-post .z-article .fusion-builder-row,
.single-post .z-article .fusion-layout-column {
	border-radius: 10px;
}
/*-------------------------------------------------------*/
@media only screen and (max-width: 1199px) {
	.single-post_related {
		width: calc(33.33% - 18px) !important;
	}
	.z-entry-container .post-internal-content {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
	.z-entry-thumbnail {
	    width: 100%;
	    height: auto;
	}
}

@media only screen and (max-width: 991px) {
	.single-post_related {
		width: calc(33.33% - 18px) !important;
	}
}

@media only screen and (max-width: 767px) {
	.single #main {
		padding-top: 30px !important
	}
	.z-entry-thumbnail {
		height: auto;
	}
	.z-entry-header h1 {
		font-size: 24px;
		line-height: 38px;
	}
	.z-entry-content h2 {
		font-size: 22px !important;
		line-height: 32px !important;;
	}
	.z-entry-content h3,
	.z-entry-content h4 {
		font-size: 20px !important;
		line-height: 30px !important;
	}
	.z-entry-content p,
	.z-entry-content li {
		font-size: 18px;
	}

	.wrapper-posts_related h2 {
		font-size: 28px !important;
	}
}

@media only screen and (max-width: 600px) {
	.z-entry-container .post-internal-content {
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
}



/*BLOG*/
.blog #main > .fusion-row,
.search #main > .fusion-row,
.category #main > .fusion-row,
.author #main > .fusion-row {
	max-width: 100%;
}



