@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900);

.color-primary-0 { color: #274FB6 }	/* Main Primary color */
.color-primary-1 { color: #4B7AEF }
.color-primary-2 { color: #4774E3 }
.color-primary-3 { color: #1B3472 }
.color-primary-4 { color: #162959 }

.color-complement-0 { color: #FFB51E }	/* Main Complement color */
.color-complement-1 { color: #FFBF3B }
.color-complement-2 { color: #FFBF3B }
.color-complement-3 { color: #AA7A19 }
.color-complement-4 { color: #846016 }



/* As RGBa codes */

.rgba-primary-0 { color: rgba( 39, 79,182,1) }	/* Main Primary color */
.rgba-primary-1 { color: rgba( 75,122,239,1) }
.rgba-primary-2 { color: rgba( 71,116,227,1) }
.rgba-primary-3 { color: rgba( 27, 52,114,1) }
.rgba-primary-4 { color: rgba( 22, 41, 89,1) }

.rgba-complement-0 { color: rgba(255,181, 30,1) }	/* Main Complement color */
.rgba-complement-1 { color: rgba(255,191, 59,1) }
.rgba-complement-2 { color: rgba(255,191, 59,1) }
.rgba-complement-3 { color: rgba(170,122, 25,1) }
.rgba-complement-4 { color: rgba(132, 96, 22,1) }

body {
	overflow-x : hidden;
	padding-bottom: 50px;
	background-color: rgba(255,255,255,0.5);
}
h1, h2,h3,legend {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color : #274db6;
	padding-bottom: 0px;
}
legend {
	font-size : 15px;
	padding : 3px;
}
h1 {
	font-size : 17px;
}
h2 {
	font-size : 17px;
	color : #274db6;
}
h3 {
	font-size : 16px;
}
.page-title {

	margin-top : 38px;


}
.page-icon {
	display: inline-block;
	float : left;
	margin : 0 15px 0 25px;
}


a, a:link, a:active, a:visited, a:hover {
	color: #666;
	text-decoration: none;
}
#wrapper {



}
/* Header */
#header-menu {
	opacity : 1;
}

#header-menu a:link, #header-menu a:visited {
	color : #274db6;
}
#header-menu a:active, #header-menu a:active {
	color : #274db6;
}
#header-menu a:active,#header-menu a:hover {
	color : #bbb;
}
.settingsmenu {
	float : right;
	padding-top : 10px;
	margin-right: 20px;
}
#hamburger {

	display: block;


	float : right;

	margin: 13px 40px 0 0;
}

#settingconfig {

}
#hamburger span {
	background: #999;
	display: block;
	height: 3px;
	margin: 5px 0;
}

.userinfobox {
	float : right;
	padding : 15px 5px;
	display: block;
}
.container-login {
	width : 80%;
	max-width: 300px;
	padding-top : 15%;
	margin-left : auto;
	margin-right: auto;
}

#dashmeters {
	min-height : 140px;
	height : auto;
	display: block;
	background-color: rgba(155,155,155,0.1);
	border-radius : 4px;
}
#content{
	padding-top : 50px;
}
#homecontent {
	margin : 20px -5px 20px 20px;
}


/** Dashboard */
#dashboard-control {
	padding-right: 60px;
	font-size: 20px;
}

#dashboard-control .glyphicon {
	padding-left: 10px;
	color: darkgrey;
}

/** Widgets */
.widget-body {
	margin-top: 20px;
	margin-left : -15px;
	margin-right : -15px;

}
.widget-body:first-child {

}
.widget-header {
	/*background-color: rgba(0, 0, 0, 0);*/
	background-color: #f8f8f8;
	-webkit-transition:background-color 2s;
	-moz-transition:background-color 2s;
	transition:background-color 2s;
	padding :10px;

	border-radius : 4px;


}
.widget-title {
	padding : 8px;
	/*background-color: rgba(155,155,155,0.1);
	border-radius : 4px;
	height : 240px;*/
}

.widget-content-body {
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 12px;
	padding-right: 12px;

	font-size: 16px;
}

.widget-content-body .row.control {
	padding-top: 25px;
}

.widget-content-body .btn-primary {
	background-color: black;
	padding: 20px;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
}




.panel-body {
	background: #fff;
	min-height : 180px;
}
.sortables-container {
		
}
.sortable {
	padding : 5px;
	border-radius : 4px;
	border : 1px solid #f2f2f2;
}
#footer {
	position : fixed;
	bottom : 0;
	background-color: #f8f8f8;
	border : 0;
	border-top: 1px solid;
	border-color: #e7e7e7;
	width : 100%;

}
#footer .navbar-brand {
	padding: 0px;

}
.navbar-brand img {
	width  : 140px;
	padding : 12px 5px;
}
.navbar-header {
	width: 100%;
}
.navbar-right  {
	float : right !important;
}
.nav-sidebar {
	list-style: none;
	padding-left: 0px;
	margin-left: 0px;
	font-weight : 600;
	font-family: 'Lato', sans-serif;
}
.nav-sidebar>ul {
	padding-left: 0px;
	margin-left: 0px;
}
.nav-sidebar>ul>li {
	padding-left: 0px;
	margin-left: 0px;
}
.nav-sidebar ul {
	padding-left: 0px;
	margin-left: 0px;
}
.nav-sidebar li {
	list-style: none;
	margin-left: 25px;
}
.nav-sidebar li.active a {
	background-color: transparent;
	color : #274db6;

}
.nav-sidebar a {
	display:inline-block;
	width:100%;
	height: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	text-decoration: none;
}
.nav-sidebar a:hover,
.nav-sidebar a:active {
	background-color: #f2f2f2;
	text-decoration: underline;
	color : #222;
}

/* Nav Tabs */
.nav-tabs { border-bottom: 4px solid #DDD; }
    .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover { border-width: 0; }
    .nav-tabs > li > a { border: none; color: #666; }
        .nav-tabs > li.active > a, .nav-tabs > li > a:hover { border: none; color: #274db6 !important; background: transparent; }
        .nav-tabs > li > a::after { content: ""; background: #274db6; height: 3px; position: absolute; width: 100%; left: 0px; bottom: -1px; transition: all 250ms ease 0s; transform: scale(0); }
    .nav-tabs > li.active > a::after, .nav-tabs > li:hover > a::after { transform: scale(1); }
.tab-nav > li > a::after { background: #21527d none repeat scroll 0% 0%; color: #fff; }
.tab-pane { padding: 15px 0; }
.tab-content{

}



/* MMenu */

.mm-navbar img {
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 60px;
	width: 60px;
	height: 60px;
	padding: 10px;
	margin: 0 10px;
}
.mm-navbar a {
	border: 2px solid #274db6;
	border-radius: 40px;
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 20px !important;
	line-height: 20px;
	width: 40px;
	height: 40px;
	padding: 10px;
	margin : 20px;
}
.mm-navbar a:hover {
	border-color: #fff;
	color: #fff !important;
}
.mm-listview {
	text-transform: uppercase;
	font-size: 12px;
}
.mm-listview li:last-child:after {
	content: none;
	display: none;
}
.mm-listview li:after {
	left: 20px !important;
	right: 20px !important;
}
.mm-listview a {
	text-align: left;
	font-size: 18px;
	padding: 8px 60px !important;
}
.mm-listview a,
.mm-listview .fa {
	color: rgba(255, 255, 255, 0.6);
}
.mm-listview a:hover,
.mm-listview a:hover .fa {
	color: #444;
}
.mm-listview .fa {
	position: absolute;
	left: 20px;
}

/* Bootstrap customizations / fixes */

.form-control {
	border-radius: 4px;
}
.tab-content {
	padding-top: 15px;
}

table.table tr.highlight td {
	background: #edf2ff;
}

.input-group-separator {
	font-weight: 700;
	border: none;
	background: none;
	font-size: inherit;
}

input.checkbox-inline {
	bottom: 10px;
}

/* Unfortnately - there is no previous selector yet :(
span.input-group-separator ~ input.form-control {
	border-bottom-left-radius: 4px !important;
	border-top-left-radius: 4px !important;
}
*/

/* Additional styles */
.right-align {
	text-align: right;
}
.emphasis {
	font-weight: bold;
}

table .color-cell {
	width: 65px;
}

table.table-header-nowrap thead th {
	white-space: nowrap;
}

table td.maximize-width {
	width: 50%;
}

.bold {
	font-weight: bold;
}

.pa-15 {
	padding: 15px;
}

.m-b-15 {
	margin-bottom: 15px;
}

span.spacer {
	margin-left: 30px;
}

.text-suffix {
	font-style: italic;
	font-size: smaller;
	color: grey;
}

.text-suffix.text-danger {
	color: #b94a48;
}

.modal-sub-title {
	font-size: smaller;
}

.modal-sub-title .label-inline {
	color: grey;
}

/* Due to MM-Menu ! */
.modal-backdrop.in {
	z-index: auto;
}
.modal-backdrop.fade.in:nth-child(1){
	z-index: 9999 !important;
}

/* Styling things */
.bot-left {
	position: relative;
}
.bot-left:before, .bot-left:after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: -3px;

}
.bot-left:before {
	top: -3px;
	width: 3px;
	background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#ccc), to(transparent));
	background-image: -webkit-linear-gradient(transparent, #ccc);
	background-image: -moz-linear-gradient(transparent, #ccc);
	background-image: -o-linear-gradient(transparent, #ccc);
}
.bot-left:after {
	right: -3px;
	height: 3px;
	background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#ccc), to(transparent));
	background-image: -webkit-linear-gradient(left, #ccc, transparent);
	background-image: -moz-linear-gradient(left, #ccc, transparent);
	background-image: -o-linear-gradient(left, #ccc, transparent);
}

.button-row-right button {
	margin-left: 10px;
}

button.btn-break-after {
	margin-right: 25px;
}


/* The main contentblocks, in the tabs */
.content-wrapper {
	display: block;
	height: auto;
	width : 100%;

}
.content-header {
	width : 100%;

	clear : both;
	float : left;
	display: block;
	margin-left : -13px;
	margin-right: -13px;
}
.content-content {
	padding-top : 15px;
	float : left;
	display: inline-flex;
	width: 100%;
}
/* End of The main contentblocks, in the tabs */


#CustomerSelectorModal, #WorkOrderSelectorModal, #TimehseetSelectorModal {
	top: 0;
	left : 0;
	outline: none;
	z-index: 9000;
	position: fixed;
	width: 1024px;
	height: 900px;
}



/* Media Queries */

@media (min-width: 768px) {
	.nav .navbar-nav {
		display : none;
	}
	.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
		 margin-left: 10px;
	}
	.control-label {

		padding-left: 27px;
	}


}
@media (max-width: 767px) {
	.navbar-brand {

		height : auto;

	}
	.navbar-brand img {
			width : 60px;
		height : auto;
		margin-left : 30px;
	}
	.navbar-text {
		font-size : 10px;
		margin-left : 30px;
		float : left;
		margin-top : 10px;
	}
	.form-horizontal .form-group {
		margin-left: 0;
		margin-right: 0;
	}
}
/*Forms */
.textarea {
	min-height : 150px;
}
.borderlessinput {
    border : 0;
}
.form-group a.form-control {
	color: #274db6;
	border: none;
	box-shadow: none;
	padding-top: 10px;
	padding-left: 3px;
	font-size: 14px;
}
.form-group a:hover {
	text-decoration: underline;
}
/* End forms */


/* Start EasyPie */
.wrappereasypie {
	width : 100%;
	position : relative;
}
.chart {
	position: relative;
	display: inline-block;
	width: 140px;
	height: 140px;
	margin-top: 50px;
	margin-bottom: 50px;
	text-align: center;
}
.chart canvas {
	position: absolute;
	top: 0;
	left: 0;
}
.percent {
	display: inline-block;
	line-height: 110px;
	z-index: 2;
}
.percent:after {
	content: '%';
	margin-left: 0.1em;
	font-size: .8em;
}
.openorderwidget {
	width : 32%;
	float : left;

}
.openorders-widget-container {
	width : 100%;
}
.order-widget-openorders, .order-widget-handledorders, .order-widget-totalorders {
	float : left;
	clear : both;
}
.openorder-widget-cell-left {
	float : left;
	font-size : 18px;
	padding : 4px;
	width : 55%;
	font-weight : 400;
}
.openorder-widget-cell-right {
	float : left;
	font-size : 18px;
	padding : 4px;

	font-weight : 400;
}
.easypielabel {
	position : absolute;
	padding : 35px 25px;
	width : 48%;

	z-index : 888;
	text-align : center;
}
	/* End EasyPie */

/* Order status styling */

tr.order-status-pending {
	color: grey;
	font-style: italic;
}

tr.order-status-cancelled {
	color: grey;
	font-style: italic;
	text-decoration: line-through;
}
tr.order-status-closed {
	color: grey;
}

tr.order-status-open {
}




/* Agenda css, shoudl be moved to css.agende.module.file.naam.titel.tieten.iets.css */

div.cal-view {
	margin-bottom: 20px;
}

div.cal-view span.glyphicon {
	padding-top: 3px;
}

div.appointment {
	border: solid 1px black;
	display: block;
	border-radius: 4px;
	margin-bottom: 10px;
}

div.appointment div.appointment-title {
	padding: 5px;
	font-weight: bold;
	border-bottom: solid 1px black;
	cursor: pointer;
	color: white;
}

div.appointment-default div.appointment-title {
	background: #b2b2b2;
}

div.appointment-cancelled div.appointment-title,
div.day-col-apm.appointment-cancelled div.day-col-apm-title,
div.month-block-apm.appointment-cancelled {
	background: lightgrey !important;
}

div.appointment-highlight {
	box-shadow: 0px 0px 10px 5px rgba(255, 100, 100, 0.6);

}
div.appointment div.appointment-content {
	padding: 5px;
}

div.appointment div.appointment-content .glyphicon {
	padding-right: 5px;
}

div.appointment div.appointment-description {
	border-top: solid 1px black;
	padding: 5px;
}

div.day-col {
	width: 14%;
	border-left: 1px solid #b2b2b2;
	float: left;
	position: relative;
	overflow: hidden;
}
div.day-col:nth-child(7n+0) {

	border-right: 1px solid #b2b2b2;

}
div.day-col:nth-child(28), div.day-col:nth-child(29), div.day-col:nth-child(30), div.day-col:nth-child(31), div.day-col:nth-child(32), div.day-col:nth-child(33), div.day-col:nth-child(34), div.day-col:nth-child(35) {

	border-bottom: 1px solid #b2b2b2;

}

div.day-block {
	width: 520px;
}
div.day-block div.day-area {
	width: 520px;
	height: 1000px;
	overflow-x: scroll;
}
div.day-block div.day-col {
	width: 425px;
	height: 2880px;
	position:relative;
}
div.day-block div.day-col-title {
	width: 520px;
	height: 30px;
	border: 1px solid black;
}

div.day-block div.timeblocks {
	width: 78px;
}
div.day-block div.timeblock {
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	text-align: right;
	padding-right: 5px;
	height: 120px;
	background: rgba(181,198, 241,1	);
	color: #162959;
}
/*div.day-block div.timeblock:first-child {*/
	/*border-top: 1px solid black;*/
/*}*/
div.day-block div.timeblock-quarter {
	border-bottom: 1px solid lightgrey;
	height: 30px;
}
div.day-block div.timeblock-quarter-last {
	border-bottom: 1px solid black;
	height: 30px;
}
/*div.day-block div.timeblock-quarter:first-child {*/
	/*border-top: 1px solid black;*/
/*}*/
div.day-block .day-col-apm {
	position: absolute;
	margin-top: 0;
	margin-bottom: 0;
	background: white;
	overflow: hidden;
}
div.day-block div.current-time-marker {
	position: absolute;
	width: 425px;
	left: 0px;
	height: 3px;
	background: red;
}


div.week-block div.day-col {
	min-height: 500px;
}

div.month-block div.day-col {
	height: 200px;
	overflow: hidden;
}
div.month-block-apm {
	font-size: smaller;
	border: solid 1px black;
	display: block;
	border-radius: 4px;
	margin: 5px;
	margin-bottom: 10px;
	color: white;
	cursor: pointer;
}

div.month-block-apm div.month-block-apm-title {
	padding-left: 5px;
	padding-right: 5px;
	font-weight: bold;
}
div.month-block-apm div.month-block-apm-contents {
	padding-left: 5px;
	padding-right: 5px;
	font-size: smaller;
}


div.day-col-title {
	padding: 5px;
	font-weight: bold;
	background: rgba(181,198, 241,1	);
	color: #162959;

}

div.day-not-in-month .day-col-title {
	font-weight: normal;
	color: rgba(178,178,178,0.8);
	background: #d8e5f8;
	border-bottom: 0px solid black;
}
div.day-not-in-month  {
	background: rgba(178,178,178,0.2);
	z-index : 101;
}
.day-date {
	font-weight: normal;
}

div.day-col-more-appointments {
	/*border: solid 1px grey;*/
	display: block;
	/*border-radius: 4px;*/
	position: absolute;
	bottom: 0px;
	/*padding: 5px;*/
	/*margin: 5px;*/
	width: 100%;
	text-align: center;
	font-style: italic;
	background: white;
	border: none;
	margin-top: 1px;
}

div.day-col-apm {
	border: solid 1px black;
	display: block;
	border-radius: 4px;
	margin: 5px;
	margin-bottom: 10px;
	cursor: pointer;
}

div.day-col-apm div.day-col-apm-title {
	padding: 5px;
	font-weight: bold;
	border-bottom: solid 1px black;
	color: white;
}

div.day-col-apm div.day-col-apm-contents {
	padding: 5px;
}

div.day-col-apm div.day-col-apm-description {
	border-top: solid 1px black;
	padding: 5px;
}
div.appointment-widget-container {
	width : 100%;
	height : auto;
	clear:both;
	display : row;

}
div.appointment-widget-date {
	width : 95px;
	float : left;
	height: 80px;
	margin-right : 18px;
	padding-right : 18px;
	text-align: right;
	border-right : 1px dotted rgba(178,178,178,.8);
}
div.appointment-widget-title {
	display : block;
	width:60%;
	float : left;
	height :30px;
	clear : right;
	font-size: 18px;
	padding: 8px 0;
	margin: 8px 0;
	margin-top: 0;
	white-space: nowrap;

}
div.appointment-widget-location {
	width : 60%;
	float : left;
	clear : right;
	height :30px;
	white-space: nowrap;
}

.edit-appointment-modal .form-group a {
	color: #274db6;
}
.edit-appointment-modal .form-group a:hover {
	text-decoration: underline;
}
/* End calendar stuff */



/* Appointments to Timesheet Wizard */


.appointment-to-timesheet-wizard-modal .modal-dialog {
	overflow-y: initial !important;
	max-height: 90%;
	min-width: 90%;
}
.appointment-to-timesheet-wizard-modal .modal-body {
	/* Remove for .table-header-fixed */
	/*height: calc(100vh - 200px);*/
	/*overflow-y: auto;*/
}
.appointment-to-timesheet-wizard-modal div.modal-body div.table-responsive {
	max-height: calc(100vh - 300px) !important;
	overflow-y: auto;
}
/*.appointment-to-timesheet-wizard-modal div.modal-body div.table-responsive thead {*/
	/*position: fixed;*/
/*}*/
/*.appointment-to-timesheet-wizard-modal div.modal-body div.table-responsive tbody {*/
	/*max-height: calc(100vh - 450px) !important;*/
	/*overflow-y: auto;*/
	/*padding-top: 40px;*/
	/*margin-top: 40px;*/
	/*position: relative;*/
/*}*/
.appointment-to-timesheet-wizard-modal div.modal-body table tfoot {
	display: none;
}

.table-header-fixed {

}
.table-header-fixed thead tr {
	display: block;
	position: relative;

}

.table-header-fixed tbody {
	display: block;
	overflow-y: auto;
	max-height: calc(100vh - 450px) !important;
}

.appointment-to-timesheet-wizard-modal a {
	color : #274db6;
	text-decoration: initial;
}
.appointment-to-timesheet-wizard-modal .table-ops {
	padding-top: 15px;
}
.appointment-to-timesheet-wizard-modal .button-label {
	padding-left: 25px;
	padding-right: 15px;
	font-style: italic;
}



/* End Appointments to Timesheet Wizard */

/* Invoice from Timesheet Wizard */
.timesheet-to-invoice-wizard-modal .modal-dialog {
	overflow-y: initial !important;
	max-height: 90%;
	min-width: 80%;
}
.timesheet-to-invoice-wizard-modal .modal-body {
	/* Remove for .table-header-fixed */
	/*height: calc(100vh - 200px);*/
	/*overflow-y: auto;*/
}
.timesheet-to-invoice-wizard-modal div.modal-body div.table-responsive {
	max-height: calc(100vh - 300px) !important;
	overflow-y: auto;
}
.timesheet-to-invoice-wizard-modal div.modal-body table tfoot {
	display: none;
}
.timesheet-to-invoice-wizard-modal a {
	color : #274db6;
	text-decoration: initial;
}
.timesheet-to-invoice-wizard-modal .button-label {
	padding-left: 25px;
	padding-right: 15px;
	font-style: italic;
}
/* End Invoice from Timesheet Wizard */


/* Process Payments Wizard */
.process-payments-wizard-modal .modal-dialog {
	overflow-y: initial !important;
	max-height: 90%;
	min-width: 80%;
}
.process-payments-wizard-modal div.modal-body div.table-responsive {
	max-height: calc(100vh - 300px) !important;
	overflow-y: auto;
}
.process-payments-wizard-modal div.modal-body table tfoot {
	display: none;
}

/* EndProcess Payments Wizard */


.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default {
	border: 0;
}

td.actions span.glyphicon {
	padding-right: 3px;
	padding-left: 3px;
}

