/* 
   Blog custom styles 
*/
 
.blog .interior-header,
.archive .interior-header,
.single .interior-header,
.project .interior-header,
.search .interior-header {
	background-image: url(/wp-content/uploads/2017/10/business-photo-7.jpg);
}

.search .interior-header,
.blog .interior-header,
.archive .interior-header  {
	padding-bottom: 50px;
}

.single .interior-header  {
	padding-bottom: 75px;
}

.et_full_width_page #left-area {
	padding-right: 0 !important;
}

/* ARCHIVE PAGE */

.search #left-area .et_pb_post,
.blog #left-area .et_pb_post,
.archive #left-area .et_pb_post  { 
	font-size: 14px;
	line-height: 1.5;
	clear: none;
	padding: 30px;
	background: #fff;
	-webkit-box-shadow: 0 15px 25px 0 rgba(0,0,0,0.06);
	box-shadow: 0 15px 25px 0 rgba(0,0,0,0.06);
	transition: 0.5s ease-in-out;
}

.search #left-area .et_pb_post:hover,
.blog #left-area .et_pb_post:hover,
.archive #left-area .et_pb_post:hover  {
	-webkit-box-shadow: 0 15px 50px 0 rgba(0,0,0,0.2);
	box-shadow: 0 15px 50px 0 rgba(0,0,0,0.2);
}

.search #left-area .et_pb_post .image-container,
.blog #left-area .et_pb_post .image-container,
.archive #left-area .et_pb_post .image-container,
.search #left-area .et_pb_post .et_main_video_container,
.blog #left-area .et_pb_post .et_main_video_container,
.archive #left-area .et_pb_post .et_main_video_container,
.search #left-area .et_pb_post .et_pb_slider,
.blog #left-area .et_pb_post .et_pb_slider,
.archive #left-area .et_pb_post .et_pb_slider {
	margin: -30px -30px 25px;
}

.search .et_pb_post  h2.entry-title,
.blog .et_pb_post  h2.entry-title,
.archive .et_pb_post  h2.entry-title {
	line-height: 1.1;
	font-size: 20px;
	margin-top: 0;
	padding-bottom: 5px;
}

.search .et_pb_post .post-meta,
.search .et_pb_post .post-meta a,
.blog .et_pb_post .post-meta,
.blog .et_pb_post .post-meta a,
.archive .et_pb_post .post-meta,
.archive .et_pb_post .post-meta a  {
	font-size: 12px !important; 
	text-transform:uppercase;
	line-height: 1.5; 
	color: #a7a7a7 !important;
}

.search .et_pb_post .post-content p,
.blog .et_pb_post .post-content p,
.archive .et_pb_post .post-content p {
	margin-bottom: 15px;
}

.search .et_pb_post .more-link,
.blog .et_pb_post .more-link,
.archive .et_pb_post .more-link  {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 15px;
	line-height: 1;
}

.search .et_pb_post .more-link:after,
.blog .et_pb_post .more-link:after,
.archive .et_pb_post .more-link:after {
	font-family: ETmodules;
	content: '\24';
	margin-left: 5px;
	line-height: 1.2;
}

@media (min-width: 1051px) {
	.search.et_full_width_page #left-area .et_pb_post,
	.blog.et_full_width_page #left-area .et_pb_post,
	.archive.et_full_width_page #left-area .et_pb_post  { 
		width: 32%;  
	}
	.search.et_full_width_page #left-area .et_pb_post:nth-child(3n),
	.blog.et_full_width_page #left-area .et_pb_post:nth-child(3n),
	.archive.et_full_width_page #left-area .et_pb_post:nth-child(3n) {
		margin-right: 0 !important;
	}
}

@media (min-width: 740px) and (max-width: 1050px) {
	.search.et_full_width_page  #left-area .et_pb_post,
	.blog.et_full_width_page  #left-area .et_pb_post,
	.archive.et_full_width_page #left-area .et_pb_post  { 
		width: 49%;  
	}
	.search.et_full_width_page #left-area .et_pb_post:nth-child(2n),
	.blog.et_full_width_page #left-area .et_pb_post:nth-child(2n),
	.archive.et_full_width_page #left-area .et_pb_post:nth-child(2n) {
		margin-right: 0 !important;
	}
} 

@media (min-width: 740px) {
	.search  #left-area .et_pb_post,
	.blog  #left-area .et_pb_post,
	.archive #left-area .et_pb_post  {
		float: left; 
		margin: 0 2% 30px 0;
		vertical-align: top;
	}
	.search.et_left_sidebar  #left-area .et_pb_post,
	.blog.et_left_sidebar  #left-area .et_pb_post,
	.archive.et_left_sidebar #left-area .et_pb_post,
	.search.et_right_sidebar  #left-area .et_pb_post,
	.blog.et_right_sidebar  #left-area .et_pb_post,
	.archive.et_right_sidebar #left-area .et_pb_post  { 
		width: 49%;  
	}
	.search.et_left_sidebar #left-area .et_pb_post:nth-child(2n),
	.blog.et_left_sidebar #left-area .et_pb_post:nth-child(2n),
	.archive.et_left_sidebar #left-area .et_pb_post:nth-child(2n),
	.search.et_right_sidebar #left-area .et_pb_post:nth-child(2n),
	.blog.et_right_sidebar #left-area .et_pb_post:nth-child(2n),
	.archive.et_right_sidebar #left-area .et_pb_post:nth-child(2n) {
		margin-right: 0 !important;
	}
}

.et_pb_post .et_pb_gallery_post_type .et_pb_slide {
	min-height: 250px; 
}

.search #left-area .et_pb_post.format-quote,
.blog #left-area .et_pb_post.format-quote,
.archive #left-area .et_pb_post.format-quote,
.search #left-area .et_pb_post.format-link,
.blog #left-area .et_pb_post.format-link,
.archive #left-area .et_pb_post.format-link,
.search #left-area .et_pb_post.format-audio,
.blog #left-area .et_pb_post.format-audio,
.archive #left-area .et_pb_post.format-audio  {  
	padding: 0; 
}

.et_audio_content h2, .et_link_content h2, .et_quote_content blockquote p {
	line-height: 1.5;
	font-size: 20px;
}
 
.et_pb_post.format-quote .et_quote_content:before {
	font-family: ETmodules;
	text-align: center;
	font-size: 50px;
	line-height: 1;
	font-weight: bold;
	display: block;
	margin-top: -10px;
	margin-bottom:5px;
	color: rgba(0,0,0,0.15); 
	content: '\7b';
} 

/* SEARCH FORM */

.search .search-box { 
	margin: 0 auto 60px;  
	width: 100%;
	max-width: 700px;
	display: block; 
} 

.search .search-box form {
	position: relative;
	overflow: hidden; 
}

.search .search-box label {
	display: none;
} 
.search .search-box  input[type=text] {
	padding:  0 125px 0 25px !important;
	font-size: 15px;
	line-height: 50px;
	height: 50px;
	border-radius: 30px;
	width: 100%; 
	border: 1px solid #E3E3E3;
	display: block;
}

.search .search-box  input[type=submit] {
	width: 100px;
	font-size: 16px;
	font-weight: 500;
	border: none;
	box-shadow: none; 
	color: #fff;
	border-radius: 30px;
	position: absolute;
	top: 0;
	right: 0;
	height: 50px;
	padding: 0;
	text-align: center;
	line-height: 50px;
}

.search .entry {
	margin-bottom: 50px;
}
 
/* NAVIGATION */

.wp-pagenavi {
	border: none; 
	text-align: center;
}
 
.single-project-gallery .et_pb_gallery_pagination ul li  {
	float: none;
	display: inline-block;
	padding: 5px 3px;
}

.wp-pagenavi a,
.wp-pagenavi span.current {
	padding: 5px 20px;
	font-size: 14px;
	line-height: 1.3; 
	border-radius: 30px !important;
	font-weight: 600 !important;
	background: transparent  !important;
	transition: 0.3s all;
}

.wp-pagenavi a {
	border: 1px solid  rgba(0,0,0,0.1) !important;
	color: #000 !important;
}

.wp-pagenavi span.current {
	border-width: 1px  !important;
	border-style: solid  !important; 
}

.wp-pagenavi a:hover {
	color: #fff !important; 
}

/* SINGLE POST */

.single-post .interior-header h2.entry-title { 
	font-weight: 900;
	line-height: 1.1;
}

@media (min-width: 981px) {
	.single-post .interior-header h2.entry-title {
		font-size:40px;
	}
}

@media (min-width: 767px) and (max-width: 980px) {
	.single-post .interior-header h2.entry-title {
		font-size:37px;
	}
}

@media (max-width: 766px) {
	.single-post .interior-header h2.entry-title {
		font-size:32px;
	}
} 

.single-post .interior-header .post-meta,
.single-post .interior-header .post-meta a {
	color: rgba(255,255,255,0.75) !important;
	font-size: 15px !important;
	line-height: 1.5;
}

.single-post .et_main_thumbnail_container {
	text-align: center;
}

.single-post .pb_disabled .entry-content { 
	font-size: 15px;
	line-height: 1.5;
	max-width: 950px;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
}

.single .et_pb_post {
	margin-bottom: 0;
}

/* RELATED POSTS */

.related-posts {
	font-size: 0;
	line-height: normal;
	padding: 65px 0 70px; 
	border-top: 1px solid #F9F9F9;
	border-bottom: 1px solid #F9F9F9;
	position: relative;
	background: #F9F9F9;
}

.related-posts:before,
.related-posts:after {
	content: '';
	border-top: 1px solid #F9F9F9;
	border-bottom: 1px solid #F9F9F9;
	background: #F9F9F9;
	width: 100%;
	position: absolute;
	height: 100%;
	top: -1px;
}

.related-posts:before {
	right: 100%;
}

.related-posts:after {
	left: 100%;
}

.related-posts h1 {  
	font-weight: 900;
	font-size: 35px;
	line-height: 1.15;
	position: relative;
	padding-bottom: 0;
	margin-bottom: 30px;
} 

.related-posts h1:before {
	position: absolute;
	right: 100%;
	right: calc(100% + 20px);
	top: 50%;
	content: '';
	width: 1000%; 
	height: 1px;
}

.related-thumb-wrapper { 
	position: relative;  
	background: #fff;
	-webkit-box-shadow: 0 15px 25px 0 rgba(0,0,0,0.06);
	box-shadow: 0 15px 25px 0 rgba(0,0,0,0.06);
	transition: 0.5s ease-in-out;
	padding-bottom: 25px;
}

.related-thumb-wrapper .thumb-container {
	height: 200px;
	background: #222;
	position: relative; 
}

.related-thumb-wrapper .thumb-container img {
	max-width: none;
	height: 200px;
	width: 100%;
	object-fit: cover;
}

.related-thumb h3.post-title {
	line-height: 1.1;
	font-size: 19px;
	padding: 20px 20px 10px;
} 

.related-thumb a.more-link {
	margin: 0 20px ; 
	text-transform: uppercase;
	font-weight: bold;
	font-size: 15px;
	line-height: 1; 
}

.related-thumb  .more-link:after {
	font-family: ETmodules;
	content: '\24';
	margin-left: 5px;
	line-height: 1.2;
}

@media (min-width: 791px) {
	.related-thumb {
		width: 33.33%; 
		padding: 0 15px;
		display: inline-block;
		vertical-align: top;
	} 
	.related-posts {
		margin-left:  -15px;
		margin-right:  -15px;
	} 
	.related-posts h1 {
		margin-left: 15px;
	}
}

@media (max-width: 790px) {
	.related-thumb {
		margin-bottom: 25px;
	}
}

/* POST NAVIGATION */

.post-navigation {
	margin-top: 30px;
	position: relative;   
	border-top: 1px solid #ddd;   
	font-size: 0;
}

.post-navigation:before,
.post-navigation:after {
	content: '';
	border-top: 1px solid #ddd;  
	width: 100%;
	position: absolute;
	height: 100%;
	top: -1px;
}

.post-navigation:before {
	right: 100%;
}

.post-navigation:after {
	left: 100%;
}

@media (min-width: 791px)  {
	.post-navigation .post-navigation-previous  ,
	.post-navigation .post-navigation-next {
		width: 50%;
		 display: inline-block;
		 position: relative;
		 overflow: hidden;
		 vertical-align:middle;
	} 
	.post-navigation .navi-content {
		position: relative;
	}
	.post-navigation .navi-content:before {
		height: 100%;
		width: 50%;
		position: absolute;
		top: 0;
		left: 0;
		content: '';
		border-right: 1px solid #ddd;
	}
	.post-navigation .post-navigation-previous {    
		text-align: right;
	} 
	.post-navigation .post-navigation-previous a {
		padding-left: 60px;
	}
	.post-navigation .post-navigation-next a {
		padding-right: 60px;
	} 
	.post-navigation .post-navigation-next a:before { 
		right: 0;
	}
	.post-navigation .post-navigation-previous,
	.post-navigation .post-navigation-next  {   
		padding: 30px; 
	}  
}

@media (max-width: 790px)  {
	.post-navigation {
		padding: 20px 0;
	}
	.post-navigation a {
		display: block;
		font-size: 17px !important;
	}
	.post-navigation .post-navigation-previous a {
		margin-bottom: 10px; 
	}
	.post-navigation .post-navigation-next a,
	.post-navigation .post-navigation-previous a {
		padding-left: 60px;
	} 
	.post-navigation .post-navigation-next a:before { 
		left: 0;
	}
	.post-navigation .post-navigation-previous,
	.post-navigation .post-navigation-next  {   
		padding: 15px !important; 
	}   
}

.post-navigation span {
	text-transform: uppercase;
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	line-height: 1.5;
}

.post-navigation .post-navigation-previous a,
.post-navigation .post-navigation-next a {  
	position: relative;
	transition: 0.3s, ease-in;  
	display: block;
	font-weight: bold;
	font-size: 18px;
	line-height: 1.15;
	color: #000;
} 

.post-navigation .post-navigation-previous a:before,
.post-navigation .post-navigation-next a:before {
	font-family: 'ETmodules';
	width: 38px;
	height: 38px;
	text-align: center;
	font-size: 28px;
	line-height: 38px;
	display: block;
	border-radius: 1px;
	border-width: 1px  !important;
	border-style: solid  !important;  
	color: #000;
	position: absolute;
	top: 50%;
	margin-top: -19px;
}

.post-navigation .post-navigation-previous a:before {
	content: "\34";
	left: 0;
}

.post-navigation .post-navigation-next a:before {
	content: "\35"; 
}
 
/* COMMENT AREA */

#commentform {
	padding-bottom: 30px;
	position: relative;
	overflow: hidden;
}

h1#comments, 
h3#reply-title  { 
	font-weight: 900; 
	font-size: 30px;
	color: #000;
	padding-bottom: 0px;
	position: relative; 
}

h1#comments {
	margin-bottom: 30px;
}

h3#reply-title {
	margin-bottom: 5px;
}

h3#reply-title  a#cancel-comment-reply-link {
	font-family: "Open Sans" !important;
	font-size: 14px;
}

.single #comment-wrap {
	padding-top: 70px;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.single .comment_area .comment-reply-link {
	padding:  5px 15px !important;
	border-width: 1px  !important;
	border-style: solid  !important;  
	color: #000;
	font-weight: 600;
	font-size: 14px;
	border-radius: 30px;
	top: 0;
}

.single .comment_area .comment-reply-link:hover {
	padding:  5px 25px 5px 10px !important;  
}

.single .comment_area .comment-reply-link:after {
	font-size: 19px !important;
	line-height: 22px !important;
}

.comment #respond {
	margin-bottom: 30px;
}

.form-submit .et_pb_button {
	font-weight: bold;
	font-size: 17px;
	line-height: 1.5 !important;
	padding: 14px 30px  !important;
	color: #000  !important;
	border-radius: 30px; 
}

.form-submit .et_pb_button:hover {
	color: #fff !important; 
}

#commentform input[type=email], 
#commentform input[type=text], 
#commentform input[type=url], 
#commentform textarea { 
	padding: 10px 15px;
	font-size: 14px;
	line-height: 1.5; 
	border: 1px solid #ddd;
	background: transparent !important;
	transition: all 0.3s, ease-in-out;
}

@media (min-width: 700px)  {
	p.comment-form-author, p.comment-form-email, p.comment-form-url {
		width: 32%;
		float: left;
	}
	p.comment-form-author, p.comment-form-email {
		margin-right: 2%;
	}
	p.comment-form-author input, p.comment-form-email input, p.comment-form-url input {
		width: 100% !important;
		display: block;
	}
}

/* SIBEBAR */

#sidebar h4.widgettitle {
	line-height: 1.15;
	padding-bottom: 0;
	padding-top: 2px;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 16px;
	color: #000;
	text-transform: uppercase;
	padding-left: 8px;
	border-left-width: 2px  !important;
	border-left-style: solid  !important;  
}

#sidebar li {
	padding: 10px;
	margin: 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	font-size: 14px;
	line-height: 1.4;
}

#sidebar li:last-child {
	border: none;
}

#sidebar li a {
	position: relative;
	transition: all 0.2s ease-in-out 0s;
	display: block;
}

#sidebar li a:before {
	margin-right: 5px;
	font-family: ETmodules;
	content: '\24'; 
	line-height: 1.2; 
	position: absolute;
	top: 50%;
	left:-10px;
	font-weight: bold;
	font-size: 16px;
	line-height: 1;
	margin-top: -8px;
	opacity: 0;
	transition: all 0.2s ease-in-out 0s;
}

#sidebar li a:hover,
#sidebar li.current-cat a {
	padding-left: 15px !important; 
}

#sidebar li a:hover:before,
#sidebar li.current-cat a:before {
	opacity: 1;
}

/* Fixes */

@media (max-width: 980px) {
	.et_left_sidebar #left-area, .et_left_sidebar #sidebar, .et_right_sidebar #left-area, .et_right_sidebar #sidebar { 
	    position: relative;
	    overflow: hidden;
	}
}