/* CSS */

/* Login */
#main-login{
height:auto;
min-height:180px;
width:280px;
padding:10px;
background-color:orange;
border-radius:5px;
box-shadow: 5px 5px lightgrey;
position: absolute;
top: 50%;
left:0;
right:0;
margin-left: auto;
margin-right: auto;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}

#main-login form input{
padding:10px;
margin-bottom:10px;
width:93%;	
}

#main-login form input#submit{
padding:10px;
margin-bottom:10px;
width:100%;	
cursor:pointer;
}

#logo-login{
width:100%;
max-height:100px;
text-align:center;
margin:10px auto 10px auto;
}

#footer-login{
font-size:12px;
text-align:center;
}


/* BUTTON */
#submit-grey{
width:94%;
text-align:center;
margin:10px 0 10px 0;
padding:3%;
background-color:black;
color:white;
cursor:pointer;
}

/* MODAL POPUP */
.modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: scaleX(1.1) scaleY(1.1);
	transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
	font-family: sans-serif;
	z-index:999999;
}
.modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	padding: 1rem 1.5rem;
	width: 24rem;
	border-radius: 0.5rem;
	border:1px solid red;
}
.close-button {
	float: right;
	width: 1.5rem;
	line-height: 1.5rem;
	text-align: center;
	cursor: pointer;
	border-radius: 0.25rem;
	background-color: lightgray;
}
.close-button:hover {
	background-color: darkgray;
}
.show-modal {
	opacity: 1;
	visibility: visible;
	transform: scaleX(1.0) scaleY(1.0);
	transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

#submit-grey:hover{
	background-color:grey;
}

body {
color:#000;
background:lightgrey;
}

#rangka {
width:100%;
min-height:100%;
height:auto;		
}

#header {
width:100%;
height:10%;
float:left;
background-color:grey;		
}

#header-logo{
width:15%;
height:70%;
padding:1%;
text-align:center;
float:left;
}

#header-logo img{
max-width:100%;
width:100%;
max-height:100%;
}

/* MENU UTAMA*/
#menu{
width:65%;
height:auto;
margin-top:10px;
float:left;
}

ul.menu-horizontal {
list-style:none;
margin-top:0px;
margin-left:-40px;
}

ul.menu-horizontal li{
float:left;
margin:0 2px 0 0;
padding:0;
}

#menu ul.menu-horizontal li a{
display:block;
padding:10px 30px;
background-color:white;
color:blue;
font-weight:bold;
text-decoration:none;
transition: all .6s ease-in-out;
}

#menu ul.menu-horizontal li a:hover{
background-color:orange;
color:black;
}

#menu ul.menu-horizontal a{
color:blue;
font-weight:bold;
text-decoration:none;
}

#menu ul.menu-horizontal a:hover{
color:black;
text-decoration:none;

}

/* MENU KIRI*/


ul.menu-kiri {
width:100%;
position:relative;
float:left;
list-style:none;
margin-top:10px;
margin-left:-33px;
}

ul.menu-kiri li{
width:calc(80% + 30px);
float:left;
margin-top:5px;
margin-left:0px;
margin-right:2px;
padding:0;
}

ul.menu-kiri li a{
display:block;
padding:10px 15px;
background-color:white;
color:black;
text-decoration:none;
transition: all .5s ease-in-out;
}

ul.menu-kiri li a:hover{
background-color:lightblue;
color:red;
}

ul.menu-kiri a{
color:black;
text-decoration:none;
}
ul.menu-kiri a:hover{
color:red;
text-decoration:none;

}

/* LOGOUT */
#logout{
width:15%;
height:auto;
float:right;
margin-right:1%;
margin-top:10px;
padding:10px;
background-color:white;
}

#logout a {
color:#3c8dbc;
text-decoration:none;
}

#logout a:hover {
color:red;
text-decoration:underline;
}

/* KONTEN */

#konten {
width:100%;
min-height:81%;
height:81%;
height:auto;
float:left;
	
}

#konten-kiri {
width:17%;
min-height:300px;
height:auto;
float:left;
background-color:grey;		
}

#konten-kanan {
width:81%;
min-height:78%;
min-height:78vh;
padding:1%;
height:auto;
float:left;
background-color:white;		
}

#kontenfull {
width:98%;
min-height:78%;
min-height:78vh;
padding:1%;
height:auto;
float:left;
background-color:white;		
}

#konten50 {
width:48%;
padding:1%;
height:auto;
float:left;
/*background-color:yellow;*/		
}

#konten-kanan a{
	color:blue;
	text-decoration:none;
}

#konten-kanan a:hover{
	color:red;
	text-decoration:underline;
}

#divproduk{
width:99%;	
}

#tableproduk{
width:100%;	
}

#tableproduk tr td input{
width:100%;	
}

#tableproduk tr td{
text-align:center;
}

#footer {
width:100%;
height:2%;
float:left;
color:white;
padding-top:1%;
padding-bottom:1%;
text-align:center;
font-size:11px;
background-color:grey;		
}

/* Login */
#login {
width:100%;
height:100%;
max-height:100%;
	display: table;
	margin-left: auto;
	margin-right: auto;
text-align:center;
}

#login-vertical{
	vertical-align: middle;
	display:table-cell;
}

#login-content{
	width:300px;
	padding:10px;
	background-color:white;
	border-radius:10px;
	margin-left:auto;
	margin-right:auto;
}

#login-form input{
width:100%;	
}

#login-logo{
width:100%;
}

#login-logo img{
max-width:100%;
max-height:100%;
}

/* HOME */
#homewidgettop1{
width:29%;	
padding:10px;
background-color:#00c0ef;
height:85px;
float:left;
margin-left:1.5%;
margin-top:0px;
color:white;
background-image:url(../images/widgethome-1.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop2{
width:29%;	
padding:10px;
background-color:#00a65a;
height:85px;
float:left;
margin-left:1.5%;
margin-top:0px;
color:white;
background-image:url(../images/widgethome-2.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop3{
width:29%;	
padding:10px;
background-color:#f39c12;
height:85px;
float:left;
margin-left:1.5%;
margin-top:0px;
color:white;
background-image:url(../images/widgethome-3.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop1 h1,#homewidgettop2 h1,#homewidgettop3 h1{
font-size:30px;
margin-top:-5px;
margin-bottom:15px;
}

#homewidgettop4{
width:29%;	
padding:10px;
background-color:#1b51e9;
height:85px;
float:left;
margin-left:1.5%;
margin-top:10px;
color:white;
background-image:url(../images/widgethome-1.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop5{
width:29%;	
padding:10px;
/*background-color:#00a65a;*/
background-color:grey;
height:85px;
float:left;
margin-left:1.5%;
margin-top:10px;
color:white;
background-image:url(../images/widgethome-2.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop6{
width:29%;	
padding:10px;
background-color:#ad5a00;
height:85px;
float:left;
margin-left:1.5%;
margin-top:10px;
color:white;
background-image:url(../images/widgethome-3.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop4 h1,#homewidgettop5 h1,#homewidgettop6 h1{
font-size:30px;
margin-top:-5px;
margin-bottom:15px;
}

#homewidgettop7{
width:43%;	
padding:10px;
background-color:#00c0ef;
height:100px;
float:left;
margin-left:1.5%;
color:white;
background-image:url(../images/widgethome-1.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop8{
width:43%;	
padding:10px;
background-color:#00a65a;
height:100px;
float:left;
margin-left:4%;
margin-top:0px;
color:white;
background-image:url(../images/widgethome-2.png);
background-repeat: no-repeat;
background-position: right;
background-size: 35%;
}

#homewidgettop7 h1,#homewidgettop8 h1
{
font-size:30px;
margin-top:-5px;
margin-bottom:15px;
}


.widgettitle{
width:100%;
float:left;
margin-top:-15px;
margin-bottom:2px;
font-size:16px;
}

.widgetbutton{
width:100%;
float:left;
margin-top:15px;
margin-bottom:5px;
color:rgba(255,255,255,0.8);
background: rgba(0,0,0,0.1);
padding:2px;
text-align:center;
}

.widgetbutton:hover {
color:white;
background: rgba(0,0,0,0.2);	
}

#homewidgetmiddle1{
width:45.5%;	
padding:15px;
background-color:#f39c12;
min-height:160px;
float:left;
margin-left:1.5%;
margin-top:15px;
font-size:10px;
}

#homewidgetmiddle2{
width:45.5%;	
padding:15px;
background-color:#f39c12;
height:160px;
float:left;
margin-left:1.7%;
margin-top:15px;

}

#homewidgetmiddle3{
width:93%;	
padding:15px;
background-color:#f39c12;
height:280px;
float:left;
margin-left:1.7%;
margin-top:15px;

}


#homewidgetfull{
width:95.5%;	
width:95.5%;	
padding:15px;
background-color:#f39c12;
min-height:160px;
float:left;
margin-left:1.5%;
margin-top:15px;
font-size:10px;
}

#homewidgetmiddle1 h1,#homewidgetmiddle2 h1,#homewidgetmiddle3 h1,#homewidgetfull h1{
font-size:16px;
margin-top:-5px;
margin-bottom:5px;
color:white;
background: rgba(0,0,0,0.2);
padding:5px;
}



/* No Halaman */
#pagenav {
width:100%;
float:left;
margin-top:20px;
margin-bottom:20px;
text-align:center;
}

#pagenav  li{
list-style:none;
display:inline;
margin-right:5px;
}

#pagenav  li a:hover{
color:blue;
}

a#printpagebutton {
background-color:green;
padding:20px 30px 20px 30px;
color:white;
margin-top:20px;
text-align:center;
width:200px;
height:30px;	
}


