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;
}

.schedule-item {

    border: 1px solid #d9d9d9;
    margin: -1px 0 0;
    position: relative;
}

.schedule-items {
    width: 800px;
    border-top: 1px solid #d9d9d9;
    -webkit-transition: height .3s ease;
    transition: height .3s ease;
}

.schedule-item:first-child .schedule-item-in {
    border-top: none;
}

.schedule-title {
    font-size: 17px;
    font-weight: 700;
    color: #50545f;
    line-height: 18px;
    margin: 8px 0 6px;
}

.btn-schedule {
    margin: 0 2px 7px 0;
    line-height: 33px;
    width: 60px;
    height: 35px;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    vertical-align: top;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 1px 0 #cacaca;
    border: 1px solid #e6e6e6;
    background: #fff;
    background: -webkit-linear-gradient(270deg,#fefefe 0,#f1f1f1 100%);
    background: linear-gradient(180deg,#fefefe 0,#f1f1f1 100%);
    display: inline-block;
}

.btn-schedule.inactive {
    color: #aeaeae;
    border-color: transparent;
    box-shadow: none;
    background: 0 0;
    cursor: default;
}

.schedule-time {
    margin: 0;
    padding: 0;
    list-style: none;
}

.schedule-type:first-child {
    padding-top: 11px;
}

.schedule-type {
    font-size: 12px;
    color: #888;
}

.schedule-name {
    width: 305px;
}

.schedule-item:first-child .schedule-item-in {
    border-top: none;
}

.schedule-item-in {
    padding: 21px 35px 14px 30px;
    overflow: hidden;
}

.return-ticket-footer-text {
    margin-top: 10px;
    font-size: 14px;
}

/*bar*/
.bar-container>* {
    margin: 0;
    font-family: 'Open Sans', arial, sans-serif;
}

.container-products {
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    height: 240px;
    overflow-y: scroll;
}
.container-products{
    display: none;
}
.container-products.active {
    display: flex;
}

.item-product {
    display: flex;
    flex: 1 0 25%;
    max-width: 32%;
    border-bottom: 1px solid rgb(199, 199, 199);
    margin: 4px;
    padding: 6px 12px;
    box-sizing: border-box;
    flex-direction: column;
}

.d-flex {
    display: flex;
}

.justify-content-around {
    justify-content: space-around;
}

.justify-content-between {
    justify-content: space-between;
}

.product-header {
    font-weight: bold;
}

.product-price {
    font-size: 1.4em;
}

.w-100 {
    width: 100%;
}

.product-count-panel {
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.container-product-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-product-count img {
    margin-bottom: 12px;
}

.product-count {
    text-align: center;
    font-size: 1.2em;
}

.container-bar-tabs {
    margin: 12px 0;
    display: flex;
    flex-wrap: wrap;
}

.bar-tab {
    padding: 6px 18px;
    cursor: pointer;
}

.bar-tab:hover {
    background-color: #eeeeee;
}

.bar-tab.active {
    font-weight: bold;
}

@media (max-width: 768px) {
    .item-product {
        flex: 1 0 45%;
        max-width: 45%;
    }
}

@media (max-width: 576px) {
    .item-product {
        flex: 1 0 98%;
        max-width: 98%;
    }

    .container-products {
        height: 300px;
    }
}