#login-container {
	width: 400px;
}
@media (max-width: 991px) {
    #login-container {
        width: auto;
        max-width: 400px;
    }
}

.navbar-brand > img {
	height: 37px;
}

/* pages header */
#pre-page-content {
	min-height: 0;
}
#pre-page-content h1 {
	margin-top: 0;
	margin-bottom: 0;
}

/* tables */
.dataTables_wrapper > .row > .toolbar {
	padding: 0;
}
.table-toolbar {
	margin: 0;
}
.table-toolbar > div {
	padding: 5px 5px;
}
.table thead .sorting, .table thead .sorting_asc, .table thead .sorting_desc, .table thead .sorting_asc_disabled, .table thead .sorting_desc_disabled {
	padding-right: 18px;
	vertical-align: top;
	background-position: 100% 10px;
}
.table thead input,
.table thead select {
	color: #333;
}

/* fixed columns */
table.DTFC_Cloned,
table.DTFC_Cloned {
	background-color: white;
}
div.DTFC_Blocker {
	background-color: white;
}

div.DTFC_LeftWrapper table.dataTable,
div.DTFC_RightWrapper table.dataTable {
	margin-bottom: 0;
}

div.DTFC_LeftHeadWrapper table.dataTable.no-footer,
div.DTFC_RightHeadWrapper table.dataTable.no-footer {
	border-bottom: none;
}
/* fixed columns - END*/

.dataTables_scrollHead {
    overflow: auto !important;
}

.dataTables_scrollHead table,
.dataTables_scrollBody table thead,
.DTFC_LeftHeadWrapper table {
	white-space: nowrap;
}
.dataTables_scrollBody {
	background: white;
}
.table-nowrap {
	white-space: nowrap;
}

.dataTables_wrapper {
	position: relative;
}
.dataTables_wrapper .dataTables_processing {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	opacity: .7;
	z-index: 10;
	padding: 0;
}

header.navbar .navbar-brand {
	width: auto;
	padding-top: 3px;
	vertical-align: top;
}
.table.table-bordered.no-header {
	border-top-width: 2px;
}
.table.table-head-bordered thead > tr > th {
	border: 1px solid #DDD;
	border-width: 0 1px 0 0;
}
.table.table-head-bordered thead > tr + tr > th {
	border-top-width: 1px;
}

.dataTables_wrapper.no-toolbar > .row {
	display: none;
}
.dataTables_wrapper.no-toolbar > .table {
	margin-bottom: 20px;
}

.table-scroll {
	width: 100%;
	margin-bottom: 15px;
	overflow-y: hidden;
	overflow-x: auto;
	border: 1px solid #DDD;
}

/* shift scroll helper */
.scroll-arrow {
	display: none;
    position: absolute;
    z-index: 20;
    width: 100px;
    height: 100%;
    cursor: pointer;
    background: gray repeat-y center center;
    background-color: rgba(0,0,0,.2);
}

/* colvis */
.colvis-menu {
	padding-top: 5px;
}
.colvis-menu label {
	display: block;
}

.block-data-operations {
	border: 1px solid #DDD;
	border-bottom: none;
	width: auto;
	right: 0;
}
.block-data-operations label {
	width: 100%;
}
.block-collapse .block-title {
	cursor: pointer;
}

/* smartforms */
.gwt-SuggestBox {
	padding: 6px 12px !important;
}
.gwt-SuggestBoxPopup {
	margin-left: 0 !important;
	background: white !important;
	border-color: #2980B9 !important;
	border-width: 2px !important;
	z-index: 1500 !important;
}
.suggestPopupTop,
.suggestPopupBottom,
.suggestPopupMiddleLeft,
.suggestPopupMiddleRight {
	display: none !important;
}
.gwt-SuggestBoxPopup .suggestPopupContent {
	background: none !important;
}
.gwt-SuggestBoxPopup .item-selected {
	color: black !important;
	background: #eee !important;
	cursor: pointer !important;
}

/* custom styled checks */
.stylecheck {
	position: relative;
	cursor: pointer;
}
.form-horizontal .stylecheck {
	margin-top: 6px;
}
.stylecheck input {
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
}
.stylecheck input {
	cursor: pointer;
}
.stylecheck input + span {
    display: inline-block;
    margin: 0 0 -6px;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url(../img/jquery.icheck/grey.png) no-repeat 0 0;
    border: none;
    cursor: pointer;
}
.stylecheck:hover input + span {
	background-position: -24px 0;
}
.stylecheck input:checked + span {
	background-position: -48px 0;
}
.stylecheck input:disabled + span {
	background-position: -72px 0;
	cursor: not-allowed;
}
.stylecheck input:checked:disabled + span {
	background-position: -96px 0;
}
.stylecheck input[type=radio] + span {
	background-position: -120px 0;
}
.stylecheck:hover input[type=radio] + span {
	background-position: -144px 0;
}
.stylecheck input[type=radio]:checked + span {
	background-position: -168px 0;
}
.stylecheck input[type=radio]:disabled + span {
	background-position: -192px 0;
	cursor: not-allowed;
}
.stylecheck input[type=radio]:checked:disabled + span {
	background-position: -216px 0;
}

.text-nowrap {
	white-space: nowrap;
}
.text-break {
	white-space: normal;

	-ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;

	-webkit-hyphens: auto;
   	-moz-hyphens: auto;
    hyphens: auto;
}
.text-top {
	vertical-align: top !important;
}

.jp-audio, .jp-audio * {
	box-sizing: content-box;
}

td.editable, th.editable {
	position: relative;
}
td.editable::after, th.editable::after {
	content: "";
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 8px 8px 0;
	border-color: transparent #ccc transparent transparent;
}
td.editable:hover::after, th.editable:hover::after {
	display: block;
}
td.editable.loading::after, th.editable.loading::after {
	display: none;
}
td.editable.loading span.loader, th.editable.loading span.loader {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: block;
	background: #aaa;
	color: white;
	text-align: center;
	padding: 12px 8px 8px;
}

/* custom header font size */
.table thead > tr > th,
.table tfoot > tr > th {
	font-size: 14px;
}
.dataTables_empty {
	text-align: center;
}

/* accordeon */
.panel-heading {
	border-radius: 0;
}

/* dashboard tiles */
.tile-stats {
	color: #fff;
}
.tile-stats > h3 {
	font-weight: bold;
	margin-top: 5px;
	font-size: 46px;
}
.tile-stats > h3 i {
	font-size: 65%;
	position: relative;
	top: -.2em;
}
.tile-stats > strong {
	font-size: 15px;
}
.tile-stats > p {
	font-size: 85%;
	margin-top: 4px;
}

/* mobile */
@media (max-width: 991px) {
	.tile-stats {
		font-size: 12px;
	}
	.tile-stats strong {
		font-size: 14px;
	}
	.tile-stats h3 {
		margin: 5px 0 8px 0;
		font-size: 38px;
	}
}

.no-padding {
	padding: 0 !important;
}

/* Style color choice */
.colorchoice {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-left: -4px;
}
.colorchoice li {
	float: left;
	margin: 0 4px;
	padding: 5px;
	border: 1px solid #CCC;
	cursor: pointer;
}
.colorchoice li.active {
	background: #73716E;
	border-color: #73716E;
}
.colorchoice li span {
	display: block;
	width: 24px;
	height: 24px;
	border-width: 2px;
	border-style: solid;
	border-radius: 50%;
}

@media (max-width: 991px) {
	.colorchoice {
		margin-top: 6px;
	}
}

@media (min-width: 768px) {
	.alert[data-growl="container"] {
		width: 600px;
	}
}

.import-info {
	padding-top: 7px;
	padding-bottom: 8px;
	font-size: 14px;
	vertical-align: middle;
}
#importTable tr.active td {
	text-decoration: line-through;
}
#importTable td.error {
	background-color: #FF8989;
}

div.ColVis_collectionBackground {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: black;
	z-index: 1100;
}

/* multiselect box */
.ms-parent {
	padding: 0; /* reduce form control padding */
	/*z-index: 100;*/
}
.ms-choice {
    width: 100%;
    padding-right: 25px;
    margin: 0;
    border: none;
}
.ms-choice .ms-choice-content {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    float: left;
    text-align: left;
}
.ms-choice .caret {
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -2px;
    vertical-align: middle;
}
.ms-search {
    padding: 4px 8px;
}
.ms-parent .ms-search input {
	float: none;
}
.ms-drop {
	padding-bottom: 5px;
}
.ms-ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: auto;
}
.ms-ul label {
    display: block;
    padding: 3px 18px;
    padding-left: 40px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    margin: 0;
}
.ms-ul label:hover,
.ms-ul label:focus {
    background-color: #F5F5F5;
}
.ms-ul .ms-select-all label,
.ms-ul .group label {
    padding-left: 18px;
}
.ms-no-results {
    padding: 4px 8px;
    text-align: center;
}
.input-group .ms-parent {
	z-index: 100;
}
/* reports */
.dataTables_wrapper .input-group .ms-parent {
    z-index: auto;
}

.status-automessages-divider {
	border-bottom: 1px solid #EEE;
	margin-bottom: 10px;
	margin-left: 15px;
	margin-right: 15px;
}

/* custom modal animation */
.modal.fade .modal-dialog {
	-webkit-transform: translate3d(0,0,0);
	-o-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
/* dont animate backdrop */
.modal-backdrop.fade {
	filter: alpha(opacity=50);
	opacity: .5;
}

/* callcentrum buttons */
#call-incoming form {
	margin: 10px 0;
}
#call-incoming form .btn-block {
	text-align: left;
}
#call-incoming form .btn-block + .btn-block {
	margin-top: 1px;
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    opacity: .35;
}
.datepicker-dropdown {
    min-width: 218px;
}
.datepicker td.day:nth-child(7n-1),
.datepicker td.day:nth-child(7n) {
    background: #f7f7f7;
}
.datepicker td.day:hover,
.datepicker td.today {
    background: #eee;
    cursor: pointer;
}

.fileupload-progress .progress {
    margin-bottom: 2px;
}

.modal-header h4 small {
    color: #fff;
}

/* navbar icons size */
.navbar-nav-custom > li > a > i {
    font-size: 17px;
}
#sms-start {
    padding: 11px 15px 6px;
}
#sms-start i:not(.fa-refresh) {
    font-size: 22px;
    line-height: 22px;
}

.block-tabs .block-options, .block-tabs .block-options-left {
    margin-bottom: 6px;
    height: 30px;
}
.block-tabs .nav-tabs > li > a {
    height: 42px;
}

@media (max-width: 991px) {
    .text-left-sm {
        text-align: left !important;
    }
}

.history-attachment {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.icon-chosen ul {
    list-style: none;
    padding: 3px;
    overflow-y: auto;
    max-height: 150px;
    margin: 0;
}
.icon-chosen ul li {
    float: left;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}
.icon-chosen ul li:hover {
    background: #EEE;
    cursor: pointer;
}
.icon-chosen ul li.active {
    background: #428BCA;
}

.icon-chosen ul li i {
    line-height: 50px;
}
.icon-chosen ul li.active i {
    color: white;
}
.icon-chosen .chosen-single {
    padding-left: 12px;
}

.pinlink {
    text-decoration: none !important;
}
.pinner {
    color: black;
}
.pinner:not(.active) {
    color: #BBB;
}
.raty-cancel {
    margin-right: 10px;
}

.enum-scroll {
    max-height: 500px;
    overflow-y: auto;
}
.enum-head {

}

.table-img {
    display: block;
    max-height: 35px;
    max-width: 120px;
    margin: -8px auto -4px;
}
.enum-img {
    display: block;
    max-width: 80%;
    max-height: 100px;
    margin-bottom: 10px;
}
.enum-record-thumb {
    height: 150px;
    margin: 15px 0;
    position: relative;
    padding: 10px;
    border: 2px solid transparent;

    /* title always on bottom */
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}
input:checked + .enum-record-thumb,
.enum-record-thumb:hover {
    border-color: #428BCA;
    cursor: pointer;
}
.enum-record-thumb img {
    margin-left: auto;
    margin-right: auto;
}
.enum-record-thumb strong {
    /* title always on bottom */
    display: block;
    margin-top: auto;
    text-align: center;
}
.btn.btn-option.enum-enlarge {
    margin-top: -10px;
    position: absolute;

    background: rgba(0, 0, 0, 0.5) !important;
    color: #FFF !important;
    border-radius: 40px !important;
    height: 30px !important;
    width: 30px !important;
    opacity: 1;
    top: 15px;
    left: 8px;
}

/* select switch */
.selectswitch-control {
    cursor: pointer;
}
.selectswitch .ms-drop {
    /* full width multiselect */
    right: 0;
}

.center {
    display:table-cell;
    vertical-align:middle;
    float:none;
}

.bottom-border {
	border-bottom: 1px solid #EEE;
}
.bottom-border:last-child {
	border-bottom: none;
}

.table tbody > tr > td.table-two-rows {
    padding: 6px 8px 3px;
    text-align: center;
}
.table tbody > tr > td.table-two-rows .table-time {
    background: #ccc;
    font-size: 85%;
    display: inline-block;
    position: relative;
    top: -3px;
    padding: 0 3px;
}

.table thead > tr.table-filter-row > th {
    padding-top: 0;
    padding-bottom: 0;
}
.table thead > tr.table-filter-row > th select {
    position: relative;
    top: -7px;
}

/* User size table */
.tables-size-small .table.table-user-size tbody > tr > th,
.tables-size-small .table.table-user-size tbody > tr > td {
    padding: 6px 5px 5px;
}
.tables-size-small .table tbody > tr > td.table-two-rows {
    padding: 0 5px;
}

#pre-page-content h1.page-header-small {
    margin: -10px 0 -6px;
}
#pre-page-content h1.page-header-small i {
    width: 40px;
    height: 40px;
    line-height: 48px;
    font-size: 28px;
}
tr.visible-print {
    display: none !important;
}
@media print {
    #detailInfo .table {
        font-size: 12px;
    }
    #detailInfo .table tbody > tr > th,
    #detailInfo .table tbody > tr > td {
        padding: 6px 6px 6px;
    }
    tr.visible-print {
        display: table-row !important;
    }
    #detailInfo a[href]:after {
        content: "";
    }
}

.chosen-container .group-result {
    cursor: pointer !important;
}
.chosen-container .group-result:hover {
    background-color: #db4a39;
    color: #fff;
}
