@font-face {
    font-family: Nunito;
    src: url("../webfonts/Nunito-Regular.ttf");
}

@font-face {
    font-family: SourceSansPro;
    src: url("../webfonts/SourceSansPro-Regular.ttf");
}

@font-face {
    font-family: Cookie;
    src: url("../webfonts/Cookie-Regular.ttf");
}

.clipboard,
.pointer {
    cursor: pointer;
}

.bg-kantin {
    background-color: #3980C0 !important;
}

.bg-mart {
    background-color: #2A9C79 !important;
}

.bg-mart2,
.bg-kantin2 {
    background-color: #FFFFFF !important;
}

.bg-mart2 li.active {
    background: #E2F0FB;
}

.bg-mart2 li:hover {
    background: #E3E6F0;
}

.login .logo {
    max-width: 80%;
    max-height: 40%;
}

.bg-login-image-mart {
    background: url("../img/login-mart.png") center;
    background-size: cover;
}

.bg-register-image-mart {
    background: url("../img/login-mart.png") center;
    background-size: cover;
}

.badge-mart {
    color: #1A1A1A;
    background-color: #2A9C79
}

.badge-kantin {
    color: #FFFFFF;
    background-color: #3980C0
}

.badge-saktilink {
    color: #FFFFFF;
    background-color: #F75972
}

.merchant-bagde {
    position: absolute;
    margin-right: 30px;
    transform: scale(0.9) !important;
}

#changeUkm .title {
    font-size: 0.9em;
    max-width: 300px;
    line-height: 16px;
    overflow: hidden;
    text-align: right;
}

.navbar-brand .logo {
    height: 15px !important;
}

.navbar-brand .logo-alt {
    height: 20px !important;
}

.w-250px {
    width: 250px !important;
}

.w-500px {
    width: 500px !important;
}

.horizontal-scroll {
    white-space: nowrap;
    overflow-x: auto;
    flex-wrap: nowrap !important;
}

#categoryContainer {
    display: none;
    left: 120px;
    background: #FFFFFF;
    color: #626262;
    z-index: 999;
    position: absolute;
}

#categoryContainer .nav-pills .nav-link.active,
#categoryContainer .nav-pills .show > .nav-link {
    color: #2A9C79 !important;
    background-color: #F6F5F4 !important;
}

#categoryContainer .nav-link:hover,
#categoryContainer .nav-pills .nav-link:hover {
    background-color: #F6F5F4 !important;
}

#categoryContainer .nav-link,
#categoryContainer .nav-pills .nav-link {
    border-radius: 0;
    color: inherit;
    padding: 4px !important;
    font-size: 11pt;
    font-weight: 600;
    font-family: SourceSansPro, "Open Sans", sans-serif;
}

#categoryTab,
#categoryTabContent {
    max-height: 300px;
    overflow-y: auto;
}

.modal-image {
    max-width: 200px !important;
    display: block;
}

.img-footer {
    max-height: 35px !important;
}

.footer ul.pages > li {
    color: #FFFFFF;
    list-style-type: none;
}

.footer ul.pages a,
.footer ul.pages a:hover {
    font-size: 80%;
    font-weight: 400;
    text-decoration: none;
    color: #FFFFFF;
}

.card.item-ukm {
    cursor: pointer;
}

.item-ukm .ukm-name {
    height: 32px;
    font-size: 0.9em;
    font-weight: 600;
    line-height: 15px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    margin-top: 10px;
    margin-bottom: 5px;
}

.item-ukm .ukm-info {
    max-height: 35px;
    height: 30px;
    font-size: 0.7em;
    font-weight: 600;
    line-height: 15px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
}

.item-ukm .ukm-image {
    margin-top: 10px;
    width: 50px;
    height: 50px;
}

.sliders {
    padding: 0 !important;
    margin: 0 !important;
}

.slider-item {
    height: 130px !important;
    margin: 5px;
    padding: 1.5em;
    border-radius: 10px 10px;
    background-size: cover;
}

.top-sliders .text-center {
    width: 90%;
    height: 90%;
    margin: auto;
    padding: auto;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
}

.top-sliders .text-slider {
    color: white;
    text-shadow: 0 0 2px black;
    min-height: 80px !important;
    margin: auto;
    font-size: 0.8rem;
}

.top-sliders .slider-item {
    max-height: 180px !important;
}

.top-sliders .just-title {
    color: white;
    text-shadow: 1px 1px 2px black;
    vertical-align: middle;
    text-align: center;
    font-size: 12pt;
}

/*merchant slider*/
.category-sliders .category-item,
.merchant-sliders .merchant-item {
    text-decoration: none;
}

.merchant-item a {
}

.category-sliders .category-item:hover,
.merchant-sliders .merchant-item:hover {
    text-decoration: none;
}

.category-sliders .category-item .card,
.merchant-sliders .merchant-item .card {
    
}

.category-sliders .category-item .card-img,
.merchant-sliders .merchant-item .card-img {
    
}

.category-sliders .category-item .category-name {
    font-size: 0.9em;
    max-height: 40px;
    min-height: 30px;
    text-align: center;
}

.merchant-sliders .merchant-item .merchant-name,
.merchant-sliders .merchant-item .distance {
    font-size: 0.8em;
}

.category-sliders .category-item .category-name,
.merchant-sliders .merchant-item .merchant-name,
.merchant-sliders .merchant-item .distance {
    color: #1A1A1A;
    display: -webkit-box;
    font-weight: 600;
    line-height: 13px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    font-family: SourceSansPro, "Open Sans", sans-serif;
}

/*IMAGE SLIDER*/
.text-slider {
    font-family: 'open sans', 'tahoma', sans-serif;
}

.text-slider .title {
    font-size: 11pt;
}

.text-slider .description {
    font-size: 10pt;
}

.text-mart {
    color: #2A9C79 !important;
}

.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}

.btn-mart {
    color: #FFFFFF !important;
    background-color: #2A9C79 !important;
    border-color: #2A9C79 !important;
}

.btn-google {
    color: #FFFFFF;
    background-color: #EA4335;
    border-color: #FFFFFF;
}

.list-sekolah .card-body {
    padding: 0.75rem;
}

.list-sekolah {
    color: #1B1E21;
    cursor: pointer;
}

.list-sekolah .card:hover {
    background: #E3ECF8;
    color: #1D68A7;
    text-decoration: none;
}

.list-sekolah .alamat-sekolah {
    font-size: 9pt;
}

.list-menu {
    color: #1B1E21;
}

.add-desc {
    cursor: pointer;
}

.product-container {
    width: 100% !important;
    max-height: 300px !important;
}

.container-menu-item {
    padding: 0 !important;
    margin: 0.5% !important;
    min-width: 170px;
    max-width: 170px;
}

@media (max-width: 576px) {
    .item-ukm .ukm-name,
    .item-ukm .ukm-info {
        text-align: center !important;
    }

    .top-sliders .img-center {
        max-height: 100% !important;
        max-width: 100% !important;
        margin: auto;
        padding: 0;
        text-align: center;
    }

    .top-sliders .text-slider .description {
        display: none;
    }

    .top-sliders .text-slider .title {
        font-size: 11pt;
        margin: 1em auto;
    }
}

@media (max-width: 768px) {
    .item-ukm .ukm-name,
    .item-ukm .ukm-info {
        text-align: center !important;
    }

    .top-sliders .slider-item {
        max-height: 110px !important;
    }

    .top-sliders .img-center {
        max-height: 80% !important;
        max-width: 80% !important;
        margin: auto;
        padding: 0;
        text-align: center;
    }
}

@media (min-width: 576px) {
    .container-menu-item {
        min-width: 120px;
        max-width: 120px;
    }
}

@media (min-width: 768px) {
    .container-menu-item {
        min-width: 130px;
        max-width: 130px;
    }

    .top-sliders .text-slider {
        padding: 0em !important;
    }

    .top-sliders .img-center {
        max-width: 70% !important;
        max-height: 70% !important;
        margin: auto;
        padding: 0;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .container-menu-item {
        min-width: 140px;
        max-width: 140px;
    }

    .top-sliders .img-center {
        max-width: 80% !important;
        max-height: 80% !important;
        padding: 1.2em;
    }
}

@media (min-width: 1200px) {
    .container-menu-item {
        min-width: 140px;
        max-width: 140px;
    }

    .top-sliders .img-center {
        max-width: 90% !important;
        max-height: 90% !important;
        padding: 1.2em;
    }
}

.merchant-info .holiday {
    background: #FA821D;
    border-radius: 50px;
    color: white;
    font-size: 1.3em;
    margin: 4em auto;
    max-width: 75%;
    text-align: center;
    padding: 0.5em;
}

.menu-item .photo {
    position: relative !important;
    min-height: 10em;
    height: 100%;
    padding: 0 !important;
    background-size: cover;
    cursor: pointer;
    /*background: #FFFFFF url('https://object.mycoop.id/laci/noimage.jpg') no-repeat fixed right center;*/
}

.show-page .photo:hover,
.menu-item .photo:hover {
    transform: scale(1.02);
    transition: all .5s;
}

.product-title,
.menu-item .title {
    display: -webkit-box;
    max-height: 30px;
    min-height: 30px;
    font-size: 0.7em;
    font-weight: 600;
    line-height: 15px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    font-family: 'open sans', 'tahoma', sans-serif;
}

.menu-item .holiday {
    float: right;
    margin-top: -60px;
    z-index: 9999
}

.product-title {
    font-size: 1em !important;
}

.product-price,
.menu-item .price {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    font-weight: bold;
    color: #4CAF50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
}

.discount-container {
    line-height: 15px;
    min-height: 15px;
}

.discount-container .discount {
    font-size: 0.6em;
}

.discount-container .old-price {
    color: darkgray;
    font-size: 0.65em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: line-through;
    margin-left: 5px;
}

.menu-item .merchant {
    display: flex;
    -moz-box-align: center;
    align-items: center;
    font-size: 0.7rem;
    line-height: 1.5;
    margin: 0;
    color: darkgray;
}

.merchant .merchant-name {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
    vertical-align: top;
    margin-left: 3px;
    font-family: 'open sans', 'tahoma', sans-serif;
    font-size: 1.1em;
    color: #1A1A1A;
    font-weight: 600;
}

.menu-item a:hover {
    text-decoration: none;
}

.menu-item .deskripsi {
    font-size: 10pt;
}

.menu-show {
    position: relative;
    /*background-color: rgba(255, 255, 255, 1);*/
    /*display: inline-flex;*/
    -webkit-align-items: stretch;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, .7) !important;
    text-decoration: none !important;
}

.menu-show:hover {
    color: rgba(0, 0, 0, .7) !important;
    text-decoration: none !important;
}

/*CART*/
.cart .merchant-container .title {
    display: -webkit-box;
    max-height: 40px;
    font-size: 12pt;
    font-weight: 600;
    line-height: 18px;
    text-space: 0.3em;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    font-family: SourceSansPro, sans-serif;
}

.cart .merchant-container .shipping-charge .title {
    line-height: 20px;
}

.cart .merchant-container .old-price {
    color: darkgray;
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: line-through;
    margin-left: 5px;
}

.cart .merchant-container .price {
    font-size: 1em;
    font-weight: bold;
    color: #4CAF50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
}

.cart .merchant-container .merchant {
    display: flex;
    -moz-box-align: center;
    align-items: center;
    font-size: 0.857143rem;
    line-height: 1.5;
    color: darkgray;
    margin: 4px 0px 4px 10px;
}

.cart .merchant-container .merchant-name {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
    vertical-align: top;
    margin-left: 3px;
    margin-right: 3px;
}

.cart .merchant-container .add-desc {
    font-size: 0.7em;
}

/*.cart .merchant-container .note {*/
/*background: white;*/
/*border: none;*/
/*border-bottom: 1px solid #2A9C79;*/
/*font-size: 10pt;*/
/*padding: 2px;*/
/*}*/

.cart .merchant-container .address-detail {
    display: -webkit-box;
    max-height: 30px;
    min-height: 30px;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 15px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
}

.cart .merchant-container.holiday .badge-success {
    background-color: #EEEEEE;
    color: #1B1E21;
}

.cart .merchant-container.holiday .title,
.cart .merchant-container.holiday .add-desc,
.cart .merchant-container.holiday .merchant-name,
.cart .merchant-container.holiday .merchant-icon .text-primary,
.cart .merchant-container.holiday .card-footer,
.cart .merchant-container.holiday .address-detail,
.cart .merchant-container.holiday .price {
    color: #CFCFCF !important;
}

.cart .merchant-container.holiday .img-thumbnail {
    background: #EEEEEE !important;
}

.ringkasan .total {
    display: block;
    width: 100%;
    font-size: 14pt;
    font-weight: bold;
    color: #4CAF50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 24px;
}

/*SHOW PAGE*/
.show-page .photo {
    /*background: url('https://source.unsplash.com/IiZ2Gqxm5Pg/600x800');*/
    position: relative;
    min-height: 15em;
    height: 100%;
    padding: 0 !important;
    background-size: auto;
    background: #FFFFFF no-repeat fixed center center;
}

.show-page .photo img {
    width: 100%;
}

.show-page .title {
    display: block;
    position: relative;
    font-weight: 800;
    font-family: Nunito, -apple-system, sans-serif;
    -webkit-text-decoration: initial;
    text-decoration: initial;
    font-size: 1.25rem;
    line-height: 1.3;
    color: rgba(49, 53, 59, 0.96);
}

.show-page .merchant-name {
    display: inline-block;
    vertical-align: middle;
    height: 16px;
    margin: 0 8px 0 0;
    color: #4E73DF;
    line-height: 18px;
    font-size: 12px;
    font-weight: 700;
}

.show-page .key {
    font-family: SourceSansPro, sans-serif;
    display: block;
    position: relative;
    font-weight: 700;
    font-size: 0.8571428571428571rem;
    line-height: 18px;
    color: #2C2C2C;
    -webkit-text-decoration: initial;
    text-decoration: initial;
    margin: 0;
}

.show-page .description {
    display: block;
    position: relative;
    font-weight: 400;
    font-size: 0.857143rem;
    line-height: 18px;
    color: rgba(49, 53, 59, 0.68);
    text-decoration: initial;
    margin: 0px;
    overflow-wrap: break-word;
    white-space: pre-line;
}

.show-page .detail tr td {
    min-height: 40px;
    vertical-align: middle;
}

.show-page .price {
    display: block;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
}

.show-page input.qty-cart-show {
    max-width: 50px !important;
}

/*PROFILE*/
.profile img.avatar {
    max-width: 250px;
    max-height: 250px;
}

.profile .choose-avatar,
.profile .edit {
    cursor: pointer;
}

@media only screen and (max-width: 576px) {
    .trx-image {
        min-height: 200px !important;
    }
}

.ukm-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
}

/*MERCHANT LIST-ORDER*/
.order-list .list-item {
    max-height: 250px;
    overflow-y: auto;
}

.order-list .list-item td {
    padding: 0.1rem !important;
}

.order-list .photo {
    background: url('https://object.mycoop.id/laci/noimage.jpg');
    position: relative;
    height: 40px;
    width: 40px;
    padding: 0 !important;
    background-size: cover;
    background: #FFFFFF no-repeat fixed center center;
}

.order-list .photo:hover {
}

.order-list .title {
    display: -webkit-box;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    color: rgb(44, 44, 44);
}

.order-list .price {
    font-size: 1em;
    font-weight: bold;
    color: #4CAF50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
}

.order-list .qty {
    font-size: 12px;
    font-weight: bold;
    color: #171A1D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
}

.order-list .notes {
    font-size: 12px;
    font-weight: bold;
    color: #171A1D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 13px;
}

.order-list .subtotal {
    font-family: open sans, tahoma, sans-serif;
    font-size: 10pt;
    color: rgb(44, 44, 44);
    font-weight: bold;
}

.order-list .customer {
    display: flex;
    -moz-box-align: center;
    align-items: center;
    font-size: 0.857143rem;
    line-height: 1.5;
    margin: 0px 0px;
    color: #171A1D;
    font-weight: 600;
}

.order-list .description {
    font-size: 10pt;
}

.order-list .address {
    font-size: 10pt;
    display: -webkit-box;
    line-height: 1.2;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    cursor: pointer;
}

.order-list .address-show {
    font-size: 10pt;
    display: block !important;
    max-height: 100px !important;
    line-height: 1.2;
}

.order-list .total {
    font-family: open sans, tahoma, sans-serif;
    font-size: 1.3em;
    color: rgb(250, 89, 29);
    font-weight: bold;
}

/*overwrite bootstrap 4*/
.table td {
    padding: 0.2rem !important;
    vertical-align: middle !important;
}

.table thead td {
    text-align: center;
}

.topbar {
    height: 3rem !important;
}

.order-list .nav-pills .nav-link.active,
.order-list .nav-pills .show > .nav-link {
    color: #2A9C79 !important;
    background-color: #FFFFFF !important;
    border: 1px solid #2A9C79;
}

.order-list .nav-pills .nav-link {
    color: inherit;
    border: 1px solid #F2DEDE;
    padding: 4px !important;
    font-size: 11pt;
}

.dropdown-menu {
    overflow-y: auto !important;
    max-height: 300px !important;
}

.img-merchant-radius {
    border-radius: 25px 0px 0px 25px !important;
    top: 8px;
    position: relative;
}

.bg-hijau {
    background-color: #369d79 !important;
    color: white !important;
}

.font-merchant {
    color: white !important;
}


.score {
    display: block;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}
  
.score-wrap {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 19px;
}
  
.score .stars-active {
    color: #EEBD01;
    position: relative;
    z-index: 10;
    display: inline-block;
}
  
.score .stars-inactive {
    color: grey;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-text-stroke: initial;
    overflow: hidden;
}

.xtra-small{
    font-size: 60% !important;
}