/*
Theme Name: Arman
Text Domain: Arman
Version: 1.0
Description: News Theme
Tags: left-sidebar, right-sidebar, responsive
Author: Arman Salim
Author URI: https://www.instagram.com/armansalm/?hl=id
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta+Vaani:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --warna-utama:#53A533;
    --warna-kedua:#48BC1A;
    --warna-menu-teks:#fff;
    --warna-menu-teks-dua:#000;
    --footer-bg:#202E31;
    --footer-title:#BCC0C1;
    --footer-teks:#BCC0C1;
}

*{
    box-sizing: border-box;
}

body{
    padding:0;
    margin:0;
    font-family: "Roboto", sans-serif;
    background:#eee;
}

.border{
    border:1px solid black;
}

.tinggi{
    min-height:300px;
}

header{
    width:100%;
    /*min-height:100px;*/
    
}

.banner{
    width:100%;
    /*height:240px;*/
    aspect-ratio:200/35;
    /*background-image: url("https://natunakab.go.id/tema/wp-content/themes/arman/img/banner.webp");*/
    background-image: url("https://natunakab.go.id/tema/wp-content/themes/arman/img/banner.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display:flex;
    justify-content:center;
    align-items:center;
}

.banner img{
    height:160px;
    /*width:30vw;*/
}

.tutup_menu{
    width:100%;
    height:60px;
    background: var(--warna-utama);
    /*position: sticky; */
    /*top: 60px; */
    
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index:2;
}

/*menuuuu*/
.kotak_menu{
    position:relative;
    /*top:0;*/
    /*left:0;*/
    width:1400px;
    margin:auto;
    height:60px;
    z-index:100;
}

.kotak_tombol_menu{
    width:60px;
    height:60px;
    /*display:flex;*/
    /*justify-content:center;*/
    align-items:center;
    padding-left:12px;
    display:none;
    /*visibility: hidden;*/
    
}

.kotak_tombol_menu ion-icon{
    color:var(--warna-menu-teks);
    
}

.kotak_logo{
    display:none;
    position:absolute;
    top:0;
    left:55px;
    height:60px;
    padding-top:2px;
}

.kotak_logo img{
    height:56px;
}

.arman_logo2{
    display:none;
    width:80%;
    margin:18px;
}




.tutup_menu ion-icon{
    font-size:30px;
}

.kotak_menu_close{
    display:none;
    position:absolute;
    right:-30px;
    top:10px;
    background:#fff;
    width:25px;
    height:25px;
    border-radius:50%;
    justify-content:center;
    align-items:center;
    padding:0;
}

.kotak_menu_close ion-icon{
    font-size:18px;
}

.tutup_bg_menu{
    /*display:none;*/
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background: rgba(0,0,0,0.7);
    z-index:10;
    visibility:hidden;
    opacity:0;
    transition:all .5s;
}

.bg_menu_muncul{
    visibility:visible;
    opacity:1
}

.tutup_menu ul{
    padding:0;
    margin:0;
}

.tutup_menu ul li{
    list-style-type: none;
    float:left;
    transition:all .5s;
}

.tutup_menu ul li a{
    color:var(--warna-menu-teks);
    text-decoration:none;
    font-weight: 700;
    text-transform: uppercase;
    font-size:14px;
    padding:0 15px;
    line-height:60px;
    height:60px;
    display:block;
}

.tutup_menu .current-menu-item a{
    color:var(--warna-menu-teks-dua);
}

.tutup_menu .current-menu-item{
    background:var(--warna-kedua);
}

.tutup_menu ul li:hover{
    background:var(--warna-kedua);
}

.tutup_menu ul li a:hover{
    color:var(--warna-menu-teks-dua);
}

.tutup_menu .dropdown-menu{
    padding:15px 0 10px 0 !important;
    background:#fff;
    position: absolute;
    top:100%;
    left:0;
    width:220px;
    float:none;
    transition:all .5s;
    opacity:0;
    visibility:hidden;
}

.tutup_menu .dropdown-menu .current-menu-item{
    background:#fff;
}

.tutup_menu .dropdown-menu .current-menu-item a{
    color:var(--warna-utama);
}

.tutup_menu .dropdown-menu li{
    width:100%;
}

.tutup_menu .dropdown-menu a{
    color:#000;
    font-size:13.5px;
    padding:0 14px;
    padding-bottom:11px;
    line-height:20px;
    height:auto;
}

.tutup_menu .dropdown-menu li:hover{
    background:#fff !important;
}

.tutup_menu .dropdown-menu li a:hover{
    color:var(--warna-utama);
}

.tutup_menu .menu-item-has-children:hover > .dropdown-menu{
    opacity:1;
    visibility:visible;
}

.tutup_menu .menu-item-has-children{
    position:relative;
    padding-right:12px;
}

.tutup_menu .menu-item-has-children a:after {
    content: '\276F';
    display: block;
    position: absolute;
    top: 0;
    right: 15px;
    transform: rotate(90deg);
    font-size:11px;
}

.tutup_menu .menu-item-has-children .dropdown-menu{
    padding:0 10px;
}

.tutup_menu .menu-item-has-children .dropdown-menu a:after{
    content: '';
}




.tutup_cari, .tutup_cari2{
    width:40px;
    height:60px;
    position:absolute;
    top:0;
    right:10px;
    display:flex;
    justify-content:right;
    align-items:center;
    cursor:pointer;
    /*z-index:10;*/
}

.tutup_cari ion-icon{
    color:var(--warna-menu-teks);
    font-size:24px;
}

.kotak_cari, .kotak_cari2{
    width:300px;
    /*height:60px;*/
    background:#fff;
    position:absolute;
    top:100%;
    right:0;
    padding:15px;
    z-index:9;
    height:1px;
    transition:all .1s, height .5s;
    visibility:hidden;
    opacity:0;
}

.buka_cari{
    /*top:200%;*/
    height:60px;
    visibility:visible;
    opacity:1;
}

.tutup_cari2{
    display:none;
    right:16px;
}

.kotak_cari2{
    right:-16px;
}


.tutup_cari2 ion-icon{
    color:var(--warna-menu-teks);
    font-size:28px;
    /*margin-right:18px;*/
}

.kotak_cari form, .kotak_cari2 form{
    position:relative;
    
}

.tutup_cari input, .tutup_cari2 input{
    font-size:16px;
    width:100%;
    height:30px;
    padding:5px;
    padding-right:28px;
}

.kotak_cari ion-icon, .kotak_cari2 ion-icon{
    color:var(--warna-menu-teks-dua);
    font-size:20px;
    /*margin-right:18px;*/
    position:absolute;
    top:5px;
    right:5px;
}







/*.sticky {*/
/*  position: fixed;*/
/*  top: 0;*/
/*}*/

main{
    width:1400px;
    margin:18px auto;
    display:flex;
    justify-content: space-between;
    /*padding:0 18px;*/
    align-items:flex-start;
    /*align-content:flex-start;*/
}

.sidebar{
    width:300px;
    background:#fff;
    position: sticky;
    top:78px;
    padding:8px;
    border-radius:5px;
}

.tutup_kiri{
    width:calc(100% - 318px);
    position: sticky;
}

.slider{
    width:100%;
    height:540px;
}

.tutup_konten{
    width:100%;
    display:flex;
    justify-content: space-between;
    align-items:flex-start;
    margin-top:18px;
}

.sidebar2{
    width:300px;
    order:1;
    background:#fff;
    position: sticky;
    top:78px;
    padding:8px;
    border-radius:5px;
}

.sidebar img, .sidebar2 img{
    width:100%;
}

.sidebar li, .sidebar2 li{
    list-style-type: none;
}



.slider:hover .next, .slider:hover .prev{
    background-color: rgba(0,0,0,0.5);
}

.slider .next:hover, .slider .prev:hover{
    background-color: rgba(0,0,0,1);
}

.konten{
    font-family: "Mukta Vaani", sans-serif;
    width:calc(100% - 318px);
    order:2;
    background:#fff;
    position: sticky;
    padding:15px;
    border-radius:5px;
}

.kotak_konten{
    width:100%;
    margin-bottom:15px;
    display:flex;
}

.kotak_konten div:first-child{
    width:250px;
    margin-right:15px;
}

.kotak_konten div:last-child{
    width:calc(100% - 265px);
}

.img_konten{
    width:100%;
    object-fit: cover;
    aspect-ratio: 3/2;
    border-radius:5px;
    transition:all .3s;
}

.img_konten:hover{
    opacity:0.6;
}

.kotak_konten .berita_titel{
    margin:0;
    padding:0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom:6px;
    /*color:#000;*/
}

.kotak_konten a{
    color:#000;
    text-decoration:none;
    transition:all 0.5s;
}

.kotak_konten a:hover{
    color:var(--warna-utama);
}

.kotak_konten .berita_detail{
    width:100%;
}

.kotak_konten p{
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.71;
    color: #666;
    margin:0;
    margin-top:5px;
}

.konten_single{
    order:1;
    /*p*/
    padding:22px;
}

.sidebar_single{
    order:2;
}


.tutup_page{
    width:1110px;
    margin:auto;
    display:flex;
    justify-content: space-between;
    /*padding:0 18px;*/
    /*align-items:flex-start;*/
    margin-bottom:18px;
    font-family: "Roboto", sans-serif;
    /*line-height: 1.7;*/
}

.tutup_page h2{
    font-family: "Mukta Vaani", sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #111;
    /*font-size: 22px;*/
    font-size: 1.9rem;
    margin:0;
}

.tutup_page p{
    font-size:18px;
}





.konten_arsip{
    display:flex;
    flex-wrap: wrap;
    gap:10px
}

.kotak_arsip{
    width:calc((100% / 3) - 7px);
}

.konten_arsip h2{
    font-size:18px;
    transition:all .4s
}

.konten_arsip img{
    object-fit: cover;
    aspect-ratio: 3/2;
    border-radius:5px;
    transition:all .5s;
}

.konten_arsip img:hover{
    opacity:0.7;
}

.konten_arsip a{
    text-decoration:none;
}

.konten_arsip h2:hover{
    color:var(--warna-utama);
}








.tutup_bawah{
    width:1400px;
    margin:18px auto;
}

.bawah{
    width:100%;
    display:flex;
    justify-content: space-between;
    background:#fff;
    padding: 8px;
    border-radius: 5px;
}

footer{
    width:100%;
    color: #c6cad2;
    /*background:#001544;*/
    background:#202E31;
}

footer .widget a{
    color:var(--footer-teks);
}

.footer-top{
    width:100%;
    min-height:350px;
    /*background:#202E31;*/
}

.tutup_footer{
    width:1400px;
    margin:auto;
    display:flex;
    gap: 18px;
    padding:30px 0;
    
    /*display: grid;*/
    /*grid-template-columns: auto auto auto auto;*/
    /*gap: 18px;*/
}

.kotak_footer{
    width:calc(100% / 3);
    /*width*/
}

.kotak_footer li{
    list-style-type: none;
    margin:0;
}

.footer-bottom{
    width:100%;
    /*height:40px;*/
    /*background:#1D282B;*/
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    /*border-top:1px solid #1F386A;*/
    border-top:1px solid #364245;
    /*color:#bbcaea;*/
    color:#BCC0C1;
    padding:18px;
    text-align:center;
}






.mySlides {display: none}
/*img {vertical-align: middle;}*/

.mySlides img{
    width:100%;
    height:540px;
    object-fit: cover;
    border-radius:5px;
}

.slideshow-container {
  /*max-width: 1000px;*/
  width:100%;
  position: relative;
  margin: auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  /*border-radius: 0 3px 3px 0;*/
  user-select: none;
  border-radius:3px;
}

.prev{
  left: 10px;
    
}

.next {
  right: 10px;
  /*border-radius: 3px 0 0 3px;*/
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,1);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.slider_teks{
    width:calc(100% - 100px);
    /*background:#fff;*/
    background:rgba(255,255,255,0.8);
    color:#000;
    position:absolute;
    left:50px;
    bottom:18px;
    padding:20px 20px;
    padding-right:60px;
    /*margin:0;*/
    /*padding:0;*/
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    border-radius:5px;
}

.slider_teks::before{
    position: absolute;
    right: 0;
    top: 0px;
    /*height: auto;*/
    height: 100%;
    width:30px;
    background:var(--warna-utama);
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
    /*border-style: solid;*/
    /*border-width: 36px 0 0px 30px;*/
    content: "";
    /*border-color: transparent transparent transparent var(--warna-utama);*/
}

.slider_teks::after{
    /*content: "";*/
    /*width: 20px;*/
    /*position: absolute;*/
    /*right: 20px;*/
    /*top: 0px;*/
    /*height: 100%;*/
    /*border-style: solid;*/
    /*border-width: 0px 0px 20px 50px;*/
    /*border-color: transparent transparent var(--warna-utama) transparent;*/
    /*-webkit-clip-path: polygon(100% 0, 100% 100%, 0 50%);*/
    /*clip-path: polygon(100% 0, 100% 100%, 0 50%);*/
    content: '';
    position: absolute;
    display: block;
    right: 29px;
    top: 0;
    bottom: 0;
    width: 25px;
    height: 100%;
    background: var(--warna-utama);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}


.tombol_lain{
    background:var(--warna-utama);
    padding:9px 20px;
    border:none;
    border-radius:8px;
    font-size:16px;
    font-weight:bold;
    color:#fff;
    letter-spacing:.8px;
    cursor:pointer;
}


@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.widget{
    margin-bottom:22px;
}

.widget a{
    text-decoration:none;
    color:#000;
    transition:all .3s;
}

.widget a:hover{
    text-decoration:none;
    color:var(--warna-utama);
}

.widget ul{
    margin:0;
    padding:0
}

.widget-title{
    margin:0;
    /*margin-top:18px;*/
    margin-bottom:10px;
    font-size:16px;
    /*background:#eee;*/
    /*border-left:4px solid var(--warna-utama);*/
    /*background:var(--warna-utama);*/
    border-bottom:2px solid var(--warna-utama);
    padding:8px;
    /*padding-left:8px;*/
    padding-left:0;
    border-radius:1px;
    letter-spacing:.8px;
    /*display:inline-block;*/
    position:relative;
}


.widget-title span{
    background:var(--warna-utama);
    padding:8px 2px 8px 12px;
    /*padding-left:15px;*/
    position:relative;
    color:#fff;
    /*border:1px solid var(--warna-utama);*/
    margin:0;
}

.widget-title span::before{
    content: '';
    position: absolute;
    /*display: block;*/
    right: -29.5px;
    top: 0;
    width: 30px;
    height: 101%;
    background:var(--warna-utama);
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}



.widget_post_list{
    display:flex;
    width:100%;
    line-height:1.2;
}

.widget_post_list div:first-child{
    width:30%;
    padding-top:4px;
}

.widget_post_list div:last-child{
    width:70%;
    padding:0 0 10px 8px;
}

.widget_post_list img{
    width:100%;
    border-radius:3px;
}

.widget_post_list a{
    margin:0;
}

.widget_post_list span{
    font-size:14px;
    /*line-height:.3 !important;*/;
}

.tgl{
    display:flex;
    align-items:center;
    color:grey;
    font-size:15px;
}

.tgl ion-icon{
    margin-right:4px;
}



.kotak_widget_post_gambar_img{
    display:flex;
    flex-wrap: wrap;
    gap: 7px;
}

.kotak_widget_post_gambar_img a{
    width:calc(50% - 4px);
    /*width:40%;*/
    /*width:100px;*/
    /*border:1px solid red;*/
}

.kotak_widget_post_gambar_img img{
    border-radius:2px;
    display:block;
    /*height:100%;*/
}

.kotak_widget_post_gambar_img .tooltip2{
    position: relative;
    
}

.tooltip2 .tooltip_teks {
    font-size:12px;
    visibility: hidden;
    width: 100%;
    /*background-color: black;*/
    background-color:rgba(0,0,0,.7);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 3px;
    position: absolute;
    z-index: 1;
    top: 107%;
    left: 0;
}

.tooltip2 .tooltip_teks::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip2:hover .tooltip_teks {
  visibility: visible;
}




/*--------------------------------------------------------------------------------------------------------------------------------------------------KECIL------------*/

@media only screen and (max-width: 1400px){
    
main, .tutup_bawah, .kotak_menu, .tutup_footer, .tutup_page{ 
    width:100%;
}


main, .tutup_page, .tutup_bawah{
    padding:0 14px;
}

.tutup_footer{
    padding:18px 14px;
}

.konten_single{
    padding:18px;
}

/*.banner img{*/
/*    height:auto;*/
/*    width:80%;*/
/*}*/
    
}


@media only screen and (max-width: 1110px){
    
.tutup_konten{
  flex-direction: column;
}
    
.sidebar2{
    order:2;
    width:100%;
}

.slider_teks{
    width:calc(100% - 36px);
    left:18px;
}

.konten{
    order:1;
    width:100%;
    margin-bottom:18px;
}

/*menuuuu*/
/*tampil menu samping*/
.kotak_menu{
    position:fixed;
    top:0;
    /*right:calc(100% + 30px);*/
    left:-100%;
    width:270px;
    margin:0;
    height:100vh;
    background:#fff;
    transition:all 1s;
}

.menu_muncul{
    left:0;
}

.kotak_tombol_menu{
    display:flex;
}

.kotak_menu_close{
    display:flex;
}

.tutup_bg_menu{
    display:block;
    /*left:100%;*/
}

.tutup_menu ul{
    padding:0 18px;
}

.tutup_menu ul li{
    float:none;
    padding:0;
    border-bottom:1px solid #ececec;
}

.tutup_menu ul li:last-child{
    border:none;
}

.tutup_menu ul li a{
    color:#000;
    font-weight: 400;
    padding:0 3px;
    line-height: 43px;
    height: 43px;
}

.tutup_menu .current-menu-item a{
    color:var(--warna-utama);
}

.tutup_menu .current-menu-item{
    background:#fff;
}

.tutup_menu ul li:hover{
    background:#fff;
}

.tutup_menu ul li a:hover{
    color:var(--warna-utama);
}

.tutup_menu .dropdown-menu{
    opacity:1;
    /*border:1px solid black;*/
    position:relative;
    padding: 8px 0 0 0 !important;
    /*padding:5px !important;*/
    /*height:0;*/
    /*visibility: visible;*/
    display:none;
    transition:height .5s;
}


.tutup_menu .dropdown-menu li{
    border:none;
}

.tutup_menu .dropdown-menu li a{
    padding-left:10px;
}

.tutup_menu .menu-item-has-children:hover > .dropdown-menu{
    /*opacity:1;*/
    /*visibility: visible;*/
    /*height:auto;*/
    display:block;
}

.tutup_cari2{
    display:flex;
}

.tutup_cari{
    display:none;
}

.arman_logo2{
    display:block;
}

.kotak_widget_post_gambar_img a{
    width:calc(25% - 7px);
}


}


@media only screen and (max-width: 960px){

main{
  flex-direction: column;
    
}

.tutup_kiri, .sidebar{
    width:100%;
}

.sidebar{
    margin-top:18px;
}


.kotak_konten{
  flex-direction: column;
}

.kotak_konten div:first-child, .kotak_konten div:last-child{
    width:100%;
    margin:0;
}

.tutup_page h2{
    font-size: 22px;
}

.tutup_page p{
    font-size:17px;
}

.banner{
    display:none;
}

.kotak_arsip{
    width:calc((100% / 2) - 10px);
}

.tutup_footer{
    flex-direction: column;
}

.kotak_footer{
    width:100%;
}

.kotak_logo{
    display:block;
}
    
}





@media only screen and (max-width: 480px) {
 
.kotak_arsip{
    width:100%;
}
   
}




/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}






