* {
	margin: 0;
	padding: 0;
	outline: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:after,
.inner:after {
    content: " ";
    clear: both;
    display: block;
}

.invisible {
	display: none !important;
	height: 0px !important;
}

.grey { background-color: #fcfcfc; 	border-left: 1px solid #e5e5e5; }
.greyfont  { color: #aaa !important; }
.greyfont.active  { color: #535c69 !important; }
.small { font-size: 11px; }
.bold { font-weight: 700; text-transform: uppercase; }

@media (max-width: 600px)	{ .screenonly { display: none; }}

img { max-width: 100%; }

strong {
	font-weight: 700 !important;
	color: #535c69;
}

.center { text-align: center !important; }

html {
	background-color: #eef2f4;
	min-height: 100%;
}

body {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	color: #666;
	
	height: 100%;
	min-height: 100%;
}

#header {
	height: 60px;
	background-color: #535c69;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

a {
	color: #535c69;
}





/* Login */
.nouser.login {
	background-color: #f5f5f5;
}


#loginview {
	text-align: center;
	float: none !important;
}

@media (min-width: 480px) {
	#loginview {
		margin: 50px auto;
		width: 480px;
	}
}

#loginview img {
	 margin: 36px 0;
}

#loginview .loginbox {
	background-color: #fff;
	border-top: 5px solid #8a0000;
	padding: 20px;margin: 0 auto;
}

#loginview form {
	margin-bottom: 36px;
}

#loginview .forgottenpassword {
	background-color: #8a0000;
	padding: 10px;
	text-align: center;
	color: #fff;"
}




/* Main */
#header #main_userdata {
	margin: 8px 0px;
	float: right;
}

#header #main_userdata .logout {
	margin: 0 20px;
	padding: 0 20px;
	border-left: 1px solid #969da4;
	float: right;
}

#header #main_userdata .logout a .material-icons {
	color: #fff;
	font-size: 33px;
	line-height: 44px;
 	text-shadow: 1px 2px #333;
}

#header #main_userdata .screenonly {
	text-align: right;
	float: left;
}

#header #main_userdata .screenonly a {
	color: #fff;
	text-decoration: none;
 	text-shadow: 1px 2px #333;
}

#header #main_userdata .screenonly .user_name {
	font-size: 17px;
	white-space: nowrap;
}

#header #main_userdata .screenonly .user_location {
	font-size: 11px;
	white-space: nowrap;
	font-weight: 700;
}

#header #main_userdata .user_image {
	height: 44px;
	width: 44px;
	float: left;
    margin-left: 20px;
}

#header #main_userdata .user_image a {
	height: 44px;
	width: 44px;
	overflow: hidden;
	float: left;
	border: 1px solid #969da4;
    border-radius: 22px;
}

#header #clock {
	margin: 8px 0px;
	border-right: 1px solid #969da4;
	padding-right: 20px;
	font-size: 28px;
	line-height: 44px;
	float: right;
	font-weight: 300;
	color: #fff;
 	text-shadow: 1px 2px #333;
}

#main_search a .material-icons {
	float: right;
	margin: 8px 0px;
	padding-right: 20px;
	border-right: 1px solid #969da4;
}

#main_search a .material-icons {
	color: #fff;
	font-size: 33px;
	line-height: 44px;
 	text-shadow: 1px 2px #333;
}



@media (min-width: 600px) {
	#header #clock {	margin: 8px 20px; font-size: 42px; }
	#header #main_userdata .screenonly { display: none; }
}

@media (min-width: 992px) {
	#header #main_userdata .screenonly { display: block; }
}

@media (min-width: 1240px) {
}




 
.container {
	padding-top: 120px;
	padding-bottom: 80px;
}
 
.fancybox-open .container {
	padding-top: 40px;
	padding-bottom: 10px;
}

.container .headerline {
	background-color: #969da4;
	padding: 0px 30px;
	position: fixed;
	top: 60px;
	width: 100%;
	z-index: 1200;
}

.fancybox-open .container .headerline {
	top: 0px;
}

.container .headerline span {
	font-size: 17px;
	color: #fff;
 	font-weight: 300;
 	text-shadow: 1px 1px #333;
	line-height: 46px;
	text-transform: uppercase;
}




[class*="col-xs"] .headline,
[class*="col-xs"] .inner {
	padding: 10px 20px;
}

[class*="col-xs"] .headline {
	background-color: #969da4;
	font-size: 15px;
	line-height: 19px;
	font-weight: 900;
	text-transform: uppercase;
 	text-shadow: 1px 2px #333;
	
	background-color: #535c69;
    border-radius: 7px 7px 0 0;
    color: #fff;
    width: 100%;
    display: inline-block;
    position: relative;
}

[class*="col-xs"] .headline {
	background-color: #969da4;
	font-size: 13px;
	line-height: 15px;
	font-weight: 700;
	text-transform: uppercase;
 	text-shadow: 1px 2px #333;
	
	background-color: #535c69;
    border-radius: 2px 2px 0 0;
    color: #fff;
    width: 100%;
    display: inline-block;
    position: relative;
}

.headline a {
	float: right;
	color: #fff;
	height: 22px;
	margin-top: -3px;
}

[class*="col-xs"] .inner {
	background-color: #fff;
    border-radius: 0 0 2px 2px;
}

[class*="col-xs"] .inner.table {
	padding: 0 0 10px 0;
	overflow: auto;
}









.tablewrap {
	width: 100%;
	visibility: visible;
	overflow: auto;
	padding-bottom: 10px;
}

table {
	width: 100%;
	visibility: visible;
	overflow: scroll;
	border-collapse: collapse;
}

table tr.even td {
	background-color: #f4f4f4;
}

table tr.even:hover td,
table tr.odd:hover td {
	background-color: #efefef;
}

table tr.inactive td,
table tr.locked td,
table tr.new td {
	background-color: #f8e9e3;
	color: #a23034;
}

table tr.inactive.even td,
table tr.locked.even td {
	background-color: #f8e3e3;
}

table tr.inactive:hover td,
table tr.locked:hover td {
	background-color: #e59f9f;
	color: #fff;
}

table tr.active td {
	background-color: #e3f8e7;
}

table tr.active.even td {
	background-color: #d9f7dc;
}

table tr.active:hover td {
	background-color: #79c580;
	color: #fff;
}

table tr.lowgrey td {
	color: #999;
}

table tr.lowgrey.even td {
	color: #999;
}


table tr th,
table tr td {
	padding: 4px 10px;
	border-bottom: 1px solid #e5e5e5;	
	white-space: nowrap;
}

table tr.noborder td {
	padding: 4px 10px 0px;
	border-bottom: 0px;	
}

table tr td.odd {
	background-color: #efefef;
}

table tr th {
	text-align: left;
	background-color: #fff;
	border-bottom: 2px solid #e5e5e5;
	font-weight: 700;
	text-transform: uppercase;
}

table tr td .outercircle {
	height: 30px;
	width: 30px;
	overflow: hidden;
	display: inline-block;
	background-color: #535c69;
	border-radius: 18px;
	border: 1px solid #444;
}

table tr td .outercircle.status_10 { background-color: #ffdb3d; }
table tr td .outercircle.status_15 { background-color: #f7a613; }
table tr td .outercircle.status_20 { background-color: #83230f; }
table tr td .outercircle.status_30 { background-color: #05d215; }
table tr td .outercircle.status_50 { background-color: #000; }


table tr td .outercircle.status_0 { background-color: #ffdb3d; }
table tr td .outercircle.status_1 { background-color: #f7a613; }
table tr td .outercircle.status_3 { background-color: #83230f; }
table tr td .outercircle.status_2 { background-color: #05d215; }

table.offers tr td .outercircle.status_0 { background-color: #ffdb3d; }
table.offers tr td .outercircle.status_1 { background-color: #05d215; }
table.offers tr td .outercircle.status_2 { background-color: #f7a613; }
table.offers tr td .outercircle.status_3 { background-color: #83230f; }


table tr td .innercircle {
	height: 28px;
	width: 28px;
	display: inline-block;
	text-align: center;
	color: #fff;
	line-height: 28px;
	font-size: 25px;
	font-weight: 900;	
}

table tr td.odd .innercircle {
	color: #f4f4f4;
}






#sales_employees_overview .contracttable {
	position: relative;
	height: 400px;
}

#sales_employees_overview .contracttable .values {
	position: absolute;
	left: 0px;
	width: 15%;
	height: 320px;
}

#sales_employees_overview .contracttable .values div {
	border-right: 1px solid #efefef;
	height: 80px;
	text-align: right;
}

#sales_employees_overview .contracttable .values div span {
	padding-right: 20px;
}

#sales_employees_overview .contracttable .employees {
	position: absolute;
	left: 15%;
	top: 0;
	width: 85%;
	height: 400px;
}

#sales_employees_overview .contracttable .employees .col {
	margin: 0 10%; width: 80%;
}

#sales_employees_overview .contracttable .employees .black,
.chart .black 	{		background-color: #2c2c2c; }
#sales_employees_overview .contracttable .employees .blue,
.chart .blue 	{		background-color: #62bef9; }
#sales_employees_overview .contracttable .employees .red,
.chart .red 	{		background-color: #f96262; }
#sales_employees_overview .contracttable .employees .darkgrey,
.chart .darkgrey {		background-color: #b0b0b0; }
#sales_employees_overview .contracttable .employees .grey,
.chart .grey 	{		background-color: #f0f0f0; }
#sales_employees_overview .contracttable .employees .green,
.chart .green 	{		background-color: #95f5d0; }

.chart .topChart,
.chart .bottomChart {
	overflow: hidden;
}

.chart .topChart div {
	border: 1px solid #fff;
	border-bottom: 0px;
	border-radius: 3px 3px 0px 0px;
	box-shadow: 2px 1px 5px 0px rgba(0,0,0,0.15);
}

.chart .bottomChart div {
	border: 1px solid #fff;
	border-top: 0px;
	border-radius: 0px 0px 3px 3px;
	box-shadow: 2px 1px 5px 0px rgba(0,0,0,0.15);
}



#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	z-index: 10000;
	opacity: 0.5;
	display: none;
}







.pagination {
	position: fixed;
	left: 0px;
	bottom: 0px;
	width: 100%;
	border-top: 1px solid #ccc;
	padding: 10px;
	background-color: #efefef;
}

.pagination ul,
.headerline ul,
ul.list,
ul.rows {
	list-style: none;
}

.pagination ul {
	float: right;
}

.headerline ul {
    position: absolute;
    right: 20px;
    top: 7px;
}

.pagination ul li,
.headerline ul li,
ul.list li {
	float: left;
	margin-right: 6px;
	margin-bottom: 6px;
	border: 1px solid #efefef;
	display: inline-block;
	line-height: 28px;
	text-align: center;
	width: 34px;
	background-color: #fff;
}

ul.rows li {
	border-bottom: 1px solid #efefef;
	line-height: 36px;
}

ul.rows li a {
	display: block;
	padding: 0 20px;
}

.pagination ul li.wider,
.headerline ul li.wider,
ul.list li.wider {
	width: 74px;
}

.pagination ul li,
.headerline ul li {
	width: auto;
}

.pagination ul li a,
.headerline ul li a,
ul.list li a,
ul.rows li a,
.pagination ul li span,
.headerline ul li span,
ul.list li span,
a.btn {
	display: block;
	line-height: 28px;
	padding: 0px 10px;
	text-decoration: none;
	font-weight: 600;
	border: 1px solid #e5e5e5;
	border-radius: 2px;
	background-color: #fff;
	text-align: center;
}

.pagination ul li a:hover,
.headerline ul li a:hover,
ul.list li a:hover,
ul.rows li a:hover,
a.btn:hover {
	background-color: #efefef;
}

div.container ul li.active a,
div.container ul li span,
a.btn.active {
	color: #a23034;
}

.pagination p {
	float: left;
	line-height: 36px;
	font-weight: 600;
}



button  { max-width: 100%; }
button img { max-width: 100%; }
.sidebutton a i { 
	position: fixed;
	right: 6px;
	top: 61px;
	font-size: 41px;
	color: #05d215;
	z-index: 10000;
	text-shadow: 2px 2px 3px #333;
}








.calendarview .container {
	padding-top: 60px;
	padding-bottom: 0px;
	background-color: #fff;
}

.calendarview .container ul {
	list-style: none;
}

.calendarview .container ul li {
	float: left;
	margin-right: 20px;
}

table.calendar th,
table.calendar td {
	text-align: center;
}

table.calendar td {
	color: #999;
	position: relative;
}

table.calendar td.day div {
	display: none;
	position: absolute;
	top: 40px;
	left: 0px;
	width: 300px;
	border: 1px solid #efefef;
	border-radius: 2px;
	z-index: 1000;
	background-color: #fff;
}

table.calendar td.day:hover {
	background-color: #efefef;
	cursor: pointer;
}

table.calendar td.day:hover div {
	display: block;
	color: #333;
}

table.calendar td.active {
	color: #333;
}

table.calendar td.today {
	background-color: #19655b;
	color: #fff;
	font-weight: 700;
}

table.calendar td.weekend {
	color: red;
}
