@import url("//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css");
@import url("//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap-theme.min.css");
@import url("//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css");

*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

body{
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

ol, ul{
	/*margin: 0;*/
	/*padding: 0;*/
}

li{
	display: list-item;
	/*list-style: none;*/
}

a:hover,
.opacity:hover{
	opacity: 0.8;
}

.nav>li>a:focus{
	background-color: initial;
}

.clearfix:after{
	content: " "; 
	display: block;
	clear: both;
}

.hide2{display: none;}

.top5 { margin-top: 5px; }
.top7 { margin-top: 7px; }
.top10 { margin-top: 10px; }
.top15 { margin-top: 15px; }
.top17 { margin-top: 17px; }
.top30 { margin-top: 30px; }
.padding5 {padding:5px;}
.left5 { margin-left: 5px; }
.left20 { margin-left: 20px; }
.left100 { margin-left: 100px; }

.bg-success{padding-top:10px;padding-bottom:10px;}

*[accesskey]:before {content:'[' attr(accesskey) '] '}

img{
	max-width: 100%;
}

.desc{
	font-size: 12px;
	font-weight: normal;
	color: #9e9e9e;
}

.hr{
	border-bottom: 1px solid #e2e2e2;
}

.white, .white a{
	color: #fff;
}

.glyphicon.spinning {
	animation: spin 1s infinite linear;
	-webkit-animation: spin2 1s infinite linear;
	transform-origin: 48% 50%;
}

@keyframes spin {
	from { transform: scale(1) rotate(0deg); }
	to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}


.collapsHeightTip{
	position: relative;
}
.collapsHeightTip::after {
	content: '';
	/*opacity: 0;*/
	color: #105E28;
	position: absolute;
	right: 0;
	bottom: 0;
	border-style: solid;
	border-width: 0 0 10px 10px;
	border-color: transparent transparent #007bff transparent;
}

[data-autoheight]{
	margin-bottom: 7px;
}

[data-autoheight] li.disabled,
[data-autoheight] li.disabled:hover
{
	cursor: pointer;
}

.titleU{
	font-size: 18px;
	color: gray;
	border-bottom: 2px solid #2970b7;
	margin-top: 10px;
	margin-bottom: 20px;
}

.navbar-toggle {
    border-color: #ddd;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.radioTag{
	display: inline-block;
	margin-right: 5px;
}

.radioTag label {
	min-width: 115px;
	border-radius: 3px;
	border: 1px solid #D1D3D4;
	padding-right: 10px;
}

.radioTag.mini label {
	min-width: 75px;
	padding-right: 5px;
}

.radioTag input:empty {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

/* style label */
.radioTag input:empty ~ label {
	position: relative;
	float: left;
	line-height: 2.5em;
	text-indent: 3.25em;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.radioTag.mini input:empty ~ label {
	line-height: 1.3em;
	text-indent: 1.75em;
}

.radioTag input:empty ~ label:before {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	content: '';
	width: 2.5em;
	background: #D1D3D4;
	border-radius: 3px 0 0 3px;
}

.radioTag.mini input:empty ~ label:before {
	width: 1.3em;
	border-radius: 1px 0 0 1px;
}

.radioTag input:empty ~ label:before {
	content:'\2714';
	text-indent: .9em;
}

.radioTag.cross input:empty ~ label:before {
	content:'\2716';
}

.radioTag.mini input ~ label:before {
	text-indent: .2em;
}

.radioTag input:not(:checked) ~ label:before {
	color: #C2C2C2;
}

/* toggle hover */
.radioTag input:hover:not(:checked) ~ label:before {
	color: #717171;
}

.radioTag input:hover:not(:checked) ~ label {
	color: #777;
}

/* toggle on */
.radioTag input:checked ~ label:before {
	color: #9CE2AE;
	background-color: #4DCB6D;
}

.radioTag.cross input:checked ~ label:before {
	color: #faf4d5;
	background-color: #f0ad4e;
}

.radioTag.mini input:checked ~ label:before {
	text-indent: .2em;
}

.radioTag input:checked ~ label {
	/*color: #888;*/
}

/* radio focus */
.radioTag input:focus ~ label:before {
	/*box-shadow: 0 0 0 3px #999;*/
}

.easyRead{
	font-size:30px;
}

input[type='text'].easyRead{
	height: initial;
}

.switch {
	position: relative;
	display: block;
	vertical-align: top;
	width: 100px;
	height: 30px;
	padding: 3px;
	margin:0;
	background: linear-gradient(to bottom, #eeeeee, #FFFFFF 25px);
	background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF 25px);
	border-radius: 18px;
	box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
	cursor: pointer;
  box-sizing:content-box;
}
.switch input {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
  box-sizing:content-box;
}
.switch span:first-of-type {
	position: relative;
	display: block;
	height: inherit;
	font-size: 10px;
	text-transform: uppercase;
	background: #eceeef;
	border-radius: inherit;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
	box-sizing:content-box;
	overflow: hidden;
}
.switch span:first-of-type:before, .switch span:first-of-type:after {
	position: absolute;
	margin-top: -.5em;
	line-height: 1;
	-webkit-transition: inherit;
	-moz-transition: inherit;
	-o-transition: inherit;
	transition: inherit;
	box-sizing:content-box;

	width: 20px;
	height: 20px;
	top: 4px;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 11px 0 0 0;
	border-radius: 20px;
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 0 3px rgba(0, 0, 0, 0.1);
}
.switch span:first-of-type:before {
	content: attr(data-off);
	right: 11px;
	color: #aaaaaa;
	text-shadow: 0 1px rgba(255, 255, 255, 0.5);
	background: #eceeef;
	text-align: left;
	padding-left: 80px;
	text-indent: -30px;
}
.switch span:first-of-type:after {
	content: attr(data-on);
	color: #FFFFFF;
	text-shadow: 0 1px rgba(0, 0, 0, 0.2);
	text-align: left;
	text-indent: 9px;
	background: #FF7F50;
	left: -100px;
	width: 100%;
}
.switch input:checked ~ span:first-of-type {
	background: #E1B42B;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch input:checked ~ span:first-of-type:before {
	left: 100px;
}
.switch input:checked ~ span:first-of-type:after {
	left: 0;
}
.switch span:last-of-type {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 28px;
	height: 28px;
	background: linear-gradient(to bottom, #FFFFFF 40%, #f0f0f0);
	background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
	border-radius: 100%;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}
.switch span:last-of-type:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -6px;
	width: 12px;
	height: 12px;
	background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
	background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
	border-radius: 6px;
	box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}
.switch input:checked ~ span:last-of-type {
	left: 74px;
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Transition
============================================================ */
.switch span{
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
	-moz-transition: All 0.3s ease;
	-o-transition: All 0.3s ease;
}

.switch-toggle input:focus,
.switch-toggle input:active,
.switch-toggle label:focus,
.switch-toggle label:active,
.switch-toggle a:focus,
.switch-toggle a:active{
	outline: none;
}

.switch-toggle input:checked + label{
	color: #fff;
}

/* Hi switch
============================================================ */

.hi-switch input {
	display: none;
}
.hi-switch label {
	display: inline-block;
	min-width: 80px;
	background-color: #e4e4e4;
	color: #333;
	font-weight: normal;
	text-align: center;
	text-shadow: none;
	padding: 6px 18px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	float: left;
	cursor: pointer;
	-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 3px -1px rgba(0, 0, 0, 0.3), 
				inset 0 -1px 3px -1px rgba(0, 0, 0, 0.3);
}
.hi-switch label:first-of-type,.hi-switch label:last-of-type {
	-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
}

.hi-switch label:first-of-type {
	border-radius: 4px 0 0 4px;
}

.hi-switch label:last-of-type {
	border-radius: 0 4px 4px 0;
}

.hi-switch input:checked + label {
	background-color: #8a8a8a;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
}
.hi-switch.label-info input:checked + label {
	background-color: #43A6DF;
}
.hi-switch.label-success input:checked + label {
	background-color: #5cb85c;
}
.hi-switch.label-warning input:checked + label {
	background-color: #f0ad4e;
}
.hi-switch.label-danger input:checked + label {
	background-color: #d9534f;
}