
input[type='number'],input[type='text'], select, input[type='file'], input[type='date'], input[type='search'], input[type='auto'], textarea, form fieldset {
	padding: 9px;
	border: solid 1px #CCCCCC;
	outline: 0;
	font: normal 13px/100% Verdana, Tahoma, sans-serif;
	background: #FFFFFF url('../common-images/template/bg_form.png') left top repeat-x;
	background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
	background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
	box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	-moz-box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	-webkit-box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;

}

input[type='submit'], select, input[type='reset'] {
	margin: 5px;
	padding: 5px;
}

input[type='image'] {
	outline: 0;
}

input[type='number']:hover,
input[type='number']:focus,
input[type='text']:hover, input[type='text']:focus,
input[type='file']:hover, input[type='file']:focus,
input[type='date']:hover, input[type='date']:focus,
input[type='auto']:hover, input[type='auto']:focus,
input[type='search']:hover, input[type='search']:focus,
textarea:hover, textarea:focus,
select:hover, select:focus {
	border-color: #4B2E83;
	box-shadow: rgba(116, 82, 181, 0.65) 0px 0px 15px;
	-moz-box-shadow: rgba(116, 82, 181, 0.65) 0px 0px 15px;
	-webkit-box-shadow: rgba(116, 82, 181, 0.65) 0px 0px 15px;

}

input[type='radio']:hover, input[type='radio']:focus,
input[type='checkbox']:hover, input[type='checkbox']:focus {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-color: #4B2E83;
	box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(102, 77, 149, 0.25);

}

.button-align {
	position: relative;
	top: 23px;
}

.form label {
	margin-left: 10px;
	color: #999999;

}

.submit input {
	width: auto;
	padding: 9px 15px;
	background: #617798;
	border: 0;
	font-size: 14px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #FFFFFF;

}

legend {
	color: #4B2E83;
	margin: 5px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1px;
	font-variant: small-caps;
	border-bottom: none;
	margin-bottom: 0px;

}

fieldset {
	padding: 9px;
	margin: 5px;
	border: solid 1px #CCCCCC;
	outline: 0;
	font: normal 13px Tahoma, Verdana, sans-serif;
	background: #FFFFFF url('../common-images/template/bg_form.png') left top repeat-x;
	background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
	background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
	box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	-moz-box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	-webkit-box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

fieldset a {
	text-decoration: none;
}

fieldset a:hover {
	text-decoration: underline;
}

.button {
	cursor: pointer;
	position: relative;
	top: 23px;
}

.formtext {
	padding-left: 10px;
}

.slim {
	padding: 2px;
	border: solid 1px #CCCCCC;
	outline: 0;
	font: normal 12px/100% Verdana, Tahoma, sans-serif;
	background: #FFFFFF url('../common-images/template/bg_form.png') left top repeat-x;
	background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
	background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
	box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	-moz-box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	-webkit-box-shadow: rgba(75, 46, 132, 0.1) 0px 0px 8px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	height: 10px;
	margin: 2px;

}

.ui-datepicker-calendar thead {color:white}

.dimheavy { filter: alpha(opacity=20); opacity: 0.2; }
.dimmedium { filter: alpha(opacity=40); opacity: 0.4; }
.dimlight { filter: alpha(opacity=60); opacity: 0.6; }


.dropdown-uwt {
	min-width: 12em;
	position: relative;
	display: inline-block;
	margin-right: 1em;
	min-height: 2.2em;
	max-height: 2.2em;
	overflow: hidden;
	top: 0.5em;
	cursor: pointer;
	text-align: left;
	white-space: nowrap;
	color: #444;
	outline: none;
	border: 0.06em solid transparent;
	border-radius: 1em;
	background-color: #d6d6e5;
	transition: 0.3s all ease-in-out;
	font-size: 1em;
}

.dropdown-uwt input:focus+label {
	background: #def;
}

.dropdown-uwt input {
	width: 1px;
	height: 1px;
	display: inline-block;
	position: absolute;
	opacity: 0.01;
}

.dropdown-uwt label {
	border-top: 0.06em solid #d6d6e5;
	display: block;
	height: 2em;
	line-height: 2em;
	padding-left: 1em;
	padding-right: 3em;
	cursor: pointer;
	position: relative;
	transition: 0.3s color ease-in-out;
}

.dropdown-uwt label:nth-child(2) {
	margin-top: 2em;
	border-top: 0.06em solid #d6d6e5;
}

.dropdown-uwt input:checked+label {
	display: block;
	border-top: none;
	position: absolute;
	top: 0;
	width: 100%;
}

.dropdown-uwt input:checked+label:nth-child(2) {
	margin-top: 0;
	position: relative;
}

.dropdown-uwt::after {
	content: "";
	position: absolute;
	right: 0.8em;
	top: 0.9em;
	border: 0.3em solid #d6d6e5;
	border-color: #d6d6e5 transparent transparent transparent;
	transition: 0.4s all ease-in-out;
}

.dropdown-uwt.expanded {
	border: 0.06em solid #d6d6e5;
	background: #fff;
	border-radius: 0.25em;
	padding: 0;
	box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 5px 0px;
	max-height: 15em;
}

.dropdown-uwt.expanded label {
	border-top: 0.06em solid #d6d6e5;
}

.dropdown-uwt.expanded label:hover {
	color: #d6d6e5;
}

.dropdown-uwt.expanded input:checked+label {
	color: #d6d6e5;
}

.dropdown-uwt.expanded::after {
	transform: rotate(-180deg);
	top: 0.55em;
}


.checkbox-uwt label {
	display: flex;
	cursor: pointer;
	font-weight: 500;
	position: relative;
	overflow: hidden;
	margin-bottom: 0.375em;
}

.checkbox-uwt label input {
	position: absolute;
	left: -9999px;
}

.checkbox-uwt label input:checked+span {
	background-color: #d6d6e5;
}

.checkbox-uwt label input:checked+span:before {
	box-shadow: inset 0 0 0 0.4375em #00005c;
}

.checkbox-uwt label span {
	display: flex;
	align-items: center;
	padding: 0.375em 0.75em 0.375em 0.375em;
	border-radius: 0em 99em 99em 0em;
	transition: 0.25s ease;
	border-color: #f0f0f0;
}

.checkbox-uwt label span:hover {
	background-color: #f0f0f0;
}

.checkbox-uwt label span:before {
	display: flex;
	flex-shrink: 0;
	content: "";
	background-color: #fff;
	width: 1.5em;
	height: 1.5em;
	border-radius: 10% 10% 10% 10%;
	margin-right: 0.375em;
	transition: 0.25s ease;
	box-shadow: inset 0 0 0 0.125em #4d3087;
}

.radio-uwt label {
	display: flex;
	cursor: pointer;
	font-weight: 500;
	position: relative;
	overflow: hidden;
	margin-bottom: 0.375em;

}

.radio-uwt label input {
	position: absolute;
	left: -9999px;
}

.radio-uwt label input:checked+span {
	background-color: #d6d6e5;
}

.radio-uwt label input:checked+span:before {
	box-shadow: inset 0 0 0 0.4375em #00005c;
}

.radio-uwt label span {
	display: flex;
	align-items: center;
	padding: 0.375em 0.75em 0.375em 0.375em;
	border-radius: 99em;
	transition: 0.25s ease;
	border-color: #f0f0f0;
}

.radio-uwt label span:hover {
	background-color: #f0f0f0;

}

.radio-uwt label span:before {
	display: flex;
	flex-shrink: 0;
	content: "";
	background-color: #fff;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	margin-right: 0.375em;
	transition: 0.25s ease;
	box-shadow: inset 0 0 0 0.125em #4d3087;

}

/* Adjust Bootstrap toggles to UWT colors */

.form-check-input:checked {
background-color: #664d95;
border-color: #3f2f5c;
}

.input-group-text {
background-color: #d6d6e5;
font-weight: bold;
}

  /* Adjust Bootstrap Slider to UWT colors */

.form-range::-webkit-slider-thumb {
	background-color: #664d95;
}

.form-range::-webkit-slider-thumb:active {
	background-color: #d6d6e5;
}

.form-range::-moz-range-thumb {
	background-color: #664d95;
}

.form-range::-moz-range-thumb:active {
	background-color: #d6d6e5;
}

.form-range:focus::-webkit-slider-thumb {
	box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(102, 77, 149, 0.25);
}

.form-range:focus::-moz-range-thumb {
	box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(102, 77, 149, 0.25);
}