/*
	MLW UI Core
	v1.0.1
*/

/* Loading masks */
div.loading_mask {
	background: #FFFFFF;
	filter: alpha(opacity=40);
	opacity: 0.4;
	position: absolute;
	z-index: 4000;
}
div.loading_mask_clear {
	background: none;
	position: absolute;
	z-index: 4000;
}
div.loading_mask_pizza {
	background-image: url('../img/loaders/pizza_load.gif');
	background-position: center 50px;
	background-repeat: no-repeat;
}
div.loading_mask_pizza_center {
	background-image: url('../img/loaders/pizza_load.gif');
	background-position: center center;
	background-repeat: no-repeat;
}

/* Alert prompt */
div#ui_alert {
	background: #FFFFFF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	z-index: 10000;
	width: 300px;
	height: auto;
	display: block;
	position: absolute;
	-moz-box-shadow: 0px 0px 8px #ADADAD;
	-webkit-box-shadow: 0px 0px 8px #ADADAD;
	box-shadow: 0px 0px 8px #ADADAD;
	-webkit-transition: 0.45s;
	transition: 0.45s;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
div#ui_alert_inner {
	padding: 20px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	max-height: 90vh;
	overflow: auto;
}
div#ui_alert_inner.ui_alert_inner_nopad {
	padding: 0px;
}
div#ui_alert a.close_button {
	display: block;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	position: absolute;
	top: -5px;
	right: -5px;
	margin: 0;
	background: #333333;
	color: #FFFFFF;
	width: 26px;
	height: 26px;
	padding: 8px 0px 0px 0px;
	-webkit-border-radius: 13px;
	-moz-border-radius: 13px;
	border-radius: 13px;
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	z-index: 4002;
}
div#ui_alert p {
	font-size: 16px;
	font-weight: 400;
	margin: 0 0 15px 0;
	font-family: 'Droid Sans', sans-serif;
}
div#ui_alert_controls {
	text-align: center;
}
.ui_alert_errorbox {
	color: #D83F2E;
    background-color: #FFBABA;
    border: 1px solid #D83F2E;
    padding: 10px;
    font-size: 12px;
    line-height: 1.5em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
	margin: 0 0 10px 0;
}


/* Form two parts */
div.form_part_one {
	width: 30%;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	float: left;
}
div.form_part_one_70 {
	width: 70%;
}
div.form_part_one .form_item {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	height: 46px;
	border: 1px solid #CCC;
	border-right: none;
	background: #F5F5F5;
	color: #999999;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
div.form_part_two {
	width: 70%;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	float: right;
}
div.form_part_two_30 {
	width: 30%;
}
div.form_part_two .form_item {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	height: 46px;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
div.form_part_two .form_item_third {
	width: 33%;
	float: left;
	margin: 0;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border-right: none;
}
div.form_part_two .form_item_last {
	width: 34%;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border: 1px solid #CCC;
}

div.form_input_button_one {
	width: 70%;
	float: left;
}
div.form_input_button_two {
	width: 30%;
	float: left;
}
div.form_input_button_one .form_item {
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 46px;
	
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	height: 46px;
	border: 1px solid #CCC;
	border-right: none;
	background: #FFFFFF;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
div.form_input_button_two .button_flat {
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 46px;
	padding: 12px 30px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
div.form_part_error {
	border: 1px solid #CC0000;
}


/* The switch - the box around the slider */
.form_switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.form_switch input {display:none;}

/* The slider */
.switch_slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}
.switch_slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
input:checked + .switch_slider {
	background-color: #0088CC;
	border-color: #4D9CD2;
}
input:focus + .switch_slider {
	box-shadow: 0 0 1px #0088CC;
}
input:checked + .switch_slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}
/* Rounded sliders */
.switch_slider.round {
	border-radius: 34px;
}
.switch_slider.round:before {
	border-radius: 50%;
}
/* Curved sliders */
.switch_slider.curved {
	border-radius: 6px;
}
.switch_slider.curved:before {
	border-radius: 6px;
}

/* Mobile */
/* Mobile Styles */
@media only screen and (min-width: 0px) and (max-width: 767px) {
	div#ui_alert a.close_button {
		top: 5px;
		right: 5px;
	}
}