
.absolute {
	position: absolute;
}

.relative {
	position: relative;
}

.padding-20 {
	padding: 20px;
}
.padding-left-20 {
	padding-left: 20px;
}
.padding-top-20 {
	padding-top: 20px;
}
.padding-right-20 {
	padding-right: 20px;
}
.padding-bottom-20 {
	padding-bottom: 20px;
}

.margin-top-0 {
	margin-top: 0px !important;
}

.display-table {
	display: table;
}

span.success {
	color: #45b6af;
}
span.warning {
	color: #daae2b;
}
span.danger {
	color: #cb5a5e;
}

.form-group .form-control.has-default:focus {
	border-color: #aaa
}
.form-group .form-control.has-success, .form-group .form-control.has-success:focus {
	border-color: #27a4b0
}
.form-group .form-control.has-error, .form-group .form-control.has-error:focus {
	border-color: #e73d4a
}

img.flag {
	vertical-align: unset;
	margin-right: 5px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    background-color: #578ebe;
}

#contentwrapper {
	min-height: calc(100vh - 423px);
}

#contentwrapper div.content-form-page {
	padding-left: 0px;
	padding-right: 0px;
}

.content-form-page .btn-group .btn {
	margin-right: 0px;
}
.content-form-page .input-group-btn .btn {
	margin-right: 0px;
}
.content-form-page a.btn-primary {
	color: #ffffff;
}

.table > tfoot > tr > th {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.page-bar .page-toolbar {
    display: inline-block;
    float: right;
    padding: 0;
}

.pre-footer h2 a, .pre-footer h2 a:hover {
	color: inherit;
	text-decoration: none;
}

#config-modal .form-control[disabled] {
	background-color: #eeeeee !important;
}
#config-modal .tagsinput.disabled {
	background-color: #eeeeee !important;
}
#config-modal div.tagsinput span.tag {
	background: #aaa;
	color: #fff;
	border: 0;
}
#config-modal div.tagsinput span.tag a {
	color: #fff;
}
#config-tab-3 .pull-right {
	margin-left: 4px;
}
#config-tab-3 .pull-right .btn-sm {
	margin-bottom: 4px;
}

.invisible-scroll {
	overflow: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.invisible-scroll::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

/* removed transitions from portlet icons for performance */
.portlet > .portlet-title > .tools > a:hover {
	transition: none;
}

.help.help-block {
	display: none;
}

.radio-list label {
	cursor: pointer;
}

.font-white {
	color: #ffffff !important;
}

.row-muted {
	color: #aaa;
}

.row-white {
	background-color: #ffffff !important;
}

.pointer {
	cursor: pointer;
}

.form-body.has-success .form-control {
	border-color: #27a4b0
}
.form-body.has-error .form-control {
	border-color: #e73d4a
}

.tools {
	float: right;
}
.tools span {
   	height: 16px;
   	color: #aaaaaa;
   	margin-left: 5px;
	display: inline-block;
	cursor:pointer;
}
.tools span.active {
	color: #3e4d5c;
}

@media (max-width: 1200px) {
	.content-form-page .pull-right {
		float: right !important;
	}	
}

.main .react-datepicker {
    font-size: 1.3rem;
    /*width: 100%;*/
}
/*.main-window .react-datepicker__month-container {
    float: none;
}*/
.main .react-datepicker__current-month, .main .react-datepicker-time__header {
    font-size: 1.3rem;
}
.main .react-datepicker__day-name, .main .react-datepicker__day, .main .react-datepicker__time-name {
    width: 2.1rem;
    line-height: 2.1rem;
    margin: 0.18rem;
}

.main .react-datepicker-wrapper, .main .react-datepicker__input-container {
    width: 100%;
}

.hover-parent .hover-child {
	display: none;
}
.hover-parent:hover .hover-child {
	display: initial;
}

/** CALL CENTER */

.cc .sidebar-categories li .item {
	padding: 4px 0;
	border-bottom: 1px solid #ECEBEB;
	color: #333;
}
.cc .sidebar-categories li .pull-right {
	padding: 4px 0;
}
.cc .sidebar-categories li:hover > div,
.cc .sidebar-categories li.active > div {
	color: #64aed9;
}
.cc .sidebar-categories li.active > div {
	font-weight: bold;
}

.cc .progress.thin {
	height: 1px;
	margin-bottom: 0px;
}

.cc .operators {
   	list-style: outside none none;
   	margin: 0;
   	padding: 0;
}
.cc .operators li {
   	color: #82949a;
   	background-color: #fafafa;
    margin-bottom: 7px;
}
.cc .operators li.registered {
   	background-color: #eef7ea;
   	cursor: pointer;
}
.cc .operators li.unregistered {
   	background-color: #f9f0f0;
   	cursor: pointer;
}
.cc .operators li .status {
   	display: inline-block;
   	width: 20px;
}
.cc .operators li .operator {
   	padding: 4px 0px 5px 6px;
}
.cc .operators li .actions {
	/*color: #c1cbd0;*/
   	color: #82949a;
	/*padding: 4px 9px 5px 4px;*/
	padding: 0px 5px;
	text-align: right;
	cursor: pointer;
}

.cc .messages {
	min-height: 300px;
	max-height: 60vh;
	padding: 16px 0;
	margin: 0;
}

.dialogs-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow-y: auto;
    height: 100%;
    border-radius: 0 0 4px 4px;
    background-clip: padding-box;
}
.dialogs-list-item {
    font-size: 1.3rem;
    border-top: solid 1px #e8e7e6;
    font-weight: 600;
    color: #797776;
    background: #fff;
    /*color: #005e94;*/
    cursor: pointer;
    position: relative;
	/*moje*/
	padding: 8px;
	display: block;
}
.dialogs-list-item.stop {
	opacity: 0.7;
}
.dialogs-list-item.special {
	background-color: #f1f1f1;
}
.dialogs-list-item.waiting {
    font-weight: bold;
    color: #005e94;
    background-color: #f8f8f8;
}
li.dialogs-list-item.current {
	color: #005e94;
    background-color: #e6f5fa;
}
.dialogs-list-item .intro,
.dialogs-list-item .username {
    display: block;
    margin: 0 0 0 5px
}
.dialogs-list-item .intro.avatar,
.dialogs-list-item .username.avatar {
    margin-left: 42px;
}
.dialogs-list-item .intro {
    font-weight: 400
}
.dialogs-list-item time {
    font-size: 1.3rem;
    float: right;
    font-weight: 400
}
.dialogs-list-item .username, .dialogs-list-item time {
    line-height: 1;
}

.dialog-messages-item {
    /*border-bottom: solid 1px #e8e7e6;*/
    /*padding: 15px 0;*/
    display: block;
    width: 100%;
	/* moje */
    margin-top: 8px;
    word-break: break-word;
}
.dialog-messages-item.mo {
	float: left;
	padding: 0px 85px 0px 15px;
}
.dialog-messages-item.mt, .dialog-messages-item.bulk {
	float: right;
	padding: 0px 15px 0px 85px;
}
.dialog-messages-item.mo div {
	padding: 5px 10px;
	display: inline-block;
	background-color: #f7f7f7;
    border-radius: 0px 9px 9px 9px;
    white-space: pre-line;
}
.dialog-messages-item.mt div, .dialog-messages-item.bulk div {
	padding: 5px 10px;
	float: right;
	/*display: inline-block;*/
	background-color: #f7f7f7;
    border-radius: 9px 0px 9px 9px;
    white-space: pre-line;
}
.dialog-messages-item.bulk div {
    border: 1px solid #312e2b;
}
.dialog-messages-item.mo small {
	margin-top: 3px;
    padding-left: 18px;
	white-space: nowrap;
}
.dialog-messages-item.mt small, .dialog-messages-item.bulk small {
	margin-top: 8px;
    padding-left: 18px;
	white-space: nowrap;
}
.dialog-messages-item.mt.processing div {
	border-right: 5px solid #d8d8d8;
}
.dialog-messages-item.mt.charged div {
	border-right: 5px solid #4b7636;
}
.dialog-messages-item.mt.overdraft div {
	opacity: 0.6;
	border-right: 5px solid #e6912c;
}
.dialog-messages-item.mt.failed div {
	opacity: 0.6;
	border-right: 5px solid #b33430;
}
.dialog-messages-item:first-child {
    padding-top: 0
}
.dialog-messages-item hr {
	margin: 0;
}

.dialog-messages-footer {
	background-color: #f7f7f7;
	padding: 20px;
}
.dialog-messages-footer .center {
	display: table;
	margin: 0 auto;
}

.credits {
	position: absolute;
  	top: 0px;
  	bottom: 0px;
  	right: 0px;
  	height: 100%;
  	color: white;
  	font-size: 24px;
  	padding-top: 5px;
  	padding-left: 15px;
  	padding-right: 15px;
}

.pulsate {
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

/** STUDIO VIEW */

.studio .sidebar-categories li .item {
	padding: 4px 0;
	border-bottom: 1px solid #ECEBEB;
	color: #333;
}
.studio .sidebar-categories li .pull-right {
	padding: 4px 0;
}
.studio .sidebar-categories li:hover > div,
.studio .sidebar-categories li.active > div {
	color: #64aed9;
}
.studio .sidebar-categories li.active > div {
	font-weight: bold;
}

.studio .calls {
   	list-style: outside none none;
   	margin: 0;
   	padding: 0;
}
.studio .calls li {
   	padding: 5px;
   	cursor: pointer;
}
.studio .calls li.selected {
   	background-color: #fafafa;
}
.studio .calls .number {
	font-weight: bold;
}

.studio .progress.thin {
	height: 1px;
	margin-bottom: 0px;
}

.studio .operators {
   	list-style: outside none none;
   	margin: 0;
   	padding: 0;
}
.studio .operators li {
   	color: #82949a;
   	border: 1px solid white;
   	background-color: #fafafa;
    margin-bottom: 7px;
    cursor: pointer;
}
.studio .operators li.selected {
   	border: 1px solid #64aed9;
}
.studio .operators li.registered {
   	background-color: #eef7ea;
   	cursor: pointer;
}
.studio .operators li.unregistered {
   	background-color: #f9f0f0;
   	cursor: pointer;
}
.studio .operators li .status {
   	display: inline-block;
   	width: 20px;
}
.studio .operators li .operator {
   	padding: 4px 0px 5px 6px;
}
.studio .operators li .actions {
	/*color: #c1cbd0;*/
   	color: #82949a;
	padding: 4px 9px 5px 4px;
	text-align: right;
	cursor: pointer;
}

.studio .services {
   	width: 100%;
}
.studio .services tr {
	cursor: pointer;
}
.studio .services tr.selected {
	font-weight: bold;
}

/*--------------------------------------------------
    [OVERVIEW]
----------------------------------------------------*/

.sale-summary ul {
	margin-top: -10px;
}

.sale-summary li {
	padding: 10px 0;
	overflow: hidden;
	border-top: solid 1px #eee;
}

.sale-summary li:first-child {
	border-top: none;
}

.sale-summary li .sale-info {
	margin-top: 4px;
	float: left;
	color: #646464;
	font-size: 14px;
	text-transform: uppercase;
}

.sale-summary li .sale-num {
	float: right;
	color: #169ef4;
	font-size: 20px;
	font-weight: 300;
}

/*--------------------------------------------------
    [SERVICE FLOW]
----------------------------------------------------*/

.flow-forward-numbers {
    margin: 0;
    padding: 0;
    height: 200px;
	border: 1px solid #e5e5e5;
    overflow-y: auto;
    list-style-type: none;
}

.flow-forward-numbers li {
    color: #555;
	font-size: 13px;
    cursor: pointer;
    padding: 2px 10px;
    //border-bottom: 1px solid #eee;

}

.flow-forward-numbers li:hover, .flow-forward-numbers li.selected {
    color: #333;
	background-color: #eee;
}

.tab-content {
	padding: 0px;
	background: none;
}

.sidebar .list-group-item.selected {
	font-weight: bold;
}

.input-group .spinner-input {
	z-index: auto;
}

/*.no-transitions, .no-transitions * {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}*/

.service-flow-actions {
	white-space: nowrap;
	overflow-x: auto;
}

.element {
	min-width: 80px;
	text-align: center;
	display: inline-block;
    background-color: white;
    border: 1px solid #64aed9;
    border-radius: 8px;
    cursor: move;
    font-size: 11px;
    opacity: 0.8;
    padding: 14px;
    margin: 0px 5px 0px 0px;
}

.element:hover {
    color: #64aed9;
}

.element i {
	font-size: 20px;
}

.service-flow-canvas-wrapper {
    position: relative;
    height: 600px;
    overflow: auto;
    resize: vertical;
}

.service-flow-canvas {
	position: relative;
	height: 600px;
	width: 100%;
	background-color: #f4f4f4;
}

.service-flow-canvas .element {
	position: absolute;
	padding-bottom: 24px;
}

.service-flow-canvas .element.selected {
    color: #64aed9;
}

.service-flow-canvas .element.error {
    color: red;
}

.service-flow-canvas .element .connector {
    left: 32%;
    bottom: 6px;
    width: 36%;
    height: 1em;
    position: absolute;
    background-color: #7c858e;
    background-color: #767f88;
    cursor: pointer;
    -webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
	border-radius: 10px !important;
}

.service-flow-canvas .element:hover .connector {
    display: inline-block;
}

.service-flow-canvas .element .connector:hover {
    box-shadow: 0 0 6px black;
    background-color: #64aed9;
}

.service-flow-connector-label._jsPlumb_hover, ._jsPlumb_source_hover, ._jsPlumb_target_hover {
    color: #64aed9;
}

.service-flow-connector-label {
    background-color: white;
    border: 1px dotted #346789;
    border-radius: 0.5em;
    cursor: pointer;
    opacity: 0.8;
    padding: 0.3em;
}

._jsPlumb_endpoint_anchor {
	cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
	z-index: 10;
}

._jsPlumb_drag_select ._jsPlumb_endpoint_anchor {
	cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

path {
    cursor: pointer;
}

/*--------------------------------------------------
    [SERVICE FLOW - FORWARDING NUMBERS]
----------------------------------------------------*/

.tasks-widget .task-content {
	margin-top: 10px;
	background-color: white;
}
.tasks-widget:after {
  clear: both;
}
.tasks-widget .task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tasks-widget .task-list > li {
  position: relative;
  padding: 10px 0;
  border-bottom: 1px solid #F4F6F9;
}
.tasks-widget .task-list > li:hover {
  background: #F4F6F9;
}
.tasks-widget .task-list > li.last-line {
  border-bottom: none;
}
.tasks-widget .task-list > li > .task-title {
  color: #838FA1;
  padding-left: 30px;
  padding-right: 10px;
}
.tasks-widget .task-list > li > .task-title span {
	cursor: pointer;
}
.tasks-widget .task-list > li .task-config-btn {
  margin-top: -1px;
}
.tasks-widget .task-list > li > .task-config {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
}
.tasks-widget .task-list > li:hover > .task-config {
  display: block;
  margin-bottom: 0 !important;
}

/*--------------------------------------------------
    [SPLIT PANE]
----------------------------------------------------*/

.sms-chat-height {
	height: calc(100% - 54px) !important
}

.main-window-height {
	height: calc(100% - 58px) !important
}

.left-panel {
	/*background: #e9e9e9;*/
}

.center-panel {
	height: 100%;
}

.center-panel .container {
	margin-left: 15px;
}

.default-window {
	margin: 10px;
}

.main-window {
	height: 100%;
	overflow: hidden;
}

.main-window {
	width: 100%;
	display: flex;
	flex-flow: column wrap;
}
 
.main-window .messages {
	width: 100%;
}
   
.main-window .form {
	width: 100%;
}
    
.messages {
	flex: 1 1px;
	background: white;
	overflow-y: scroll;
	padding-bottom: 12px;
}
    
.messages ul {
	list-style: none;
	margin: 0;
	padding: 24px;
	clear: both;
}
      
.messages ul li {
	float: left;
	clear: both;
	line-height: 1.4em;
	/*max-width: 224px;*/
	margin: 4px;
	padding: 0.7em 12px;
	color: #010407;
	background-color: #f5f8fd;
	border-color: #8bb4e7;
	border-radius: 12px !important;
}
  
.messages ul li.mo {  
	border-top-left-radius: 2px !important;
}

.messages ul li.mt {  
	float: right;
	margin-left: 24px;
	border-top-right-radius: 2px !important;
}
   
.messages ul li small {
	font-size: 70%;
}
 
.main-window .form {
	/*background: #e9e9e9;*/
}
    
.main-window .form-inner {
  height: 60px;
  width: calc(100% - 12px * 2);
  margin: 12px;
  border-radius: 2px;
  background: whitesmoke;
}

.crm-panel {
	height: 100%;
	padding: 10px;
	/*background: #e9e9e9;*/
}
    
.layout-pane {
	height: 100%;	
}

.sidebar-wrapper {
    height: 100%;
}

.sidebar-title {
	padding: 10px;
	background: #e1e1e1;
}

.sidebar-title h3 {
	font-size: 14px;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

.sidebar-body {
    height: calc(100% - 46px);
}
    
.friendslist {
	list-style: none;
	padding-left: 0px;
	overflow-y: scroll;
	width: 100%;
	height: 100%;
}

.friend {
	color: #666;
	background: #f9f9f9;
	border-bottom: 1px solid #fff;
}

.friend:hover {
	background: #e9e9e9 !important;
	cursor: pointer;
}

.friend p {
	padding: 5px;
	width: 100%;
	margin-bottom: 0px;
}

.friend p strong {
	font-weight:600;
 	font-size:15px;
}

.friend p span {
	font-size:13px;
	font-weight:400;
}

.friend.selected {
	background: #e9e9e9;
	border-left: 4px solid #64aed9;
}

.friend.waiting {
	background: #abcdef;
}

.friend.stop {
	color: #aaa;
	/*background: #1a1a1a;*/
}

/*.friend.selected strong {
	color: white;
}
.friend.selected span {
	color: white;
}*/

.friend.available {
	border-right: 5px solid #26c281;
}

.friend .status.available { background: #26c281; }
.friend .status.away { background: #ffce54; }

