/* document */
body {
	font-family: 'Droid Sans', sans-serif;
	font-size: 12px;
	color: #333;
}

a {
	text-decoration: none;
	color: #333;
	outline: none;
}

a:hover {
	text-decoration: underline;
}

b, strong {
	font-weight: bold;
}

i {
	font-style: italic;
}

br.clear {
	clear: both;
}

.hidden {
	display: none;
}

hr.vertical {
	height: 18px;
	display: inline-block;
	border: none;
	width: 1px;
	background: #c6c6c6;
	margin: 0 3px 0 3px;
}

div#container input[type=text].small-font {
	font-size: 10px;
}

hr.horizontal {
    border-top: 1px solid #ccc;
    margin: 15px 0 15px 0;
}

button {
	font-family: 'Droid Sans', sans-serif;
}

h1 {
	font-family: 'Droid Sans', serif;
	font-weight: bold;
	font-size: 20px;
}

h2 {
	font-family: 'Droid Sans', serif;
	font-size: 16px;
	font-weight: bold;
	color: #e2007a;
	margin-bottom: 20px;
}

h3 {
	font-size: 12px;
	font-weight: bold;
	color: #e2007a;
	margin-bottom: 8px;
}

pre {
	font-family: 'Droid Sans', monospace;
}

input[disabled], input[readonly], textarea[disabled], textarea[readonly] {
	color: #333;
	background-color: #eee;
	-webkit-text-fill-color: #333;
}

div#container #splitPointRounded {
	position: absolute;
	box-shadow: none;
	-webkit-box-shadow: none;
	z-index: 100;
}

*:focus {
	outline: none;
}

input::-ms-clear {
	display: none;
}

/* container */
div#container {
	width: 1000px;
	margin: 10px auto;
}

/* header */
div#header {
	padding-bottom: 25px;
	position: relative;
}
	div#header ul#menu {
		position: absolute;
		left: 0px;
		bottom: 10px;
		display: table;
	}
		div#header ul#menu li, div#header ul#logout li {
			display: table-cell;
			padding-right: 25px;
		}
			div#header ul#logout li:last-child {
				padding-right: 0px;
			}

		div#header ul#menu li a.active, div#header ul#logout li a.active {
			color: #e2007a;
		}

	div#header ul#logout {
		position: absolute;
		right: 0px;
		bottom: 10px;
	}

/* content */
div#content {
	padding-top: 30px;
	padding-bottom: 30px;
	border-top: 2px dashed #333;
	position: relative;
}

	div#content div.block {
		background-color: #ececed;
		width: 440px;
		padding: 25px;
		float: left;
		min-height: 475px;
	}

	div#content div.block.block-right {
		margin-left: 20px;
	}

		div.block table {
			width: 100%;
		}
			div.block table td {
				vertical-align: top;
				/*padding-bottom: 2px;*/
			}

			div.block table td.left, div.block table td.right {
				font-weight: bold;
				/*height: 25px;*/
				padding-top: 10px;
				width: 25%;
				font-size: 10px;
			}

			div.block table td.left.address-data-title {
				height: 50px;
				font-weight: bold;
				vertical-align: middle;
				font-size: 14px;
				padding-top: 0px;
			}

			div.block table td.middle {
				width: 50%;
				position: relative;
			}

				div#curtain_result table td.right, div#fabric_management table td.right {
					padding-left: 10px;
				}

				div#curtain_result .checkboxContainer span {
					float: left;
				}

				div#curtain_result .checkboxContainer span:not(:first-child) {
					margin-left: 10px;
				}

				div#fabric_management table tr.pb td.middle {
					padding-bottom: 5px;
				}

				div.block table td.middle p {
					line-height: 34px;
				}

				div.block table td.middle.pb {
					padding-bottom: 5px;
				}

			div.block table td.middle input[type=text], div.block table td.middle input[type=number], div.block table td.middle input[type=password], div.block table td.middle textarea {
				width: 180px;
				margin-bottom: 5px;
			}

			div.block table td.middle input[type=file] {
				width: 200px;
				margin-bottom: 5px;
			}

			div.block table td.middle label.error {
				margin-left: 10px;
			}

			div.block table td.middle a img {
				margin-right: 3px;
				margin-bottom: -3px;
				height: 15px;
			}

			div.block table td.pt {
				padding-top: 10px;
				line-height: 17px;
			}

			div.block table td.pt.lh {
				line-height: 13px;
			}

			div.block table td.ac {
				text-align: center;
			}

/* forms */
form input[type=image] {
	height: 18px;
}

div#container .black {
	height: 44px;
	margin: 0 20px 0 0;
	padding: 0 20px;
	border: 0;
	background-color: #363636;
	color: #ffffff;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	text-align: center;
}
	div#container a.black {
		min-width: 140px;
	}

	div#container button.black {
		min-width: 180px;
	}

	div#container a.black, div#container button.black {
		margin-top: 25px;
		line-height: 44px;
		float: left;
		font-family: 'Droid Sans', sans-serif;
		font-weight: bold;
	}
		div#container a.black:hover {
			text-decoration: none;
		}

		div#container button.black:disabled {
			color: #878787;
		}

div#container .pink {
	height: 12px;
	padding: 0 2px;
	border: 0;
	background-color: transparent;
	color: #e2007a;
	font-size: 11px;
	cursor: pointer;
	text-align: center;
	float: right;
}

div#container input[type=text], div#container input[type=number], div#container input[type=password] {
	width: 200px;
	padding: 2px 10px;
	height: 22px;
	border: 1px solid #aaa;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	font-size: 12px;
	outline: none;
	font-family: 'Droid Sans', sans-serif;
	line-height: 22px;
}

div#container input.half-width {
	width: 87px;
	vertical-align: top;
}

div#container input[type=text]:focus, div#container input[type=number]:focus, div#container input[type=password]:focus {
	border: 1px solid #e2007a;
}

/* new checkbox */
/*input[type=checkbox] + label:before {
	content: "\2714";
    border: 2px solid #555;
    border-radius: 0.2em;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: -3px;
    font-size: 18px;
    float: left;
    cursor: pointer;
    margin-right: 5px;
    vertical-align: bottom;
    color: transparent;
    line-height: 16px;
    transition: .2s;
}

input[type=checkbox] + label:active:before {
  transform: scale(0.6);
}

input[type=checkbox]:checked + label:before {
  background-color: #008066;
  border-color: #008066;
  color: #fff;
}
/*

/* general checkbox styling */
div#container input[type=checkbox] {
	height: 18px;
	width: 18px;
	display: inline-block;
	float: left;
}

div#container input[type=checkbox] + label {
	display: block;
	float: left;
	margin-top: 5px;
	cursor: pointer;
}

div#container input[type=checkbox]:focus {
	outline: 1px solid #e2007a;
}

/* right tabular checkbox styling */
div#container td.right input[type=checkbox] {
	height: 18px;
	width: 18px;
	float: left;
	display: block;
	margin-top: -4px;
}

div#container td.right input[type=checkbox] + label {
	float: right;
	display: block;
	width: 70px;
	margin-top: 0;
}

div#container textarea {
	width: 200px;
	padding: 10px;
	height: auto;
	border: 1px solid #aaa;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	font-size: 12px;
	outline: none;
	resize: none;
	color: #333;
	font-family: 'Droid Sans', sans-serif;
}

div#container .grey {
	color: #aaa;
}

.select2 {
	width: 222px;
	font-size: 12px;
}
	.select2.half-width {
		width: 109px;
	}

	.select2.threequarter-width {
		width: 148px;
		margin-top: 2px;
	}

	.select2.select_day {
		width: 50px;
	}

	.select2.select_month {
		width: 95px;
	}

	.select2.select_year {
		width: 70px;
	}

	.select2.mr {
		margin-right: 4px;
	}

input.error, textarea.error {
	background-color: #ffd8d8;
}

label.error,
#validation_error {
	display: none;
	color: #ff0000;
	font-size: 10px;
}

#validation_error.table {
	display: table-cell;
}

#validation_error {
	display: inline;
}

#validation_error:not(:empty) ~ label.error {
	display: none !important;
}

/* login */
div#login {
	margin: 0 auto;
	float: none !important;
	min-height: 0 !important;
}

/* message and error boxes */
div.message_box {
	padding: 10px;
	margin-bottom: 25px;
	position: relative;
}
	div.message_box .ui-icon {
		position: absolute;
		top: 50%;
		margin-top: -8px;
	}

	div.message_box p {
		margin-left: 26px;
		text-align: center;
	}

/* home */
div#content div#home {
	width: 950px;
}
	div#content div#home p {
		line-height: 1.2em;
	}

/* order */
div#order input#fabric, div#curtain_result input#lining,
div#curtain_result input#main_fabric {
	border-radius: 20px 0 0 20px;
	width: 181px;
	border-right: 0px;
}

div#order input[type=image]#search, div#curtain_result input[type=image]#lining_search,
div#curtain_result input[type=image]#search_main_fabric {
	border: 1px solid #aaa;
	border-radius: 0 20px 20px 0;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	height: 26px;
	margin-left: 0px;
	outline: medium none;
	position: absolute;
}

div#order tr.stock {
	height: 33px;
}

div#order tr.stock .middle {
	vertical-align: middle;
}

	form#fabric_search img#ajax_loader {
		display: none;
	}
		form#fabric_search button {
			border: 0;
			padding: 0;
			margin: 5px 0 0 0;
			font-family: 'Droid Sans', sans-serif;
			line-height: 21px;
			background: transparent;
			cursor: pointer;
			font-size: 12px;
		}
			form#fabric_search button img {
				vertical-align: top;
			}

			form#fabric_search button:hover {
				text-decoration: underline;
			}

	td#add_fabric, td#add_color, td#add_price {
		line-height: 18px;
	}
		td#add_fabric img, td#add_color img, td#add_price img {
			vertical-align: top;
		}

span#invertedPleatDefinitionContainer {
	display: none;
}

div#curtain_result div.slider, div#curtain_result div.spacer {
	margin: 10px 10px 10px 0;
	float: left;
	width: 143px;
}
	div#curtain_result div.spacer {
		width: 145px;
	}

	div#curtain_result div.slider a.ui-slider-handle {
		cursor: pointer;
	}

	span#availableSplitTypeContainer {
		display: none;
	}

	div#curtain_result input.percentage, div#curtain_result input.split-slider {
		float: left;
		width: 35px;
		text-align: right;
		font-size: 10px;
		padding: 2px 5px;
	}

	div#curtain_result input.small  {
		width: 180px;
		text-align: right;
	}
		div#curtain_result input.small.half-width {
			width: 87px;
		}

	div#curtain_result span.suffix {
		line-height: 28px;
		display: inline-block;
		margin-left: 3px;
	}
		div#curtain_result span.suffix.float-left, div#curtain_result span.suffix.float-stroke-left {
			float: left;
			margin-right: 10px;
		}

		div#curtain_result span.suffix.float-right, div#curtain_result span.suffix.float-stroke-right {
			float: left;
			margin-left: 10px;
		}

		div#curtain_result .hemSizes {
			display: inline-block;
			margin-left: 2px;
		}

		div#curtain_result #split_left, div#curtain_result #strokes_left {
			margin-right: 10px;
		}

		div#curtain_result input#waveLengthDefinition {
			width: 65px;
		}

span.paging {
	display: block;
	text-align: center;
}
	span.paging a.fabric_page_active {
		color: #e2007a;
		text-decoration: underline;
	}

div#curtain_price {
	position: relative;
}
	div#curtain_price table.specs {
		width: 100%;
	}
		div#curtain_price table.specs td {
			width: 25%;
			vertical-align: middle;
			height: 25px;
		}

		div#curtain_price table.specs td input {
			width: 50px;
		}

		div#curtain_price img#ajax_loader {
			position: absolute;
			top: 50%;
			left: 50%;
			margin: -8px 0 0 -8px;
		}

/* fabric details */
div#fabric_picture {

}
	div#fabric_picture img {
		margin: 0 auto;
		display: block;
	}

	div#fabric_picture h2 {
		margin: 10px 0 10px 0;
	}

	div#fabric_picture table.wash_symbols, div#fabric_picture table.fabric_composition {
		width: auto;
	}

		div#fabric_picture table.wash_symbols span {
			float: left;
			width: 40px;
			display: inline-block;
			margin-bottom: 5px;
			font-family: "Care Instructions PT";
			font-size: 30px;
			line-height: 30px;
			vertical-align: middle;
		}
			div#fabric_picture table.wash_symbols span img {
				margin: 0;
				display: inline;
			}

		div#fabric_picture table.fabric_composition td {
			padding-bottom: 5px;
		}

div#orders table.orders th:last-child {
	min-width: 125px;
}

/* summary */
div#content div#summary {
	width: 950px;
	height: auto !important
}

	div#summary table.orders th:last-child {
		width: 125px;
	}

	div#summary table.confirm {
		width: 50%;
		margin-top: 25px;
	}

	div#summary table.confirm tr.addCustomerInformation, div#summary table.confirm tr.addDeliveryInformation {
		display: none;
	}

div.block table.orders {
	background-color: #fff;
	border: 1px solid #ccc;
	margin-bottom: 10px;
}

div.block table.orders tr.bb + tr td:nth-child(2) {
	white-space: nowrap;
}

	div.block table.orders tr.bb td {
		border-bottom: 1px solid #ccc;
		border-top: none;
		padding: 0px;
	}

	div.block table.orders tr.no_orders td {
		padding: 20px 6px 20px 6px;
	}

	div.block table.orders td a:hover {
		text-decoration: none;
	}

	div.block table.orders td li {
		padding-bottom: 5px;
	}

	div.block table.orders th.price {
		min-width: 60px;
	}

	div.block table.orders th {
		text-align: left;
		font-size: 11px;
		font-weight: bold;
		padding: 20px 6px 20px 6px;
		vertical-align: top;
		border-top: 1px solid #ccc;
		background-color: #e2007a;
		color: #fff;
	}

	div.block table.orders td {
		padding: 20px 6px 20px 6px;
		vertical-align: top;
		width: auto;
		line-height: 16px;
	}

	div.block table.orders td:last-child {
		padding-top: 17px;
	}

	#summary table.orders td {
		/* summary table is divided by lines, the order table isn't */
		border-top: 1px solid #ddd;
	}

	#summary table.orders th.match-strokes-color {
		padding: 0;
		width: 5px;
	}

	#summary table.orders td.match-strokes-color {
		padding: 0;
		border-top: none;
	}

	#summary table.orders td.no_match-strokes-color {
		padding: 0;
	}

	#summary .match-strokes-header {
		color: #333;
		font-size: 12px;
		margin-left: 10px;
	}

	div.block table.orders h3 a {
		color: #e2007a;
	}

	div.block table.orders form {
		display: inline;
	}

	div.block table.orders .grey {
		font-style: italic;
	}

	div.block table.orders .red, div.block table.orders .red a {
		color: #f00;
	}

	div.block div#curtain_management, div.block div#order_management, div.block div#child_safety_container {
		height: 200px !important;
		min-height: 0 !important;
	}
		div.block div#child_safety_container p {
			line-height: 1.3em;
			margin-bottom: 1em;
		}

	div.popup_container.popup_container_small#clear_confirm {
		height: 220px;
		margin-top: -110px;
	}

	div.block#clear_confirm {
		height: 120px !important;
		min-height: 0 !important;
	}
		div.block#clear_confirm table td {
			vertical-align: bottom;
			width: 50%;
		}

		div.block div#order_management .black {
			margin-top: 5px;
		}

		div#curtain_management .curtain_move_commission {
			display: none;
		}

	div#set_management {
		height: auto !important;
	}

ul.paging {
	width: 100%;
	display: table;
	table-layout: fixed;
}
	ul.paging li {
		display: table-cell;
	}
		ul.paging li a {
			color: #e2007a;
		}

		ul.paging li.left {
			text-align: left;
		}

		ul.paging li.center {
			text-align: center;
		}

		ul.paging li.right {
			text-align: right;
		}

/* orders */
ul#submenu {
	display: table;
	position: absolute;
	top: 10px;
	left: 0;
}
	ul#submenu li {
		display: table-cell;
		padding-right: 25px;
	}

	ul#submenu li a.active {
		color: #e2007a;
	}

div#content div#orders {
	width: 950px;
}

div.block table.fabrics {
	background-color: #fff;
	border: 1px solid #aaa;
	display: none;
	margin-bottom: 10px;
}

div.block table.fabrics.visible {
	display: table;
}
	div.block table.fabrics td {
		padding: 5px;
		vertical-align: top;
		width: auto;
	}

	div.block table.fabrics th {
		text-align: left;
		font-weight: bold;
		padding: 5px;
		vertical-align: top;
		border-bottom: 1px solid #aaa;
		background-color: #e2007a;
		color: #fff;
	}

	div.block table.fabrics tr.hover:hover {
		color: #e2007a;
		text-decoration: underline;
		cursor: pointer;
	}

table.order_items {
	background-color: #fff;
	margin-bottom: 15px;
}
	table.order_items tr:nth-child(odd) {
		background-color: #f4f4f4;
	}

	table.order_items td {
		vertical-align: top;
		width: auto !important;
		padding: 13px;
	}

	table.order_items th {
		text-align: left;
		font-weight: bold;
		vertical-align: top;
		border-bottom: 1px solid #aaa;
		background-color: #e2007a;
		color: #fff;
		padding: 13px;
		font-size: 10px;
	}

	table.order_items tr.footer th {
		background-color: #333;
		padding: 10px 13px 10px 13px;
	}

form#order_form {
	position: relative;
}
	form#order_form img#ajax_loader {
		display: none;
		position: absolute;
		bottom: 14px;
		top: auto;
	}

	form#order_form button.black, form#order_form a.black {
		margin-top: 0;
	}

div#order_print div.iframe_container {
	position: relative;
	width: 900px;
	height: 525px;
}
	div#order_print div.iframe_container img#ajax_loader {
		position: absolute;
		top: 50%;
		left: 50%;
	}

div#order_review_iframe_container {
	position: relative;
	width: 490px;
	height: 525px;
}
	div#order_review_iframe_container img.ajax_loader {
		position: absolute;
		top: 50%;
		left: 50%;
	}

	div#order_review table td h3 {
		margin: 5px 5px 5px 0;
	}

	div#order_review table td.middle h3 {
		margin: 5px 0 5px 5px;
	}

table#order_search {
	margin-bottom: 25px;
}

/* fabric management */
div#content div#fabric_management {
	height: auto !important;
}

div#content div#fabric_management ul {
	margin-bottom: 15px;
}
	div#content div#fabric_management ul li {
		height: 25px;
		line-height: 25px;
		width: 52px;
		display: inline-block;
		margin: 5px 0 5px 0;
		font-family: "Care Instructions PT";
		font-size: 30px;
		vertical-align: middle;
		cursor: pointer;
	}
		div#content div#fabric_management ul li label {
			cursor: pointer;
			display: inline-block;
			height: 30px;
		}

	div#content div#fabric_management ul.large li {
		height: 35px;
		line-height: 35px;
		width: 67px;
		font-size: 45px;
	}

div.iron_container {
	clear: both;
	margin-bottom: 5px;
}

.extra-padding-small {
	padding-top: 5px !important;
}

/* wizard */
div#wizard input.color {
	width: 160px;
	margin-right: 10px;
}

/* settings */
div#settings td.right,
.extra-padding-medium {
	padding-top: 10px;
}

/* footer */
div#footer {
	padding: 10px 0px 5px 0px;
	border-top: 2px dashed #333;
	color: #878787;
	font-size: 11px;
	width: 1000px;
	position: fixed;
	bottom: 0px;
	background-color: #fff;
	z-index: 5;
}
	div#footer div#copyright {
		float: left;
	}

	div#footer div#legal {
		float: right;
	}

	div#footer a {
		color: #878787;
	}

/* overlay */
div#overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #ececed;
	opacity: 0.7;
	display: none;
	z-index: 5;
}

/* popup */
div.popup_container {
	width: 540px;
	height: 575px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -287.5px;
	margin-left: -270px;
	background-color: #ffffff;
	border: 2px dashed #333;
	z-index: 10;
	display: none;
}
	div.popup_container div.popup_scroll {
		width: 490px;
		height: 525px;
		padding: 25px;
		overflow-y: auto;
		overflow-x: hidden;
	}

	div.popup_container.popup_container_small {
		height: 300px;
		margin-top: -125px;
	}

	div.popup_container.popup_container_large {
		width: 950px;
		margin-left: -500px;
	}
		div.popup_container.popup_container_large div.popup_scroll {
			width: 900px;
		}

	div.popup_container a.tips {
		position: absolute;
		top: 10px;
		right: 45px;
		z-index: 15;
	}

a.popup_close {
	position: absolute;
	top: 10px;
	right: 20px;
	z-index: 15;
}

span.tooltip_help, span.tooltip_help_popup {
	float: left;
	height: 1em;
	width: 0px;
}
	span.tooltip_help.tooltip_right {
		float: right;
	}

/* custom styles for "kiosk" profile */
div#container.kiosk ul#menu li.order, div#container.kiosk ul#logout li.settings {
	display: none;
}

#addressbook {
	min-height: 0;
	height: auto;
	background: #ececed;
}

#search-address-form {
	margin-bottom: 35px;
}

#search-address-form #search {
	position: relative;
	right: 16px;
	height: 27px;
	top: 9px;
}

img.icon {
	height: 28px;
}

.match-strokes-label {
	margin-top: 20px;
	margin-bottom: 0;
	font-weight: bold;
}

.match-strokes-label img {
	margin-bottom: -2px;
	height: 15px;
}

/* material design switch */

.switch-input {
	display: none !important;
}

.switch-label {
	position: relative;
	display: inline-block;
	min-width: 112px;
	cursor: pointer;
	font-weight: 500;
	float: none !important;
	text-align: left;
	padding: 5px 0 5px 44px;
}

.switch-label:before,
.switch-label:after {
	content: "";
	position: absolute;
	margin: 0;
	outline: 0;
	top: 50%;
	-ms-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.switch-label:before {
	left: 1px;
	width: 34px;
	height: 14px;
	background-color: #9e9e9e;
	border-radius: 8px;
}

.switch-label:after {
	left: 0;
	width: 20px;
	height: 20px;
	background-color: #fafafa;
	border-radius: 50%;
	box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14),
		0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
}

.switch-input:checked + .switch-label:before {
	background-color: #a1b8b4;
}

.switch-input:checked + .switch-label:after {
	background-color: #519388;
	-ms-transform: translate(80%, -50%);
	-webkit-transform: translate(80%, -50%);
	transform: translate(80%, -50%);
}
