/* Added for UC Worm Plugin */

.worm-map-search {
	margin: 1em 0;
}
.uc-worm-marker-map-container h4 {
	margin-bottom: .1em;
}

.onoffswitch {
	position: relative; width: 160px;
	-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
	display: none;
}
.onoffswitch-label {
	display: block; overflow: hidden; cursor: pointer;
	border: 1px solid #000000; 
	border-radius: 7px;
}
.onoffswitch-inner {
	display: block; width: 200%; margin-left: -100%;
	transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
	display: block; float: left; width: 50%; height: 35px; padding: 0; line-height: 35px;
	font-size: 16px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
	box-sizing: border-box;
}
.onoffswitch-inner:before {
	content: "Convert to Kgs";
	padding-left: 9px;
	background-color: #0f510f; 
	color: #FFFFFF;
}
.onoffswitch-inner:after {
	content: "Convert to Lbs";
	padding-right: 9px;
	background-color: #4e4a41;
	color: #ffffff;
	text-align: right;
}
.onoffswitch-switch {
	display: block; width: 21px; margin: 7px;
	background: #FFFFFF;
	position: absolute; top: 0; bottom: 0;
	right: 122px;
	border: 1px solid #3c3c3c; border-radius: 7px;
	transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-inner {
	margin-left: 0;
}
.onoffswitch-checkbox:checked ~ .onoffswitch-switch {
	right: 0px; 
}

.vermi-total {
    margin-bottom: 20px;
}

.uc-worm-map-filter{
	margin-bottom: 20px;
	}

.alert-container {
	margin-top: .5em;
	margin-bottom: .5em;
}

.alert {
	padding: 10px 15px;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	max-width: 300px;
	min-width: 150px;
}

.alert-success {
	background: mediumseagreen;
}

.alert-error {
	background: indianred;
}

.alert-normal {
	background: lightgrey;
	color: #000;
}

.alert-warning {
	background: goldenrod;
}

select#state {
	transition: width .5s, padding .5s, margin .5s;
}

select#state.empty {
	width: 0;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.floatright {
	float: right;
}

.worm-profile {
	width: 300px;
	height: auto;
}

.worm-profile img {
	width: 100%;
}

.address-row {
	overflow: auto;
	width: 100%;
}

.worm-infobox h2 {
	margin-top: 0;
}

.worm-infobox p {
	margin-bottom: 0;
}