/*
* Custom CSS
* --------------------------------------------------
* Origin : Free Consultancy Template
* Customize Author : Rizki Akbar
* Author Email : akasa855@gmail.com
* Author Website : #
*/

/*
Custom front style main css
*/

.footer .single-footer {
    padding-top: 70px;
    padding-bottom: 0;
    border-right: 2px solid rgba(238, 238, 238, 0.158);
    height: fit-content;
}

#social-share-buzz #social-links {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

#social-share-buzz #social-links li {
    display: inline-block;
    list-style: none;
    margin: 0 0.2em;
}

#social-share-buzz #social-links li a {
    display: inline-block;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: #fff;
    color: revert;
    font-size: 0.9em;
    transition: all 0.3s ease-in-out;
}

:where(.list-post, .list-post-3,.view-post, .widget-tautan) .img_container{
    position: relative;
    max-width: 100%;    
    margin-top: 5px;
    margin-bottom: 5px;    
}

/* ###################### Top List 3 ####################### */
.list-post-3 {

}
.list-post-3 .img_container{
    min-height: 200px;
    background: #f9f9f9;
}

.list-post-3 .img_container .img_thumbnail{
    position: absolute;
    min-width: 100%;
    height: 100%;        
    object-fit: contain;
}

.list-post-3 .button .btn{
    padding: .375rem .375rem;
    margin-left: 2em;
}

/* ###################### Top List 3 End ####################### */

.list-post .card-header{
    background-color: #88C250;
    color: #FFF;
}

.view-post .img_container .img_thumbnail{
    position: absolute;
    width: inherit;
    height: 100%;        
    object-fit: cover;
}

.view-post .img_container{
    min-height: 300px;    
}

.view-post .img_container .overlay{
    min-width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.3);
    color: #FFF;    
}

.view-post .img_container .overlay :where(h1,h2,h3,h4,h5).title{
    color: inherit;
    width: 70%;
}

.view-post .card-text{
    text-align: justify;
    letter-spacing: .03em;
}

.view-post .card-text :where(h1,h2,h3,h4,h5){
    position: relative;
    margin: 20px 0;
    background: inherit;
    padding-left: 1em;
}

.view-post .card-text :where(h1,h2,h3,h4,h5)::before{
    position: absolute;
    content: "";
    height: 100%;
    width: 20px;
    top: 0;
    left: 0;
    margin-right: 1em;
    background: #88C250;
}

.view-post .card-text ul{
    list-style-type: disc;
    padding: 0 2em;
    margin: 0.5em 1em 1.2em 0;
}

.view-post .card-text ol{
    list-style: auto;
    padding: 0 1.5em 1em 2em;
}

.view-post .card-text p{
    margin-bottom: .5rem;
}

.view-post .card-header {
    background-color : rgba(136, 194, 80, .7);
    color : #FFF;
    padding: 0.3rem 1rem;
}

.list-post .img_container{
    min-height: 200px;
    background: #f9f9f9;
}

.list-post .img_container .img_thumbnail{
    position: absolute;
    min-width: 100%;
    height: 100%;        
    object-fit: contain;
}

.list-post .button .btn{
    padding: .375rem .375rem;
    margin-left: 2em;
}

.button.link .btn{
    padding: .375rem .375rem;
    background-color: #16aaff !important;
}

.button.link .btn::before{
    background-color: #004b63 !important;
}



/* #################### Widget ###################### */

.widget-tautan .img_container{
    height: 80px;
    width: 80px;
    /* background: #f9f9f9; */
    margin-left: .45em;
    margin-right: .45em;
}

.widget-tautan a{
    position: relative;
    display: block;
    color: #000;
    background-color: #f4f4f4;
    z-index: 1;
}

.widget-tautan a::before{
    position: absolute;
    content : ""; 
    z-index: -1;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #88C250;
    width: 0;
    transition: width .5s ease-in-out;
}


.widget-tautan a:hover::before{
    width: 100%;
}

.widget-tautan .row{    
    /* border: solid 0.5px rgba(0,0,0,.3); */
    /* margin-bottom: 0.5em; */
}

.widget-tautan .img_container .img_thumbnail{
    position: absolute;
    min-width: 100%;
    height: 100%;        
    object-fit: contain;
}

.widget-tautan .card-body .tautan-detail{
    flex: 1 0 0%;
    padding: 0 0.74em;
}

.widget-tautan .card-body .card-body{
    padding: 0.5em 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.widget-tautan .card-body .card-title{
    font-size: 13px;
    font-weight: 600 !important;
}

.widget-tautan .card-body .card-text{
    font-size: 11px;
    line-height: 1;
    margin-bottom: .5em;
}

.widget-tautan .button .btn{
    padding: .375rem .375rem;
    margin-left: 2em;
}


/* #################### Ads ###################### */
/*
pop up mini ads corner fixed
*/
#ads-corner {
    position: fixed;
    right: 0;
}

#ads-corner.ads-fixed-bottom {
    position: fixed;
    bottom: 20px;
    z-index: 999;
}

#ads-corner.ads-fixed-top {
    position: fixed;
    top: 20px;
    z-index: 999;
}

#ads-corner .close-btn {
    position: absolute;
    font-size: 1.75em;
    font-weight: bolder;
    cursor: pointer;
    z-index: 999;
    color: black;
}

.ads-box-100 {
    width: 100px;
    height: 100px;
    background: #f9f9f9;
    border: solid 1px rgba(0,0,0,.3);
    border-radius: 0 0 0 5px;
    margin: 0.5em;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.ads-box-150 {
    width: 150px;
    height: 150px;
    border: solid 1px rgba(0,0,0,.3);
    border-radius: 0 0 0 5px;
    margin: 0.5em;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
}

#ads-corner .ads-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#ads-corner .ads-content {
    box-shadow: 0 0 5px rgba(0,0,0,.3);
}

#ads-corner .ads-content .img_thumbnail{
    position: absolute;
    background: #f9f9f9;
    min-width: 100%;
    height: 100%;        
    object-fit: contain;
}

#ads-corner .ads-content .img_thumbnail{
    position: absolute;
    min-width: 100%;
    height: 100%;        
    object-fit: contain;
}


#ads-corner .ads-content .img_thumbnail:hover{
    opacity: .5;
}

#ads-corner .ads-content .img_thumbnail:active{
    opacity: .5;
}
/*
create #ads-home-rectangle with ads-rectangle-150 ads-center
*/

.ads-rectangle-150 {
    position: relative;
    height: 152px;
    background: #f9f9f9;
    border: solid 1px rgba(0,0,0,.3);
    border-radius: 0 0 0 5px;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-inline: .8em;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.ads-rectangle-150 .img_thumbnail{
    position: absolute;
    min-width: 100%;
    height: 100%;        
    object-fit: fill;
}

#home-ads-rectangle {
    position: relative;
    max-width: 100%;    
    margin-top: 5px;
    margin-bottom: 5px;
}

#home-ads-rectangle .content {
    flex: 0 0 auto;
    width: 650px;
}

/*
create #news-page-ads with ads-rectangle-80 ads-center
*/

.ads-rectangle-80 {
    position: relative;
    height: 82px;
    background: #f9f9f9;
    border: solid 1px rgba(0,0,0,.3);
    border-radius: 0 0 0 5px;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-inline: .8em;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.ads-rectangle-80 .img_thumbnail{
    position: absolute;
    min-width: 100%;
    height: 100%;        
    object-fit: fill;
}

#news-page-ads {
    position: relative;
    max-width: 100%;    
    margin-top: 20px;
    margin-bottom: 5px;
}

#news-page-ads .content-pc {
    flex: 0 0 auto;
    width: 1000px;
}

#news-page-ads .content-mobile {
    display: none;
}

@media (max-width : 1000px) {
    #news-page-ads .content-pc {
        display: none;
    }
    #news-page-ads .content-mobile {
        display: block;
        flex: 0 0 auto;
        width: 500px;
    }
}

@media only screen and (max-width: 760px) {
    #home-ads-rectangle {
        display: none;
    }
}

@media only screen and (max-width: 512px) {
    #news-page-ads {
        display: none;
    }
}
