/*
	design by adi wahyu pribadi (adi.wahyu.p@gmail.com; adi_wp@yahoo.com)
*/

body {
	text-align: center;
	border: 0;	
	background: #fff;
	color: #060;
	font-size: small;
	font-family: arial, sans-serif;
}
img {
	border: 0;
}

/* tabel
----------------------------------*/
table {
  border-collapse: collapse;
 /*  width: 97%; */
  margin: 10px;
  text-align: left;
  border: 1px solid #a5a5a5;
}

caption {
  font-size: 1.2em;
  font-weight: bold;
  margin: 1em 0;
}

thead {
  background: #cd9;
  border-top: 1px solid #a5a5a5;
  border-bottom: 1px solid #a5a5a5;
}

tbody {
  border-bottom: 1px solid #a5a5a5;
}

th {
  text-align: left;
}

th, td {
  padding: 0.1em 1em;
  border-right: 1px solid #a5a5a5;
  border-left: 1px solid #a5a5a5;
}

td a {
	color: #00f;
}

td a:hover {
	color: #fff;
}

td .tengah {
	text-align: center;
}

.odd {
  background-color:#edf5ff;
}

tr:hover {
  background-color:#3080d0;
  color: #fafafa;
}

thead tr:hover {
  background-color: transparent;
  color: inherit;
}

/* form
-----------------------------------------------*/
fieldset {
	margin: 10px;
	padding: 5px;
	background: #cd9;
	text-align: left;
}
fieldset p {
	margin-bottom: 10px;
}
legend {
	background: #060;
	color: #fff;
	display: box;
	padding: 3px;
	margin-bottom: 5px;
}
label {
	font-weight:normal;
}

input, textarea {
	margin:5px 0;
	padding: 3px;
	border:1px solid #333;
}
select {
	margin:5px 0 5px 0;
}

/* Wrapper */
#wrap {
	position: relative;
	margin: 0 auto;
	width: 990px;
}

#header {
	background: url(../lib/images/be.png) center right no-repeat;
	text-align: center;
	height: 200px;
}
#header h2 {
	font-size: 2em;
	font-weight: bold;
	padding-bottom: 10px;
}
#header h3 {
	font-size: 1.3em;
	font-weight: bold;
	padding-top: 10px;
}

/* main_nav */
#main_nav {
	width: 150px;
	float: left;
	margin-top: 25px;
}
#main_nav ul {
	margin: 5px 0;
	font-weight: bold;
	font-size: 1em;
	list-style: none;
}
#main_nav li {
	text-align: left;
	float: top;
	padding: 2px 2px 2px 2px;
}
#main_nav li a {
	padding: 5px;
	text-decoration: none;
	color: #060;

	margin-right: 5px;
}
#main_nav li a:hover {
	background-color: #060;
	color: #fff;
}
#main_nav li a:active {
	background-color: #060;
	color: #fff;
}

/* isi */
#isi {
	width: 840px;
	background: #cda;
	margin-top: 25px;
	border: 1px solid #060;
	min-height: 400px;
	margin-left: 200px;
}
#isi p {
	margin: 10px;
	text-align: left;
}
#isi h3 {
	margin: 10px;
}
.lihat {
	display: box;
	background-color: #cd9;
	border: 1px solid #a5a5a5;
	margin: 10px;
}

/* footer */
#footer {
	margin: 10px 0;
}
#footer p {
	font-size: .8em;
}

#top {
	float: right;
	margin-top: -20px;
}

#top a{
	color: red;
	font-weight: bold;
}

/* side-bar menu css /*

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,300);
@charset "UTF-8";
/* Base Styles */
#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  font-weight: normal;
  text-decoration: none;
  line-height: 1;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  position: relative;
}
#cssmenu a {
  line-height: 1.3;
}
#cssmenu {
  width: 180px;
  float: left;
  background: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 3px;
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}
#cssmenu > ul > li {
  margin: 0 0 2px 0;
}
#cssmenu > ul > li:last-child {
  margin: 0;
}
#cssmenu > ul > li > a {
  font-size: 15px;
  display: block;
  color: #ffffff;
  text-shadow: 0 1px 1px #000;
  background: #565656;
  background: -moz-linear-gradient(#565656 0%, #323232 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #565656), color-stop(100%, #323232));
  background: -webkit-linear-gradient(#565656 0%, #323232 100%);
  background: linear-gradient(#565656 0%, #323232 100%);
  border: 1px solid #000;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
#cssmenu > ul > li > a > span {
  display: block;
  border: 1px solid #666666;
  padding: 6px 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-weight: bold;
}
#cssmenu > ul > li > a:hover {
  text-decoration: none;
}
#cssmenu > ul > li.active {
  border-bottom: none;
}
#cssmenu > ul > li.active > a {
  background: #97be10;
  background: -moz-linear-gradient(#97be10 0%, #79980d 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #97be10), color-stop(100%, #79980d));
  background: -webkit-linear-gradient(#97be10 0%, #79980d 100%);
  background: linear-gradient(#97be10 0%, #79980d 100%);
  color: #fff;
  text-shadow: 0 1px 1px #000;
  border: 1px solid #79980d;
}
#cssmenu > ul > li.active > a span {
  border: 1px solid #97be10;
}
#cssmenu > ul > li.has-sub > a span {
  background: url(images/icon_plus.png) 98% center no-repeat;
}
#cssmenu > ul > li.has-sub.active > a span {
  background: url(images/icon_minus.png) 98% center no-repeat;
}


/* Sub menu */
#cssmenu ul ul {
  padding: 5px 12px;
  display: none;
}
#cssmenu ul ul li {
  padding: 3px 0;
}
#cssmenu ul ul a {
  display: block;
  color: #595959;
  font-size: 13px;
  font-weight: bold;
}
#cssmenu ul ul a:hover {
  color: #79980d;
}

.sub-sub {
  background-color: #99A959;  
  border: 1px solid #97be10;
}

/*Tombol untuk kembali ke atas*/

#button {
  display: inline-block;
  background-color: #22E800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "^";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}


@media (min-width: 500px) {
  .content {
    width: 43%;
  }
  #button {
    margin: 30px;
  }
}

