.CodeMirror {
    border: 1px solid #eee;
    height: 100%;
}

:root {
    --main-blue-color: #1F4C92;
    --main-yellow-color: #F2E26A;
}

@font-face {
    font-family: 'Outfit';
    src: url('/lib/fonts/outfit/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('/lib/fonts/outfit/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


#outerContainer,
#code,
#renderedDiagram,
form {
    height: 100%;
    width: 100%;
}

.flowTable {
    border: none;
}

.flowTable td,
.flowTable th {
    height: 60px;
    width: 60px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none !important;
}

.actionCell,
.actCell {
    background-color: #FFFCB2;
    border: 1px solid #FEFFCD;

}

.actorCell {
    background-image: linear-gradient(#9FB8FB, #4F76B3);
    color: white;
    border: 1px solid #5C77A8;
}

.actionCell,
.actCell,
.actorCell {
    box-shadow: 4px 2px 8px 0px #ccc;
}

.hover-scale {
    transition: transform 0.1s ease-in-out;
}

.hover-scale:hover {
    transform: scale(1.1); /* Scale up by 10% on hover */
}

.hover-border:hover{
    border: 1px solid var(--main-blue-color);
    border-radius: 6px;
}

/* Inspector */
#colorbox #cboxClose {
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
}

#cboxLoadedContent {
    margin-top: 28px !important;
    margin-bottom: 0 !important;
}

#cboxTitle {
    bottom: auto !important;
    top: 4px;
    color: black !important;
    font-weight: bold;
    text-decoration: underline;
}

#cboxLoadedContent ul,
#cboxLoadedContent ol {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: -17px;
}

#codeCell {
    max-width: 5vw;
}

.item-inputs {
    border-collapse: collapse;
}

.item-inputs th {
    font-weight: bold;
    text-decoration: none !important;
    text-transform: capitalize;
    background-color: papayawhip;
}

.item-inputs th,
.item-inputs td {
    border: 1px solid #444;
    padding: 6px;
}

.item-inputs tr.missing-input {
    /* background-color: #d23232;
    color:white; */
    background-color: #ffa8a8;
}

svg text {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Link alert badges are intentionally interactive, unlike other SVG labels. */
svg [joint-selector="ticketIcon"],
svg [joint-selector="ticketCount"],
svg [joint-selector="breakpointText"] {
    cursor: pointer;
    pointer-events: all;
}

/* Diagram sidebars close from map interactions; keep their controls available
   to that existing logic without displaying an X in the sidebar header. */
button[id$="AccordionClosebtn"]:not(#aiAccordionClosebtn),
#editTicketSidebarClosebtn,
#mapInputOutputLinkAccordionContainerbtn {
    display: none !important;
}

#renderedDiagram-outer {
    padding: 0px;
    position: relative;
    /* max-width:100px; not sure why I need this, but chrome messes up the sidebar without it */
    max-width: calc(100vh - attr(offset));
    /* not sure why I need this, but chrome messes up the sidebar without it */
}

#renderedDiagram-scroll {
    height: 100%;
    width: 100%;
    overflow: auto;
    max-width: 100vw;
    padding: 0px;
    margin: 0px;
    position: relative;
}

/* — Chrome, Edge, Safari — */
#renderedDiagram-scroll::-webkit-scrollbar {
    width: 16px;       /* make vertical scrollbar thicker */
    height: 16px;      /* make horizontal scrollbar taller */
}

#renderedDiagram-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
}

#renderedDiagram-scroll::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 8px;
    border: 3px solid #f0f0f0; /* gives you some padding around the thumb */
}

#renderedDiagram-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* — Firefox — */
#renderedDiagram-scroll {
    /* Firefox only supports these keywords: auto | thin | none */
    scrollbar-width: auto;      /* “auto” is the default, thicker than “thin” */
    scrollbar-color: #888 #f0f0f0;
}

#renderedDiagram-small {
    width: 200px;
    height: 100px;
    position: absolute;
    bottom: 40px;
    right: 40px;
    border: 1px solid black;
    background-color: white;
    opacity: 0.8;
    ;
}

html {
    overflow: hidden;
}



.activityTypes>span>ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    float: none;
}

.activityTypes>span>ul>li {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #CCC;
    overflow: hidden;
    text-indent: -2000px;
}

.activityTypes>span>ul>li.selected,
.activityTypes>span>ul>li:hover {
    border: 1px solid #000;
}

.activityTypes>span>ul>li+li {
    margin-left: 5px;
}

.activityTypes>span>ul>li.labelRed {
    background: red;
}

.activityTypes>span>ul>li.labelGreen {
    background: green;
}

.activityTypes>span>ul>li.labelBlue {
    background: blue;
}

.activityTypes>span>ul>li.labelYellow {
    background: yellow;
}




ul.horizontalNav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #213e5c;
}

.horizontalNav li {
    float: left;
}

.horizontalNav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
.horizontalNav li a:hover {
    background-color: #597fa7;
}

.horizontalNav .xmlValidation {
    background-color: #99e4c2;
    float: right;
    padding: 14px 16px;
}

.horizontalNav .invalid {
    background-color: #e4b199;
}

.CodeMirror-scroll {
    margin-right: 0px !important;
}

.joint-highlight-stroke {
    stroke: maroon !important;
    stroke-dasharray: 10 3;
    stroke-width: 1;
}

#stdWorkEditor {
    height: auto !important;
}


.tippy-fault .tippy-box {
    background-color: maroon !important;
    color: white !important;
}

.tippy-fault .tippy-arrow {
    color: maroon !important;
}

#colorbox,
#cboxWrapper,
#cboxContent {
    overflow: visible !important;
}

.joint-type-flow-act:hover {
    filter: contrast(1.75);
    transition-duration: 0ms;
}

.joint-type-flow-act:hover text,
.joint-type-flow-act:hover text * {
    filter: contrast(1);
}

.joint-type-flow-act.faultElement:hover>rect {
    /*fill: #FF5938;*/
    stroke: #BA5158;
}

.joint-type-flow-act,
.joint-type-flow-act * {
    transition: filter 1.5s;
    transition: fill .2s;
}

.fadedOut g {
    filter: opacity(0);
}

.fadedOut,
.fadedOut rect {
    fill: #FFFFFF00;
}

.fadedOut text {
    display: none;
}

.actorElement:hover>rect {
    fill: #87A1C1;
}

.actorElement.inactive-actor:not(:hover)>rect {
    filter: opacity(0.85);
    fill: #87AACC;
}

.actorElement.actor-reorder-dragging {
    filter: drop-shadow(0 10px 10px rgba(20, 71, 126, 0.28));
    opacity: 0.88;
}

.actorElement.actor-reorder-dragging>rect {
    stroke: #1473e6;
    stroke-width: 3px;
}

.actor-reorder-drop-zone [joint-selector="body"] {
    animation: actor-reorder-dashes 900ms linear infinite;
}

.actor-reorder-drop-indicator {
    filter: drop-shadow(0 5px 7px rgba(20, 71, 126, 0.3));
}

.actor-reorder-drop-indicator [joint-selector="body"] {
    animation: actor-reorder-marker-pulse 1.15s ease-in-out infinite;
}

@keyframes actor-reorder-dashes {
    to {
        stroke-dashoffset: -28;
    }
}

@keyframes actor-reorder-marker-pulse {
    0%, 100% {
        fill: #1473e6;
    }

    50% {
        fill: #2588f2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .actor-reorder-drop-zone [joint-selector="body"],
    .actor-reorder-drop-indicator [joint-selector="body"] {
        animation: none;
    }
}

.joint-type-standard-link:hover path:not(:first-child) {
    stroke: black;
}

.joint-type-standard-link.faultLink:hover path:not(:first-child),
.joint-type-standard-link.faultLink:hover [joint-selector="line"],
.joint-type-standard-link.faultLink:hover .connection {
    stroke: #850B08 !important;
}

.joint-type-swag-interlink:hover rect {
    fill: #796BA4;
}

#mainLogo {
    width: 50px;
    height: 47px;
    background-image: url(../logo_white.png);
    background-repeat: no-repeat;
    background-size: 28px 28px;
    background-position: center;
}


#stdWorkEditor {
    height: calc(100% - 60px) !important;
    /* overflow-y: auto; */
    flex: 1;
}

#stdWorkEditor .ql-tooltip {
    z-index: 100000;
}

#stdWorkEditor .ql-tooltip input[type=text] {
    width: 170px !important;
}

#editTimelineForm .buttons .button {
    padding-left: 8px;
    padding-right: 8px;
}

.focusOut {
    opacity: 0.15;
}


.focusLinked {
    opacity: 0.30;
}

.top.left.toast-container {
    margin-left: 12px;
    margin-top: 48px;
    user-select: none;
}

.top.left.toast-container .dismissableAlert.focusModeToast {
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D5E1EC;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(18, 63, 122, 0.14);
    cursor: pointer;
    display: flex !important;
    min-height: 40px;
    min-width: 0 !important;
    overflow: hidden;
    padding: 7px 36px 7px 10px !important;
    position: relative;
    top: 0;
    transition: border-color 140ms ease, box-shadow 140ms ease;
    width: auto !important;
}

.top.left.toast-container .dismissableAlert.focusModeToast:hover {
    background: #FFFFFF;
    border-color: #AFC6DB;
    box-shadow: 0 5px 14px rgba(18, 63, 122, 0.18);
}

.top.left.toast-container .focusModeToast.ui.toast > .content {
    color: #274A70;
    font-family: Outfit, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 175px;
    min-width: 0;
    padding: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top.left.toast-container .focusModeToast .content > * {
    color: inherit;
    font: inherit;
    margin: 0;
}

.top.left.toast-container .focusModeToast::after {
    align-items: center;
    background: #EEF4FA;
    border-radius: 6px;
    color: #54718E;
    content: "×";
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    height: 24px;
    justify-content: center;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
}

.top.left.toast-container .focusModeToast:hover::after {
    background: #DDEAF5;
    color: #1F4C92;
}

.toast-container .small-icon .icon {
    font-size: 1.2rem !important;
    color: #A2BC90;
}

.top.center.toast-container .dismissableAlert {
    position: relative;
    top: 45px;
    padding: 15px;
    background-color: #D9F3C7;
    color: black;
    box-shadow: 0 0 2px 2px gray;
}

.top.center.toast-container .dismissableAlert:hover {
    background-color: #C6E0B4;
}

.ui.toast:not(.vertical)>i.icon:not(.close)+.content {
    padding-left: 2em !important;
}

.ui.icon.input>i.icon.times {
    cursor: pointer;
}

.ui.icon.input>i.icon.times:before {
    pointer-events: auto;
}

.ui.clearable.icon input:invalid~.times.icon {
    display: none;
}

.ui.clearable.icon input:valid~.search.icon {
    display: none;
}

#searchMapResultsIndex {
    padding-top: 11px;
    color: #444 !important;
    font: normal 12px lato;
    right: 5px;
    width: auto !important;
    position: absolute;
}

.emptySearch .searchActionToggle {
    width: 0px;
    padding: 0px !important;
    overflow: hidden;
}

.emptySearch #searchMapResultsIndex {
    width: 0px !important;
    overflow: hidden;
}

#searchMapField.emptySearch .times.icon {
    width: 0px !important;
    overflow: hidden;
}

#searchMapField:not(.emptySearch) .search.icon {
    width: 0px !important;
    overflow: hidden;
}

#headerSearchForm:not(.emptySearch) {
    width: 368px;
}

.joint-highlight-search rect {

    /* stroke-width: 3px;

    -webkit-filter: drop-shadow( 4px 4px 3px rgba(0, 0, 0, .7));
        filter: drop-shadow( 4px 4px 3px rgba(0, 0, 0, .7)); */
    /* Similar syntax to box-shadow */


    stroke: rgb(40, 167, 44) !important;
    stroke-width: 3;
}

.joint-highlight-search path {
    stroke: rgb(51, 208, 57);
    stroke-width: 3;
    -webkit-filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .7));
    filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .7));
    stroke-dasharray: 10 3;
}

#searchMapField {
    margin-right: 120px;
}

#searchMapField.emptySearch {
    margin-right: 40px;
}

.sortable-chosen {
    background-color: papayawhip;
}

.sortable-ghost {
    opacity: .5;
    background: #C8EBFB;
}

#focusAccordion {
    height: 100%;
    /*width:0px;*/
    background-color: white;
    clear: none;
    transition: width .3s ease-in-out;
    transition-duration: 0s;
    overflow: auto;
    max-height: calc(100vh - 51px);
}

#focusAccordion .accordion .header,
.focusAccordion .accordion .header {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    /* max-height:calc(100vh - 300px); */
}

#focusAccordion .accordion .header {
    padding: 10px;
    padding-bottom: 0px;
    padding-left: 15px;
}

#focusAccordion .accordion .header .buttons {
    margin-top: 10px;
}




#addLinkedTaskAccordion .accordion .header,
.addLinkedTaskAccordion .accordion .header {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    /* max-height:calc(100vh - 300px); */
}

#addLinkedTaskAccordion .accordion .header {
    padding: 10px;
    padding-bottom: 0px;
    padding-left: 15px;
}

#addLinkedTaskAccordion .accordion .header .buttons {
    margin-top: 10px;
}

#accordionContent {
    overflow: auto;
    height: 100%;
    /* max-height:calc(100% - 300px); */
}

#accordionContent .accordion-item {
    overflow: hidden;

    img {
        width: 100%;
    }
}

#accordionContent .inputs {
    padding-left: 12px;
    margin-top: 0px;
    padding-bottom: .5em;
}

#accordionContent .inputs .content {
    padding-left: 0px;
}

#accordionContent .inputs .icon {
    position: relative;
    vertical-align: top !important;
    /* top:2px; */
}

#accordionContent .inputs .header {
    padding-top: 0px;
    padding-left: 0px;

}

/* #accordionContent .inputs .qty:has(.value:empty) {
	display:none;
} */

#accordionContent .inputs .value {
    color: black;
    font-weight: normal !important;
}

#accordionContent .inputs .description {
    font-weight: bold;
    color: #888;
}

#accordionContent .inputs .notes {
    color: rgba(0, 0, 0, 0.6);
    display: block;
    font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 14px;
    overflow-wrap: break-word;
    text-size-adjust: 100%;
}

#accordionContent ol,
#accordionContent ul {
    margin-block-start: .25em;
    margin-block-end: .25em;
}

.ui.styled.accordion #accordionContent .content {
    padding-left: .75em;
    padding-right: .5em;
    padding-bottom: .5em;
}

#accordionContent .notDefined {
    padding-left: 1.5em;
    padding-bottom: 1.5em;
}


#showFullStandard {
    float: right;
    padding: 0px;
}

#showFullStandard.ui.button {
    margin: 0 .25em 0 0;
    color: #444;
    padding: .78571429em 1em .78571429em;
}

/*

#showFullStandard .ui.animated.button .visible.content {
    position: relative;
	margin: 1.5em;
}

#showFullStandard .hidden.content{
	margin-top: -1.5em;
} */

#fullStandardFormContent .container .card {
    width: 100% !important;
    margin-right: 1em;
    margin-bottom: 1em;
}

#fullStandardFormContent .print-header {
    background-color: rgb(224, 225, 226) !important;
    border-color: rgb(224, 225, 226) !important;
    color: rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 10px;
    font-size: larger;
}

#fullStandardFormContent .print-header .header {
    background-color: rgb(224, 225, 226) !important;
    border-color: rgb(224, 225, 226) !important;
    color: rgba(0, 0, 0, 0.8) !important;
    padding: 10px;
}

#fullStandardFormContent .container .ui.card>.content:first-of-type,
#fullStandardFormContent .container .ui.card>.content:first-of-type * {
    background-color: #517294;
    color: white !important;
}

@media print {
    #fullStandardFormContent .print-header {
        display: block;
    }

    html,
    body {
        height: initial !important;
        overflow: initial !important;
    }
}

@media screen {
    #fullStandardFormContent .print-header {
        display: none;
    }
}

#fullStandardFormContent .container .header .ui.label.gray,
#fullStandardFormContent .container .header .ui.label.gray i {
    background-color: rgb(224, 225, 226) !important;
    border-color: rgb(224, 225, 226);
    color: rgba(0, 0, 0, 0.8) !important;
}

#fullStandardFormContent .container .header .label.red,
#fullStandardFormContent .container .header .label.red i {
    background-color: #db2828 !important;
    border-color: #db2828;
}

#fullStandardFormContent .container .header .label.violet,
#fullStandardFormContent .container .header .label.violet i {
    background-color: #6435c9 !important;
    border-color: #6435c9;
}

#fullStandardFormContent .container .header .label.purple,
#fullStandardFormContent .container .header .label.purple i {
    background-color: #a333c8 !important;
    border-color: #a333c8;
}

.page.dimmer {
    z-index: 99999 !important;
}

.select2-selection--multiple,
.select2-selection--single {
    min-height: 38px !important;
    padding-top: 2px !important;
    border-color: rgba(34, 36, 38, 0.15) !important;
    /* padding: .22619048em .2em .22619048em .35714286em !important; */
}

.select2-selection--single {
    padding-top: 4px !important;
    padding-left: 7px !important;
}

.select2-selection--single .select2-selection__arrow {
    top: 5px !important;
    right: 8px !important;
}

.select2-selection--multiple[aria-expanded=true],
.select2-selection--single[aria-expanded=true],
.select2-container--open .select2-dropdown {
    border-color: rgb(150, 200, 218) !important;
}

.select2-dropdown--below {
    z-index: 1000000 !important;
}

.select2-search__field {
    border: none !important;
    line-height: inherit !important;
    padding: 5px !important;
    color: #666 !important;
    margin-top: 2px !important;
}

.select2-selection__choice {
    padding: 5px 6px 5px 6px !important;
    margin-top: 3px !important;
    margin-bottom: 2px !important;
    background-color: rgb(232, 232, 232) !important;
    font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif !important;
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;

}

.select2-selection__choice__remove {
    font-size: 18px !important;
    padding-right: 0px;
    line-height: 14px;
    padding-left: 5px;
    float: right;
}

.select2-selection--multiple:before {
    content: "";
    position: absolute;
    right: 15px;
    top: 18px;
    border-top: 5px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.select2-selection__clear {
    font-size: 19px;
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
    padding-right: 12px !important;

}

/* .select2 * {
	border: initial;
	line-height: initial;
	padding:initial;
	margin:initial;
	color:initial;
} */

.select2-results__option[aria-selected=true] {
    display: none;
}

.flowTopNav {
    border-top: none;
    background: linear-gradient(90deg, #0d2b4b, #1e3f65) !important;
    border-radius: 0px !important;
}

.flowTopNav.readonly {
    background-color: #b40303 !important;
}

.flowTopNav .inverted.breadcrumb .section {
    color: #e8e8cc !important;

}

.flowTopNav .circular.button {
    padding-left: .8em;
    padding-right: .8em;
}

.flowTopNav .ui.dropdown.icon .menu.transition {
    margin-top: 0px !important;
}

.flowTopNav a.right.menu .item {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.flowTopNav .ui.dropdown.icon {
    height: 51px !important;
    padding: 15px 20px 15px 20px !important;
}

#sidebarDragHandle,
.sidebarDragHandle {
    display: inline-block;
    /* position:absolute; */
    height: 100%;
    width: 7px;
    background-color: #213e5c;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='30'><path d='M5 0 v30' stroke-width='2' stroke='white'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    /* border-left:3px double black; */
    border-left-width: 1px;
    border-right-width: 1px;
    border-color: rgb(206, 206, 206);
    margin: 0 auto;
    cursor: ew-resize;
}

#sidebarDragHandle.active,
.sidebarDragHandle.active {
    background-color: black;
    /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='30'><path d='M2 0 v30 M5 0 v30 M8 0 v30' fill='none' stroke='w'/></svg>"); */
}

.documentTitle-version {
    color: #AAA;
    font-size: .9em;
}

#usersList {
    align-items: center;
    height: 100%;
    padding-right: 10px;
}

#usersList .ui.button {
    height: 30px;
    width: 30px;
    font-size: .75em;
    padding: 0px;
}

.usersListItem {
    align-items: center;
    box-sizing: border-box;
    height: 100%;
    padding: 0 3px !important;
}

#usersList .account-dropdown > .account-dropdown-menu {
    /* Align this dropdown without the navbar's always-visible .left.menu class. */
    left: auto;
    right: 0;
    min-width: 245px;
    padding: 7px;
    margin-top: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fcff 0%, #edf6ff 100%);
    border: 1px solid #b8d5eb;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(31, 76, 146, 0.2), 0 2px 7px rgba(31, 76, 146, 0.12);
}

#usersList .account-dropdown > .account-dropdown-menu > .item {
    display: flex;
    align-items: center;
    min-height: 40px;
    margin: 2px 0;
    padding: 10px 13px !important;
    color: #173f6d;
    font-family: "Outfit", Verdana, sans-serif;
    font-size: 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

#usersList .account-dropdown > .account-dropdown-menu > .item > i.icon {
    width: 20px;
    margin: 0 10px 0 0;
    color: #2f78b7;
    font-size: 15px;
    opacity: 1;
    transition: color 120ms ease;
}

#usersList .account-dropdown > .account-dropdown-menu > .item:hover,
#usersList .account-dropdown > .account-dropdown-menu > .item.active,
#usersList .account-dropdown > .account-dropdown-menu > .item.selected {
    color: #123f7a;
    background: #dcefff;
    border-color: #bfdcf3;
}

#usersList .account-dropdown > .account-dropdown-menu > .item:hover > i.icon,
#usersList .account-dropdown > .account-dropdown-menu > .item.active > i.icon,
#usersList .account-dropdown > .account-dropdown-menu > .item.selected > i.icon {
    color: #1f5f99;
}

#usersList .account-dropdown > .account-dropdown-menu > .divider {
    margin: 6px 5px;
    border-top-color: #cbdff0;
}

#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout,
#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout > i.icon {
    color: #c93636;
}

#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout:hover,
#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout.active,
#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout.selected {
    color: #a82020;
    background: #ffeded;
    border-color: #efbcbc;
}

#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout:hover > i.icon,
#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout.active > i.icon,
#usersList .account-dropdown > .account-dropdown-menu > .account-dropdown-logout.selected > i.icon {
    color: #8f1818;
}

#searchMapText {
    padding-right: 35px;
}

#focusActName {
    /* width:250px; */
    width: calc(100% - 78px);
    color: #324B70;
    font-weight: 900;
}

.hidden {
    display: none !important;
}

.jsgrid-highlighted-row>.jsgrid-cell {
    background: #56d5ff !important;
    border-color: #c4e2ff
}

.toolbar {
    margin-top: 1em;
    margin-bottom: 1em;
    display: flex;
    margin-left: 5px;
}


.folderRow {
    background-image: url(../folder.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    background-size: 1.25em 1.25em;
    padding-left: 2em;
}

.fileRow {
    background-image: url(../map.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    background-size: 1.25em 1.25em;
    padding-left: 2em;
}

.menuButton {
    padding-left: 10px !important;
    padding-right: 10px !important;
    background: #6b5b95
}

.editTaskAssignmentDialog .tiny.button {
    padding: 4px 10px 4px 10px;
    margin-left: 6px;
}

.editTaskAssignmentDialog .left.label {
    margin-left: 0px;
}

.timeField {
    width: 80px !important;
    text-align: center;
}

.editActionForm {
    max-width: 95vw !important;
}

.editActionForm a {
    color: blue !important;
}

.editActionForm a:hover {
    text-decoration: underline;
}

.editActionForm .tiny.button {
    padding: 4px 10px 4px 10px;
    margin-left: 6px;
}


.editActionForm .left.label {
    margin-left: 0px;
}

.editActionTypeForm .row {
    max-height: calc(100vh - 250px);
}

.ckEditorContainer {
    height: calc(100% - 32px) !important;

    &.--contain {
        .ck.ck-editor__main {
            flex-grow: 1;
            overflow: auto !important;
            max-height: fit-content !important;
        }
    }
}

.ck.ck-reset.ck-editor {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
}

.ck.ck-editor__main {
    flex-grow: 1;
    max-height: 250px;
}

.ck-content.ck-editor__editable {
    height: 100%;
}

.ck-rounded-corners .ck.ck-balloon-panel,
.ck.ck-balloon-panel.ck-rounded-corners {
    z-index: 1000000;
}

.previewActionForm {
    max-width: 95vw !important;
}

.previewActionForm .content svg {
    width: 16px;
    text-align: center;
}

.previewActionForm .ui.cards {
    width: 100% !important;
}

.previewActionForm .ui.cards>.card {
    width: 100% !important;
}

.previewActionData .ui.table {
    margin-top: 8px;
}

.previewActionData .ui.label {
    margin-bottom: 5px;
    margin-right: 1px !important;
    margin-left: 1px !important;
}

.previewActionForm .ui.table>thead>tr>th {
    text-decoration: none;
    background-color: #EEE;
}

.previewActionForm .notDefined {
    padding-top: 1em;
}


.fullScreen {
    width: 90% !important;
    height: calc(100vh - 100px);
    margin: 0 !important;
}


.fullScreen .ui.scrolling.modal {
    margin: 0px !important;
}

.fullScreen .ui.grid,
.ui.modal>.content {
    height: 100%;
}

.stdWorkHtml {
    padding-left: 0px !important;
    padding-right: 0px !important;
    overflow: auto;
    max-height: 75vh;
}

.fullScreen .stdWorkHtml {
    max-height: 85vh;
}

.previewActionStdWork iframe {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    border: none;
    margin: 0px;
    padding: 0px;

}

.previewActionStdWork .ui.bottom.tab {
    height: calc(100% - 55px);
}

.tabbedItems .ui.segment {
    text-align: left;
    padding: 0;
    border: none;
    box-shadow: none;
}

#timelineMode {
    float: right;
    position: relative;
    top: -5px;
}

.timelineThumbnail {
    display: flex;
    margin: 0px auto;
    margin-bottom: 20px;
}

:root {
    --ck-image-style-spacing: 1.5em;
}

.ck-content .image-style-side {
    float: right;
    margin-left: var(--ck-image-style-spacing);
    max-width: 50%;
}

.ck-content .image-style-align-left {
    float: left;
    margin-right: var(--ck-image-style-spacing);
}

.ck-content .image-style-align-center {
    margin-left: auto;
    margin-right: auto;
}

.ck-content .image-style-align-right {
    float: right;
    margin-left: var(--ck-image-style-spacing);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: grayscale;
}

p.lead {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.3em;
    color: #333333;
    line-height: 1.4;
    font-weight: 300;
}

.ui.huge.header {
    font-size: 36px;
}

.ui.inverted.menu {
    border-radius: 0;
    flex-wrap: wrap;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

.ui.mobile.only.grid .ui.menu .ui.vertical.menu {
    display: none;
}

.ui.inverted.menu .item {
    color: rgb(157, 157, 157);
    font-size: 16px;
}

.ui.inverted.menu .active.item {
    background-color: #080808;
}

.header.item {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.header.item img,
.headerNav img {
    zoom: .5;
}

.searchWrapper {
    width: calc(100% - 100px);
    height: 40px;
    margin-top: 5px;
}

.searchWrapper .ui {
    display: inline-block;
}

.searchWrapper .searchWithin {
    background-color: papayawhip !important;
    color: black;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.flowSearch .ui.icon input,
.searchWithin {
    height: 38px;
    vertical-align: middle;
    /* padding-top:9px; */
}

.flowSearch {
    left: -3px;
    width: calc(100% - 300px);
}

.flowSearch .input {
    width: 100%;
}

.flowSearch .input .prompt {
    border-left: none;
    width: 100%;
}

.headerNav {
    background-color: inherit !important;
    border: none !important;
    box-shadow: none;
}

.headerNav .item {
    font-size: 17px !important;
    color: white !important;
}


.headerNav .basic.floating.dropdown,
.headerNav .basic.floating.dropdown.active {
    background-color: #DDD;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    color: black;
}

#flowSearch input {
    border-radius: 0 !important;
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
    width: 500px;
}

body {
    background-color: #DDD !important;
}

#shortList .segment {
    height: calc(1000px / 7);
    padding: 0;
    font-size: 22px;
    font-family: "Lato", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#shortList .column .content {
    height: 44px;
    overflow: hidden;
}

#shortList .column .content .header {
    height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    white-space: nowrap;
}

#addMap .content .header {
    height: 68px !important;
    overflow: hidden;
}

#addMap .content .extra.content {
    display: none !important;
}

#shortList .column .extra.content {
    height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#shortList .card:hover {
    box-shadow: 0 0 10px 4px #CCC;
    cursor: pointer;
}

#shortList .column div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 287px;
}

#addMap div i {
    font-size: 62px !important;
}

#addMap .header {
    height: 66px;
    margin: auto;
    padding-top: 20px;
}

#tabbedItems .menu {
    border-bottom: none !important;
}

#tabbedItems .menu .item {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 6px;
    margin-right: 20px;
}

#tabbedItems .segment {
    text-align: left;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 650px;
    border-radius: 5px;
}

#tabbedItems .segment tr td,
#tabbedItems .segment tr th {
    border-left: 0;
    border-right: 0;
}

#tabbedItems .segment tr th:last-of-type,
#tabbedItems .segment tr td:last-of-type {
    text-align: center;
}

#tabbedItems .segment tbody tr:hover {
    box-shadow: 0 0 10px 1px #AAA;
    cursor: pointer;
}

#headerBar {
    background-color: #213e5c;
}

.documentThumbnail {
    max-width: 180px;
    max-height: 120px;
    margin: auto;
    /* padding-top: 10px; */
}

.thumbnailCard {
    width: inherit !important;
}

.thumbnailCard .image {
    background-color: #BCD !important;
    height: 130px;
    overflow: hidden;
}

.thumbnailCard .content {
    padding: 2px !important;
    font-size: 13px !important;
}

.thumbnailCard .content a {
    padding-top: 5px;
}

.thumbnailCard .content {
    padding-bottom: 0 !important;
}

.ui.cards>.thumbnailCard>.extra.content {
    padding-top: 0 !important;
    position: relative !important;
    top: -5px !important;
    display: inline-block;
    border-top-width: 0px !important;
}

.ui.popup {
    padding: 0;
}

.ui.popup .item:hover {
    background-color: #DDD;
    cursor: pointer;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link:focus {
    text-decoration: none;
}

.nav-link.disabled {
    color: #6c757d;
    pointer-events: none;
    cursor: default;
}

.allActionsBtn{
    width: 40px;
    height: 40px;
    margin-top: 7px;
    border-radius: 5px;
    border: 1px solid #fff;
    cursor: pointer;
}


.text-dark {
    color: #343a40 !important;
}

a.text-dark:hover,
a.text-dark:focus {
    color: #121416 !important;
}

#flowBody {
    width: 100%;
    height: calc(100% - 57px);
    max-width: inherit !important;
}

#treeView {
    height: 100%;
    display: flex;
}

.tree-list-container {
    width: auto;
    background-color: #213e5c;
    padding: 20px 20px 0 0;
    min-width: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.tree-list-container ul {
    list-style-type: none;
    text-align: left;
    color: white;
}

.tree-list-container>ul:first-of-type {
    width: calc(100% + 20px);
    height: calc(100% - 50px)
}

.tree-list-container li {
    padding: 0 6px 0 0;
}

.tree-list-container li:hover {
    cursor: pointer;
}

.tree-list-container ul>li>div:hover {
    background-color: rgb(232, 240, 254);
    border-radius: 50px;
    color: black;
}

.tree-list-container ul>li>div {
    align-items: center;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    height: 32px;
    padding-inline-end: 8px;
}

.tree-list-container p {
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.tree-view-container {
    width: 100%;
    padding: 20px;
    box-shadow: -5px -5px 18px 2px #00000088;
    display: flex;
    flex-direction: column;
}

#shortList {
    margin: 0;
    width: 100%;
}

#tabbedItems {
    width: 100%;
    flex: 1;
    min-height: 0;
    padding-left: 7px;
    padding-right: 7px;
}

.right0 {
    right: 0 !important;
}

.search-bar-container {
    margin-left: auto;
    margin-right: auto;
}

.left0 {
    left: 0 !important;
}

.pAbsolute {
    position: absolute !important;
}

.org-name-container {
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: center;
}

.org-name-container:hover {
    text-decoration: underline;
}

.text-center {
    width: 100%;
    position: relative;
    height: 100%;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 45%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#backdrop {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: rgb(0, 0, 0, 0.2);
}

.ui.dropdown .menu {
    z-index: 10000 !important;
    /* put the menu over the "focused view" button */
}

g.hasTools>rect {
    cursor: move !important;
}

g.hasTools g.joint-port {
    opacity: .1;
}

.fw-bold {
    font-weight: 900 !important;
}

#previewActionHeader .ui.large.labeled.icon.button {
    padding-inline: 48px 13px !important;
    padding-block: 11px;
}

#previewActionHeader .ui.large.labeled.icon.button i {
    background: #21ba45DD;
    color: #FFFFFFCC;
}

#previewActionHeader .ui[class*="right floated"] {
    float: right;
    margin-right: 0;
    margin-left: .25em;
}

#paper-html-elements {
    position: relative;
    border: 1px solid gray;
    display: inline-block;
    background: transparent;
    overflow: hidden;
}

.html-element {
    position: absolute;
    opacity: 1;
    pointer-events: none;
    user-select: none;
    box-sizing: border-box;
    z-index: 2;
    background: rgba(242, 226, 106, 0.68);
    border-radius: 4px;
    border-width: 1px;
    border-style: dashed;
    border-color: rgb(34, 34, 34);
    border-image: initial;
    padding: 2px 6px;
    padding-top: 16px;
}

#taskChooserParent {
    width: 188px;
    height: 80px;
    padding: 20px 6px;
}

#taskChooserParent .select2-search__field {
    font-size: 12px !important;
}

.activity-verb-tip {
    align-items: center;
    background: #173f6d;
    border-radius: 7px;
    bottom: calc(100% + 9px);
    box-shadow: 0 5px 14px rgba(12, 43, 78, 0.24);
    color: #ffffff;
    display: flex;
    font-family: "Outfit", Verdana, sans-serif;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    left: 0;
    padding: 7px 10px;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
    z-index: 4;
}

.activity-verb-tip::after {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #173f6d;
    content: "";
    left: 18px;
    position: absolute;
    top: 100%;
}

.activity-verb-tip > i.icon {
    color: #ffd968;
    margin: 0 !important;
}

.html-element-actor {
    position: absolute;
    opacity: 1;
    box-sizing: border-box;
    z-index: 3;
    background: rgba(79, 118, 179,0.4);
    border-radius: 4px;
    border-width: 1px;
    border-style: dashed;
    border-color: rgb(34, 34, 34);
    border-image: initial;
    padding: 35px 4px;
}

.html-element-task {
    position: absolute;
    opacity: 1;
    box-sizing: border-box;
    z-index: 3;
    background: rgba(247, 240, 145,0.4);
    border-radius: 4px;
    border-width: 1px;
    border-style: dashed;
    border-color: rgb(34, 34, 34);
    border-image: initial;
    padding: 29px 10px;
}


.html-element .select2-selection--multiple:before {
    display: none;
}

.scale-inner-img-max {
    img {
        width: 100%;
    }
}

/* Standard Work -- Tab Items */
.tabbedItems .menu .item {
    flex: 1 !important;
    text-align: center;
  }

.folder-row {
    background-image: url(../folder.svg);
    background-repeat: no-repeat;
    background-position: 10px center; /* Adds padding between the left edge and the image */
    background-size: 1.25em 1.25em;
    padding-left: 30px; /* Adds padding to the left, enough to make space for the image and some extra spacing */
}
