@font-face {
	font-family: 'BebasNeueRegular';
	src: url('BebasNeue-webfont.eot');
	src: url('BebasNeue-webfont.eot?#iefix') format('embedded-opentype'), url('BebasNeue-webfont.woff') format('woff'), url('BebasNeue-webfont.ttf') format('truetype'), url('BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}
* {
	margin: 0;
	padding: 0;
}
html {
	font-size: 16px;
	background-color: #222;
	font-family: sans-serif;
	color: #555;
	padding: 15px 0;
}
a {
	text-decoration: none;
	color: #000;
}
a:hover, a:focus {
	color: #eb1580;
	outline: none;
}
li {
	list-style: none;
}
p {
	padding: 5px;
}
div.clear {
	clear: both;
}
h1 {
	display: block;
	font-weight: normal;
	font-size: 22px;
	font-family: 'BebasNeueRegular', sans-serif;
	text-transform: uppercase;
	color: #8a8a8a;
	background-color: #fafafa;
	border-bottom: 1px solid #eee;
	padding-left: 5px;
	height: 30px;
	line-height: 33px;
}
h1.no-border {
	border: 0;
}
h1.border-top {
	border-top: 1px solid #eee;
}
h2 {
	display: block;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
	color: #8a8a8a;
	padding-left: 5px;
	height: 30px;
	line-height: 30px;
}
.box {
	border: 1px solid #dcdcdc;
	background-color: #fff;
}
.box-centered {
	margin: 0 auto;
	margin-bottom: 5px;
}
.box-padding {
	padding: 5px;
}
.box-msg {
	padding: 0 5px;
	font-size: 22px;
	font-family: 'BebasNeueRegular', sans-serif;
	text-transform: uppercase;
	color: #d09393;
}
.box-msg-info {
	border-bottom-color: #259900;
}
.box-msg-error {
	border-bottom-color: red;
}
.debug-wrapper {
	position: relative;
	width: 1000px;
	padding: 5px;
	background-color: #f5f5f5;
	margin: 0 auto;
	margin-bottom: -5px;
}
.debug-text {
	padding: 5px;
}
/* Logging severity coloring */
.severity0 {
	background-color: transparent;
}
.severity1 {
	background-color: #f1f1f1;
}
.prct5 {
	width: 5%;
}
.prct6 {
	width: 6%;
}
.prct7 {
	width: 7%;
}
.prct8 {
	width: 8%;
}
.prct9 {
	width: 9%;
}
.prct10 {
	width: 10%;
}
.prct12 {
	width: 12%;
}
.prct15 {
	width: 15%;
}
.prct20 {
	width: 20%;
}
.prct100 {
	width: 100%;
}
.h30 {
	height: 30px;
	line-height: 30px;
}
.h20 {
	height: 20px;
	line-height: 20px;
}
.base-nav {
	display: block;
	height: 30px;
	line-height: 32px;
	float: left;
	padding: 0 5px;
	font-size: 22px;
	font-family: 'BebasNeueRegular', sans-serif;
	text-transform: uppercase;
	color: #8a8a8a;
}
.nav-active {
	color: #d09393;
}
.legend {
	width: 100%;
	border-bottom: 1px solid #eee;
	background-color: #fafafa;
}
.legend li {
	text-transform: uppercase;
	font-weight: bold;
	color: #8a8a8a;
}
.legend li.last {
	float: right;
	margin-right: 5px;
}
.list-item-column {
	float: left;
	padding: 0 5px;
	margin-right: 5px;
	font-size: 13px;
	overflow: hidden;
}
.list-item-title {
	padding: 0;
}
.list-item div.last {
	float: right;
	margin-right: 0;
}
.list-item:nth-child(even) {
	background-color: #FFFFDD;
}
.list-item-control {
	display: block;
	float: right;
	width: 20px;
	height: 20px;
	line-height: 20px;
	margin-top: 4px;
	border: 1px solid #dcdcdc;
	border-bottom: 1px solid #d09393;
	opacity: 0.8;
	font-weight: bold;
	text-align: center;
	color: #d09393;
	background-repeat: no-repeat;
	background-position: center center;
}
.item-add {
	background-image: url(../images/new-item.png);
}
.item-docs {
	margin-right: 5px;
	background-image: url(../images/docs.png);
}
.item-edit {
	background-image: url(../images/edit-item.png);
}
.item-passport {
    float: left;
	background-image: url(../images/passport.png);
}
.item-dlicence {
    float: left;
	background-image: url(../images/dlicence.png);
}
.item-empty {
    float: left;
}
.item-history {
	margin-right: 5px;
	background-image: url(../images/history.png);
}
.item-remove {
	margin-right: 5px;
	background-image: url(../images/remove-item.png);
}
.item-calendar {
	margin-right: 5px;
	background-image: url(../images/year-cal.png);
}
.item-form {
	width: 300px;
	margin: 5px auto;
}
.item-form-wide {
	width: 450px;
}
.form-text {
	padding: 0 5px;
}
.form-input {
	width: 278px;
	color: #d09393;
	font-size: 16px;
	font-weight: bold;
	border: 1px solid #eee;
	padding: 0 5px;
	margin: 0 0 5px 5px;
	background-color: #fafafa;
}
.form-input-half {
	float: left;
	width: 130px;
}
h2.form-input-half {
	width: 142px;
}
.form-input-third {
	float: left;
	width: 81px;
}
h2.form-input-third {
	width: 93px;
}
.form-checkbox-container {
	width: 277px;
	color: #d09393;
	font-size: 16px;
	font-weight: bold;
	border: 1px solid #eee;
	padding: 0 5px;
	margin: 0 0 5px 5px;
	background-color: #fafafa;
}
.form-checkbox {
	margin: 5px;
	cursor: pointer;
}
.form-select {
	width: 290px;
	color: #000;
}
.form-submit {
	float: right;
	width: 80px;
	cursor: pointer;
	margin-right: 5px;
	border: 1px solid #dcdcdc;
	border-bottom: 1px solid #d09393;
	font-weight: bold;
	text-align: center;
}
.form-submit-remove {
	float: left;
}
.form-submit:hover {
	color: #eb1580;
}
::-webkit-input-placeholder {
	color: #d09393;
}
:-moz-placeholder {
	color: #d09393;
}
.form-input:hover, .form-input:focus {
	outline: 0;
	border-bottom: 1px solid #000;
}
.form-input-error {
	outline: 1px red;
}
.inline-text-link {
	border-bottom: 1px dotted #000;
}
.minimize-button-show {
	background-image: url(../images/minimize-show.png);
}
.minimize-button-hide {
	background-image: url(../images/minimize-hide.png);
}
/* Calendar styling */
.calendar-top-container {
	width: 360px;
	margin: 0 auto;
}
.calendar-top-date {
	float: left;
	width: 110px;
	margin: 0 5px;
	text-transform: uppercase;
	font-size: 12px;
	text-align: center;
}
.calendar-top-date-previous {
	text-align: right;
}
.calendar-top-date-current {
	font-weight: bold;
}
.calendar-top-date-next {
	text-align: left;
}
.calendar-top-date a {
	color: #555;
}
.calendar-vehicle {
	width: 966px;
	margin: 10px auto;
}
.calendar-vehicle-info {
	position: relative;
	color: #8a8a8a;
	background-color: #fafafa;
	padding-left: 5px;
	font-size: 14px;
	background-repeat: no-repeat;
	background-position: center right;
}
.year-cal-link {
	position: absolute;
	top: 5px;
	right: 40px;
	display: block;
	width: 16px;
	height: 16px;
	background-image: url(../images/year-cal.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.calendar-vehicle-info-changling {
	cursor: pointer;
}
.calendar-vehicle-daily-cut {
	border-top: 1px solid #eee;
	text-align: center;
}
span.calendar-day {
	display: inline-block;
	width: 23px;
	height: 30px;
	line-height: 40px;
	text-align: center;
	font-size: 14px;
	overflow: hidden;
	color: #000;
	border-bottom: 10px solid #fff;
}
span.calendar-day-current {
	background-color: #ffffc0;
	border-bottom-color: #ffffc0;
}
span.calendar-day-weekend {
	border-bottom-color: #9E5557;
}
span.calendar-day-reserved {
	background-color: #f4c8b9;
}
span.calendar-day-rented {
	background-color: #d09393;
}
.calendar-form-new-client-container {
	display: none;
}
.year-cal-container {
	width: 902px;
	margin: 0 auto;
	padding-top: 10px;
}
.year-cal-single {
	float: left;
	width: 218px;
	margin-right: 10px;
	margin-bottom: 15px;
}
.year-cal-single.last {
	margin-right: 0;
}
h1.year-cal {
	border: 1px solid #eee;
	border-bottom: 0;
}
/* calendar drawing function from http://davidwalsh.name/php-calendar */
table.calendar {
	border-left: 1px solid #eee;
}
tr.calendar-row td.calendar-day-np:last-child {
	border-right: 1px solid #eee;
}
tr.calendar-row td.calendar-day-np + td.calendar-day div {
	width: 31px;
	border-left: 1px solid #eee;
	margin-left: -1px;
}
td.calendar-day {
	height: 30px;
	font-size: 14px;
	position: relative;
	border-right: 1px solid #eee;
}
td.calendar-day-np {
	height: 30px;
}
td.calendar-day-head {
	width: 30px;
	height: 30px;
	font-weight: bold;
	text-align: center;
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
	background-color: #fafafa;
}
td.calendar-day-head:last-child {
	border-right: 1px solid #eee;
}
div.day-number {
	color: #000;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
}
div.day-number.rented {
	background-color: #d09393;
}
div.day-number.reserved {
	background-color: #f4c8b9;
}
/* shared */
td.calendar-day, td.calendar-day-np {
	width: 30px;
	border-bottom: 1px solid #eee;
}
/* Calendar styling end */

/* Client history */
.client-history {
	width: 700px;
}
.history-container {
	height: 90px;
	line-height: 30px;
	padding: 5px;
	border-bottom: 1px solid #ddd;
}
.history-container.last {
	border-bottom: 0;
}
.history-item {
	float: left;
	margin-right: 25px;
}
.history-item-note {
	float: none;
}
/* END */
#wrapper {
	position: relative;
	width: 1000px;
	padding: 5px;
	background-color: #f5f5f5;
}
#logout {
	float: right;
}
#authorization-wrapper {
	width: 500px;
	padding: 5px;
	margin-top: 20%;
	background-color: #f5f5f5;
}
#authPass {
	width: 476px;
	margin: 5px 0 5px 5px;
}
#auth_error {
	margin-top: 5px;
	border-bottom: 2px solid red;
}
#price_total {
	color: #000;
}
/* FACEBOX STYLING */
#facebox {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	text-align: left;
}
#facebox .popup {
	position: relative;
	border: 1px solid #dcdcdc;
}
#facebox .content {
	display: table;
	padding: 0 5px;
	background: #fff;
}
#facebox .content > p:first-child {
	margin-top: 0;
}
#facebox .content > p:last-child {
	margin-bottom: 0;
}
#facebox .close {
	position: absolute;
	width: 20px;
	height: 30px;
	top: 5px;
	right: 4px;
	padding: 2px;
	background-image: url(../images/close.png);
	background-repeat: no-repeat;
	background-position: center center;
}
#facebox .loading {
	text-align: center;
}
#facebox .image {
	text-align: center;
}
#facebox img {
	border: 0;
	margin: 0;
}
#facebox_overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
}
.facebox_hide {
	z-index: -100;
}
.facebox_overlayBG {
	background-color: #000;
	z-index: 99;
}
