/*------------------------------------*\
    
    Posts CSS
 
    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

\*------------------------------------*/

.blog__container {
    margin-top: 50px;
    margin-bottom: 50px;    
}

.blog__container h2{
    scroll-margin-top: 4em;
}

.blog__container h3{
    scroll-margin-top: 6em;
}

.widget .widget_search {
    margin-bottom: 50px;
}

[type="search"] {
    background: #E7E7E7;
    border-radius: 0px !important;
}

ul li::before {
    content: '\e904';
    position: absolute;
    top: 2px;
    left: -4px;
    font-weight: normal;
    color: #000;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    border: none;
    font-size: 10px;
    font-family: 'icomoon';
}

.blog .page-sidebar .widget ul li::before {
    content: '\e904';
    position: absolute;
    top: 2px;
    left: -4px;
    font-weight: normal;
    color: #000;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    border: none;
    font-size: 10px;
    font-family: 'icomoon';
}



.widget .widget_search {
    margin-bottom: 50px;
}

article.blog__box {
    border-bottom: 1px solid #e6e7f0;
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.article.blog__box img,
.blog__image img {
    height: auto;
}

.search-content.blog {
    margin-top: 50px;
    width: 100%;
    margin-bottom: 20px;
}

p.blog__upper {
    margin-top: -20px;
}

.post-item {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    margin-top: 30px;
}

.post-item:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.post-item__heading a {
    text-decoration: none;
}

.blog__content > a {
	text-decoration: none;
}

.blog__content > a:hover {
	color: #000;
}

.post-item .btn,
.post-item .btn-primary {
    margin-top: 30px;
}

.post-item__meta {
    font-size: .8em;
}

.blog__pagination {
	margin-top: 50px;
}

@media (min-width: 768px) {
	
	.blog__container {
		margin-top: 80px;
		margin-bottom: 80px;
	}
	
	.blog__pagination {
		margin-top: 80px;
	}

}

@media (min-width: 1025px) {
	
	.blog__container {
		margin-top: 100px;
		margin-bottom: 100px;
	}

    .post-item {
        padding-top: 50px;
        margin-top: 50px;
    }
	
	.blog__pagination {
		margin-top: 100px;
	}

}


/**
 * Sidebar
 */

/* Blog Sidebar */

aside.page-sidebar {
    margin-top: 50px; 
}

.page-sidebar .widget {
    padding-bottom: 5px;
    clear: both;
}

.page-sidebar .widget_categories {
	margin-bottom: 20px;
}

.page-sidebar .widget ul li::before {
    content: '\e904';
    position: absolute;
    top: 2px;
    left: -4px;
    font-weight: normal;
    color: #000;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    border: none;
    font-size: 10px;
    font-family: 'icomoon';
}

.page-sidebar .search-content {
	margin-top: 0;
	margin-left: 0;
	float: none;
	max-width: 100%;
	height: 48px;
	border: none;
}


/**
* FX Load More
*/

/* Load More Progress Bar */
.load-more__progress {
    margin-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border: 0;
    border-radius: 0;
    min-width: 250px;
}
progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
    height: 10px;
    border: 0;
    border-radius: 0; 
}
progress::-webkit-progress-bar {
    background-color: #ddd;
}
progress::-webkit-progress-value {
    background-color: #4a4a4a; /* TODO: Please add a branded background color for progress bar value */
}

/* Loading Indicator */
.is-loading:before  {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid;
    border-color: #E3E3E3 #E3E3E3 transparent;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: simpleSpin 1.5s linear infinite;
    animation: simpleSpin 1.5s linear infinite;
}

/* Load More Button */
.load-more__btn {
    border: 0;
    display: block;
    margin-top: 20px;
}

.load-more__btn.is-loading {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more__btn.is-loading:before {
    width: 20px;
    height: 20px;
}

/* Placeholder Space */
.placeholder-block {
    position: relative;
    display: flex;
}

.placeholder-block__inner {
    flex-grow: 1;
    background-color: #fafafa;
}

.placeholder-block.is-loading:before {
    width: 50px;
    height: 50px;
}

@-webkit-keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}


/* Search Results */
.search-result {
    text-decoration: none;
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd ;
    display: block;
}

.search-result:hover {
    color: #000;
}

.search-result__title {
    margin-bottom: 16px;
}

.search-result__excerpt {
    margin-bottom: 20px;
}
