/*@import url('https://fonts.googleapis.com/css?family=Montserrat');*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:500');

body {
    background: #ebecf1;
    font-family: 'Proxima Nova', Helvetica, Arial, sans-serif;
    color: #333;
}

/* ==========================================================================
Hide ng-cloak on page load, https://docs.angularjs.org/api/ng/directive/ngCloak
========================================================================== */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

/* ==========================================================================
Development Ribbon
========================================================================== */
.ribbon {
    background-color: #a00;
    box-shadow: 0 0 10px #888;
    left: -3.5em;
    moz-box-shadow: 0 0 10px #888;
    moz-transform: rotate(-45deg);
    ms-transform: rotate(-45deg);
    o-transform: rotate(-45deg);
    overflow: hidden;
    position: absolute;
    top: 40px;
    transform: rotate(-45deg);
    webkit-box-shadow: 0 0 10px #888;
    webkit-transform: rotate(-45deg);
    white-space: nowrap;
    width: 15em;
    z-index: 9999;
    pointer-events: none;
}

.ribbon a {
    border: 1px solid #faa;
    color: #fff;
    display: block;
    font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 1px 0;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 5px #444;
    pointer-events: none;
}

/* ==========================================================================
Version number in navbar
========================================================================== */
.navbar-version {
    font-size: 10px;
    color: #444;
}

/* ==========================================================================
navbar text
========================================================================== */
.navbar {
    background-color: white;
}

.navbar-default .navbar-brand {
    color: #444;
}

/* ==========================================================================
Browser Upgrade Prompt
========================================================================== */
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
Logo styles
========================================================================== */
.navbar-brand {
    text-transform: uppercase;
    font-size: small;
    flex-shrink: 0;
    padding: 0 !important;
    margin-left: 0 !important;
}

.navbar-logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 1rem;
    gap: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: black;
    font-family: "Proxima Nova", serif;
    line-height: 2.5rem;
}

.logo-img {
    max-width: 100% !important;
    height: 20px;
    width: auto;
    display: block;
}

.logo > span#navbar-title {
    font-size: 14px;
    margin-left: 10px;
}

/* ==========================================================================
Main page styles
========================================================================== */
.hero-unit {
    margin: 50px auto 0 auto;
    width: 300px;
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    background-color: #eee;
    border-radius: 6px;
    padding: 60px;
}

.red {
    color: red;
}

.green {
    color: green;
}

.hero-unit h1 {
    font-size: 60px;
    line-height: 1;
    letter-spacing: -1px;
}

.hipster {
    display: inline-block;
    width: 347px;
    height: 497px;
    background: url("../images/hipster.png") no-repeat center top;
    background-size: contain;
}

/* wait autoprefixer update to allow simple generation of high pixel density media query */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    .hipster {
        background: url("../images/hipster2x.png") no-repeat center top;
        background-size: contain;
    }
}

/* ==========================================================================
Generic styles
========================================================================== */
.error {
    color: white;
    background-color: red;
}

.pad {
    padding: 10px;
}

.break {
    white-space: normal;
    word-break:break-all;
}

.voffset  { margin-top: 2px; }
.voffset1 { margin-top: 5px; }
.voffset2 { margin-top: 10px; }
.voffset3 { margin-top: 15px; }
.voffset4 { margin-top: 30px; }
.voffset5 { margin-top: 40px; }
.voffset6 { margin-top: 60px; }
.voffset7 { margin-top: 80px; }
.voffset8 { margin-top: 100px; }
.voffset9 { margin-top: 150px; }

.readonly {
    background-color: #eee;
    opacity: 1;
}

/* ==========================================================================
make sure browsers use the pointer cursor for anchors, even with no href
========================================================================== */
a {
    color: #1c0cf5;
}

a:hover, .hand, [jh-sort-by] {
    cursor: pointer;
}

/* ==========================================================================
Metrics and Health styles
========================================================================== */
#threadDump .popover, #healthCheck .popover {
    top: inherit;
    display: block;
    font-size: 10px;
    max-width: 1024px;
}

#healthCheck .popover {
    margin-left: -50px;
}

.health-details {
    min-width: 400px;
}

/* ==========================================================================
start Password strength bar style
========================================================================== */
ul#strengthBar {
    display:inline;
    list-style:none;
    margin:0;
    margin-left:15px;
    padding:0;
    vertical-align:2px;
}

.point:last {
    margin:0 !important;
}
.point {
    background:#DDD;
    border-radius:2px;
    display:inline-block;
    height:5px;
    margin-right:1px;
    width:20px;
}

/* ==========================================================================
Custom alerts for notification
========================================================================== */
.alerts .alert{
    text-overflow: ellipsis;
}
.alert pre{
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
}

.alert .popover pre {
    font-size: 10px;
}

.alerts .toast {
    position: fixed;
    width: 100%;
}

.alerts .toast.left {
    left: 5px;
}

.alerts .toast.right {
    right: 5px;
}

.alerts .toast.top {
    top: 55px;
}

.alerts .toast.bottom {
    bottom: 55px;
}

@media screen and (min-width: 480px) {
    .alerts .toast {
        width: 50%;
    }
}

/* ==========================================================================
entity tables helpers
========================================================================== */
/* Remove Bootstrap padding from the element
   http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.no-padding-left { padding-left: 0 !important; }
.no-padding-right { padding-right: 0 !important; }
.no-padding-top { padding-top: 0 !important; }
.no-padding-bottom { padding-bottom: 0 !important; }
.no-padding { padding: 0 !important; }

/* bootstrap 3 input-group 100% width
   http://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
.width-min { width: 1% !important; }

/* Makes toolbar not wrap on smaller screens
 http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#right */
.flex-btn-group-container {
   display: -webkit-flex;
   display: flex;
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-justify-content: flex-end;
   justify-content: flex-end;
}

.jh-table > tbody > tr > td {
    /* Align text in td vertically (top aligned by Bootstrap) */
    vertical-align: middle;
}

.jh-table > thead > tr > th > .glyphicon-sort, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt {
    /* less visible sorting icons */
    opacity: 0.5;
}

.jh-table > thead > tr > th > .glyphicon-sort:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt:hover {
    /* full visible sorting icons and pointer when mouse is over them */
    opacity: 1;
    cursor: pointer;
}

/* ==========================================================================
entity detail page css
========================================================================== */
.dl-horizontal.jh-entity-details > dd {
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    .dl-horizontal.jh-entity-details > dt {
        margin-bottom: 15px;
    }

    .dl-horizontal.jh-entity-details > dd {
        border-bottom: 1px solid #eee;
        padding-left: 180px;
        margin-left: 0;
    }
}

/* ==========================================================================
ui bootstrap tweaks
========================================================================== */
.nav, .pagination, .carousel, .panel-title a {
    cursor: pointer;
}

.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default,
.uib-datepicker-popup  > li > div.uib-datepicker > table .btn-default {
    border: 0;
}

.datetime-picker-dropdown > li.date-picker-menu div > table:focus,
.uib-datepicker-popup  > li > div.uib-datepicker > table:focus {
    outline: none;
}

.container {
  width: 100%;
}

.table-striped tr > th {
    white-space: nowrap;
}

.navbar-default .navbar-nav > .active > a {
    background-color: #f2f2f2;
}

.well {
    background-color: white;
}

h2, #navbar-title, .nav > li .glyphicon, #home-title {
    color: black;
}

div.login {
    width: 35%;
    text-align: center;
}

div.login .btn-primary {
    width: 100%;
}

div.login a:active, div.login a:link, div.login a {
    color: black;
}

.btn-primary {
    background-color: black;
}

.btn-primary:hover {
    background-color: #202079;
}

#navbar-title:hover {
    color: #202079;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover {
    background-color: #4a4acf;
}

/* jhipster-needle-css-add-main JHipster will add new css style */

#digitCodeText {
    margin-top: 5%;
}

#digitCodeError {
    margin: auto auto;
}

#digitCode {
    width: 60%;
    float: left;
}

.filter-table-head-input {
    font-size: 12px;
    width: 98px;
    height: 20px;
    border-radius: 4px;
    font-weight: normal;
    padding-left: 3px;
}

.filter-table-checkbox-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.filter-table-head-input-checkbox {
    display: flex;
    flex-direction: row;
    gap: 4px;
    text-align: center;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.input-checkbox-container {
    margin: 0 !important;
    cursor: pointer;
}


#verifyDigitCodeButton {
    float: right;
}

#verifyDigitCodeModalTitle {
    text-align: center;
}

.custom-resource-clients {
    height: 350px !important;
}

.filter-header-icon {
    width: 16px;
    margin-top: -5px;;
}

.dropdown-menu{
    min-width: 260px;
}

.up-edit > tbody > tr > td{
    vertical-align: top;
}

/* Login */
#home-title {
    font-size: 28px;
}

#contactDeployTeam {
    font-size: 12px;
}

div.col-md-4.col-md-offset-4 > h1 {
    font-size: 26px;
}

form.form > div.login > a,
form.form > div.login > button,
form.form > div.form-group > label,
form.form > div.form-group > input {
    font-size: 11px;
}

/* Navbar*/
ul.nav.navbar-nav > li.dropdown.pointer > a.dropdown-toggle,
ul.nav.navbar-nav > li.dropdown.pointer > ul.dropdown-menu > li > a,
.dropdown-menu > li > a {
    font-size: 12px;
}
.nav-container {
    margin: 1.5rem 0;
}

/* Entities page */
.excel {
    float: right;
    margin-top: -30px;
    height: 36px;
    width: 36px;
}

.create-button {
    height: 28px;
    font-size: 11px;
    margin-bottom: 1%;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 22px;
}

th, td {
    font-size: 11px;
}

.btn.btn-danger.btn-xs, .btn.btn-success.btn-xs {
    font-size: 10px;
}

jhi-item-count {
    font-size: 12px;
}

.btn-group.flex-btn-group-container > button, .pagination > li > a {
    font-size: 9px;
}

/* Create or Edit page */
.modal-content {
    width: 80%;
    height: 80%;
    margin: auto;
}

h4.modal-title {
    font-size: 14px;
}

.modal-gt {
    width: 1200px;
}

.modal-body > div.form-group > p,
.modal-body > div.form-group > label,
.modal-body > div.form-group > input,
.modal-body > div.form-group > select,
.modal-body > div.form-group > div > p.help-block {
    font-size: 11px;
}

.modal-body > div.form-group > input[type=text],
.modal-body > div.form-group > select {
    height: 80%;
}

.modal-footer > button {
    font-size: 11px;
}

/* View Details page */
dl.jh-entity-details > dt, dl.jh-entity-details > dd,
dl.jh-entity-details + button.btn.btn-info,
dl.jh-entity-details + button.btn.btn-info + button.btn.btn-primary {
    font-size: 11px;
}

/* Popups */
.modal-body > form.form-inline > div > label, .modal-body > p {
    font-size: 11px;
}

.modal-body > form.form-inline > div > input {
    font-size: 11px;
    height: 80%;
    width: 85% !important;
}

.modal-body > form.form-inline > div > button {
    font-size: 11px;
    height: 80%;
}

/* Logs page buttons */
td > button.btn-danger,
td > button.btn-warning,
td > button.btn-info,
td > button.bnt-success,
td > button.btn-primary,
td > button.btn-default {
    font-size: 10px;
}

.tooltip {
    position: relative;
    display: inline-block;
    opacity: 1;
    font-weight: bold;
    z-index: 0;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.drop-box {
    background: #F8F8F8;
    border: 5px dashed #DDD;
    width: 100%;
    text-align: center;
    padding: 50px 10px;
    margin-bottom: 20px;
}

.drop-box.dragover {
    border: 5px dashed orangered;
}

.drop-box.dragover-err {
    border: 5px dashed red;
}

#field_clients {
    height: 220px;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover > .sub-menu {
    visibility: visible;
    display: block;
}
