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

input, textarea {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

body {
	background:#eee;
	margin:0px;
	padding: 0px;
	font-family: 'Lato', sans-serif;
	font-size:15px;
	font-weight: 300;
}

.container {
	position: relative;
	width:auto;
	max-width: 1150px;
	margin:0px auto;
	z-index: 9	
}

.minWidth {
	min-width:900px;	
}

.clear {
	clear: both;
}

hr {
	color:#fff;
	background:#fff;
	border:0px;
}

/* Header styles */
#header {
	z-index: 10;
}

#header .container {
	z-index: 10;
}

#header #menu {
	position: relative;
	float: left;
}

#header #menu ul, #submenu ul {
	display: inline;
	list-style: none;
	margin:0px;
	padding: 0px;
}

#header #menu ul li, #submenu ul li {
	float: left
}

#header #menu ul li a, #submenu ul li a {
	display:inline-block;
	text-decoration: none;
	color:#fff;
	padding:20px;	
}

#header #logo {
	position:absolute;
	top:0px;
	right:0px;
}

/*#header #logo img {
	height:140px;
}*/

/* submenu styles */
#submenu {
	z-index: 9;
}
#submenu ul li a {
	color:#000;
}

/* Content styles */
#content {
	position:relative;
	background:#fff;
	padding:25px 0px 50px 0px;
	z-index: 9
}

/* Footer styles */
#footer {
	background:#eee;
	padding:20px 0px;
	color:#999;
	z-index: 8;
	text-align: center;
}


/* Overlay pagina's */
#cover, #popupOverlay { 
	position:fixed; 
	top:0; 
	left:0; 
	background:rgba(0,0,0,0.5);
	z-index:100; 
	width:100%; 
	height:100%; 
	display:none; 
} 

#cover .coverHolder {
	position: absolute;
	top: 50%;
	left: 0px;
	width:100%;
	text-align:center;
	height: 100px;
	margin-top:-50px;
	color:#fff;
}

#cover img {
	margin-top:20px;
}

#popup, #popup2 { 
	position:fixed;
	height:auto; 
	width: 960px;
	max-width:920px; 
	top:20px;
	left:50%;
	margin-left:-480px;
	z-index:10; 
	display:none; 
	background:white;
	padding: 10px;
	overflow: auto;
} 

#popup.medium, #popup2.medium {
	width:550px;
	margin-left:-275px;	
} 

#popup.small, #popup2.small {
	width:350px;
	margin-left:-175px;	
} 

/* Mask styles */
.mask {
	position:absolute;
	top: 0px;
	left: 0px;
	bottom:0px;
	right:0px;
	background:rgba(0, 0, 0, 0.35);
	color:#fff;
	z-index:9999;
}
.mask.success, .success {
	background:rgba(70, 140, 50, 0.75);			
}
.mask.error, .error {
	background:rgba(245, 30, 10, 0.75);			
}

.mask .maskText {
	position:absolute;
	width:100%;
	text-align: center;
	top: 50%;
	left:0px;
	height:100px;
	margin-top:-50px;
}

.mask img {
	margin-top:20px;
}

/* validation styles */
.validateSuccess {
	border:1px solid rgba(70, 140, 50, 0.75) !important;		
}
.validateError {
	border:1px solid rgba(245, 30, 10, 0.75) !important;		
}

/* Login styles */
#login {
    width: 300px;
    margin:50px auto;
}

#login .loginKop {
    position: relative;
    padding:10px;
    font-weight: 400
}

#loginForm {
    margin:0px;
    padding:15px;
}

#loginForm input[type=text], #loginForm input[type=password] {
    padding:10px;
    box-sizing: border-box;
    width:100%;
}

#loginForm label {
	display:block;
	padding:10px 0px;
}

#loginForm input[type=button] {
	color:#fff;
	margin:0px;
	padding:10px 25px;
	border:0px;
}

#loginForm a {
    text-decoration: none;
    color:#000;
    font-size:13px;
    font-style: italic;
    float: right;
}

#loginForm .error {
	color:#fff;
	padding:10px;
	display:none;
	margin:10px 0px 0px 0px; 
}


/* Planning top styles */
#topDiv {
	position: relative;
	height: 43px;
	margin:-8px 0px 13px 0px;
	z-index: 15
}

#topDiv .planningLayoutHolder {
	position:absolute;
	top:0px;
	left:0px;
	z-index: 11;
}

#topDiv .planningLayoutHolder a {
	display: inline-block;
	color:#000;
	font-size:16px;
	text-decoration: none;
	padding: 10px;
}

#topDiv .dateHolder {
	position: relative;
	margin:0px auto;
	text-align: center;
	font-size:16px;
	z-index: 10;
}

#topDiv .dateHolder a.button {
	margin:0px -1px 0px 0px;
	font-weight: bold;
	padding:10px 15px;
	font-size:24px;
	height:19px;
	line-height:13px;
	border:0px solid #000 !important;
	background:none !important;
    color:#555;
}

#topDiv .ui-selectmenu-button {
	margin:0px !important;
}

#topDiv .dateHolder select {
	width:125px;
}

#topDiv .dateHolder .ui-selectmenu-button {
	padding: 3px 0px;
	margin:0px;
}

#topDiv .dateHolder input[type=text] {
	margin:0px -1px;
	font-size: 15px;
	padding:11px 15px 11px;
    outline:none;
    -webkit-appearance: none;
    color:#555;
}

#topDiv .dateHolder #planningYear {
	width:35px;	
}

#topDiv .dateHolder #planningDate {
	width:159px;
	margin-left:0px;
	margin-right:-1px;
}

#topDiv .locationHolder {
	position: absolute;
	top: 0px;
	right: 0px;
	font-size:16px;
	box-sizing: border-box;
	background:#000;
	color:#fff;
	z-index: 11;
}

#topDiv .locationHolder select {
	width:150px;
}

#topDiv .locationHolder .ui-selectmenu-button {
	padding: 3px 0px;
	background:#000;
	color:#fff;
	border:1px solid #000;
}

#planningHolder .tableTitle {
	margin-bottom:0px;
}

.planRuleHolder {
	position: relative;
	padding:5px;
}

.planRule {
	position: relative;
	background:#ccc;
	padding:10px;
	margin:0px 0px 10px 0px;
	font-size:13px;
	box-sizing: border-box;
}

.planRule.editable {
	cursor: pointer;
}

.planRule .planningRuleIcon {
	position:absolute;
	top: 2px;
	right: 2px;
	background:rgba(255,255,255,0.9);
	color:#000;
	padding:2px;
	font-size: 9px;
	line-height: 9px;
}

.planRule .planningRuleIcon.addition {
	right:12px;
}

.planRule.add {
	font-size: 16px;
	background:#fff;
	text-align: center;
	cursor: pointer;
}

.planRule.add:hover {
	color:#fff;
}

.conflict {
	border:2px dashed rgba(245, 30, 10, 1) !important;
}


/* Planning month styles */
.monthTable {
   -ms-user-select: none; /* IE 10+ */
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   user-select: none;
}

.monthTable .dayHeader td {
	padding:10px 20px;
}

.monthTable .dayCell {
	background:#fefefe;
	padding:5px 5px 0px 5px;
}

.monthTable .dayCell .planRule {
	font-size:11px;
}

.monthTable tr:nth-child(2) td {
	border-top:0px !important;	
}

.monthTable tr td:first-child {
	border-left:0px !important;	
}

.monthTable .today {
	background:#fff;
}

.monthTable .date {
	margin-bottom:5px;
}

.monthTable .today .date {
	font-weight: bold
}



/* Planning week styles */
.planningWeekDay {
	float: left;
}

#planningHolder .today {
	background:#f8f8f8;
}

.planningWeekDay:nth-child(2) .planRuleHolder {
	padding-left:10px !important;
}

.planningWeekDay:nth-child(8) .planRuleHolder {
	padding-right:10px !important;
}

.planningWeekDay .title {
	padding:10px 10px;
	margin:0px 0px 5px 0px;
}	

.planningWeekDay.today .title {
	font-weight: 400
}

.planningWeekDay .planRule.add {
	padding:20px 10px;
}
	
	
	

/* Planning date styles */
.planningDateDay {
	padding:10px 5px 0px 5px;
}

.planningDateDay .planRule div {
	display:inline-block;
}

.planningDateDay .time {
	width:100px;
}

.planningDateDay .user {
	width:500px;
}



/* Planning notifications styles */
#planningNotifications {
	padding:5px;
	border:1px solid rgba(245, 30, 10, 1);
}

#planningNotifications.green {
	border:1px solid rgba(70, 140, 50, 1) !important;
	padding:10px;
}

#planningNotifications .title {
	margin:-5px -5px 5px -5px;
	padding: 15px;
	color:#fff;
	background:rgba(245, 30, 10, 1);
}

#planningNotifications.green .title {
	background:rgba(70, 140, 50, 1) !important;
	margin:-10px -10px 10px -10px;
}

#planningNotifications .conflictHolder {
	margin:10px 5px 5px 5px;
}

#planningNotifications .conflictRule {
	width:50%;
	padding:10px;
	box-sizing: border-box;
}

#planningNotifications .conflictRule:nth-child(odd),
#planningNotifications .conflictRule .left {
	float:left;
}

#planningNotifications .conflictRule:nth-child(even) {
	border-left:1px solid #fff
}

#planningNotifications .conflictRule:nth-child(even),
#planningNotifications .conflictRule .right {
	float:right;
}

/* table styles */
.tableHolder {
	position: relative;
	/*min-height:450px;*/
	padding: 0px 10px 10px 10px;
}

.tableHolder.noStyles {
	border:0px;
	padding:0px;
}

.tableHolder.noBorderBottom {
	border-bottom: 0px;
}

.tableHolder.noPadding {
	padding:0px;
}

.tableTitle {
	padding:10px;
	font-weight: 400;
	font-size: 18px;
	margin:0px -10px 15px -10px;
}

.tableHolder.noPadding .tableTitle {
	margin:0px;
}

.tableSubTitle {
	padding:10px;
	font-weight: 300;
	font-size: 16px;
	margin:0px -10px 15px -10px;
}


.tableHolder label, .tableHolder input, .tableHolder select {
	display:inline-block;
	width:53%;
	margin:2px 0px;
	padding:10px;
	box-sizing: border-box;
}

.tableHolder.noStyles label  {
	width:46%;
	padding:10px 10px 10px 0px;
}

.tableHolder.noStyles input.extraField  {
	width:41%;
}

.extraFieldsButton {
	height:auto !important;
	margin:2px 0px !important;
	padding:10px !important;
}

.tableHolder label {
	width:45%;
}

.tableBottom {
	position: absolute;
	bottom:0px;
	left:0px;
	width:100%;
	box-sizing: border-box;
	padding:6px;
	margin:0px 0px 0px 0px;
	border-top:0px;
}

.tableBottom.relative {
	position:relative;
	width: auto;
	margin-top:-1px;
	border-top:0px;
}

.tableBottom a, .tableTitle a {
	display: inline-block;
	padding:5px;
	text-decoration: none;
	color:#000;
	font-size: 15px;
	font-weight:300;	
}

.tableTitle a {
	margin-top:-3px;	
}

/* Styles styles table */
.tableHolder .styledTable {
	width:100%;
}	

.tableHolder .styledTable tr:nth-child(even) {
	background: #ffffff
}

.tableHolder .styledTable tr:hover {
	background:#efefef !important;
}

.tableHolder .styledTable td,
.tableHolder .styledTable th {
	padding:10px;
}

.tableHolder .styledTable td.noPadding,
.tableHolder .styledTable th.noPadding {
	padding:0px;
}

.tableHolder .styledTable th {
	text-align: left;
	font-weight:400;
}

/* Div 50 styles */	
.div50 {
	position:relative;
	float: left;
	width:49%;
}

.div50.left {
	margin-right:1%;
}

.div50.right {
	margin-left:1%;
}

/* Div 50 styles */	
.div30 {
	position:relative;
	float: left;
	width:33%;
}

.div30.center {
	width:32%;
	margin:0px 1%;
}

/* Button styles */	
a.button {
	display: inline-block;
	padding:5px;
	text-decoration: none;
	color:#000;
	font-size: 15px;
	font-weight:300;
	margin:0px;	
}

.tableHolder .styledTable a.button {
	margin:0px 3px;
}

/* jQuery UI styles */

.ui-tabs .ui-tabs-panel {
	border-width:0px;
}

.ui-selectmenu-button {
	text-align:left;
	margin:2px 0px;
	padding:2px 0px;
}

.ui-selectmenu-button, label, select, input {
	vertical-align: bottom;
}

.ui-selectmenu-menu ul {
	max-height:300px;
	overflow: auto;
}

#ui-datepicker-div {
	z-index: 999999 !important;
}

/* Print styles */
@media print {
   #header, 
   #submenu, 
   #footer, 
   #planningUsers, 
   #planningNotifications,
   .planRule.add,
   .button,
   #planningHolder .tableBottom,
   .planningLayoutHolder,
   #topDiv {
	   display:none !important;
   }
   
   /*#topDiv {
	   margin-bottom:-40px !important;
   }*/
   
   .tableHolder,
   .ui-state-default,
   input {
	   border:0px !important;
   }
   
   .planRule {
	   border:1px solid #999 !important;
   }
   
   .planningWeekDay {
	   width:125px !important;
   }
}
