body {
    font-size: .875rem !important;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot');
    src: url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.woff') format('woff'), url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}


html, body {
    height: 100%;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}


/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);*/
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar-top .container,  .navbar-top .container-fluid {
    padding: 0;
}

/** Main container */

.container-root {
    display: flex;
}


@media (min-width: 1368px) {
    .container-root {
        max-width: 1330px;
    }
}


.container .breadcrumb-container, .container-fluid .breadcrumb-container {
    margin-top: 70px;
}

.main-container {
    padding-top: 10px;
    flex: 1;
}


/** Sidebar */

.sidebar {
    /*position: fixed;*/
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    top: 82px;
    align-self: flex-start;
    position: -webkit-sticky; /* for Safari */
    position: sticky;
}

/*.training .sidebar {*/
/*    position: relative;*/
/*    min-height: calc(100vh);*/
/*}*/

/*.training .sidebar-sticky {*/
/*    position: fixed;*/
/*    top: 65px;*/
/*    bottom: 10px;*/
/*    overflow-y: auto;*/
/*}*/


.sidebar-sticky ul {
    margin-left: 10px;
}

/*@supports ((position: -webkit-sticky) or (position: sticky)) {*/
/*    .sidebar-sticky {*/
/*        position: -webkit-sticky;*/
/*        position: sticky;*/
/*    }*/
/*}*/

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    /*background-color: rgba(0, 0, 0, .25);*/
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);*/
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

@media (min-width: 768px) {
    .navbar-expand-md .navbar-collapse {
        margin-left: 15px;
        margin-right: 15px;
    }
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}


.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: #ffffff!important;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

/*.grid-view th {*/
/*    white-space: nowrap;*/
/*}*/

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.navbar-brand img {
    max-height: 32px;
    margin-right: 5px;
}

.detail-view td, .text-transfer {
    overflow-wrap: anywhere !important;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-signin .form-logo {
    width: 72px;
    height: 72px;
}

.flex {
    display: flex;
}


/*** text wrap fix ***/

.detail-view td, .grid-view td, .text-transfer {
    overflow-wrap: anywhere !important;
}

.detail-view pre, .grid-view pre {
    white-space: pre-wrap !important;
}

.detail-view pre code, .detail-view code, .grid-view pre code, .grid-view code, .grid-view td {
    word-wrap: inherit !important;
}

/*** custom css ***/

.image-delete-url {
    color: red;
}

.form-check-inline .custom-radio {
    margin-right: 10px;
}

.danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

.warning {
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
}

hr.separator {
    margin-bottom: 40px !important;
    margin-top: 40px !important;
}

.btn-success:hover {
    text-decoration: none;
}

.sticky-ancestor {
    overflow: unset;
}

.sticky-price {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    z-index: 1020
}

.recovery-link {
    display: block;
    margin-bottom: 10px;
}

/** wrong multiple input field order fix */
.select2-container--krajee-bs4 .select2-selection--multiple .select2-selection__choice {
    float: left;
}

.font-size-11 {
    font-size: 11px;
}

.scrollable-100vh {
    max-height: calc(100vh - 110px);
    overflow-y: scroll;
}


/*** landging tab content sticky */

#v-pills-tabContent {
    top: 82px;
    align-self: flex-start;
    position: -webkit-sticky; /* for Safari */
    position: sticky;
}

.three-dots-wrapper {
    display: grid;
}

.three-dots {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}