/*APPCSS*/
.top-navigation .wrapper.wrapper-content {
	padding: 0;
	margin: 0 -15px;
}

.container-fluid {
	padding-right: 0;
	padding-left: 0;
}

.dropdown-menu > li > a {
	line-height: unset;
	border-bottom: 1px solid #e7eaec;
}

.query-panel {
	padding-bottom: 0px;
	border-bottom: 0;
}


/*.input-group-addon {
	font-size: 13px;
	padding: 9px 15px 8px 12px;
}*/

/*ibox*/
.ibox-tools {
	top: 10px;
}

/*BOOTSTRAP*/
.text-danger {
    color: #f44336;
}

.text-success {
    color: #4caf50;
}

.form-control {
	padding: 3px 12px; 
	font-size: 13px;
	height: auto !important;
	color: #555555;
	border-radius: 0;
	box-shadow: none;
}

.col-form-label {
	padding-top: 4px;
	padding-bottom: unset;
}

.input-group-addon {
	font-size: 13px;
	padding: 7px 12px 4px 12px;
}


/*  MODAL  */
.modal-header {
	padding: 10px;
}

.modal-header h4{
	font-size: 14px;
	font-weight: 600;
	color: #676a6c;
}

.modal-footer {
	padding: 10px;
}

.dialog .modal-footer .btn {
	min-width: 70px;
}

.dialog .modal-dialog {
	max-width: unset;
}


.datepicker {
	border: 1px solid #e5e6e7 !important;
}


/* SELECT2 */
.select2-container {
	width: 100% !important;
}

.select2-container--open .select2-dropdown--below {
	z-index: 4444;
}

/* CHOSEN */

.chosen-container{
	/*max-width: 281px !important;*/
	max-width: 100% !important;
}

.chosen-container .chosen-results li {
	border-bottom: 1px solid #e5e6e7;
}

.chosen-container-single .chosen-single {
	color: #555555;
	border: 1px solid #e5e6e7;
	background-image: unset;
	box-shadow: unset;
	padding: 2px 12px;
	border-radius: 0;
	min-height: 30px;
}

.chosen-container-active.chosen-with-drop .chosen-single, .chosen-container-multi .chosen-choices {
	background-image: unset;
	box-shadow: unset;
	border: 1px solid #e5e6e7;
	border-radius: 0;
}

.chosen-container .chosen-drop {
	border: 1px solid #e7e7e7;
	border-radius: 0;
}

.chosen-container-single .chosen-search input[type="text"] {
	border: 1px solid #e5e6e7;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
	height: 24px;
	padding: 5px 10px;
	line-height: 1.5;
}

.chosen-container .chosen-results li.highlighted {
	background-image: unset;
}

.chosen-container {
	max-width: 100% !important;
}

/*DATATABLE*/
.datatables-body {
	min-height: 650px;
}


/**  TOPBAR  **/
#topnav {
	background-color: #293846;
	padding: 0 15px;
}

#topnav .navbar-brand {
	background: transparent;
	font-weight: bold;
	padding: 12px 0;
}

#topnav .nav > li {
	color: #fff;
}

#topnav .nav > li.active {
	background-color: transparent;
}

#topnav .nav > li > a {
	text-transform: uppercase;
	color: #a7b1c2;
	font-size: 13px;
	padding: 15px 8px;
}

#topnav .nav > li.active > a {
	color: #fff;
}

#topnav .nav > li a:hover, #topnav .nav > li a:focus {
	background: transparent;
}

.fileinput-button input {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	opacity: 0;
	-ms-filter: 'alpha(opacity=0)';
	direction: ltr;
	cursor: pointer;
}

/*UPLOAD BTN*/
.fileinput-btn {
	position: relative;
	overflow: hidden;
	display: inline-block;
}

.fileinput-btn input {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	height: 100%;
	opacity: 0;
	filter: alpha(opacity=0);
	font-size: 200px !important;
	direction: ltr;
	cursor: pointer;
}

/*GSM DIALER*/
.contactlist {
	background-color: #fff;
	margin: 0 -15px;
}

.list-group-item.unread .contact-phone {
	font-weight: bold;
}

/*.phone-list .list-group-item a.active, .phone-list .list-group-item a:hover {
    background: #dee2e6;
    color: inherit;
    border-color: #e7eaec;
    border-radius: 0;
}*/


.sms_history {
	height: calc(100% - 100px);
	overflow-y: auto;
}

.sms-wrapper {
	overflow: hidden;
	margin: 3px 0;
}

.sms-wrapper .sms-item {
	overflow: hidden;
}

.sms-wrapper.received .sms-item {
	float: right;
	text-align: right;
}

.sms-item {
	width: 80%;
}

.sms-text {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 3px;
}

.sms-wrapper.sent .sms-text {
	background-color: #ebebeb;
}

.sms-wrapper.received .sms-text {
	background-color: #d2e3fc;
}



.received_msg {
	display: inline-block;
	padding: 0 0 0 10px;
	vertical-align: top;
	width: 92%;
}

.received_withd_msg p {
	background: #ebebeb none repeat scroll 0 0;
	border-radius: 3px;
	color: #646464;
	font-size: 14px;
	margin: 0;
	padding: 5px 10px 5px 12px;
	width: 100%;
}



.sms_type {
	position: absolute;
	height: 80px;
	left: 0;
	right: 0;
	bottom: 0;
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 18px;
	margin-bottom: 0;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 4px;
	bottom: 3px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #2196F3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(22px);
	-ms-transform: translateX(22px);
	transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}