/*
 * Skin: Yodiwo
 * ----------
 */

@media only screen and (min-width: 1130px) {
    .content-wrapper {
        overflow: hidden;
    }
}

.skin-yodiwo .main-header .navbar .nav > li > a {
    color: #ffffff;
}

    .skin-yodiwo .main-header .navbar .nav > li > a:hover,
    .skin-yodiwo .main-header .navbar .nav > li > a:active,
    .skin-yodiwo .main-header .navbar .nav > li > a:focus,
    .skin-yodiwo .main-header .navbar .nav .open > a,
    .skin-yodiwo .main-header .navbar .nav .open > a:hover,
    .skin-yodiwo .main-header .navbar .nav .open > a:focus {
        background: rgba(0, 0, 0, 0.1);
        color: #f6f6f6;
    }

.skin-yodiwo .main-header .navbar .sidebar-toggle {
    color: #ffffff;
}

    .skin-yodiwo .main-header .navbar .sidebar-toggle:hover {
        color: #f6f6f6;
        background: rgba(0, 0, 0, 0.1);
    }

.skin-yodiwo .main-header .navbar .sidebar-toggle {
    color: #fff;
}

    .skin-yodiwo .main-header .navbar .sidebar-toggle:hover {
        background-color: #367fa9;
    }

@media (max-width: 767px) {
    .skin-yodiwo .main-header .navbar .dropdown-menu li.divider {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .skin-yodiwo .main-header .navbar .dropdown-menu li a {
        color: #fff;
    }

        .skin-yodiwo .main-header .navbar .dropdown-menu li a:hover {
            background: rgba(0, 0, 0, 0.1);
        }
}

.skin-yodiwo .main-header .logo {
    /*background-color: rgba(0, 0, 0, 0.1);*/
    color: #ffffff;
    border-bottom: 0px solid transparent;
}

    .skin-yodiwo .main-header .logo:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

.skin-yodiwo .main-header li.user-header {
    background-color: rgba(54, 127, 169, 0.9);
}

.skin-yodiwo .content-header {
    background: transparent;
}

.skin-yodiwo .wrapper,
.skin-yodiwo .main-sidebar,
.skin-yodiwo .left-side {
    background-color: #222d32;
}

.skin-yodiwo .user-panel > .info,
.skin-yodiwo .user-panel > .info > a {
    color: #fff;
}

.skin-yodiwo .sidebar-menu > li.header {
    color: rgba(0, 0, 0, 0.1);
    background: #367fa9;
}

.skin-yodiwo .sidebar-menu > li > a {
    border-left: 3px solid transparent;
}

.skin-yodiwo .sidebar-menu > li:hover > a,
.skin-yodiwo .sidebar-menu > li.active > a {
    color: #ffffff;
    background: #367fa9;
    border-left-color: rgba(0, 0, 0, 0.1);
}

    .skin-yodiwo .sidebar-menu > li:hover > a > span {
        z-index: 1000;
    }

.skin-yodiwo .sidebar-menu > li > .treeview-menu {
    margin: 0 1px;
    background: rgba(0, 0, 0, 0.1);
}

.skin-yodiwo .sidebar a {
    color: #b8c7ce;
}

    .skin-yodiwo .sidebar a:hover {
        text-decoration: none;
    }

.skin-yodiwo .treeview-menu > li > a {
    color: #8aa4af;
}

    .skin-yodiwo .treeview-menu > li.active > a,
    .skin-yodiwo .treeview-menu > li > a:hover {
        color: #ffffff;
    }

.skin-yodiwo .sidebar-form {
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 10px 10px;
}

    .skin-yodiwo .sidebar-form input[type="text"],
    .skin-yodiwo .sidebar-form .btn {
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        border: 1px solid transparent;
        height: 35px;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .skin-yodiwo .sidebar-form input[type="text"] {
        color: #666;
        border-top-left-radius: 2px !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 2px !important;
    }

        .skin-yodiwo .sidebar-form input[type="text"]:focus,
        .skin-yodiwo .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
            background-color: #fff;
            color: #666;
        }

            .skin-yodiwo .sidebar-form input[type="text"]:focus + .input-group-btn .btn {
                border-left-color: #fff;
            }

    .skin-yodiwo .sidebar-form .btn {
        color: #999;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 2px !important;
        border-bottom-right-radius: 2px !important;
        border-bottom-left-radius: 0 !important;
    }

.skin-yodiwo.layout-top-nav .main-header > .logo {
    /*background-color: rgba(0, 0, 0, 0.1);*/
    color: #ffffff;
    border-bottom: 0px solid transparent;
}

    .skin-yodiwo.layout-top-nav .main-header > .logo:hover {
        background-color: #3b8ab8;
    }

/*************************************/
/* Custom Tooltips for Cyan          */
/* (sample from from rappid.min.css)  */
/*************************************/

.tooltip {
    position: fixed;
    z-index: 2000;
    border-radius: 5px;
    background-color: #333;
    opacity: 0.95;
    border: 2px solid #242424;
    color: #bcbcbc;
    pointer-events: none;
    padding: 10px;
    font-size: 14px;
    text-shadow: 0 -1px 0 #000;
}

    .tooltip.left, .tooltip.right {
        margin-top: -2px;
    }

    .tooltip.top, .tooltip.bottom {
        margin-left: -2px;
    }

    .tooltip.small {
        padding: 5px;
        font-size: 10px;
    }

    .tooltip .tooltip-arrow, .tooltip .tooltip-arrow-mask {
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .tooltip.right .tooltip-arrow-mask, .tooltip.right .tooltip-arrow {
        right: 100%;
    }

    .tooltip.left .tooltip-arrow-mask, .tooltip.left .tooltip-arrow {
        left: 100%;
    }

    .tooltip.bottom .tooltip-arrow-mask, .tooltip.bottom .tooltip-arrow {
        bottom: 100%;
    }

    .tooltip.top .tooltip-arrow-mask, .tooltip.top .tooltip-arrow {
        top: 100%;
    }

    .tooltip .tooltip-arrow-mask {
        border-width: 6px;
    }

    .tooltip.right .tooltip-arrow-mask {
        border-right-color: #333;
        margin-top: -6px;
    }

    .tooltip.left .tooltip-arrow-mask {
        border-left-color: #333;
        margin-top: -6px;
    }

    .tooltip.bottom .tooltip-arrow-mask {
        border-bottom-color: #333;
        margin-left: -6px;
    }

    .tooltip.top .tooltip-arrow-mask {
        border-top-color: #333;
        margin-left: -6px;
    }

    .tooltip .tooltip-arrow {
        border-width: 8px;
    }

    .tooltip.right .tooltip-arrow {
        border-right-color: #242424;
        margin-top: -8px;
        margin-left: -5px;
    }

    .tooltip.left .tooltip-arrow {
        border-left-color: #242424;
        margin-top: -8px;
        margin-right: -5px;
    }

    .tooltip.bottom .tooltip-arrow {
        border-bottom-color: #242424;
        margin-left: -8px;
        margin-top: -5px;
    }

    .tooltip.top .tooltip-arrow {
        border-top-color: #242424;
        margin-left: -8px;
        margin-bottom: -5px;
    }

.tooltip-inner {
    color: #bcbcbc;
    background-color: #333;
    padding: 10px;
    max-width: 300px;
    overflow-wrap: break-word;
}

/**************************************/
/* Custom Tooltip                     */
/**************************************/

.cyan-tooltip {
    position: absolute;
    display: none;
    z-index: 2100;
    border-radius: 5px;
    background-color: #333;
    opacity: 0.95;
    border: 2px solid #242424;
    color: #bcbcbc;
    pointer-events: none;
    padding: 1.5rem;
    text-shadow: 0 -1px 0 #000;
    overflow-wrap: normal;
    max-width: 300px;
}

    .cyan-tooltip .cyan-tooltip-arrow, .cyan-tooltip .cyan-tooltip-arrow-mask {
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .cyan-tooltip.left .cyan-tooltip-arrow-mask, .cyan-tooltip.left .cyan-tooltip-arrow {
        right: 100%;
        top: 50%;
    }

    .cyan-tooltip.right .cyan-tooltip-arrow-mask, .cyan-tooltip.right .cyan-tooltip-arrow {
        left: 100%;
        bottom: 50%;
    }

    .cyan-tooltip.top .cyan-tooltip-arrow-mask, .cyan-tooltip.top .cyan-tooltip-arrow {
        bottom: 100%;
    }

    .cyan-tooltip.bottom .cyan-tooltip-arrow-mask, .cyan-tooltip.bottom .cyan-tooltip-arrow {
        top: 100%;
    }

    .cyan-tooltip .cyan-tooltip-arrow-mask {
        border-width: 6px;
    }

    .cyan-tooltip.left .cyan-tooltip-arrow-mask {
        border-right-color: #333;
        margin-top: -6px;
    }

    .cyan-tooltip.right .cyan-tooltip-arrow-mask {
        border-left-color: #333;
        margin-top: -6px;
    }

    .cyan-tooltip.top .cyan-tooltip-arrow-mask {
        border-bottom-color: #333;
        margin-left: -6px;
    }

    .cyan-tooltip.bottom .cyan-tooltip-arrow-mask {
        border-top-color: #333;
        margin-left: -6px;
    }

    .cyan-tooltip .cyan-tooltip-arrow {
        border-width: 8px;
    }

    .cyan-tooltip.left .cyan-tooltip-arrow {
        border-right-color: #242424;
        margin-top: -8px;
    }

    .cyan-tooltip.right .cyan-tooltip-arrow {
        border-left-color: #242424;
        margin-top: -8px;
    }

    .cyan-tooltip.top .cyan-tooltip-arrow {
        border-bottom-color: #242424;
        margin-left: -8px;
    }

    .cyan-tooltip.bottom .cyan-tooltip-arrow {
        border-top-color: #242424;
        margin-left: -8px;
    }

/**************************************/
/* Dark Theme on Layout               */
/**************************************/

.darkmodal {
    background-color: #333;
    opacity: 0.95;
    color: #fff;
}

    .darkmodal td {
        background-color: #333;
    }

    .darkmodal select {
        color: black;
    }

    .darkmodal:not([code-editor]) span:hover, .darkmodal:not([code-editor]) button:hover {
        color: #f6f6f6;
    }

    .darkmodal #graphName, .darkmodal #graphPath,
    .darkmodal #search_text,
    .darkmodal .jstree-rename-input, .darkmodal .returning-link,
    .darkmodal #ThingName, .darkmodal input[type=text] {
        color: #000;
    }

    .darkmodal .box-header {
        color: #fff;
    }

    .darkmodal .wizardfield button:hover,
    .darkmodal .modal-footer button:hover,
    .darkmodal .panel-body button:hover {
        color: #666666;
    }

    .darkmodal.btn {
        color: #fff;
    }

    .darkmodal .modal-body .bootstrap-datetimepicker-widget {
        background: #333;
        border: 1px solid #555;
        color: #EEE;
    }

/**************************************/
/* web Console Console Theme          */
/**************************************/

#web-console .box.darkmodal .box-header.with-border,
#debug-console .box.darkmodal .box-header.with-border {
    padding-left: 15px;
}

    #web-console .box.darkmodal .box-header.with-border .box-tools,
    #debug-console .box.darkmodal .box-header.with-border .box-tools {
        padding-right: 10px;
    }

    #web-console .modal-title,
    #debug-console .modal-title {
        margin-top: 12px;
        margin-bottom: -6px;
    }

#web-console .modal-body,
#live-console .modal-body,
#debug-console .modal-body {
    /* fallback attributes if vh is not supported */
    max-height: 90%;
    max-height: 75rem;
    max-height: calc(100vh - 210px);
    /* fallback attributes if vh is not supported */
    min-height: 90%;
    min-height: 75rem;
    min-height: calc(100vh - 210px);
    overflow-x: auto;
    width: 100%;
    margin: -1px;
    padding: 15px;
}

    #web-console .modal-body p,
    #live-console .modal-body p,
    #debug-console .modal-body p,
    #inspector-console p {
        white-space: pre-wrap;
    }

    #web-console .modal-body p .highlighted-text,
    #live-console .modal-body p .highlighted-text,
    #debug-console .modal-body p .highlighted-text,
    #inspector-console p .highlighted-text {
        user-select: text;
        padding: 0;
        background-color: #ffeb3b;
    }

.web-console-info::before {
    content: " ";
    background-color: #3c8dbc !important;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.4rem;
    margin-right: 0.4rem;
}

.web-console-warning::before {
    content: " ";
    background-color: #f39c12 !important;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.4rem;
    margin-right: 0.4rem;
}

.web-console-error::before {
    content: " ";
    background-color: #dd4b39;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.4rem;
    margin-right: 0.4rem;
}

.web-console-exception::before {
    content: " ";
    background-color: #990000;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.4rem;
    margin-right: 0.4rem;
}

#web-console #connected-btn,
#debug-console #connected-btn {
    color: white;
}

#web-console .toolbar,
#live-console .toolbar,
#debug-console .toolbar {
    margin: 6px 22px 16px 14px;
}

    #web-console .toolbar > .label,
    #debug-console .toolbar > .label {
        cursor: pointer;
        vertical-align: bottom;
        line-height: 8px;
        padding: 3px 5px;
    }

        #web-console .toolbar > .label.selected,
        #debug-console .toolbar > .label.selected {
            padding: 5px 7px;
        }

        #web-console .toolbar > .label.label-exception.selected,
        #debug-console .toolbar > .label.label-exception.selected,
        .timeline-env .label.label-exception {
            background-color: #990000;
        }

        #web-console .toolbar > .label.label-exception:not(.selected),
        #debug-console .toolbar > .label.label-exception:not(.selected) {
            border: 2px double #4d0000;
            background-color: transparent !important;
        }

        #web-console .toolbar > .label.label-danger:not(.selected),
        #debug-console .toolbar > .label.label-danger:not(.selected) {
            border: 2px double #ae2e1e;
            background-color: transparent !important;
        }

        #web-console .toolbar > .label.label-warning:not(.selected),
        #debug-console .toolbar > .label.label-warning:not(.selected) {
            border: 2px double #c27b0a;
            background-color: transparent !important;
        }

        #web-console .toolbar > .label.label-primary:not(.selected),
        #debug-console .toolbar > .label.label-primary:not(.selected) {
            border: 2px double #2b6688;
            background-color: transparent !important;
        }

    #web-console .toolbar .fa-arrow-down.autoscroll,
    #debug-console .toolbar .fa-arrow-down.autoscroll,
    #inspector-console-toolbar .fa-arrow-down.autoscroll {
        color: #4dbeff;
    }

    #web-console .toolbar #msg-limit,
    #debug-console .toolbar #msg-limit {
        width: initial;
        display: inline-block;
    }

    #web-console .toolbar #search-input,
    #debug-console .toolbar #search-input {
        width: initial;
    }

#live-console .fa-times {
    vertical-align: initial;
}

#live-console .modal-title .fa-circle {
    position: relative;
    top: -3.5px;
    color: #f00;
    font-size: 7px;
}

#live-console .toolbar #live-search {
    width: 100%;
    margin-bottom: 2px;
}

#live-console .modal-header {
    cursor: move;
}

#cyanui_usertracebutton.ws-connected a{
    color: #00a65a;
}

#cyanui_usertracebutton.ws-connected a:hover{
    background: #00a65a;
    color:white;
}

#cyanui_usertracebutton.ws-disconnected a{
    color: #f39c12;
}

#cyanui_usertracebutton.ws-disconnected a:hover{
    background: #f39c12;
    color:white;
}

#cyanui_usertracebutton.ws-unauthorized a{
    color: #dd4b39;
}

#cyanui_usertracebutton.ws-unauthorized a:hover{
    background: #dd4b39;
    color:white;
}

/**************************************/
/* User Profile's Progress Bar Theme  */
/**************************************/
.user-profile.progress {
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}

    .user-profile.progress::after {
        /*content: "("attr(percentage)"%"")";*/
        color: #000;
        float: right;
    }

.user-profile.progress-bar::before {
    /*content: "("attr(percentage)"%"")";*/
    color: #000;
    float: right;
}

label.user-profile::after {
    /*content: attr(aria-percentage) "%";*/
    color: #000;
    float: right;
}


/**************************************/
/* Custom alert messages              */
/**************************************/

.custom-alert-danger {
    background-color: #F7D6D3 !important;
    color: #5F5F5F !important;
    padding: 1rem;
}

.custom-alert-warning {
    background-color: #F7BA59 !important;
    color: #5F5F5F !important;
    padding: 1rem;
}

.custom-alert-info {
    background-color: #00c0ef !important;
    color: #fff !important;
    padding: 1rem;
}

.custom-btn-danger {
    background-color: #EEA59C;
}

    .custom-btn-danger:hover {
        background-color: #D6948C;
        /*color: #fff;*/
    }


/**************************************/
/* Dark theme on jointjs dialogs      */
/**************************************/
.skin-yodiwo .dialog {
    z-index: 2001;
}

    .skin-yodiwo .dialog .fg,
    .skin-yodiwo .dialog .controls .control-button {
        font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    .skin-yodiwo .dialog .fg {
        background-color: #333;
        color: #fff;
        border: 0px;
    }

        .skin-yodiwo .dialog .fg .control-button {
            color: #fff;
        }

        .skin-yodiwo .dialog .fg .controls button.control-button {
            border: 1px solid #4d4d4d;
        }

            .skin-yodiwo .dialog .fg .controls button.control-button:focus {
                border: 1px solid #fff;
            }

            .skin-yodiwo .dialog .fg .controls button.control-button:hover {
                background-color: #4d4d4d;
            }

        .skin-yodiwo .dialog .fg .btn-close {
            color: #fff;
        }

/**************************************/
/* Font Awesome cursor                */
/**************************************/

i.fa.action {
    cursor: pointer;
}

/**************************************/
/* Graph Details                      */
/**************************************/

#selected_node_designer table tr td[id="graph-descriptor-base-key"] {
    word-break: break-all;
}

.tab-content div[class=tools] {
    margin-top: 15px;
}

#toggle-macro-blocks[data-on] i,
.btn.search_button i.enabled {
    color: #2196F3;
}

#shortened-block-key-menu {
    display: none;
    position: absolute;
    z-index: 1200;
    width: max-content;
    background-color: #eeeeee;
}

    #shortened-block-key-menu #info-table {
        display: none;
        font-size: 12px;
    }

        #shortened-block-key-menu #info-table table {
            min-width: 326px;
        }

        #shortened-block-key-menu #info-table tr {
            background-color: #e0e0e0;
        }

        #shortened-block-key-menu #info-table td {
            padding: 8px;
        }

        #shortened-block-key-menu #info-table #loading-spinner {
            display: none;
            text-align: center;
            padding-bottom: 6px;
        }

    #shortened-block-key-menu .divider {
        background-color: #e0e0e0;
    }

    #shortened-block-key-menu .list-item {
        padding: 3px 6px;
    }

    #shortened-block-key-menu .divider {
        margin: 6px;
    }

    #shortened-block-key-menu #locate-block-in {
        display: flex;
        align-items: flex-end;
    }

        #shortened-block-key-menu #locate-block-in button {
            width: 107.33px;
        }

        #shortened-block-key-menu #locate-block-in button:nth-child(1),
        #shortened-block-key-menu #locate-block-in button:nth-child(2) {
            margin-right: 2px;
        }

.shortened-block-key {
    display: inline;
    cursor: pointer;
    color: #bbdefb;
}

    .shortened-block-key + span {
        user-select: text;   
    }

.shortened-block-key.selected {
    color: #42a5f5;
}