.content-wrapper {
    background: #FFF;
}

.content-header {
    margin: 45px auto 2em;
    max-width: 967px;
}

.content-header h1 {
    font-size: 2.5em;
    font-weight: bold;
}

.content-wrapper > .content {
    margin: 1em auto 4em;
    max-width: 967px;
}

/* SIDEBAR */
.icon-panel {
    height: 40px;
    border-bottom: 1px solid #E3E5E8;
}

.layout-fixed .wrapper .sidebar {
    height: calc(100vh - 250px);
}

.main-sidebar .icon .icon-area {
    padding: 10px 10px 6px 10px;
    text-align: center;
    color: #BDBDBD;
    cursor: pointer;
}

.main-sidebar .icon .icon-area:hover {
    border-bottom: 3px solid #FFBF00;
    color: #000000;
}
.main-sidebar .icon .icon-area.active {
    border-bottom: 3px solid #FFBF00;
    color: #000000;
}
.main-sidebar .icon .icon-badge {
    font-size: .6rem;
    font-weight: bold;
    padding: 4px;
    position: absolute;
    right: 15px;
    top: 3px;
    border-radius: 10px;
}

.main-sidebar .brand-logo {
    margin: 30px 10%;
}

.main-sidebar nav {
    overflow: scroll;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link,
.main-sidebar .nav-treeview > .nav-item > .nav-link {
    border-bottom: 1px solid #E3E5E8;
    padding: .7rem 1rem;
    color: #000;
}

.main-sidebar .nav-sidebar .nav-item > .nav-link {
    margin-bottom: 0;
}

.main-sidebar .nav-treeview > .nav-item > .nav-link {
    padding-left: 1.5rem;
    font-size: 0.9em;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link.active,
.main-sidebar .nav-treeview > .nav-item > .nav-link.active,
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link.active  {
    font-weight: bold;
    color: #000;
    background: #FFF;
    box-shadow: none;
}

.main-sidebar .nav-sidebar > .nav-item:hover > .nav-link,
.main-sidebar .nav-treeview > .nav-item:hover > .nav-link,
.main-sidebar .nav-sidebar > .nav-item.has-treeview > .nav-link:hover,
.main-sidebar .nav-treeview > .nav-item > .nav-link.active:hover {
    background-color:  #FFBF00;
    font-weight: bold;
    color: #000;
}

.main-sidebar .nav-sidebar > .nav-item:active > .nav-link,
.main-sidebar .nav-treeview > .nav-item:active > .nav-link,
.main-sidebar .nav-sidebar > .nav-item.has-treeview > .nav-link:active,
.main-sidebar .nav-treeview > .nav-item > .nav-link.active:active {
    background-color:  #FFBF00;
    font-weight: bold;
    color: #000;
}

.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link {
    color: #000;
    background-color: #FFF;
    font-weight: normal;
}

/* FOOTER */
.main-footer {
    border: 0;
    padding: 0 2.5em;
}

.main-footer .copyright {
    box-sizing: border-box;
    padding: 16px 0;
    width: 100%;
    border-top: 1px solid #7A7A7A;
    margin: 2.2em auto 0 auto;
}

.main-footer .row {
    margin: 0;
    padding-top: 2.2em;
}

.main-footer .links {
    max-width: 937px;
    margin: 0 auto;
}

.main-footer .links .col {
    padding: 0;
}

.main-footer .title {
    font-weight: bold;
    padding-bottom: 0.5em;
    color: #000;
    font-size: 1em;
}

.main-footer a.link {
    color: #000;
    display: block;
    padding-bottom: 0.5em;
}
.main-footer .social-media .icon {
    color: #000;
    display: inline-block;
    font-size: 2em;
    padding: 0 0.75em;
    margin-left: -0.75em;
}

.main-footer .social-media {
    margin-left: 0;
    margin-right: 1.5em;
    padding: 0;
}

.main-footer .footer-collapsable-header {
    padding-bottom: 1em;
}


.main-footer .footer-collapsable-header > a.title.block > .fa-minus {
    display: inline-block;
}

.main-footer .footer-collapsable-header > a.title.block.collapsed > .fa-minus {
    display: none;
}

.main-footer .footer-collapsable-header > a.title.block > .fa-plus {
    display: none;
}

.main-footer .footer-collapsable-header > a.title.block.collapsed > .fa-plus {
    display: inline-block;
}

/* CAROUSEL */
.carousel-indicators li {
    height: 10px;
    width: 10px;
    border: 2px solid #FFFFFF;
    background: none;
    opacity: 0.9;
    border-radius: 10px;
    margin: 0 8px 16px 8px;
}

.carousel-indicators li.active {
    background: #FFF;
    opacity: 0.9;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 50px;
    height: 50px;
    opacity: 0.3;
    background: no-repeat center center;
    background-color: #000000;
}
.carousel-control-next-icon:hover, .carousel-control-prev-icon:hover,
.carousel-control-next-icon:active, .carousel-control-prev-icon:active {
    opacity: 0.5;
}

.carousel-control-next {
    justify-content: right;
    text-align: right;
}
.carousel-control-next-icon {
    background-image: url(../../assets/frontpage/arrow_forward_white.svg);
}
.carousel-control-prev {
    justify-content: left;
    text-align: left;
}
.carousel-control-prev-icon {
    background-image: url(../../assets/frontpage/arrow_back_white.svg);
}

.carousel-control-next, .carousel-control-prev {
    width: 50px !important;
}

.frontpage-feature-display {
    text-align: center;
}

.frontpage-feature-icon {
    margin: 14px;
}

.frontpage-feature-label {
    font-weight: bold;
}

.frontpage-feature-description {
    margin: 6px 0 20px 0;
}

.main-footer {
    clear: both;
}

/* MERCHANT DETAIL */
.merchant-detail {
    padding-top: 45px;
}
.merchant-detail .header {
    border: 1px solid #C9CCD1;
}
.merchant-detail .header .profile {
    padding: 25px;
}
.merchant-detail .header h1 {
    font-size: 1.25em;
    font-weight: bold;
}
.merchant-detail .header .separator {
    height: 1px; 
    border: 1px solid #C9CCD1;
    margin: 1em 0;
}
.merchant-detail .header .fa, 
.merchant-detail .header .fas, 
.merchant-detail .header .far  {
    width: 1em;
}

.merchant-detail .gallery {
    margin-top: 2em;
    margin-bottom: 2em;
}

.merchant-gallery .gallery {
    margin-top: -1em;
}

.gallery .card {
    box-shadow: none;
}

.gallery .card-body {
    margin: 0;
    padding: 0;
}
.gallery-image:first-child {
   padding-left: 0;
}
.gallery-image:last-child {
    padding-right: 0;
 }

.gallery-image {
    margin-top: 1em;
    padding-left: 0.5%;
    padding-right: 0.5%;
    width: 19.75%;
    min-width: 150px;
    min-height: 150px;
    overflow: hidden;
    display: inline-block;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: 0.5s;
}
.gallery-image img:hover {
    width: 120%;
    height: 120%;
    filter: brightness(1);
    object-fit: cover;
}

.gallery .tab-pane .row {
    margin-left: 0;
}

/* Favorites */
.favorites {
    margin-bottom: 2em;
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.favorites .card {
    box-shadow: none;
}

.favorites .card-body {
    margin: 0;
    padding: 0;
}
.favorite-merchant-item {
    padding: 2em 0 1em 0;
    border: 1px solid #E3E5E8;
    text-align: center;
    margin-top: 2em;
    margin-right: 16px;
}
.favorite-merchant-item a {
    color: #000000;
}
.favorite-merchant-item a:hover {
    color: #000000;
}
.favorite-merchant-item-storename {
    font-weight: bold;
    padding: 1em 0;
}
.favorite-merchant-item-image img {
    max-width: 100%;
}
.favorites .tab-pane .row {
    margin-left: 0;
}

/* product detail */
.product-tabs .card {
    box-shadow: none;
}
#tab-deskripsi {
    white-space: pre-wrap;
    word-break: break-all;
}
.product-tabs .card-tabs .card-body {
    padding-left: 0;
    padding-right: 0;
}
.rating-stars .fa-star {
    color: #FFBF00; 
}
.input-quantity input {
    flex: none !important;
    display: inline-block !important;
    width: 5em !important;
    text-align: center;
}

.product-detail .tabs .nav-link {
    font-size: 18px;
}

.product-detail input, .product-detail textarea, .product-detail select {
    padding: 7.5px;
    font-size: 1em;
}

.product-detail textarea.form-control {
    height: 65px !important;
}

.input-quantity button {
    border: 1px solid #DADADA;
}
.input-quantity button[disabled] {
    color: #BDBDBD;
}
.product-detail #btn_chat {
    padding-left: 40px;
    padding-right: 40px;
    margin-right: 0.5em;
}
.product-detail #btn_favorite {
    padding-left: 40px;
    padding-right: 40px;
    margin-right: 0.5em;
}
.product-detail #btn_favorite i {
    margin-right: 1em;
}
.product-detail #btn_addtocart {
    padding-left: 40px;
    padding-right: 40px;
}

.product-detail hr {
    margin-top: 20px;
    margin-bottom: 20px;
}

#product-image-thumbs-wrapper {
    width: 100%;
    padding: 0 7.5px 0 7.5px;
    margin: 0;
}
.product-image-thumbs-outer {
    width: 100%;
    margin-right: 7.5px;
    overflow: hidden;

}
.product-image-thumbs {
    display: block;
    clear: both;
    width: 10000px;
}

.product-image-thumb:first-child {
    margin: 0 0 0 0;
}
.product-image-thumb {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 0 0 0 14px;
    border: 0 none;
    padding: 0;
    border-radius: 0;
}
.product-image-thumb img {
    width: 100%;
}
.product-image-thumbs-arrow {
    position: absolute;
    top: 40%;
    padding: 5px;
    margin: 0;
    color: #000000;
    background-color: #F7F7F7;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.35);
    border: 0 none;
    display: inline-block;    
    width: 2em;
    height: 2em;
    text-align: center;
    border-radius: 2em;
    cursor: pointer;
    z-index: 99;
}
.product-image-thumbs-arrow.left {
    left: -12px;
}
.product-image-thumbs-arrow.right {
    right: -12px;
}

#search-bar {
    display: block;
    padding: 8px;
    background: #F5F7FA;
    margin-left: -7.5px;
    margin-right: -7.5px;
}

#search-bar .input-group {
    border: 1px solid #E3E5E8;
}

#search-bar input {
    border: 0 none;
}

#not-found {
    margin: auto;
    text-align: center;
    align-items: center;
}
#not-found .image {
    background: url('/assets/images/image-search-not-found.jpg') 
                    center center 
                    no-repeat;
    width: 100%;
    height: 300px;
}
#not-found .header {
    margin-top: 24px;
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 8px;
}

#product-list-filter {
    border: 1px solid #E3E5E8;
    background: #F7F7F7;
    padding: 16px;
}
#product-list-filter input[type=text] {
    padding: 6px;
}
#product-list-filter > .row:first-child {
    margin-bottom: 16px;
}
#product-list-filter-buttons {
    margin-left: -10px;
}

#product-list-filter .select2-selection__choice, 
#form-product-detail .select2-selection__choice {
    background: #FFBF00;
    color: #000000;
    font-weight: 500;
    padding-left: 8px;
}
#product-list-filter .select2-selection__choice__remove,
#form-product-detail .select2-selection__choice__remove {
    color: #000000;
    float: right;
}

.select2-container--bootstrap4 .select2-dropdown .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-dropdown .select2-results__option--highlighted {
    background-color: #F7F7F7 !important;
    color: #000000;
}
.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected="true"],
.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected="true"] {
    background-color: #F7F7F7 !important;
    color: #BDBDBD !important;
}
