/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    padding-top: 0px;
    background-color: #EDEDED;
    font-size: 15px;
    height: 100%; /* make the percentage height on placeholder work */
}

html {
    height: 100%; /* make the percentage height on placeholder work */
}

.embedded {
    background-color: transparent;
}

#outer-wrapper {
    min-width: 100%;
    float: left;
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 15px 30px;
    min-height: 568px;
    background-color: #fff;
}

#page-wrapper-full {
    background-color: #fff;
    padding: 15px 30px;
    min-height: 100vh;
}

@media (min-width: 768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 15px 30px;
        border-left: 1px solid #e7e7e7;
    }
}

#page-wrapper-full.popup {
    margin: 0 0 0 0;
}

#page-wrapper.popup {
    margin: 0 0 0 0;
}

.navbar-header {
    background-color: white;
    height: 51px;
}

.navbar-title {
    background-color: transparent;
    padding-left: 10px;
    height: 50px;
    line-height: 50px;
    color: white;
    font-size: 18px;
    float: left;
    vertical-align: middle;
}

.navbar-brand-link {
    height: 51px;
    width: 2em;
}

.navbar-brand-link img {
    height: 90%;
    padding: 2px;
    margin: 2px;
}

.navbar-default {
    background: #F5F5F5;
    border: none;
}

.navbar-static-top {
    background-color: #293E66;
    border-color: #3C3C3C;
}

.navbar-right {
    float: right !important;
    margin-right: -15px;
}

.navbar-nav.navbar-right > li > a.historylink {
    color: #293E66;
    text-decoration: none;
}

.navbar-nav.navbar-right > li > a.historylink:hover {
    text-decoration: none;
}

.navbar .nav > li > a {
    color: #ffffff;
}

a {
    color: #293E66;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.navbar .nav > li > a:hover {
    text-decoration: none;
}

.navbar .nav > li > a:active,
.navbar .nav > li > a:focus {
    background-color: #3683C2;
    outline: none;
}

.nav > li > a:hover {
    background-color: #3683C2;
}

.navbar-admin .navbar-right > li > a.dropdown-toggle {
    background-color: #293E66;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid #293E66;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    margin-bottom: 0px;
    margin-top: 8px;
}

.navbar-admin .navbar-right > li:hover,
.navbar-admin .navbar-right > li > a.dropdown-toggle:hover,
.navbar-right > li:hover {
    background-color: #51B2EA;
    text-decoration: none;
    color: white;
}

.navbar-admin .navbar-right > li:active,
.navbar-admin .navbar-right > li:focus {
    background-color: #265a88;
    color: white;
    outline: none;
}

.navbar-admin .navbar-right > li > a.dropdown-toggle:active,
.navbar-admin .navbar-right > li > a.dropdown-toggle:focus {
    background-color: #265a88;
    color: white;
    outline: none;
}

.navbar .nav > li > a {
    padding-left: 5px;
}

.navbar-top-links {
    margin-right: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.navbar-admin {
    background: #F5F5F5;
    border: none;
}

.navbar-admin > .navbar-header {
    width: 250px;
    background: transparent;
}

.navbar-admin.navbar.navbar-default > ul > li > a {
    color: #000;
}

.navbar-admin.navbar.navbar-default > ul > li:hover,
.navbar-admin.navbar.navbar-default > ul > li > a:hover {
    color: #23527c;
    text-decoration: underline;
    background-color: transparent;
}

.navbar-admin.navbar.navbar-default > ul > li:visited,
.navbar-admin.navbar.navbar-default > ul > li > a:visited {
    color: #000;
    text-decoration: none;
    background-color: transparent;
}

.navbar-installation {
    color: #3C3C3C;
    line-height: 1.5em;
    font-size: 1.25em;
    font-weight: bold;
    padding-left: 5px;
    border-bottom: 1px solid #A8A8A8;
}

#header-triangle {
    width: 0;
    height: 0;
    border-bottom: 51px solid white;
    border-right: 100px solid #293E66;
    right: 0px;
    float: right;
}

.sidebar {
    background-color: #EDEDED;
    clear: right;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul {
    background-color: #EDEDED;
}

.sidebar-nav .nav > li > a {
    text-decoration: none;
    color: #3C3C3C;
}

.sidebar-nav .nav > li > a:hover {
    text-decoration: none;
    color: white;
    background-color: #51B2EA;
}

.sidebar-nav .nav > li.active {
    background-color: #293E66;
}

.sidebar-nav .nav > li.active > a:nth-child(1) {
    text-decoration: none;
    color: white;
    background-color: #293E66;
}

.sidebar-top-devider {
    border-top: 1px solid #EDEDED;
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active > a > .fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0 !important;
    background-color: white;
}

.sidebar .nav-second-level li a {
    padding-left: 10px;
}

.sidebar .nav-third-level li a {
    padding-left: 15px;
}

@media (min-width: 768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        margin-top: 51px;
    }

    .navbar-header {
        width: 250px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
    text-decoration: none;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    color: #fff;
    background: #293E66 !important;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info {
    color: #fff;
    background: #5bc0de !important;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success {
    color: #fff;
    background: #1a9e57 !important;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning {
    background: #f0ad4e;
    color: #fff !important;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger {
    color: #fff;
    background: #db1703 !important;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default {
    color: #000;
    background: #eee !important;
}

.btn-success {
    background-color: #1a9e57;
}

.btn-success:hover {
    background-color: #2aae67;
}

.btn-primary {
    background-color: #293E66;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger {
    background-color: #db1703;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn a:hover {
    text-decoration: none;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
    text-decoration: none;
}

a.btn:hover {
    text-decoration: none;
}

.btn.btn-default.btn-xs a {
    color: #333;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.btn .glyphicon {
    padding-right: 5px;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 75vh;
}

.flot-chart-embedded {
    display: block;
    height: 100%;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

.pieLabel {
    font-size: 8pt;
    text-align: center;
    color: #2c2c2c;
    border-radius: 6px;
}

.morris-hover-row-label {
    font-size: 16px;
}

.morris-hover-point {
    font-size: 16px;
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

table.dataTable.fixedHeader-floating {
    margin-top: 0 !important;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 4px;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50, 50, 50, .5);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee !important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

.external-url {
    width: 1024px;
    height: 625px;
    /*min-height: 700px;*/
}

#content-main {
    clear: both;
}

/* Added for admin & datefields */
.controls > p {
    padding-top: 5px;
}

.controls > ul,
.controls > .related-widget-wrapper > ul {
    list-style-type: none;
    padding-left: 0px;
}

.controls > ul label,
.controls > .related-widget-wrapper > ul label {
    font-size: 14px;
}

.controls > ul .form-control,
.controls > .related-widget-wrapper > ul .form-control {
    height: auto;
    margin: 9px 0;
}

.selector .selector-filter label {
    display: none;
}

.selector h2 {
    font-size: 100%;
    margin: 0;
}

.checkbox {
    padding-bottom: 5px;
}

.checkbox label {
    margin-bottom: 0px;
}

.checkbox .help-block {
    margin-top: 0;
}

fieldset.collapse {
    height: inherit;
}

.add-row {
    margin-bottom: 20px;
}

legend a:hover {
    text-decoration: none;
}

.wide label {
    width: auto !important;
}

/* change_list actions */
.actions {
    display: inline-block;
}

.actions select {
    margin-top: 5px;
    display: inherit;
    width: inherit;
}

.action-counter {
    margin-left: 5px;
    vertical-align: sub;
}

/* change_list table display */
th.action-checkbox-column {
    width: 1.5em;
    text-align: center;
}

td.action-checkbox {
    text-align: center;
}

.tooltip.in {
    opacity: 1
}

/* Hard to see against black text otherwise */

#_changelist {
    clear: both;
}

.scrollable-dropdown-menu {
    overflow-x: hidden;
    max-height: 322px;
}

.scrollable-dropdown-menu li form a {
    clear: both;
    color: #333;
    display: block;
    font-weight: normal;
    line-height: 1.42857;
    padding: 3px 20px;
    white-space: nowrap;
}

#content-main {
    clear: both;
}

div.additional-fields div.form-control,
div.additional-fields div.form-control-sm {
    margin-bottom: 0;
}

div#header-panel .control-label.col-md-3 {
    border-bottom: 1px solid lightgrey;
    margin: 0px;
    padding: 2px;
}

div#header-panel .control-label.col-md-4 {
    border-bottom: 1px solid lightgrey;
    margin: 0px;
    padding: 2px;
}

div#header-panel .control-label {
    border-bottom: 1px solid lightgrey;
    margin: 0px;
    padding: 4px;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: left;
        border-bottom: 1px solid lightgrey;
    }
}

@media (min-width: 970px) {
    .form-horizontal .control-label {
        text-align: right;
        border-bottom: 1px solid lightgrey;
    }
}

/* bootstrap 3.2 change */
.checkbox input[type="checkbox"] {
    position: static;
    float: left;
    margin-left: 0px;
    margin-right: 5px;
}

input[type="checkbox"],
input[type="radio"] {
    margin: 0px 0px 0px;
    line-height: normal;
}

/* admin/css/forms.css makes labels too small */
.control-label label {
    font-size: 14px;
}

.form-control-inline {
    width: auto;
    display: inline;
}

.spacer {
    margin-bottom: 20px;
    clear: both;
}

/* End Added for admin & datefields */

.loaderImage {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.refreshProgress {
    position: relative;
    width: 0%;
    height: 2px;
    background-color: #595e77;
}

.dashboard_panel {
    overflow: auto;
}

select[name="refresh_time_type"]:not(.form-control) {
    height: 18px;
}

.dt-horizontal {
    width: 200px !important;
    white-space: normal !important;
}

.dd-horizontal {
    margin-left: 220px !important;
}

.checkbox label, .radio label, .checkbox.input-sm {
    padding-left: 0;
}

.checkbox label {
    vertical-align: middle;
    line-height: 1em;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.bs-callout p:last-child {
    margin-bottom: 0;
}

.bs-callout code {
    border-radius: 3px;
}

.bs-callout + .bs-callout {
    margin-top: -5px;
}

.bs-callout-default {
    border-left-color: #777;
}

.bs-callout-default h4 {
    color: #777;
}

.bs-callout-primary {
    border-left-color: #428bca;
}

.bs-callout-primary h4 {
    color: #428bca;
}

.bs-callout-success {
    border-left-color: #5cb85c;
}

.bs-callout-success h4 {
    color: #5cb85c;
}

.bs-callout-danger {
    border-left-color: #d9534f;
}

.bs-callout-danger h4 {
    color: #d9534f;
}

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

.bs-callout-warning h4 {
    color: #f0ad4e;
}

.bs-callout-info {
    border-left-color: #5bc0de;
}

.bs-callout-info h4 {
    color: #5bc0de;
}

.breadcrumb > li > a {
    color: #293E66;
    text-decoration: none;
}

.breadcrumb > li > a:hover {
    text-decoration: underline;
}

.datepicker {
    z-index: 998 !important;
    position: relative;
}

.ui-autocomplete {
    z-index: 999 !important;
    max-height: 500px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

.ui-sortable-handle {
    cursor: move;
}

.ui-datepicker .ui-datepicker-title select {
    color: black;
}

.font-monospace {
    font-family: monospace;
}

.workflow-state-checkbox {
    display: none;
}

.workflow-state-selector input[type=checkbox]:checked + .workflow-state,
.workflow-state-selector input[type=radio]:checked + .workflow-state {
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}

.workflow-state-selector input[type=checkbox] + .workflow-state,
.workflow-state-selector input[type=radio] + .workflow-state {
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    -webkit-filter: brightness(1.2) grayscale(.5) opacity(.5);
    -moz-filter: brightness(1.2) grayscale(.5) opacity(.5);
    filter: brightness(1.2) grayscale(.5) opacity(.5);
}

.workflow-state {

}

.workflow-state:hover {
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
    -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
    filter: brightness(1.2) grayscale(.5) opacity(.9);
}

.popup-action-list {
    padding: 10px 15px 10px 10px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

div #index-page {
    height: 95%;
    width: 95%;
    opacity: 0.1;
}

div #index-page img {
    height: 95%;
    width: 100%;
}

#watermark {
    position: fixed;
    bottom: 5px;
    right: 5px;
    opacity: 0.1;
    z-index: 99;
    color: white;
}

.top-buffer {
    margin-top: 20px;
}

.btn[disabled] {
    pointer-events: auto !important;
}

.has-success .bootstrap-select .dropdown-toggle,
.success .bootstrap-select .dropdown-toggle {
    border-color: #3c763d;
}

.transition {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#datatables_processing {
    position: absolute;
    z-index: 99 !important;
    margin-top: 85px !important;
    padding-top: 33px;
    padding-bottom: 36px;
    top: 100px;
    /*background-color: #FFF;
    opacity: 1;
    border-style: none;
    background-color:rgba(0, 0, 0, 0.0);
    left: 0;
    width: 100%;
    top: 0;*/
}

.ag-row-hover {
    background: lightgrey !important;
}

.picture-max-height-75 {
    max-height: 75px;
}

.picture-max-height-300 {
    max-height: 300px;
}

.picture-max-width-100percent {
    max-width: 100%;
}

.chip {
    display: inline-block;
    margin-top: 2px;
    margin-bottom: 2px;
    padding: 0 10px;
    height: 30px;
    font-size: 14px;
    line-height: 30px;
    border-radius: 20px;
    background-color: #f1f1f1;
}

.checkbtn {
    padding-left: 10px;
    color: #888;
    font-weight: bold;
    float: right;
    font-size: 20px;
    cursor: pointer;
}

.checkbtn:hover {
    color: #000;
}

form .control-label-not-required {
    font-weight: 500;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

.sortable-placeholder {border: 1px dashed #ccc;height: 100px;background-color: #adbbd6 !important;}
