.vi-panel {
	font-family: 'Lato', sans-serif;
	background: @tile_color;
	padding: 10px;
	min-height: 200px;
	min-width: 200px;
	border: 1px solid @tab_border_color;
	margin: 20px 0;
}

.vi-label {
	margin-bottom: 5px;
	display: inline-block;
	font-family: 'Lato', sans-serif;
}

.vi-checkbox {
	display: none!important;
	&+label {
		padding-left: @checkbox_width + 20;
		position: relative;
		height: @checkbox_height;
		display: block;
		line-height: 20px;
		width: 70px;
		&:before {
			box-sizing: border-box;
			position: absolute;
			left:0;
			content: "No";
			display: block;
			width: @checkbox_width;
			height: @checkbox_height;
			top: 0;
			border-radius: 15px;
			background: #ffffff;
			padding: 2px 8px;
			border: 1px solid #cccccc;
			text-align: right;
			transition: all .2s ease;
		}
		&:after {
			box-sizing: border-box;
			transition: all .2s ease;
			display: block;
			content: "";
			width: @checkbox_height - 2px;
			height: @checkbox_height - 2px;
			border: 2px solid #ffffff;
			position: absolute;
			background: @checkbox_off_color;
			border-radius: 100%;
			top: (@checkbox_height - (@checkbox_height - 2px))/2;
			left: 2px;
		}
	}

	&:checked+label {
		&:before {
			content: "Yes";
			text-align: left;
		}
		&:after {
			background: @checkbox_on_color;
			left: @checkbox_width - @checkbox_height;
		}
	}
}


.vi-radio {
	width: 70px;
	input[type="radio"] {
		display: none!important;
	}

	input[type="radio"] {
		& + label {
			height: 25px;
			display: inline-block;
			position: relative;
			margin-right: 20px;
			padding-left: 30px;
			&:before {
				content: " ";
				display: inline-block;
				border: 1px solid #cccccc;
				background: #ffffff;
				width: 20px;
				height: 20px;
				border-radius: 100%;
				position: absolute;
				top: 0;
				margin-right: 5px;
				left: 0;
			}
			&:after {
				content: " ";
				display: inline-block;
				background: #cccccc;
				width: 16px;
				height: 16px;
				border-radius: 100%;
				position: absolute;
				top: 3px;
				margin-right: 5px;
				left: 3px;
			}
		}
		&:checked+label {
			&:before {
				border-color: @checkbox_on_color;
			}
			 &:after {
				 background: @checkbox_on_color;
			 }
		 }
	}
}


.vi-input {
	width: 100%;
	margin: 0;
	border: 1px solid #e4e4e4;
	background-color: #ffffff;
	font-size: 15px;
	color: #a6a6a6;
	margin-bottom: 4px;
	border-radius: 3px;
	height: 41px;
	padding: 10px;
	outline: none;
}


.vi-textarea {
	width: 100%;
	margin: 0;
	border: 1px solid #e4e4e4;
	background-color: #ffffff;
	font-size: 15px;
	color: #32373c;
	margin-bottom: 4px;
	border-radius: 3px;
	height: 41px;
	padding: 10px;
	min-height: 80px;
	outline: none;
}

.vi-select {
	width: 100%;
	border: 1px solid #e4e4e4;
	background-color: #ffffff;
	font-size: 15px;
	color: #a6a6a6;
	margin: 0 0 4px;
	border-radius: 3px;
	height: 41px;
	padding: 10px;
	outline: none;
}

.vi-form-item {
	margin-bottom: 10px;
}
