/* ========================================================
* COMPLETE MODERN CSS - NOSP MIS
* Brand Color: #fcb900
* ======================================================== */

/* ========================================================
* MODERN SINGLE-LINE HEADER - FIXED ALIGNMENT & CONTRAST
* ======================================================== */

/* Main container - flexbox for proper alignment */
#topnav .topbar-main {
    background: #555 !important;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

#topnav .topbar-main .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo area - left side */
#topnav .logo {
    display: flex;
    align-items: center;
    height: 60px;
    flex-shrink: 0;
}

#topnav .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#topnav .logo img {
    max-height: 40px;
    width: auto;
    margin-right: 10px;
}

#topnav .logo span {
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Navigation menu container - center/middle - WITH YELLOW BACKGROUND */
.navbar-custom {
    flex: 1;
    display: flex;
    justify-content: center;
    background: #555 !important;
}

#navigation {
    width: auto;
    background: #555 !important;
}

.navigation-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
    background: #555 !important;
}

/* Menu items - DARK TEXT for better contrast on yellow */
#topnav .navigation-menu > li {
    margin: 0;
    position: relative;
}

#topnav .navigation-menu > li > a {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    padding: 0 15px !important;
    height: 60px;
    line-height: 60px;
    transition: all 0.3s ease;
    display: block;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

#topnav .navigation-menu > li > a:hover {
    color: #fff !important;
    background: rgba(0,0,0,0.1);
}

/* Active menu item */
#topnav .navigation-menu > li.active > a {
    color: #fcb900 !important;
    background: rgba(0,0,0,0.15);
    border-bottom: 3px solid #000;
}

/* Menu icons */
#topnav .navigation-menu > li > a i {
    margin-right: 8px;
    font-size: 14px;
    color: #333;
}

/* Right side items container */
.menu-extras {
    flex-shrink: 0;
}

.navbar-nav.navbar-right {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav.navbar-right > li {
    margin-left: 5px;
    position: relative;
}

.navbar-nav.navbar-right > li > a {
    color: #333;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    display: block;
    transition: all 0.3s ease;
}

.navbar-nav.navbar-right > li > a:hover {
    background: rgba(0,0,0,0.1);
    color: #fff;
}

/* Search bar styling */
.app-search {
    margin-right: 5px;
}

.app-search .search-pane {
    position: relative;
}

.app-search .form-control {
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 25px;
    padding: 6px 35px 6px 15px;
    color: #333;
    font-size: 12px;
    width: 180px;
    height: 34px;
}

.app-search .form-control:focus {
    background: rgba(0,0,0,0.15);
    width: 220px;
    outline: none;
}

.app-search .form-control::placeholder {
    color: rgba(51,51,51,0.7);
}

.app-search .fa-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    cursor: pointer;
}

/* Support button styling */
.btn-support {
    background: rgba(0,0,0,0.1) !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    height: auto !important;
    margin-top: 14px !important;
    font-size: 11px !important;
    display: inline-block !important;
    line-height: normal !important;
    color: #333 !important;
}

.btn-support:hover {
    background: rgba(0,0,0,0.2) !important;
    color: #000 !important;
}

.btn-support i {
    margin-right: 5px;
}

/* Help icon */
.navbar-nav.navbar-right > li .fa-info {
    font-size: 18px;
    color: #333;
}

.user-box {
    display: flex;
    align-items: center;
    height: 60px;
}

.user-box img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 !important;
    vertical-align: middle;
}

.user-box .profile {
    padding: 0 10px !important;
    display: flex;
    align-items: center;
    height: 60px;
    line-height: normal !important;
}


/* Dropdown menus */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: none;
    margin-top: 5px;
    padding: 5px 0;
    min-width: 180px;
}

.dropdown-menu > li > a {
    padding: 6px 20px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background: #fcb900;
    color: #333;
}

.dropdown-menu .divider {
    margin: 5px 0;
}

/* Submenu styling */
#topnav .navigation-menu .submenu {
    position: absolute;
    top: 60px;
    left: 0;
    min-width: 220px;
    background: #fcb900;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#topnav .navigation-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
}

#topnav .navigation-menu .submenu li {
    position: relative;
}

#topnav .navigation-menu .submenu li a {
    padding: 8px 20px;
    color: #333;
    display: block;
    font-size: 12px;
    transition: all 0.2s ease;
}

#topnav .navigation-menu .submenu li a:hover {
    background: #fcb900;
    color: #333;
    padding-left: 25px;
}

/* Nested submenus (third level) */
#topnav .navigation-menu .submenu .has-submenu > ul {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #fcb900;
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

#topnav .navigation-menu .submenu .has-submenu:hover > ul {
    opacity: 1;
    visibility: visible;
}

/* Arrow indicator for submenu items */
#topnav .navigation-menu .submenu .has-submenu > a::after {
    content: '›';
    float: right;
    font-size: 16px;
    margin-left: 10px;
}

/* Mobile toggle button */
.navbar-toggle {
    display: none;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    margin-top: 12px;
    cursor: pointer;
}

.navbar-toggle .icon-bar {
    background: #333;
    width: 22px;
    height: 2px;
    display: block;
    margin: 4px 0;
}

/* Responsive styles */
@media (max-width: 992px) {
    #topnav .topbar-main .container-fluid {
        flex-wrap: wrap;
    }
    
    .navbar-custom {
        order: 3;
        flex: 0 0 100%;
        justify-content: flex-start;
    }
    
    .navigation-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fcb900;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 10px 0;
    }
    
    .navigation-menu.open {
        display: flex;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    #topnav .navigation-menu > li {
        width: 100%;
    }
    
    #topnav .navigation-menu > li > a {
        padding: 10px 20px !important;
        height: auto;
        line-height: normal;
    }
    
    #topnav .navigation-menu .submenu {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        padding-left: 20px;
        width: 100%;
    }
    
    #topnav .navigation-menu .submenu li a {
        color: #333;
    }
    
    #topnav .navigation-menu .submenu .has-submenu > ul {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background: rgba(0,0,0,0.05);
    }
    
    .app-search .form-control {
        width: 120px;
    }
    
    .app-search .form-control:focus {
        width: 140px;
    }
}

/* Small screen adjustments */
@media (max-width: 768px) {
    #topnav .logo span {
        font-size: 12px;
    }
    
    #topnav .logo img {
        max-height: 30px;
    }
    
    .navbar-nav.navbar-right > li > a {
        padding: 0 6px;
    }
    
    .btn-support span {
        display: none;
    }
    
    .btn-support i {
        margin-right: 0;
    }
}

/* ========================================================
* SIDEBAR MENU (for vertical layout)
* ======================================================== */

.account-logo-box, 
.side-menu, 
.topbar .topbar-left {
    background: #fcb900 !important;
}

#sidebar-menu > ul > li > a {
    color: #333 !important;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

#sidebar-menu > ul > li > a:hover,
#sidebar-menu > ul > li > a.active {
    background: rgba(0,0,0,0.05) !important;
    color: #000 !important;
}

#sidebar-menu ul ul a {
    color: #555 !important;
    padding-left: 35px;
}

/* ========================================================
* BREADCRUMB & PAGE HEADER
* ======================================================== */

.breadcrumb {
    display: block !important;
    background: #f5f5f5 !important;
    padding: 8px 15px !important;
    margin: 0 0 15px 0 !important;
    border-radius: 5px !important;
}

.breadcrumb li {
    display: inline-block;
    color: #666;
}

.titlebreadcrumb {
    display: block !important;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* ========================================================
* BUTTONS
* ======================================================== */

.btn-primary {
    background-color: #fcb900 !important;
    border: 1px solid #e0a800 !important;
    color: #333 !important;
}

.btn-primary:hover {
    background-color: #e0a800 !important;
    border-color: #c89600 !important;
}

.btn-info {
    background-color: #17a2b8 !important;
    border: 1px solid #17a2b8 !important;
}

/* ========================================================
* PANELS & CARDS
* ======================================================== */

.panel {
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.panel-heading {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.panel-primary > .panel-heading {
    background-color: #fcb900 !important;
    border-color: #fcb900 !important;
    color: #333 !important;
}

/* ========================================================
* FORMS
* ======================================================== */

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 6px 12px;
}

.form-control:focus {
    border-color: #fcb900;
    box-shadow: 0 0 0 2px rgba(252,185,0,0.2);
}

label.error {
    background-color: #fde7e9;
    border-color: #fab8bd;
    color: #BD4247;
    padding: 5px 15px 8px 12px;
    margin: 5px 0 0 0;
    font-weight: normal;
    font-size: 12px;
    width: 100%;
    min-height: 25px;
}

/* ========================================================
* TABLES
* ======================================================== */

.table {
    border-radius: 8px;
    overflow: hidden;
}

.table > thead > tr > th {
    background: #f8f9fa;
    border-bottom: 2px solid #555;
    padding: 12px 8px;
    font-weight: 600;
    font-size: 13px;
}

.table > tbody > tr:hover {
    background: rgba(252,185,0,0.05);
}

.table-bordered {
    border: 1px solid #ddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
    border: 1px solid #ddd;
}

/* DataTables */
table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable td:last-child {
    border-right: 1px solid #ddd;
}

.dataTables_filter {
    display: none;
}

/* ========================================================
* TABS
* ======================================================== */

.nav-tabs {
    border-bottom: 1px solid #ddd;
}

.nav-tabs > li > a {
    background-color: #f5f5f5;
    border-radius: 5px 5px 0 0;
    padding: 10px 20px;
    font-size: 14px;
    margin-right: 5px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background-color: #fcb900 !important;
    color: #333 !important;
    border-color: #fcb900;
}

.nav-tabs > li > a:hover {
    background-color: #e9e9e9;
}

.tab-content {
    padding: 15px 0 0;
}

/* ========================================================
* ALERTS
* ======================================================== */

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* ========================================================
* MODALS
* ======================================================== */

.modal .modal-dialog {
    width: 750px;
    margin: 80px auto;
}

.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    background: #fcb900;
    border-radius: 10px 10px 0 0;
    padding: 12px 15px;
}

.modal-header .close {
    color: #333;
    opacity: 0.8;
}

.modal-title {
    color: #333;
    font-weight: 600;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 12px 15px;
}

/* ========================================================
* SEARCH RESULTS
* ======================================================== */

#divResult {
    position: absolute;
    width: 300px;
    display: none;
    margin-top: 2px;
    margin-left: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 5px #999;
    border: 1px solid #fcb900;
    background-color: white;
    z-index: 900;
    max-height: 600px;
    overflow-y: scroll;
    list-style: none;
}

#divResult > ul {
    padding-left: 0;
}

.display_box {
    padding: 4px;
    border-top: solid 1px #dedede;
    font-size: 12px;
    min-height: 0;
    height: auto;
    color: #666666;
    padding-bottom: 5px;
}

li.display_box.selected {
    background: #fcb900;
    color: #333;
    cursor: pointer;
}

.separator {
    padding: 5px 10px;
    height: auto;
    background-color: #fcb900;
    color: #333;
}

.separator .allresults {
    display: inline;
    float: right;
    position: relative;
}

.separator .allresults a {
    color: #333;
    text-decoration: none;
}

.separator span {
    width: 100%;
    display: inline;
    color: #333;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
}

.form-section {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
}
.section-header {
    background: #666666;
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
}

/* ========================================================
* UTILITY CLASSES
* ======================================================== */

.resetlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.greentxt {
    color: #96c552 !important;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
}

.removeabsonmobile {
    position: absolute;
}

.logomobile {
    color: #fff !important;
    float: left;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 60px;
    text-transform: uppercase;
}

@media (min-width: 421px) {
    .logomobile, .hideonmobile {
        display: none !important;
    }
}

@media (max-width: 800px) {
    .hideonmobile {
        display: none !important;
    }
    .removeabsonmobile {
        position: relative;
    }
}

@media (max-width: 420px) {
    .titlebread {
        display: none !important;
    }
}

/* Panel border */
.panel-border.panel-info > .panel-heading {
    border-color: #666666 !important;
}

.panel-border.panel-info .panel-heading.fieldsetwrapper {
    border-color: #999 !important;
    color: #666666 !important;
}

.panel-title.section {
    text-transform: none;
    color: #666666 !important;
    font-size: 15px !important;
}

label.section {
    color: #666666 !important;
}

/* Misc */
.user-list .user-list-item .icon {
    margin-top: -6px;
}

.thumb-xl {
    height: auto;
    width: auto;
}

.biosummary h4 {
    font-size: 16px;
}

.member-card .member-star {
    right: 0;
    top: 0;
}

.managelist {
    margin: 0;
    list-style: none;
    padding-left: 0;    
}

.managelist > li {
    display: inline;
    padding: 5px;
    padding-left: 0;
    margin-bottom: 2px;
    display: inline-block;
    vertical-align: top;
}

.leftalignlabel {
    text-align: left !important;
}

.widget-box-one .wigdet-one-content {
    min-height: 130px;
}

.listactions > li {
    padding-left: 0;
    padding-right: 6px;
    margin-bottom: 2px;
    margin-top: 2px;
    float: left;
}

.listactions > li:first-child {
    padding-left: 0;
}

.listactions > li:last-child {
    padding-right: 0;
}

.hidden, .hidden_row, .hidden_column, .hidden_container, .hidden_row_input, .hidden_row_med, .hidden_row_person, .hidden_row_family, .hidden_row_educ, .hidden_row_job, .hidden_row_ref, .hidden_row_file {
    display: none;
}

.alert.alert-success {
    color: green;
}

select.input-sm, input.input-sm {
    font-size: 13px !important;
}

#wrap {
    border: solid #CCCCCC 1px !important;
    width: 275px;
    padding: 5px;
    margin-top: 10px;
    margin-left: 0;
    text-align: center;
    position: relative; 
    padding-left: 10px; 
    padding-bottom: 10px;
}

img#refresh {
    cursor: pointer;
    display: inline-block;
    float: left;
    position: absolute;
    right: 60px; 
    top: 40px;
}

.form-horizontal .control-label {
    padding-top: 0;
    vertical-align: top;
    padding-right: 10px !important;
    font-size: 14px !important;
    text-align: left !important;
}

.chosen-container.chosen-container-single {
    width: 100%;
}

.chosen-container.chosen-container-multi {
    width: 100% !important;
}

.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    height: 30px;
}

.chosen-container-multi .chosen-choices li.search-choice {
    line-height: 18px;
}

.form-control.ordinary, .form-control.datepicker, .form-control.timepicker {
    background-color: #eee;
    cursor: not-allowed;
    opacity: 1;
    font-size: 11px !important;
}

select.form-control option {
    padding: 3px 10px;
}

.datefield.form-control {
    background-color: #eee;
    cursor: not-allowed;
}

#ui-datepicker-div {
    background-color: #f4f4f4;
    z-index: 10001 !important;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    margin-top: 0;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    color: #666;
}

.ui-datepicker .ui-widget-header {
    background: none;
    background-color: #666666 !important;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 0;
}

.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 250px;
}

.table > thead > tr > th {
    vertical-align: top;
}

#disabledoption, .disabledoption {
    background-color: #e1e1e1;
    color: #d4d4d4;
}

.nav > li > a {
    padding: 10px 15px;
    font-size: 16px !important;
}

.nav-tabs > li > a {
    text-transform: inherit;
}

.tabs-vertical-env .nav.tabs-vertical li > a {
    text-transform: inherit;
}

.tabs-vertical-env .nav.tabs-vertical li.active > a, .nav-tabs > li.active > a {
    background-color: #605f5f !important;
    color: #fff;
}


/* Jquery stepy styles */
.button-back { float: left; }
.button-next, .finish { float: right; }
.button-back, .button-next, .finish {
	/*border: 1px solid #C9C4BA; color: #7F0055; cursor: pointer; font: 10px verdana; padding: 3px 10px; text-decoration: none;
	-khtml-border-radius: 3px; -moz-border-radius: 3px; -opera-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;*/
	margin-bottom: 20px; margin-right: 10px;
}
.button-back {
	margin-left: 10px;
}

.step {
	/*border: 1px solid #DDD; 
	-khtml-border-radius: 3px; -moz-border-radius: 3px; -opera-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;*/
	clear: left; 
	width: 100%; 
	padding:5px;
}

.stepy-titles { list-style: none; margin: 0 0 0 15px; padding: 0; width: 100%; }
.stepy-titles li { color: #ccc; cursor: pointer; font-weight: bold; font-size: 16px; float: left; padding: 10px 50px 10px 10px; }
.stepy-titles li span { font-size: 12px; display: block; font-weight:500; }
.stepy-titles .current-step { color: #369; cursor: auto; }

.tabs.tabs-inline.tabs-left {
	width:90%;
}
.tabs.tabs-inline.tabs-left > li > a {
	font-size:16px;
}
.whitelink a, .whitelink {
	color: #fff;
}
.noresults {
    font-size: 18px;
    margin: 60px auto 0;
	margin-bottom:200px;
    text-align: center;
    width: 100%;
	font-weight:normal;
	display:block;
}
.row-bg {
  /*background-color: #f9f9f9;*/
  background-color: #EFF9EB;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  margin: 0 -20px !important;
  margin-bottom: 15px !important;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 20px;
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15) inset;
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15) inset;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15) inset;
}
table.table thead.monitor tr th.monitorhead {
	font-size:11px;
	text-align:center;
	vertical-align:top;
}
table.table tbody.monitorbody tr td {
	font-size:12px;
	padding:5px;
	text-align:center;
}
table.table tbody.monitorbody tr td.variabletd {
	text-align:left;
	font-weight:normal;
	font-size:12px;
	color:#4D759E;
}
table.table tbody.monitorbody tr td.last label {
	text-align:right; 
	padding-right:15px;
	font-weight:bold;
} 
.widget.box .widget-header .btn.noround, .noround, .table.noround {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;	
}
.table td.maptablecell {
	padding-right:15px;
	text-align:right;
}
span.edit, .buttons {
	display:none;
}
.table tbody tr.editable:hover .buttons {
	display:block;
}
#sidebar-menu ul ul ul a {
	padding-left:40px;
}

#ul-data {
  position: relative;
 /* display: block;
  width: 35%;*/
  float:left;
  margin-top:15px;
}
#chart-container {
	display: block;
	width: 100%;
	float:left;
	border: 2px dashed #aaa;
	border-radius: 5px;
	display: inline-block;
	height: 420px;
	overflow: auto;
	position: relative;
	text-align: center;
	ma
}
#ul-data li {
  font-size: 16px;
}
/*Now the CSS*/
* {margin: 0; padding: 0;}
.yellow{background:#FFEC94;}
.orange{background:#FFF7EF;}
.green{background:#B0E57C;}
.royal-blue{background:#56BAEC;}
.brown{background:#FFAEAE;}
.green-one{background:#D6E3B5;}
.blue {background:#666666;}

.tree ul {
	padding-top: 20px; position: relative;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	margin-bottom:10px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without 
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and 
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

.tree li a{
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}
.tree *{margin:0;padding:0}.tree>ul{margin-left:auto;margin-right:auto}.tree ul{padding-top:20px;position:relative;transition:all .5s;-webkit-transition:all .5s;-moz-transition:all .5s}.tree li{float:left;text-align:center;list-style-type:none;position:relative;padding:20px 5px 0 5px;transition:all .5s;-webkit-transition:all .5s;-moz-transition:all .5s}.tree li::before,.tree li::after{content:'';position:absolute;top:0;right:50%;border-top:1px solid #ccc;width:50%;height:20px}.tree li::after{right:auto;left:50%;border-left:1px solid #ccc}.tree li:only-child::after,.tree li:only-child::before{display:none}.tree li:only-child{padding-top:0}.tree li:first-child::before,.tree li:last-child::after{border:0 none}.tree li:last-child::before{border-right:1px solid #ccc;border-radius:0 5px 0 0;-webkit-border-radius:0 5px 0 0;-moz-border-radius:0 5px 0 0}.tree li:first-child::after{border-radius:5px 0 0 0;-webkit-border-radius:5px 0 0 0;-moz-border-radius:5px 0 0 0}.tree ul ul::before{content:'';position:absolute;top:0;left:50%;border-left:1px solid #ccc;width:0;height:20px}.tree li>a{border:1px solid #ccc;padding:5px 10px;width:300px;background:#c8e4f8;text-decoration:none;color:#666;font-family:arial,verdana,tahoma;font-size:11px;display:inline-block;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;transition:all .5s;-webkit-transition:all .5s;-moz-transition:all .5s}.tree li>a.strat{width:250px}.tree li>a.outcome{width:200px}.tree li>a.output{width:200px}.tree li>a:hover,.tree li ul li a:hover{background:#666666;color:#fff;border:1px solid #94a0b4}.tree-parent{width:600px!important}.tree-title{font-weight:bold;display:inline-block;margin-bottom:5px}.tree-subtitle{font-weight:bold;color:#5e738b;display:inline-block;margin-bottom:5px}.tree-text{display:inline-block}.tree li>a.output{width:225px}.tree-parent{width:800px!important}
	
.tree ul li a:hover .tree-subtitle {
	color: #fff;
}	
.tree li > a {
	width:auto;
	min-width:300px;
}
.tree li > a.strat {
	min-height:60px;
}
.btn.grey:not(.btn-outline) {
    background-color: #e5e5e5;
    border-color: #e5e5e5;
    color: #333;
}
.btn.grey-salt:not(.btn-outline) {
    background-color: #bfcad1;
    border-color: #bfcad1;
    color: #fafcfb;
}
.btn.lightgrey-salt:not(.btn-outline) {
    background-color: #eee;
   /* border-color: #bfcad1;*/
    color: #666;
}
.portlet.light.bordered {
    box-shadow: 1px 2px 4px -1px #222533;
}
.portlet.light.bordered {
    border: 1px solid #e7ecf1;
}
.portlet.light {
    background-color: #fff;
    /*padding: 12px 20px 15px;*/
}
.portlet .portlet-body {
	min-height:500px;
}
textarea.expanding {
	height:60px;
	min-height:30px;
}
.table tbody tr.rowheader {
	/*background-color:#666; */
	color:#666;
	font-weight:bold;
}
.table tbody tr.rowheader_obj {
	/*background-color:#666; */
	color:#666;
	font-weight:bold;
}
.table tbody tr.rowheader_impact, .table tbody tr.rowheader_outcomes, .table tbody tr.rowheader_outputs, .table tbody tr.brand  {
	background-color:#666666; 
	color:#fff;
}
.table tbody tr.rowheader_outputs, .table tr.rowheader_outputs td, .table tr td.rowheader_outputs {
	background-color:#666; 
	font-weight:bold;
	/*color:#333;*/
}
.table thead tr.rowheader_outputs td {
	background-color:#666; 
	font-weight:bold;
	color:#fff;/**/
}
.brandtext {
	color:#666666 !important;
}
.blacktext {
	color:#000000 !important;
}
.font10 {
	font-size: 10px !important;
}
.font11 {
	font-size: 11px !important;
}
.font12 {
	font-size: 12px !important;
}
.font13 {
	font-size: 13px !important;
}
.font14 {
	font-size: 14px !important;
}
.font15 {
	font-size: 15px !important;
}
.font16 {
	font-size: 16px !important;
}
.font16 {
	font-size: 18px !important;
}
label.error {
	width: 90% !important;
}
.framedescription {
	font-style:normal;
	display:block;
	font-size:13px;
}
.introtext {
	color: #444; font-size: 13px; font-style: normal; font-family: arial, verdana, tahoma; line-height:20px;
}
.table.table-primary > thead th, .table.table-primary#brandbg > thead th, .table.table-primary.brandbg > thead th {
	background-color: #555;
}

.table#dissag > tbody > td, .table.dissag > tbody > td {
	border:none;
}
.table#dissag > thead  th, .table.table-primary#greybg > thead  th, .table.greybg > thead  th {
	background-color: #666 !important;
	color:#fff;
}
.table.datavalues > thead  th {
	background: none !important;
	color:#666666;
}
.table.datavalues > tbody > td {
	background: none !important;
}
.dataTables_filter {
	display: none;
	position: relative;
	top:0;
	right:0;
	text-align:left;
}
#newSearchPlace .dataTables_filter {
	position:relative;
	right: 0;
	top: 0;
	display:block;
}
.dataTables_filter label {
	display:block;
	width:100% !important;
}
.dataTables_filter input {
	width:85%;
}
div.dataTables_filter {
	text-align:left;
}
#listtable_length {
	display:none;
}
.dropdown-menu > li {
    padding: 0;
}
.dropdown-menu.listtype > li > a {
	padding: 6px 6px;
    text-align: left;
	font-size:12px;
}
.dropdown-menu.listtype {
	min-width:100px !important;
	width:auto !important;
	left: -105px; top: -3px;
}
h3.panel-title {
	text-transform:none;
}
label.control-label.inlinelabel {
	padding-left:10px;
	margin-top:2px;
	display:inline-block;
}
span.inlinelabel {
	font-weight:normal !important; 
	text-align:left; 
	font-size:12px;
	padding-left:10px;
	display:inline-block;
}
.pre_readonly {
	background-color: #eee;
    cursor: not-allowed;
}
.dropdown-menu {
	border-radius:0;
}
p.form-control-static {
	font-size:12px;
	min-height:0;
}

.panel .panel-body p {
	font-size:14px !important;
	line-height:18px !important;
	vertical-align:top;
}
.panel .panel-body p.text-muted {
	color:#666 !important;
	line-height: 20px !important;
	/*
	min-height:25px;*/
}
.panel .panel-body .form-group {
	margin-bottom: 10px !important;
}
.summaryinfo .form-group {
	margin-bottom:9px;	
}
#calendar_index .fc-day-grid-event {
    background-color: #368ee0;
    padding: 3px 2px;
}
#calendar_index .fc-day-grid-event.holiday {
    background-color: red;
}
/* YearView
--------------------------------------------------------------------------------------------------*/
.fc-year-main-table {
	border-spacing: 5px;
}
.fc td.fc-year-monthly-td,
.fc td.fc-year-month-separator,
.fc td.fc-year-month-border {
	border-color: transparent;
}
.fc-year-monthly-td {
	text-align: center;
}
.fc-year-month-border.fc-first {
	width: 0;
	max-width: 8px;
}
.fc-year-month-border.fc-last {
	width: 0;
	max-width: 8px;
}
.fc-year-month-separator {
	width: 8px;
}
.fc-year-view .fc-row table.fc-year-month-header {
	border-left: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
}
.fc-year-monthly-name {
	margin-top: 16px;
	line-height: 24px;
	border-bottom:1px solid #ddd;
}
.fc-year-monthly-name.fc-first {
	margin-top: 0;
}
.fc-year-monthly-name a {
	color: black;
	font-size: 1.2em;
	font-weight: bold;
	text-decoration: none;
}
.fc-year-monthly-footer {
}
.fc-year-view .fc-row .fc-bg table {
	/* missing borders */
	border-left: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
}
.fc-year-view .fc-row.fc-last .fc-bg table {
	/* missing borders */
	border-bottom: 1px solid #dddddd;
}
.fc-year-view .fc-week-number-head.ui-widget-header,
.fc-year-view .fc-day-header.ui-widget-header {
	/* non visible with 1px due to .fc-row:first-child table style */
	border-bottom-width: 2px;
}
.fc-year-view .fc-rigid.fc-row {
	/* fix: right and bottom borders hidden with overflow hidden */
	overflow: inherit;
}
.fc-year-view .fc-day-grid .fc-row {
	min-height: 42px; /* ensure that all rows are at least this tall */
}
.fc-year-view table {
	font-size: .9em;
}
.fc-ltr .fc-year-view .fc-day-number {
	text-align: right;
}
.fc-year-view td.fc-day-number {
	padding: 0 2px;
}
/* week numbers */

.fc-year-view th.fc-week-number-head {
	font-size: 0.85em;
	font-weight: normal;
}

.fc-year-view .fc-week-number-head {
	max-width: 22px; overflow-x : hidden;
	vertical-align: middle;
}

.fc-year-view td.fc-week-number {
	text-align: center;
	border-left-width: 1px;
	border-left-style: solid;
	/* border-left-color: #dddddd; */
	font-size: 0.92em;
	font-weight: normal;
	padding-left: 2px;
}

/* events */

.fc-year-view .fc-event {
	font-size: 9px;
	line-height: 1.15;
	text-align: left;
	border-radius: 2px;
}

.fc-year-view .fc-event-inner {
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fc-year-view .fc-event-title {
}

.fc-year-view .fc-time {
	/* hide time in year view */
	display: none;
}
.tooltipster-content span {
	font-weight:bold;
	display:block;
	font-size:12px;
}
.blog-categories-list li {
	margin-bottom: 7px;
    padding-bottom: 7px;
}
input.form-control:not(.normalwidth), .search-field input {
	width:96%;
	display:inline-block;
}
textarea.form-control {
	width:96%;
	display:inline-block;
}
select.form-control:not(.normalwidth) {
	width:94%;
	display:inline-block;
}
.chosen-container.chosen-container-multi {
	float:left;
	/*width: 95% !important;*/
}
.chosen-container.chosen-container-single {
	float:left;
	/*width: 95% !important;*/
}
img.ui-datepicker-trigger {
    vertical-align: top;
}
.bootstrap-filestyle.input-group .form-control {
	height:34px;
}
.bootstrap-filestyle .input-group-btn .btn {
    padding: 6px 12px;
}
.print {
	margin:15px;
	margin-left:15px;
	max-width:1000px;
}
.print .hideonprint {
	display:none;
}
.panel.hideborderonprint {
	border:none !important;
	padding:0;
	padding-right:0;
}
.noleftprintpadding {
    padding-left: 0 !important;
	padding-right:0;
}
ul.customlist {
	margin-left:15px; font-size:11px; overflow-y:scroll; height:150px;
	font-weight: normal !important;
}
ul.customlist.noboldlist li {
	font-weight: normal !important;
}
.chosen-container .chosen-drop {
	min-height:250px;
	position:absolute;
	z-index:100000;
}
.alert > ul {
	margin-left:15px;
}
.app-search a {
	top:24px;
}
ul.bulletlist li {
	margin-left:20px;
}
#listtable_wrapper.dataTables_wrapper .ColVis {
	display:none;
}
div.ColVis {
    float: left;
    margin: 0;
    padding: 0;
}
button.ColVis_Button {
    height: auto;
    margin-right: 0;
    padding: 6px 8px;
	border:solid 1px #ddd;
}
button.ColVis_Button, ul.ColVis_collection li {
    color: #333;
    cursor: pointer;
    font-size: 10px;
}
ul.ColVis_collection {
	background-color: #fff;
	opacity:1;
}
.bootstrap-timepicker-widget table td input {
	border: 1px solid #999;
	padding: 8px;
	width: 50px;
}
.bootstrap-filestyle.input-group {
	width:300px;
}
.ms-drop input[type="checkbox"] {
	margin-right:5px;
	vertical-align: top;
}
.ms-drop ul li:hover {
	background-color:#eee;
}
.ms-choice {
	line-height:26px;
	height:26px;
	border-radius:0;
}
.ms-drop ul > li {
	padding:2px;
}
.ms-drop ul > li label {
	font-size:13px;
	color:#666;
}
.selectarea select option {
    border-bottom: 1px dashed #828384;
	font-size: 12px;
	color: #000;
}
.selectarea select option.nested {
	color: #555;
    font-size: 11px;
    font-style: normal;
    padding-left: 25px;
}
.selectarea select {
	margin-top:5px; 
	height:250px;
	width:100%;"
}
.blog-categories-list li > a {
	display:inline !important;
}
/* styles for responsive pivot UI + bootstrap-like styles default */			
.pivotHolder table.pvtUi {
	table-layout:fixed;
	width:100%;
}
.pivotHolder select {
	visibility:hidden;
}
.pivotHolder select.form-control {
	visibility:visible;
}

.pivotHolder > table.pvtUi, .pivotHolder table.pvtTable {
	width:100%;
	margin-bottom:0px;
}
.pivotHolder > table.pvtUi>tbody>tr>td, .pivotHolder > table.pvtUi>tbody>tr>th {
	border: 1px solid #ddd;
}
.pivotHolder .pvtAxisContainer li span.pvtAttr {
	height:auto;
	white-space:nowrap;
}
.pivotHolder .pvtAxisContainer.pvtUnused, .pivotHolder .pvtAxisContainer.pvtCols {
	vertical-align:middle;
}

.pivotHolder > table.pvtUi>tbody>tr:first-child > td:first-child {
	width:250px;
}

.pivotHolder td.pvtRendererArea {
	padding-bottom:0px;
	padding-right:0px;
	border-bottom-width:0px !important;
	border-right-width:0px !important;
}
.pivotHolder td.pvtVals br { display:none; }			

.pvtRendererArea>div {
	overflow:auto;
}

.pvtTableRendererHolder {
	max-height:600px;  /* limit table height if needed */
}
.pvtUi select.pvtRenderer, .pvtUi select.pvtAggregator, .pvtUi select.pvtAttrDropdown {
	float:left;
	max-width:150px;
}

/* custom */
table.pvtUi td:first-child {
	min-width:250px;
	max-width:300px;
	white-space:normal;
}
.pvtFixedHeader {
	cursor:pointer;
}
td.pvtAxisContainer.pvtRows {
	max-width:300px;
}
th.pvtAxisLabel {
	min-width:auto !important;
}
.pvtColLabel {
	min-width:100px;
	max-width:200px;
	white-space:normal;
}
.pvtRowLabel {
	min-width:150px;
	max-width: 250px;
	white-space:normal;
}
.pvtAxisContainer li span.pvtAttr {
	padding: 6px;
	margin-bottom:5px;
    white-space: nowrap;
    background: #fff;
    white-space: normal;
    display: inline-block;
}
.pvtFilterBox {
	max-width: 600px;
	width: auto;
	text-align:left;
}
.pvtFilterBox p {
	padding:8px;
}
.pvtFilterBox p button {
	margin-right:8px;
}
table.pvtTable tbody tr th, table.pvtTable thead tr th {
	background-color: #eeeeee;
}
.c3-line, .c3-focused {stroke-width: 3px !important;}
.c3-bar {stroke: white !important; stroke-width: 1;}
.c3 text { font-size: 12px; color: grey;}
.tick line {stroke: white;}
.c3-axis path {stroke: grey;}
.c3-circle { opacity: 1 !important; }
.c3-xgrid-focus {visibility: hidden !important;}

.grid-stack-item-content {
-webkit-box-shadow: 1px 0px 12px 8px rgba(173,177,179,1);
-moz-box-shadow: 1px 0px 12px 8px rgba(173,177,179,1);
box-shadow: 1px 0px 12px 8px rgba(173,177,179,1);
}
.grid-stack .grid-stack-item .grid-stack-item-content {
    overflow: hidden;
}

#fm-pivot-view #fm-branding-bar #fm-link {
	display:none;
}
#fm-pivot-view #fm-branding-bar #fm-version-label {
	display:none;
}
#fm-toolbar-wrapper #fm-toolbar #fm-tab-save .fm-dropdown-content span {
	left:10px;
}
#fm-pivot-view #fm-branding-bar {
	display:none;
}
.media.comments {
	border-bottom: 1px dashed #ccc;
	padding:10px;
	margin-top:0;
}
.media.comments:hover {
	background-color: #f9f9f9;
}
.media.comments .media-body {
	padding-right:60px;
}
.six_four_size {
	width: 64px; height: 64px;
}
.media-heading {
	font-size:12px !important;
}
.media.comments .actions {
	right:10px; top:10px;
}
.media.comments .actions button {
	opacity:0.5;
}
.media.comments .media-body .text-muted {
	font-size:11px !important;
}
.unread {
	background-color:#f4f4f4;
}
.tooltipster-sidetip.tooltipster-light .tooltipster-content {
	font-size:11px !important;
}
a.menuleft {
	text-align:center !important;
}
li.menuli {
	/*border-top: 1px solid #eee; display: block;*/
}
.panel-title.section {
	padding:15px; padding-top:0;
}
h3.panel-title.section.greylink {
	color:#666 !important;
}
.nav-tabs.horizontal > li > a {
	border-radius:0px !important;
}
.nav-tabs.horizontal.tabs_top {
	border-bottom: 1px solid #605f5f;
}
.nav-tabs.horizontal.tabs_top > li > a {
	font-size:14px !important;
}
.nav-tabs.horizontal.tabs_top.layer1 > li > a {
	padding: 5px 15px;
}
.nav-tabs > li > a {
    background-color: #eee;
	border-bottom-color: #605f5f;
}
.nav-tabs > li > a:hover {
    background-color: #ddd;
}
.nav-tabs > li > a:hover {
    border-color: #605f5f;
}
.tab-content .nav-tabs li a {
	padding:4px 20px;
}
.nav-tabs.horizontal.tabs_top.layer2 > li.active > a {
	background-color: #666666 !important;
}
.nav-tabs.horizontal.tabs_top > li.active > a:hover {
	color: #fff !important;
}
.form-group .bootstrap-tagsinput input {
	width:100% !important;
}

.ui-accordion .ui-accordion-content {
	background:none !important;
}
.ui-accordion .ui-accordion-header {
	color: #4d4d4d !important;
	background: none;
	background-color: #ddd !important;
	border:none;
}
.ui-accordion .ui-accordion-header span.indicator {
	font-family: inherit;
	font-size:12px !important; font-weight:normal; display:block;
	padding-left: 15px;
}
.ui-accordion .ui-accordion-header .ui-accordion-header-icon, .ui-state-active .ui-icon {
	background-image: url("/images/ui/ui-icons_222222_256x240.png") ;
}
.ui-accordion .ui-accordion-header.ui-accordion-header-active {
	color: #fff !important;
	background-color: #666666 !important;
}
.ui-accordion .ui-accordion-header.ui-accordion-header-active span.indicator {
	color: #fff !important;
}
.ui-accordion .ui-accordion-header.ui-accordion-header-active .ui-accordion-header-icon {
	background-image: url("/images/ui/ui-icons_ffffff_256x240.png") ;
}
.nav.nested > li > a {
    padding: 3px 25px;
    font-size: 14px !important;
	border-radius:0;
	font-weight:normal;
}
.nav.nested li.active > a {
	background-color:#fff !important;
	color:#333 !important;
	border-radius:0;
	font-weight:bold;
}
.nav.dashboard > li > a {
    padding: 5px 48px;
    font-size: 16px !important;
}
.nav.dashboard li.active > a {
	background-color:#666666 !important;
	color:#fff !important;
}
.nav.dashboard li.hastext > a > span {
	font-style:italic !important; 
	font-size:16px !important; 
	display:inline;
}
.nav.dashboard li.hastext > a > span.red {
	color: #FF0004 !important;
}
.widget-box-two .widget-two-icon {
    position: absolute;
    right: 20px;
    font-size: 35px !important;
    top: 39px;
    overflow: hidden;
    vertical-align: middle;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
	opacity: 0.4;
    border-radius: 75%;
}
.nav-tabs.horizontal.tabs_top.partner > li > a {
	padding: 6px 20px;
}
.nav-tabs.horizontal.tabs_top.partner > li.active > a {
	background-color:#666666 !important;
}
.cursorlinkto, .putcursor {
	cursor:pointer;
}
.filterdisplay {
	border: 1px solid #999;
	padding: 3px 10px 3px 10px;
	border-radius: 4px;
	font-size: 10px;
	width:auto;
	display:inline;
	margin-right:10px;
	margin-bottom:5px;
}
.filterdisplay i {
	cursor:pointer;
	padding-left:5px;	
}