﻿body {
    padding-top: 50px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

#chatWindow{
     position: absolute;
   left: 20%;
   top: 0;
    z-index: 20;
}

.fixed .content-wrapper {
    padding-top: 0px !important;
}

.sidebar-form input[type="search"] {
    color: #fff !important;
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
}

.sidebar-form input[type="search"], .sidebar-form .btn {
    box-shadow: none;
    background-color: #374850;
    border: 1px solid transparent;
    height: 35px;
}

.typeahead__list {
    position: relative !important
}

.typeahead__container.cancel:not(.loading) .typeahead__cancel-button {
    opacity: 1 !important;
}

.search-result a {
    color: #333 !important;
}

.search-link {
    color: #333
}

@media (max-width: 767px) {
    .content-header {
        padding-top: 80px !important;
    }
}

.you-have-notifications {
    display: none;
    float: right;
    width: 100%;
    padding: 15px;
    width: auto;
    font-weight: bold;
}

.have-notifications .you-have-notifications {
    display: block;
}

@media (max-width: 768px) {
    body.sidebar-collapse .you-have-notifications {
        display: none;
    }
}

@media (max-width: 900px) {
    body:not(.sidebar-collapse) .you-have-notifications {
        display: none;
    }
}

.have-notifications .main-header .navbar .sidebar-toggle:hover,
.have-notifications .main-header .navbar .nav > li > a:hover,
.have-notifications .main-header .navbar .nav > li > a:active,
.have-notifications .main-header .navbar .nav > li > a:focus,
.have-notifications .main-header .navbar .nav .open > a,
.have-notifications .main-header .navbar .nav .open > a:hover,
.have-notifications .main-header .navbar .nav .open > a:focus,
.have-notifications .main-header .navbar .nav > .active > a {
    background: rgba(0, 0, 0, 0.1);
    color: black;
}

.have-notifications .main-header .logo,
.have-notifications .main-header .navbar .nav > li > a,
.have-notifications .main-header .navbar .sidebar-toggle,
.have-notifications .main-header .navbar .nav > li > a,
.have-notifications .main-header .navbar .sidebar-toggle,
.have-notifications .navbar-header .navbar-brand {
    color: black;
}

.skin-blue.have-notifications .main-header .navbar,
.skin-blue.have-notifications .main-header .logo,
.skin-blue.have-notifications .navbar-header,
.skin-blue-light.have-notifications .main-header .navbar,
.skin-blue-light.have-notifications .main-header .logo,
.skin-blue-light.have-notifications .navbar-header {
    background-color: aqua;
}

.skin-yellow.have-notifications .main-header .navbar,
.skin-yellow.have-notifications .main-header .logo,
.skin-yellow.have-notifications .navbar-header,
.skin-yellow-light.have-notifications .main-header .navbar,
.skin-yellow-light.have-notifications .main-header .logo,
.skin-yellow-light.have-notifications .navbar-header {
    background-color: yellow;
}

.skin-red.have-notifications .main-header .navbar,
.skin-red.have-notifications .main-header .logo,
.skin-red.have-notifications .navbar-header,
.skin-red-light.have-notifications .main-header .navbar,
.skin-red-light.have-notifications .main-header .logo,
.skin-red-light.have-notifications .navbar-header {
    background-color: deeppink;
}

.skin-purple.have-notifications .main-header .navbar,
.skin-purple.have-notifications .main-header .logo,
.skin-purple.have-notifications .navbar-header,
.skin-purple-light.have-notifications .main-header .navbar,
.skin-purple-light.have-notifications .main-header .logo,
.skin-purple-light.have-notifications .navbar-header {
    background-color: fuchsia;
}

.skin-green.have-notifications .main-header .navbar,
.skin-green.have-notifications .main-header .logo,
.skin-green.have-notifications .navbar-header,
.skin-green-light.have-notifications .main-header .navbar,
.skin-green-light.have-notifications .main-header .logo,
.skin-green-light.have-notifications .navbar-header {
    background-color: lime;
}

.skin-black.have-notifications .main-header,
.skin-black.have-notifications .navbar-header,
.skin-black-light.have-notifications .main-header,
.skin-black-light.have-notifications .navbar-header {
    background: repeating-linear-gradient( 
        45deg, 
        #F8F9F9, 
        #F8F9F9 10px, 
        #ECF0F1 10px, 
        #ECF0F1 20px 
    );
}

.skin-black.have-notifications .main-header .navbar,
.skin-black.have-notifications .main-header .logo,
.skin-black-light.have-notifications .main-header .navbar,
.skin-black-light.have-notifications .main-header .logo {
    background-color: transparent;
}

.header-standout {
    font-size: 1.7rem;
    font-weight: 700;
}

.ignore-readonly[readonly] {
    background-color: #fff;
}

/* DataTable spinner */
.dataTables_processing {
    top: 64px !important;
    z-index: 1000 !important;
}

input.value-changed::first-line,
textarea.value-changed, select.value-changed, 
li.value-changed, div.value-changed, span.value-changed .select2-selection {
    background-color: #fff9c0;
}

input[type="checkbox"].value-changed {
    box-shadow: 0px 0px 11px 3px rgb(236, 216, 24);
}

@media screen and (min-width: 1350px) {
    .calendar-task-modal {
        min-width: 1302px;
    }
}

@media screen and (min-width: 850px) {
    .create-job-modal {
        min-width: 840px;
    }
}

@media screen and (min-width: 1100px) {
    .business-partner-task-modal {
        min-width: 1080px;
    }
}

.department-tag-item {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

.document-type-item {
    display: inline-block;
    padding: 1px 8px;
    border: 1px solid #3c8dbc;
    border-radius: 4px;
    margin-right: 5px;
    color: #fff;
    background-color: #3c8dbc;
}

.document-upload-section .file-input {
    display: inline-block;
    margin-right: 50px;
    vertical-align: top;
    min-width: 200px;
}

.documents-datatable tr.is-inactive {
    color: grey;
}

.documents-datatable tr {
    height: 40px;
}

.documents-datatable .details-control i.fa {
    cursor: pointer;
}

.swal3-modal .swal3-checkbox {
    justify-content: center;
}

.swal3-modal .swal3-checkbox input {
    margin-right: 10px;
}


.main-sidebar {
    min-width: 65px !important;
}

.main-sidebar .sidebar {
    overflow-y: scroll !important;
}

.presets-btn-wrapper {
    position: absolute;
    z-index: 0;
}

.text_presets_btn {
    z-index: 100;
    position: absolute;
    font-size: 20px;
}

    .text_presets_btn:hover {
        cursor: pointer;
        color: #00a65a;
    }

/*hub styles*/
.hub-field-warning {
    outline: 2px solid #f48f00 !important;
}

.update-field-button {
    font-size: 18px;
    margin: auto 0;
    padding-left: 35px;
    display: none;
}

.html-editor-wrapper {
    display: flex;
}
/*end hub styles*/


.btn-receivePayment {
    background-color: #f76802;
    border-color: #e25d00;
    color: white;
}

    .btn-receivePayment:hover {
        background-color: #e25d00;
        color: white;
    }

p.small-text {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    margin: 0;
}

#partsTable .is-inactive {
    background-color: #dddddd!important;
}

li.select2-selection__choice[title="Select All"] {
    display: none;
}

ul.sidebar-menu a {
    white-space: initial;
}

a[disabled="disabled"],
div.btn.clearSearch[disabled="disabled"] {
    pointer-events: none;
}

.cell-vertical-align-middle {
    vertical-align: middle !important;
}

.document-type-select-item-wrapper {
    display: inline-flex;
}

.document-type-info-icon {
    margin-left: 5px;
}

.document-type-info-icon:hover {
    cursor: pointer;
}

.document-type-info-icon[title] {
    max-width: 250px;
}
}

.word-break {
    word-break: break-all !important;
}

tr.datatables_row-selected {
    background-color: #cbdce9 !important;
}

    tr.datatables_row-selected:hover {
        background-color: #cbdce9 !important;
    }

.btn-brown {
    background-color: brown;
    color: white;
}

    .btn-brown:hover {
        background-color: #850d0d;
        color: white;
    }

.snapshot-list-container {
    list-style: none;
    text-align: left;
    font-size: 16px;
    padding-left: 5px;
    margin-left: 15px;
    margin-bottom: 15px;
    border-left: 1px solid grey;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
}

    .snapshot-list-container li:not(:last-child) {
        margin-bottom: 8px;
    }

.environment-name-section {
    display: inline-flex;
}

.box.box-primary.with-border {
    border: 1px solid #3c8dbc;
}

#page-banner-container {
    min-width: 400px;
}

pre.without-styles {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-weight: inherit;
    font-size: inherit;
    font-style: inherit;
    font-family: inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
}
