/**
 * Colors
 * very dark green: #375108
 * dark green: #537213
 * middle green: #789d24
 * light green: #c6dd93
 * yellow bg: #faffd9
 * dark brown text: #582a04
 * dark gray: #363636
 */ 

/**
 * 0.0 Use a fun box sizing model
 */

* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

body {
	font-family: 'Source Sans Pro', Helvetica, Verdana, sans-serif;
	color: #120601;
	font-size: 18px;
	line-height: 1.3em;
	margin: 0;
}
h1 {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 10px 0;
}
h2 {
	font-size: 23px;
	font-weight: 400;
	margin: 0 0 10px 0;
	clear: both;
}
h3 {
	font-size: 23px;
	font-weight: 400;
	margin: 0 0 10px 0;
}
h1 a,
h2 a,
h3 a {
/*	color: #582a04;*/
}
.h1-subheader {
	margin: 0 10px 20px 10px !important;
	width: auto !important;
}
.h2-subheader {
	margin: -12px 10px 20px 10px !important;
	width: auto !important;
}
.genericon {
	font-size: 1em;
	line-height: 1.3em;
}
label {
	float: left;
	margin: 0 10px 0 0;
	text-align: right;
	width: 130px;
}
@media(max-width: 400px) {
  label {
	margin: 0 0 0 10px;
	text-align: left;
	width: auto;
  }
}
.checkbox-label {
	text-align: left;
	margin: 0;
	clear: left;
	white-space: nowrap;
	width: 100%;
}
fieldset.checkboxes {
	float: left;
	max-width: 400px;
	border: none;
	padding: 0;
	margin: 0;
}
input[type="checkbox"] {
	margin-right: 8px;
}
.checkbox-label input[type="checkbox"] {
	margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="phone"],
input[type="text"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea {
	font-family: 'Source Sans Pro', Helvetica, Verdana, sans-serif;
    background: #f9f9f9;
	font-size: 16px;
	line-height: 23px;
    border: 1px solid #79ADB2;
    padding: 0px 4px;
    max-width: 100%;
    width: 100%;
}
input[readonly] {
	background: transparent;
	border-color: #ddd;
}
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    font-family: "Source Sans Pro",sans-serif;
    background-color: #4D7577;
    color: #ECF8FA;
    font-size: 16px;
    padding: 6px 10px;
    border: 0 none;
    cursor: pointer;
    display: inline-block;
}
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
    background: #4D7577;
    color: white;
}
button.lowprio,
input[type="submit"].lowprio,
input[type="reset"].lowprio,
input[type="button"].lowprio {
	background: white;
	border: 1px solid #79ADB2;
	color: #4D7577;
	padding: 2px 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
button.lowprio:hover,
input[type="submit"].lowprio:hover,
input[type="reset"].lowprio:hover,
input[type="button"].lowprio:hover,
button.lowprio:active,
input[type="submit"].lowprio:active,
input[type="reset"].lowprio:active,
input[type="button"].lowprio:active {
    background: #4D7577;
	border: 1px solid #4D7577;
    color: white;
}
.input-info {
	font-size: 0.8em;
	padding-left: 5px;
}
@media(max-width:500px) {
  .input-info {
	display: block;
	clear: both;
	padding: 0;
  }
}
.assistive-text {
	font-size: 0.64em;
	margin: 0;
	padding: 0;
}
.field-attachment {
	padding-left: 5px;
}

a {
	color: #4D7577;
}
a:hover {
}

header {
	background: #ECF8FA;
}
header .logo {
	height: 30px;
	margin: 8px 20px 0 20px;
	display: inline-block;
}
header p {
	margin: 0;
	padding: 10px 20px;
	font-size: 0.8em;
	text-align: right;
	float: right;
}
header .header-search a {
	text-decoration: none;
}
header .header-search span {
	display: inline-block;
	font-size: 1.1rem;
}
@media (max-width:500px) {
  header .logo {
	margin-left: 10px;
  }
  header p {
	padding: 8px 10px 0 5px;
	line-height: 1.2em;
  }
  header p a {
	white-space: nowrap;
  }
}

nav {
	background: #4D7577;
	margin: 0 0 20px 0;
	clear: both;
}
nav ul {
	margin: 0;
	padding: 0;
	text-align: center;
}
nav ul li {
	display: inline-block;
	list-style-type: none;
}
nav ul li:hover {
	background: #153839;
}
nav ul li a,
nav ul li a:hover {
    color: #ffffff;
	display: block;
	padding: 10px;
	text-decoration: none;
	font-size: 0.8em;
}
@media (max-width:940px) {
  nav ul {
	overflow-y: hidden; /* has to be scroll, not auto */
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	white-space: nowrap;
	padding: 0 5px;
  }
  nav ul li a,
  nav ul li a:hover {
	padding: 10px 5px;
  }
}


#content {
	min-height: 300px;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 0 30px 0;
}
#content > h1 {
	padding: 0 8px;
}
ul.errors {
	margin: 0;
	padding: 0;
}
ul.errors li {
	background: #ff7070;
	list-style-type: none;
	padding: 5px 8px;
}
p.error {
	background: #ff8080;
	padding: 5px 8px;
}
p.info-message {
	background: #bde2ff;
	padding: 5px 8px;
}
p.no-bookings {
	margin-left: 10px;
	margin-right: 10px;
}

div#content p, form {
	clear: both;
}

div#content p.error {
	margin: 0 0 10px 0;
	padding: 8px 12px;
}

div#content p.form-width {
	width: 476px;
}

div#content form.box h2 {
	border-bottom: 1px solid #b0b0b0;
	margin: 20px 0 20px 0;
	padding: 20px 0 8px 8px;
	overflow: hidden;
}
 div#content > h1 + form.box > h2:first-child {
	padding-top: 0;
}

div#content form div {
	float: left;
	margin: 0 0 15px 0;
	width: 100%;
}


div#content form div input,
div#content form div textarea,
div#content form div select {
	float: left;
}

div#content form div input.submit {
	margin: 0 0 0 130px;
}
@media(max-width: 400px) {

  div#content form div input[type="text"],
  div#content form div input[type="email"],
  div#content form div input[type="phone"],
  div#content form div input[type="text"],
  div#content form div input[type="url"],
  div#content form div input[type="search"],
  div#content form div input[type="password"],
  div#content form div input[type="number"],
  div#content form div input[type="file"],
  div#content form div input.submit,
  div#content form div textarea,
  div#content form div select {
	float: none;
	clear: both;
	display: block;
	margin-left: 10px;
  }
  div#content form div input[type="checkbox"] {
	margin-left: 10px;
  }
  div#content form div label {
	margin-bottom: 5px;
  }
}

div#content table.striped {
	border-collapse: collapse;
	float: left;
	margin: 0 0 30px 0;
}

div#content table.striped tr th {
	background: #d0d0d0;
	padding: 5px 10px;
	text-align: left;
}

div#content table.striped tr td {
	padding: 5px 10px;
}

div#content table.striped tr.even td {
	background: #f0f0f0;
}

div#content table.striped tr td.empty {
	font-style: italic;
	text-align: center;
}


/* JQUERY UI CHANGES */
.ui-widget {
    font-family: "Source Sans Pro",Helvetica,Verdana,sans-serif;
    font-size: 18px;
    line-height: 1.3em;
}
.ui-timepicker-table td a {
	width: auto !important;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
	border-radius: 0;
}
.ui-widget-header {
	background: white;
	border: none;
    font-family: "Source Sans Pro",Helvetica,Verdana,sans-serif;
    font-size: 18px;
    line-height: 1.3em;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	background: #ECF8FA;
	border-color: #79ADB2;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
	background: #f9f9f9;
}
.ui-datepicker {
	width: auto;
}
.ui-datepicker th {
    border: 0 none;
    font-weight: normal;
    padding: 0.7em 0.3em;
    text-align: center;
    font-size: 18px;
    line-height: 1.3em;
}



/* Team colors – if changed, also change in BookingHelper */
.team-color-1 {
	background: #B9B812; /* yellow */
	color: black;
}

.team-color-2{
	background: #153839; /* dark green */
	color: white;
}

.team-color-3 {
	background: #00419A; /* bright blue */
	color: white;
}

.team-color-4 {
	background: #520064; /* purple */
	color: white;
}

.team-color-5 {
	background: #000000;
	color: white;
}

.team-color-6 {
	background: #010064; /* dark blue */
	color: white;
}

.team-color-7 {
	background: #7a4500; /* dark brown */
	color: white;
}

.team-color-8 {
	background: #5D0909; /* red */
	color: white;
}

.team-color-9 {
	background: #B1109B; /* pink */
	color: white; /* purple */
}

.team-color-10 {
	background: #B93B12; /* orange */
	color: white; /* dark brown */
}

.team-color-no-team {
	background: #e0e0e0;
	color: #303030;
}

#customer-search-results ol {
	margin: 0;
	padding: 0;
}
#customer-search-results li {
	padding-bottom: 5px;
}
