html {
    height: 100%;
}
body {
	height: 100%;
	margin: 0;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #FFFFFF;
	margin: 0 20px;
	min-width: 768px;
	display: flex;
	flex-direction: column;
	padding-bottom: 10px;
}

#logo{
	border: 0px;
    width: 260px;
}

.header-icon-user {
	background-image: url(images/ui-icons_ffffff_256x240.png);
	height: 14px;
	margin: 0px;
	padding: 0px;
	display: inline-block;
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}


.clear { clear:both; }

.header, .footer {
	background: linear-gradient(90deg, rgba(33,63,103,1) 0%, rgba(95, 121, 152, 0.8) 50%, rgba(33,63,103,1) 100%);
	/*min-height: 30px;*/
	margin-left: 0px;
}

.header {
	box-sizing:border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border-left: 1px solid black;
	border-right: 1px solid black;
}

.header a{
	color: #CDE594;
}
/* .header a:hover{
	color: lightgreen;
} */

#wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.footer {
	text-align: center;
	line-height: 30px;
	margin-top: 5px;
	border-radius: 5px;
	display: inline-block;
	border-radius: 5px;
	border-radius: 12px;
	box-sizing:border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 2px solid black;
}

.footer span{
	display:inline-block;
	vertical-align:middle;
}
.footer img{
	height: 50px;
	margin: 5px;
	border: 2px solid black;
	border-radius: 5px;
}

.login-form {
	margin-top: 25px;
}

.full {
	width: 100%;
	height: 100%;
	margin:auto;
	padding:0px;
}
.maintable {
	border:2px solid;
}
.fieldset {
	background-color: #fff;
	border:1px solid;
}
textarea {
	width:100%;
	box-sizing:border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.right { text-align: right; }

table form { margin-bottom: 0; }
form ul { margin-left: 0; list-style: none; }
.error { color: red; font-style: italic; }

input[type='checkbox']{
	/* margin:5px; */
}
.ui-search-input input {
	display:table !important;
}

.required {
	background-color: yellow !important;
	color: #000;
	font-weight: bold;
}

input[type="text"].editable{
	background-color: yellow !important;
	color: #000;
	font-weight: bold;
	border: 1px solid #ccc !important;
	box-sizing:border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	height:100% !important;
}
.ui-search-input input {
	height: 20px;
}
.tableselection{
	width:100%;
	border-top: 2px solid;
	margin-top:15px;
	padding-top:5px;
	margin-bottom:-15px;
}

.tableselection td{
	border-top: 0px;
	padding-top: 5px;
}

select {
	padding: 0px;
	height: 20px;
}

tr.ui-search-toolbar select{
	height: 22px;
}

.combobox {
	border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
	border-bottom-right-radius: 0px !important;
	border-top-right-radius: 0px !important;
}

#tabtable {
	width: 100%;
	border-top:2px solid;
	margin-top:15px;
}

.breadcrumbs{
	padding-top:5px;
	padding-bottom:5px;
	padding-left: 10px;
	background-color: #2E3131;
	color: white;
	font-weight: bold;
	box-sizing:border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border-left:1px solid black;
	border-bottom:1px solid black;
	border-right:1px solid black;
}
.breadcrumbs a {
	color: #F3F3C3;
}

.mainpage {
	padding-top: 5px;
	margin-top: 16px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

@media (max-width: 767px){
	.mainpage {
		margin-top: 5px;
		margin-left: 0px !important;
	}
}

.formtable {
	border: 2px solid;
	box-shadow: 2px 5px 25px 2px;
	border-collapse: separate;
}

#sidebar {
	padding-top: 5px;
}

label {
	line-height: 22px;
}

.section{
	background: rgb(86, 179, 69); /* Old browsers */
	background-image: -webkit-gradient(linear, 0% 5%, 0% 100%, from(#fff), to(rgb(255, 255, 250)));
	background-image: -moz-linear-gradient(center top , #fff, rgb(255, 255, 250));
	background-image: -ms-linear-gradient(top , #fff, rgb(255, 255, 250));
	background-image: -o-linear-gradient(center top , #fff, rgb(255, 255, 250));
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr=rgb(255, 255, 250),GradientType=0 ); /* IE6-9 */
	border-radius: 15px; 
	border: 2px solid black;
	background-color: rgb(255, 255, 250);
	-webkit-box-shadow: 0px 0px 9px 1px rgba(25, 109, 112, 0.21);
	-moz-box-shadow: 0px 0px 9px 1px rgba(25, 109, 112, 0.21);
	box-shadow: 0px 0px 9px 1px rgba(25, 109, 112, 0.21);
	border: 1px ridge rgba(255, 255, 240, 0.6);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;

}
.section-title{
	width:100%;
	font: bold 20px Georgia, sans-serif;
	text-align: center;
	cursor: default;
	margin-bottom: 16px;
}
.files{
	display: table;
	margin: auto;
}
.file:hover{
	background-color: rgb(238, 238, 238);
}
.file {
	border-radius:10px;
	width: 120px;
	height: 84px;
	float: left;
	cursor: pointer;
	margin: 10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	background-color: rgb(219, 219, 219);
	box-shadow: 1px 1px 1px 1px;
}
.file-icon {
	width:64px;
	height:64px;
	background-repeat:no-repeat;
	cursor: pointer;
	margin:auto;
}
.file-name{
	text-align:center;
	font: bold 15px arial, sans-serif;
}

#selected_address{
	text-align: left;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	margin-bottom: 5px;
	padding-top: 2px;
    /*border-bottom: 1px solid #87cefa;
    color: #000000;*/
    padding-left: 4px;
    margin-bottom: 10px;
    text-align: center;
}

#selected_address:hover{
	text-decoration: underline;
	background-color: rgba(135, 206, 250, 0.3);
	border: none;
}

.ui-icon {
	cursor: pointer;
}
.ui-pg-button{
	border: none !important;
}

.ui-pg-div{
	border: none !important;
	background:none !important;
	font-weight: bold;
	color:black;
}

.HeaderButton.ui-state-hover{
	border:none !important;
	background:none !important;
}

.ui-icon-trash, .ui-icon-check, .ui-icon-pencil, .ui-icon-plus, .ui-icon-refresh, .ui-icon-search, .ui-icon-circle-triangle-n, .ui-icon-circle-triangle-s, .ui-icon-seek-first, .ui-icon-seek-prev, .ui-icon-seek-next, .ui-icon-seek-end, .ui-icon-copy{
	/* border: 1px solid black; */
	background-image: url(images/ui-icons_222222_256x240.png) !important;
	border-radius: 3px;
	background-color: #E6E6FA;
	/* box-shadow: 1px 1px 1px; */
}

.ui-icon-trash:hover, .ui-icon-check:hover, .ui-icon-pencil:hover, .ui-icon-plus:hover, .ui-icon-refresh:hover, .ui-icon-search:hover, .ui-icon-circle-triangle-n:hover, .ui-icon-circle-triangle-s:hover, .ui-icon-seek-first:hover, .ui-icon-seek-prev:hover, .ui-icon-seek-next:hover, .ui-icon-seek-end:hover, .ui-icon-copy:hover{
	background-color:rgb(255, 248, 186);
}

.fc-header-title h2, #product-list .title.span12, #ordersheet-title, #comment-div span, .header, .footer{
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	color: white;
	font-weight: bold;
}
.header a{
	text-shadow: none;
}
#backtotop{
	position: fixed;
    right: 10px;
    bottom: 40px;
    background: url(images/icon-top.png);
    background-color: #F44336;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#report-form{
	/* background-image: url(images/9be70520.png); */
}