html, body {
	height: 100%;
	position: relative;
	margin: 0px;
	padding: 0px;
	
	font-family: "Open Sans", sans-serif, Arial;
	background-color: #ecedf0;
}

a {
	color: #3c92e3;
	text-decoration: none;
}

.clear {
	clear: both;
}

span.label {
	font-size: 11px;
	display: inline-block;
	padding: 2px 4px;
	background-color: #5990c4;
	border-radius: 3px;
	color: white;
	margin-bottom: 2px;
}
span.label.large {
	padding: 4px 8px;
	font-size: 14px;	
}
span.label.large .fa {
	padding: 0px 5px;
}

.footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	text-align: center;
	font-size: 13px;
	color: #3d3d3d;
	padding: 20px 0px;
	z-index: 0;
}

.header {
	position: fixed;
	height: 75px;
	top: 0px;
	width: 100%;
	background-color: #3d3d3d;
	color: white;
	z-index: 10;
}
.header .logo {
	width: 100px;
	line-height: 75px;
	text-align: center;
	font-weight: bold;
	float: left;
	font-size: 18px;
}
.header .actions {
	position: absolute;
	right: 0px;
	top: 0px;	
}
.btn {
	display: inline-block;
	border-radius: 3px;
	border: 0px;
	font-size: 14px;
	padding: 7px 10px;
	cursor: pointer;
	background-color: #ecedf0;
	border: 1px solid #d6d6d8;
	text-decoration: none;
}
.header .actions .btn {
	background-color: white;
	margin: 22px 22px 22px 0px;
	color: black;
}
.header .actions .btn.green_bg {
	background-color: #58b957;
	border: 1px solid #48af46;
	color: white;
}
.header .actions .btn.green_bg:hover {
	background-color: white;
	color: #48af46;
}
.btn .fa {
	margin-right: 6px;
}
.header .actions .btn:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.header .current_call {
	padding: 17px 0px 0px 80px;
	float: left;
	position: relative;
	min-width: 90px;
}
.header .current_call .name {
	font-size: 20px;
}
.header .current_call .call_time {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}
.header .current_call .fa {
	position: absolute;
	font-size: 44px;
	left: 35px;
	color: #5990c4;
}
.header .call_ref {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	position: absolute;
	right: 0px;
	bottom: 0px;
}

.nav {
	position: fixed;
	top: 75px;
	bottom: 0px;
	left: 0px;
	width: 100px;
	background-color: #3d3d3d;
	color: white;
}

.nav a {
	color: white;
	display: block;
	width: 100%;
	text-align: center;
	font-size: 12px;
	xmargin: 10px 0px;
	padding: 20px 0px;
	padding: 12px 0px;
	text-decoration: none;
	position: relative;
}
.nav a:hover {
	background: rgba(255, 255, 255, 0.10);
}
.nav a.on {
	background-color: #ecedf0;
	color: #3d3d3d;
}
.nav a i {
	display: block;
	font-size: 30px;
	margin-bottom: 5px;
}
.nav a.logout {
	position: absolute;
	bottom: 0px;
}
.nav a .noti {
	position: absolute;
	background-color: white;
	display: block;
	width: 15px;
	height: 15px;
	line-height: 15px;
	font-weight: bold;
	top: 7px;
	right: 25px;
	border-radius: 100%;
	color:#3d3d3d;
	border: 1px solid #3d3d3d;
}
.nav a.on .noti {
	background-color: #3d3d3d;
	color: white;
}

.page_nav {
	width: 250px;
	position: fixed;
	right: 0px;
	top: 75px;
	bottom: 0px;
	background-color: #3d3d3d;
}
.page_nav a {
	width: 100%;
	display: block;
	color: white;
	padding: 14px 22px;
	text-decoration: none;
	font-size: 12px;
	box-sizing: border-box;
	text-transform: uppercase;
	text-align: right;
}
.page_nav a:hover {
	background: rgba(255, 255, 255, 0.10);
}
.page_nav a.on {
	background-color: #5990c4;
}

.content {
	margin: 0px 0px 0px 100px;
	padding-top: 75px;
}

.content.with_nav {
	margin: 0px 250px 0px 100px;
}

.content .padding {
	padding: 25px;
}

.login_box {
	padding: 200px 0px;
	width: 70%;
	margin: 0px auto;
}

.info {
	background-color: #fcf8e2;
	border: 1px #faebca solid;
	color: #8b6e37;
	padding: 15px 10px;
	border-radius: 3px;
	margin-bottom: 15px;
}

.panel {
	background-color: white;
	border-radius: 5px;
	border-radius: 5px;
	box-shadow: 0px 2px 2px 2px #e3e4e7;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
	margin-bottom: 20px;
	overflow: hidden;
}
.panel h1 {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color: #f6f6f6;
	color: #33353F;
	font-weight: 400;
	font-size: 22px;
	padding: 12px;
	margin: 0px;
	border-bottom: 1px #dadada solid;
	position: relative;
}
.panel h1 span {
	font-size: 11px;
}
.panel h1 .actions {
	position: absolute;
	right: 0px;
	top: 0px;
	margin: 10px 5px;
	display: none;
}
.panel:hover h1 .actions {
	display: block;
}
.panel h1 .actions i {
	float: right;
	padding: 5px;
	cursor: pointer;
	margin: 0px 5px;
	opacity: 0.5;
}
.panel h1 .actions i:hover {
	opacity: 1;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #bbbbbb;
}
.panel ul, .panel li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	position: relative;
	min-height: 5px;
}
.panel li.sortable-ghost {
	opacity: 0.25;
}
.panel .group {
	border: 1px solid #eff2f7;
	width: 100%;
	float: left;
	padding: 15px;
	box-sizing: border-box;
	position: relative;
}
.panel .group .actions {
	position: absolute;
	right: 0px;
	margin: 0px 5px;
	display: none;
}
.panel .group:hover .actions {
	display: block;
}
.panel .group .actions .fa {
	padding: 9px 10px;
	cursor: pointer;
	opacity: 0.5;
}
.panel .group .actions .fa:hover {
	opacity: 1;
}
.panel .group label {
	width: 25%;
	display: block;
	float: left;
	text-align: right;
	padding-right: 15px;
	font-size: 13px;
	line-height: 30px;
	color: #777;
	font-weight: bold;
}
.panel .group .field.comment {
	margin-left: 25%;
	padding-left: 15px;
	font-size: 12px;
	color: #555;
	padding: 10px 0px 10px 15px;
}
.panel .group .field .comment {
	color: #777;
	font-size: 12px;
	padding-top: 10px;
	display: block;
	clear: both;
}
.panel .group .field {
	width: 50%;
	float: left;
	position: relative;
}

.needs_input input, .select.needs_input, .needs_input a, .needs_input textarea, label.needs_input {
	border: 1px solid #ef4f4f !important;
	color: #ef4f4f !important;
}
label.needs_input {
	border: none !important;
}

.panel .group .field .age {
	position: absolute;
	right: 6px;
	top: 7px;
	font-size: 16px;
	font-weight: bold;
	color: #777;
}

.field.files.uploading [type='file'] {
	background-image: url('/images/ajax-loader.gif');
	background-repeat: no-repeat;
	background-position: 98% center;
}
.field .uploaded_file {
	float: left;
	border: 1px solid #656565;
	padding: 5px 35px 5px 5px;
	font-size: 12px;
	position: relative;
	margin: 10px 10px 0px 0px;
	cursor: pointer;
}
.field .uploaded_file:hover {
	background-color: #656565;
	color: white;
}
.field .uploaded_file span {
	display: block;
	font-size: 10px;
	color: #787878;
}
.field .uploaded_file:hover span {
	color: #bcbcbc;
}
.field .uploaded_file .fa {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	padding: 12px 6px;
	display: block;
}
.field .uploaded_file .fa:hover {
	color: white;
	background-color: red;
}

.panel p {
	padding-left: 10px;
}

.panel .list tr .fa.me {
	color: #5990c4;
	padding: 2px;
	font-size: 11px;
	opacity: 1;
}

.panel .group .field input, .panel .group .field textarea, .panel .group .field .select {
	width: 100%;
	font-size: 13px;
	padding: 7px 8px 8px;
	border-radius: 3px;
	border: #cccccc 1px solid;
	color: #555;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	outline: none;
	box-sizing: border-box;
}
.panel .group .field .select {
	padding: 6px 0px;	
}
.panel .group .field label {
	width: auto;
	text-align: left;
	padding-right: 25px;
	cursor: pointer;
	font-weight: normal;
}
.panel .group .field input[type='checkbox'] {
	width: auto;
}
.panel .group .field textarea {
	min-height: 80px;
	resize: none;
}
.panel .group .field input:focus, .panel .group .field textarea:focus, .panel .group .field .select.focus {
    border-color: #5b91c2 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 133, 204, 0.3);
    position: relative;
    z-index: 2;
}

.panel .group .field.options a {
	background-color: #f6f6f6;
	background-color: white;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	border: #cccccc solid 1px;
	font-size: 13px;
	color: #555;
	display: block;
	float: left;
	padding: 7px 8px;
	margin-left: -1px;
	cursor: pointer;
	position: relative;
	text-decoration: none;
	outline: none;
}
.panel .group .field.options a:hover, .panel .group .field.options a:focus {
	background-color: #cccccc;
}
.panel .group .field.options a:first-of-type {
	margin-left: 0px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}
.panel .group .field.options a:last-of-type {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}
.panel .group .field.options a.on {
	background-color: #5b91c2;
	color: white;
	border-color: #466f95;
	z-index: 2;
}
.panel .group .field.options .fa {
	margin: 7px;
	color: #cccccc;
	display: none;
}
.panel .group .field.options .fa:hover {
	color: #555;
	cursor: pointer;
}
.panel .group .field.options:hover .fa {
	display: inline-block;
}

.panel .group .field select {
	border: 0px;
	width: 100%;
	background-color: white;
	outline: none;
	font-size: 13px;
	color: #555;
}
.panel .group .field.multi {
	margin-top: 1px;
}
.panel .group .field.multi input, .panel .group .field.multi .select {
	border-radius: 0px;
	margin-top: -1px;
}
.panel .group .field.multi .first {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
.panel .group .field.multi .last {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.panel .list {
	width: 100%;
	font-size: 13px;
}
.panel .list span {
	display: none;
	font-size: 11px;
	font-weight: bold;
}
.panel .list tr:nth-child(even) {
	background: #f6f6f6;
}
.panel .list td:nth-child(1) {  
  padding-left: 10px;
}
.panel .list td {
	height: 50px;
}
.panel .list tr .fa {
	opacity: 0;
}
.panel .list tr .fa.tpn {
	opacity: 1;
	color: #3D3D3D;
}
.panel .list tr:hover .fa.tpn {
	display: none;
}
.panel .list tr.alert {
	background: #b83b3b;
}

.panel .list tr:first-child td, .panel .list  tr.active td {
	height: 80px;
}
.panel .list tr:first-child td span, .panel .list tr.active td span {
	display: block;
	opacity: 0.5;	
}

.panel .list:hover tr td {
	height: 50px;
}
.panel .list:hover tr:first-child td span, .panel .list:hover tr.active td span {
	display: none;
}

.panel .list tr:hover {
	background-color: #5990c4;
	color: white;
	cursor: pointer;
}
.panel .list tr:hover td {
	height: 80px;
}
.panel .list tr:hover .fa, .panel .list tr:hover a {
	opacity: 1;	
	color: white;
}
.panel .list tr:hover td span {
	display: block !important;
	opacity: 0.5;
}
.panel .list .calltags {
	display: inline-block;
	padding: 3px 6px;
	background: black;
	border-radius: 3px;
	color: white;
	font-weight: bold;
	font-size: 10px;
	float: right;
	margin: 0px 3px 0px 0px;
}
.panel .list .calltags i {
	color: white;
	opacity: 1;
	margin-right: 3px;
}

.searchBar input {
	border: 0px;
	background-color: transparent;
	padding: 0px;
	font-size: 12px;
	width: 100px;
	transition: all 0.3s ease;
}
.searchBar input:focus {
    outline: none;
    width: 200px;
}

.filter_referrals {
	position: absolute;
	right: 15px;
	top: 15px;
}


/* DASHBOARD */
.dashboard .fixed {
	width: 450px;
	float: left;
	margin-right: 20px;
}

.dashboard .user_notes {
	width: 100%;
	min-height: 90px;
	border: 0px;
	outline: none;
	resize: none;
	font-size: 12px;
	padding: 5px 10px;
	box-sizing: border-box;
	background-image: url('/images/line.png');
	line-height: 24px;
}

.dashboard .reminders li {
	padding: 5px 10px;
}
.dashboard .reminders li:hover {
	background-color: #3d3d3d;
	color: white;
	cursor: pointer;
}
.dashboard .reminders li i {
	margin-right: 10px;
}
.dashboard #stats_div {
	min-height: 500px;
	margin: 30px;
}
.dashboard .agents_list li {
	padding: 5px 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.dashboard .agents_list i {
	margin-right: 10px;
	color: #3cc663;
}
.dashboard .agents_list i.away {
	color: #a5a5a5;
}

.fa-sort {
	cursor: pointer;
}

.report table {
	width: 40%;
	float: left;
}
.report .group {
	min-height: 400px;
}
.chart {
	width: 55%;
	position: absolute;
	right: 10px;
	top: 10px;
	bottom: 10px;
}
.report td {
	padding: 5px 7px;
	font-size: 14px;
}
.report td.label {
	min-width: 200px;	
}
.report td.stat {
	min-width: 50px;
}

.scrollarea table tr td {
	white-space: nowrap;
}

.report tr:nth-child(even) {background-color: #f2f2f2;}
.alert {
	background-color: #fa3333;
	color: white;
	padding: 10px;
}

.form_sections {
	display: none;
}

.show_group {
	background: #F6F6F6;
	padding: 50px 10px 10px;
	border: 2px solid #DADADA;
	border-radius: 3px;
	float: left;
	margin: 0px 25px 25px 0px;
	width: 40%;
	cursor: pointer;
	position: relative;
	font-weight: bold;
	color: #777;
}
.show_group i {
	position: absolute;
	right: 10px;
	top: 0px;
	font-size: 50px;
	color: #DADADA;
	font-weight: normal;
}
.show_group:hover {
	background: #DADADA;
}
.show_group:hover i {
	color: #F6F6F6;
}

.page_nav.sms_chat {
	padding: 20px;
	box-sizing: border-box;
	width: 400px;
	overflow-y: scroll;
	padding-bottom: 140px;
}
.content.with_nav.sms_chat {
	margin: 0px 400px 0px 100px;
}
.sms_chat .bubble {
	background: #5A90C4;
	color: white;
	border-radius: 5px;
	padding: 10px;
	font-size: 13px;
	font-weight: bold;
	margin-top: 10px;
	max-width: 80%;
	float: left;
	clear: both;
}
.sms_chat .bubble.out {
	background: #ECEDF0;
	color: #3D3D3D;
	float: right;
	font-weight: normal;
}
.sms_chat .bubble.in:hover {
	opacity: 0.9;
	cursor: pointer;
}
.sms_chat .reply_sms {
	position: fixed;
	bottom: 15px;
	right: 15px;
	width: 370px;
}
.sms_chat .reply_sms textarea {
	width: 100%;
	border-radius: 5px;
	height: 100px;
	padding: 5px;
	box-sizing: border-box;
}

.system_tags {
	background: #3D3D3D;
	position: fixed;
	top: 75px;
	width: 30%;
	margin-left: 35%;
	z-index: 1000;
	color: white;
	padding: 10px 25px 25px;
	box-sizing: border-box;
	display: none;
}
.system_tags h3 {
	margin:0px 0px 5px;
}
.system_tags label {
	margin: 5px 10px 5px 0px;
	background: black;
	color: white;
	display: inline-block;
	border-radius: 3px;
	padding: 2px 4px;
	cursor: pointer;
}

.system_tags .assign_staff {
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
}

@media screen and (max-height: 799px) {
	.nav a .text {
		display: none;
	}
	.nav a.on .text {
		display: block;
	}
	.nav a:hover .text {
		display: block;
	}
}