.snow-controls {
	position: absolute;
	right: 13px;
	top: 13px;
	cursor: pointer;
	color: white;
	text-decoration: underline;
}
@media screen {
	body {
		background-color:  #eee;
	}
}
@media only print {
	.christmas-snow {
		display: none !important;	
	}
	#global_sidebar {
	    display: none;
	}
	#global_top_bar {
	    display: none;
	}
	body {
		padding: 0;
	}
	#global {
		padding: 0;
		max-width: 100%;
	}
}
body {
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	color: #666;
    margin: 0;
    padding: 50px 0;
}
h1 {
	text-align: center;
	font-weight: normal;
	font-size: 4em;
}
h2 {
	text-align: center;
	font-weight: normal;
	text-align: center;
}
h4 {
	margin: 0px;
	font-weight: normal;
	font-size: 1.7em;
}
.error {
	color: #b11b1b;
	font-weight: bold;
}
.message {
	color: #33b71f;
	font-weight: bold;
}
.center {
	text-align: center;
}
.clearfix {
	clear: both;
	width: 100%;
}
.left {
    float: left;
}
.access-denied {
	clear: both;
	width: 100%;
	margin: auto;
	font-size: 1.5em;
	text-align: center;
}
/* *********** */
/* SMALL FORMS */
/* *********** */
.small-form {
	width: 400px;
	margin: auto;
}
.small-form select, .small-form input {
	margin-bottom: 0.5em;
}
button, .text-button {
	font-size: 1em;
	background-image: -webkit-linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	background-image: -moz-linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	background-image: -o-linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	background-image: linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	border-radius: 4px;
	border-style: none;
	box-shadow: 0px 0px 2px 0px #555;
	padding: 7px 10px;
	cursor: pointer;
    outline: none;
}
button:hover, .text-button:hover {
	border: 2px solid #558ff3;
	padding: 5px 8px;
}
.text-button {
	margin: 1em;
	color: #666;
	text-decoration: none;
}
button.cancel:hover {
	border: 2px solid #f3557f;
	padding: 5px 8px;
}
.button-group button {
	display: inline !important;
	margin-right: 0.5em !important;
	margin-left: 0.5em !important;
}
.button-group {
	text-align: center;
	clear: both;
}
select {
	height: 32px;
	padding: 0px 40px 0px 8px;
	font-size: 1em;
	line-height: 25px;
	border: 0;
	-webkit-appearance: none;
    -moz-appearance: none;
	background-image: url('../images/dropdown_arrow.png'), -webkit-linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	background-image: url('../images/dropdown_arrow.png'), -moz-linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	background-image: url('../images/dropdown_arrow.png'), -o-linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	background-image: url('../images/dropdown_arrow.png'), linear-gradient(#f5f5f5 0%, #dbdbdb 100%);
	background-position: 96% 50%;
	background-repeat: no-repeat;
	border-radius: 4px;
	box-shadow: 0px 0px 2px 0px #555;
	outline: none;
}
select:active {
	outline: none;
	background-image: url('../images/dropdown_arrow.png'), -webkit-linear-gradient(#dbdbdb 0%, #f5f5f5 100%);
	background-image: url('../images/dropdown_arrow.png'), -moz-linear-gradient(#dbdbdb 0%, #f5f5f5 100%);
	background-image: url('../images/dropdown_arrow.png'), -o-linear-gradient(#dbdbdb 0%, #f5f5f5 100%);
	background-image: url('../images/dropdown_arrow.png'), linear-gradient(#dbdbdb 0%, #f5f5f5 100%);
	border: 2px solid #558ff3;
	padding: 0px 38px 0px 6px;
}
select:focus {
	outline: none;
}
input {
	font-size: 1em;
	outline: none;
	padding: 4px;
}
input:focus {
	border: 2px solid #558ff3;
}
textarea {
	padding: 5px;
	font-size: 1em;
	border: 1px solid #aaa;
	outline: none;
	box-shadow: inset 0px 2px 3px -3px black;
}
textarea:focus {
	border: 2px solid #558ff3;
	padding: 4px;
}
#global {
	max-width: 1400px;
	margin: auto;
    padding-left: 200px;
}
#global_top_bar {
    position: fixed;
    top: 0;
    margin: 0;
    height: 50px;
    width: 100%;

    border-top: solid 2px #545454;
    border-bottom: solid 1px #474747;
    background-color: #474747;
    box-shadow: #000 0px 0px 2px;
    background: -moz-linear-gradient(top, #4c4c4c 0%, #343434 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4c4c4c), color-stop(100%, #343434)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #4c4c4c 0%, #343434 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #4c4c4c 0%, #343434 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #4c4c4c 0%, #343434 100%); /* IE10+ */
    background: linear-gradient(to bottom, #4c4c4c 0%, #343434 100%);
    z-index: 20;
}
#intranet_logo {
    width: 200px;
    height: 50px;
    border-right: 1px solid #303030;
    box-shadow: 1px 0px #545454;
    float: left;
}
#intranet_logo:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transition-property: background-color;
    transition-duration: 0.15s;
    -webkit-transition-property: background-color;
    -webkit-transition-duration: 0.15s;
}
#intranet_logo:active {
    background-color: none;
    background: -moz-linear-gradient(top, #343434 0%, #4c4c4c 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #343434), color-stop(100%, #4c4c4c)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #343434 0%, #4c4c4c 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #343434 0%, #4c4c4c 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #343434 0%, #4c4c4c 100%); /* IE10+ */
    background: linear-gradient(to bottom, #343434 0%, #4c4c4c 100%);
}
#intranet_logo img {
    display: block;
    margin: auto;
    padding-top: 2px;
}
button.utility {
	float: right;
	margin: 7px;	
}
#main-nav li#user_ident {
    font-size: 1em;
}
#main-nav li#user_ident img {
    display: inline;
    vertical-align: middle;
}
#global_sidebar {
    position: fixed;
    left: 0;
    margin: 0;
    height: 100%;
    width: 200px;
    background-color: #262627;
    z-index: 10;
    border-right: 1px solid #303030;
    overflow: auto;
}
#main-nav {
	float: left;
	display: block;
	color: #fff;
    width: 80%;
    padding: 0;
    margin: 0;
    margin-bottom: 95px;
}
#main-nav li {
    display: block;
    margin: 0px;
    font-size: 0.9em;
    text-shadow: 0px 1px #000;
    width: 100%;
    padding: 15px 6.5% 15px 18.5%;
    border-bottom: 1px solid #111;
    border-top: 1px solid #343434;
    transition-property: background-color, border;
    transition-duration: 0.15s;
    -webkit-transition-property: background-color, border;
    -webkit-transition-duration: 0.15s;

}
#main-nav li.separator {
    background-color: rgba(201,201,201,0.15);
    font-weight: bold;
    padding: 15px 16.5% 15px 8.5%;
}
#main-nav li.separator:hover {
    background-color: rgba(201,201,201,0.15);
    border-bottom: 1px solid #111;
    border-top: 1px solid #343434;

}
#main-nav li:hover, #main-nav li#user_ident:hover {
	background-color: rgba(201,201,201,0.49);
    border-top: 1px solid #8e8e8e;
    border-bottom: 1px solid #2b2b2b;
}
#main-nav a:hover + a li {
    background-color: none;
    background: -webkit-linear-gradient(top, rgba(201,201,201,0.05) 0%, rgba(201,201,201,0) 100%); /* Chrome10+,Safari5.1+ */
    border-top: 1px solid #555555;
}
#main-nav a {
	text-decoration: none;
	color: inherit;
}
#search-bar {
    position: fixed;
    bottom: 0;
    width: 185px;
    padding: 5px 10px;
    border-top: 1px solid #343434;
    background-color: #262627;
    clip: rect(0px, 200px, 100px, 0px)
}
#search-bar form {
    display: inline;
}
#search-bar input[type="text"] {
    width: 130px;
    float: left;
    margin-right: 5px;
    width: 135px;
    color: #aaaaaa;
}
#search-bar input[type="submit"] {
    display: block;
    margin-top: 3px;
    border: 0;
    height: 30px;
    width: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0) url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdCAYAAABWk2cPAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAA6ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1s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OnhtcG1ldGE+CrTB6LkAAAJbSURBVEgNrZY/SxxRFMV3jFE7ixQGMUljkyCJ+AFSiE0EWzsh9YJfIbU2EVIY/Qap00dSBKyyMYIBURACghaiLhGCUdbfWWfkzs17zszuHjj77n3v3nt23r+ZpFYCrVarn7Ax+BgOwGN4mCTJH9reArE38BM8gx7/6PgKF+FQ18oUeZ4WpCmF30TNdyxM8iw8LyX1f9AyXX1F4okNIGEW/zN8YPuxD2AD/oBNOJnyJa3W2+Ija123HVEbQU2pf0Kt5dtYEmOv4E/oUVpUm8JiE+dJTDDrJ2YArthE7As4msUEWwK0Sy1OcXRESoHYBH6xBbDX7k0mQMfCYuHehMAgyU+hXR7ZDwOhtRoD/dCew91gYIlO6vhpngmlaXtrGofN4HdjVzV97kSogER1tVnoWHSKLZc44vy2K9FBN6Bz2Cl8bvCiUOeRU9DB7xQ+dz9USKKH8MoMThm7qulF96IF2HX2YrjE1/VWCeQMwh2Y4S/Go2gRBvV6stjCCZ+xSBXil2wB7PVI6G03AUNQryeL9zi5F0KsCHEz8MokX2OPx+Lv+gmaN0mZqavt2V2QMxjTlOoJrSBu6xgGj4sr0b6d9D700HWmm2YBTkBdd3PwHbRriJuDxoqFCeqDq7nU7pxywnp8dOrwooKe1lBTGkIl4VEqrMFmqFLap2OxDsfhCJRACDnhwt1JBX1yvoa6vLVGulB004jbfJqc0LZBrMY34IvbntzvL7xp4vX52ltIGJZ64p4qFwg3gm+Bbv9BOoXT1NGUenzzHT31A0+s41i4j7r+E6lwg/ZDJngD3TgKOuSjdmwAAAAASUVORK5CYII=');
    background-repeat: no-repeat;
    background-size: 25px 25px;
}
.main-content {
	max-width: 100%;
	padding: 40px 70px;
}
.core-button {
	height: 31px;
	width: 31px;
	border-radius: 30px;
	background-image: -webkit-linear-gradient(#30cffe 0%, #2563cf 100%);
	background-image: -o-linear-gradient(#30cffe 0%, #2563cf 100%);
	background-image: -moz-linear-gradient(#30cffe 0%, #2563cf 100%);
	background-image: linear-gradient(#30cffe 0%, #2563cf 100%);
	padding: 3px;
	-webkit-user-select: none;   
	-moz-user-select: none;    
  	-ms-user-select: none;      
  	user-select: none;
  	cursor: pointer;
  	color: #558ff3;
}
button.core-button {
	height: 37px;
	width: 37px;
	display: block;
  	border: none;
  	box-shadow: none;
}
button.core-button:hover {
	padding: 3px;
}
button.core-button:active {
	padding: 3px;
}
.inner-button {
	border-radius: 30px;
	background-image: -webkit-linear-gradient(#f3f3f3 0%, #e2e2e2 100%);
	background-image: -o-linear-gradient(#f3f3f3 0%, #e2e2e2 100%);
	background-image: -moz-linear-gradient(#f3f3f3 0%, #e2e2e2 100%);
	background-image: linear-gradient(#f3f3f3 0%, #e2e2e2 100%);
}
.inner-button img {
	margin: 4px 2px;
}
.core-button.new-button {
	background-image: -webkit-linear-gradient(#64ff4d 0%, #2ed315 100%);
	background-image: -o-linear-gradient(#64ff4d 0%, #2ed315 100%);
	background-image: -moz-linear-gradient(#64ff4d 0%, #2ed315 100%);
	background-image: linear-gradient(#64ff4d 0%, #2ed315 100%);
}
.core-button.delete-button {
	background-image: -webkit-linear-gradient(#eb9895 0%, #ce132b 100%);
	background-image: -o-linear-gradient(#eb9895 0%, #ce132b 100%);
	background-image: -moz-linear-gradient(#eb9895 0%, #ce132b 100%);
	background-image: linear-gradient(#eb9895 0%, #ce132b 100%);
}
.core-button.unissue-button {
	background-image: -webkit-linear-gradient(#cea159 0%, #cf7a13 100%);
	background-image: -o-linear-gradient(#cea159 0%, #cf7a13 100%);
	background-image: -moz-linear-gradient(#cea159 0%, #cf7a13 100%);
	background-image: linear-gradient(#cea159 0%, #cf7a13 100%);
}
.new-button .inner-button {
	height: 29px;
	width: 24px;
	font-size: 34px;
	font-weight: bold;
	padding: 2px 3px 0px 4px;
	line-height: 21px;
	color: rgba(40,238,43,1);
}
.view-button .inner-button {
	height: 31px;
	width: 23px;
	font-size: 34px;
	padding: 0px 2px 0px 6px;
	line-height: 23px;
}
.edit-button .inner-button {
	height: 31px;
	width: 23px;
	font-size: 34px;
	padding: 0px 3px 0px 5px;
	line-height: 23px;
}
.unissue-button .inner-button {
	height: 31px;
	width: 23px;
	font-size: 34px;
	padding: 0px 3px 0px 5px;
	line-height: 28px;
}
.unissue-button .inner-button img {
	position: relative;
	top: 1px;
	left: -1px;
}
.delete-button .inner-button {
	height: 31px;
	width: 23px;
	font-size: 34px;
	padding: 0px 3px 0px 5px;
	line-height: 30px;
}
.button-link {
    display: block;
    text-decoration: none;
}
.core-button:active .inner-button {
	background-image: -webkit-linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
	background-image: -o-linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
	background-image: -moz-linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
	background-image: linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
}
.button-link:active .inner-button {
	background-image: -webkit-linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
	background-image: -o-linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
	background-image: -moz-linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
	background-image: linear-gradient(#e2e2e2 0%, #f3f3f3 100%);
}
.form-shadow {
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 18px -8px black inset;
    padding: 20px;
}
.main-form {
	width: 900px;
	margin: auto;
}
.main-form div.left > div,
.main-form div.right > div
{
	margin: 20px 40px;
}
.main-form div.left {
	float: left;
}
.main-form > div.right {
	float: right;
}
.main-form #datepicker > div {
	box-shadow: 0px 0px 2px 0px #555;
}
@media only screen and (max-width: 1000px) {
	.main-form {
		width: auto;
		margin: auto;
		text-align: center;
	}
	.main-form div.left {
		float: none;
	}
	.main-form > div.right {
		float: none;
	}
	.main-form .datepicker-container {
		display: inline-block;
		margin: 0 auto;
	}
}
.main-form textarea {
	width: 400px;
	height: 150px;
}
.main-form label {
	display: block;
	font-weight: bold;
	margin-bottom: 0.5em;
}
.main-form button {
	clear: both;
	display: block;
	margin: auto;
}
.main-form .small {
    width: 35px;
}
td.contract_icon {
	width: 23px;
}
#client-form {
    width: 530px;
}
#client-form textarea {
    width: 426px;
}
#contract-form .left > div {
    float: left;
    margin: 15px 20px;
}
.core-table {
    width: 100%;
}
.core-table td, .core-table th {
    padding: 0.6em; 
}
.core-table td {
    border-top: 2px solid #60bdff;
    background-color: #e8e8e8;   
}
.core-table td.button-cell {
    width: 30px;
}
.core-table td.button-cell a {
    text-decoration: none;
}
.core-table td.date-cell {
    width: 170px;
}
.core-table td.code-cell {
    width: 100px;
}
.horizontal-controls {
	display: block;
	float: left;
	margin: 0 10px 30px 10px;
	line-height: 37px;
	font-size: 1.1em;
	text-decoration: none;
	color: inherit;
}
.horizontal-controls div {
	float: left;
	margin-right: 10px;
	position: relative;
}
.horizontal-controls.right {
	float: right;
}
.timesheet-container .pagination {
	position: fixed;
	bottom: 0px;
    width: 75%;
    left: 0;
    padding-left: 20%;
    padding-right: 5%;
	background-color: rgba(232, 232, 232, 0.95);
}
.timesheet-container .pagination button, .timesheet-container .pagination .text-button {
	margin: 15px 0;
}
.pagination button, .pagination .text-button {
	border: none; 
	padding: 5px;
	font-size: 1.5em;
	margin: 30px 0;
	color: #257acc;
	cursor: pointer;
	background-image: none;
	box-shadow: none;
	background-color: rgba(201,201,201,0.3);
	border-radius: 4px;
	transition-property: background-color;
	transition-duration: 0.25s;
	-webkit-transition-property: background-color;
	-webkit-transition-duration: 0.25s;
}
.pagination button:hover {
	background-color: rgba(201,201,201,0.49);
}

.pagination .previous-page {
	float: left;
}
.pagination .next-page {
	float: right;
}
.empty-div {
	clear: both;
	width: 100%;
	margin: auto;
	font-size: 1.5em;
	text-align: center;
	padding: 100px 0;
}
.confirm-box {
	background-color: #eee;
	max-width: 400px;
	box-shadow: 0px 5px 12px #999;
	border: 1px solid #aaa;
	border-radius: 5px;
	margin: 0 auto;
}
.confirm-box .confirm-header {
	background-color: #33a9ee;
	background-image: -webkit-linear-gradient(#37d5ff 0%, #2c6ed5 100%);
	background-image: -moz-linear-gradient(#37d5ff 0%, #2c6ed5 100%);
	background-image:  -o-linear-gradient(#37d5ff 0%, #2c6ed5 100%);
	background-image:  linear-gradient(#37d5ff 0%, #2c6ed5 100%);
	margin:  4px;
	border-radius:  4px;
	padding:  10px;
	color:  white;
	font-size:  1.2em;
	font-weight:  bold;
	text-align:  center;
}
.confirm-box .confirm-text {
	margin:  15px;
}
.confirm-box .button-group {
	margin-bottom: 10px;
}
#display-size {
	width: 40px;
	text-align: center;
}
#short-desc {
	width: 400px;
}
#time-spent {
	width: 35px;
}
.user-intro {
	font-size: 1.5em;
	clear: both;
}
/* ************* */
/* INVOICE TABLE */
/* ************* */
.invoice-list-table td {
	text-align: center;
}

/* ************** */
/* CLIENT DETAILS */
/* ************** */
#client-wrapper {
    float: left;
    width: 500px;
}
#contact-wrapper {
    float: right;
    width: 620px;
}
@media only screen and (max-width: 1175px){
    #client-wrapper {
        float:none;
        margin: 0px auto 50px;
    }
    #contact-wrapper {
        float: none;
        margin: 0px auto;
    }
}
#client-details {
    width: 100%;
}
#client-detail-table tr td:first-child {
    width:90px;
    text-align: right;
    font-weight: bold;
}
#edit-client-details {
    width: 100%;
    display: none;
}
#client-form div.left > div{
    margin: 20px 30px;
}
#contact-form {
    width: 100%;
}
#contact-form div.left > div{
    margin: 20px 25px;
}
#contact-details {
    width: 100%;
}
#edit-contact-details {
    width: 100%;
    display: none;
}


/* ************ */
/* INVOICE PAGE */
/* ************ */
#reissue-mode {
	position: fixed;
	bottom: 0;
	width: 100%;
	font-size: 1.5em;
	background-color: 
	rgba(140, 260, 0, 0.5);
	padding: 0.5em;
	text-align: center;
	left:  0;
}
/* ********* */
/* CONTRACTS */
/* ********* */
#hour-options {
	margin: 0 auto 40px;
	width: 100%;
}
/* ********** */
/* STAFF MENU */
/* ********** */
#avatar-selection {
	margin-top: 30px;
}
#avatar-selection .avatar-option {
	display: inline;
	margin: 15px;
	position: relative;
}
#avatar-selection #chosen-avatar {
	position: absolute;
	bottom: -2px;
	right: -2px;
}
#staff-form {
	margin-top: 50px;
	margin-bottom: 50px;
}
#staff-form .button-group {
	margin-top: 20px;
}
/* ********** */
/* TIMESHEETS */
/* ********** */
.month-total {
	text-align: center;
	margin-top: 0;
	margin-bottom: 1.5em;
	color: #888;
}
.timesheet-container {
	max-width: 800px;
	margin: auto;
}
.day-separator {
	height: 25px;
	position: relative;
}
.day-separator:after{
    content:"";
    position:absolute;
    z-index: -1;
    left:80px;
    top:10px;
    right:0;
    bottom:0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7PFGTL/BMr0lSkyhjEyFqEJoqwi48SvbPan5iu7yZiXJuShGlnOGbw0noy7UN6aJeGjjAShXJgl4GejfAdlvVRJmgDl9yjT0/icTAAwFJlfzOcmoWyJMkUUGe6J8gIACJTEObxyDov5OWieAHimZ+SKBIlJYqYR15hp5ejIZvrxs1P5YjErlMNN4Yh4TM/0tAyOMBeAr2+WRQElWW2ZaJHtrRzt7VnW5mj5v9nfHn5T/T3IevtV8Sbsz55BjJ5Z32zsrC+9FgD2JFqbHbO+lVUAtG0GQOXhrE/vIADyBQC03pzzHoZsXpLE4gwnC4vs7GxzAZ9rLivoN/ufgm/Kv4Y595nL7vtWO6YXP4EjSRUzZUXlpqemS0TMzAwOl89k/fcQ/+PAOWnNycMsnJ/AF/GF6FVR6JQJhIlou4U8gViQLmQKhH/V4X8YNicHGX6daxRodV8AfYU5ULhJB8hvPQBDIwMkbj96An3rWxAxCsi+vGitka9zjzJ6/uf6Hw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kaWZ5RGF0ZT4yMDEzLTEyLTEzVDExOjEyOjczPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5QaXhlbG1hdG9yIDMuMDwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpDb21wcmVzc2lvbj41PC90aWZmOkNvbXByZXNzaW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4xPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj43MjwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NzI8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDxleGlmOlBpeGVsWERpbWVuc2lvbj4xPC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT4xPC9leGlmOkNvbG9yU3BhY2U+CiAgICAgICAgIDxleGlmOlBpeGVsWURpbWVuc2lvbj4xPC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CivdUs4AAAAMSURBVAgdY9ixYwcABFQCKZWJHkMAAAAASUVORK5CYII=');
	background-repeat: repeat-x;
}
.week-separator {
	font-size: 1.3em;
	margin: 0.8em 0;
	text-align: right;
	background-color: #2490E9;
	padding: 0.1em 0.3em;
	border-radius: 6px;
	color: white;
}
.timesheet-date {
	color: #db0303;
}
.timesheet-weekday {
	font-size: 0.9em;
	margin-left: 0.3em;
	background-color: #eee;
	padding-right: 5px;
}
.timesheet-entry {
	position: relative;
	max-width: 90%;
	background-color: white;
	border: 1px solid #bababa;
	border-radius: 3px;
	box-shadow: 0px 3px 7px -4px #333;
	padding: 10px;
	margin: 0.2em auto 1em;
	font-size: 0.85em;
}
.timesheet-entry.active-entry {
	border: 2px solid #2490E9;
}
.timesheet-entry .active-note {
	font-weight: normal;
	font-style: italic;
}
.timesheet-time {
	margin: 0;
	float: left;
	font-weight: bold;
}
.timesheet-overview {
	margin: 0;
	float: right;
	font-weight: bold;
}
.timesheet-comments {
	clear: both;
	padding-top: 0.5em;
	margin-bottom: 0.5em;
}
.timesheet-edit {
	bottom: 4px;
	right: 4px;
	position: absolute;
	visibility: hidden;
}
.timesheet-entry:hover .timesheet-edit {
	visibility: visible;
}
#comments-input {
	width: 98%;
	display: block;
	margin: auto;
	height: 150px;
}
#month-name {
	text-align: center;
	font-weight: normal;
	margin: 1em;
	clear: both;
}
#drag-handle {
	width: 100%;
	height: 20px;
	margin-bottom: 10px;
	background-image: url('../images/draghandle.png');
	background-repeat: repeat-x;
	cursor: grab;
	cursor: -webkit-grab;
	cursor: -moz-grab;
}
.dragging #drag-handle {
	cursor: grabbing;
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
}
	
	float: right;
}
/* entire container, keeps perspective */
.flip-container {
	perspective: 1000;
	position: relative;
}
/* flip the pane when flipping class applied */
.timesheet-entry.flipping, .timesheet-entry.flipping {
	-webkit-transform: rotateY(180deg);
}

/* flip speed goes here */
.timesheet-entry.flipping {
	transition: 0.5s;
	-webkit-transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */
.timesheet-entry.flipping .front{
	display: none;
	top: 0;
	left: 0;
}
.timesheet-entry.flipping .back {
	position: static;
	-webkit-transform: rotateY(-180deg);
}


/* front pane, placed above back */
.front {
	-webkit-backface-visibility: hidden;
	z-index: 2;
}

/* back, initially hidden pane */
.back {
	-webkit-backface-visibility: hidden;
	-webkit-transform: rotateY(180deg);
	position: absolute;
}

/* Recruitment */

.job_tag {
	background-color: #b5d7ec;
	border-radius: 3px;
	padding: 5px;
	margin: 5px;	
}
.job_tag:hover {
	background-color: #c3e2f5;
}
.job_tag a {
	text-decoration: none;
	color: inherit;	
}
#cv_refine_expand {
	width: 350px;
	height: 50px;
	position: absolute;
	z-index: 5;
	opacity: 0;
	cursor: pointer;
}
#cv_refine_expand:checked ~ form#cv_refine {
	max-height: 400px;
}
form#cv_refine button .inner-button {
	
	-webkit-transition: -webkit-transform 0.2s;
}
#cv_refine_expand:checked ~ form#cv_refine button .inner-button {
	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotate(90deg);
}
form#cv_refine {
	padding: 0.7em 1em;
	position: absolute;
	display: block;
	background-color: #313131;
	border-radius: 4px;
	color: white;
	max-height: 30px;
	overflow: hidden;
	-webkit-transition: max-height 0.7s;
}
form#cv_refine h3 {
	margin-top: 0;
	line-height: 30px;
}
form#cv_refine .view-button {
	position: absolute;
	right: 0.5em;
	top: 0.5em;
}
.checkbox-group {
	float: left;
	padding-left: 3em;
	padding-right: 3em;
}
.checkbox-group:first-of-type {
	padding-left: 0.6em;
}
.criteria-select {
	padding: 0.4em 0;
}
form#cv_refine #refine_button {
	float: right;
	clear: both;
}

#jobs_refine_expand {
	width: 700px;
	height: 50px;
	position: absolute;
	z-index: 5;
	opacity: 0;
	cursor: pointer;
}
#jobs_refine_expand:checked ~ form#jobs_refine {
	max-height: 600px;
}
form#jobs_refine button .inner-button {
	
	-webkit-transition: -webkit-transform 0.2s;
}
#jobs_refine_expand:checked ~ form#jobs_refine button .inner-button {
	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotate(90deg);
}
form#jobs_refine {
	padding: 0.7em 1em;
	position: absolute;
	display: block;
	background-color: #313131;
	border-radius: 4px;
	color: white;
	max-height: 30px;
	overflow: hidden;
	-webkit-transition: max-height 0.7s;
}
form#jobs_refine h3 {
	margin-top: 0;
	line-height: 30px;
}
form#jobs_refine .view-button {
	position: absolute;
	right: 0.5em;
	top: 0.5em;
}
.checkbox-group {
	float: left;
	padding-left: 3em;
	padding-right: 3em;
}
.checkbox-group:first-of-type {
	padding-left: 0.6em;
}
.criteria-select {
	padding: 0.4em 0;
}
form#jobs_refine #refine_button {
	float: right;
	clear: both;
}
