/* GENERIC */
.textbox-no-resize {
    resize: none !important;
}

.wysihtml5-sandbox {
    width: 100% !important;
}

.post-save-changes {
    float: right;
}

@media screen and (max-width: 767px) {
    .post-save-changes {
        float: none;
        margin-bottom: 20px;
    }
}

.title-with-button {
    margin-bottom: 30px;
}

h2.button-title {
    margin: 0 !important;
    line-height: 44px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-0 {
    margin: 0 !important;
}

@media(max-width: 768px) {
    h2.form-title {
        margin-bottom: 20px !important;
        text-align: center;
    }
}

table.table thead tr th {
    font-weight: bold;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-20 {
    margin-right: 20px;
}

/* AFFIX */
.affix {
    top: 10px;
}

@media(max-width: 1199px) {
    .affix {
        position: initial !important;
    }
}

/* MODAL */
.modal-header .close {
    margin-top: -24px;
}

.modal-dialog.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 212px);
    overflow-y: auto;
}

/* VALIDATION ERROR */
.validate-has-error .validate-has-error {
    display: block !important;
}

.validate-has-error > span.validate-has-error {
    margin-top: 0 !important;
}

.input-group + .validate-has-error {
    display: table !important;
    margin-top: 0 !important;
}

[data-uploader].validate-has-error > span.validate-has-error {
    clear: both;
    padding-left: 15px;
    padding-right: 15px;
}

/* LOGIN PAGE */
body.login-page .login-form .form-group .btn-login {
    background: #f7f7f7 !important;
    border-color: #ebebec !important;
    color: #51555d !important;
}

/* LOGOUT */
#logout-form {
    display: none !important;
}

/* SIDEBAR */
.sub-logo {
    display: block;
    float: none;
    margin-bottom: 10px;
}

/* SELECT2 */
.select2 {
    visibility: visible !important;
}

.select2-container.select2-container--open {
    z-index: 99999 !important;
}

.dataTables_wrapper > div .select2-container {
    margin: 0 !important;
}

/* DATATABLES */
.dataTables_wrapper .dt-buttons > .dt-button.disabled {
    background-color: #d4edda !important;
    color: #333 !important;
}

/* FILE UPLOADER */
.ajax-media-uploader .media-name-wrapper .fileinput-filename {
    line-height: 34px;
}

.ajax-media-uploader .media-name-wrapper .fileinput-filename .progress {
    margin-top: 7px;
    margin-bottom: 0 !important;
}

.ajax-media-uploader .media-name-wrapper .close {
    float: none !important;
    margin-left: 5px;
    position: relative;
    top: 2px;
}

/* IMAGE UPLOADER */
.fileinput-button.thumbnail {
    max-width: 320px;
    margin-bottom: 5px !important;
}

.fileinput-button.thumbnail .overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    display: table;
}

.fileinput-button.thumbnail .overlay .overlay-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.fileinput-button.thumbnail .overlay .overlay-wrapper .progress {
    margin: 0 20px;
}

.ajax-image-uploader [data-file-control-for] {
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
    .ajax-image-uploader [data-file-control-for] a {
        display: block;
        margin-bottom: 10px;
    }
}

/* DATEPICKER */
.bootstrap-timepicker-widget.dropdown-menu.open {
    z-index: 99999;
}

.datepicker.datepicker-dropdown {
    z-index: 99999 !important;
}

/* TYPEAHEAD */
.tt-suggestion:hover {
    color: #303641;
    background: #f3f3f3;
    cursor: pointer;
}

.bootstrap-tagsinput .twitter-typeahead {
    width: auto;
}

.bootstrap-tagsinput .twitter-typeahead .tt-hint {
    padding: 0;
    line-height: 1.5;
}

.bootstrap-tagsinput .twitter-typeahead .tt-dropdown-menu {
    min-width: 300px;
}

/* DATERANGE */
.page-body .daterangepicker.dropdown-menu {
    z-index: 99999 !important;
}

/* MULTISELECT */
.ms-selectable, .ms-selection {
    width: 48%;
}

.ms-container .ms-list {
    width: 100%;
    height: 205px;
}

/* MAIN BODY */
.main-content {
    padding-top: 0 !important;
}

/* NAVBAR */
.navbar-blue {
    background: #003471;
    padding-top: 4px;
    margin-left: -20px !important;
    margin-right: -20px !important;
    margin-bottom: 40px !important;
    color: white;
}

.navbar-blue a {
    color: #bfccdb;
}

.sponsor-wrapper {
    margin-right: 50px;
}

.sole24-logo {
    width: 130px;
}

/* DASHBOARD */
.custom-scrollable {
    border: 1px solid #eee;
    border-radius: 4px;
}

.notifications.dropdown .dropdown-menu.not-dropdown {
    width: 100% !important;
    position: initial !important;
    float: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.notifications.dropdown .dropdown-menu.not-dropdown > li {
    border-bottom: none !important;
}

.notifications.dropdown .dropdown-menu.not-dropdown > li .line {
    width: 85% !important;
}

.notifications.dropdown .dropdown-menu.not-dropdown > li > ul > li {
    background: transparent !important;
}

.notifications.dropdown .dropdown-menu.not-dropdown > li > ul > li.unread {
    background: #f5f5f6 !important;
}

.notifications.dropdown .dropdown-menu > li > ul > li.notification-orange > a > i {
    background-color: #ff9600;
}

.notifications.dropdown .dropdown-menu > li > ul > li.notification-purple > a > i {
    background-color: #7c73e6;
}

/* COMPANY INVOICE */
.company-invoice-line {
    margin-bottom: 15px;
}

@media only screen and (max-width: 991px) {
    .company-invoice-line .btn {
        margin-top: 10px;
    }
}

/* REQUEST */
.dataTables_wrapper .dt-buttons > .dt-button.disabled {
    background-color: #d4edda !important;
    color: #333 !important;
}

/* REQUEST STATUS */
tr.pending td {
    background-color: #fff3cd !important;
}

tr.completed td {
    background-color: #d4edda !important;
}

.text-pending {
    color: #856404;
}

.text-completed {
    color: #155724;
}

/* FILESYSTEM */
.filesystem-container {
    height: 700px;
}

.filesystem-container .row,
.filesystem-container .main,
.filesystem-container .sidebar {
    height: 100%;
}

/* Navbar */
.breadcrumb > li a {
    color: #fff;
}

.breadcrumb > li a:hover {
    color: #c0c0c0;
}

.navbar .navbar-form {
    margin: 12px 0 !important;
}

/* Error bar */
.error-bar {
    margin-top: 15px;
    width: 100%;
}

/* Sidebar */
.nav-sidebar > li.active > a {
    color: #303641 !important;
}

.nav-sidebar > li > a:hover,
.nav-sidebar > li > a:focus {
    color: #303641 !important;
}

/* Table */
.sortorder::after {
    color: #303641 !important;
}

.table-files .selected {
    background: #222 !important;
}

.upload-dragover::before {
    color: #222 !important;
}