:root {
    --custom1-color: #048853;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f3fff4;
}


/* top bar */

.top-bar {
    background: #f3fff4;
    height: 50px;
    padding: 15px 0;
    font-size: 12px;
    letter-spacing: .1rem;
    color: #000;
}

.top-bar a {
    color: white;
    text-decoration: none;
    font-size: 8px;
    letter-spacing: .1rem;
}


/* end top bar */


/* navigation */

.btn-outline-nav {
    color: #fff;
    background-color: transparent;
    border-color: #4fbfa8;
    font-weight: bold;
    border-radius: 0;
}

.btn-outline-nav:hover,
.btn-outline-nav:active,
.btn-outline-nav:focus,
.btn-outline-nav.active {
    background: #4fbfa8;
    color: #ffffff;
    border-color: #4fbfa8;
}

.btn-colour-1 {
    color: #fff;
    background-color: #004E64;
    border-color: #004E64;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 0;
}

.btn-colour-1:hover,
.btn-colour-1:active,
.btn-colour-1:focus,
.btn-colour-1.active {
    /* let's darken #004E64 a bit for hover effect */
    background: #003D4F;
    color: #ffffff;
    border-color: #003D4F;
}

.nav-color {
    background-color: #00985b;
    transition: all ease-in-out 0.3s;
}

.navbar-brand img {
    height: 3rem;
}

.navbar {
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
}

.nav-item {
    padding: 5px;
}

.nav-link {
    color: #fff!important;
}

.nav-link.active,
.nav-link:hover {
    color: #000!important;
}


/* end navigation */


/* carousel */

#carousel {
    box-shadow: 0 .1rem .1rem rgba(0, 0, 0, .1);
}

.carousel-inner {
    max-height: 38rem!important;
}


/*---Change Carousel Transition Speed --*/

.corousel-item-next,
.corousel-item-prev,
.corousel-item-active {
    transition: transform 1.2s ease;
}


/*-- Carousel Content --*/

.carousel-caption {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    text-transform: uppercase;
}

.carousel-caption.caption-satu {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    text-transform: uppercase;
}

.carousel-caption.caption-dua {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    text-transform: uppercase;
}

.bg-custom {
    background-color: rgba(0, 0, 0, .4);
    color: white;
    border-radius: 1rem;
}

.carousel-caption h1 {
    font-size: 3.8rem;
    text-shadow: .1rem .1rem .3rem rgba(0, 0, 0, 1);
}

.border-primary {
    border-top: .2rem solid #4981b3!important;
}

.carousel-caption h3 {
    font-size: 2.2rem;
    text-shadow: .1rem .1rem .2rem rgba(0, 0, 0, 1);
}


/* end carousel */


/* layanan */

#layanan {
    padding: 100px 0;
}

#layanan h2 {
    font-size: 48px;
    font-weight: 500;
    color: var(--custom1-color);
}

.sub-title-layanan {
    font-size: 18px;
    color: #000;
}

.card-layanan {
    width: 100%;
    height: 350px;
    border-radius: 5px;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 0 7px 3px rgba(0, 0, 0, 0.05);
    transition: all .2s ease-in;
}

.circle-icon {
    width: 70px;
    height: 70px;
    background-color: var(--custom1-color);
    border-radius: 50%;
    transition: all .1s ease-in;
}

.card-layanan h3 {
    color: var(--custom1-color);
    font-size: 24px;
    transition: all .2s ease-in;
}

.card-layanan p {
    color: #000;
    font-size: 14px;
    transition: all .3s ease-in;
}

.card-layanan a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: all .3s ease-in;
}

.card-layanan:hover {
    width: 100%;
    height: 330px;
    border-radius: 5px;
    background: linear-gradient(160deg, var(--custom1-color), #000);
    padding: 40px;
    box-shadow: 0 0 7px 3px rgba(0, 0, 0, 0.05);
    transition: all .3s ease-in;
}

.card-layanan:hover .circle-icon {
    background-color: #fff;
    transition: all .3s ease-in;
}

.card-layanan:hover h3 {
    color: #fff;
    font-size: 24px;
    transition: all .3s ease-in;
}

.card-layanan:hover p {
    color: #fff;
    font-size: 14px;
    transition: all .3s ease-in;
}

.card-layanan a:hover {
    color: #fff;
    font-size: 14px;
    transition: all .3s ease-in;
}


/* end layanan */


/* regulasi */

#regulasi {
    padding: 100px 0;
}

#regulasi h2 {
    font-size: 48px;
    font-weight: 500;
    color: var(--custom1-color);
}

.sub-title-regulasi {
    font-size: 18px;
    color: #000;
}


/* end regulasi */


/* berita */

#berita {
    padding: 100px 0;
}

#berita h2 {
    font-size: 48px;
    font-weight: 500;
    color: var(--custom1-color);
}

.sub-title-berita {
    font-size: 18px;
    color: #000;
}

.date-news {
    font-size: 13px;
}

.judul-berita-front {
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 5px 0;
    text-align: center;
    color: var(--custom1-color);
}

.isi-berita-front {
    font-size: 14px;
    text-align: justify;
}

.berita-full .container {
    margin-top: 5%;
    margin-bottom: 5%;
}

.judul-berita-full {
    font-size: 40px;
    color: var(--custom1-color);
    font-weight: 500;
    text-align: center;
}

.tanggal-berita-full {
    font-size: 12px;
}

.foto-berita-full {
    text-align: center;
}

.isi-berita-full {
    font-size: 16px;
}


/* end berita */


/* galeri */

#galeri {
    padding: 100px 0;
}

.judul-galeri {
    font-size: 48px;
    font-weight: 500;
    color: var(--custom1-color);
    float: left;
}

.button-galeri {
    background-color: var(--custom1-color);
    border: none;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    padding: 18px 20px 18px 20px;
    float: right;
}

.button-galeri:hover {
    background-color: #8B0000;
    border: none;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    transition: all ease-in-out 0.3s;
}


/* end galeri */


/* kontak kami */

#contact {
    background-image: url(../img/kontak-kubar.png);
    margin-top: 158px;
    background-size: cover;
    background-repeat: no-repeat;
}

#contact .overlay {
    background: rgba(0, 0, 0, 0.5);
}

#contact .container {
    padding: 148px 0 148px 0;
}

#contact h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    color: #fff;
}

#contact h6 {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #fff;
    margin: 19px 0 14px 0;
}

.kontak a {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    text-decoration: none;
    margin-left: 18px;
    width: 332px;
    display: inline-block;
}

.hubungi-kami {
    color: #ffffff;
    font-size: 14px;
    line-height: 18px;
}

.hubungi-kami a {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    transition: all 0.5s;
    text-decoration: none;
    margin-left: 18px;
    display: inline-block;
}

.hubungi-kami a:hover {
    border-bottom: 1px dashed rgba(242, 242, 242, 0.25);
}

.medsos a i {
    color: #fff;
    margin-right: 5px;
    display: inline-block;
}

.card-contact {
    width: 100%;
    height: 445px;
    background: #fff;
    border-radius: 5px;
    padding: 52px 48px;
}

.card-contact h2 {
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    color: #00985b;
    text-align: center;
    margin-bottom: 21px;
}

.card-contact .form-control {
    background: #c4c4c4;
    height: 75px !important;
    border-radius: 0;
}

.card-contact .form-floating {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
    color: #717171;
}

.button-kontak {
    width: 100%;
    height: 75px;
    background: #00985b;
    border: none;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: #fff;
}


/* end kontak kami */


/* footer */

.box-footer {
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 60px 0 0 0;
}

.box-footer .dinas-footer {
    display: flex;
    letter-spacing: 1px;
    padding-top: 10px;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.box-footer .dinas-footer img {
    margin-right: 8px;
    margin-top: 2px;
    width: 60px;
    height: 70px;
}

.box-footer .dinas-footer span {
    font-size: 16px;
}

.box-footer .sosmed-footer {
    list-style: none;
    text-align: right;
    margin-right: 40px;
    margin-top: 30px;
}

.box-footer .sosmed-footer li {
    list-style-type: none;
    display: inline-block;
    padding-left: 10px;
    padding-top: 5px;
}

.box-footer .sosmed-footer li a {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
    height: 50px;
    width: 50px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    line-height: 50px;
}

.box-footer .sosmed-footer li a:hover {
    color: #f2c808;
}

.box-footer .kontak-footer {
    padding-top: 10px;
    padding-left: 5px;
}

.box-footer .kontak-footer hr {
    border-color: #F05F40;
}

.box-footer .kontak-footer h4 {
    text-transform: uppercase;
}

.box-footer .kontak-footer p {
    font-size: 14px;
    padding: 0;
}

.box-footer .kontak-footer ul {
    padding-left: 0px;
}

.box-footer .kontak-footer li {
    list-style-type: none;
    font-size: 14px;
}

.box-footer .kontak-footer i {
    margin-right: 10px;
    padding-right: 10px;
}

.box-footer .link-terkait-footer {
    padding-top: 10px;
    padding-left: 5px;
}

.box-footer .link-terkait-footer h4 {
    text-transform: uppercase;
}

.box-footer .link-terkait-footer ul {
    padding-left: 0px;
}

.box-footer .link-terkait-footer li {
    list-style-type: none;
    font-size: 14px;
}

.box-footer .link-terkait-footer i {
    margin-right: 10px;
    padding-right: 10px;
}

.box-footer .link-terkait-footer a {
    color: #fff;
    font-size: 15px;
    font-weight: 20px;
    transition: all 0.5s;
    text-decoration: none;
}

.box-footer .link-terkait-footer a:hover {
    border-bottom: 1px dashed rgba(242, 242, 242, 0.25);
}

.box-footer .box-copyright {
    margin: 0;
    padding: 60px;
}

.box-footer .box-copyright .text-copyright {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 14px;
}

.box-footer .box-copyright .text-copyright a {
    color: #fff;
}

.box-footer .box-copyright .text-copyright a:hover {
    border-bottom: 1px dashed rgba(242, 242, 242, 0.5);
    transition: all .3s ease-in;
    text-decoration: none;
}


/* end footer */


/* peta */

.box-peta-simtaru {
    margin-top: 3%;
    margin-bottom: 3%;
}

.nav-peta-simtaru .nav-link {
    color: #000!important;
}

#map {
    width: 100%;
    height: 700px;
    border: 1px solid rgba(242, 242, 242, 0.5);
}

.peta {
    margin: 0;
    padding: 0;
    color: #000;
}

.peta a {
    color: #000;
}

.peta .leaflet-control-layers {
    max-height: 550px;
    overflow: auto;
}

.peta .leaflet-popup-content-wrapper {
    background: #e0e0e0;
    color: #000;
    font-size: 12px;
    line-height: 14px;
    border-radius: 0px;
}

.peta .leaflet-popup-content-wrapper a {
    color: rgba(255, 255, 255, 0.5);
}

.peta .leaflet-popup-tip-container {
    width: 30px;
    height: 15px;
}

.peta .leaflet-popup-tip {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #2c3e50;
}

.peta th {
    font-size: 12px;
    font-weight: 600;
}

.peta td {
    font-size: 11px;
}

[data-toggle="collapse"] .fa:before {
    content: "\f139";
}

[data-toggle="collapse"].collapsed .fa:before {
    content: "\f13a";
}

#accordion {
    max-height: 400px;
    max-width: 400px;
    overflow: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}


/* end peta */


/* login pemohon */

.login-publik .container {
    margin-top: 5%;
    margin-bottom: 8%;
}

.login-publik h1 {
    font-weight: 600;
    font-size: 60px;
    color: var(--pr-color);
}

.login-publik span {
    font-size: 20px;
    color: var(--pr-color);
}

.login-publik p {
    font-size: 14px;
    margin-top: 10px;
    color: #000;
}

.box-login {
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
    padding: 30px 30px;
}


/* end login pemohon */


/* daftar pemohon */

.box-register {
    margin-top: 5%;
    margin-bottom: 5%;
}

.box-register h1 {
    font-weight: 600;
    font-size: 20px;
}

.box-register p {
    font-size: 12px;
}

.wajib-diisi {
    color: red;
}


/* end daftar pemohon */


/* halaman galeri */

.galeri-full .container {
    margin-top: 5%;
    margin-bottom: 5%;
}


/* end halaman galeri */

@media screen and (max-width: 1999px) {
    .navbar {
        font-size: 12px;
    }
    .btn-outline-nav {
        font-size: 14px;
    }
    .btn-colour-1 {
        font-size: 14px;
    }
    .card-layanan h3 {
        font-size: 20px;
        text-align: center;
    }
    .card-layanan:hover h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 1076px) {
    .navbar {
        font-size: 12px;
    }
    .btn-outline-nav {
        font-size: 14px;
    }
    .btn-colour-1 {
        font-size: 14px;
    }
}

@media screen and (max-width: 922px) {
    .judul-galeri {
        font-size: 30px;
    }
    .button-galeri {
        padding: 18px 10px 18px 10px;
        font-size: 15px;
    }
}

@media screen and (max-width: 765px) {
    .judul-galeri {
        font-size: 30px;
        margin-bottom: 5px;
    }
    .button-galeri {
        padding: 18px 10px 18px 10px;
        font-size: 15px;
        margin-bottom: 5px;
        float: left;
    }
}