/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*style*/
html{
    height: 100%;
}

body{
	font: 16px/28px times new roman, sans-serif;
	background-color: lightyellow;
	min-width: 1024px;
	overflow-x: auto;
}

.contain{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
	width: 100%;
	background-color: lightyellow;
	border: 1px solid grey;
}

.container4{
    flex-grow: 1;
    padding: 20px;
    box-sizing: border-box;
}

.container5{
    padding: 15px;
    text-align: center;
    border-top: 1px solid yellow;
    font-size: 0.9em;
    
}

.clear{
	clear: left;
}

.container1, .container2, nav, .container3{
	width: 100%;
	box-sizing: border-box;
}

.container1{
	height: 130px;
}

.logo{
	margin-left: 15%;
	margin-right: 15%;
	margin-top: 15px;
	width: 80px;
	height: 100px;
}

.top1{
	height: 120px;
	width: 10%;
	float: left;
	display: flex;
	justify-content: center;
}

.top2{
	float: left;
	height: 120px;
	width: 25%;
}

.top3{
	float: left;
	height: 120px;
	width: 65%;
	overflow: hidden;
	white-space: nowrap;
}
.foto{
	height: 120px;
}

.sorong{
	margin-top: 10px;
	padding-right: 100%;
	animation: sorong 20s linear infinite;
}

@keyframes sorong {
  0% { transform: translateX(1%); }
  100% { transform: translateX(-50%); }
}

.container1 h1{
	margin-top: 10px;
	font-weight: bold;
	font-size: 25px;
}

.container4 h1{
    text-align: center;
	font-weight: bold;
	font-size: 18px;
	margin-left: 10px;
}

.container1 p{
	font-size: 16px;
	margin: 0;
}

.p1 {
	margin-top: 10px;
}

.container2 {
	background-color: darkslategray;
	font-weight: bold;
	color: white;
	overflow: hidden;
	white-space: nowrap;
}
.container2 p{
	display: inline-block;
	padding-left: 100%;
	animation: geser 25s linear infinite;
}

@keyframes geser {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/*nav*/

nav{
	background-image: linear-gradient(to bottom, #C05805, #6E6702);
	margin-top: 1px;
	height: 40px;
	font-weight: bold;
	display: grid;
	grid-template-areas: "nav1 nav2 nav3 nav4 nav5 nav6"
												"nav7 nav8 nav9 nav10 nav11 nav12";
	grid-template-columns: 1fr 1fr 1.5fr 1.5fr 1.5fr 1fr;
}

.nav0{
	line-height: 40px;
	text-align: center;
}

.nav1{grid-area: nav1;}
.nav2{grid-area: nav2;}
.nav3{grid-area: nav3;}
.nav4{grid-area: nav4;}
.nav5{grid-area: nav5;}
.nav6{grid-area: nav6;}
.nav8{grid-area: nav8; width: 170px}
.nav9{grid-area: nav9; width: 250px}
.nav10{grid-area: nav10; width: 250px}
.nav11{grid-area: nav11; width: 250px;}
.nav6 a{
	font-weight: bold;
	color: yellow;
	font-style: italic;
}

nav a{
	color: white;
	margin: 0;
	font-size: 0.9em;
}


/*nav end*/

.container3 {
	background-image: linear-gradient(to bottom, #C05805, #6E6702);
	margin-top: 1px;
	height: 40px;
	font-weight: bold;
}

a{
	display: inline-block;
	color: white;
	text-decoration: none;
	margin-top: 5px;
	margin-right: 30px;
	margin-left: 30px;
	font-size: 20px;
	text-align: center;
}

.dropdown{
	position: relative;
	display: inline-block;
}
.dropdown-button {
	font-weight: bold;
	padding-bottom: 7px;
  color: white;
  cursor: pointer;
}

.dropdown-content {
  display: none; /* Awalnya disembunyikan */
  position: absolute;
  background-color: #6E6702;
  min-width: 90px;
  box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.1);
  z-index: 1; /* Agar dropdown berada di atas elemen lain */
}

.dropdown-content a {
	margin: 5px;
  color: white;
  padding: 0px 0px;
  text-decoration: none;
  display: block; /* Agar setiap link mengambil satu baris penuh */
}

.dropdown-content a:hover {
  background-color: #db9501;
}

.nav0:hover .dropdown-content {
  display: flex; /* Menampilkan dropdown saat kursor berada di atas kontainer */
  flex-direction: column;
  justify-content: center;
}

.container4{
    width: 90%;
    margin-left: 5%;
    box-sizing: border-box;
}

.pr{
    width: 100%;
    text-align: center;
    display:flex;
    flex-direction: column;
    align-items: center;
}

.container5 {
    padding-right: 10px;
    text-align: justify;
	background-color: #2b2b2b;
	color: white;
	font-size: 20px; 
	margin-top: 5px;
}
.numbered-list {
  list-style-type: decimal; /* Nomor desimal (1, 2, 3) - ini adalah default */
  /* Anda bisa mengganti dengan jenis lain:
     list-style-type: lower-alpha; (a, b, c)
     list-style-type: upper-alpha; (A, B, C)
     list-style-type: lower-roman; (i, ii, iii)
     list-style-type: upper-roman; (I, II, III)
  */
  padding-left: 20px; /* Memberikan indentasi untuk teks item */
}

.numbered-list li {
  margin-bottom: 5px; /* Memberikan sedikit ruang antar item */
}

a.tambah1{
	font-family: times new roman;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	color: black;
	padding: 5px;
	border-radius: 9px;
	background-color: skyblue;
	border: 1px solid black;
}

.tambah111{
	margin-left: 10px;
	font-family: times new roman;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	color: black;
	padding: 5px;
	border-radius: 9px;
	background-color: silver;
	border: 1px solid black;
}
button.tambah1{
	margin-left: 10px;
	font-family: times new roman;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	color: black;
	padding: 8px;
	border-radius: 9px;
	background-color: skyblue;
	border: 1px solid black;
}

a.tambah12{
	margin: 5px;
	padding: 0;
	border-radius: 9px;
}

.imgedit{
	width: 20px;
}

.keluar{
	font-weight: bold;
	color: yellow;
	font-style: italic;
}

.masuk{
	position: relative;
	left: 150px;
	font-weight: bold;
	color: yellow;
	font-style: italic;
}

/*struktur*/
.st{
	margin-left: 10%;
	margin-right: 10%;
	width: 80%;
}

.stfile{
	display: inline-block;
	margin-left: 10%;
}

.containerpmd{
	margin-left: 2%;
	margin-right: 3%;
	width: 99%;
	font-weight: bold ;
}

.containerpkk{
	margin-left: 2%;
	margin-right: 3%;
	width: 99%;
	font-weight: bold ;
}
.containersn{
	margin-left: 2%;
	margin-right: 3%;
	width: 99%;
	font-weight: bold ;
}

h2{
	font-weight: bold;
}

/*kepala desa*/

.kdinput{
    margin-left: 10%;
}

.mglfrg{
	margin-left: 10px;
	margin-right: 10px;
}

.imgkd{
	width: 300px;
	display: block;
	margin: auto;
}

.takd{
	width: 90%;
	height: 200px;
}
.pulau{
	width: 400px;
	display: block;
	margin: auto;
	border-radius: 80px;
	box-shadow: 8px 8px 10px 4px rgba(0, 0, 0, 0.4);
}

.imgeditan{
	height: 30px;
	float: left;
	width: 30px;
	margin-right: 10px;
}

p.makan{
	line-height: 30px;
	text-align: left;
	width: 500px;
}

th{
	background-color: silver;
}