body, .ui-widget {
  font-family: "Poppins", sans-serif !important;
  background-color: #fcfcfc;
  touch-action: none;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1340px;
        width: 100%;
    }
    #picture_modal #preview_holder {
        vertical-align: middle;
    }


    :not(html):not(body):not(.modal)::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    :not(html):not(body):not(.modal)::-webkit-scrollbar-track {
        background: rgba(155, 155, 155, 0.2);
    }
    :not(html):not(body):not(.modal)::-webkit-scrollbar-thumb {
        background-color: rgba(155, 155, 155, 0.5);
        border-radius: 0.5rem;
        border: transparent;
    }
    :not(html):not(body):not(.modal)::-webkit-scrollbar-thumb:hover {
        background-color: rgba(155, 155, 155, 0.8);
        transition: 0.5s all ease-in;
    }

    .scroll-big::-webkit-scrollbar {
        width: 16px !important;
        height: 16px !important;
    }

}
img, .img-thumbnail {
    touch-action: pan-x pan-y;
}
.modal-backdrop {
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 1 !important;
    transition: 40ms backdrop-filter;
}
.modal .close {
    color: white !important;
    opacity: 0.8;
}
.modal-header .text-muted {
    color: #f5f5f5 !important;
}
.modal-left .modal-header {
    background-color: #fff !important;
}

.max100 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.ui-autocomplete {
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 65vh !important;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1500 !important;
}

span.mention,
a.mentionAsset,
span.mentionAsset {
    background-color: #cecece99;
    padding-left: 2px;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    border-radius: .6rem;
    font-size: 0.7rem;
}
span.mention.active {
    font-weight: bold;
}
span.mention::before,
a.mentionAsset::before,
span.mentionAsset::before {
    content: '@ ';
    font-weight: bold;
    color: #333;
    padding-top: 2px;
    font-size: 0.9rem;
}
a.mentionAsset::before,
span.mentionAsset::before {
    content: '#';
    font-size: 0.8rem;
    margin-right: 4px; /* Using margin to add space between the # and text*/
    display: inline-block; /* Needed to apply the text-decoration style */
    text-decoration: none; /* Remove the underline from below the # */
}
span.mention:hover {
    background-color: #cecece;
    cursor: help;
}
.tagInfoPopover { text-align: center; }
.assetCardPhoto {
    background: radial-gradient(circle, #000 0%, #333 100%);;
    margin-top: -0.6rem;
    border-radius: 0.4rem 0.4rem 0 0;
    padding: 1rem;
}

.tooltip {
    z-index: 1600;
    font-weight: 350;
    font-size: 0.79rem;
}
body, .form-control, .btn, .dropdown-menu, .input-group-text, .ui-widget {
  font-size: 0.8rem;
}
h1, .h1 {
  font-size: 2.5rem;
}
h2, .h2 {
  font-size: 2.1rem;
}
a {
	color: #333;
}
a:hover {
	text-decoration: underline;
	color: #555;
}
a.sort { cursor: pointer; }
.parsed a {
    text-decoration: underline;
}
.parsed p:last-child {
    margin-bottom: 0.4rem;
}
.parsed h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}
.parsed h2 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}
.parsed h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}
.parsed h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.parsed h5 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

blockquote h1 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

blockquote h2 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

blockquote h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

blockquote h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

blockquote h5 {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

@media screen and (max-width: 576px){
    #notifications_dropdown{
        right: -45px;
        left: auto;
    }
    #bookmarksMenuDropdown  {
        right: -110px;
        left: auto;
    }
    #stopwatchDropdown {
        right: -175px;
        left: auto;
    }
}

.brand-link {
    color: #fff;
    margin-left: 25px;
}

.brand-link:hover {
    color: #ddd;
    text-decoration: none
}
.sticky-tabbar { top: 45px !important; }
.cursor-pointer { cursor: pointer; }
.cursor-move { cursor: grab; }
.cursor-help { cursor: help; }
.badge {
    box-shadow: 0.025rem 0.025rem rgba(0, 0, 0, 0.1);
    border-radius: 0.3rem;
}
.has-tags { padding-top: 5px; }
.has-tags .badge {
	padding: 5px;
	font-size: 100% !important;
	display: inline-block;
	margin: 3px;
}
.card-header {
    background-color: #ededed;
}
.sticky-top .card-header {
    border-bottom: 0;
}

.select-hint {
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 2px;
}


.skeleton { height: 0.8rem; background-color: #f3f3f355; margin-bottom: 4px; border-radius: 3px; }
.modal-header .modal-title, .overflow-ellipsis  { white-space: nowrap;  overflow: hidden;  text-overflow: ellipsis;}
.modal-dialog { box-shadow: 0 0rem 2rem rgba(0, 0, 0, 0.4) !important; border-radius: 0.5rem; }
.modal-content { border-radius: 0.5rem; }

.searchIconBtn, .menuIconBtn { margin-top: -5px;}
.input-group .btn-form-control {
    background-color: white;
    border-top-color: #ced4da !important;
    border-bottom-color: #ced4da !important;
}

.userMenu, .notificationsBtn, .bookmarksBtn, .spacesBtn, .stopwatchBtn { margin-top: -8px !important;}
.pulse_2s {
    animation: pulse 2s infinite;
}

.trash-icon:hover {
    color: red;
}

.user_photo {
    padding: 2px;
    border: 1px solid #e6e6e6;
    background-position: center;
    background-size: cover;
}
.userMenu .user_photo {
    width: 38px;
    height: 38px;
    display: inline-block;
    margin-top: -10px;
    margin-bottom: -14px;
}
#userMenuDropdown .user_photo {
    width: 150px;
    height: 150px;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#searchResults, #relation_searchResults, #newPerson_searchResults, #newGroup_searchResults, .newTicket_searchResults {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 35px;
    z-index: 999;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 60vh;
    overflow: auto;
    transition: 5s all;
}
.ui-menu-item:hover { margin: 0 !important; padding-left: 1px; padding-top: 1px; }

#searchResults { max-height: 50vh;}
#relation_searchResults, #newPerson_searchResults, #newGroup_searchResults, .newTicket_searchResults{ max-height: 40vh;  }
#searchResults .list-group-item, #relation_searchResults .list-group-item, #newPerson_searchResults .list-group-item, #newGroup_searchResults .list-group-item, .newTicket_searchResults .list-group-item { padding: 3px; padding-left: 10px; padding-right: 10px; cursor: pointer; }
.searchbar-icon {
    color: rgba(0,0,0,0.20);
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.5rem;
    float: left;
}
.searchbar-label {
    background-color: rgba(0,0,0,0.1);
    color: #333;
    margin-right: 0.3rem;
    padding: 0.25rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.photo-holder {
    background-color: #f5f5f5;
    border-radius: 0.3rem;
    border: 1px solid #f5f5f5;
    margin-right: 5px;
    margin-top: 3px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background-position: center;
    background-size: cover;
}

.photo-holder-50 {
    width: 50px;
    height: 50px;
}

.photo-holder-35 {
    width: 35px;
    height: 35px;
}


#loader {
    background-color: rgba(0, 0, 0, .85);
    border-radius: 1rem;
    border: rgba(0, 0, 0, .9);
    color: #eee;
    z-index: 9999!important;
    position: fixed;
    top: 40%;
    left: 50%;
    margin-left: -100px;
    margin-top: -65px;
    padding-top: 25px;
    width: 220px;
    height: 150px
}

.selectFromList span {
    transition: .2s all
}
.selectFromList {
    flex-wrap: nowrap !important;
}
.adminEdit {
    padding: 4px;
    margin-bottom: -8px;
    border-radius: 0 0 0.25rem 0.25rem;
    color: #95a5a6;
    display: block;
    background-color: #eee;
    font-size: 80%;
    text-align: center;
}

.select2 {
    background-color: #fff;
}

.select2-search__field[placeholder] {
    padding-left: .5rem !important;
    color: #7b8a8b;
}
.select2-search__field[placeholder]::placeholder {
    color: #95a5a6;
    opacity: 1; /* Firefox */
}

.select2-selection--multiple:before {
    content: "";
    position: absolute;
    right: 7px;
    top: 42%;
    border-top: 5px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}
.select2-results__option[aria-selected="true"], .select2-results__option[aria-selected="true"] small.text-muted { color: white !important;}

.searchresults { 
    border-radius: 0 0 0.5rem 0.5rem; 
    position: fixed !important;
}

.select2-container--4e.select2-container--focus.select2-container--open .select2-selection {
    border-bottom: 1px solid #ced4da;
    border-radius: .3rem!important;
}

#n4z_blog_content { max-height: calc(100vh - 300px); overflow: auto; }
#oauthLoginOr { border-bottom: 1px solid #ccc; line-height: 0.1em; }
#oauthLoginOr span {  background: #eee; padding: 0 10px; border: 1px solid #bbb; border-radius: 1rem; }

.waffleMenuBtn {
    padding: 1rem !important;
    margin: -0.8rem;
    margin-right: 1rem;
}

#floatingNoticeHolder {
    width: 340px;
}
.floatingNotice, #floatingNoticeHolder {
    z-index: 1055;
    position: fixed;
    right: 20px;
    top: 54px
}
.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 1025;
}
.dynamicNotice, .floatingNotice .alert, div[class^="floatingNoticeID_"] .alert {
    box-shadow: 0 0 3rem rgba(0, 0, 0, .45)!important;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.floatingNotice .bar, div[class^="floatingNoticeID_"] .bar {
    background-color: rgba(0,0,0, 0.25);
    margin-left: -1.3rem;
    margin-right: 2.8rem;
    margin-bottom: -1rem;
    margin-top: 0.4rem;
    height: 3px;
    border-radius: 0.5rem;
    animation: fill_to_right 6.5s;
}

.is-invalid { border-color: #B11B4E;}

.alert-success, .alert-success a {
    background-color: #5cb85c;
    color: #033D28;
}
.text-success { color: #033D28 !important; }

.alert-info, .alert-info a {
    background-color: #eee;
    color: #333;
}
.dynamicNotice.alert-info {
    border: 1px solid #bbb;
}
.text-info { color: #0D3BA4 !important; }

.alert-warning, .alert-warning a, .bg-warning {
    background-color: #FDCB6C !important;
    color: #B35906;
}

.text-warning { color: #B35906 !important; }

.alert-danger, .alert-danger a {
    background-color: #F17788;
    color: #961057;
}

.has-sidebar-expanded .locked {
    width: calc(100% - 220px);
}

.locked {
    padding: 0.75rem 1.25rem;
    width: calc(100% - 90px);
    right: 0;
    transition: 0.2s all;
}

.locked-warning {
    position: fixed;
    bottom: 0px;
    z-index: 1000;
}

#lockedText {
    position: relative;
    font-size: 15px;
    top: 8px;
    margin-left: 60px;
    text-align: center;
}

.locked-shadow {
    position: relative;
    box-shadow: 0 -10px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width:991px) {
    .locked {
        margin-bottom: 74px;
        width: 100% !important;
    }

    #lockedText {
        margin-left: 0;
    }
}

.text-danger { color: #961057; }

.floatingNotice:hover {
    cursor: pointer;
    transition: .2s all
}

.floatingNotice .fa-times {
    margin-left: 20px;
    margin-top: 2px
}

.prettyTable thead th {
    white-space: nowrap;
}

#widgets_holder .card-icon {
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 0;
    font-size: 70px;
    color: rgba(0,0,0,0.15);
}



#widgets_holder .card-body a { color: #fff; font-weight: bold; }

.nav-link { padding: 0.5rem 1.4rem; }

#sidebar {
    bottom: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 60px;
    z-index: 1025;
    box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22) !important;
    transition: 0.2s all;
    background-color: #0d0e12 !important;
    border-right: 1px solid #bbb;
}

#sidebar .btn-group { position: absolute !important; bottom: 10px; left: 50%; margin-left: -28px; }
#sidebar .editSidebarBtn, #sidebar .expandBtn { width: 28px; }
#sidebar-inner {
    position: relative;
    margin-top: 45px;
    text-align: center;
    height: calc(100% - 90px);
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
#sidebar a {
    font-size: 130%;
    z-index: 9999999999 !important;
}
#sidebar .sidebar-icon {
    color: #fafafa;
}
#sidebar a span {
    color: #ccc !important;
}

#sidebar button {
    background-color: #eee !important;
}

#sidebar button i {
    color: #0d0e12 !important;
}


.sidebar-normal {
    width: 90px  !important;
}
.sidebar-normal span { display: block;  }
.has-sidebar-normal {  padding-left: 90px; }
.sidebar-expanded { width: 220px !important; }

.sidebar-expanded li a {
    padding-left: 20px;
    display: block;
    text-align: left!important;
    font-size: 100% !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.sidebar-expanded li a .fa-fw { margin-right: 10px !important; margin-left: -5px !important; }
.sidebar-expanded li a:hover { background-color: rgba(0,0,0,0.1); text-decoration: none; }
.has-sidebar-expanded { padding-left: 230px; }

.page-container {
    transition: 0.2s all;
    min-height: 100vh;
}
#pageTitle #pageTitleSpan, #pageTitle #pageTitleIcon {
    text-shadow: 0 0 10px #ccc;
}
.page-item.disabled .page-link {
    background-color: #333;
}

.card { border-radius: 0.45rem; }
.card-footer:first-of-type { border-top: 0; }

ul.nav {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

ul.nav li {
    display: inline-block;
    float: none;
}

.relationWith_application b.objectID:before, .relationWith_certificate b.objectID:before, .relationWith_database b.objectID:before, .relationWith_server b.objectID:before, .relationWith_contract b.objectID:before,
.relationWith_application s.objectID:before, .relationWith_certificate s.objectID:before, .relationWith_database s.objectID:before, .relationWith_server s.objectID:before, .relationWith_contract s.objectID:before
{
    font-family: "Font Awesome 5 Free"; font-weight: 900;  margin-right: 10px;
}

.relationWith_application b.objectID:before, .relationWith_application s.objectID:before {content: "\f1b3"; color: #337ab7;}
.relationWith_certificate b.objectID:before, .relationWith_certificate s.objectID:before {content: "\f0a3"; color: #f4870d;}
.relationWith_database b.objectID:before, .relationWith_database s.objectID:before {content: "\f1c0"; color: #605ca8;}
.relationWith_server b.objectID:before, .relationWith_server s.objectID:before {content: "\f233";  color: #dd4b39;}
.relationWith_contract b.objectID:before, .relationWith_contract s.objectID:before {content: "\f56c";  color: #4b8b3b;}
.relationBlock:hover {background-color: rgba(98, 33, 129, 0.075); }

.form-group {
    margin-bottom: 0.8rem;
}

.form-control-xs {
    height: calc(1.13255rem + 2px);
    padding: 0.15rem 0.3rem;
    font-size: 0.8203125rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
.popover {
    border-radius: 0.5rem;
}
.popover-header { border-radius: 0.5rem 0.5rem 0 0; }
.popover-header .text-muted { font-size: 85%; font-weight: 400; }


p>code { background-color: #fafafa; padding: 0.08rem; border-radius: 0.1rem; }
pre>code {
    display: block;
    line-height: 1.6;
    border: 1px solid #ddd;
    background-color: #22272e;
    color: #fff;
    border-left: 4px solid #e83e8c;
    border-radius: 0.25rem;
    font-size: 0.95em;
    padding: .3rem;
    padding-left: 2.6em;
    white-space: pre;
    overflow: auto;
    max-height: 25rem;
    margin-right: 3rem;
}


pre>code.language-php {border-left-color: #474a84; }
pre>code.language-js, pre>code.language-javascript{border-left-color: #F0D84F; }
pre>code.language-python { border-left-color: #3572A5; }
pre>code.language-html { border-left-color: #e34c26; }
pre>code.language-css { border-left-color: #563d7c; }
pre>code.language-shell, pre>code.language-bash { border-left-color: #89e051; }
pre>code.language-json, pre>code.language-sql { border-left-color: #f29111; }

.hover-action {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

tr:hover .hover-action {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) {
    .hover-action {
        opacity: 1;
        pointer-events: auto;
    }
}


@media screen and (prefers-reduced-motion: reduce) {
  .btn {
    -webkit-transition: none;
    transition: none;
  }
}

.headerLogo:hover {
    opacity: 0.90;
    transition: all 100ms;
}
.btn:hover, .btn:focus {
  text-decoration: none;
}

.btn:focus, .btn.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(98, 33, 192, 0.10);
    box-shadow: 0 0 0 0.2rem rgba(98, 33, 192, 0.10);
}

.btn.disabled, .btn:disabled {
  opacity: 0.65;
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

a.btn.disabled,
fieldset:disabled a.btn {
  pointer-events: none;
}

.btn-default {
    background-color: #EFEFEF;
    color: #333;
}

.btn-primary:hover {
  color: #fff;
  background-color: #1e2b37;
  border-color: #1a252f;
}
.btn-dark {
    color: #fff;
    background-color: #333;
    border-color: #333;
}

.btn-primary:focus, .btn-primary.focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(98, 33, 192, 0.5);
          box-shadow: 0 0 0 0.2rem rgba(98, 33, 192, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #111;
  background-color: #999;
  border-color: #999;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #1a252f;
  border-color: #151e27;
}

.list-group-item.active .text-muted, .dropdown-item.active:not(:hover) .text-muted {
    color: #ffffffee !important;
}
.list-group a:hover {
    text-decoration: none;
}

.icon-customer, .icon-lead, .icon-prospect, .icon-supplier {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}


.icon-lead { color: #0F9D58; }
.icon-prospect { color: #FFA500; }
.icon-customer { color: #FFED5C; }
.icon-supplier { color: #6B98FF; }
.icon-partner { color: #8E44AD; }

.floatThead-container { background-color: white;}
.table { background-color: white; }
.table thead th { border-top: 0; }
.table tbody tr:last-child td:first-child { border-radius: 0 0 0 0.5rem  !important; }
.table tbody tr:last-child td:last-child { border-radius: 0 0 0.5rem 0 !important; }
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fafafa;
}

.table-hover tbody tr:hover {
    background-color: rgba(98, 33, 129, 0.075);
}

table tr.item-recycled {
    opacity: 0.6;
    border-left: 5px solid #fd6c6c;
}

.card .card-header:last-child { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.card .card-header:first-child { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }

td.checkSelect {
    border-right: 1px solid #dee2e6;
    text-align: center;
    width: 40px !important;
    padding: 0 !important;
}
td.checkSelect label {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.75rem;
    cursor: pointer;
}
tr.polyFloatThead {
    height: 0px !important;
    font-size: 0pt !important;
}

tr.polyFloatThead th {
    height: 0px !important;
    font-size: 0pt !important;
    padding: 0!important;
    margin: 0 !important;
}

.modal-xl {
    width: 90% !important;
    max-width: 1800px;
}
.table-responsive {
    overflow-x: auto !important;
}

form.dragOverUpload {
    border-radius: 0.5rem;
    opacity: 0.5;
    outline: 4px dashed #555;
}
tr.dragOverUpload {
    opacity: 0.3;
    transition: 0.1s all;
}

@media (max-width:991px) {
    main {
        padding-top: 43px !important;
    }
    #changedIndicator { display: none !important; }
    #pageTitle {font-size: 180%;}
    .pageTitleRow { margin-top: 30px !important; }
    #pageTitle small { line-height: 120%; font-size: 80% !important; }
    #pageTitle small::before { content: '\A'; display: block; }
    .breadcrumb {
        overflow-x: auto;
        overflow-y: hidden;
        display: -webkit-box;
        display: -moz-box;
        height: 40px !important;
    }
    .container-fluid {
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #mainContent {
        overflow-x: hidden;
        padding-top: 15px;
    }
    #sidebar {
        padding-top: 10px;
        width: 100% !important;
        transition: none
    }
    #sidebar-inner {
        position: relative;
        margin-top: 45px;
        text-align: center;
        height: calc(100% - 45px);
    }
    #sidebar .expandBtn, #sidebar .editSidebarBtn { display: none; }
    .sidebar-normal span, .sidebar-expanded span { display: inline; }
    #sidebar-inner li {
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px
    }
    #sidebar-inner li a {
        display: block !important;
        text-align: left !important;
        padding-left: 15px;
    }
    #sidebar-inner li a span {margin-left: 4px;}
    #primarySearch {
        transition: none
    }
    .page-container {
        padding-left: 0
    }
    .nav-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        display: -webkit-box;
        display: -moz-box;
    }
    .nav-tabs>li {
        float:none;
    }
    #spacesDropdown {
        margin-right: -6rem;
    }
    .spacesBtn { margin-top: -14px !important; }
    #waffle { height: 75vh !important; }

    #mobile_footer_holder {
        background-color: white;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        height: 75px;
        border-top: 1px solid #ccc;
        touch-action: manipulation;
    }
    #mobile_footer {
        height: 100%;
        width: 100%;
        padding: 10px;
    }

    #mobile_footer .mobile_btn {
        width: 25%;
        cursor: pointer;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        font-size: 1rem;
        border: 0;
        line-height: 0.8rem;
        background-color: rgba(0,0,0,0.01) !important;
    }

    #mobile_footer .mobile_btn i {
        font-size: 1.1rem;
        height: 20px !important;
    }
    #mobile_footer .mobile_btn .mobile_txt {
        font-size: 0.7rem;
    }

    .modal, .modal-content, body {
        margin-bottom: 90px !important;
    }

    #sidebar-inner {
        padding-bottom: 100px !important;
    }
    #sidebar-inner li:hover a{
        color: white;
        text-decoration: none;
    }
    #sidebar-inner li {
        padding: 0;
        border-bottom: 1px solid #222;
    }
    #sidebar-inner li a {
        padding: 0.5rem;
        touch-action: manipulation;
    }
}

.searchInApp_results {
    max-height: min(35vh, 300px) !important;
}

@media (max-width: 1200px) {
    .modal-xl, .modal-lg, .modal-xxl {
        width: calc(100% - 1rem) !important;
        margin-left: 1rem;
        max-width: 100% !important;
    }

    /* Force a scrolbar in .searchInApp_results on all mobile devices */
    .searchInApp_results {
        max-height: 300px !important;
        height: auto !important; /* Zorgt dat de hoogte zich aanpast aan de content */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
    }
}

@media (max-width: 1600px) {
	.form-group label.col-form-label.text-md-right {
		padding-right: 0;
	}
}

@media (min-width:992px) {
    .btn-neighbours span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
        height: 1.1rem !important;
        padding-top: 0.1rem;
        z-index: 100;
    }
    .buttondiv {padding-top: 0.25rem !important; }
    #sidebar {
        display: block
    }
    .sidebar-normal .menu-item { white-space: nowrap; width: 100%; overflow: hidden; text-overflow: ellipsis;  padding-top: 4px !important; padding-bottom: 1px !important; }
    .sidebar-normal .menu-item a { width: 100%; display: block; }
    .sidebar-normal .menu-item a:hover {  text-decoration: none !important; }
    .sidebar-normal .menu-item a span { font-size: 55%; color: #666 }
    .popover {
        max-width: 30vw;
    }
    #notifications_dropdown, #bookmarksMenuDropdown, #spacesDropdown, #stopwatchDropdown {
        min-width: 500px;
        overflow-x: hidden;
    }
    #stopwatch_holder {
        overflow-x: hidden;

    }

    .table-responsive {
        overflow-x: unset;
    }
    main {
        padding-top: 60px !important;
    }

    #picture_modal .thumbnails-container {
        display: inline-block;
        padding-left: 2rem;
        padding-right: 2rem;
        overflow-x: auto;
        white-space: nowrap;
        scroll-behavior: smooth;
        justify-content: center;
        align-items: center;
    }

    #picture_modal .thumbnail-image {
        width: 50px;
        height: 50px;
        color: #888;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #eee;
        background-position: center;
        border-radius: 0.2rem;
        background-size: cover;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        border: 2px solid #eee;
        flex: 0 0 auto;
        margin: 5px;
    }

    #picture_modal .thumbnail-image i {
        font-size: 25px !important;
        line-height: 1;
    }

    #picture_modal .thumbnail-image .fa-file-image {
        font-size: 25px !important;
        color: rgba(255,255,255,0.01); /* some stupid polyfill */
        line-height: 1;
    }

    #picture_modal .thumbnail-image.active {
        transform: scale(1.4);
    }

    #picture_modal .thumbnail-image:hover {
        transform: scale(1.4);
        transition: all 0.2s;
    }
}

@media (min-width:1200px) {
    .timeline-userHolder {
        max-width: 74px !important;
    }

    .timeline-messageHolder {
        max-width: calc(100% - 74px) !important;
    }

    .timeline-divider {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 50px
    }

    .timeline-line {
        flex-grow: 1;
        height: 2px;
        background-color: #f5f5f5;
    }

    .timeline-month, .timeline-day, .timeline-pinned {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fff;
        padding: 5px 10px;
        border: 1px solid #ccc;
        font-weight: 500;
        color: #888;
        border-radius: 0.5rem;
        z-index: 1;
    }
}

.breadcrumb { position: absolute; left: -20px; right: 0px !important; top: -15px; padding-left: 40px; font-size: 95%; border-bottom: 1px solid #dee2e6; background-color: #f5f5f5; }
.breadcrumb-item + .breadcrumb-item::before { content: ">"; }
.pageTitleRow { margin-top: 22px; }
#newSearchBox {
    border: 0;
    border-radius: 4px 0 0 4px;
    background-color: #ffffffbb;
    transition: all 0.2s;
    height: 38px;
}

#newSearchBox::placeholder {
    color: #898989;
}

#newSearchBox:focus, #newSearchBox:active {
    background-color: #ffffff;

}

.dropdown-menu-pageHeader {
   max-width: 350px;
   max-height: 80vh !important;
   overflow-y: auto;
}
.dropdown-menu-pageHeader .dropdown-item {
    white-space: normal !important;
}
a.dropdown-item.active:hover, a.dropdown-item.active:hover .text-muted { color: white !important; }

.required {
    color: red;
}

.toggleCollapsedContent {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 40px;
    font-size: 90%;
    color: #666;
}
.toggleCollapsedContent:hover {
    color: black !important;
    text-decoration: underline;
    background-color: #fafafa20;
}
.content-collapsed {
    max-height: 300px;
    overflow-y: hidden;
    mask-image: linear-gradient(180deg, #000 55%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.expandText, .collapseText { border: 1px solid #dee2e6; border-radius: 0.5rem; padding-left: 0.5rem; padding-right: 0.5rem; background-color: #fefefe;}

.fade-x {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.fade-x::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1rem;
    background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.parsed blockquote, .markdown-content blockquote, blockquote.quote {
    border: 1px solid #eee;
    border-left: 4px solid #ccc;
    border-radius: 0.3rem;
    background-color: #fafafa;
    padding: 0.4rem;
    margin: 0.4rem;
    color: #666;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
}

blockquote.quote {
    max-height: 8rem;
    overflow: hidden;
}

.timeline_item img, #request_html img, #article_html img, #content_html img, .together img, .CodeMirror .editor-preview img {
    max-width: 100%;
    max-height: 60vh;
    border: 1px solid #ccc;
    padding: 2px;
    border-radius: 3px;
}
.parsed img:hover {
    border: 1px solid #999 !important;
}

.commentresultWrapper ul li {
    min-height: 3.7rem;
}
/*
this causes tagging result to display behind the following timeline items
(only when editing another timeline item)
*/
/* .timeline_item {
    z-index: 2;
} */

.timeline_item {
    border-radius: 0.2rem 1rem 1rem 1rem;
}
.order-2 > .timeline_item:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid rgba(0, 0, 0, 0.125);
    border-top: 5px solid rgba(0, 0, 0, 0.125);
    border-bottom: 5px solid transparent;
    left: -11px;
    top: 30px;
}


.order-1 > .timeline_item:before {
    content: "";
    width: 0px;
    height: 0px;
    border: 0;
}

.order-1 > .timeline_item:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 5px solid rgba(0, 0, 0, 0.125);
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.125);
    border-bottom: 5px solid transparent;
    right: -11px;
    top: 30px;
}

.timeline_line i {
    z-index: 100 !important;
}

.max-vw-30 {
    max-width: 30vw;
}

@media (max-width: 767px) {
    .sm-vert-align-sub {
        vertical-align: sub;
    }
}

.mt-n1 {
  margin-top: -0.25rem !important;
}

@media (min-width: 435px) {
    .tickets-index-mt-0 {
        margin-top: 0px !important;
    }
}

.suggestion-box {
    position: absolute;
    z-index: 99999 !important;
    padding: 2px;
    border-radius: 3px;
    border: 1px solid #ddd;
    background-color: white;
    display: none;
}

.note-editor {
    border-radius: 0.25rem;
}
.note-editor .note-btn {
    background-color: #eee;
    border-color: #fff !important;
}
.note-editor .btn-group .note-btn:first-of-type {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}
.note-editor .btn-group .note-btn:last-of-type {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
.note-codable {
    background-color: #111 !important;
}

@media (max-width: 384px) {
    .headerLogo {
        display: none;
    }
}

#saveChangesBox, #withSelectedOptions  {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 0;
    width: 400px;
    z-index: 100;
    background-color: #fff;
    box-shadow:0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
}

#saveChangesBox.card, #withSelectedOptions.card {
    border-radius: 0.45rem 0.45rem 0 0 !important;
    border: 0;
}
#saveChangesBox .card-body, #withSelectedOptions .card-body {
    border-radius: 0.45rem 0.45rem 0 0 !important;
    background-color: #ededed;
	border: 1px solid #dee2e6;
    border-bottom: 0;
}


button#filterSettings:hover .badge-primary, .card .nav-link.active .badge-primary {
    background-color: white !important;
    color: #333 !important;
}

#documentsTable thead tr th a:hover,
#timesheetsTableHolder thead tr th a:hover {
    text-decoration: underline;
    color: #555;
    cursor: pointer;
}
#albumHolder .picture {
    height: 150px;
    max-width: 100%;
    background-position: center;
    background-size: cover;
    border-radius: 0.4rem;
    cursor: pointer;
}

@media (min-width: 992px) {
    #albumHolder .picture .dragPolyfill {
        height: 100%;
        width: 100%;
        display: none;
        opacity: 0.001;
    }
    #albumHolder .picture:hover .dragPolyfill  {
        display: inline;
    }
}


/* BOOTSTRAP POLY-FILL FOR SWITCHES */

.custom-switch {
    padding-left: 2.25rem;
    /* --switchPrimaryColor: #36B6A9; */
    --switchPrimaryColor: 54, 182, 169; /* RGB representation of #36B6A9 */
}

.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.custom-switch .custom-control-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 6px);
    height: calc(1rem - 6px);
    background-color: #adb5bd;
    border-radius: 0.5rem;
    transition: transform .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-transform .15s ease-in-out;
}

.custom-switch .custom-control-input:checked~.custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
}

.custom-switch .custom-control-input:checked~.custom-control-label::before {
    background-color: rgba(var(--switchPrimaryColor), 1);
}

.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
    background-color: rgba(var(--switchPrimaryColor), 0.5);

}
.custom-switch .custom-control-input:disabled:checked~.custom-control-label::after {
    background-color: #fff;
}

.custom-switch .custom-control-input:disabled~.custom-control-label {
    color: #6c757d;
}

.custom-switch .custom-control-input:disabled~.custom-control-label::before {
    background-color: #e9ecef;
}

.custom-switch .custom-control-input:focus~.custom-control-label::before {
    /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
    box-shadow: 0 0 0 0.2rem rgba(124, 140, 156, 0.25);
}

.custom-switch .custom-control-input:checked:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(var(--switchPrimaryColor), 0.25);
}
/* .custom-switch .custom-control-input:checked:focus~.custom-control-label::after {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
} */


.user_photo_holder {
    position: relative;
}

.user_photo_holder div:hover~.change-picture-text,
.user_photo_holder i:hover~.change-picture-text,
.change-picture-text:hover {
    opacity: 1;
}

.user_photo_holder div:not(.change-picture-text)~.change-picture-text,
div:not(.change-picture-text)~.change-picture-text {
    top: 50%;
    width: 150px;
    height: 150px;
}

.user_photo_holder i~.change-picture-text,
i~.change-picture-text {
    top: 52%;
    width: 64px;
    height: 64px;
}

.change-picture-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 50%;
    left: 50%;
    background-color: rgba(240, 240, 240, 0.7);
    color: #505050;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

#preview_holder img {
    max-height: calc(80vh - 60px);
}

#preview_holder iframe {
    height: calc(80vh - 50px);
}

/* Only set height on #preview_holder on mobile devices */
@media (max-width: 768px) {
    #preview_holder {
        height: 68dvh;
    }

    #preview_holder img {
        max-height: calc(68dvh - 50px);
    }
    #preview_holder iframe {
        height: calc(68dvh - 1rem);
    }
}

.delete-modal, #deleteModal, #reservations_deleteModal, #eventActionModal {
    animation: shake 0.6s;
}

