html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

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

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.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;
}

#sub-main-container .alert-success{
    position:absolute;
    max-width:1130px;
    width:100%;
}

.modal-body .alert-success{
    position:absolute;
    width:100%;
    top:0px;
    left:0px;
    z-index:1000;
}

.modal-body .alert-container{
    margin-top:12px;
}

.modal-body .alert-container .alert{
    margin-bottom:0px;
}

.modal-body .bread-container{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
}

.modal-title{
    display:inline-block;
    margin:6px 8px;
}

.ingredient-card, .recipe-card{
    height:180px;
    cursor:pointer;
    background:#ffffffb6;
}

.ingredient-card img, .recipe-card img{
    position:absolute;
    top:0px;
    right:0px;
    width:100%;
    height:auto;
    max-height:100%;
    object-fit:cover;
    margin-bottom:8px;
    border-radius:4px;
    opacity:0.3;
}

.main-card{
    cursor:pointer;
}

.count-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 24px;
    text-align: center;
    background: #337ab7;
    color: #fff;
}

.decrement-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 2px 6px;
}

.modal .col-lg-3{
    min-width:260px;
}

.menus .row-separator {
    margin: 15px 0 15px;
    background: #f5f5f5;       /* light gray background */
    border-left: 5px solid #5bc0de; /* Bootstrap info color */
    padding: 8px 12px;
    border-radius: 3px;
}

.menus .row-separator span {
    font-size: 1.1em ;
    font-weight: 600;
    color: #31708f;            /* darker info text */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.truncate-active {
    /* max-width must be set in */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: zoom-in;
}
/* your custom theme */
.navbar-custom {
    background-color: #337ab7;        /* pick your color */
    border-color: #2e6da4;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav > li > a {
    color: #fff;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-brand:hover {
    color: #337ab7;
}

/* 🔧 make the mobile toggle visible */
.navbar-custom .navbar-toggle {
    border-color: rgba(255,255,255,.6);
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #fff;           /* the 3 bars */
}

.navbar-custom .navbar-toggle:focus,
.navbar-custom .navbar-toggle:hover {
    background-color: rgba(255,255,255,.1);
}

/* ID your modal for scoped styling */
#mainModal.fade-open .modal-dialog{
    transition: transform 0.5s cubic-bezier(.22,.61,.36,1), opacity 0.5s;
    transform: translate3d(0, -100px, 0);
    opacity: 0;
}

#mainModal.in .modal-dialog{
    /* final state (open) */
    transform: none;
    opacity: 1;
}

.nav-tabs > li:not(.active) > a,
.nav-tabs > li:not(.active) > a:focus,
.nav-tabs > li:not(.active) > a:hover {
  background-color: #337ab73f;
}