:root {
    --primary: #0c50b1;
    --secondary: #f5a50b;
    --light: #f6f4f9;
    --dark: #04000b;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h4 {
    color: var(--primary);
}

a,
a:hover {
    text-decoration: none;
}

/* p {
    color: #191b1f;
    font-size: 16px;
    text-align: justify;
} */

.bg-hijau {
    background-color: var(--primary) !important;
    /* background: linear-gradient(160deg, var(--primary), #1c55d9); */
    /* height: 100vh; */
}

.garis {
    display: block;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto;
    margin-bottom: 30px;
}

#top-bar {
    background-color: var(--primary);
    color: #fff;
    min-height: 50px;
    line-height: 50px;
    border-radius: 0 0 50px 50px;
}

.top-contact,
.socmed {
    list-style: none;
    padding: 0;
}

#top-bar li {
    display: inline-block;
}

#top-bar li a {
    color: #fff;
    display: inline-block;
    padding: 0 10px;
}

#top-bar li a i {
    color: var(--secondary);
    margin-right: 5px;
}

#top-bar .socmed li a {
    padding: 0 2px;
}

#top-bar .socmed li a i {
    color: #fff;
}

header {
    padding: 30px 0;
}

.brand {
    display: flex;
}

.brand img {
    margin-right: 20px;
}

.brand .brand-title h1 {
    font-size: 25px;
    color: var(--primary);
    text-transform: uppercase;
}

.brand .brand-title h3 {
    font-size: 18px;
    /* font-family: Raleway, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    /* text-transform: uppercase; */
    letter-spacing: 5px;
    color: #999;
}

.bingkai-searchbox {
    display: flex;
    align-items: center;
}

.txt-cari {
    border-radius: 50px 0 0 50px;
}

.btn-cari {
    border-radius: 0 50px 50px 0;
}

.searchbox {
    width: 100%;
}

.btn.btn-primer {
    background-color: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn.btn-primer:hover {
    background-color: var(--secondary);
}

.tombol {
    font-size: 12px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/* CSS untuk Navbar */

.navbar {
    padding: 0;
    min-height: 50px;
    border-bottom: 5px solid var(--secondary);
}

.nav-link {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.25px;
}

.navbar a {
    padding: 15px;
    height: 50px;
}

.navbar a:hover {
    background-color: var(--secondary);
    font-weight: bold;
    color: var(--light);
    border-radius: 10px 10px 0 0;
    height: 50px;
}

.dropdown-menu li a:hover {
    border-radius: 0 0 0 0;
}

.bg-biru {
    background-color: var(--primary) !important;
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.active {
    background-color: var(--secondary);
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

.navbar-dark .navbar-nav .nav.link {
    display: inline-block;
}

/* CSS untuk slider */

#hero-area {
    position: relative;
}

#hero-area img {
    width: 100%;
    height: 520px;
}

#slider-hero-nav .owl-prev,
#slider-hero-nav .owl-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    border: none;
    background-color: var(--primary);
    color: #fff;
    outline: none;
    padding: 10px 25px;
    font-size: 20px;
    transition: backgroud-color 0.3s;
}

#slider-hero-nav .owl-prev {
    left: 0px;
    border-radius: 0 50px 50px 0;
}

#slider-hero-nav .owl-next {
    right: 0px;
    border-radius: 50px 0 0 50px;
}

#slider-hero-nav .owl-prev:hover,
#slider-hero-nav .owl-next:hover {
    cursor: pointer;
    background-color: var(--secondary);
}

#hero-area .slider-item-content {
    position: absolute;
    top: 60%;
    left: 2%;
    /* transform: translate(50%, 50%); */
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    font-family: Raleway, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    width: 40%;
    border-right: var(--secondary) 10px solid;
    border-radius: 0px 120px 0px 0px;
}

#hero-area .slider-item-content h2 {
    font-size: 35px;
    font-weight: 500;
    color: white;
}

#hero-area .slider-item-content p {
    font-size: 14px;
    font-family: Raleway, sans-serif;
    font-weight: normal;
    color: white;
    /*line-height: 28px;*/
}

#hero-area .slider-item-content a,
.daftar,
.tombol {
    border-radius: 50px 50px 50px 50px;
}

.kotak-judul {
    border-bottom: 40px solid var(--primary);
    border-left: 1px solid transparent;
    border-right: 40px solid transparent;
    height: 0;
    width: fit-content;
    margin-top: 30px;
    padding-top: 5px;
}

.kotak-judul .judul {
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.img-responsive {
    width: 100%;
}

#gallery {
    margin-top: 50px;
}

#gallery img {
    width: 100%;
    height: 200px;
}

#gallery img:hover {
    transform: scale(1.05, 1.05);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
    opacity: 0.5;
}

/* Section Title */

.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    width: 30px;
    height: 2px;
}

.section-title span:last-child {
    margin-right: 0;
    margin-left: 30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 2px;
    top: 0;
    right: -20px;
}

.section-title span:last-child::after {
    right: auto;
    left: -20px;
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
    background: var(--primary);
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background: #ffffff;
}

/* Team */

.team-item img {
    margin-left: auto;
    margin-right: auto;
    max-width: 200px;
    max-height: 200px;
}

.team-item .btn {
    color: var(--primary);
    background: #ffffff;
}

.team-item .btn:hover {
    color: #ffffff;
    background: var(--primary);
}

.team-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* css sambutan kepsek */

.about p {
    text-indent: 50px;
}

.about blockquote {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    background-color: #f3f3f3;
    border-left: 5px solid var(--secondary);
    margin-bottom: 0;
    margin-left: 50px;
    padding: 30px;
}

#visi img {
    width: 300px;
    height: 300px;
    padding: 40px;
}

#visi blockquote {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 25px;
    font-style: italic;
    margin-bottom: 0;
    padding: 20px;
}

#visi ul li {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 20px;
}

/* CSS kegiatan */

/*artikel*/

.kegiatan img {
    height: 200px;
}

.kegiatan p {
    font-size: 14px;
    color: #04000b;
}

.kegiatan h5 {
    font-size: 18px;
    color: var(--primary);
    max-lines: 2;
}

.artikel img {
    height: 200px;
}

.artikel p {
    color: #04000b;
}

.artikel .prop-artikel {
    font-size: 12px;
    color: #888;
}

/* WIsata */

.wisata img {
    height: 200px;
}

.wisata .card-title {
    max-lines: 2;
}

/* berita */

.berita .card {
    height: 120px;
}

.berita .card:hover h5 {
    color: var(--primary);
}

.berita img {
    height: 118px;
}

.berita h5 {
    color: black;
}

.berita .prop-artikel {
    font-size: 12px;
    color: #888;
}

.beritas .card {
    height: 220px;
}

.beritas .card:hover h4 {
    color: var(--primary);
}

.beritas img {
    width: 100%;
    height: 218px;
}

.beritas h4 {
    color: black;
    font-weight: 700;
}

.beritas .prop-artikel {
    font-size: 14px;
    color: #888;
}

.beritas .card-text {
    color: black;
}

/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    padding: 0 30px 30px 30px;
}

.testimonial-carousel .active {
    background-color: white;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Single Post */

.single {
    position: relative;
    padding: 45px 0;
}

.single .title {
    color: black;
    font-size: 32px;
    font-weight: 700;
}

.single .prop-artikel {
    font-size: 14px;
    color: #888;
    /* background-color: var(--primary); */
    margin-bottom: 20px;
}

.single .single-content {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.single .single-content .garis {
    margin-bottom: 5px;
}

.single .single-content img {
    /* margin-bottom: 20px; */
    margin: 15px;
    width: 100%;
}

.single .single-content .txt-content {
    margin-top: 30px;
}

.single .single-tags {
    margin: -5px -5px 41px -5px;
    font-size: 0;
}

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    border: 1px solid #4a4c70;
}

.single .single-tags a:hover {
    color: #ffffff;
    background: #fdbe33;
    border-color: #fdbe33;
}

.single .single-bio {
    margin-bottom: 45px;
    padding: 30px;
    background: #f3f6ff;
    display: flex;
}

.single .single-bio-img {
    width: 100%;
    max-width: 100px;
}

.single .single-bio-img img {
    width: 100%;
    border: 15px solid #ffffff;
}

.single .single-bio-text {
    padding-left: 30px;
}

.single .single-bio-text h3 {
    font-size: 20px;
    font-weight: 700;
}

.single .single-bio-text p {
    margin: 0;
}

.single .single-related {
    margin-bottom: 45px;
}

.single .single-related .card {
    margin-bottom: 10px;
    height: 100px;
}

.single .single-related h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .related-slider {
    position: relative;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.single .related-slider .post-item {
    margin: 0 15px;
}

.single .post-item {
    display: flex;
    align-items: center;
}

.single .post-item .post-img {
    width: 100%;
    max-width: 80px;
}

.single .post-item .post-img img {
    width: 100%;
    height: 100%;
}

.single .post-item .post-text {
    padding-left: 15px;
}

.single .post-item .post-text a {
    font-size: 16px;
    font-weight: 600;
}

.single .post-item .post-text a:hover {
    color: #fdbe33;
}

.single .post-item .post-meta {
    display: flex;
    margin-top: 8px;
}

.single .post-item .post-meta p {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
}

.single .post-item .post-meta p a {
    margin-left: 5px;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}

.single .related-slider .owl-nav {
    position: absolute;
    width: 90px;
    top: -55px;
    right: 15px;
    display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4c70;
    background: #fdbe33;
    font-size: 16px;
    transition: 0.3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
    color: #fdbe33;
    background: #4a4c70;
}

.single .single-comment {
    position: relative;
    margin-bottom: 45px;
}

.single .single-comment h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-child {
    list-style: none;
}

.single .comment-body {
    display: flex;
    margin-bottom: 30px;
}

.single .comment-img {
    width: 60px;
}

.single .comment-img img {
    width: 100%;
    border-radius: 0;
}

.single .comment-text {
    padding-left: 15px;
    width: calc(100% - 60px);
}

.single .comment-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;
}

.single .comment-text span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    background: #dddddd;
    border-radius: 0;
}

.single .comment-text .btn:hover {
    background: #fdbe33;
}

.single .comment-form {
    position: relative;
}

.single .comment-form h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-form form {
    padding: 30px;
    background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
    margin: 0;
}

.single .comment-form input,
.single .comment-form textarea {
    border-radius: 0;
}

.single .comment-form input:focus,
.single .comment-form textarea:focus {
    border-color: #fdbe33;
}

/* btn-float */

.btn-float {
    position: fixed;
    right: 25px;
    overflow: hidden;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    border: 2px solid #fff;
    z-index: 9999;
    color: white;
    background-color: var(--primary);
    transition: 0.2s;
}

.btn-float.testi {
    bottom: 80px;
}

.btn-float.tamu {
    bottom: 25px;
}

.btn-float:hover {
    width: auto;
    padding: 0 20px;
    cursor: pointer;
}

.btn-float span {
    font-size: 16px;
    margin-left: 5px;
    transition: 0.2s;
    line-height: 0px;
    display: none;
}

.btn-float:hover span {
    display: inline-block;
}

.btn-float:hover img {
    margin-bottom: -3px;
}

/* form-popup */

.chat-popup {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    border: 3px solid #f1f1f1;
    border-radius: 10px;
    background-color: var(--primary);
    z-index: 9999;
}

.chat-popup h5 {
    margin: 10px;
    font-size: 20px;
    color: white;
}

.chat-popup .btn-close {
    position: absolute;
    top: -7px;
    left: -7px;
    height: 15px;
    width: 15px;
    background-color: red;
    border-radius: 30px;
    border: 2px solid white;
}

.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

/* kontak */

#kontak span {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    font-size: 20px;
}

/* footer */

.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background: url(../img/bg-top.png), url(../img/map.png);
    background-position: center top, center center;
    background-repeat: no-repeat;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, 0.1);
    border-radius: 40px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Poppins";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary);
}
