html 					{ height:100%; }
body					{ height:100%; }
#main_table 	{	min-height: 100%; }

#main_table {
	border: 1px solid #00204b;
	
	margin-left: auto;
	margin-right: auto;
	
	width: 100%;
}

#main_top_row 		{ height: 50px; }
#main_bottom_row 	{ height: 30px; }

#main_top_left 	{ width: 251px !important; }
#main_middle_right { width: 150px; }

#main_top_left,
#main_top_middle { 
	background-color: #055686; 
}

#main_middle_left, #main_bottom_left {
	background-color: #EEEEEE;
}

#main_middle_left, #main_middle_right { vertical-align: top; }

#header {
	width: 100%;
}

#header_logo_1 {
	width: 200px;
	/* background: url('bg_001.png') repeat-x bottom; */
	background-color: #7B90D0;
}

#header_logo_2 {
	width: 30px;
	/* background: url('bg_header_logo_2.png') repeat-x bottom; */
	background-color: #7B90D0;	
}

#logo {
	width: 180px;
	height: 60px;
	margin-left: 20px;
	margin-right: 10px;
	background: url('logo.png') no-repeat center center;
	background-size: 150px 50px;
	background-color: transparent;
}

#nav_bar {
	padding-left: 14px;
	padding-right: 5px;
	height: 24px;
	/* background: url('bg_002.png') repeat-x bottom; */
	
	color: #ffffff;
	font-size: 0.9em;
}

#nav_bar a, #nav_bar a:visited {
	color: #ffffff;
	text-decoration: underline;
}

#main_menu { width: 240px; }
#main_menu, .menu {
	margin-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
	/* height: 30px; */ 
	/* background: url('bg_main_menu.png') repeat-x bottom; */
	text-align: left;
	color: white;
}

#main_menu a, .menu a {
	text-decoration: none;
	color: white;
	
	cursor: pointer;
}

#main_menu li, .menu li {
	list-style: none;
	display: inline-block;
	margin: 0px;
}

#main_menu li>a, .menu li>a {
	display: table-cell;
	height: 48px;
	padding: 6px;
	vertical-align: middle;
	width: 250px;
	
	/* font-weight: bold; */
}

#main_menu li>a:hover, .menu li>a:hover {
	font-weight: bold;
}

#main_menu li>a.selected, .menu li>a.selected {
	border: 4px solid white;
	text-align: center;
	width: 250px !important;
}

/*
#sub_menu {
	padding-left: 4px;
	padding-right: 5px;
	height: 26px; 
	background: url('bg_sub_menu.png') repeat-x bottom;
	background-color: #196795;
	text-align: left;
}
*/

#main_menu li ul, .menu li ul {
	margin: 4px 0 0 0;
	padding: 0;
	display: none;
}

#main_menu li ul li, .menu li ul li {
	margin: 2px 0 0 0;
	padding: 0;
}

#main_menu li ul li, .menu li ul li {
	color: white;
	list-style: none;
	display: inline-block;
}

#main_menu li ul li>a, .menu li ul li>a {
	height: 48px;
	padding: 6px;
	vertical-align: middle;
}

#main_menu li>a.full, .menu li>a.full { width: 250px; }
#main_menu li>a.half, .menu li>a.half { width: 105px; }

#main_menu li ul li>a:hover, .menu li ul li>a:hover {
	font-weight: bold;
}

#main_menu li ul li.full, .menu li ul li.full { width: 250px; }
#main_menu li ul li.half, .menu li ul li.half { width: 120px; margin-right: 5px }

table.sub_menu {
	width: 100%;
	color: white;
	border-spacing: 0;
	border: none;
}

table.sub_menu td { height: 24px; }

table.sub_menu tr>td:nth-child(1),
table.sub_menu tr>td:nth-child(2) {
	width: 50%;
}

table.sub_menu tr>td:nth-child(1) { margin-right: 2px; }
table.sub_menu tr>td:nth-child(2) { margin-left: 2px; }

#action_menu {
	margin-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
	/* height: 30px; */ 
	/* background: url('bg_action_menu.png') repeat-x bottom; */
	text-align: left;
	
	position: fixed;
  top: 50px;
  width: 140px;
}

#action_menu li {
	list-style: none;
	display: block;
	margin: 4px;
}

#action_menu li>a {
	display: block;
	/* height: 32px; */
	padding: 6px;
	text-align: center;
	vertical-align: middle;
	width: 92%;
	
	color: white;
	background-color: #00406B;
	
	/* font-weight: bold; */
	cursor: pointer;
}

#action_menu li>a.big {
	padding-top: 2em;
	padding-bottom: 2em;
}

#action_menu li>a:hover {
	font-weight: bold;
}

#status_text {
	font-size: small; 
}

.error {
	color: red;
	font-size: small;
}

div.sub_section {
	margin-bottom: 1em; 
}

div.button_panel, td.button_panel {
	text-align: right;
}

div.float_bottom {
	position: fixed;
	bottom: 8px;
	left: 300px;
	width: 70%;
	
	z-index: 9;
}

div.action-panel {
	border: red 1px solid;
	border-radius: 6px;
	background-color: white;
	padding: 8px;
}

@media screen and (min-width: 1366px) {
	div.action-panel {
		position: fixed;
    float: right;
    width: 160px;
    bottom: 10px;
    right: 10px;
    
    border: none;
	}
	
	div.action-panel a,
	div.action-panel button {
		width: 100%;
		font-size: inherit;
		text-align: left;
		margin-top: 2px;
		margin-bottom: 2px;
	}
	
	div.action-panel a.big,
	div.action-panel button.big {
		padding-top: 2em;
		padding-bottom: 2em;
	}
	
	div.action-panel span { display: none; }
	
	div.action-panel table td {
		display: block;
		width: 100%;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 1540px) {
	.container-fluid { margin-left: 0; }
	.container-fluid.entry_form { margin-bottom: 60px; }
}

@media screen and (max-width: 1366px) {
	#main_menu li ul li.half, .menu li ul li.half { width: 250px; margin-right: 0; }
	
	div.float_bottom {
		/* left: 25px; */
		width: 80%;
	}	
	/*
	div.action-panel table tr>td:nth-child(1) {	width: 33%; }
	div.action-panel table tr>td:nth-child(2) {	width: 34%; }
	div.action-panel table tr>td:nth-child(3) {	width: 33%; }
	*/
	div.action-panel table tr { text-align: center; }
	div.action-panel table tr>td { display: inline; }
}

@media screen and (max-width: 960px) {
	#main_menu li ul li.half, .menu li ul li.half { width: 250px; margin-right: 0; }

	div.float_bottom {
		left: 25px;
		width: 90%;
	}
	/*
	div.action-panel table tr>td:nth-child(1) {	width: 33%; }
	div.action-panel table tr>td:nth-child(2) {	width: 34%; }
	div.action-panel table tr>td:nth-child(3) {	width: 33%; }
	*/
	div.action-panel table tr { text-align: center; }
	div.action-panel table tr>td { display: inline; }
}

input[type='number'] {
	appearance: textfield;
  }
  input[type='number']::-webkit-inner-spin-button,
  input[type='number']::-webkit-outer-spin-button,
  input[type='number']:hover::-webkit-inner-spin-button, 
  input[type='number']:hover::-webkit-outer-spin-button {
  -webkit-appearance: none; 
   margin: 0; }

.uploader-box {
	height: 200px;
	overflow-y: hidden;
	margin-bottom: 0.5em;
}

.img-uploader-area {
	position: relative;
	top: -200px;
	width: 100%;
	overflow: hidden;
	height: 200px;
	opacity: 0;
}