.autocomplete {
	display: inline-block;
	padding: 0;
}

/* GENERAL FORM */
form {
	margin: 0 1em 1em 1em;
}

.ui-tabs-panel form {
	margin: 0;
}

form label, form .label, #general label {
	display: block;
  	line-height: 1.5;
  	vertical-align: top;
	font-size: 13px;
}

form #sorter label {
	display: inline-block;
	vertical-align: middle;
}

form ol, #general ol {
  	margin: 0;
  	padding: 0;
}

form li, #general li {
  	list-style: none;
  	padding: 5px;
  	margin: 0;
}

form li * {
	vertical-align: middle;
}

form p span {
	padding-left: 10px;
}

form ol {
	list-style: none;
}

/* BUTTON */
.buttons {
	margin-top: 5px;
	margin-bottom: 1em;	
}

.button, #wrapper a.button, input[type=submit] {
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 15px;
	color: #ffffff !important;
	padding-top: 13px;
	padding-bottom: 13px;
	background-color: rgb(243,146,127); /*#25282B;*/
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.5);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.5);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.5);
	width: 145px;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	margin-bottom: 0.5em;
	margin-right: 1em;
	border-bottom: 0;
}

.button:hover, #wrapper a.button:hover, input[type=submit]:hover {
    background-color: #999 !important; 
    border-bottom: 0;
}

/* INPUT FIELD */
input[type="text"], select, input[type="email"], input[type="password"] { 
    padding: 5px; 
    font-size: 15px; 
    text-shadow: 0px 1px 0px #fff; 
    outline: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px;     
    -webkit-box-shadow: 1px 1px 0px #efefef; 
    -moz-box-shadow: 1px 1px 0px #efefef; 
    box-shadow:  1px 1px 0px #efefef; 
}

#wrapper table.update input[type="text"]:focus,
input:focus, a.button:focus, select:focus, input[type="email"]:focus, input[type="password"]:focus { 
    -webkit-box-shadow: 0px 0px 5px #007eff; 
    -moz-box-shadow: 0px 0px 5px #007eff; 
    box-shadow: 0px 0px 5px #007eff;
    border-color: #145E91; 
}

input, textarea, select {
	border: 1px solid #C8C8C8;
}

select {
	text-transform: uppercase;
}

/* RADIO TOGGLE */
input[type="radio"] {
	display: none;
}

input[type="radio"] + label {
	background-color: black;
	color: white;
	border: 1px black solid;
	min-width: 5em;
	padding: 5px 2px 5px 2px;
	display: inline-block;
	border: 1px solid #d3d3d3/*{borderColorDefault}*/;
	background: #e6e6e6;
	font-weight: normal/*{fwDefault}*/;
	color: #555555/*{fcDefault}*/; 
	margin-right: -.3em; 
	margin-left: 0;
	line-height: normal;
	cursor: pointer;
	vertical-align: middle;	
	text-align: center;
}

input[type="radio"]:checked + label {
	background-image: linear-gradient(to top,#969696,#727272);
	box-shadow: inset 0 1px 6px rgba(41, 41, 41, 0.2),
	                   0 1px 2px rgba(0, 0, 0, 0.05);
	cursor: default;
	color: #E6E6E6;
	border-color: transparent;
	text-shadow: 0 1px 1px rgba(40, 40, 40, 0.75);
}

input[type="radio"]:checked + label:hover {
	background-color: inherit;
	background-position: 0 0;
	transition: none;
}

/* CHECKBOX */
input[type="checkbox"] {
	-webkit-appearance: none;
	background-color: #fafafa;
	border: 1px solid #cacece;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
	padding: 6px;
	border-radius: 3px;
	display: inline-block;
	position: relative;
}
	
input[type="checkbox"]:active, input[type="checkbox"]:checked:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}
 
input[type="checkbox"]:checked {
    background-color: #FFF;
    border: 1px solid #adb8c0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #99a1a7;	
}	

input[type="checkbox"]:checked:after {
    content: '\2714';
	font-size: 14px;
    left: 1px;
    position: absolute;
    top: -2px;
    color: #99a1a7;
}

/* UPDATE TABLE */
#wrapper table.update input[type="text"] {
	border: none;
	background: none repeat scroll 0 0 transparent;
	padding-left: 0;
	padding-right: 0;
	box-shadow: none;	
}

#wrapper table.update th, #wrapper table.update td {
	text-align: left;
	font-size: 13px !important;
}

#wrapper table.update tr.dnv input[type="text"], 
#wrapper table.update tr.wl input[type="text"] {
	text-indent: 0;
	text-shadow: none;
}

#wrapper table tr.dnv {
	background-color: #E9A2A2;
}

#wrapper table tr.wl {
	background-color: #FFFF66;
}

#wrapper table td.nis {
	background-color: #FFBB66;
}

#wrapper table.update td.duplicate input[type="text"] {
	text-indent: 0;
	text-shadow: none;
}

#wrapper table.update td.duplicate {
	background-color: #FFCC99;
}

#wrapper table.update tr.dnv input[type="text"]:focus, 
#wrapper table.update tr.wl input[type="text"]:focus,
#wrapper table.update td.duplicate input[type="text"]:focus {
	background-color: white;
}

/* MISC CLASSES */
.filter-list {
	margin-left: 2em;
}

.filter-list label {
	width: 15em;
}

.validation-box {
	background-color: #ffffa6;
	margin: auto;
	width: 650px;	
	padding: 1em;	
}

.validation-box p {
	font-size: 12px;
	font-weight: bold;
	color: #ff0000;
}

.update td input[type="text"] {
	width: 95%;
}

@media screen and (max-width: 480px) {
	.radioContainer {
		font-size: 90%;
	}
	
	.button, #wrapper a.button, input[type=submit] {
		width: 100%;
	}
}