html {
    scroll-behavior: smooth;
}

nav#inpageNavigator {
    vertical-align: top;
    white-space: nowrap;
    background: rgb(50, 97, 149);
    border-left: solid 1px #e9eaec;
    float: right;
    position: absolute;
    right: 0px;
    z-index: 1000;
    top: 0px;
    transition: margin 500ms;
    display: none;
    margin-right: -1000px;
    display: block;
    opacity: 1;
    bottom: 0px;
    height: 100vh;
    position: fixed;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px;
}

#boebbl {
    background: rgb(50, 97, 149);
    border-left: solid 1px #e9eaec;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px;
    position: absolute;
    top: 50vh;
    margin-left: -20px;
    border-radius: 20px;
    width: 40px;
    height: 38px;
    text-align: center;
}

#boebbl i {
    color: #ffffff;
}

nav#inpageNavigator:hover {
    margin-right: 0px !important;
}


nav#inpageNavigator:hover ul span.badge.badge-pill.badge-danger.float-left {
    margin-left: -28px !important;
}



nav#inpageNavigator ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav#inpageNavigator ul li:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(50, 97, 149);
}

nav#inpageNavigator ul li:hover a {
    color: rgb(50, 97, 149);
}


nav#inpageNavigator ul li.active {
    background-color: #fff;
    color: rgb(50, 97, 149) !important;
}

nav#inpageNavigator ul li.active a {
    background-color: #fff;
    color: rgb(50, 97, 149) !important;
}

nav#inpageNavigator ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
}

nav#inpageNavigator ul li a.current {
    background: black;
}


.has-danger input,
.form-group.has-danger span.select2,
.form-group.has-danger span.select2-selection,
.has-danger select,
.has-danger checkbox {
    border-color: red;
}

.form-control-feedback {
    color: red;
}



nav#inpageCRM {
    vertical-align: top;
    white-space: nowrap;
    background: #afd7d7;
    border-left: solid 1px #97bebe;
    float: right;
    position: absolute;
    right: 0px;
    z-index: 1000;
    top: 0px;
    transition: margin 500ms;
    display: none;
    margin-right: -1000px;
    display: block;
    opacity: 1;
    bottom: 0px;
    height: 100vh;
    position: fixed;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px;
}

#boebbl2 {
    background: #afd7d7;
    border-left: solid 1px #97bebe;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px;
    position: absolute;
    top: calc(50vh + 42px);
    margin-left: -20px;
    border-radius: 20px;
    width: 40px;
    height: 38px;
    text-align: center;
}

#boebbl2 i {
    color: #ffffff;
}

nav#inpageCRM:hover {
    margin-right: 0px !important;
}


nav#inpageCRM:hover ul span.badge.badge-pill.badge-danger.float-left {
    margin-left: -28px !important;
}

nav#inpageCRM ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.crm .card {
    padding: 10px;
    margin-bottom: 15px;
    max-width: 320px;
}

.crm .card p {
    white-space: pre-wrap;
}

.crm .card .badge {
    width: 28px;
    height: 28px;
    position: absolute;
    right: -12px;
    top: 5px;
    padding: 7px;
}
