/* ================================================== */
/*         Carrus - SMS Reservation - Layout          */
/* ================================================== */
/* Color Swatch                                       */
/*                                                    */
/* #0099ff - Light Blue - Link                        */
/* #005e9c - Dark Blue - Hover Link                   */
/*                                                    */
/* #c82126 - Light Red - Buttons                      */
/* #990000 - Dark Red - Buttons                       */
/* #c92127 - Red for the text                         */
/*                                                    */
/* ================================================== */
/*                  Base Reset HTML                   */
/* ================================================== */

/* For Chrome and Safari */
* {
	outline: none; 
}

html, body {
	height: 100%;
}

body {
	background: url(../images/bg_body.png);
	color: #333333;
	font: 12px Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
}

a {
	color: #0099ff;
}

a:hover {
	color: #005e9c;
}

/* For IE10 */
a:active {
    background-color: transparent;
}

img {
	border: 0;
}

form, input, textarea, select {
	margin: 0;
	padding: 0;
}

input, select {
	vertical-align: middle;
}

input[type=text], input[type=password], textarea, select {
	border: 1px solid #ccc;
	border-radius: 3px;
	font: 12px Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 2px 4px;
}

input[type=text], input[type=password], textarea {
	box-shadow: inset 2px 2px 2px 0px #efefef;
}

select {
	margin-top: -2px;
}

fieldset {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 10px;
}

legend {
	color: #999;
	font-size: 12px;
	font-weight: bold;
	padding: 0 5px;
}







/* ==================================================================================================== */
/*                                                                                       Shared Classes */
/* ==================================================================================================== */

/* ================================================== */
/*              Shared - Generic Styles               */
/* ================================================== */
.clear:after {
	clear: both;
	content: " ";
	display: block;
	height: 0;
}

input.error {
	border-color: #c92127;
}

p.error {
	color: #c92127;
}





/* ================================================== */
/*              Shared - Warning & Error              */
/* ================================================== */
.message {
	display: inline-block;
	margin-bottom: 10px;
	min-height: 16px;
	padding: 5px;
	min-width: 100px;
}

.message div:first-child {
	float: left;
}

.message div + div {
	display: block;
	margin-left: 25px;
	max-width: 500px;
}



/* Warnings */
.message.warning {
	background: #fff7e3;
	border: 1px solid #c38c23;
	color: #c38c23;
}



/* Errors */
.message.error {
	background: #FEEFEF;
	border: 1px solid #E02828;
	color: #E02828;
}



/* Success */
.message.success {
	background: #effeef;
	border: 1px solid #149124;
	color: #149124;
}

.error-wrapper .phoneNumber {
	font-weight: bold;
}

.error-wrapper p.message {
	font-style: italic;
}

.error-wrapper p.sub-message {
	font-size: 1.25em;
	font-weight: bold;
	text-align: right;
}

.error-wrapper p.back {
}

.error-wrapper p.back .portal {
	font-style: italic;
	white-space: nowrap;
}

.error-wrapper .reference {
	font-size: 1.25em;
	font-weight: bold;
	text-align: center;
}

.error-wrapper .reference .error {
	color: #E02828;
}


/* ================================================== */
/*                 Shared - Buttons                   */
/* ================================================== */
.btn {
	color: white;
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	line-height: 40px;
	padding: 0 20px;
	text-decoration: none;
}

.btn:hover {
	color: white;
}

.btn.red {
	background: url(../images/bg_btn_red.png) repeat-x;
}

.btn.red:hover {
	background: #c82126;
}

.btn.black {
	background: url(../images/bg_btn_black.png) repeat-x;
}

.btn.black:hover {
	background: #333;
}










/* ==================================================================================================== */
/*                                                                                    Shared Components */
/* ==================================================================================================== */

/* ================================================== */
/*             Shared - Fields Component              */
/* ================================================== */
.field {
	margin-bottom: 10px;
	min-height: 22px;
}

.field label {
	line-height: 20px;
}

.field > label {
	display: inline-block;
	font-weight: bold;
	margin-right: 5px;
	text-align: right;
	vertical-align: top;
	width: 200px;
}

.field p {
	margin: 0;
	padding-top: 2px;
}



/* Body for each field component */
.field .body {
	display: inline-block;
	position: relative;
	white-space: nowrap;
}

.field .body input[type=text],
.field .body input[type=password],
.field .body select {
	width: 150px;
}

.field.long .body input[type=text],
.field.long .body input[type=password] {
	width: 275px;
}

.field.small .body input[type=text] {
	width: 50px;
}

.field .body > div:first-child {
	margin-top: 0;
}

.field .body input[type=checkbox] {
	margin-top: 4px;
}

.field .body input[type=radio] {
	margin-top: -3px;
}

.field .body input[type=radio] + label {
	font-weight: normal;
	margin: 0 5px 0 3px;
}

.field .body.alignedRadio input[type=radio] + label {
	display: inline-block;
	width: 100px;
}

.field .body label input[type=checkbox] {
	margin: -2px 5px 0 0;
}

.field .body ul {
	margin: 2px 0 0 0;
	padding: 0 0 0 20px;
}



/* A field component inside another one */
.field .field {
	display: inline-block;
	margin-bottom: 0;
	vertical-align: top;
}

.field .field .body input[type=text],
.field .field .body input[type=password] {
	margin-top: 0;
}

.field .field label {
	width: auto;
}



/* Error messages setup */
.field input.error {
	border: 1px solid red;
}

.field div.clear.error {
	z-index: 1000;
	margin: 2px 0 0 0;
	position: absolute;
}

.field div.error span+span {
	background-color: #FEEFEF;
	border: 1px solid #E02828;
	color: #E02828;
	left: 13px;
	padding: 1px 2px;
	position: absolute;
	top: 3px;
}





/* ================================================== */
/*                   Shared - Tabs                    */
/* ================================================== */
.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tabs li {
	background: url(../images/bg_tabs.png) repeat-x top;
	float: left;
	margin-right: 10px;
	position: relative;
}

.tabs a {
	color: white;
	font-size: 14px;
	font-weight: bold;
	line-height: 30px;
	padding: 0 10px 0 20px;
	text-decoration: none;
	text-transform: uppercase;
}

.tabs a:after {
	background: url(../images/bg_after_tabs.png) no-repeat;
	content: "";
	height: 30px;
	position: absolute;
	right: -21px;
	width: 21px;
	z-index: 1;
}

.tabs .active {
	background: white;
	z-index: 1;
}

.tabs .active a {
	color: #333;
}

.tabs .active a:after {
	background: url(../images/bg_after_selected_tabs.png) no-repeat;
}





/* ================================================== */
/*                   Shared - Panel                   */
/* ================================================== */
.panel {
	background: white;
	box-sizing: border-box;
	padding: 30px 20px;
}

.panel .buttonBar,
#addEditAppointmentTypeWindow .buttonBar {
	margin-top: 40px;
	text-align: right;
}

.panel h1 {
	font-size: 18px;
	margin: 0 0 20px 0;
}

.panel h2 {
	font-size: 16px;
	margin: 0 0 20px 0;
}





/* ================================================== */
/*                  Shared - Steps                    */
/* ================================================== */
.steps {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

.steps li {
	background: url(../images/bg_steps.png) no-repeat right top;
	color: white;
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
	line-height: 49px;
	margin-right: -30px;
	padding: 0 40px;
	position: relative;
}

.steps li:first-child {
	border-radius: 5px 0 0 5px;
	padding-left: 20px;
}

.steps .current {
	background-position: right bottom;
}







/* ==================================================================================================== */
/*                                                                                 jQuery UI Overwrites */
/* ==================================================================================================== */
.ui-widget-content .btn,
.ui-widget-content .btn:hover {
	color: white;
}

.ui-widget-content a {
	color: #0099ff;
}

.ui-widget-content a:hover {
	color: #005e9c;
}





/* ================================================== */
/*                     Dialog UI                      */
/* ================================================== */
.no-close .ui-dialog-titlebar-close {
	display: none;
}

.ui-dialog .ui-dialog-titlebar {
	background: none;
	border-width: 0 0 1px 0;
	color: #333;
	font-size: 18px;
	margin: 0 20px;
	padding: 10px 0;
}





/* ================================================== */
/*                    Calendar UI                     */
/* ================================================== */
.ui-datepicker {
	background: #f4f4f4;
	border: none;
	padding: 0;
}

.ui-datepicker .ui-datepicker-calendar {
	border: 1px solid #f4f4f4;
	font-size: 12px;
	margin: 0;
}

.ui-datepicker .ui-datepicker-calendar td {
	border: 1px solid #bbb;
	padding: 0;
}

.ui-datepicker .ui-datepicker-calendar td a {
	border: 1px solid white;
	border-width: 1px 1px 0 0;
	padding: 5px;
	text-align: center;
}

.ui-datepicker .ui-datepicker-calendar td a:hover {
	color: #b54444;
}

.ui-datepicker .ui-datepicker-calendar td a.ui-state-active {
	border-color: #b54444;
}

.ui-datepicker .ui-datepicker-calendar td a.ui-state-active:hover {
	color: white;
}


/* === Disabled Date === */
.ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable span {
	background: none;
	border: 1px solid white;
	border-width: 1px 1px 0 0;
	padding: 5px;
	text-align: center;
}










/* ==================================================================================================== */
/*                                                                                           Site Icons */
/* ==================================================================================================== */

/* ================================================== */
/*                  Icons Placement                   */
/* ================================================== */
.icon {
	background: url(../images/sprite_icons.png) no-repeat;
	display: inline-block;
}



/* === To delete records === */
.icon.trashBin {
	background-position: -17px -17px;
	height: 16px;
	width: 16px;
}



/* === Error Tool Tips === */
.icon.arrow {
	background-position: -69px -18px;
	float: left;
	height: 15px;
	width: 13px;
}

/* === Warning Messages === */
.icon.warning {
	background-position: -267px -17px;
	height: 15px;
	width: 16px;
}




/* === Error Messages === */
.icon.error {
	background-position: -117px -17px;
	height: 16px;
	width: 16px;
}

/* === Success Messages === */
.icon.success {
	background-position: -167px -17px;
	height: 16px;
	width: 16px;
}



/* === Success Tick === */
.icon.greenTick {
	background-position: -218px -19px;
	height: 12px;
	width: 14px;
}

/* ==================================================================================================== */
/*                                                                                      Layout & Design */
/* ==================================================================================================== */
.bgLogin {
	background: url(../images/bg_login.jpg) no-repeat center center;
	background-size: cover;
}

#main {
	min-height: 100%;
}





/* ================================================== */
/*                      Header                        */
/* ================================================== */
#header {
	background: white;
	box-shadow: 0px 3px 3px #ccc;
	height: 100px;
}

#header .wrapper {
	height: 100px;
	margin: 0 auto;
	position: relative;
	width: 960px;
}

#header .wrapper .link {
	display: inline-block;
	margin: 5px 20px 0 0;
}

#header .logo {
	float: left;
	background: url(../images/logo_carrus.png) no-repeat;
	display: inline-block;
	height: 62px;
	margin: 15px 0 0 5px;
	width: 168px;
}
#header .shopInformation {
	position: absolute;
	right: 0;
	text-align: right;
	top: 35px;
}

/* ==== Various options/links === */
#header .options {
	position: absolute;
	right: 0;
	top: 10px;
}

#header .options a {
	margin-left: 15px;
}

/* ================================================== */
/*                      Content                       */
/* ================================================== */
.bgLogin #content {
	min-height: 500px;
}

#content {
	margin: 0 auto;
	padding: 50px 0 100px 0;
	position: relative;
	width: 960px;
}





/* ================================================== */
/*                   Login Window                     */
/* ================================================== */
.loginWindow {
	background: white;
	padding: 20px;
	position: absolute;
	right: 10px;
	top: 100px;
	width: 300px;
}

.loginWindow h1 {
	border-bottom: 1px solid #ccc;
	color: #c92127;
	font-size: 30px;
	text-transform: uppercase;
	margin: 0 0 15px 0;
	padding-bottom: 10px;
}

.loginWindow label {
	display: block;
	font-size: 14px;
	font-weight: bold;
	margin: 20px 0;
}

.loginWindow label span {
	color: #666;
}

.loginWindow label input {
	box-sizing: border-box;
	font-size: 16px;
	margin-top: 5px;
	padding: 6px;
	width: 100%;
}

.loginWindow .forgotPassword {
	display: block;
	margin-top: 20px;
}

.loginWindow .btn {
	text-transform: uppercase;
}

.loginWindow .message {
	margin: 0;
}





/* ================================================== */
/*              Appointment Type Panel                */
/* ================================================== */
.appointmentType {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

.appointmentType th {
	background: url(../images/bg_tabs.png) repeat-x;
	color: white;
	line-height: 30px;
	padding: 0 5px;
	white-space: nowrap;
}

.appointmentType td {
	border: 1px solid #ccc;
	padding: 2px 5px;
	text-align: center;
	white-space: nowrap;
}

.appointmentType th:nth-child(1),
.appointmentType th:nth-child(2),
.appointmentType tbody td:nth-child(1),
.appointmentType tbody td:nth-child(2) {
	text-align: left;
	width: 25%;
}

.appointmentType tfoot td {
	border: none;
	text-align: right;
}



/* === Add / Edit Appointment Type Window === */
#addEditAppointmentTypeWindow {
	display: none;
	padding: 20px;
}

#addEditAppointmentTypeWindow .language label {
	margin-bottom: 5px;
	width: 60px;
}

#addEditAppointmentTypeWindow .choices {
	margin-left: 210px;
}

#addEditAppointmentTypeWindow .choices > .field > label {
	text-align: left;
	width: 60px;
}

#addEditAppointmentTypeWindow .choices input {
	margin-right: 15px;
}





/* ================================================== */
/*               Identification Panel                 */
/* ================================================== */
.identification {
	position: relative;
}

.identification .estimation {
	background: #eee;
	padding: 20px;
	position: absolute;
	top: 70px;
	right: 20px;
	width: 350px;
}

.identification .estimation p {
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 40px 0;
}

.identification .estimation label {
	display: block;
}

.identification .estimation input {
	border-radius: 3px 0 0 3px;
	width: 240px;
}

.identification .estimation .btn {
	font-size: 12px;
	line-height: normal;
	padding: 3px 20px;
	vertical-align: middle;
}





/* ================================================== */
/*              Required Services Panel               */
/* ================================================== */
.requiredServices {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 40px;
}

.requiredServices th {
	background: url(../images/bg_tabs.png) repeat-x;
	color: white;
	line-height: 30px;
	min-width: 250px;
	padding: 0 10px;
	text-align: left;
	white-space: nowrap;
}

.requiredServices td {
	border: 1px solid #ccc;
	padding: 5px 10px;
	white-space: nowrap;
}

.requiredServices th:first-child {
	min-width: inherit;
}

.requiredServices tfoot td {
	border: none;
	text-align: right;
}


/* === Required Service Description === */
.requiredServiceNote {
	width: 550px;
}

.requiredServiceDescription {
	width: 560px;
}





/* ================================================== */
/*              Appointment Time Panel                */
/* ================================================== */
#appointmentCalendar,
.availability {
	float: left;
}

#appointmentCalendar {
	margin-right: 20px;
}

.availability p {
	font-weight: bold;
	margin-top: 0;
}

.availability .field > label {
	width: auto;
}

.availability .alignedRadio div:first-child {
	margin-bottom: 10px;
}





/* ================================================== */
/*                Confirmation Panel                  */
/* ================================================== */
.confirmation .field > label {
	width: 100px;
}

.field.serviceDescription .body {
	max-width: 450px;
	white-space: normal;
}


/* ================================================== */
/*                      Footer                        */
/* ================================================== */
#footer {
	background: url(../images/bg_footer.png) repeat-x;
	bottom: 0;
	color: white;
	height: 50px;
	margin-top: -50px;
	position: relative;
}

#footer .wrapper {
	line-height: 50px;
	margin: 0 auto;
	width: 960px;
}

#footer .wrapper p {
	margin: 0;
	text-align: right;
}
