/* Master Styles */
html {
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

h1 {
  color: #369;
  font-family: Arial, Helvetica, sans-serif;
}
h2, h3 {
  color: #444;
  font-family: Arial, Helvetica, sans-serif;
}

.disabled-event td span {
	text-decoration: line-through;
}

.capitalize {
    text-transform: capitalize;
}
    
body {
  margin: 0em;
}

.w-50 {
	width: 49%;
}

.w-25 {
	width: 25%;
	float:left;
}

.support-content {
	height: 100%;
	position: relative;
}

.support-list, .activity-list, .history-list, .scrollable {
	height: 100%;
	overflow: scroll;
}

.non-selectable {
	-webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
}

.table {
	font-size: 1em;
}

.btn-group.full-width, .btn-group.full-width .btn {
	width: 100%;
}

.activity-list .mine {
	background: #fafafa;
}

.support-list .table>thead>tr>th, .activity-list .table>thead>tr>th {
	font-weight: normal;
	background: #fefefe;
	border-bottom: 0;
}

.support-list .table, .activity-list .table {
	border-top: 1px solid #ddd;
}

.support-content .navbar {
	margin-bottom: 0em;
}

.navbar form {
	margin-bottom: 0;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.support-navbar {
	padding-top: 0.8em;
	padding-bottom: 0.8em;
}

.support-pane-master {
	transition: all 0.5s;
}

.support-pane-master.collapsed {
	/*transform: translateX(-100%);
	transition: all 0.5s;
	*/
}

.support-pane-details {
	background: #fff;
	position:absolute;
	transition: all 0.25s;
}

.support-pane-details.collapsed {
	transform: translateX(200%);
	transition: all 0.25s;
}

.support-pane-details .content {
	overflow: hidden;
	left: 15px;
	right: 15px;
}

.setting-bar {
	padding: 15px 15px 0 15px;
	background: #d9d9d9;
}

.support-list-toolbar {
	font-size: 1.4em;	
	border: 1px solid #ccc;
	border-radius: 8px;
	position: fixed;
	top: -10em;
	left: 50%;
	background: #fff;
	box-shadow: 2px 2px 2px rgba(1, 1, 1, 0.1);
	transition: top 0.3s;
	z-index: 2200;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.support-list-toolbar.open {
	top: 2em;
}

.support-list-toolbar a.counter {
	font-size: 0.8em;
	color: #224395;	
}

.support-list-toolbar .dropdown-owe {
	float: left;
}

.support-list-toolbar a {
	color: #000;
	cursor: pointer;
	border-right: 1px solid #aaa;
	padding: 0.6em 1em;
	display: block;
	float: left;
}

.support-list-toolbar a:last-child, .support-list-toolbar .dropdown-owe:last-child {
	border: 0px;
}

.support-list tr, .activity-list tr {
	cursor: pointer;
}

.support-list .marked tr, .activity-list .marked tr {
	background: #e3e5f9;
}

.support-list .moved, .activity-list .moved {
	opacity: 0.1;	
	transition: opacity 0.5s;
}

.support-toolbar {
	padding: 1em 0;
	border-top: 1px solid #ddd;
}

.activity-toolbar {
	border-top: 1px solid #ddd;
}

.activity-list button.btn, .support-list button.btn {
	min-width: 90px;
}

.support-nav-buttons {
	float: right;
}

.support-nav-buttons a {
	margin-left: 1em;
}

.mail-contents .form-group .form-control {
}

.mail-contents {
	padding: 1em;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #ccc;
	overflow: auto;
	border-top-left-radius: 0;
	border-top:0;
}

.mail-attachments ul li {
	
}

.issue-headers {
	padding: 9.5px;
	background: #f5f5f5;
	border-radius: 4px;
	border: 1px solid #ccc;
	margin-bottom: 1em;
	word-break: break-all;
}

.support-list .support-issue-msg {
	color: #888;
}

.support-list .sub-support-issue {
	background: #f5f5f5;	
	font-size: 0.8em;
}

.support-list .sub-support-issue td:nth-child(2) {
	/*padding-left: 2em;*/
}

.support-list button.btn-xs {
	min-width: 100px;
}

.attachment-file {
	display: online-block;
	margin-right: 15px;
}

.attachment-file .attachment {
	position: absolute;
	left: 0;
	top: 1em;
	padding: 1em;
	border: 1px solid #aaa;
	border-radius: 4px;
	background: #eee;
	display:none;
	z-index: 100;
}

.attachment-file:hover .attachment {
	display:block;
}

.support-list .table tbody+tbody, .support-list .table>tbody+tbody,
.activity-list .table tbody+tbody, .activity-list .table>tbody+tbody {
	border-top: 0;
}

div.centered, div.center {
	text-align: center;
}

.support-list td.issue-check, .support-list th.issue-check, .activity-list td.issue-check, .activity-list th.issue-check {
	vertical-align: middle;
	text-align: center;
}

span.issue-check, .support-list .issue-check i, .activity-list .issue-check i {
	padding: 0 0em;
	color: #4e7ff9;
	font-size: 1.2em;
}

span.issue-check.small {
	font-size: 1.1em;
}

.html-source {
	width: 100%;
	border: 0;
	height: 80%;
}

body.html-source-body {
	padding: 0em;
}

.table tbody>tr>td.vert-align{
    vertical-align: middle;
}

.small-font {
	font-size: 0.9em;
}

.history-html-source {
	height: 500px;
	width: 100%;
	border: 0;
	overflow: scroll;
}

.lgray {
	background: #fafafa;
}

.activities-pod {
	border-radius: 10px;
	border:1px solid #ccc;
}

.activity-count {
	min-width: 130px;
}

.dropdown-menu {
    max-height: 500px;
    overflow-y: auto;
}

.calendar {
	min-height: 32px;
	z-index: 1000;
}

.panel-body {
	overflow: scroll;
	height: 100%;
}

.description {
	border: 0;
	background: transparent;
	padding: 0;
}

.attachments {
	padding: 15px; 
	background: #f0f0f0;
	margin-bottom: 15px;
	height: auto;
}

.attachments-toolbar {
	margin-top: -15;
	background: #ddd;
}

.editor {
	margin-bottom: 30px;
}

#editor, .texteditor {
	max-height: 450px;
	height: 450px;
	background-color: white;
	border-collapse: separate; 
	border: 1px solid rgb(204, 204, 204); 
	padding: 4px; 
	box-sizing: content-box; 
	-webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset; 
	box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
	border-top-right-radius: 3px; border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px; border-top-left-radius: 3px;
	overflow: scroll;
	outline: none;
}

.replies div {
	border-bottom: 1px solid #ccc;
}

a.l-active {
	text-decoration: underline;
}

.w1 {
	min-width: 1.2em;
}

.no-border-radius {
	border-radius: 0!important;
}

.menu-search input {
	border: 0;
	border-style: none;
	border-collapse: collapse;
	width: 80%;
}

.showHiddenLink {
	padding: 8px;
	text-align: center;
}

.searchResultHeader {
	padding: 8px 16px;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #eee;
	background: #f5f5f5;
	font-weight: bold;
}

.searchresult-container {
	position: absolute;
	top: 44;
	right: 10px;
	width: 450px;
	z-index: 1000;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.1)
}

.searchresult {
	width: 100%;
	margin: 0 auto;
	border-bottom: 1px solid #ddd;
	min-height: 40px;
	padding: 15px;
	background: #fff;
	cursor: pointer;
	transition: background 0.25s ease-in;
	color: #000;
}

.searchresult:hover {
	background: #eee;
	transition: background 0.25s ease-in;
}

.searchresult::last-child {
	border: none;
}

.strikethrough {
	text-decoration: line-through;
}

INPUT.form-control.form-error {
	background-color:rgba(255, 0, 0, 0.2);
}

.customer-history {
	padding: 15px;
}

.customer-history .mail-contents {
	background: transparent;
}


.customer-history .history-row {
	width: 100%;
	position: relative;
	height: auto;
	min-height: 100px;
}

.customer-history .history-item {
	border-radius: 4px;
	border: 1px solid #aaa;
	width: 45%;
	min-height: 100px;
	background: #fff;
	padding: 10px;
	position: absolute;
	left: 0px;
}

.panel-body.no-p {
	padding: 0;
}

.customer-history .history-row:nth-child(even) .history-item
{
	right: 10px;
}

@import url(//fonts.googleapis.com/css?family=Open+Sans);

.customer-historybg {
    margin: 5px 20px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNiIgaGVpZ2h0PSI2Ij4KPHJlY3Qgd2lkdGg9IjYiIGhlaWdodD0iNiIgZmlsbD0iI2VlZWVlZSI+PC9yZWN0Pgo8ZyBpZD0iYyI+CjxyZWN0IHdpZHRoPSIzIiBoZWlnaHQ9IjMiIGZpbGw9IiNlNmU2ZTYiPjwvcmVjdD4KPHJlY3QgeT0iMSIgd2lkdGg9IjMiIGhlaWdodD0iMiIgZmlsbD0iI2Q4ZDhkOCI+PC9yZWN0Pgo8L2c+Cjx1c2UgeGxpbms6aHJlZj0iI2MiIHg9IjMiIHk9IjMiPjwvdXNlPgo8L3N2Zz4=");
    font-weight: 300; 
}

.customer-history h2 {
    margin-bottom: 30px;
    color: #4679bd;
    font-weight: 400;
    text-align: center;
}

.customer-history p.footer {
    margin-bottom: 20px;
    color: #999999;
    font-size: 18px;
    text-align: center;
}

.badge.badge-danger {
	background-color: rgb(217, 83, 79);
	font-size: 0.9em;
	margin-top: 6px;
	margin-left: 10px;
	margin-right: 10px;
}

.badge.badge-info {
	font-size: 0.9em;
	margin-top: 6px;
	margin-left: 10px;
	margin-right: 10px;
	min-width: 60px;
}

.fa.warning {
	color: red;
}

.warning {
	color: red;
}

tr.new-issue td {
	background: rgba(0, 0, 255, 0.07);
}

button.filter-button {
	min-width: 140px;
}

.spam {
	background: rgba(255, 255, 0, 0.3);
	color: black;
	padding: 15px;
}

ul.directory-tree {
	margin: 0;
	padding: 0;
}

ul.directory-tree li {
    list-style-type: none;
    margin: 0;
		display: inline;
}

.history-details {
	width: 42%;
	height: 80%;
	left: 8%;
	top: 10%;
	position: absolute;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.1);
	transition: opacity 1.75s;
	opacity: 0;
	z-index: 1000;
	padding: 15px;
	overflow: auto;
}

.history-details.shown {
	transition: opacity 0.15s ease-in;
	opacity: 1;
	visibility: visible;
}

.history-details.not-shown {
	transition: all 0.15s ease-out;
	opacity: 0;
	visibility: hidden;
}

.in-reply-to-msg {
	border-left: 2px solid #0000ff;
	margin-left: 10px;
	padding-left: 10px;
	margin-top: 15px;
}

.layout-image-container {
	border-radius: 4px;
	border: 1px solid #ccc;
	height: 458px;
	overflow: scroll;
}


.layout-image {
	width: 100%;
	height: auto;
}

.layout-image.missing {
	height: 80%;
	width: auto;
	margin: 0 auto;
	display: block;
	margin-top: 10%;
}

.p-t-4px {
	padding-top: 2px;
}

.r53-tag { 
	border-radius: 4px;
	border: 1px solid #337ab7;
	background: #2e6da4;
	float: left;
	line-height: 1em;
	margin-right: 1em;
	margin-bottom: 1em;
	padding: 7px;
	color: #fff;
}

.r53-tag:hover {
	background: #337ab7;
}

.r53-tag i {
	float: right;
	margin-left: 8px;
}

.r53-table {
	overflow: auto;
}

.module-list, .email-list {
	max-height: 500px;
	overflow: auto;
}

.b-b-1 {
	border-bottom: 1px solid #ddd;
}

.client-image {
	width: 100%;
}

.client-image-wrapper {
	border: 1px solid #ccc;
	border-radius: 15px;
  position: absolute;
  width: 90%;
  height: 90%;
	margin: 10px;
	text-align: center;
}

.client-image .img {
	width: 90%;	
	height: 90%;
	margin-top: 5%;
	margin-left: 5%;
	margin-bottom: 5%;
	overflow: hidden;
}

.client-image .img img {
	width: 100%;	
}

.client-image:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

select.form-control {
	height: 34px!important;
}


.agenda {  }

/* Dates */
.agenda .agenda-date { width: 170px; }
.agenda .agenda-date .dayofmonth {
  width: 40px;
  font-size: 36px!important;
  line-height: 36px!important;
  float: left;
  text-align: right;
  margin-right: 10px; 
}
.agenda .agenda-date .shortdate {
  font-size: 0.75em; 
}


/* Times */
.agenda .agenda-time { width: 140px; } 


/* Events */
.agenda .agenda-events {  } 
.agenda .agenda-events .agenda-event {  } 

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

.agenda .today {
	background: #eee;
}

.mailPreview {
	height: 400px;
	overflow: auto;
	padding: 0.6em;
}

.modal-lg  { 
	margin-left: 15vw;
	margin-right: 15vw;
 }

 .modal-lg .modal-content {
	width: 70vw;
	height: 90vh;
 }

 .modal-lg .modal-content .modal-body {
	height: 84%;
 }

table.oddeven tr:nth-child(odd) {
	background-color: #eee;
}

table.oddeven tr:nth-child(even) {
	background-color: #fff;
}