/*
	Index:
	
	001. Standard resets.
	002. Additional resets and normalisation.
	003. Basic typography and grid sizing.
	004. Body and page framework.
	005. Forms.
	006. Inputs and labels.
	007. Buttons and button bars.
	008. Tables.
	
	100. Login page.
	101. Main menu.
	102. Timesheet.
	103. Timesheet entry.
	104. Holidays.
	105. Add holiday.
	
	Colors:
	
	#333    Text grey
	#666    Secondary text grey; inverse background
	#ddd    Pencil line
	#eee    Secondary background
	#fff    Background; inverse text
	#c1803a Brown
	#6787c3 Blue
	#c13a3a Red
	#3ac13a green
	
*/

/*	----------------------------------------------------------------------------
	001.
	Standard resets and normalisation, adapted from _s.
	May be replaced with another reset if required; note that some styles are
	overridden later.
	
*/

html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
	  color: inherit; /* blue colors for links too */
      text-decoration: inherit; /* no underline */

}

a:active,
a:hover {
	outline: 0;
/*	color: yellow; */
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: inherit;
	color: inherit;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 0.65rem;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: inherit;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
	font-weight: normal;
}



/*	----------------------------------------------------------------------------
	002.
	Additional resets and normalisation.
*/

* {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
}

ol,
ul,
li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

td,
th {
	vertical-align: top;
	font-weight: normal;
	text-align: inherit;
}



/*	----------------------------------------------------------------------------
	003.
	Basic typography and grid sizing.
*/

html {
	font-size: 20px;
	line-height: 20px;
}
body {
	font-size: 16px;
}


/*	----------------------------------------------------------------------------
	004.
	Body and page framework.
*/


h1 {
	position: fixed;
	z-index: 1000;
	top: 0;
	right: 0;
	left: 0;
	height: 3rem;
	padding: 1rem;
	text-align: center;
	background: #eee;
	border-bottom: 1px solid #ddd;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1rem;
	color: #666;
}

.errorMessage {
	position: fixed;
	z-index: 1000;
	top: 3rem;
	right: 0;
	left: 0;
	height: 1.5rem;
	padding: 0.25rem;
	text-align: center;
	background: #fff;
	font-size: 1rem;
	color: white;
}

.main {
	width: 30rem;
	margin: 6rem auto 3rem;
	font-family: Helvetica,Arial,sans-serif;
	background: #fff;
	color: #333;
}


/*	----------------------------------------------------------------------------
	005.
	Forms.
*/

.msbc-form {
}



/*	----------------------------------------------------------------------------
	006.
	Inputs and labels.
*/

.msbc-form label {
	display: block;
	margin-top: 1rem;
	/* overflow: overlay; */
}

.msbc-form input {
	width: 100%;
}

.msbc-field-radio {
	overflow: auto;
}
.msbc-field-radio li input {
	display: inline;
	width: auto;
	cursor: pointer;
}
.msbc-field-radio li label {
	display: inline;
	padding-left: 0.5em;
	cursor: pointer;
}

.unpaid{
    margin-top: 10px;
    font-size: small;
}


/*	----------------------------------------------------------------------------
	007.
	Buttons and button bars.
*/

.msbc-button {
	display: block;
	width: 100%;
	margin: 1rem 0;
	border: 0;
	background: #666;
	color: #fff;
	opacity: 0.8;
	font-size: inherit;
	font-family: Helvetica,Arial,sans-serif;
	font-weight: bold;
	padding: 1rem 2rem;
	cursor: pointer;
	border-radius:3px;
}
.msbc-button:hover,
.msbc-button:focus {
	opacity: 1.0;
}

.msbc-button-submit {
	background: #3ac13a;
}

.msbc-button-back,
.msbc-button-cancel {
	background: #fff;
	color: #c13a3a;
}
.msbc-button-back:hover,
.msbc-button-back:focus,
.msbc-button-cancel:hover,
.msbc-button-cancel:focus {
	color: #fff;
	background: #c13a3a;
}

.msbc-button-bar {
	/* padding-top: 2rem; */
	display: block;
	height: 100px;
}



/*	----------------------------------------------------------------------------
	008.
	Tables.
*/

.msbc-table {
	width: 100%;
}

.msbc-table th,
.msbc-table td {
	padding: 0.5rem;
	border-top: 1px solid #ddd;
}
.msbc-table th {
	background: #eee;
	border-bottom-color: #666;
}



/*	----------------------------------------------------------------------------
	100.
	Login page.
*/

.msbc-logotype {
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.1em;
}
.msbc-logotype-line {
	display: block;
	white-space: nowrap;
}
.msbc-logotype-line:last-child {
	letter-spacing: 0.12em;
}
.msbc-logotype-highlight {
	color: #c00;
}

.msbc-page-login .msbc-logotype {
	padding-top: 212px;
	padding-bottom: 2rem;
	background: transparent url('../images/ic_logo.png') top center no-repeat scroll;
	font-size: 1rem;
}

.wt-logotype {
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.1em;
}
.msbc-page-login .wt-logotype {
	padding-top: 212px;
	padding-bottom: 2rem;
	background: transparent url('../images/wtlogosmall.png') top center no-repeat scroll;
	font-size: 1rem;
}



/*	----------------------------------------------------------------------------
	101.
	Main menu.
*/

.msbc-page-main-menu .msbc-button-colour1 {
	background: #159329;
}

.msbc-page-main-menu .msbc-button-colour2 {
	background: #6787c3;
}

.msbc-page-main-menu .msbc-button-colour3 {
	background: #B3191B;
}

.msbc-page-main-menu .msbc-button-colour4 {
	background: #E0A840;
}

.msbc-page-main-menu .msbc-button-grey1 {
	background: #B0B0B0;
}

.msbc-page-main-menu .msbc-button-grey2 {
	background: #808080;
}

.msbc-page-main-menu .msbc-button-grey3 {
	background: #606060;
}

.msbc-page-main-menu .msbc-button-admin1 {
	background: #D95A4E;
    border-bottom: 5px solid #BA4D43;
	text-shadow: 0px -2px #BA4D43;
}

.msbc-page-main-menu .msbc-button-admin2 {
	background: #E3BF73;
    border-bottom: 5px solid #CFAE69;
	text-shadow: 0px -2px #CFAE69;
}

.msbc-page-main-menu .msbc-button-admin3 {
	background: #D99962;
    border-bottom: 5px solid #BD8555;
	text-shadow: 0px -2px #BD8555;
}
.msbc-page-main-menu .msbc-button-admin4 {
	background: #3C7369;
    border-bottom: 5px solid #315E56;
	text-shadow: 0px -2px #315E56;
}

.msbc-page-main-menu .msbc-button-admin5 {
	background: #80BFB9;
    border-bottom: 5px solid #76B0AA;
	text-shadow: 0px -2px #76B0AA;
}

.animate {
	transition: all 0.1s;
	-webkit-transition: all 0.1s;
	outline: none;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 0;
	padding-right: 0;
}


.animate:active
{
	transform: translate(0px,5px);
  -webkit-transform: translate(0px,5px);
	border-bottom: 1px solid;
	margin-bottom: 24px;
}
.msbc-page-main-menu .msbc-button-log-out {
	background: #fff;
	color: #c13a3a;
}
.msbc-page-main-menu .msbc-button-log-out:hover,
.msbc-page-main-menu .msbc-button-log-out:focus {
	color: #fff;
	background: #c13a3a;
}

.admin {
    background: linear-gradient(#EEE,#DDD);
    padding:10px;
    border-radius:5px;
}

.adminLabel {
	color: darkgray;
	font-weight:bold;
}

.admin-menu {
    /* width: 90%; */
    margin: 0 auto;
}

.main-admin {
	width: 90%;
	margin: 6rem auto 3rem;
	font-family: Helvetica,Arial,sans-serif;
	background: #fff;
	color: #333;
}

/*	----------------------------------------------------------------------------
	102.
	Timesheet.
*/

.msbc-page-timesheet .msbc-button-bar li {
	float: left;
	height: 2rem;
	width: 9rem;
	margin-right: 2rem;
}
.msbc-page-timesheet .msbc-button-bar li:last-child {
	margin-right: 0;
}

.msbc-page-timesheet .msbc-nav-bar .msbc-button {
	background: #fff;
	color: #6787c3;
    border-radius:3px;

}
.msbc-page-timesheet .msbc-nav-bar .msbc-button:hover,
.msbc-page-timesheet .msbc-nav-bar .msbc-button:focus {
	color: #fff;
	background: #6787c3;
}

.msbc-page-timesheet .msbc-timesheet-label {
	text-align: center;
	font-weight: bold;
	/* display: block; */
}

.msbc-table-timesheet-list tr {
	position: relative;
	height: 4rem;
}
.msbc-table-timesheet-list th,
.msbc-table-timesheet-list td {
	padding-top: 1rem;
}

.msbc-table-timesheet-list .msbc-table-cell-odd {
	font-weight: bold;
}
.msbc-table-timesheet-list .msbc-table-cell-even {
	font-weight: bold;
}
.msbc-table-timesheet-list th.msbc-table-cell-even {
	background: transparent;
}
/*	----------------------------------------------------------------------------
	102.5
	Schedule
*/


.msbc-table-schedule .msbc-schedule-empty {
    background: #888888;
    padding: 0.25rem;
    font-family: Helvetica,Arial,sans-serif;
    border-spacing: 3px;

}
.msbc-table-schedule .msbc-schedule-date {
    background: #555555;
    color: #FFFFFF;
	padding: 1rem;
    font-family: Helvetica,Arial,sans-serif;
    border-spacing: 3px;
}

.msbc-table-schedule .msbc-schedule-role {
    background: #888888;
    color: #FFFFFF;
	padding: 1rem;
    font-family: Helvetica,Arial,sans-serif;
    border-spacing: 3px;
}

.msbc-table-schedule .msbc-schedule-blank {
    background: #FFFFFF;
   	color: #000;
	padding: 1rem;
    font-family: Helvetica,Arial,sans-serif;
    border-spacing: 3px;
}



/*	----------------------------------------------------------------------------
	103.
	Timesheet entry.
*/



/*	----------------------------------------------------------------------------
	104.
	Holidays.
*/

.msbc-page-holidays .msbc-button-bar li {
	float: left;
	width: 9rem;
	margin-right: 2rem;
}
.msbc-page-holidays .msbc-button-bar li:last-child {
	margin-right: 0;
}

.msbc-page-holidays .msbc-button-add-holiday {
	background: #6787c3;
}

.msbc-table-holiday-list tr {
	position: relative;
	height: 4rem;
}
.msbc-table-holiday-list th,
.msbc-table-holiday-list td {
	padding-top: 1rem;
}

.msbc-table-holiday-list .msbc-table-cell-start-day {
	font-weight: bold;
	color: #444;
	width: 180px;
}
.msbc-table-holiday-list .msbc-table-cell-end-day {
	font-weight: bold;
	color: #444;
	width: 180px;
}
.blah {
	position: absolute;
	bottom: 0.5rem;
	left: 0;
	color: #666;
	border-bottom: none;
}
.msbc-table-holiday-list th.msbc-table-cell-end-day {
	background: transparent;
}

.msbc-table td.msbc-table-cell-actions {
	padding: 0.5rem 0 0;
	text-align: right;
}

.msbc-table .msbc-table-cell-status-green {
    color: green;
    font-weight: bolder;
}
.msbc-table .msbc-table-cell-status-red {
    color: red;
    font-weight: bolder;
}
.msbc-table .msbc-table-row-even {
    background: transparent;
    height: 3rem;
}

.msbc-table .msbc-table-row-odd {
    background: #a7a7a7;
    color: #FFF;
    height: 1rem;
}

.msbc-table-holiday-list td.reason{
    padding: 0.3rem;
    text-align: center;
    border-top-style: none;
}

.msbc-button-cancel-holiday {
	display: inline-block;
	width: auto;
	padding: 0.5rem 1rem;
	margin: 0;
	color: #c13a3a;
	background: transparent;
}
.msbc-button-cancel-holiday:hover,
.msbc-button-cancel-holiday:focus {
	background: #c13a3a;
	color: #fff;
}



/*	----------------------------------------------------------------------------
	105.
	Add holiday.
*/

.msbc-page-add-holiday .msbc-button-bar li {
	float: left;
	width: 9rem;
	margin-right: 2rem;
}
.msbc-page-add-holiday .msbc-button-bar li:last-child {
	margin-right: 0;
}

.msbc-page-add-holiday .msbc-field-radio > label {
	position: absolute;
	top: -9999px;
	left: -9999px;
	width: 0;
	height: 0;
	overflow: hidden;
}
.msbc-page-add-holiday .msbc-field-radio li {
	float: left;
	width: 6rem;
	margin-right: 1rem;
}
.msbc-page-add-holiday .msbc-field-radio li:last-child {
	margin-right: 0;
}

/*	----------------------------------------------------------------------------
	105.
	Memos
*/

