/* CSS Document */

* {
	margin : 0;
	padding : 0;
}

body {
	font-family : "Arial",sans-serif;
	font-size : 16px;
	color : #000;
	background-color : #FFF;
}

div#main,
div#head,
div#footer {
	width : 95%;
	padding: 0 2%;
	margin:0;
}

div#main {
	min-height: 500px;
}

div#footer {
	border-top: 1px solid #CCC;
	padding-top: 0.5em;
	padding-bottom : 5.0em;
}

.infobar {

}

.menu-title {
	margin: 0.5em auto 0.3em 0; 
}

ul.menu {
		list-style-type: none;
		
		margin: 0 auto 0 auto;
	}

	.menu-item {
		display: inline-block;
		margin-right: 0.5em;
		width: 100%;
		margin-top: 0.3em;
		text-align: center;
	}

	.user-menu .menu-item {
		width: 45%;
		
	}

	.menu-item a {
		display: block;
		padding: 0.5em 1.0em;
		border: 1px solid #CCC;
		background-color: #FFF;
		text-decoration: none;
		color: #333;
		background-color: #CCC;
	}

fieldset {
    margin-bottom: 1.0em;
}

label {
    width: 100%;
    display: inline-block;
    margin: 0.5em auto 0 0;
    font-weight: 200;
}

input,
select {
	border : 1px solid #000;
	margin : 0.5em 0 1em 0;
}

input[type=text],
input[type=password],
select {
    padding: 0.5em 0.2em;
    width: 95%;
}

input[readonly=readonly] {
	background-color: #CCC;
	color: #333;
}

input[type=checkbox] {
	margin-right:0.8em;
}

.button:hover {
    background-color: #FFF;
}

.button {
	min-width: 7%;
    padding: 0.5em 1.0em;
    border-radius: 3px;
    border-color: #333;
    background-color: #CCC;
}


#messages {
	width : 100%;
	margin:0;
	padding: 0;
}

#messages .message {
	width:100%;
	margin: 0.3em 0 0 0; 
	display: block;
	padding : 0.3em 0.5em;
	border : 1px solid black;
}

.neutral {
	background-color: #FFF;
}

.good {
	background-color : #8F8;
}

.warning {
	background-color : #FFE37E;
}

.critical {
	background-color : #E80000;	
}

.active-users {
	display: none;
}

.active-users .user-info {
	width: 100%;
	line-height: 1.5em;
	border-left : 4px solid #CCC;
	margin: 0.5em auto 0 0;
	padding-left: 0.3em;
}

.user-info .user-detail {
	display: inline-block;
	width : 20%;
	max-width: 230px;
}

.stockInfo {
	font-size : 1.5em;
}

.stockTotal {
	padding: 0.3em 0.5em;
    border: 1px solid #CCC;
    border-radius: 3px;
    margin: 0.5em 0;
    line-height: 2.0em;
}

.js-responsive-table {
    margin-bottom: 1em;
    font: normal 1em/1.4 sans-serif;
    color: #666;
}
.js-responsive-table th, .js-responsive-table td {
    padding: 20px 10px;
    color: #6e6e6e;
}
.js-responsive-table tr {
    border-bottom: 1px solid #ddd;
}
.js-responsive-table th {
    background: #eee;
}
.js-responsive-table th, .js-responsive-table tr:first-child td {
    font-weight: bold;
}
.js-responsive-table .icon-accordion {
    display: none;
}
.js-responsive-table td h3 {
    margin: 0;
    padding: 0 0 5px 0;
    display: none;
    font-weight: bold;
}

@media (max-width: 680px) {

	div#head {
		margin-top: 1.0em;
		margin-bottom : 2em;
		
	}

	.user-info .user-detail {
		display: inline-block;
		width : 95%;
		max-width: 430px;
	}

	.js-responsive-table table, .js-responsive-table tbody, .js-responsive-table table tr, .js-responsive-table table td, .js-responsive-table table th {
	    display: block;
	    width: 100%;
	}
	.js-responsive-table table tr {
	    max-height: 60px;
	    overflow: hidden;
	    position: relative;
	    cursor: pointer;
	}
	.js-responsive-table .icon-accordion {
	    display: block;
	    text-align: center;
	    width: 16px;
	    height: 16px;
	    position: absolute;
	    right: 15px;
	    top: 15px;
	    font-style: normal;
	    font-size: 1.6em;
	}
	.js-responsive-table td h3 {
	    display: block;
	}
}

@media (min-width: 64.1em) {

	div#head {
		margin : 1em auto 5em 10em;
		
	}

	div#head,
	div#main,
	div#footer {
		margin-left : 15%;
		width: 60%;
		max-width: 1024px;
	}

	div#message,
	div.message {
		width : 20em;
		margin : 1em auto 1em 10em;
	}


	.user-info .user-detail {
		display: inline-block;
		width : 20%;
		min-width: 230px;
	}
	.menu-item {
		max-width : 230px ;
	}
/*
	table {
		min-width : 22em;
	}
*/

}

