/*
  force scrollbar to avoid 'centering jumps'
  (https://css-tricks.com/snippets/css/force-vertical-scrollbar)
*/
html {
    overflow-y: scroll;
}

.ng-cloak, .ev-cloak {
    visibility: hidden;
}

.ev-console-btn-remove {
    padding-left: 2px;
    padding-right: 2px;
    color: lightgrey;
    border: solid 1px transparent;
    display: inline-block;
    text-decoration: none;
}
.ev-console-btn-remove:hover {
    color: lightgrey;
    border: solid 1px lightgrey;
    text-decoration: none;
}

h1 {
    margin-top: 0 !important;
    color: #507086 !important;
    font-size: 22pt !important;
}

h2.ev-console-service-title {
    margin-top: 14px;
}

div#consoleContainer {
    width: 90%;
    padding-right: 0;
    padding-left: 0;
}

.ev-console-service-unknown-msg {
    font-style: italic;
    color: darkred;
}
.ev-mainnav-item > a {
    font-size: 18px;
}

.ev-rightnav-item > a {
    font-size: 20px;
}

body[ng-app="ev-console"] {
    background-color: #fafafa;
}

body[ng-app="ev-console"] #roles.form-control {
    height: unset;
}

div#ev-content > nav.navbar {
    margin: 0px;
}

div#ev-content > nav.navbar > div#consoleContainer {
    width: 90%;
    padding: 0px;
}

[ng-app="ev-console"] > #ev-progress > svg[viewBox*="0"] > path {
    stroke: #005044;
}

[ng-app="ev-console"] #ev-content .navbar.navbar-default {
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.27);
    background-color: #166c5f;
    border-color: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>li>a {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
    padding-bottom: 9px;
    margin-bottom: 13px;
}

[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>li>a:hover:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    bottom: 0;
    width: 80%;
    border-bottom: 2px solid;
}

[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.open>a,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.open>a:focus,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.open>a:hover,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.active>a,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.active>a:focus,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.active>a:hover{
    background-color: transparent;
}

[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.open>a:before,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.open>a:focus:before,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.open>a:hover:before,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.active>a:before,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.active>a:focus:before,
[ng-app="ev-console"] #ev-content .navbar-default .navbar-nav>.active>a:hover:before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    bottom: 0;
    width: 80%;
    border-bottom: 2px solid;
}

[ng-app="ev-console"] #ev-content .ev-rightnav-item>ul.dropdown-menu {
    margin-top: -6px;
    border-color: #00483d;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

[ng-app="ev-console"] #ev-content .ev-rightnav-item>ul.dropdown-menu>.active>a,
[ng-app="ev-console"] #ev-content .ev-rightnav-item>ul.dropdown-menu>.active>a:focus,
[ng-app="ev-console"] #ev-content .ev-rightnav-item>ul.dropdown-menu>.active>a:hover {
    background-color: #00483d;
    color: #fff;
    text-decoration: none;
    outline: 0;
}


[ng-app="ev-console"] #ev-content .ev-rightnav-item>ul.dropdown-menu::after {
    right: 10px;
    top: -6px;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #00483d;
    border-left: 6px solid transparent;
    position: absolute;
    display: inline-block;
    content: '';
}

#loaderCentered{
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 40%;
    left: 45%;
    position: fixed;
    top: 40%;
    left: 45%;
}
