/*
Theme Name: TFCA New
Theme URI: https://wordpress.org/themes/twentyfifteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: twentyfifteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
body {
    /* font-family: "Proxima Nova", sans-serif; */
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: .9vw;
    line-height: 170%;
    /* letter-spacing: .02rem */
}
.title,
h1,
h2,
h3,
h4,
h5 {
    font-family: 'PT Serif', serif;
    /* font-family: 'Oswald', sans-serif; */
    /* font-family: 'Open Sans', sans-serif; */
    /* font-weight: 500; */
}
p {

    font-size: 1.14em;
    /* letter-spacing: 1.1px; */
    line-height: 1.75;
    /* margin-top: 16px; */
    /* color: #2f2f2f; */
}
.bg-dark {
    background-color: #424242!important;
    color: #fff;
}
.bg-green {
    background-color: #06A354!important;
    color: #fff;
}
.bg-yellow {
    background-color: #EE940C!important;
    color: #fff;
}
.bg-red {
    background-color: #A02020!important;
    color: #fff;
}
.text-red {color: #A02020;}
.text-dark {color: #424242!important;}
.text-green {color: #06A354!important;}
/* * {
    transition: all .1s;
} */
a {
    color: inherit;
}
.text-shadow {
    text-shadow: 1px 1px 10px #000!important;
}
.card-columns {column-gap: 30px;}
.jumbotron {padding: 0;}

.jumbotron .card-img-overlay {
    position: relative;
    padding: 1.25em;
    margin-top: 10em;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%)
}
.jumbotron h2 {
    font-size: 2.5em;
}
.jumbotron .card-img-overlay p {
    font-size: 1.25em;
    line-height: 1.5
}
.jumbotron img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
}
.scroll-x {
    width: 100%;
    overflow-x: scroll;
}
.max-width-40 {
    max-width: 40%;
}
.max-width-50 {
    max-width: 50%;
}
.scroll-x>* {
    width: max-content;
}
#js-header.smaller .navbar-brand img {
    width: 70px;
}
#js-header.smaller .nav-link {
    font-size: 12px
}
.container.read-box {
    max-width: 960px;
}
.container.read-box img {
    /*max-width: 100%;*/
    /*height: auto;*/
    max-width: 50%;
    height: auto;
    margin-right: 10px;
    float: left;

}
.wp-caption-text {
    font-size: .9em;
    color: #6c757d;
}
.wp-caption {
    max-width: 100%;
    float: left;
    margin-right: 24px;
}
nav .navbar-nav .nav-item > a.nav-link:hover {
     background: inherit!important;
}
.navbar-brand {
    border-radius: 0 50rem 50rem;
    overflow: hidden;
}
.navbar-brand img {
    width: 8vw;
    max-width: 150px;
    min-width: 60px;
    padding: 20px;
    background-color: rgba(255, 255, 255, .5);
}
a:hover {
    text-decoration: inherit;
}
a.navbar-brand:hover img {
    background-color: rgba(255, 255, 255, 1);
}
.rounded, .rounded-lg {
    border-radius: 10px!important;
    overflow: hidden;
}

nav.navbar {
    background: linear-gradient(180deg, rgba(1, 1, 1, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}
nav.navbar .dropdown-menu a:hover {
    background-color: #06A354;
    color: #fff;
}

.carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}
.carousel-indicators .active {
    background-color:#A02020 ;
}
.homeSlider .carousel-inner img {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    object-position: center;
}
.homeSlider .carousel-inner:after {
    display: inline-block;
    width: 100%;
    position: absolute;
    height: 50%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    bottom: 0;
}
.pendekatan {
    bottom: 70px;
}
.pendekatan img {
    width: 50px;
}
.homeSlider .carousel-caption {
    bottom: 25%;
}
.line-title {
    position: relative;
}
.line-title:before {
    display: inline-block;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #C4C4C4;
    position: absolute;
}
.pagination li a,
.pagination li span {
    color: #6c757d!important;
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    font-weight: 300!important;
    border-radius: 5px;
}
.pagination li a:hover {
    background-color: #424242;
    color: #fff!important;
}
.pagination li span.current {
    color: #fff!important;
    background-color: #424242;
}
.list-penerima-hibah P {
    margin-bottom: 4px;
}

#maps {
    height: 100vh;
}
.bentang-alam {
    position: relative;
}
.hero-bentang-alam {
    display: inline-block;
    position: absolute;
    bottom: 100px;
    left: 44px;
}
.popup-bentang-alam {
    display: inline-block;
    position: absolute;
    bottom: 130px;
    left: 30px;
    z-index: 9;
    max-width: 300px;
    opacity: 0;
}
.list-bentang-alam {
    width: 40%;
    padding: 32px;
    top: 0;
    right: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.75)
}
.list-bentang-alam a {
    background-image: url('theme/img/icons8-marker.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left center;
    padding-left: 24px;
}
.list-bentang-alam a:hover {
    padding-left: 28px;
    color:#06A354!important;
    display: inline-block;
    width: 100%;
    background-color: #fff;
}
.achievement .row a:nth-child(1) span.display-3:before {
    content: "";
    display: inline-block;
    background-image: url('theme/img/icons8-sprout.svg');
    background-repeat: no-repeat;
    background-size: 70%;
    width: 100%;
    height: 100%;
    position: absolute;
    left: -14%;
    bottom: 0%;
    opacity: .15;
}
.achievement .row a:nth-child(2) span.display-3:before {
    content: "";
    display: inline-block;
    background-image: url('theme/img/icons8-forest.svg');
    background-repeat: no-repeat;
    background-size: 70%;
    width: 100%;
    height: 100%;
    position: absolute;
    left: -14%;
    bottom: 0%;
    opacity: .15;
}
.achievement .row a:nth-child(3) span.display-3:before {
    content: "";
    display: inline-block;
    background-image: url('theme/img/icons8-dog_paw.svg');
    background-repeat: no-repeat;
    background-size: 70%;
    width: 100%;
    height: 100%;
    position: absolute;
    left: -14%;
    bottom: 0%;
    opacity: .1;
}
.achievement .row a:nth-child(4) span.display-3:before {
    content: "";
    display: inline-block;
    background-image: url('theme/img/icons8-grass.svg');
    background-repeat: no-repeat;
    background-size: 70%;
    width: 100%;
    height: 100%;
    position: absolute;
    left: -14%;
    bottom: 0%;
    opacity: .1;
}
.achievement span small {
    font-size: 1.2rem;
}
.achievement span.d-block {
    position: relative;
    overflow: inherit;
}
.achievement span.d-block:after {
    display: inline-block;
    width: 30px;
    height: 30px;
    content: "";
    position: absolute;
    bottom: -15px;
    transform: rotate(45deg);
    left: calc(50% - 15px);
    z-index: -1;
}
.achievement span.d-block.bg-green:after {
    background: #2aa353;
}
.achievement span.d-block.bg-yellow:after {
    background: #EE940C;
}
.achievement span.d-block.bg-red:after {
    background: #A02020;
}
.achievement span.d-block.bg-dark:after {
    background: #424242;
}
.card-img-overlay.bottom {
    top: inherit;
}

.gallery .card:hover img {
    opacity: .5;
}
.gallery .card {
    cursor: zoom-in;
}
.icon-play {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    z-index: 99;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    background-image: url(theme/img/icons8-circled_play.svg);
}
.gallery .modal-dialog {
    max-width: min-content;
}
.gallery .modal-dialog .modal-footer {
    justify-content: center;
}
.gallery .modal img {
    max-height: 80vh;
    max-width: 80vw;
    width: auto;
    height: auto;
}
.button-mitra {
    /* background-color: #e0e0e0; */
}
.button-mitra span {
     height: 72px;
     width: 72px;
     display: inline-block;
}
.button-mitra a {
    line-height: 72px;
    font-size: 21px;
}
.button-mitra a:hover {
    opacity: inherit;
    color: #fff;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.button-mitra span.bg-green {
    border-radius: 50rem 0 50rem 50rem;
    text-align: center;
}
.button-mitra a.bg-green {
    border-radius: 0 50rem 50rem;
}
.button-mitra span.bg-red {
    border-radius: 50rem 50rem 0 50rem;
    text-align: center;
}
.button-mitra a.bg-red {
    border-radius: 50rem 50rem 50rem 0;
}
.info-grafis {
    background-color: #f1f1f1;
}
.info-grafis .carousel-item img {
    width: auto;
    max-width: 40%;
    height: 230px;
    object-fit: cover;

}
.info-grafis .carousel-indicators {
    top: 100%;
    right: inherit;
    margin: 0;
}
.info-grafis .carousel-indicators li {
    background-color: #ccc;
}
.info-grafis .carousel-indicators li.active {
    background-color: #06A354;
}

/* .link a img {
    filter: grayscale(1);
} */
.link a:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.title-footer {
    color: #c4c4c4;
    font-size: 12px;
    letter-spacing: .3px;
    border-bottom: 1px solid rgba(196, 196, 196, 0.26);
}
footer a {
    color: #E9E9E9;
    font-size: 14px;
}
footer .bg-white {
    border-radius: 0 50rem 50rem;
}
.jumbotron-shadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
}
.nav-item .nav-link.all-media {
    background-image: url(theme/img/stack_of_photos.svg);
}
.nav-item .nav-link.photo {
    background-image: url(theme/img/picture.svg);
}
.nav-item .nav-link.video {
    background-image: url(theme/img/film.svg);
}
.nav-item .nav-link.detail {
    background-image: url(theme/img/icons8-popup.svg);
}
.nav-item .nav-link.detail:hover,
.nav-item .nav-link.detail.active {
    background-image: url(theme/img/icons8-popup-w.svg);
}
.nav-item .nav-link.news {
    background-image: url(theme/img/icons8-news.svg);
}
.nav-item .nav-link.news:hover,
.nav-item .nav-link.news.active {
    background-image: url(theme/img/icons8-news-w.svg);
}
.nav-item .nav-link.give {
    background-image: url(theme/img/icons8-trust.svg);
}
.nav-item .nav-link.give:hover,
.nav-item .nav-link.give.active {
    background-image: url(theme/img/icons8-trust-w.svg);
}
.nav-item .nav-link.all-media:hover,
.nav-item .nav-link.all-media.active {
    background-image: url(theme/img/stack_of_photos-w.svg);
}
.nav-item .nav-link.photo:hover,
.nav-item .nav-link.photo.active {
    background-image: url(theme/img/picture-w.svg);
}
.nav-item .nav-link.video:hover,
.nav-item .nav-link.video.active {
    background-image: url(theme/img/film-w.svg);
}
.nav-link {
    /* background-color: rgba(196, 196, 196, 0.50); */
    background-repeat: no-repeat;
    background-position: 1.5rem center;
    background-size: 1rem;
}
.nav-link:hover,
.nav-link.active {
    background-color: #06A354!important;
    color: #fff!important;
}
.durasi-hibah *{
    margin: 0!important
}
second .nav-link:hover,
second .nav-link.active {
    background-color: #424242;
    color: #fff;
}
/* .news .col-lg-8 .card img {
    height: 420px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.news .card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: center;
} */

.menu-search.dropdown-toggle::after {
    content: none!important;
}
.img-detail-news {
    width: 50%;
}
.img-detail-news img {
    width: 100%;
}
.nav-tabs .nav-item .nav-link,
.nav-tabs .nav-link {

border-radius: 10px 10px 0 0;

}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: #!important;
    border: 1px solid #06A354;
    color: #fff!important;
    border-radius: 10px 10px 0 0;
}
.publikasi-list .card img {
    height: 200px;
    object-fit: contain;
    object-position: center;
}
.list-stories .row>div {
    display: inline-block;
    width: 66.666667%;
    padding: 0 15px
}
.list-stories .row>div:nth-child(4n+0) {
    width: 33.333333%;
}
.list-stories .row>div:nth-child(4n+1) {
    width: 33.333333%;
}
.listing-detail-stories .card-img-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.8169468470982143) 0%, rgba(0,0,0,0) 59%);
}
.listing-detail-stories p {
    font-size: 1.4em
}
.list-stories .card:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8169468470982143) 0%, rgba(0,0,0,0) 59%);
    z-index: 1;
}
.list-stories .card .card-img-overlay {
    z-index: 2
}



.list-stories .card img.first-img {
    height: calc(600px + 1.5rem);
}
.list-stories .card img {
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.items-list-stories {
    height: 100vh;
}
.items-list-stories img {
    object-fit: cover;
    width: 100%;
}
.items-list-stories img.h-100 {
    height: 100vh!important;

}
.items-list-stories img.h-50 {
    height: 50vh!important;

}

.faq {
    column-count: 2;
}
.faq .card {
    background-image: url('theme/img/icons8-faq.svg');
    background-repeat: no-repeat;
    background-size: 60px;
    padding-left: 50px;
    background-position-y: 12px;
}
.map-info {
    max-width: 400px;
}
.map-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 120px;
}
.komitmen_hibah * {
    margin-bottom: 0!important;
}

// bilingual style
.onoffswitch input {
    outline: none;
}
/* base styles */
.onoffswitch input[type="checkbox"] {
    height: 20px;
    width: 20px;
    vertical-align: middle;
    margin: 0 0.4em 0.4em 0;
    background: rgba(255, 255, 255, 1);
    border: 1px solid #AAAAAA;
    -webkit-appearance: none;
}

/* border radius for checkbox */
.onoffswitch input[type="checkbox"] {
    border-radius: 2px;
}

/* hover state */
.onoffswitch input[type="checkbox"]:not(:disabled):hover {
    border: 1px solid rgba(58, 197, 201, 1);
}

/* active state */
.onoffswitch input[type="checkbox"]:active:not(:disabled) {
    border: 1px solid rgba(58, 197, 201, 1);
}

/* .onoffswitch input checked border color */
.onoffswitch input[type="radio"]:checked,
.onoffswitch input[type="checkbox"]:checked {
    border: 1px solid rgba(58, 197, 201, 1);
}

.onoffswitch input[type="checkbox"]:checked:not(:disabled) {
    background: rgba(58, 197, 201, 1);
}


/* checkbox checked */
.onoffswitch input[type="checkbox"]:checked:before {
    font-weight: bold;
    color: white;
    content: '\2713';
    margin-left: 2px;
    font-size: 14px;
}

/* disabled .onoffswitch input */
.onoffswitch input:disabled {
    background: rgba(0, 0, 0, 0.3);
    &:checked {
        border: 1px solid rgba(0, 0, 0, 0.3);
    }
}


/* SWITCH STYLES */
/* SOURCE: https://proto.io/freebies/onoff/ */
.onoffswitch {
    position: relative; width: 50px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid #FFFFFF; border-radius: 20px;
    margin-bottom: 0;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 16px; padding: 0; line-height: 16px;
    font-size: 10px; color: black; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "IN";
    padding-left: 10px;
    background-color: transparent;
    color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "EN";
    padding-right: 10px;
    background-color: transparent;
    color: #FFFFFF;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 8px; margin: 5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 30px;
    border: 2px solid #FFFFFF; border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        font-size: .8rem;
    }
    .faq {
        column-count: inherit;
    }
    .rounded, .rounded-lg {
        border-radius: 5px!important;
    }
    #js-header.smaller .navbar-brand img {
        width: 50px;
    }
    .homeSlider .carousel-inner img {
        width: 100%;
        height: auto;
        min-height: 50vh;
        object-fit: cover;
    }
    .homeSlider .carousel-indicators {
        bottom: -20px;
    }
    .homeSlider .carousel-caption {display: inline!important;}
    .homeSlider .carousel-caption {bottom: 0;}
    .homeSlider .carousel-caption h1 {font-size: 1.2rem;}
    .carousel .carousel-indicators li {
        width: 8px;
        height: 8px;
    }
    .pendekatan {
        position: relative!important;
        bottom: 0;
        background: #000;
        padding: 16px 0;
    }
    .pendekatan>div {
        text-align: center;
        margin: 0 10px!important;
    }
    .pendekatan>div img {
        width: 50px;
    }
    .pendekatan>div span {
        font-size: 8px;
    }
    .achievement .display-3 {
        font-size: 2.5rem!important;
    }
    .achievement span {
        font-size: 0.75rem!important;
    }

    .news h5 {
        font-size: .9rem;
        margin-bottom: .4rem;
    }
    .gallery .card-columns {
        /* column-count: 2; */
    }
    .button-mitra {
        margin-top: 5rem;
        padding-left: 0!important;
    }
    .info-grafis {
        flex-direction: column;
    }
    .info-grafis h2 {
        margin-top: 0!important;
        text-align: center;
        margin-bottom: 2rem;
    }
    .link .d-flex,
    .info-grafis>.d-flex {
        flex-direction: column!important;
    }
    .info-grafis .carousel-item img {
        height: 140px;
    }
    .info-grafis h5 {
        font-size: 1rem;
    }
    .button-mitra span {
        height: 62px;
        width: 62px;
    }
    .button-mitra a {
        line-height: 62px;
        font-size: 18px;
    }
    .link a img {
        filter: inherit;
    }
    .jumbotron {
        padding: 0;
    }
    .jumbotron p {
        font-size: 10px;
    }
    .img-detail-news {
        margin-right: 0!important;
        margin-bottom: 20px;;
    }
    .img-detail-news img {
        width: 100%;
        height: auto;
    }
    footer .row>div {
        margin-bottom: 3rem;
    }
    .list-stories .row>div {
        width: 100%;
    }
    .list-stories .row>div:nth-child(4n+0),
    .list-stories .row>div:nth-child(4n+1),
    .list-stories .row>div {
        width: 100%;
    }
    .list-bentang-alam {
        position: relative!important;
        width: 100%;
    }
    .info-grafis {
        padding: 2rem 1rem !important
    }
    .items-list-stories {
        height: inherit;
    }
    .wp-caption {
        margin-right: 0;
    }
}

/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { ... }

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { ... }

/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { ... }

/* // Extra large devices (large desktops) */
/* // No media query since the extra-large breakpoint has no upper bound on its width */