:root {
    scroll-behavior: smooth;
}

html {
    font-family: "Poppins", sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    color: #333;
    text-align: left;
    background-color: #fff;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

a,
a:active,
a:hover {
    text-decoration: none;
    color: #000;
}

p a {
    text-decoration: underline;
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

p {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 400;
    color: #373d3f;
    font-style: normal;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.lead {
    font-weight: normal;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

    .modal-dialog {
        max-width: 700px !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.app {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section {
    padding: 2rem 0;
}

#slogan{
    background-color: #f5f5f6;
}

/* dropdown */
#lingua.dropdown {
    float: right;
}

#lingua .dropdown-toggle {
    border-radius: 0;
    font-size: 14px;
}

#lingua .dropdown-menu {
    border-radius: 0;
}

#lingua .dropdown-menu ul {
    margin-bottom: 0;
    padding-left: 15px;
}

#lingua .dropdown-menu ul li {
    list-style: none;
    font-size: 14px;
    margin-bottom: 6px;
}

/* ---- STILE BOTTONI ----*/
.btn.btn-shop {
    font-family: "Poppins", sans-serif;
    width: 100%;
    max-width: 240px;
    padding: 0.85em 1.2em;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 40%);
    letter-spacing: 1px;
    margin: 1.25em 0 0.85em;
}

.btn.btn-shop span {
    padding-left: 40px;
    line-height: 34px;
    position: relative;
}

.btn.btn-shop span::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    display: inline-block;
    z-index: 20;
    left: 0px;
    background-color: #fff;
    -webkit-mask-image: url("/custom/template/generic_test/base/img/shopping-bag.svg");
    mask-image: url("/custom/template/generic_test/base/img/shopping-bag.svg");
}

.btn.btn-big {
    font-family: "Poppins", sans-serif;
    width: 100%;
    max-width: 240px;
    padding: 0.85em 1.2em;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 40%);
    letter-spacing: 1px;
    margin: 1em 0 0.5em;
}

.btn.btn-attached {
    font-family: "Poppins", sans-serif;
    padding: 0.6em 1em;
    font-size: 16px;
    line-height: 20px;
    font-weight: normal;
    text-transform: inherit;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 40%);
    margin: 0.5em 0;
}

/**/
.masthead {
    height: 25vh;
    display: block;
    position: relative;
    padding: 0 0;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.masthead .logo-box,
.logo-box {
    background-color: #fff;
    padding: 10px 10px;
}

.img-header {
    max-height: 130px;
}

.masthead .bc-badge {
    width: 90%;
    background-color: #fff;
    padding: 10px 10px;
    border-radius: 5px;
    border-color: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
    bottom: -20px;
    position: absolute;
}

.masthead .bc-badge span {
    font-size: 16px;
    padding-left: 40px;
    line-height: 30px;
    position: relative;
}

.masthead .bc-badge span::before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    z-index: 10;
    left: 0px;
    background-color: #222;
    -webkit-mask-image: url("/custom/template/generic_test/base/img/badge.svg");
    mask-image: url("/custom/template/generic_test/base/img/badge.svg");
}

.row-logo {
    padding-top: 1.8em;
}

/* INFO PRODOTTO */
.simple-link {
    position: relative;
    font-size: 16px;
    line-height: 1.5rem;
    color: #131516;
    border-bottom: 1px solid #131516;
}

.simple-link.map-icon {
    padding-left: 32px;
    line-height: 34px;
}

.simple-link.map-icon::before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    z-index: 10;
    left: 0px;
    background: url("/custom/template/generic_test/base/img/map-marker.svg")
        #f5f5f6;
}

.main-title {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    line-height: 1.5rem;
    text-transform: uppercase;
    color: #131516;
    font-weight: bold;
margin: 0.67em 0;
}

.product-name {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.5rem;
    color: #131516;
    font-weight: bold;
}

.product-descr {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.5rem;
    color: #373d3f;
}

.product-img {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    margin-top: 1em;
    margin-bottom: 2em;
}

/* SOCIAL ICON */
ul.social {
    padding: 0;
    margin: 0;
    text-align: center;
}

ul.social li {
    display: inline-block;
}

ul.social li img {
    width: 30px;
    height: 30px;
    margin: 0 0.15rem;
}

ul.social .icon-social {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 0 0.15rem;
}

ul.social .icon-social.fb {
    -webkit-mask-image: url("/custom/template/generic_test/base/img/social-facebook.svg");
    mask-image: url("/custom/template/generic_test/base/img/social-facebook.svg");
}

ul.social .icon-social.ig {
    -webkit-mask-image: url("/custom/template/generic_test/base/img/social-instagram.svg");
    mask-image: url("/custom/template/generic_test/base/img/social-instagram.svg");
}

ul.social .icon-social.tw {
    -webkit-mask-image: url("/custom/template/generic_test/base/img/social-twitter.svg");
    mask-image: url("/custom/template/generic_test/base/img/social-twitter.svg");
}

ul.social .icon-social.in {
    -webkit-mask-image: url("/custom/template/generic_test/base/img/social-linkedin.svg");
    mask-image: url("/custom/template/generic_test/base/img/social-linkedin.svg");
}

ul.social .icon-social.yt {
    -webkit-mask-image: url("/custom/template/generic_test/base/img/social-youtube.svg");
    mask-image: url("/custom/template/generic_test/base/img/social-youtube.svg");
}

ul.social.social-black .icon-social {
    background-color: #373d3f;
}

ul.social.social-white .icon-social {
    background-color: #f2f2f2;
}

/* RICERCA LOTTO */
#ricerca-lotto {
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3) 5%,
            rgba(0, 0, 0, 0.5) 80%
        );
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    text-shadow: 2px 2px 5px #333;
    position: relative;
}

#ricerca-lotto:before {
	content: '';
	background: rgb(0 0 0 / 20%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

#ricerca-lotto h2 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.5rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

#ricerca-lotto h4 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.5rem;
    color: #fff;
}

.form-label-group input {
    max-width: 400px;
    border: 2px solid #373d3f;
    border-radius: 0px;
    background-color: #fff;
    height: calc(2.5em + 1rem + 2px) !important;
}

/* scritta Questo prodotto è certificato Blockchain */
.section-blockchain {
    text-align: center;
    padding: 1.5em 0;
}

.section-blockchain h3 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0;
}

.section-blockchain span {
    font-weight: bold;
}

/* TABELLA RIASSUNTIVA - TIMELINE */
.summary {
    border: 1px solid #263238;
    color: #373d3f;
    margin: 20px 0 0 0;
}

.summary-col {
    padding: 0.5em 0.85em;
}

.summary-col.label {
    background-color: #F5F5F6;
    border-bottom: 1px solid #263238;
}

.summary-col.batch{
    background-color: #263238;
}

.summary-col.batch p{
    color: #F5F5F6;
}

.summary-col p {
    margin: 0 0;
}

/* TIMELINE */
.frst-timeline-content {
    position: relative;
}

.frst-timeline-block .frst-date {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.5rem;
    padding: 0.5em 0.85em;
}

.frst-timeline-block .frst-timeline-img {
    top: 12px;
}

.frst-timeline-content-inner {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.frst-timeline-content-inner .media-section {
    position: relative;
    padding-bottom: 56.2%;
}

.frst-timeline-content-inner .media-section img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    left: 0;
}

.frst-timeline-content-inner .contect-section {
    padding: 20px 10px 10px;
    text-align: center;
}

.frst-timeline-content-inner .timeline-title {
    font-size: 20px;
    line-height: 1.5rem;
    color: #131516;
    font-weight: bold;
    padding: 0.25em 0;
}

.frst-timeline-content-inner .timeline-category {
    font-size: 16px;
    line-height: 1.5rem;
    color: #373d3f;
    padding: 0.25em 0;
}

.frst-timeline-content-inner .timeline-description {
    font-size: 14px;
    line-height: 1.2rem;
    color: #373d3f;
    padding: 0.25em 0;
    text-align: left;
}
.timeline-description-reduced {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.frst-timeline-content-inner .timeline-details {
    text-align: left;
    padding: 1.5rem 0.85rem 0.5rem;
}

.frst-timeline-content-inner .timeline-list {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #ebebeb;
}

.frst-timeline-content-inner .timeline-list li {
    position: relative;
    padding-bottom: 4px;
    padding-top: 0px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 400;
    color: #373d3f;
    margin: 0 0;
}

.frst-timeline-content-inner .timeline-list li p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 400;
    color: #373d3f;
    margin: 0 0;
}

.frst-timeline-content-inner .timeline-list .action-data .end,
.frst-timeline-content-inner .timeline-list .action-storage .end {
    padding-left: 18px;
    position: relative;
}

.frst-timeline-content-inner .timeline-list .action-data .end::before {
    content: "\00B7";
    position: absolute;
    font-size: 3em;
    left: 1px;
    color: #707c80;
}

.frst-timeline-content-inner .timeline-list .action-storage .end::before {
    content: "\2192";
    position: absolute;
    font-size: 1em;
    left: 2px;
    color: #707c80;
}

.frst-timeline-content-inner .timeline-list .action-category {
    font-weight: bold;
    text-transform: uppercase;
}

/* accordion box evento */
.frst-timeline-content-inner .accordion .card-header {
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0;
}

.frst-timeline-content-inner .accordion .card-link,
.frst-timeline-content-inner .accordion .card-link a {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #131516;
    cursor: pointer;
    position: relative;
    padding: 0 10px;
}

.frst-timeline-content-inner .accordion .card-link:after {
    content: "\276F";
    font-size: 1em;
    color: #131516;
    display: inline-block;
    transform: rotate(90deg);
    position: absolute;
    right: -10px;
    line-height: inherit;
}

.frst-timeline-content-inner .accordion .card-link.collapsed:after {
    transform: rotate(-90deg);
}

/*pagina secondaria*/
.header button {
    position: absolute;
    left: 4px;
    top: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    padding: 0.5em;
    background: #fff;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 4px;
    font-size: 14px;
}

.header button img {
    display: block;
    width: 100%;
}

.header {
    padding-top: 4em;
    padding-bottom: 8em;
}

/* section Focus */
#area-focus h2 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.5rem;
    color: #131516;
    font-weight: bold;
}

.row-boxes {
    margin-bottom: 1em;
}

.row-boxes h6 {
    font-size: 16px;
    line-height: 1.5rem;
    color: #373d3f;
    padding: 0.5em 0;
    border-bottom: 1px solid #a7b0b2;
    margin-bottom: 0;
    padding-left: 0.5em;
}

.card.box-pages {
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
}

.card.box-pages .card-body {
    max-height: 100px;
    height: 15vh;
    padding: 2rem 0rem;
}

.card.box-pages.focus1 {
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.card.box-pages.focus2 {
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.card.box-pages.focus3 {
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.row-video {
    padding: 2em 0;
}

/* section Link Company */
#link-company {
    background-color: #f5f5f6;
    text-align: center;
}

#link-company h6 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.5rem;
    color: #131516;
}

#link-company h6 a {
    border-bottom: 1px solid #131516;
}

/* section Sponsor MADEINBLOCK - TrackIT*/
.sponsor {
    padding: 1.5em 0;
}

#madeinblock p,
#white-label a {
    font-family: "Lato", sans-serif;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
}
#white-label p {
    font-family: "Lato", sans-serif;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
}

#white-label {
    font-family: "Lato", sans-serif;
    background-color: #032f5e;
}

/* footer */
footer {
    font-family: "Lato", sans-serif;
    background-color: #000;
    padding: 2em 0;
    margin: 0 0;
}

footer p,
footer a {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    color: #fff;
}

footer a,
footer a:active,
footer a:visited {
    color: #fff;
    text-decoration: underline;
}

/* FINE footer*/

/* modal */
.modal-header, .modal-body, .modal-footer{
    background-color: #fff;
}

.modal-header {
    border-color: #fff;
    padding-bottom: 0;
}

.modal-header button img {
    display: block;
    width: 100%;
}

.modal-header button {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    padding: 0.5em;
    background: #fff;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 4px;
    font-size: 14px;
}

.modal-dialog,
.modal-dialog .modal-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}


.modal-body h2 {
    font-family: "Poppins", sans-serif;
    color: #131516;
    font-size: 24px;
    line-height: 1.5em;
    font-weight: bold;
}

.modal-body .modal-image {
    position: relative;
    padding-bottom: 56.2%;
}

.modal-body .modal-image .image {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    left: 0;
}

.modal-body .modal-image .image.focus {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.modal-body .modal-image .image.focus-1 {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.modal-body .modal-image .image.focus-2 {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.modal-body .modal-image .image.focus-3 {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.modal-body .focus-batch-search-image img{
    max-width: 100% !important;
    padding: 1em !important;
}

.modal-body #link-company {
    background-color: #fff;
}

.modal-footer .btn.btn-close {
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    background: none;
    border: none;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 0 auto;
}

.chain-details {
    text-align: left;
    margin: 0;
}

.chain-details .chain-row {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.5em;
    padding: 0 0.25em;
}

.chain-details .chain-label {
    font-size: 16px;
    line-height: 1.5rem;
    color: #131516;
    text-transform: uppercase;
    font-weight: bold;
}

.chain-details .chain-input {
    font-size: 14px;
    line-height: 1.5rem;
    color: #373d3f;
    word-break: break-all;
}

.chain-details .chain-input a {
    color: #0099cc;
}

.chain-details .chain-info {
    font-size: 14px;
    line-height: 18px;
    color: #373d3f;
    border-radius: 4px;
    background: #f3fcff;
    padding: 0.5em 0.85em;
    border: 1px solid #e0f7ff;
    margin: 15px 0 10px 0;
}

/* Ricerca lotto */
#ricerca-lotto {
	position: relative;
}

#ricerca-lotto:before {
	content: '';
	background: rgb(0 0 0 / 20%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.batch-info {
	text-align: left;
	color: #ffffff;
	text-shadow: initial;
	font-size: 14px;
	line-height: normal;
	padding: 0 15px;
}

.batch-info a {
	color: #ffffff;
	text-decoration: underline;
	font-style: italic;
}

/* Search */
.card-text-truncate-search {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

@media only screen and (max-width: 678px) {
    .frst-date .end:before {
        content: "- ";
    }
    .frst-date .minus-before-end-L {
        display: none;
    }
}

.detailable {
    font-size: 15px;
    line-height: 1.2rem;
    color: #373d3f !important;
    text-align: left;
}

.detailable-value {
    font-size: 15px;
    line-height: 1.2rem;
    color: #373d3f !important;
    text-align: left;
}

.map-event {
    height: 180px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon,
.carousel-indicators {
  filter: invert(1);
}

.col-form-label {
    color: #015072;
    font-weight: 500;
    font-size: 1.1em;
}
.general-output {
    margin: 0 0 0 0;
}
.general-output p {
    font-weight: 450;
    font-size: 1.1em;
}
.general-output:hover {
    background-color: #f2f2f2;
}
.general-output-line {
    margin: 0.5em 0;
}
