/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, hr {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: normal;
  font-style: none;
  font-size: 100%;
  vertical-align: baseline;
  text-shadow:none;
}

blockquote { margin-left: 40px }

sub, sup {
  font-size:smaller;
  line-height:normal;}

sub { vertical-align:sub }
sup { vertical-align:super }

:focus { 
	outline: 0;}

strong {
	font-weight: bold;}

em {
	font-style: italic;}

abbr { cursor:help }

/* end reset */

* {
	margin: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;}

html {
	overflow-y: scroll;
	-ms-overflow-y: scroll;}

body {
  font-family: Arial, Helvetica, sans-serif;
	color: #444;
  font-size: 14px;
	line-height: 18px;}

a {
	color: #0081cc;
	text-decoration: none;}

a:hover {
	text-decoration: underline;}

input[type=text],
input[type=password],
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	padding: 10px 7px;
	border-radius: 4px;
	border: 1px solid #ddd;}

textarea {
	resize: vertical;}

.fill input[type=text],
.fill input[type=password],
.fill textarea,
.fill select {
	width: 100%;}

.fill.max input[type=text],
.fill.max input[type=password],
.fill.max textarea,
.fill.max select {
	max-width: 380px;}

.button.action,
input[type=submit],
input[type=reset] {
	padding: 7px 20px;
	background: #333;
	background: linear-gradient(to bottom, #333, #111);
	border: 0 none;
	color: #fff;
	border-radius: 4px;}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	font-weight: bold;}

h1 {
	font-size: 28px;}

h2 {
	font-size: 25px;}

h3 {
	font-size: 22px;}

h4 {
	font-size: 18px;}

h5 {
	font-size: 16px;}

h6 {
	font-size: 14px;}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
	font-weight: inherit;
	font-size: inherit;
	text-decoration: inherit;}

p {
	margin: 15px 0;}


ul, ol {
	margin: 15px 0;
	padding-left: 20px;
	list-style-position: outside;}

li {
	margin: 6px 0;}

.box-wrap:after {
	content: '';
	clear: both;
	display: block;}

.box-5,
.box-10,
.box-15,
.box-20,
.box-25,
.box-30,
.box-33,
.box-40,
.box-50,
.box-60,
.box-66,
.box-70,
.box-80,
.box-90 {
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;}

.box-5 { width: 5%; }
.box-10 { width: 10%; }
.box-15 { width: 15%; }
.box-20 { width: 20%; }
.box-25 { width: 25%; }
.box-30 { width: 30%; }
.box-33 { width: 33.33%; }
.box-40 { width: 40%; }
.box-50 { width: 50%; }
.box-60 { width: 60%; }
.box-66 { width: 66.66%; }
.box-70 { width: 70%; }
.box-80 { width: 80%; }
.box-90 { width: 90%; }

.pad-5 { padding: 5px; }
.pad-10 { padding: 10px; }
.pad-15 { padding: 15px; }
.pad-20 { padding: 20px; }

.hidden {
	display: none !important;}

.calign {
	text-align: center;}

.ralign {
	text-align: right;}

.clear {
	clear: both;}

.clear-left {
	clear: left;}

.float-left {
	float: left;}

.float-right {
	float: right;}

.pad-10 { padding: 10px; }

.error {
	color: #a00;}

.note {
	color: #999;}

span.required {
	color: #d00;
	font-weight: bold;}

p.error, 
p.note {
	margin: 3px 0 0;}

.success-message,
.error-announcement {
	margin-top: 5px;
	border: 1px solid #800;
	background: #c00;
	padding: 10px;
	color: #fff;
	border-radius: 8px;}

.success-message {
	background: #080;
	border: 1px solid #070;}

.main {
	max-width: 960px;
	padding: 0 10px;
	margin: 0 auto;}

.section {
	padding: 15px;
	border: 1px solid #ddd;
	margin: 15px 0;
	border-radius: 5px;}

.main.signin {
	margin-top: 40px;
	padding: 20px;
	border-radius: 10px;
	border: 1px solid #ddd;
	max-width: 400px;}

.header {
	border-radius: 4px 4px 0 0;
	border: 1px solid #eee;
	margin-top: 10px;
	background: linear-gradient(to bottom, #fafafa, #eee);
	padding: 10px;}

.nav {
	background: #f7f7f7;
	background: linear-gradient(to bottom, #fafafa, #eee);
	border: 1px solid #eee;
	padding: 6px 15px;
	border-radius: 0 0 4px 4px;
	margin: 0 0 10px;}

	.nav a {
		font-weight: bold;
		text-transform: uppercase;
		font-size: 11px;
		margin-right: 15px;}

.form:after {
	content: '';
	display: block;
	clear: both;}

	.form dt {
		float: left;
		width: 30%;
		clear: left;
		padding-top: 10px;
		padding-right: 10px;
		text-align: right;}

	.form dd {
		float: left;
		width: 70%;
		padding-bottom: 8px;}

	.form.single dt {
		float: none;
		clear: left;
		width: auto;
		text-align: left;}

	.form.single dd {
		float: none;
		width: auto;}

.gateway {
	max-width: 500px;
	margin: 20px auto;
	padding: 20px;
	border: 1px solid #ddd;
	background: #f7f7f7;}

	.gateway input[type=text] {
		width: 100%;}

	.gateway hr {
		margin: 10px 0;
		height: 1px;
		border-top: 1px solid #eee;}

.button {
	text-decoration: none;
	display: inline-block;}

	.button:hover {
		text-decoration: none;}

	.button * {
		vertical-align: middle;}

	.button.control {
		background: #eee;
		border-radius: 4px;
		color: #333;
		text-decoration: none;
		background: linear-gradient(to bottom, #eee, #ddd);
		padding: 1px 6px;
		line-height: 16px;
		vertical-align: middle;}

.admin-panel {
	padding: 20px 10px;
	border: 1px solid #eee;
	border-radius: 6px;}

.app-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	border-width: 1px;}

	.app-table th {
		font-weight: bold;
		text-align: left;}

	.app-table th,
	.app-table td {
		padding: 6px 10px;}

	.app-table tr {
		border-bottom: 1px solid #eee;}

	.app-table tr:nth-row(even) {
		background: #f5f5f5;}

.condition-checkbox {
	-moz-transform: scale(2,2);
	-webkit-transform: scale(2,2);
	transform: scale(2,2);
	margin: 3px 10px;
}

.form-table td {
	vertical-align: top;}

.note-table {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 5px;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 10px 0;}

	.note-table td {
		border: 1px solid #ddd;
		padding: 7px;}


.letter table {
	width: 100%;
	/*border-collapse: collapse;*/
	border-color: #222;
	border-width: 1px;
	border: 1px solid #222;
	margin: 10px 0;}

	.letter td,
	.letter th {
		border-style: solid;
		border-color: #222;
		border-width: 1px;
		padding: 7px;}

.ui-widget {
	font-size: 13px !important;}

.ui-dialog-content {
	padding: 5px 6px !important;}

.ui-accordion-content {
	border: 1px solid #ddd !important;
	padding: 5px 10px !important;}

.ui-accordion-header {
	border: 1px solid #ddd !important;}
