
/* --- Dialog, Model & button toolbar theme update --- */

.bootstrap-dialog-title {
	font-size: 20px;
}

.bootstrap-dialog.type-default .modal-header {
	padding-bottom: 12px;
}

.bootstrap-dialog.type-default .modal-header {
	background-color: #fbfbfb !important;
}

.bootstrap-dialog .bootstrap-dialog-title {
	font-size: 18px;
}

.modal-content {
	border-radius: 2px;
}

.modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 140px);
    min-height: 140px;
    background: #f4f3ef;
}

.modal-body .page-container {
    margin-bottom: 80px;
}

.modal-body .modal-footer {
    width: 99.8%;
    position: fixed;
    bottom: 0;
    z-index: 100;
}

.btn-toolbar.modal-footer {
	background-color: #fbfbfb !important;
}

.btn-toolbar > span {
	float: right;
}

.btn-toolbar-top {
	margin-bottom: 10px;
}

.btn-toolbar-bottom {
	margin-top: 20px;
}



/* --- Table theme update --- */

table caption {
	color: #3498db;
}

.table thead > tr > th {
	border-bottom: none;
}

.table:not(.inline-editor) > thead > tr > th {
	color: #3498db;
}

.table.inline-editor > tbody > tr > td {
	position: relative;
}

.table > tbody > tr:last-child > td,
.table > tfoot > tr:last-child > th {
	border-bottom: 1px solid #ddd;
}

.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: #fafafa;
}

.table-striped.table-hover > tbody > tr:nth-of-type(odd):hover {
	background-color: #fcfcfc;
}

.table-striped.table-hover > tbody > tr:nth-of-type(even):hover {
	background-color: #f6f6f6;
}

.page-container > .table-responsive > table.table td {
	vertical-align: middle;
	padding: 8px 10px;
}

@media (max-width: 600px) {
	.table-responsive {
		border: none;
	}
	.btn-toolbar-top {
		margin-bottom: 5px;
	}
}



/* --- Tabs theme update --- */

.tabs ul.nav-justified {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 15px;
}

.tabs ul.nav-justified li {
	flex-basis: 0;
	flex-grow: 1;
	text-align: center;
	background: none;
	border-bottom: #dedede 1px solid;
}

.tabs ul.nav-justified li a {
	font-weight: bold;
	text-transform: uppercase;
	white-space: nowrap;
	margin-bottom: 0;
}

.tabs ul.nav-justified li a:hover,
.tabs ul.nav-justified li a:focus {
	text-decoration: none !important;
	border-bottom: 2px solid #3498db;
	background: none;
}

.tabs ul.nav-justified li.active a {
	border-bottom: 2px solid #3498db;
}

.tabs:not(.classic) .nav:not(.nav-justified) li:not(.active):not(:hover) > a {
	background: #f9f9f9;
	border-bottom: 1px solid #ddd;
}

.tabs ul.nav:not(.nav-justified) li.active > a {
	border-top: 2px solid #3498db;
	margin-top: -1px;
}



/* --- Tabs "clasic" theme update --- */

.tabs.classic ul.nav li {
	border-bottom: 1px solid #c0e4f9;
}

.tabs.classic ul.nav li a {
	border-bottom: none;
	color: #333;
}

.tabs.classic ul.nav li.active {
	border-bottom: none;
	border-left: 1px solid #c0e4f9;
	border-top: 2px solid #3498db;
	border-right: 1px solid #c0e4f9;
}

.tabs.classic ul.nav li:not(.active) {
	background-color: #f7fcff;
	border-top: 3px solid #fff;
}

.tabs.classic ul.nav li:not(.active) a {
	color: #888;
}

.tabs.classic ul.nav li.active a {
	border: 0 !important;
}

.tabs ul.nav-justified {
	padding-bottom: 25px;
}


/* --- Badges --- */

.badge-success, .label-success {
	background-color: #5cb85c;
	border-color: #4cae4c;
	color: #fff;
}

.badge-danger, .label-danger {
	background-color: #d9534f;
	border-color: #d43f3a;
	color: #fff;
}

.badge-warning, .label-warning {
	background-color: #f0ad4e;
	border-color: #eea236;
	color: #fff;
}

.badge-info, .label-info {
	background-color: #5bc0de;
	border-color: #46b8da;
	color: #fff;
}

.badge-primary, .label-primary {
	background-color: #337ab7;
	border-color: #2e6da4;
	color: #fff;
}

.badge-grey, .label-grey {
	background-color: #a0a0a0;
	border-color: #b5b5b5;
	color: #fff;
}

.badge-pink, .label-pink {
	background-color: #f68090;
	border-color: #d04270;
	color: #fff;
}

.badge-blue, .label-blue {
	background: #3498db !important;
}

.badge-red, .label-red {
	background: #e74c3c !important;
}

.badge-green, .label-green {
	background: #2ecc71 !important;
}

.badge-sea, .label-sea {
	background: #1abc9c !important;
}

.badge-orange, .label-orange {
	background: #e67e22 !important;
}

.badge-yellow, .label-yellow {
	background: #f1c40f !important;
}

.badge-purple, .label-purple {
	background: #9b6bcc !important;
}

.badge-aqua, .label-aqua {
	background: #27d7e7 !important;
}

.badge-brown, .label-brown {
	background: #9c8061 !important;
}

.badge-dark-blue, .label-dark-blue {
	background: #4765a0 !important;
}

.badge-light-green, .label-light-green {
	background: #79d5b3 !important;
}

.badge-light, .label-light {
	color: #777;
	background: #ecf0f1 !important;
}

.badge-dark, .label-dark {
	background: #555 !important;
}



/* --- Placeholder style update --- */

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	font-style: italic !important;
	color: #bbb !important;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	font-style: italic !important;
	color: #bbb !important;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
	font-style: italic !important;
	color: #bbb !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	font-style: italic !important;
	color: #bbb !important;
}



/* --- Framework common UI controls update --- */

.form-section-header > div {
	color: #3498db;
}

label.control-label {
	font-size: 14px;
	font-weight: bold;
}

.form-control {
	box-shadow: none;
	border-radius: 2px;
	color: #444;
}

.form-control:focus {
	border-color: #888;
	box-shadow: 0 0 3px #c0c0c0;
}

.input-group-addon {
	border-radius: 2px;
	color: #b3b3b3;
	font-size: 14px;
	line-height: 1;
	padding: 3px 6px;
	background: #fff;
}

input.time-picker {
	min-width: 50px;
}

.listing-check.fa-check {
	color: #66ac66;
}

.listing-check.fa-times {
	color: #dccfc8;
}

.form-control, .form-control,
fieldset .form-control,
.select2-container--bootstrap .select2-selection {
	background-color: #fcfcfc;
}

span.form-control.html-box b,
div.form-control.html-box b {
	color: #3498db;
}

.has-error .checkbox,
.has-error .checkbox-inline,
.has-error .control-label,
.has-error .help-block,
.has-error .help-block li,
.has-error .radio,
.has-error .radio-inline,
.has-error.checkbox label,
.has-error.checkbox-inline label,
.has-error.radio label,
.has-error.radio-inline label {
	color: #f00000 !important;
}

.has-error .form-control {
    border-color: #f00000 !important;
    box-shadow: 0 0 3px #f0c0c0;
}



/* --- Select2 theme update --- */

.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection {
	border-color: #888;
	box-shadow: 0 0 3px #c0c0c0;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
	background-color: #eee;
}

.select2-container--bootstrap .select2-selection {
	box-shadow: none;
}

.select2-container--bootstrap .select2-dropdown {
	border: 1px solid #ccc;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.select2-dropdown,
.select2-container--bootstrap .select2-selection,
.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
	border-radius: 2px;
}

.select2-container--bootstrap .select2-results__group {
	border-top: #ddd 1px solid;
	background: #f0f0f0;
	color: #888;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
	background: #f5f5f5;
	color: inherit;
}

.select2-container--bootstrap .select2-results__option[aria-selected="true"] {
	background: #3498db;
	color: #fff;
}



/* --- Bootstrap Multiselect theme update --- */

.multiselect-container > li > a {
	padding: 1px 3px !important;
}

.multiselect-container.dropdown-menu > .active:not(.multiselect-group):not(.multiselect-all) > a,
.multiselect-container.dropdown-menu > .active:not(.multiselect-group):not(.multiselect-all) > a:focus {
	background: #3498db;
}

.multiselect-container.dropdown-menu > .active:not(.multiselect-group):not(.multiselect-all) label {
	color: #fff;
}

.multiselect-container.dropdown-menu > .multiselect-item.multiselect-all > a,
.multiselect-container.dropdown-menu > .multiselect-item.multiselect-all > a:focus {
	background: transparent;
}

.multiselect-container.dropdown-menu > .multiselect-item.multiselect-all label {
	color: #3498db;
	border-bottom: #ccc 1px solid;
}

.multiselect-container .multiselect-group a,
.multiselect-container .multiselect-group a:focus,
.multiselect-container .multiselect-group a:hover {
	border-top: #ddd 1px solid;
	background: #f0f0f0;
	font-size: 12px;
}

.multiselect-container .multiselect-group label {
	color: #888;
}

.multiselect-clear-filter {
	color: #b3b3b3;
    padding: 5px 10px;
    height: 30px;
}



/* --- Datepicker for Bootstrap update --- */

.datepicker table tr td.new,
.datepicker table tr td.old {
    color: #ddd;
}

.datepicker .cw {
    color: #acf;
}

.datepicker-days thead {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 5px;
    padding-top: 10px;
}

.datepicker table tr td,
.datepicker table tr th {
    width: 34px;
    height: 33px;
}

.datepicker table tr td.highlighted {
    background-color: #eaf7ff;
}

.datepicker table tr td.active:active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active {
    background-color: #3498db;
}

.datepicker table tr td.active:active:hover,
.datepicker table tr td.active.highlighted:active:hover,
.datepicker table tr td.active.active:hover,
.datepicker table tr td.active.highlighted.active:hover,
.datepicker table tr td.active:active:focus,
.datepicker table tr td.active.highlighted:active:focus,
.datepicker table tr td.active.active:focus,
.datepicker table tr td.active.highlighted.active:focus,
.datepicker table tr td.active:active.focus,
.datepicker table tr td.active.highlighted:active.focus,
.datepicker table tr td.active.active.focus,
.datepicker table tr td.active.highlighted.active.focus {
    background-color: #2a80c0;
}



/* --- Html Editor TinyMCE update --- */

.mce-container, .mce-container *, .mce-widget, .mce-widget *, .mce-reset {
	font-family: 'Inter', Arial;
}

.mce-panel {
	background: #fafafa !important;
}

.mce-btn {
	background: transparent !important;
}

.mce-btn:hover {
	background: #f0f0f0 !important;
}

.mce-flow-layout-item:not(.mce-menubtn) {
	margin-top: 0;
}

.mce-floatpanel.mce-menu {
	background: #fff !important;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.mce-menu-item .mce-ico {
	margin-right: 4px !important;
}

.mce-primary button {
	background-color: #3498db;
	border-color: #3498db;
}

.mce-primary button {
	background-color: #3498db;
	border-color: #3498db;
}

.mce-primary button:hover {
	background-color: #2a80c0;
	border-color: #2a80c0;
}



/* --- Fullcalendar theme update --- */

.fc-toolbar h2 {
	font-size: 16px;
    margin-top: 7px;
}

.fc-event {
	border-radius: 0;
	background-color: #3294d0;
	border: 1px solid #3294d0;
	font-size: 12px;
	line-height: 1.1em;
	font-weight: bold;
}

.fc-event > .fc-content {
	padding: 0;
}

.fc-time-grid-event.fc-short .fc-time:after {
	content: "\000A0";
}

.fc-event:hover {
	background-color: #2d8ac8;
	border-color: #2d8ac8;
	color: #f8f8f8;
}

.fc-event.fc-draggable,
.fc-event.ui-draggable-dragging {
	cursor: move;
}
.fc-event.fc-event-vert,
.fc-event-vert > .fc-event {
	padding: 0 0 1px;
}
.fc-day-number {
	opacity: 1;
	filter: alpha(opacity=100);
}

.fc-event-hori,
.fc-event-vert {
	border-radius: 0 !important;
	border-color: transparent;
}
.fc-event-vert .fc-event-content {
	padding-left: 1px;
	padding-right: 1px;
}
.fc-event-vert .fc-event-time {
	padding: 0;
}
.fc-state-active {
	background-image: none;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.125) inset;
	outline: 0 none;
	cursor: default !important;
}

.fc .fc-button-group > * {
	margin: 0 1px 0 0;
}

@media only screen and (max-width: 480px) {
	.fc-header td {
		display: block;
		width: auto;
		text-align: left;
	}
}

.fc button .fc-icon {
	top: 1px;
}

.fc th.fc-day-header,
.fc .fc-axis{
	padding: 4px 4px;
	vertical-align: middle;
}

.fc-unthemed .fc-content,
.fc-unthemed .fc-divider,
.fc-unthemed .fc-popover,
.fc-unthemed .fc-row,
.fc-unthemed tbody,
.fc-unthemed td,
.fc-unthemed th,
.fc-unthemed thead {
	border-color: #ccc;
}

.fc-nonbusiness {
	background: #e0e0e0;
}

.fc-ltr .fc-time-grid .fc-event-container {
	margin: 0;
}

.fc-content {
	padding: 0;
}

.fc-center h2 {
	font-weight: bold;
}

.fc-toolbar {
	margin-bottom: 0;
}

.fc-state-active,
.fc-state-down {
	background-color: #f9f9f9 !important;
	box-shadow: none !important;
	border-color: #ccc !important;
}

.fc-view-container {
	background-color: #fff;
}

#calendarDescription {
	display: none;
	margin-bottom: 10px;
}

#calendarTouchUsage {
	display: none;
	color: maroon;
	margin-bottom: 5px;
}
