body {
    padding-bottom: 100px;
}

.navbar .logo {
    max-height: 100%;
}

span.badge.badge-success {
    background: #55ac4c;
}

.table .badge {
    width: 100%;
}

/* select2 reset */
.select2-selection__rendered {
    line-height: 31px !important;
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

/*

Harvest-like table row hover effect

.table tr:hover {
    background: #e5f1f9;
    cursor: pointer;
}

*/


/* button color resets */
.btn {
    background-image: none !important;
}


.variant {
    margin: 2rem 0;
}

.modal-system {
    margin: 1rem 0;
}

.line-item {
    padding: 1rem 0;
    border-top: 1px solid #CCCCCC;
}

.color-select {
    margin-bottom: 15px;
}

.elevation-container {
    position: relative;
    padding: 1rem 2.6rem 2.6rem 1rem !important;
    min-width: 150px;
}

.elevation-container img {
    display: inline-block;
    float: left;
    width: 80%;
    margin-right: 5px;
}

.elevation-container span.height {
    display: inline-block;
    float: left;
    top: 12px;
    position: relative;
}

.elevation-container span.width {
    display: block;
    margin-left: 2rem;
    float: none;
    clear: both;
}

.item-form {
    border: 1px solid #bdbdbd;
    padding: 1rem;
    margin-bottom: 1rem;
}

.item-form.form-inline label {
    display: block;
}

.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.m-auto {
    margin: auto;
}

.mt-2 {
    margin-top: 2em;
}

.mt-5 {
    margin-top: 5em;
}

/*estimate variants*/
.variant-item {
    display: flex;
    align-items: flex-start;
}

.variant-item h3 {
    margin-top: 0;
}

.dimensionItem {
    display: flex;
    align-items: start;
}

input.show-estimate-item {
    margin-right: 11px !important;
    display: block;
}

/*search*/
.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-area {
    position: relative;
    width: 300px;
    max-width: 300px;
}

.search-area .search-items {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    list-style: none;
    background: #fff;
    z-index: 999;
    padding: 10px;
    margin-top: 4px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: scroll;
}

.search-area .search-items li {
    padding: 6px 0;
}

.search-area .search-input-area {
    display: flex;
    position: relative;
}

.search-area .search-input {
    padding-right: 30px;
}

.search-area .clear-search {
    margin-left: 4px;
    position: absolute;
    right: 6px;
    top: 6px;
    width: 22px;
    height: 22px;
}

#searchItems {
    display: none;
}

#clearSearch {
    display: none;
}


/* estimate options */
#output-placeholder {
    padding: 20px;
}

.output, #output-placeholder {
    background: #ddd;
    border-radius: 10px;
}

.output .variant-item {
    padding: 20px 20px 0 20px;
}

.output .variant-item:first-child {
    padding-top: 20px;
}

.output .variant-item:last-child {
    padding-bottom: 20px;
}


@media (max-width: 500px) {
    .navbar-wrapper .search-area {
        width: 100%;
        min-width: 100%;
        margin-left: 0 !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 767px) {
    .navbar-wrapper {
        align-items: center;
        justify-content: start !important;
    }
    .search-area {
        margin: 0 0 0 15px !important;
    }
    #main_nav {
        position: absolute;
        background: rgb(221, 221, 221);
        width: 100%;
        top: 100%;
        z-index: 999;
        color: rgb(0, 0, 0);
        text-align: center;
        max-height: 300px;
        overflow-y: scroll;
    }
    #menu_toggle {
        position: absolute;
        right: 0;
    }
}

@media (max-width: 991px) {
    .navbar-wrapper {
        justify-content: center;
    }
}

@media (max-width: 1199px) {
    .navbar-wrapper {
        flex-wrap: wrap;
    }
    .search-area {
        order: 2;
        margin: 0 auto 15px auto;
    }
}
