body {
    font-size: small;
}

input,select,textarea {
    font-size:small !important;
}

.tooltip-inner {
    font-size: small;
}

a {
    text-decoration: none;
}

.d-flex {
    display: flex;
}

.p-24 {
    padding: 24px;
}

.py-2 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.m-4 {
    margin: 8px;
}

.m-auto {
    margin: auto;    
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-5 {
    flex: 5;
}

.flex-6 {
    flex: 6;
}


.header {
    flex-direction: row;
}


.top-logo img {
    max-height: 72px;
}

.search-group {
    max-width: 400px;
    width: 100%;
}

.header-nav {
    background: #E7E7E7;
    padding: 8px;
}

.header-nav-container {
    overflow-x: auto;
    margin-left: 20px;
}

.header-nav-container .cat-button {
    min-width: 150px;
}

.btn-success {
    background: #DCA100;
    border: solid 1px #F4BB20;
}

.btn-success:hover {
    background: #F4BB20;
    border: solid 1px #F4BB20;
}

.login-button {
    background: #DCA100;
    border-radius: 12px;
    color: white;
    text-decoration: none;

    transition: all .2s;
}

.login-button:hover {
    background: #F4BB20;
}

.login-button span {
    padding: 12px;
}

.login-button i {
    background: #DCA100;
    display: inline-block;
    padding: 12px;
    font-size: 22px;
    border-radius: 12px 0 0 12px;
}

.cat-button {
    border-radius: 12px;
    background: #D6D6D6;
    padding: 12px;
    color: black;
    margin-left: 8px;

    transition: all .2s;
}

.cat-button:hover {
    background: #C6C6C6;
}

.green-button {
    border-radius: 12px;
    background: #DCA100;
    padding: 12px;
    color: white;
    margin-left: 8px;

    transition: all .2s;
}

.green-button:hover {
    background: #F4BB20;
}

.gray-button {
    border-radius: 12px;
    background: #4D4D4D;
    padding: 8px;
    font-size: small;
    color: white;
    margin-left: 8px;

    transition: all .2s;
}

.gray-button:hover {
    background: #282525;
}

.footer-nav {
    background: #E7E7E7;
    display: flex;
    margin-top: 30px;
    padding: 15px;
}

.footer {
    padding: 30px;
}

.footer-info {
    text-align: center;
    border: solid 1px #B7B7B7;
    border-radius: 3px;
    padding: 4px;
    color: #2F2F2F;
    margin-bottom: 8px;

}

.footer-info a {
    color: #2F2F2F;
}

.ltr {
    direction: ltr;
}

.footer-enamad {
    border: solid 1px #B7B7B7;
    border-radius: 12px;
    width: 30%;
    padding: 5px;
    max-width: 200px;
    display: flex;
    margin-left: 15px;
}

.footer-enamad img {
    margin: auto;
    width: 95%;
    max-width: 128px;
}

.footer-location {
    text-align: left;
}

.footer-location img {
    max-width: 100%;
}

.section-intro {
    background: #FFF9EA;
    color: black;
}

.section-intro .container {
    padding: 30px;
}

.intro {
    text-align: center;
}

.intro img {
    max-width: 512px;
    width: 90%;
}

h1 {
    font-size: x-large;
    color: #4D4D4D;
    line-height: 3rem;
}

.text-justify {
    text-align: justify;
}

.label {
    color: #00A21E;
    font-weight: bold;
    
}

.font-sm {
    font-size: small;
}

.font-xs {
    font-size: x-small;
}

.ml-8 {
    margin-left: 8px;
}

.ml-16 {
    margin-left: 16px;
}

.pl-16 {
    padding-left: 8px;
}

.mt-4 {
    margin-top: 8px;
}

.section-why {
    padding: 45px 15px;
}

.large-text {
    font-weight: bold;
}

.font-size-24 {
    font-size: 24px;;
}

.why-item {
    flex: 1;
    padding: 20px;
    border: solid 1px #B7B7B7;
    border-radius: 12px;
    margin: 8px;

    font-size: small;
}

.table-container {
    overflow-x: auto;
}

.table-container table {
    min-width: 700px;
}

.why-item span {
    text-align: center;
    margin-top: 8px;
    display: block;
    height: 36px;

}

.why-image {
    height: 96px;
    display: flex;
}

.why-image img {
    max-width: 95%;
    max-height: 95%;
    margin: auto;
}

.reviews-container {
    display: flex;
    overflow-x: auto;
}

.p-12 {
    padding: 12px;
}

.review-item {
    margin: 8px;
    width: 25%;
    max-width: 400px;
    min-width: 300px;
    border: solid 1px #D0D0D0;
    border-radius: 5px;
    background: white;
}

.review-avatar {
    width: 72px;
    height: 72px;
    display: flex;
    margin-left: 8px;
}

.review-avatar img {
    width: 90%;
    height: 90%;
    margin: auto;
}

.review-text {
    padding: 8px;
    text-align: justify;
    font-size: small;
}

.bg-gray {
    background: #D0D0D0;
}

.text-black {
    color: black;
}

.review-rate img {
    width: 16px;
}

.p-24 {
    padding: 24px;
}

.section-producer {
    background: url('../../img/pages/main/image-16.png');
    background-size: cover;
    height: calc(100vw / 2.5);
    color: white;
    min-height: 400px;
}

.section-producer .producer {
    width: 100%;
    height: 100%;
    display: flex;
    color: white;

    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-producer .producer .m-auto {
    max-width: 700px;
}

.section-producer .producer h2 {
    color: white;
    margin-bottom: 20px;
}

.glass-button {
    background: rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.2px);
    -webkit-backdrop-filter: blur(7.2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    color: white;    
}

.cats-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.cat-item {
    background: #E7E7E7;
    padding: 4px;
    border-radius: 5px;
    display: inline-block;
    margin: 8px;
    width: calc(100vw / 6);
    min-width: 128px;
    font-size: small;
    color: black;
}

.cat-item-image {
    height: calc(100vw / 6);
    max-height: 96px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.cat-item-orders {
    background: rgba(0, 0, 0, 0.29);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.2px);
    border-radius: 8px 8px 0 0;
    -webkit-backdrop-filter: blur(7.2px);
    color: white;
    font-size: small;
    text-align: center;
    padding: 4px;
}

.cat-item .fa-arrow-left {
    color: white;
    font-size: 12px;
    display: inline-block;
    padding: 4px;
    background: #4D4D4D;
    border-radius: 5px;
}

.agro-table td,.agro-table th {
    text-align: center;
    vertical-align: middle;
    color: #4d4d4d;
    background: #E7E7E7;
}

.agro-table th {
    background: #D6D6D6;
    border-bottom-width: 0
}

.agro-table img {
    height: 48px;
    float: right;
}

.agro-table {
    border-collapse: separate; /* Essential for proper border-radius on tables */
    border-radius: 15px; /* Adjust the value for desired roundness */
    overflow: hidden; 
    border-spacing: 2px;
}

.cat-image {
    margin-left: 8px;
    width: 96px;
}

.disabled {
    pointer-events: none;
}

.cat-image img {
    margin: auto;
    width: 100%;
    height: initial;
}

.agro-table tfoot td {
    padding: 0;
}

.agro-table tfoot a {
    background: #4D4D4D;
    color: white;
    display: block;
    text-align: center;
    padding: 5px
}

.text-sm {
    font-size: small;
}

.text-normal {
    font-weight: normal;
}

.bg-white {
    background: white;
}

.p-0 {
    padding: 0;
}

.white-button {
    background: white;
    padding: 8px;
    border-radius: 5px;
    border: solid 1px #D0D0D0;
    color: black;
}

.cat-detail-item {
    border-radius: 8px;
    background: #E7E7E7;
    padding: 5px;
    margin: 15px 5px;
    display: flex;
    color: #4d4d4d;
}

.cat-detail-image {
    width: 40%;
    margin-left: 10px;
}

.cat-detail-image img {
    width: 100%;
}

.cat-tag {
    border-radius: 5px;
    font-size: small;
    background: #D6D6D6;
    margin-bottom: 4px;
    display: flex;
}

.cat-tag .flex-1 {
    padding: 8px;
}

.cat-tag-value {
    width: 48px;
    padding: 8px;
    text-align: center;
    background: #B1B1B1;
    border-radius: 5px 0 0 5px;
}

.no-login {
    width: 100%;
    background-image: url('../../img/pages/talar/no_login.png');
    background-size: cover;
    height: 0; /* Important for this technique */
    padding-bottom: 74.5%; /* For a 16:9 aspect ratio (9/16 * 100) */
    position: relative; 
    display: flex;
}

.no-login-content {
    margin: auto;
    text-align: center;
    max-width: 50vw;
    margin-top: 25%;
}

.top-profile-menu {
    min-width: 200px;
}

.top-profile-menu .menu-item {
    display: block;
    color: black;
    padding: 12px;
    text-decoration: none;
    font-size: small;

    transition: all .2s;
}

.top-profile-menu .menu-item:hover {
    background: #E7E7E7;
}

.dropdown-toggle::after {
    margin: auto;
}

.w-150 {
    width: 150px;
}

.profile-menu {
    min-width: 300px;
    max-width: 350px;
    width: 20%;
    height: calc(100vh - 230px);
    border: solid 1px #AFAFAF;
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.profile-menu-user {
    border-bottom: solid 1px #AFAFAF;
}

.profile-avatar {
    width: 30%;
    display: flex;
}

.profile-avatar img {
    border-radius: 20px;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
}

.profile-menu-items {
    overflow-y: auto;
}

.profile-menu-items a {
    display: block;
    padding: 15px 8px;
    border-bottom: solid 1px #D0D0D0;
    font-size: small;
    color: black;
    margin: 0px 8px ;
    display: flex;
    transition: all .2s;
}

.profile-menu-items a.active {
    color: #00BA22;
}

.profile-menu-items a i {
    margin-left: 8px;
    width: 24px;
    text-align: center;
    font-size: large;
}

.profile-menu-items a:hover {
    background: #dfdfdf;
    border-radius: 5px;
}

.profile-logout {
    border-top: solid 1px #D0D0D0;
}

.profile-logout a {
    display: block;
    padding: 15px 8px;
    font-size: small;
    color: black;
    display: flex;
    transition: all .2s;
}


.profile-logout a i {
    margin-left: 8px;
    width: 24px;
    text-align: center;
    font-size: large;
}

.profile-logout a:hover {
    background: #dfdfdf;
    border-radius: 0px 0 9px 9px;
}

.profile-container {
    display: flex;
}

.items-container {
    overflow-x: auto;
    min-width: 700px;
}

.form-info {
    color: #004D40;
    border-bottom: solid 1px #004D40;
    text-align: left;
}

.form-infoes > div {
    margin-bottom: 15px;
}

.item {
    display: flex;
    color: black;
    font-size: small;
    background: white;
    margin: 16px 0px 0px 0px;
    cursor: pointer;

    transition: all .2s;
}

.item:hover {
    filter: brightness(96%);
}


.docs {
    border: solid 2px #607D8B;
    padding: 15px;
    border-radius: 5px;
    margin-top: 8px;
}

.docs .image-con {
    margin-top: 15px;
    height: 96px;
    text-align: center;
    vertical-align: middle;
}

.docs .image-item img {
    max-height: 96px;
}

.pay-item {
    padding: 8px;
    color: white;
    border-radius: 5px;
    background: #0277BD;
}

.has-error {
    border: solid 1px red;
}

.section {
    border-radius: 5px;
    border: solid 1px #d6d6d6;
    margin-bottom: 15px;
    margin-top: 15px;
}

.form-tv {
    border-radius: 5px;
    background: #e6e6e6;
    color: black;
    margin: 5px;
    padding: 5px;
}

.form-tv .form-title {
    text-align: right;
    font-size: small;
}

.form-tv .form-value {
    font-size: 15px;
    text-align: left;
}

.section-title {
    background: #D6D6D6;
    color: black;
    border-radius: 4px 4px 0 0 ;
    padding: 8px;
}

.section-body {
    padding: 5px;
}


.item div {
    padding: 8px;
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
    background: #E7E7E7;
    margin: 0 1px;
}

.item i.fa-sort-down {
    display: none;
}

.item.collapsed i.fa-sort-up {
    display: none;
}

.item.collapsed i.fa-sort-down {
    display: inline-block;
}

.item-option i {
    font-size: 18px;
    padding: 8px;
}

.item div:first-child {
    border-radius: 0 8px 0px 0;
    background: #D6D6D6;
}

.item div:last-child {
    border-radius: 8px 0 0 0px;
    background: #D6D6D6;
}

.item.collapsed div:first-child {
    border-radius: 0 8px 8px 0;
    background: #D6D6D6;
}

.item.collapsed div:last-child {
    border-radius: 8px 0 0 8px;
    background: #D6D6D6;
}

.item-details {
    border: solid 2px #E7E7E7;
    padding: 8px;
    border-radius: 0 0 8px 8px;
    color: black;
    font-size: small;
}

.detail-item {
    display: flex;
    flex-direction: column;
    background: #F7F7F7;
    padding: 12px;
    margin: 8px;
    border-radius: 5px;
}

.detail-item * {
    display: block;
    text-align: center;
}

.modal {
    font-size: small;
}

.tags {
    
}

.tags .tag {
    background: #afafaf;
    border-radius: 10px;
    color: black;
    padding: 8px;
    display: inline-block;
    margin-left: 15px;
}

.tags .tag span {
    padding: 0px 0px 0px 30px;
    display: inline-block;
}

.tags .tag i {
    cursor: pointer;

    transition: all .2s;
}

.tags .tag i:hover {
    color: red;
}

.my-badge {
    color: white;
    background: red;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    text-align: center; 
    padding-top: 2px;
    margin-right: 5px;
    display: inline-block;

}

@media (max-width: 840px) {
    .profile-container {
        flex-direction: column;
    }

    .profile-menu {
        width: 100%;
    }
}

.is-loading-text-wrapper{background:#fff;border-radius:2px;color:#444;display:inline-block;padding:10px 20px;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.is-loading-text-wrapper:after{-webkit-animation-name:a;animation-name:a;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-direction:alternate;animation-direction:alternate;content:"";display:inline-block;background:#0bb;height:2px;position:absolute;left:50%;bottom:1px;-webkit-transform:translate(-50%);transform:translate(-50%);vertical-align:middle;width:1px;z-index:1}#is-loading-full-overlay,.is-loading-element-overlay{background:rgba(0,0,0,.5);position:relative;top:0;bottom:0;left:0;right:0;z-index:2000}#is-loading-full-overlay{position:fixed}.is-loading-element-overlay{position:absolute}.is-loading-element-overlay-target{position:relative}.is-loading-element-overlay-target .is-loading-text-wrapper{padding-bottom:4px;padding-top:0}@-webkit-keyframes a{0%{width:1px}to{width:98%}}@keyframes a{0%{width:1px}to{width:98%}}