/*custom tambahan*/
.pt-xxl{
    padding-top: 5rem !important;
}
.nav-font{
    font-family: 'Advent Pro', sans-serif !important;
    font-weight: 700;
    font-size: 13px !important;
}
.nav-black{
    color: white; background-color: #1e2022;
    padding: 5px 1rem !important;
    /* gap:2.5rem; */
}
.nav-black .nav-link{
    color: white;
}
.nav-link {
    padding: 0;
    margin: 0;
}

.form-control-form{
    font-weight: 600 !important;
    display: block;
    width: 100%;
    padding-right: 1rem !important;
    padding: 0;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    background-color: black;
    background-clip: padding-box;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-appearance:auto;
    border-radius: 0;
    box-shadow: transparent;
    border:none;
}
.navbar-nav, .navbar-custom{
    gap:1.5rem;
}
.custom-select option{
    background: #1e2022;
    border: none;
    box-shadow: none;
    color: #fafafa;
    padding: 5px 0;
    width: 50%;
}

.custom-select select:hover{
    background-color: #5a5a5a !important;
}

.right-content{
    text-align: right;
}
.right-content .button{
    padding:0 5pt;
    border: none;
    background: #fddc01;
    margin-bottom: 1rem;
}
.left-content .logo{
    margin-right: 17pt;
}
.left-content .content h4{
    text-decoration: underline;
}
.left-content .var li, .left-content .val li{
    list-style: none;
}
.search button{
    background: transparent;
    border: none;
}
.btn-filter{
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
}
.btn-filter span{
    text-transform: capitalize;
    font-size: 1rem;
}
.btn-filter i{
    font-size: 0.8rem;
    margin-left: 5pt;
    padding: 1pt;
    background: white;
    border-radius: 50%;
    color: black;
}
.filter-search{
    display: none;
}
.btn-search-close{
    border-radius: 50%;
    /* border: 1pt solid white; */
    padding: 3pt 5pt;
    height: auto;
    width: auto;
}
.filters{
    padding-bottom: 25pt;
}
.modal-filters .form-control{
    background: black;
    margin-bottom: 1rem;
}
.modal-body{
    padding: 1.3rem !important;
    border-bottom: 1pt solid lightgrey;
    border-top: 1pt solid lightgrey;
}
.modal-content{
    border-radius: 0%;
}
.modal-footer button{
    border-radius: 0% !important;
    text-transform: capitalize !important;
    font-weight: 700 !important;

}
.collapsed select{
    min-height: 0;
    background:#1e2022;
    border: none;
    color: white;
    padding: 0 0.5rem;
}

/* sidenav */

.sidenav {
  width: 100%;
  height: 0;
  position: fixed;
  z-index: 999999;
  bottom: 0;
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  transition: 0.5s;
}

.sidenav a {
  /*padding: 8px 8px 8px 32px;*/
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
.sidenav-container{
    margin: 1rem;
}
.sidenav-header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1pt solid #818181
}
.sidenav-header span{
    color: #818181;
}
.sidenav-footer{
    width: 100%;
    margin-top: 1rem;
    border-top: 1pt solid #818181;
}
.sidenav-footer .btn{
    float: right;
    margin-top: 0.5rem;
    color: black;
    text-transform: capitalize;
    font-weight: 700;
}
.form-select{
    background-color: whitesmoke;
    border: none !important;
    color: #818181;
    margin-bottom: 2rem;
}

.form-custom input[type="email"]:focus,
.form-custom input[type="password"]:focus,
.form-custom input[type="text"]:focus,
.form-custom input[type="number"]:focus
{
    background: white;
    /* border: 1pt solid darkgrey !important; */
}
.form-custom input[type="email"],
.form-custom input[type="password"],
.form-custom input[type="text"],
.form-custom input[type="number"]{
    color: black !important;
}
.social-button{
    margin: 1.5rem 0;
}
.login-form .social-button{
    display: flesx;
}
.img-button{
    max-width: 5%;
    height: auto;
}
.login-form .btn{
   padding: 10px 20px !important;
}
.login-form .btn-gmail{
    background: white !important;
    padding: 10px 15px;
    border-radius: 2px;
    color: black;
    text-align: center;
    margin-right: 0.5rem;
    /*width: 50%*/
}
.login-form .btn-facebook{
    background: var(--bs-primary) !important;
    padding: 10px 15px;
    border-radius: 2px;
    color: white;
    text-align: center;
    margin-right: 0.5rem;
    /*width: 50%*/
}
.btn-facebook:hover{
    color: white !important;
}
.btn-gmail:hover{
    color: black!important;
}
.login-form .btn-gmail span, .login-form .btn-facebook span{
    margin-left: 0.5rem
}
.form-custom input{
    background: white;
    margin-bottom: 0.5rem;
    border: 1pt solid #d9d9d9;
    font-weight: 400 !important;
    padding: 0 1rem;
}

.form-forgot{
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.form-custom button, .form-custom a{
    background: black !important;
    color: white;
    border-radius:20pt;
    padding: 8pt 25pt;
    transition: 0.5s;
    border-radius: 20pt;
    border: none;
    font-weight: 700;
    font-size: 12px;
}
.form-check input[type="checkbox"]{
    border:1pt solid black;
    background: transparent;
}
.form-check-input:checked{
    background-color: black !important;
}

.form-select option:hover{
    background: black !important;
}
.form-forgot a{
    color: black;
}
.form-forgot a:hover, .form-daftar .form-custom p{
    color: #5a5a5a !important;
    /*font-weight: 700;*/
}
.login-form-footer a{
    background: black !important;
    color: #fcdc00;
    border-radius:20pt;
    padding: 8pt 25pt;
    transition: 0.5s;
    border-radius: 20pt;
    border: none;
    font-weight: 700;
    font-size: 12px;
}
/* .login .background-login{
    width: 80%;
    position: absolute;
    top: 0;
    right: 0;
    object-fit: cover;
    height: 70vh;
} */

.login{
    position: relative;
    background-image: url(../images/form.png);
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: top right;
    background-position-y: -40px;
}

.login-footer, .terms-conditions, .privacy-policy{
    position: relative;
    background-image: url(../images/bg-img1.png);
    background-repeat: no-repeat;
    background-size: 250%;
    background-position: top right;
    background-position-y: -40px;
}

.login .login-row{
    padding: 80px 0;
    margin:0;
}

.register{
    position: relative;
    background-image: url(../images/form.png);
    background-repeat: no-repeat;
    background-size: 85%;
    background-position: top right;
    background-position-y: 0;
    background-position-x: 35rem;
}

.register-lg{
    position: relative;
    background-image: url(../images/form.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top right;
    background-position-y: 0rem;
    background-position-x: 22rem;
}

.background-yellow{
    background: linear-gradient(to right, rgb(248 217 9),20%, rgb(248 217 9), 50%, rgb(255 255 255 / 0%), rgb(255 255 255 / 0%));
    position: relative;
}

/*register*/
.form-grid .first{grid-area: headerleft}
.form-grid .second{grid-area: headerright}
.form-grid .third{grid-area: mainmenu}
.form-grid .fourth{grid-area: mainleft}
.form-grid .fifth{grid-area: mainright}
.form-custom .form-grid{
    display: flex;
    justify-content: space-between;
    grid-template-areas: 'headerleft headerleft headerleft headerright';
    gap:0.5em;
}

.form-custom .form-grid-second{
    display: flex;
    grid-template-areas: 'mainleft mainright';
    gap:0.5em;
}

.item1 { grid-area: header; }
.item2 { grid-area: menu; }
.item3 { grid-area: main; }
.item4 { grid-area: right; }
.item5 { grid-area: footer; }

.grid-container {
  display: grid;
  grid-template-areas:
    'header header header header header header'
    'menu main main main right right'
    'menu footer footer footer footer footer';
  gap: 10px;
  background-color: #2196F3;
  padding: 10px;
}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20spx 0;
  font-size: 30px;
}

.form-grid .form-groups{
    width: 50%;
}
.form-grid-second .form-groups:nth-child(1){
    width: 20%;
}
.form-grid-second .form-groups:nth-child(2){
    width: 80%;
}
.form-grid-second ::placeholder{
    font-weight: 700;
    color: black;
}
.form-daftar{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}
.form-custom .btn-custom, .form-custom .btn-custom-masuk{
    text-transform: uppercase;
    margin-bottom: -1rem;
}
.form-custom .btn-custom-masuk{
    background: white !important;
    color: black !important;
    border: 1pt solid black;
}
.form-daftar .form-custom:nth-child(2){
    display: flex;
    align-items: center;
    flex-direction: column;
}

/*dialog*/
.dialog{
    padding: 15px;
}
.dialog label{
    cursor: default !important;
}
.dialog label p, .dialog label a{
    color:black !important;
}
.dialog label a{
    font-style: italic;
}
.dialog label span{
    font-weight: 700;
}

/*pagination*/
.right-content .pagination{
    display: flex;
    justify-content: flex-end;
    gap:1rem;
    /*padding: 2rem 0;*/
}

.right-content .pagination h4{
    padding: 2px 5px;
    background: #fddc01;
}

.pagination .disabled{
    pointer-events: none;
}

.pagination .disabled h4{
    color: var(--bs-gray-dark);
    background-color: var(--bs-secondary);
}

/*navigation*/
.dropdown .product{
    
}
.nav-img{
    width: auto;
    height: 65%;
}
.nav-flex {
    display: flex;
}
.nav-flex-column{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.nav-flex-column a{
    text-align: center;
    padding: 0 !important;
}
.nav-flex-column .icon-box{
    display: flex;
    justify-content: center;
    height: 10rem;
    align-items: center;
    margin: 0;
}

.product .nav-flex-column .icon-box{
    display: flex;
    justify-content: center;
    height: 15rem;
    align-items: center;
    margin-bottom: 15px;
}

.nav-img-lg{
    width: 100px;
    height: auto;
}
.image-box{
    position: relative;
    overflow: hidden;
}
.image-box .nav-img-lg{
    width: 100%;
    margin-bottom: 1rem;
    transform: translate(0%, 0%) scale(1);
}
.nav-flex-column-img a{
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 10px 10px 0 !important;
}
.collapsed-nav{
    display: flex;
    align-items: flex-end;
}

.dropdown-menu h4{
    margin-bottom: 2rem;
}
#mainMenu nav > ul > li .dropdown-menu{
    min-width: 400px;
}
#mainMenu nav > ul > li > a > i{
    margin: 0rem;
    font-size: 10px;
}
.nav-img-product{
    height: 100% !important;
}
.dropdown i{
    margin-right: 0;
    margin-left: 5px;
}
#mainMenu a{
    margin: 0 !important;
    padding-right: 10px !important;
}
.collapsede-nav a{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 250%; */
}
li.mega-menu-item .mega-menu-content {
    padding: auto;
}

/* .pagination */
.pagination-wrap { display: block; clear: both; }

.pagination { clear: both; }

.pagination .page-item:not(.disabled) > .page-link { color: #3c4043; background-color: #fff; border-color: #e4e6ef; }

.pagination .page-item:not(.disabled).active > .page-link, .pagination .page-item:not(.disabled):active > .page-link, .pagination .page-item:not(.disabled):focus > .page-link, .pagination .page-item:not(.disabled):hover > .page-link { background-color: #e4e6ef; border-color: #e4e6ef; color: #3c4043; box-shadow: none; }

.pagination .page-item.disabled > .page-link { color: #e4e6ef; }

.pagination.pagination-flat .page-item > .page-link { border: 0; }

.pagination.pagination-flat .page-item > .page-link:hover { color: #3c4043; background-color: #f9f9fa; }


@media (min-width: 2560px){
    .background-login{
        width: 80%;
        height: 50vh;
    }
}

@media (max-width: 1440px){
    .register{
        background-position-y: 0;
        background-size: 105%;
        background-position-x: 20rem;
    }
    .register-lg{
        background-size: 120%;
        background-position-x: 10rem;
    }
}
@media (max-width: 992px){
    .filters .justify-content-around{
        justify-content: space-between !important;
    }
    .collapsed{
        display: none !important;
    }
    .filter-search{
        display: block;
    }
    /* nav  */
    .product .nav-flex-column .icon-box{
        display: none;
    }
    .nav-img-lg, .nav-img, .nav-img-product{
        display: none;
    }
    .nav-flex{
        display: block;
        gap: 1rem;
        align-items: center;
    }
    .dropdown-menu h4, .dropdown a .bi{
        display: none;
    }
    .collapsed-nav{
        display: block !important;
    }
    .collapsed-nav .col-4{
        width: 100%;
    }
    .nav-flex-column-img .image-box{
        height: 0;
        margin-bottom: 0;
        
    }
    .nav-flex-column, .nav-flex-column .icon-box{
        display: block;
        height: auto;
    }
    .nav-flex-column a{
        text-align: left;
        padding: 10px 0 !important;
    }
    .collapsed-nav .col-3{
        width: 100% !important;
    }
    #mainMenu nav > ul > li.mega-menu-item .recipes{
        padding: 0 !important;
    }
}

@media (max-width: 1024px){
    .register .background-login{
        height: 140vh;
    }
    .login{
        background-position-y: 0;
        background-size: 90%;
        background-position-x: 20rem;
    }
    .register{
        background-position-y: 0rem;
        background-size: 155%;
        background-position-x: -10rem;
    }
    .register-lg{
        background-size: 180%;
        background-position-x: -15rem;
    }
    #mainMenu nav > ul > li.mega-menu-item > .dropdown-menu{
        width: 960px;
    }
    
}

@media (max-width: 768px){
    
    /* background  */
    .background-login{
        width: 90%;
    }
    .background-yellow{
        background: linear-gradient(to right, rgb(248 217 9), rgb(248 217 9), 90%, rgb(255 255 255 / 0%));
    }

    /* form login register */
    .form-forgot{
        justify-content: unset;
    }
    .form-forgot a{
        margin-right: 1.5rem;
    }
    .img-button{
        max-width: 4%;
        height: auto;
    }
    .register .background-login{
        height: 130vh;
    }
    
    .login{
        background-position-y: 0;
        background-size: 120%;
    }
    .register{
        background-position-y: 0rem;
        background-size: 185%;
        background-position-x: -10rem;
    }
    .register-lg{
        background-position-x:-20rem ;
        background-size: 215%;
    }
    .result-filter{
        display: block !important;
    }
    .login .row{
        padding:0;
        margin:0;
    }

    /* filter  */
    .collapsed{
        display: none !important;
    }
    .filter-search{
        display: block;
    }
    .filters .justify-content-around{
        justify-content: space-between !important;
    }
    .right-content{
        width: 100% !important;
    }
    .right-content p{
        text-align: center;
    }
    .right-content .pagination{
        justify-content: center;
    }

    
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

@media (max-width: 425px){
    .right-content{
        text-align: left;
        margin: 10pt 0;
    }
    .login-form .social-button{
        display: grid;
        gap:1em;
    }
    .login-form .btn-gmail, .login-form .btn-facebook{
        margin: 0;
    }
    .img-button{
        max-width: 6%;
        height: auto;
    }
    .form-forgot{
        justify-content: space-between;
        width: 100%;
    }
    .form-custom button{
        width: 100%;
    }
    .form-daftar{
        display: block;
    }
    .form-custom .btn-custom{
        margin-bottom: 1rem;
    }
    .form-custom .btn-custom-masuk{
        display: block !important;
        text-align:center;
    }
    .form-custom .a-custom{
        width: 100%;
    }
    .background-yellow{
        background: linear-gradient(to right, rgb(248 217 9), rgb(248 217 9), 100%, rgb(255 255 255 / 0%));
    }
    .login-form-footer a{
       width: 100%;
       display: block;
       text-align: center;
    }
    #mainMenu:not(.menu-overlay) nav > ul > li.mega-menu-item .mega-menu-content [class*="col-"] > ul > li > a{
        width: 35%;
    }
}

@media (max-width: 375px){
    .login .container{
        padding:0;
    }
}

}
