﻿.navbar-custom {
    background-image: -webkit-linear-gradient(top, rgba(0, 160, 208, 0.27) 0%, rgba(0, 160, 208, 0.47) 100%);
    background-image: -o-linear-gradient(top, rgba(0, 160, 208, 0.27) 0%, rgba(0, 160, 208, 0.47) 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 160, 208, 0.27)), to(rgba(0, 160, 208, 0.47))));
    background-image: linear-gradient(to bottom, rgba(0, 160, 208, 0.27) 0%, rgba(0, 160, 208, 0.47) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#00A0D0', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
    border-radius: 0;
    color: black !important;
}

    .navbar-custom .navbar-nav > li > a {
        color: black !important;
    }

    .navbar-custom .navbar-nav > .active > a, .navbar-nav > .active > a:hover, .navbar-nav > .active > a:focus {
        color: black !important;
        background-color: transparent;
    }

    .navbar-custom .navbar-brand {
        color: black !important;
    }

.navbar-brand {
    color: black !important;
    font-size: x-large;
    background-position: 4px center;
    opacity: 0.7;
}

.navbar-custom .vision-menu .navbar-brand {
    color: #fff !important;
}

#loading-bar .bar {
    background: #4086f4 !important;
    height: 4px;
}

.form-login {
    max-width: 335px;
    padding: 0px 15px 5px 15px;
    margin: 0 auto;
    min-height: 100px;
}

    .form-login .form-login-heading {
        margin-bottom: 10px;
    }

    .form-login .form-control {
        position: relative;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px;
        margin-bottom: 5px;
        font-size: 13px;
    }

        .form-login .form-control:focus {
            z-index: 2;
        }

/*Top menu*/
.languages-menu {
    list-style-type: none;
    position: absolute;
    right: 12px;
    z-index: 100;
    font-size: 12px;
}

    .languages-menu li {
        cursor: pointer;
        float: right;
        margin-left: 6px;
        color: black;
    }

    .languages-menu .active {
        color: #3399f3 !important;
        pointer-events: none;
    }

/*ui grid*/

.ui-grid-cell-padding {
    padding: 4px;
}

.ui-grid-cell-center {
    text-align: center;
}

.ui-grid-cell-valign-down {
    vertical-align: bottom;
}

.ui-grid-cell-contents {
    padding: 4px;
}

.ui-grid-filter-button [class^="ui-grid-icon"] {
    margin-top: -18px !important;
    right: 4px !important;
}
.main-menu .dropdown:hover > .dropdown-menu {
    display: block;
	width: auto;
} 

.ui-grid-filter-container {
    padding: 0px 4px 4px 4px;
}

.ui-grid-filter-container-custom {
    background: white;
    border: 1px solid #d4d4d4;
    padding: 0 4px;
    height: 22px;
}

.ui-dialog, .ui-dialog-content {
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

input[type="text"].ui-grid-filter-input {
    padding: 0px 4px;
}

.ui-grid-filter-input {
    font-weight: normal;
}

.caret-up {
    width: 0;
    height: 0;
    border-left: 4px solid rgba(0, 0, 0, 0);
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-bottom: 4px solid;
    display: inline-block;
    margin-left: 2px;
    vertical-align: middle;
}

.ui-grid-filter-container input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.ui-grid-menu-button {
    background: transparent;
    border: 0;
}

.ui-grid-menu-mid {
    overflow: visible !important;
}

.cms-ui-grid-fullsize {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
}

.ui-grid-toolbar {
    overflow: hidden;
    background-color: #EFEFEF;
    height: 29px;
    border: 1px solid #d4d4d4;
    border-bottom-width: 0;
}

.ui-grid-toobar-fullsize {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
}
    .ui-grid-toolbar .toolbar-label {
        margin-right: 30px;
        margin-left: 4px;
        font-size: larger;
        font-weight: bold;
        text-decoration: underline;
        float: left;
        margin-top: 2px;
    }

    .ui-grid-toolbar button:first-child {
        margin-left: 1px;
    }

    .ui-grid-toolbar button {
        background-color: transparent;
        margin-top: 1px;
        width: 32px;
        height: 26px;
        border: 0;
    }

        .ui-grid-toolbar button:hover {
            background-color: #B7E4F1;
        }


/*table classes*/
.div-table {
    display: table;
    width: 100%;
}

    .div-table > div {
        display: table-row;
    }

        .div-table > div > div {
            display: table-cell;
            padding: 8px;
            vertical-align: middle;
        }

.div-table-condensed > div > div {
    padding: 4px;
}

.div-table-firstCol-right > div > div:first-child {
    text-align: right;
}

.div-table-oddCol-right > div > div:nth-child(odd) {
    text-align: right;
}

.div-table-right {
    text-align: right;
}

.div-table .control-label {
    padding: 0;
    margin: 0;
}

.tableTextEllipsis {
    max-width: 100%;
    table-layout: fixed;
}

    .tableTextEllipsis td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tableTextEllipsis th {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.table-firstcol-select > thead > tr > th:first-child {
    width: 40px;
    text-align: center;
}

.table-firstcol-select > tbody > tr > td:first-child {
    text-align: center;
}

.cms-table {
    width: 100%;
    margin-bottom: 10px;
    margin-top: 2px;
}

    .cms-table label {
        margin-bottom: 0;
    }

    .cms-table > thead > tr > th {
        padding: 8px;
    }

    .cms-table > tbody > tr > td {
        padding: 8px;
    }

.cms-table-condensed > thead > tr > th {
    padding: 4px;
}

.cms-table-condensed > tbody > tr > td {
    padding: 4px;
}

.cms-table-oddCol-right > tbody > tr > td:nth-child(odd) {
    text-align: right;
}

.fc-toolbar {
    margin-top: 1em;
}

.flex-columns-layout {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    height: 100%;
}

    .flex-columns-layout .flex-row-auto {
        flex: 0 0 auto;
        -webkit-flex: 0 0 auto;
    }

    .flex-columns-layout .flex-row-fill {
        flex: 1 1 100%;
        -webkit-flex: 1 1 100%;
    }

.flex-columns-layout[ng-controller]:not([ng-controller='roleEntityPermissionController']):not([ng-controller='editViewResourceController']) {
    height: unset;
}

.flex-columns-layout[ng-controller]>.dialog-button-bar {
    z-index: 99;
}

.flex-tabset {
    height: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}

    .flex-tabset > ul {
        flex: 0 0 33px;
        -webkit-flex: 0 0 33px;
    }

    .flex-tabset .tab-content {
        display: flex;
        display: -webkit-flex;
        flex: 1 1 100%;
        -webkit-flex: 1 1 100%;
    }

        .flex-tabset .tab-content .tab-pane.active {
            display: flex;
            display: -webkit-flex;
            flex: 1 1 100%;
            -webkit-flex: 1 1 100%;
            flex-direction: column;
            -webkit-flex-direction: column;
            overflow: hidden;
        }

.dialog-button-bar {
    text-align: right;
    padding: 4px 2px;
    flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    border-top: 1px solid #AAAAAA;
    background: white;
    z-index: 1000;
}

.scrolltable {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    -webkit-flex-direction: column;
}

    .scrolltable table {
        margin-bottom: 0;
    }

    .scrolltable > .body {
        width: -webkit-fit-content;
        overflow-y: auto;
        flex: 1;
        -webkit-flex: 1;
        width: 100%;
    }

        .scrolltable > .body > table > tbody > tr:first-child > td {
            border-top: 0;
        }

.flex-parent {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.threeOptionsCell {
    text-align: center;
    width: 80px;
    vertical-align: middle;
}

    .threeOptionsCell > div {
        float: left;
        margin-right: 8px;
    }

        .threeOptionsCell > div:last-child {
            float: left;
            margin-right: 0px;
        }

.cms-ui-select {
    background: white;
    height: 22px !important;
    border: 1px solid #d4d4d4;
}

.cms-ui-select-match {
    height: 22px;
}

    .cms-ui-select-match span {
        height: 22px;
        line-height: 10px;
    }

    .cms-ui-select-match > input[type="search"] {
        height: 22px;
    }

.cms-ui-select-choices {
    margin-top: 6px !important;
}

.ui-grid-top-panel {
    overflow: visible !important;
}

.ui-grid-header-viewport {
    overflow: visible;
}

.messages-side {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 8px;
    width: 164px;
    background-color: #f5f5f5;
    overflow: auto;
}

.messages-new {
    background-color: rgba(0, 140, 240, 0.79) !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    color: white !important;
    border-radius: 3px !important;
    margin-left: 5px !important;
    display: inline-block;
    vertical-align: text-top;
}

.alerts-new {
    background-color: rgba(230, 66, 66, 0.79) !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    color: white !important;
    border-radius: 3px !important;
    margin-left: 5px !important;
    display: inline-block;
    vertical-align: text-top;
}

.messages-content {
    position: absolute;
    top: 0;
    left: 196px;
    bottom: 0;
    right: 0;
    overflow: auto;
}

    .messages-content h2 {
        font-size: 16px;
        font-weight: normal;
    }

.messages-side .active {
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    background-color: rgba(82, 147, 122, 0.47);
    cursor: pointer;
}

.messages-side a:hover {
    color: #003300 !important;
    background-color: rgba(92, 212, 166, 0.47) !important;
    cursor: pointer;
}

.messages-side .active a {
    color: #ffffff !important;
    cursor: pointer;
}

    .messages-side .active a:hover {
        color: #003300 !important;
        background-color: rgba(92, 212, 166, 0.47) !important;
        cursor: pointer;
    }

.unread-message {
    text-align: center;
    margin: 1em;
}

.btn-compose {
    width: 120px;
    margin-bottom: 2em;
}

/*Bootstrap*/

.form-control {
    padding: 5px 8px !important;
}

.modal-xl {
    width: 55%;
    min-width: 800px;
}

.modal-xxl {
    width: 65%;
    min-width: 850px;
}

.modal-xxxl {
    width: 75%;
    min-width: 900px;
}
 


.organigram-node {
    -moz-min-width: 165px;
    -ms-min-width: 165px;
    -o-min-width: 165px;
    -webkit-min-width: 165px;
    min-width: 165px;
    height: 60px;
    background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
    background-repeat: no-repeat;
    color: white;
    font-weight: bold;
    font-size: 14px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    -webkit-user-select: none;   
    -moz-user-select: none;
    -ms-user-select: none;
}

.organigram-title {
    color:#446e9b;
    font-weight: bold;
    text-decoration: underline;
}

.selected-organigram-node {
    background: #6d94bf;
}