
:root {
    --primo: #00754B;
    --color: #3c3163;
    --secondo: #d14645;
    --transition-time: 0.5s;
}

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

.main-nav .container-fluid {
    margin: 0
}
.main-slider{
    height: auto !important;
}
.data-corta {
    font-size: 12px
}
.about-agroland h1, .why-us h1{
    font-weight:900;

}
.btn-custom-1:hover {
    background: #fff !important
}

@media(min-width:768px) {
    .fr {
        float: right;
        margin-left: 20px
    }

        .fr img {
            width: 100px;
        }

        .fr br {
            display: none
        }
}

@media (max-width:767px) {
    .fr {
        display: flex;
        width: 100%
    }

        .fr div {
            max-width: 30%;
            margin-right: 10px;
            position: relative
        }

    section#qualita a {
        position: absolute;
        bottom: 0;
    }

    section#qualita .fr a.apri {
        left: 5px;
    }

    section#qualita .fr a.scarica {
        right: 5px
    }
    
}



@media (max-width:899px) {
    .main-nav .container-fluid {
        width: 100%;
    }
    .main-slider{
        padding-top:100px;
    }
}

@media(max-width:399px) {
    .cards.frutta .card {
        width: 280px !important;
    }

    .cards.frutta .cards_item {
        padding: 1rem 7px !important;
    }

    .pages-title span {
        font-size: 25px
    }

    .mini-container {
        margin: 0 auto;
        padding: 0 !important;
    }

    .cards.frutta .card:before {
        left: 30px !important;
    }
}

.cards.frutta .card {
    overflow: hidden !important;
    width: 321px;
}

    .cards.frutta .card:before {
        content: url('/img/master/cornice.png');
        position: absolute;
        top: 48px;
        left: 48px;
    }

.frutta .card .card_title {
    font-family: 'cursive';
}

    .frutta .card .card_title:after {
        display: block;
        height: 1px;
        content: '';
        width: 0;
        transition: all 1s linear;
    }

.frutta .card .mele:after {
    background: #c8103f;
}

.frutta .card .pesche:after {
    background: #eca4a0;
}

.frutta .card .pere:after {
    background: #d1df77;
}

.frutta .card .kiwi:after {
    background: #acb984;
}

.frutta .card .susine:after {
    background: #5b435d;
}

.frutta .card .albicocche:after {
    background: #fdb23b;
}

.frutta .card:hover .card_title:after {
    content: '';
    width: 100%;
}

.navbar-nav {
    text-transform: uppercase;
}

.color-success {
    color: var(--primo) !important;
}

.color-error {
    color: var(--secondo) !important;
}

.calendario div {
    padding: 0;
}

.calendario .thead {
    background-color: var(--primo)
}

.calendario div {
    text-align: center;
}

.calendario .thead p {
    color: white;
    text-align: center;
    padding: .75rem;
}

.row-custom {
    max-height: 100%;
}

    .row-custom div {
        max-height: 100%;
        padding: 0;
        position: relative;
        overflow: hidden !important;
    }

        .row-custom div a::after {
            content: "";
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
        }

.container-immagini {
    max-height: 100% !important;
    overflow: hidden !important;
}

.row-custom div:hover a:after {
    background: linear-gradient(45deg, rgba(0,0,0,.2), rgba(0,0,0,.8));
    z-index: 3
}

.row-custom div img {
    transition: all ease-in-out .7s;
    z-index: 2;
    object-fit: cover;
    height: 100%;
}

.row-custom div:hover img {
    transform: scale(1.3);
}

@media(min-width:557px) and (max-width:767px) {
    .col-sm-none {
        display: none;
    }
}

/*
#fruit-list{
    list-style-image: url("/img/master/frutta.svg");
}
#fruit-list li::marker{
    max-height: 50px;
}
.nav-item .nav-link {
    text-transform: uppercase;
}*/
@media (min-width:900px) and (max-width:1200px) {
    .main-nav .container-fluid {
        width: 85%;
    }
}

.color-black {
    color: black !important;
}

footer h4 {
    color: var(--secondo);
}

.swal2-popup {
    padding: 0 !important;
}

.swal2-footer a {
    color: #8c8c8c
}

@media (min-width:1201px) {
    .logo-brand {
        transition: 0.5s;
        position: relative;
        margin-left: 57px;
        max-width: 250px;
        width: 100%;
    }

        .logo-brand img {
            width: 100%;
        }

    .logo-brand-r {
        margin-left: 0;
        margin-right: 57px;
    }
}

.divisore {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    margin: 40px 0;
}

    .divisore img {
        width: 50px
    }

.frutta a {
    width: 100%;
}

b, strong {
    font-weight: bolder !important;
}

.frutta .card {
    background-size: cover !important;
    background-position: center !important;
    width: 100%;
    padding: 150px 0;
    transition: all ease-in-out .4s;
}

    .frutta .card:hover {
        transform: scale(1.2)
    }

        .frutta .card:hover .card_title {
            color: var(--primo)
        }

    .frutta .card .card_content {
        max-height: 215px;
        height: 100%;
        text-align: center;
        position: relative;
        bottom: -40px;
    }

        .frutta .card .card_content img {
            width: 35%;
            margin: 0 auto;
            height: auto
        }
/*bozza 3*/

.bozza-3 {
    position: absolute;
    z-index: 99;
    margin: 0 auto;
    top: 68px;
    left: 79px;
    height: 112px;
    text-align: center;
    width: 166px;
    object-fit: contain;
    backdrop-filter: blur(12px);
    backdrop-filter: blur(1px);
    background: rgba(0,0,0,.75);
    border-radius: 13px;
}

    .bozza-3 img {
        object-fit: contain;
        height: 75% !important;
        margin: 14px auto;
    }

.card_title {
    text-transform: uppercase !important
}
/*fine bozza 3*/
.frutta .card .card_title {
    position: relative;
    font-size: 20px;
    top: 50%;
    text-align: center;
    color: black;
    max-width: 225px;
    width: min-content;
    margin: 25px auto;
    transition: all ease .4s;
}

.btn-hover-corner {
    color: var(--secondo) !important;
}

    .btn-hover-corner:before, .btn-hover-corner:after {
        border-color: var(--secondo) !important;
    }

.dropdown-menu-item a.active, .dropdown-menu-item:hover a {
    color: var(--secondo) !important;
}

.main-nav .container-fluid {
    width: 100% !important;
}

@media (max-width:1024px) {
    .divisore:after, .divisore:before {
        width: 40%;
    }
}

@media(min-width: 851px) and (max-width:1059px) {
    .logo-brand {
        width: 100px;
    }
}

@media(max-width:515px) {

    .navbar-brand {
        width: 34%
    }

        .navbar-brand img {
            width: 100%;
        }

    .logo-brand {
        margin: 0 auto;
    }

    .navbar-brand {
        margin: 0 auto;
    }
}

@media(max-width:767px) {
    .divisore:after, .divisore:before {
        width: 30% !important;
    }
}

.divisore::after, .divisore::before {
    content: "";
    position: absolute;
    display: block;
    width: 40%;
    height: 2px;
    background: var(--primo);
    top: 50%;
}

.prodotti img {
    border-radius: 15px 15px 15px 0;
    box-shadow: 0px 0px 15px 2px #000000;
}

.product-links {
    color: var(--primo);
}

    .product-links:hover {
        color: var(--secondo);
    }

.fruit-title {
    font-weight: 600
}

.divisore:after {
    right: 15px;
}

.divisore:before {
    left: 15px
}

figure.product-media img {
    width: 500px;
    height: 500px;
    object-fit: cover
}

.carousel-caption .btn-custom-1:hover {
    color: white;
}

figure.product-media {
    float: left;
    margin: 20px
}

.about-us h2 {
    text-transform: none;
}

.cards-wrapper {
    width: 100%;
    background: none;
    overflow: visible
}

.carousel-caption span {
    font-weight: 700;
    text-transform: lowercase;
}

.card-grid-space a {
    font-size: 12pt !important;
    color: black !important;
    text-align: left !important;
}

    .card-grid-space a:hover {
        color: var(--primo) !important;
    }

.cards-wrapper .card {
    --bg-filter-opacity: 0.5;
    background: #F7FAFA !important;
    height: auto;
    width: 100%;
    font-size: 1.5em;
    color: white;
    border-radius: 1em;
    box-shadow: 0 0 5em -1em black;
    transition: all, var(--transition-time);
    position: relative;
    padding: 15px;
}

    .cards-wrapper .card h1 {
        margin: 0;
        font-size: 1.5em;
        line-height: 1.2em;
        color: white
    }

    .cards-wrapper .card p {
        font-size: 0.75em;
        margin-top: 0.5em;
        line-height: 2em;
        color: white
    }

    .cards-wrapper .card .tags {
        display: flex;
    }

        .cards-wrapper .card .tags .tag {
            font-size: 0.75em;
            background: rgba(255,255,255,0.5);
            border-radius: 0.3rem;
            padding: 0 0.5em;
            line-height: 1.5em;
            transition: all, var(--transition-time);
        }

    .cards-wrapper .card .date {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.75em;
        padding: 1em;
        line-height: 1em;
        opacity: .8;
    }

    .cards-wrapper .card:before, .card:after {
        content: '';
        transform: scale(0);
        transform-origin: top left;
        border-radius: 50%;
        position: absolute;
        left: -50%;
        top: -50%;
        z-index: -5;
        transition: all, var(--transition-time);
        transition-timing-function: ease-in-out;
    }

    .cards-wrapper .card:before {
        background: #ddd;
        width: 250%;
        height: 250%;
    }

    .cards-wrapper .card:after {
        background: white;
        width: 200%;
        height: 200%;
    }

.cards-wrapper .card-grid-space .num {
    font-size: 3em;
    margin-bottom: 1.2rem;
    margin-left: 1rem;
}

.frutta > div {
    display: none;
    position: absolute;
    top: 15%;
    left: 35%;
    z-index: 10 !important;
}

    .frutta > div > b {
        position: relative;
        left: 25%;
        top: 15px;
        margin-bottom: 50px
    }

    .frutta > div > img {
        position: relative;
        top: 25px;
        max-width: 80%;
        margin: 0 auto
    }

.frutta:hover > div {
    display: block;
}

aside.left .list-group-item {
    border-left: solid 3px var(--primo);
}

    aside.left .list-group-item:hover, .frutta.active {
        background: var(--primo) !important;
        color: white !important;
    }

        .frutta.active a b {
            color: white !important
        }

.main-nav {
    background-color: white;
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: #212121;
}

.container-fluid.parallax {
    margin-bottom: 0
}

.nav-link:focus {
    color: black !important;
}

.main-nav .navbar-nav > li:hover > a, .main-nav .navbar-nav > li > a.active {
    color: var(--primo) !important;
    font-size: 18pt;
    padding-top: 7px;
}

.chk {
    display: flex
}

img {
    object-fit: contain;
}

.main-nav li > a, .caret-drop {
    color: black;
}

    .main-nav li:hover > a, .nav-link:focus, .main-nav li > a:hover {
        color: blue;
    }

.btn-custom {
    color: var(--primo);
    transition: 0.9s;
    padding: 0.3rem 1.125rem;
    font-size: 0.60rem;
    background: transparent;
    border: solid 2px var(--primo);
}

    .btn-custom:hover {
        color: #FFF;
        background: var(--primo);
        border: solid 2px var(--primo);
    }

.main-nav li > ul {
    display: none;
}

    .main-nav li > ul a {
        color: white;
    }

@media(max-width:850px) {
    .main-nav li > ul a {
        color: black;
    }
}

@media(min-width:851px) and (max-width:1050px) {
    .logo-brand {
        display: none;
    }
}
.nav-link{
    font-size:14pt
}

.main-nav li > ul > li:hover > a {
    color: yellow;
}

.why-us h1, .why-us p {
    color: #fff;
}
video {
    clip-path: inset(0);
    width: 100%;
}
p {
    text-align: justify;
    font-size: 14pt;
    font-family: 'Poppins', sans-serif;
    color: #8c8c8c;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 0px;
}

.parallax {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.certificazioni {
    height: 70px;
    object-fit: contain
}

@media(min-width:851px) {
    .main-nav li:hover > ul {
        display: block;
    }
}

@media (max-width:850px) {
    .main-nav .dropdown-item {
        color: black;
    }
}

figure.snip1208 {
    font-family: 'Raleway', Arial, sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 10px;
    min-width: 220px;
    max-width: 310px;
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    text-align: left;
    font-size: 16px;
}

    figure.snip1208 * {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
    }

    figure.snip1208 img {
        object-fit: contain;
        width: 100%;
        height: 210px;
        vertical-align: top;
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }

    figure.snip1208 figcaption {
        padding: 25px;
        position: relative;
    }

    figure.snip1208 .date,
    figure.snip1208 i {
        background-color: #1abc9c;
        top: 25px;
        color: #fff;
        left: 25px;
        min-height: 60px;
        min-width: 60px;
        position: absolute;
        text-align: center;
    }

    figure.snip1208 .date {
        -webkit-transition-delay: 0.2s;
        transition-delay: 0.2s;
        font-size: 22px;
        font-weight: 700;
        text-transform: uppercase;
    }

        figure.snip1208 .date span {
            display: block;
            line-height: 30px;
        }

        figure.snip1208 .date .month {
            font-size: 16px;
            background-color: rgba(0, 0, 0, 0.3);
        }

    figure.snip1208 i {
        line-height: 60px;
        font-size: 30px;
        -webkit-transform: rotateY(-90deg);
        transform: rotateY(-90deg);
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
    }

    figure.snip1208 h3,
    figure.snip1208 p {
        margin: 0;
        padding: 0;
    }

    figure.snip1208 h3 {
        margin-bottom: 10px;
        display: inline-block;
        font-weight: 600;
        color: #333333;
        text-transform: uppercase;
        font-size: 15pt;
    }

.contact-box a, .contact-box p {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: #8c8c8c;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 0px;
    text-align: center;
}

figure.snip1208 p {
    font-size: 10pt;
    margin-bottom: 20px;
    line-height: 1.6em;
}

figure.snip1208:hover img,
figure.snip1208.hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

figure.snip1208:hover .date,
figure.snip1208.hover .date {
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.snip1208:hover i,
figure.snip1208.hover i {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

figure.snip1208:hover button,
figure.snip1208.hover button {
    background-color: #117964;
}

/*news cards end*/

/* carousel start*/


div#container {
    width: 240px;
    height: 220px;
    perspective: 1200px;
    font-size: 0;
    margin-bottom: 3rem;
    border: 0px solid red;
    margin: 0 auto;
}

div#SpinWheel {
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: 1s;
    position: absolute;
    border: 0px solid red;
}

    div#SpinWheel figure {
        width: 100%;
        position: absolute;
        outline: 1px solid transparent;
        overflow: hidden;
        transition: 1s;
        border-top: 1px solid #fff;
        border-left: 1px solid #999;
        border-right: 1px solid #999;
        box-shadow: 0 2px 0 #999;
    }

    div#SpinWheel.no-backface figure {
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -o-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    div#SpinWheel figure.focus {
        width: 106%;
        margin-top: -3rem;
    }

    div#SpinWheel figure img {
        width: 100%;
        height: 250px;
    }

figcaption {
    width: 100%;
    padding: .2rem;
    z-index: 2;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0);
    transition: .6s;
}

div#SpinWheel figure.current:hover figcaption,
div#SpinWheel figure.current.caption figcaption {
    top: 85%;
    background: rgba(0, 0, 0, 0.5);
    bottom: 0;
}

.icon-bar {
    background-color: black;
}

div#container ~ span {
    margin: 5%;
    display: inline-block;
    text-decoration: none;
    transition: 0.6s color;
    position: relative;
    margin-top: -4rem;
    line-height: 0;
}

    div#container ~ span:hover {
        cursor: pointer;
    }

.ss-icon {
    color: #fff;
    position: absolute;
    padding: 1em 1em;
    cursor: pointer;
    transition: box-shadow 0.1s, top 0.1s;
}

    .ss-icon.left {
        float: left;
    }

.btn-custom-1 {
    color: #FFF;
    background: var(--primo);
    transition: 0.9s;
    padding: 0.3rem 1.125rem;
    font-size: 0.60rem;
    border: solid 2px var(--primo);
}

    .btn-custom-1:hover {
        color: var(--primo);
        background: transparent;
        border: solid 2px var(--primo);
    }

.ss-icon.right {
    float: right;
}
/*carousel end*/

/*products start*/

.main h1 {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.main img {
    height: 285px;
    width: 100%;
    vertical-align: middle;
}

.main .btn {
    color: #ffffff;
    padding: 0.8rem;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 400;
    display: block;
    width: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

    .main .btn:hover {
        background-color: rgba(255, 255, 255, 0.12);
    }

.main .cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main .cards_item {
    display: flex;
    padding: 1rem;
}

@media (min-width: 40rem) {
    .main .cards_item {
        width: 50%;
    }
}

@media (min-width: 56rem) {
    .main .cards_item {
        width: 33.3333%;
    }
}

.main .card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main .card_content {
    padding: 1rem;
}

.main .card_title {
    color: black;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0px;
}

.main .card_text {
    color: black;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.main .made_by {
    font-weight: 400;
    font-size: 13px;
    margin-top: 35px;
    text-align: center;
}
/*products end*/
.cd-top.cd-fade-out {
    opacity: 1;
    bottom: 80px;
    right: 10px;
}

.cd-top {
    background-color: var(--primo);
}

.btn-hover-corner {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    padding: 0.5rem 2.5rem;
    overflow: hidden;
    transition: 0.3s ease;
    margin-bottom: 0px;
    font-family: 'Poppins', sans-serif;
}

.modal-dialog {
    max-width: 90%
}

/*modal other products*/
.popup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .80);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: .64s ease-in-out;
}


.popup-inner {
    position: relative;
    bottom: -100vw;
    right: -100vh;
    display: flex;
    align-items: center;
    max-width: 80%;
    max-height: 80%;
    width: 100%;
    height: auto;
    background-color: #fff;
    transform: rotate(32deg);
    transition: .64s ease-in-out;
}

#popup img {
    height: 150px;
    object-fit: contain;
}

.popup__text {
    max-height: 100%;
    width: 100%;
    height: 100%;
    padding: 25px;
    overflow: auto;
}

@media(max-width:850px) {
    .popup__text {
        height: 600px;
    }
}

.popup__text div {
    text-align: center
}

.popup__text h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #0A0A0A;
}

.popup__text p {
    font-size: .875rem;
    color: #686868;
    line-height: 1.5;
}

.popup:target {
    visibility: visible;
    opacity: 1;
}

    .popup:target .popup-inner {
        bottom: 0;
        right: 0;
        transform: rotate(0);
    }

.popup__close {
    position: absolute;
    right: -1rem;
    top: -1rem;
    width: 3rem;
    height: 3rem;
    font-size: .875rem;
    font-weight: 300;
    border-radius: 100%;
    background-color: #0A0A0A;
    z-index: 4;
    color: #fff;
    line-height: 3rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.pages-title span {
    font-size: 2rem !important
}

section#partner img {
    width: 75%;
    object-fit: contain;
    height: 75px;
    border-bottom-right-radius: 15px;
    border-right: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

section#partner .row div {
    margin-bottom: 50px;
}

#varieta_mostra b {
    padding: 15px;
    border: 2px solid var(--secondo);
    color: var(--primo);
    cursor: pointer;
}

.show {
    display: block !important;
}

#puree p {
    text-align: center;
    color: var(--primo);
    font-weight: bold;
}

#puree .row div {
    margin-bottom: 50px;
    text-align: center;
}

#puree img {
    max-width: 250px;
}

span.data-evento {
    font-size: 11pt;
}

/* CARD FRUTTA SURGELATA */

.card-surgelata {
    height: 300px;
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

    .card-surgelata div {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        backface-visibility: hidden;
        transform-style: preserve-3d;
        transition: transform 0.5s;
        overflow: hidden;
        background-size: cover !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .card-surgelata img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .card-surgelata .card_img {
        transform: rotateY(0deg);
    }

    .card-surgelata .card_details {
        transform: rotateY(180deg);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .card-surgelata h4 {
        text-align: center;
        background: rgba(255,255,255,.7);
        border-radius: 50%;
        top: 0
    }

    .card-surgelata:hover .card_img {
        transform: rotateY(-180deg);
    }

    .card-surgelata:hover .card_details {
        transform: rotateY(0deg);
    }


/* FINE */
