

/* Brand name */
.app-brand-text.menu-text {
    color: #000;

}


/* Navbar */
.layout-navbar {
    /*background-color: #FFF !important;
    border-bottom: 1px solid #D4D8DD ;*/
}

.menu_navbar_icon {
    width: 24px;
    text-align: center;
    float: left;
    margin-right: 10px;
}


/* Menu */
.layout-menu {
    /*background-color: #A4D012 !important;*/
    background-color: white !important;

}
.layout-menu .menu-link {
   /* color: white !important;*/
}


/* Buttons */
.btn-primary {
    color: #fff;
    background-color: #8dbf42;
    border-color: #8dbf42;
    box-shadow: 0 0.125rem 0.25rem rgba(147, 158, 170, 0.4);
}

.btn-primary:focus {
    color: #fff;
    background-color: #8dbf42;
    border-color: #8dbf42;
    box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
}

.btn-primary:hover {
    color: #fff;
    background-color: #8dbf42;
    border-color: #8dbf42;
    box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
    opacity: .65;
}
.btn-outline-primary {
    color: #8dbf42;
    background-color: #fff;
    border-color: #8dbf42;
    box-shadow: 0 0.125rem 0.25rem rgba(147, 158, 170, 0.4);
}

.btn-outline-primary:focus {
    color: #8dbf42;
    background-color: #fff;
    border-color: #8dbf42;
    box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #8dbf42;
    border-color: #8dbf42;
    box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
    opacity: .65;
}


.btn {
    text-transform: uppercase;
    font-weight: bold;
}





/* Link appearance on table rows */
.link-item:hover {
	cursor: pointer;
}




/* Tabs and pills */
.nav-pills .nav-link {
    background-color: #EFEFEF;
}
.nav-fill .nav-item {
    padding-left: 5px;
    padding-right: 5px;
}






/* MISC */
.primary_color_text {
    color: #8dbf42;
}

/* Disabled controls */
.bg_disabled {
	background-color: #E6E6E6 !important;
}
.date-picker[disabled] {
	background-color: #E6E6E6 !important;
}
.select2[disabled] {
	background-color: #E6E6E6 !important;
}



/* Grid selector */

.icon-item img {
    width: 70px;
    height: 70px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.icon-item div {
    margin-top: 5px;
}


#vegetables_selector.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px; /* Separació entre ítems */
}

#vegetables_selector .icon-item {
    width: 90px;
    text-align: center;
    padding: 5px;

    border: 5px solid #FFF; /* if a border is shown when item is selected, a small margin is applied, moving all the other icons. Using a non-visible border avoid this shifting */
    border-radius: 7px;    
}


#vegetables_selector .icon-item.link-item:not([selected]):hover {
    border: 5px solid #EEE;
    border-radius: 7px;
}

#vegetables_selector .icon-item[selected] {
    border: 5px solid #8DDF42;
}



#types_selector.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px; /* Separació entre ítems */
}

#types_selector .icon-item {
    width: 120px;
    text-align: center;
    padding: 5px;

    border: 5px solid #FFF; /* if a border is shown when item is selected, a small margin is applied, moving all the other icons. Using a non-visible border avoid this shifting */
    border-radius: 7px;    
}


#types_selector .icon-item.link-item:not([selected]):hover {
    border: 5px solid #EEE;
    border-radius: 7px;
}

#types_selector .icon-item[selected] {
    border: 5px solid #8DDF42;
}



/* FIELDS GRID */

.field-label {
    text-align: center;
    margin-bottom: 15px;
}
.field-input {
    font-size: 30px;
    text-align: center;
}




/* RESULTS GRID */

.result-item {
    padding-top: 5px;
    padding-bottom: 5px;
}

.result-item-container {
    background-color: #f8fbf9;
    border: 1px solid #eaede9;
    border-radius: 5px;
    padding: 5px;
}
.result-label {
    text-align: center;
    font-size: 16px;
}
.result-value {
    font-size: 30px;
    text-align: center;
    font-weight: 500;
}


/* CHARTS */


.chart-container {
    border: 1px solid #eaede9;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 35px;
}

/* Increase the toolbar buttons for small screens */ 
@media (max-width: 768px) {
  .apexcharts-zoomin-icon,
  .apexcharts-zoomout-icon,
  .apexcharts-reset-icon {
    transform: scale(1.2) !important;
    margin-right: 15px;
    margin-bottom: 15px;
  }

  .apexcharts-toolbar {
    top: -5px !important;
  }

  .charts_section {
    margin-right: -45px;
    margin-left: -45px;
  }
}