/*--------------------------------------------------------------
# ARCHIVE

For blog page and archives pages like category, author etc.. 
ONLY for post type = post 
ADD your own stylesheet for custom post type archive 
OR, if it uses sames styles, add it to enqueue style function in functions.php 

--------------------------------------------------------------*/

/*BLOG*/
.entry-header {
    background-color: #FFF;
    padding-bottom: 100px;
}

.entry-header h1 {
	margin-top: 100px;
	display: flex;
	justify-content: center;
	text-align: center;
}

.header-right li {
	font-style: italic;
	list-style: none;
}

.key-takeaway {
	margin: 40px 0;
	text-align:  left;
	font-size: 1.4rem;
}

.key-takeaway h2 {
	margin-top: 20px;
	margin-bottom: 40px; 
	font-family: "Prata", serif;
	font-size: 2rem;
	text-transform:  initial;
}

.entry-header-container .related-post-more {
    float: left;
}

.related-post-more {
	text-transform: uppercase;
    font-weight: bold;
    font-size: 1.6rem;
    float: right;
    clear: both;
    color: #bc8e4e;
}

.post-thumbnail img {
    object-fit: cover;
    object-position: top center;
    display: block;
    margin: auto;
}

@media screen and (min-width: 1024px) {
	.entry-header-container {
		display: flex;
		padding-top: 150px;
		height: 100vh;
	}
	.entry-header h1 {
		margin-top: 200px;
	}
	.header-right {
		margin : auto;
		margin-left: 20px;
	}
	.post-thumbnail img {
		height: calc(100vh - 200px);
		max-width: 512px;
    	margin-right: 75px;
	}
}

@media screen and (max-width: 1023px) {
	.entry-meta {
		text-align: center;
	}
	.key-takeaway ul {
		padding-left: 0;
	}
	.key-takeaway li {
		margin-bottom: 12px;
	}
}
.company-post-list {
	margin-bottom: 0px;
    max-width: 100%;
    margin: auto;
}
body .company-post-list .owl-carousel .owl-stage-outer {
	padding: 30px 0px 50px;
}
body .company-post-list .owl-carousel .owl-nav button:focus {
	outline: none;
}
body .company-post-list .owl-carousel .owl-nav button {
	width: 45px;
	height: 45px;
	background-color: #fff;
	border-radius: 45px;
	box-shadow: 0px 6px 25px 2px rgba(184,184,184,0.5);
}
body .company-post-list .owl-carousel .owl-nav button:hover {
	background-color: #fff;
}
.company-post-list .owl-nav {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 50%;
	line-height: 45px;
	left: -65px;
	right:  -65px;
}
.company-post-list .owl-nav span {
	font-size: 45px;
	display: inline-block;
	line-height: 38px;
}
.company-post-list .slide {
	text-decoration: none;
	color: #000;
	box-shadow: 0px 6px 25px 2px rgba(184,184,184,0.5);
	background-color: #fff;
}

.company-post-list-title {
	font-family: 'Roboto Condensed', sans-serif;
	margin-bottom: 0;
	text-transform: uppercase;
}

.company-post-list-content {
	padding: 0 12px 35px;
}

.company-post-list-content-title {
	margin-bottom: 0;
	font-size: 1.6rem;
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;  
	-webkit-line-clamp: 2;
	line-clamp: 2;
	min-height: 50px;
	text-transform: uppercase;
	font-family: 'Roboto Condensed', sans-serif;

}

@media screen and (max-width: 992px) {
	.company-post-list .owl-nav {
		top: 18%;
		left: -15px;
		right: -15px;
	}
}

@media screen and (max-width: 767px) {
	 .company-post-list .owl-nav {
	 	display: none;
	 }
	.company-post-list .owl-nav {
		left: 0px;
		right: 0px;
	}
}

.company-post-list span {
color: #bc8e4e;
}

.company-post-list-image {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 55%;
}

.company-post-list p {
  display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
  -webkit-box-orient: vertical;  
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.company-post-list-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog .tptn_posts_list_widget:after {
	height: 1px;
	width: 50px;
	color: #000000;
}

.blog .tptn_posts ul{
	display: flex;
	padding-right: 40px;
	padding-left: 30px;
} 

.blog .tptn_posts li{
width: 25%;
 margin : 0 10px;
}

.blog hr {
	width: 30vw;
}


.category .post,
.blog .post {
	max-width: calc(100% - 30px);
	margin : 20px auto;
}

.category .entry-title a,
.blog .entry-title a {
	text-decoration: none;
	font-family: "Prata", serif;
    font-size: 3.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.1;
    color: #000000;
}

.content-blog {
	width: 1400px;
	margin: 0 auto;
	max-width: calc(100% - 30px);
}

.category .article-list,
.blog .article-list {
	display: flex;
	flex-wrap:wrap;
    justify-content: center;
    width: 1300px;
    max-width: 100%;
    margin: 0 auto;
}

.category .post-content a,
.blog .post-content a {
	text-decoration: none;
}

.category .post-content .desc-post,
.blog .post-content .desc-post {
	color : #000000;
}

.category .article-list h3,
.blog .article-list h3 {
	margin-top: 7px;
	color : #000000;
}

.category .article-list .related-post-more a,
.blog .article-list .related-post-more a {
	color : #b88f51 ;

}

.article-list img {
	height: 250px;
	object-fit: cover;
}

.category .post .post-content,
.blog .post .post-content {
	position: relative;
    overflow: auto;
    margin: -56px 0 0;
    padding: 10px 20px;
    background-color: #FFFFFF;
    z-index: 3;
    box-shadow: 0px 6px 25px 2px rgba(184,184,184,0.5);
    color : #000000;
}

.blog .nav-pills {
	list-style: none;
	margin : 80px auto;
	text-align: center;
	padding: 0;
}

.blog .filter {
	margin: 0 5px;
	text-transform: uppercase;
	cursor: pointer;
}

@media screen and (max-width: 1025px ) {
	.blog .filter {
		margin: 0 20px;
	}
	.blog .nav-pills {
		margin : 20px auto;
	}
}

@media screen and (min-width: 768px) {
	.fixed-form {
		position: sticky;
		top: 180px;
	}
	.article-list img,
	.blog .post .post-content {
		width: 85%;
	}
	.nav-pills {
		display: flex;
		justify-content: center;
	}
}

.blog .search-post {
	display: block;
	background-image: url(../svg/blog_search.svg);
    background-position: center right;
    background-repeat: no-repeat;
    width: 100%;
}

.blog .check-filter {
	position: relative;
	top: -2px;
	opacity: 0;
	display: inline-block;
}

.category .filter:hover .check-filter,
.blog .filter:hover .check-filter {
	opacity: 1;
	transition: all 0.7s;
}

.category .filter.active .check-filter,
.blog .filter.active .check-filter {
	opacity: 1;
}


.widget-area .widget-title {
	padding-left: 20px;
	padding-bottom: 10px;
}

.widget-area li {
	list-style: none;
}

.widget-area .tptn_after_thumb {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    border-top: 1px solid #cfcfcfc7;
    border-bottom: 1px solid #cfcfcfc7;
    padding-top: 10px;
}

.single .widget-area .tptn_after_thumb {
	border-bottom: solid 1px #cfcfcfc7;
}

.widget-area .tptn_date {
    padding-top: 0px;
    padding-bottom: 10px;
    font-size: 1.1rem;
}

.widget-area .tptn_excerpt {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
}

.widget-area .tptn_after_thumb a {
	text-decoration: none;
	font-family: "Prata", serif;
    font-size: 1.2rem;
}

.misha_loadmore{
	border-color: #bc8e4e;
    border-radius: 50px;
    background: #bc8e4e;
    padding: 12px 20px; 
    font-size: 1.4rem;
    color: #FFFFFF;
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    width: 150px;
    margin : 20px auto;
    text-align: center;
    cursor: pointer;
}


.ui-autocomplete {
	z-index: 8;
	background-color: #fff;
}

/* Blog emerging */ 

.emerging-post-list-title {
	margin: 40px 0 25px;
	color: #bc8e4e;
	font-family: "Prata", serif;
	text-transform: none;
	font-size: 1.6rem;
	letter-spacing: 1px;
}

.blog-post-emerging > .emerging-post-list {
	position: sticky;
	top: 0px;
	padding: 20px 0 80px;
}

.emerging-post-list-image {
	position: relative;
	height: 0;
	width: 35%;
	min-width: 35%;
	padding-bottom: 35%;
	margin-right: 15px;
}

.emerging-post-list-image img {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.emerging-post-list .slide {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
} 

.emerging-post-list-content-title {
	margin: 0;
	font-size: 1.6rem;
}

.emerging-post-list-content-title a {
	display: block;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
}

@media screen and (max-width: 1023px) and (min-width: 993px) {
	.emerging-post-list .slide {
		display : block;
	}
	.emerging-post-list-image {
		width: 100%;
		padding-bottom: 100%;
		margin-bottom: 20px;
	}
	.category .filter,
	.blog .filter {
		margin: 0 3px;
	}
}

@media screen and (min-width: 992px) {
	.blog-posts {
		/*display: flex;*/
	}
	.blog-posts .blog-posts-filter {
		width: 100%;
	}
	.emerging-post-list-title {
		margin-top: 160px;
	}
}

@media screen and (min-width: 993px)  {
	.category .article-list article,
	.blog .article-list article {
		width:  calc(50% - 40px);
		padding-bottom: 50px;
		margin-top: 50px;
	}
	.blog .post .post-content {
	    float: right;
	}
}

/* CATEGORY */

.category .site-content .category-container {
	padding: 0px 0 65px;
	width: 1200px;
    margin: 0 auto;
    max-width: calc(100% - 30px);
}

.category .page-header {
	/*background-color: #cee2d7;*/
}
.category .page-header .page-header-content {
	padding: 35px 0;
	width: 1200px;
    margin: 0 auto;
    max-width: calc(100% - 30px);

}

.category .widget-area .widgets {
	position: sticky;
	top: 65px;
	padding-top: 65px;
} 

.page-header-image img {
	display: block;
	margin: auto;
}

@media screen and (min-width: 992px) {
	.category .site-content .category-container {
		display: flex;
	}
	.category .page-header .page-header-content {
		display: flex;
		align-items: center;
		padding: 65px 0;
	}
	.category .page-header  .page-header-content > div {
		width: 50%;
		min-width: 50%;
	}
	.category .site-content  #primary {
		width: 70%;
	}
}

/*search*/

.searchform {
	position: relative;
	width: 495px;
	max-width: 100%;
	margin: 30px auto 80px;
}

@media screen and (max-width: 768px) {
	.searchform {
		margin-top: 0;
		overflow: hidden;
	}
}

.search-submit {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 45px;
	opacity: 0;
	cursor: pointer;
}

/* Autocomplete */ 
#autocomplete-list {
	width: 100%;
	max-width: 495px;
	margin: auto;
}

#autocomplete-list .ui-autocomplete {
	display: block !important;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 100% !important;
}

#autocomplete-list .ui-autocomplete li {
	margin-bottom: 0;
}

#autocomplete-list .ui-autocomplete a {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	padding: 15px;
	-ms-align-items: center;
	align-items: center;
	text-decoration: none;
	color: #000;
	font-weight: bold;
	font-size: 1.6rem;
	background-color: rgba(0,0,0,0);
	transition: all 0.4s;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

#autocomplete-list .ui-autocomplete a:hover {
	background-color: rgba(0,0,0,0.05);
}

#autocomplete-list .ui-autocomplete img {
	margin-right: 15px;
}

.article-list {
	transition: opacity 0.4s;
}

/* LOAD MORE */

.loadmore-container {
	margin: 35px 0 70px;
	text-align: center;
}

.mahii-loadmore {
	display: inline-block;
	padding: 15px 30px;
	background-color: #000;
	color: #fff;
	transition: all 0.4s;
}

.mahii-loadmore:hover {
	cursor: pointer;
	background-color: #333;
	color: #fff;
}
/* loader */ 
.loarder-container {
	padding: 25px 0 65px;
	text-align: center;
}

.loader-05 {
	display: inline-block;
	width: 40px;
	height: 40px;
	color: inherit;
	vertical-align: middle;
	pointer-events: none;
	border: 5px solid #000;
	border-top-color: #333;
	border-radius: 50%;
	animation: 1s loader-05 linear infinite;
	position: relative;
}

@keyframes loader-05 {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
