/*
  GENERAL CSS
 */
html {
    height: 100%;
}

body {
    height: 100%;
    padding-top: 75px;
}

.demo-font {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    letter-spacing: 0.02em;
}

* {
    /*font-family: 'Montserrat', sans-serif;*/
    font-size: 17px;
    letter-spacing: 0.02em;
}

.btn {
    font-weight: 500;
    font-size: 17px;
    border-radius: 6px;
}

.btn-primary {
    background-color: rgb(186, 218, 85) !important;
    border-color: rgb(186, 218, 85) !important;
    color: white !important;
    box-shadow: 0 1px 1px rgba(206, 0, 127, 0.16);
    transition: box-shadow 0.2s ease-in;
}

.btn-primary:hover {
    box-shadow: 0 8px 16px rgba(206, 0, 127, 0.16);
    /*opacity: 0;*/
    transition: box-shadow 0.2s ease-out;
}

.btn-primary:hover::after {
    /*opacity: 1;*/
    /*transition: opacity 0.25s ease-in-out;*/
}

.btn-secondary {
    background: #312782 !important;
    border-color: #312782 !important;
    box-shadow: 0 1px 1px rgba(49, 39, 130, 0.16);
    transition: box-shadow 0.2s ease-in;
    color: white !important;
}

.btn-secondary:hover {
    box-shadow: 0 6px 11px rgba(49, 39, 130, 0.16);
    transition: box-shadow 0.2s ease-out;
}

.btn-secondary-outline {
    background: white !important;
    border-color: #312782 !important;
    box-shadow: 0 1px 1px rgba(49, 39, 130, 0.16);
    transition: box-shadow 0.2s ease-in;
    color: #312782 !important;
}

.btn-secondary-outline:hover {
    background: #312782 !important;
    color: white !important;
    box-shadow: 0 6px 11px rgba(49, 39, 130, 0.16);
    transition: box-shadow 0.2s ease-out;
}

.btn-white {
    background: white !important;
    border-color: white !important;
    color: rgb(186, 218, 85) !important;
}

.btn-blue {
    background: #0C76DF !important;
    border-color: #0C76DF !important;
    box-shadow: 0px 6px 11px rgba(0, 126, 255, 0.16);
    color: white !important;
}

button:focus {
    outline: none;
}

.color-secondary {
    color: #312782 !important;
}

.color-primary {
    color: rgb(186, 218, 85) !important;
}

.btn-tertiary {
    background: #F4F5F8;
    border: 0.716667px solid #000000;
    box-shadow: 0px 1px 8px rgba(37, 40, 43, 0.16);
    color: #333333;
}

.btn-scale-on-hover {
    transform: scale(1);
    transition: transform 0.2s ease-out;
}

.btn-scale-on-hover:hover {
    transform: scale(1.01);
    transition: transform 0.2s ease-in;
}

.primary-color {
    color: rgb(186, 218, 85);
}

.primary-color-bg {
    color: rgb(186, 218, 85);
}

.mt-120 {
    margin-top: 120px;
}

.mt-100 {
    margin-top: 100px;
}

.w-30 {
    width: 30%;
}

.h-120 {
    height: 120px;
}

.link-primary {
    color: #d06b6b;
}

.link-primary:hover {
    color: rgb(186, 218, 85);
    text-decoration: none;
}

.link-secondary {
    color: #FFBC1F;
}

.link-secondary:hover {
    color: #FFBC1F;
    text-decoration: none;
}

.grey {
    color: grey !important;
}

.input-group {
    border-radius: 2px;
    border: solid 1px rgb(206, 212, 218);
}

.input-group:focus-within {
    border-color: rgb(186, 218, 85);
}

.input-group-text {
    background-color: white;
    border: none;
}

.form-control {
    border: none;
}

.form-control:focus {
    box-shadow: none;
}

.min-h-100 {
    min-height: 100%;
}

.opacity-0 {
    opacity: 0;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-700 {
    font-weight: 700;
}

.font-weight-800 {
    font-weight: 800;
}

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

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

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

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

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

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

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

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

.text-capitalize {
    text-transform: capitalize;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

i.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    -webkit-mask-size: cover;
    mask-size: cover;
    vertical-align: text-bottom;
    background-color: black;
}

i.i-small {
    width: 20px;
    height: 20px;
}

i.i-smaller {
    width: 16px;
    height: 16px;
}

i.i-green {
    background-color: #04AF51;
}

i.i-hover-green:hover,
.i-hover-green:hover i.icon {
    background-color: #04AF51;
}

i.i-light-grey {
    background-color: #C4C4C4;
}

i.i-light-blue {
    background-color: #0C76DF;
}

i.i-orange {
    background-color: #FFBC1F;
}

i.i-hover-orange:hover,
.i-hover-orange:hover i.icon {
    background-color: #FFBC1F;
}

i.i-red {
    background-color: #ff3421;
}

i.i-hover-red:hover,
.i-hover-red:hover i.icon {
    background-color: #ff3421;
}

i.i-white {
    background-color: #ffffff;
}

[data-href] {
    cursor: pointer;
}

.border-primary {
    border-radius: 2px;
    border: solid 1px rgb(206, 212, 218);
}
.border-primary:focus {
    border-color: rgb(186, 218, 85) !important;
}

textarea {
    min-height: 75px;
}

.image-input {
    position: relative;
    width: 100%;
    padding-bottom: 63%;
    box-sizing: content-box;
    overflow: hidden;
    border: none;
    border-radius: 8px;
}

.image-input.placeholder {
    border: dashed 2px lightgrey;
}

.image-input img {
    position: absolute;
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.image-input .pick-photo-btn {
    position: absolute;

    top: auto;
    left: auto;
    bottom: 0;
    right: 0;

    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
}

.image-input.placeholder .pick-photo-btn {
    position: absolute;

    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;

    transform: translate(-50%, -50%);

    box-shadow: none;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 6px;
}

.letters-spaced {
    letter-spacing: 0.28em;
}

.text-grey {
    color: #C4C4C4;
}

.text-green {
    color: #04AF51;
}

.text-dark-grey {
    color: #A4A4A4;
}

.text-light-blue {
    color: #0C76DF;
}

.text-blue {
    color: #312782 !important;
}

.text-pink {
    color: rgb(186, 218, 85) !important;
}

.text-decoration-none {
    text-decoration: none !important
}

.text-decoration-underline {
    text-decoration: underline !important
}

.box-shadow-light {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.box-shadow-none {
    box-shadow: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

input[type="date"]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

.border-light-blue {
    border-top: 1px solid rgba(12, 118, 223, 0.5);
    border-bottom: 1px solid rgba(12, 118, 223, 0.5);
}

.pb-ratio-square {
    padding-bottom: 100%;
}

.pb-ratio-4-3 {
    padding-bottom: 75%;
}

.pb-ratio-16-9 {
    padding-bottom: 56.2%;
}

.fill-relative-container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.overflow-hidden {
    overflow: hidden;
}

.object-fit-contain {
    object-fit: contain;
}

.object-fit-cover {
    object-fit: cover;
}

.dark-gradient-backdrop {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background: rgba(0, 0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

.text-shadow-dark {
    text-shadow: 0 0 0.4em rgba(0, 0, 0, 0.8);
}

.qc-container {
    width: 100%;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .qc-container {
        max-width: 576px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    .qc-container {
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .qc-container {
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .qc-container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*
  END GENERAL CSS
 */

/*
  AUTH CSS
 */

.auth-subtitle {
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.28em;
    font-weight: 300;
}

.auth-bottom-text {
    font-size: 15px;
    line-height: 22px;
}

/*
  END LOGIN CSS
 */

/*
  NAVBAR CSS
 */
.back-button {
    color: #25282B;
    font-size: 22px;
    padding: 2px 15px;
    border: 0 rgba(0, 0, 0, .1);
    background-color: white;
}

.navbar {
    background-color: white;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
    z-index: 125;
}

.navbar-logo {
    height: 30px;
}

@media screen and (min-width: 768px) {
    .navbar-logo {
        height: 30px;
        margin-bottom: 2px;
    }

    .navbar > .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-collapse.collapse .nav-item, .navbar-collapse.collapsing .nav-item {
    text-align: right;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%2325282B' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.show > .nav-link,
.active > .nav-link,
.nav-link.show,
.nav-link.active {
    color: rgb(186, 218, 85) !important;
    font-weight: bold;
}

/*
  END NAVBAR CSS
 */

/*
 I TUOI PRODOTTI CSS
 */

.products-list-image {
    border-radius: 6px;
    border: solid 1px #FFBC1F;

    box-sizing: content-box;
    overflow: hidden;
}

.products-list-image img {
    width: 65px;
    height: 65px;
    object-fit: cover;
}

.product-completed .products-list-image {
    border-color: #04AF51;
}

.primary-color-bg-transparent {
    background-color: rgba(4, 175, 81, 0.1);
}

.secondary-color-bg-transparent {
    background-color: rgba(255, 230, 9, 0.1);
}

.primary-color-bg-transparent .link {
    color: rgb(186, 218, 85);
}

.primary-color-bg-transparent .link:hover {
    color: rgb(186, 218, 85);
    text-decoration: none;
}

.secondary-color-bg-transparent .link {
    color: #A19311;
}

.secondary-color-bg-transparent .link:hover {
    color: #A19311;
    text-decoration: none;
}

/*
 END I TUOI PRODOTTI CSS
 */

/*
  NUOVO PRODOTTO CSS
 */

.radio-tile-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.radio-tile-group .input-container {
    position: relative;
    height: 7rem;
    width: 7rem;
    margin: 0.5rem;
}

.radio-tile-group .input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-tile-group .input-container .radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px solid rgb(186, 218, 85);
    border-radius: 5px;
    padding: 1rem;
    transition: transform 300ms ease;
}

.radio-tile-group .input-container .icon svg {
    fill: rgb(186, 218, 85);
    width: 3rem;
    height: 3rem;
}

.radio-tile-group .input-container .radio-tile-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(186, 218, 85);
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile {
    background-color: rgb(186, 218, 85);
    border: 2px solid rgb(186, 218, 85);
    color: white;
    transform: scale(1.1, 1.1);
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile .icon svg {
    fill: white;
    background-color: rgb(186, 218, 85);
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile .radio-tile-label {
    color: white;
    background-color: rgb(186, 218, 85);
}

.name {
    padding: 5px;
    width: 50%;
}

.certificazione .input-container {
    width: auto !important;
    height: auto !important;
}

.certificazione .input-container .radio-tile {
    padding: 0.75em;
}

.radio-tile-group.certificazione {
    justify-content: flex-start;
}

.radio-tile-group.certificazione .radio-tile .fa-check {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.25s, opacity 0.25s;
}

.radio-tile-group.certificazione .radio-button:checked + .radio-tile .fa-check {
    width: 1em;
    opacity: 1;
    margin-left: 8px;
    transition: width 0.25s, opacity 0.25s;
}

@media (max-width: 991.98px) {
    .radio-tile-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .name {
        width: 100%;
    }
}

/*
 END NUOVO PRODOTTO CSS
 */

/*
 LISTA PASSAGGI
 */
.img_title {
    width: 40px;
    height: 40px;
    background-color: rgb(186, 218, 85);
    -webkit-mask-size: cover;
    mask-size: cover;
    /*-webkit-mask-image: xrl('${category.svg}');*/
    /*mask-image: xrl('${category.svg}')*/
}

.link-green {
    color: #04AF51;
}

.link-green:hover {
    color: #04AF51;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    h1 {
        font-size: 2rem;
    }
}

.green {
    color: #04AF51;
}

.steps-list-image {
    border-radius: 6px;

    box-sizing: content-box;
    overflow: hidden;
}

.steps-list-image img {
    width: 80px;
    height: 50px;
    object-fit: cover;
}

.steps-list-add {
    width: 80px;
    height: 50px;

    border-radius: 6px;
    border: 1px solid #04AF51
}

/*
 END LISTA PASSAGGI
 */

/*
 SUPPLY CHAIN
 */
.shadow_supplychain {
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
}

.green_border {
    border: 1px solid rgba(4, 175, 81, 0.6);
    border-radius: 2px;
    margin: 0 5px 5px 5px;
}

.vertical_line {
    width: 1px;
    background-color: #C4C4C4;
    height: 30px;
}

.supplychain-list-image {
    border-radius: 6px;
    border: solid 1px #04AF51;

    box-sizing: content-box;

    overflow: hidden;
}

.supplychain-list-image img {
    width: 65px;
    height: 40px;
    object-fit: cover;
}

.border-radius-2 {
    border-radius: 2px;
}

/*
 END SUPPLY CHAIN
 */

/*
 RESISTRA STEP
 */
.addInfoModal {
    background-color: #FFFBF2;
}

/*
 END RESISTRA STEP
 */

/*
 LOT
 */
.show-less {
    line-height: 1.25em;
    max-height: 6.25em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show-more-btn {
    display: none;
}

.show-less + .show-more-btn {
    display: inline;
    float: right;
}

.white-space-normal {
    white-space: normal;
}

.cast-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.height-fixed {
    min-height: 50px;
}

.blockchain-card {
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .125) !important;
}

.border-bottom-1 {
    border-bottom: 1px solid rgba(0, 0, 0, .125) !important;
}

.qrcode {
    height: 200px;
    width: 200px;
}

/*
 END LOT
 */

/*
  USERS
  */
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

/*
 END USERS
 */

/*
  CUSTOMER PRODUCT
 */

.supplychain-card {
    border-radius: 4px;
    overflow: hidden;

    min-height: 48px;
}

.supplychain-card .toggle-open-btn i {
    background-color: #C4C4C4;
    transition: background-color 0.5s 0.5s, transform 0.25s 0.5s;
}

.supplychain-card.open .toggle-open-btn i {
    background-color: white;
    transform: rotateX(180deg);
    transition: background-color 0.5s, transform 0.25s;
}

.supplychain-card .step-photo {
    position: absolute;

    width: 65px;
    height: 40px;

    object-fit: cover;

    top: 4px;
    left: 4px;

    transition: width 0.5s 0.5s, height 0.5s 0.5s, top 0.5s 0.5s, left 0.5s 0.5s;
}

.supplychain-card.open .step-photo {
    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
}

.supplychain-card .production-site-label {
    position: absolute;

    top: -1em;
    left: 16px;

    opacity: 0;

    transition: top 0.5s, opacity 0.5s;
}

.supplychain-card.open .production-site-label {
    top: 8px;

    opacity: 1;

    transition: top 0.5s 0.5s, opacity 0.5s 0.5s;
}

.supplychain-card .step-labels {
    position: absolute;

    left: 77px; /* 4 + 4 px of margin and 65px of image */
    right: calc(1rem + 20px);

    top: 9px;

    /*transform: translateY(45%);*/

    transition: top 0.5s 0.5s, bottom 0.5s 0.5s, left 0.5s 0.5s, right 0.5s 0.5s, transform 0.5s 0.5s;
}

.supplychain-card.open .step-labels {
    left: 16px;
    right: 16px;
    top: calc(100% - 12px - 21px - 30px);

    /*transform: translateY(0%);*/

    transition: top 0.5s, bottom 0.5s, left 0.5s, right 0.5s, transform 0.5s;
}

.supplychain-card .step-number-label {
    font-size: 14px;
    line-height: 14px;

    color: #C4C4C4;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0.8);

    transition: all 0.5s 0.5s;
}

.supplychain-card.open .step-number-label {
    font-size: 16px;
    line-height: 21px;

    color: white;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);

    transition: all 0.5s;
}

.supplychain-card .step-name-label {
    font-size: 16px;
    line-height: 16px;

    color: black;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0.8);

    transition: all 0.5s 0.5s;
}

.supplychain-card.open .step-name-label {
    font-size: 30px;
    line-height: 30px;

    color: white;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);

    transition: all 0.5s;
}

.supplychain-card .supplychain-card-header {
    position: relative;

    padding-bottom: 48px;

    overflow: hidden;

    background-color: white;
    z-index: 1;

    transition: padding-bottom 0.5s 0.5s;
}

.supplychain-card.open .supplychain-card-header {
    padding-bottom: 56.2%;

    transition: padding-bottom 0.5s;
}

.supplychain-card .toggle-open-btn {
    position: absolute;

    top: 14px;
    right: 14px;

    transition: top 0.5s 0.5s, right 0.5s 0.5s;
}

.supplychain-card.open .toggle-open-btn {
    top: 8px;
    right: 8px;

    transition: top 0.5s, right 0.5s;
}

.supplychain-card .dark-gradient-backdrop {
    opacity: 0;

    transition: opacity 0.5s 0.5s;
}

.supplychain-card.open .dark-gradient-backdrop {
    opacity: 1;

    transition: opacity 0.5s 0.25s;
}

.supplychain-card .supplychain-description-container {
    margin-top: -1000%;

    z-index: 0;

    transition: margin-top 0.5s;
}

.supplychain-card.open .supplychain-description-container {
    margin-top: 0 !important;

    transition: margin-top 0.5s 0.5s;
}

/*
  END CUSTOMER PRODUCT
 */

.discover-product-container {
    border: 1px solid rgba(4, 175, 81, 0.5);
    border-radius: 4px;
}

.discover-product-btn {
    position: absolute;
    bottom: .5rem;
    right: 1rem;
}

.dots .glider-dot.active {
    background-color: rgb(186, 218, 85);
}

.discover-product-glider .glider-prev, .discover-product-glider .glider-next,
.people-glider .glider-prev, .people-glider .glider-next {
    display: none;
}

.glider::-webkit-scrollbar {
    height: 0!important;
}

.glider .glider-track {
    margin-left: 2.5%;
}

.people-glider .glider-track {
    align-items: start;
    margin-left: auto;
    margin-right: auto;
}

.people-profile-pic {
    width: 150px;
    height: 150px;
}

.people-name {
    position: absolute;
    color: white;
    bottom: 4px;
    left: 4px;
    right: 4px;
    margin: 0;
}

@media (min-width: 768px) {
    .people-glider .glider-prev, .people-glider .glider-next,
    .discover-product-glider .glider-prev, .discover-product-glider .glider-next{
        display: inline-block;
    }
}

.language-selector-dropdown-menu {
    max-height: 75vh;
    overflow-y: scroll;
}

.bg-green {
    background-color: #27AE60;
}

/*
DASH
 */

.cards-container {
    display: grid;
    --cards-cols: 1;
    grid-template-columns: repeat(var(--cards-cols), 1fr);
    grid-gap: 1.5em;
}

@media (min-width: 768px) {
    .cards-container {
        --cards-cols: 2;
    }
}

@media (min-width: 992px) {
    .cards-container {
        --cards-cols: 3;
    }
}

@media (min-width: 1400px) {
    .cards-container {
        --cards-cols: 4;
    }
}
