﻿/* =====================================================
           HOME PAGE - HOW IT WORKS
           ===================================================== */

#hiw {
    width: 100%;
    padding: 70px 0 110px;
    background: #ffffff !important;
}


    /* =====================================================
           OUTER ELEMENTOR STRUCTURE
           ===================================================== */

    #hiw > .elementor-container {
        width: 100%;
        max-width: 100%;
    }

    #hiw .elementor-element-b77abea {
        width: 100% !important;
    }


    /* =====================================================
           MAIN HEADING
           ===================================================== */

    #hiw .elementor-element-3667f3f {
        width: 100%;
        text-align: center;
    }

        #hiw .elementor-element-3667f3f .elementor-heading-title {
            margin: 0;
            color: #58742b !important;
            font-size: 64px;
            line-height: 1.1;
            font-weight: 700;
        }


    /* =====================================================
           HEADING SPACER
           ===================================================== */

    #hiw .elementor-element-c6312dd {
        height: 90px;
    }

        #hiw .elementor-element-c6312dd .elementor-spacer-inner {
            height: 90px !important;
        }


    /* =====================================================
           EACH HOW IT WORKS ROW
           ===================================================== */

    #hiw .how_it_works_card {
        position: relative;
        width: calc(100% - 140px);
        max-width: 1380px;
        margin: 0 auto 115px;
        overflow: visible !important;
    }

        #hiw .how_it_works_card > .elementor-container {
            display: flex !important;
            align-items: flex-start !important;
            justify-content: center;
            width: 100%;
            margin: 0 auto;
            overflow: visible !important;
        }


    /* =====================================================
           GREEN CONTENT PANEL
           ===================================================== */

    #hiw .how_content_container {
        position: relative;
        width: 52% !important;
        flex: 0 0 52% !important;
        min-width: 0 !important;
        min-height: 500px;
        padding: 55px 60px 65px !important;
        box-sizing: border-box;
        /*
               KEEP THIS EXACTLY.
               This is what gives the content cards their green background.
            */
        background: #739c38 !important;
        background-color: #739c38 !important;
        z-index: 2;
    }

        #hiw .how_content_container > .elementor-widget-wrap {
            display: flex !important;
            flex-wrap: wrap !important;
            align-content: flex-start;
            width: 100%;
            height: 100%;
            background: transparent !important;
            box-sizing: border-box;
        }


        /* =====================================================
           NUMBER
           ===================================================== */

        #hiw .how_content_container .elementor-widget__width-auto {
            flex: 0 0 auto !important;
            width: auto !important;
            margin-right: 28px;
        }

            #hiw .how_content_container
            .elementor-widget__width-auto
            .elementor-heading-title {
                margin: 0;
                color: #ffffff !important;
                font-size: 78px !important;
                line-height: 1 !important;
                font-weight: 400 !important;
            }


        /* =====================================================
           STEP HEADING
           ===================================================== */

        /*
           ORIGINAL:
           width: calc(100% - 150px);

           That is what was making the long Step 3 heading too narrow.

           Instead, allow the heading to take whatever space remains
           after the step number.
        */

        #hiw .how_content_container
        .elementor-widget-heading:not(.elementor-widget__width-auto) {
            flex: 1 1 0 !important;
            width: auto !important;
            min-width: 0 !important;
        }

            #hiw .how_content_container
            .elementor-widget-heading:not(.elementor-widget__width-auto)
            .elementor-widget-container {
                width: 100%;
                min-width: 0;
            }

            #hiw .how_content_container
            .elementor-widget-heading:not(.elementor-widget__width-auto)
            .elementor-heading-title {
                margin: 4px 0 0;
                color: #ffffff !important;
                font-size: 31px !important;
                line-height: 1.25 !important;
                font-weight: 700 !important;
                word-break: normal !important;
                overflow-wrap: normal !important;
                hyphens: none !important;
            }


        /* =====================================================
           DESCRIPTION
           ===================================================== */

        #hiw .how_content_container
        .elementor-widget-text-editor {
            /*
               Force description onto its own row.
            */
            flex: 0 0 100% !important;
            width: 100% !important;
            min-width: 0;
            margin-top: 55px;
        }

            #hiw .how_content_container
            .elementor-widget-text-editor p {
                margin: 0;
                color: #ffffff !important;
                font-size: 20px !important;
                line-height: 1.55 !important;
                font-weight: 400 !important;
            }

            #hiw .how_content_container
            .elementor-widget-text-editor strong {
                color: #ffffff !important;
                font-weight: 700;
            }


    /* =====================================================
           IMAGE PANELS
           ===================================================== */

    #hiw .how_img {
        position: relative;
        width: 52% !important;
        flex: 0 0 52% !important;
        min-width: 0 !important;
        min-height: 510px;
        margin-top: 45px;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        z-index: 3;
    }

        #hiw .how_img > .elementor-widget-wrap {
            min-height: 510px;
            background: transparent !important;
        }

        #hiw .how_img .elementor-spacer,
        #hiw .how_img .elementor-spacer-inner {
            min-height: 510px !important;
        }


    /* =====================================================
           RESTORE SCRAPED BACKGROUND IMAGES
           ===================================================== */

    /* Step 1 */
    #hiw .elementor-element-64cbfa6 {
        background-image: url('/wp-content/uploads/2021/07/medium-shot-man-with-tablet.jpg') !important;
    }


    /* Step 2 */
    #hiw .elementor-element-8b8baaa {
        background-image: url('/wp-content/uploads/2021/07/close-up-man-using-table_-field.jpg') !important;
    }


    /* Step 3 */
    #hiw .elementor-element-8b16d21 {
        background-image: url('/wp-content/uploads/2021/07/zoe-schaeffer-tbiV-yc903g-unsplash.jpg') !important;
    }


    /* =====================================================
           ORIGINAL OVERLAP
           ===================================================== */

    /*
           STEP 1
           Green panel left.
           Image overlaps from right.
        */

    #hiw .elementor-element-578f093 .how_img {
        margin-left: -35px;
    }


    /*
           STEP 2
           Image left.
           Green panel overlaps image.
        */

    #hiw .elementor-element-eb2eeac .how_content_container {
        margin-left: -35px;
        margin-top: 0;
    }


    /*
           STEP 3
           Same structure as Step 1.
        */

    #hiw .elementor-element-5b68506 .how_img {
        margin-left: -35px;
    }


    /* =====================================================
           LEARN MORE
           ===================================================== */

    #hiw .elementor-element-ca2ce04 {
        height: 10px !important;
    }

        #hiw .elementor-element-ca2ce04
        .elementor-spacer-inner {
            height: 10px !important;
        }

    #hiw .elementor-element-531001b {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }

        #hiw .elementor-element-531001b
        .elementor-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 230px;
            padding: 18px 35px !important;
            background: transparent !important;
            border: 1px solid #739c38 !important;
            color: #739c38 !important;
            transition: background-color .25s ease, color .25s ease;
        }

        #hiw .elementor-element-531001b
        .elementor-button-text {
            color: #739c38 !important;
        }

        #hiw .elementor-element-531001b
        .elementor-button:hover {
            background: #739c38 !important;
            color: #ffffff !important;
        }

            #hiw .elementor-element-531001b
            .elementor-button:hover
            .elementor-button-text {
                color: #ffffff !important;
            }


/* =====================================================
           LAPTOP
           1101px - 1399px
           ===================================================== */

@media (min-width: 1101px) and (max-width: 1399px) {

    #hiw {
        padding: 65px 0 90px;
    }


        #hiw .elementor-element-3667f3f
        .elementor-heading-title {
            font-size: 54px;
        }


        #hiw .elementor-element-c6312dd,
        #hiw .elementor-element-c6312dd
        .elementor-spacer-inner {
            height: 70px !important;
        }


        #hiw .how_it_works_card {
            width: calc(100% - 80px);
            max-width: 1200px;
            margin-bottom: 85px;
        }


        #hiw .how_content_container {
            min-height: 470px;
            padding: 42px 38px 48px !important;
            /*
                   Explicitly keep green background.
                */
            background: #739c38 !important;
            background-color: #739c38 !important;
        }


        #hiw .how_img,
        #hiw .how_img > .elementor-widget-wrap,
        #hiw .how_img .elementor-spacer,
        #hiw .how_img .elementor-spacer-inner {
            min-height: 470px !important;
        }


        #hiw .how_content_container
        .elementor-widget__width-auto {
            margin-right: 22px;
        }


            #hiw .how_content_container
            .elementor-widget__width-auto
            .elementor-heading-title {
                font-size: 64px !important;
            }


        #hiw .how_content_container
        .elementor-widget-heading:not(.elementor-widget__width-auto)
        .elementor-heading-title {
            font-size: 26px !important;
            line-height: 1.25 !important;
        }


        #hiw .how_content_container
        .elementor-widget-text-editor {
            margin-top: 38px;
        }


            #hiw .how_content_container
            .elementor-widget-text-editor p {
                font-size: 17px !important;
                line-height: 1.55 !important;
            }
}


/* =====================================================
           TABLET / SMALL LAPTOP
           768px - 1100px
           ===================================================== */

@media (min-width: 768px) and (max-width: 1100px) {

    #hiw {
        padding: 60px 0 80px;
    }


        #hiw .elementor-element-3667f3f
        .elementor-heading-title {
            font-size: 48px;
        }


        #hiw .elementor-element-c6312dd,
        #hiw .elementor-element-c6312dd
        .elementor-spacer-inner {
            height: 60px !important;
        }


        #hiw .how_it_works_card {
            width: calc(100% - 50px);
            margin-bottom: 70px;
        }


        #hiw .how_content_container {
            min-height: 450px;
            padding: 40px 32px 45px !important;
            background: #739c38 !important;
            background-color: #739c38 !important;
        }


        #hiw .how_img,
        #hiw .how_img > .elementor-widget-wrap,
        #hiw .how_img .elementor-spacer,
        #hiw .how_img .elementor-spacer-inner {
            min-height: 450px !important;
        }


        #hiw .how_content_container
        .elementor-widget__width-auto {
            margin-right: 18px;
        }


            #hiw .how_content_container
            .elementor-widget__width-auto
            .elementor-heading-title {
                font-size: 54px !important;
            }


        #hiw .how_content_container
        .elementor-widget-heading:not(.elementor-widget__width-auto) {
            flex: 1 1 0 !important;
            width: auto !important;
            min-width: 0 !important;
        }


            #hiw .how_content_container
            .elementor-widget-heading:not(.elementor-widget__width-auto)
            .elementor-heading-title {
                font-size: 22px !important;
                line-height: 1.3 !important;
            }


        #hiw .how_content_container
        .elementor-widget-text-editor {
            margin-top: 30px;
        }


            #hiw .how_content_container
            .elementor-widget-text-editor p {
                font-size: 16px !important;
                line-height: 1.5 !important;
            }
        /*
               Reduce the desktop overlap slightly on tablet.
            */

        #hiw .elementor-element-578f093 .how_img,
        #hiw .elementor-element-5b68506 .how_img {
            margin-left: -25px;
        }


        #hiw .elementor-element-eb2eeac
        .how_content_container {
            margin-left: -25px;
        }
}


/* =====================================================
           MOBILE
           0px - 767px
           ===================================================== */

@media (max-width: 767px) {

    #hiw {
        padding: 55px 0 70px;
    }


        #hiw .elementor-element-3667f3f
        .elementor-heading-title {
            font-size: 42px;
        }


        #hiw .elementor-element-c6312dd,
        #hiw .elementor-element-c6312dd
        .elementor-spacer-inner {
            height: 50px !important;
        }


        #hiw .how_it_works_card {
            width: calc(100% - 30px);
            margin-bottom: 55px;
        }
            /*
               Stack each section vertically.
            */

            #hiw .how_it_works_card >
            .elementor-container {
                flex-direction: column !important;
            }
        /*
               Step 2 has its image first in the HTML.

               Reverse it so mobile still shows:

               Green content
               Image
            */

        #hiw .elementor-element-eb2eeac >
        .elementor-container {
            flex-direction: column-reverse !important;
        }
        /*
               Both panels become full width.
            */

        #hiw .how_content_container,
        #hiw .how_img {
            width: 100% !important;
            flex: 0 0 100% !important;
        }
        /*
               GREEN CARD
            */

        #hiw .how_content_container {
            min-height: auto;
            margin: 0 !important;
            padding: 35px 28px 45px !important;
            background: #739c38 !important;
            background-color: #739c38 !important;
            z-index: 2;
        }
        /*
               IMAGE
            */

        #hiw .how_img {
            min-height: 340px;
            margin: 0 !important;
        }


            #hiw .how_img > .elementor-widget-wrap,
            #hiw .how_img .elementor-spacer,
            #hiw .how_img .elementor-spacer-inner {
                min-height: 340px !important;
            }
        /*
               Number
            */

        #hiw .how_content_container
        .elementor-widget__width-auto {
            margin-right: 16px;
        }


            #hiw .how_content_container
            .elementor-widget__width-auto
            .elementor-heading-title {
                font-size: 52px !important;
            }
        /*
               Heading
            */

        #hiw .how_content_container
        .elementor-widget-heading:not(.elementor-widget__width-auto) {
            flex: 1 1 0 !important;
            width: auto !important;
            min-width: 0 !important;
        }


            #hiw .how_content_container
            .elementor-widget-heading:not(.elementor-widget__width-auto)
            .elementor-heading-title {
                font-size: 24px !important;
                line-height: 1.3 !important;
            }
        /*
               Description
            */

        #hiw .how_content_container
        .elementor-widget-text-editor {
            flex: 0 0 100% !important;
            width: 100% !important;
            margin-top: 30px;
        }


            #hiw .how_content_container
            .elementor-widget-text-editor p {
                font-size: 16px !important;
                line-height: 1.55 !important;
            }
}


/* =====================================================
           SMALL MOBILE
           0px - 480px
           ===================================================== */

@media (max-width: 480px) {

    #hiw {
        padding: 45px 0 55px;
    }


        #hiw .elementor-element-3667f3f
        .elementor-heading-title {
            font-size: 36px;
        }


        #hiw .how_it_works_card {
            width: calc(100% - 24px);
            margin-bottom: 45px;
        }


        #hiw .how_content_container {
            padding: 28px 20px 35px !important;
            background: #739c38 !important;
            background-color: #739c38 !important;
        }


            #hiw .how_content_container
            .elementor-widget__width-auto {
                margin-right: 14px;
            }


                #hiw .how_content_container
                .elementor-widget__width-auto
                .elementor-heading-title {
                    font-size: 42px !important;
                }


            #hiw .how_content_container
            .elementor-widget-heading:not(.elementor-widget__width-auto)
            .elementor-heading-title {
                font-size: 20px !important;
                line-height: 1.3 !important;
            }


            #hiw .how_content_container
            .elementor-widget-text-editor {
                margin-top: 25px;
            }


                #hiw .how_content_container
                .elementor-widget-text-editor p {
                    font-size: 15px !important;
                    line-height: 1.55 !important;
                }


        #hiw .how_img,
        #hiw .how_img > .elementor-widget-wrap,
        #hiw .how_img .elementor-spacer,
        #hiw .how_img .elementor-spacer-inner {
            min-height: 260px !important;
        }
}

.bdt-isolate-btn {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex-wrap: wrap;
}

    .bdt-isolate-btn .bdt-slide-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 55px;
        padding: 0 22px;
        background: transparent !important;
        border: 1px solid #ffffff !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

        .bdt-isolate-btn .bdt-slide-btn:hover {
            background: transparent !important;
            border-color: #ffffff !important;
            color: #ffffff !important;
        }

    .bdt-isolate-btn .elementor-button-icon {
        margin-right: 10px;
    }

    .bdt-isolate-btn .fas.fa-play {
        color: #ffffff !important;
    }

@media (max-width: 767px) {

    .bdt-isolate-btn {
        gap: 12px !important;
    }
}

/* =========================================================
   BUTTON HOVER FIX
   Keep all buttons visible on hover
   ========================================================= */


/* ---------------------------------------------------------
   GREEN BUTTONS
   White background sections
   Normal: transparent + green
   Hover: green background + white text
   --------------------------------------------------------- */

.slide_btn.green .elementor-button,
.slide_btn.green .elementor-button:link,
.slide_btn.green .elementor-button:visited {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #6f9635 !important;
    color: #58742b !important;
    box-shadow: none !important;
}


    .slide_btn.green .elementor-button .elementor-button-text,
    .slide_btn.green .elementor-button .elementor-button-icon,
    .slide_btn.green .elementor-button .elementor-button-icon i {
        color: #58742b !important;
    }


    .slide_btn.green .elementor-button:hover,
    .slide_btn.green .elementor-button:focus {
        background: #6f9635 !important;
        background-color: #6f9635 !important;
        border-color: #6f9635 !important;
        color: #ffffff !important;
    }


        .slide_btn.green .elementor-button:hover .elementor-button-text,
        .slide_btn.green .elementor-button:hover .elementor-button-icon,
        .slide_btn.green .elementor-button:hover .elementor-button-icon i,
        .slide_btn.green .elementor-button:focus .elementor-button-text,
        .slide_btn.green .elementor-button:focus .elementor-button-icon,
        .slide_btn.green .elementor-button:focus .elementor-button-icon i {
            color: #ffffff !important;
        }


/* ---------------------------------------------------------
   WHITE BUTTONS
   Dark / image background sections
   Normal: transparent + white
   Hover: white background + green text
   --------------------------------------------------------- */

.slide_btn.white .elementor-button,
.slide_btn.white .elementor-button:link,
.slide_btn.white .elementor-button:visited {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    box-shadow: none !important;
}


    .slide_btn.white .elementor-button .elementor-button-text,
    .slide_btn.white .elementor-button .elementor-button-icon,
    .slide_btn.white .elementor-button .elementor-button-icon i {
        color: #ffffff !important;
    }


    .slide_btn.white .elementor-button:hover,
    .slide_btn.white .elementor-button:focus {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-color: #ffffff !important;
        color: #58742b !important;
    }


        .slide_btn.white .elementor-button:hover .elementor-button-text,
        .slide_btn.white .elementor-button:hover .elementor-button-icon,
        .slide_btn.white .elementor-button:hover .elementor-button-icon i,
        .slide_btn.white .elementor-button:focus .elementor-button-text,
        .slide_btn.white .elementor-button:focus .elementor-button-icon,
        .slide_btn.white .elementor-button:focus .elementor-button-icon i {
            color: #58742b !important;
        }


/* ---------------------------------------------------------
   HERO SLIDER BUTTONS
   --------------------------------------------------------- */

.bdt-isolate-btn .bdt-slide-btn,
.bdt-isolate-btn .bdt-slide-btn:link,
.bdt-isolate-btn .bdt-slide-btn:visited {
    background: transparent !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}


    .bdt-isolate-btn .bdt-slide-btn *,
    .bdt-isolate-btn .bdt-slide-btn .elementor-button-text,
    .bdt-isolate-btn .bdt-slide-btn .elementor-button-icon,
    .bdt-isolate-btn .bdt-slide-btn i {
        color: #ffffff !important;
    }


    .bdt-isolate-btn .bdt-slide-btn:hover,
    .bdt-isolate-btn .bdt-slide-btn:focus {
        background: #ffffff !important;
        border-color: #ffffff !important;
        color: #58742b !important;
    }


        .bdt-isolate-btn .bdt-slide-btn:hover *,
        .bdt-isolate-btn .bdt-slide-btn:focus *,
        .bdt-isolate-btn .bdt-slide-btn:hover .elementor-button-text,
        .bdt-isolate-btn .bdt-slide-btn:focus .elementor-button-text,
        .bdt-isolate-btn .bdt-slide-btn:hover i,
        .bdt-isolate-btn .bdt-slide-btn:focus i {
            color: #58742b !important;
        }


    /* Make slider arrow SVG follow the button colour */

    .bdt-isolate-btn .bdt-slide-btn svg polyline,
    .bdt-isolate-btn .bdt-slide-btn svg line {
        stroke: currentColor !important;
    }


/* =====================================================
           TESTIMONIAL SECTION
           ===================================================== */

.elementor-element-da5a824 {
    background: #ffffff !important;
    padding: 70px 0 80px !important;
    margin: 0 !important;
}


    /* Main testimonial width */

    .elementor-element-da5a824 > .elementor-container {
        width: 100%;
        max-width: 1360px !important;
        margin: 0 auto !important;
        padding: 0 40px;
        box-sizing: border-box;
    }


    /* Remove Elementor spacing that is creating the large gap */

    .elementor-element-da5a824 .elementor-element-7a2daca,
    .elementor-element-da5a824 .elementor-element-7a2daca > .elementor-widget-wrap {
        padding: 0 !important;
        margin: 0 !important;
    }


    /* Quote icon */

    .elementor-element-da5a824 .elementor-element-1c3f536 {
        margin: 0 0 28px !important;
    }

        .elementor-element-da5a824 .elementor-element-1c3f536 .elementor-icon {
            color: #333333 !important;
            font-size: 48px !important;
        }

        .elementor-element-da5a824 .elementor-element-1c3f536 i {
            color: #333333 !important;
        }


    /* Testimonial text */

    .elementor-element-da5a824 .elementor-element-f9abce2 {
        margin: 0 0 20px !important;
    }

        .elementor-element-da5a824 .elementor-element-f9abce2 p {
            margin: 0 !important;
            color: #333333 !important;
            font-size: 18px !important;
            line-height: 1.7 !important;
            max-width: 1250px;
        }


    /* Customer */

    .elementor-element-da5a824 .elementor-element-51eb84a {
        margin: 0 !important;
    }

        .elementor-element-da5a824 .elementor-element-51eb84a .elementor-heading-title {
            margin: 0 !important;
            color: #333333 !important;
            font-size: 24px !important;
            line-height: 1.2 !important;
            font-weight: 700 !important;
        }


/* =====================================================
           TABLET
           ===================================================== */

@media (max-width: 1024px) {

    .elementor-element-da5a824 {
        padding: 60px 0 70px !important;
    }

        .elementor-element-da5a824 > .elementor-container {
            padding: 0 30px;
        }
}


/* =====================================================
           MOBILE
           ===================================================== */

@media (max-width: 767px) {

    .elementor-element-da5a824 {
        padding: 45px 0 55px !important;
    }

        .elementor-element-da5a824 > .elementor-container {
            padding: 0 22px;
        }

        .elementor-element-da5a824 .elementor-element-1c3f536 .elementor-icon {
            font-size: 40px !important;
        }

        .elementor-element-da5a824 .elementor-element-f9abce2 p {
            font-size: 16px !important;
        }

        .elementor-element-da5a824 .elementor-element-51eb84a .elementor-heading-title {
            font-size: 21px !important;
        }
}
/* =====================================================
   AGRIWIZ VIDEO POPUP
   ===================================================== */

.agriwiz-video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
    z-index: 99999;
}


    /* Open modal */
    .agriwiz-video-modal.is-open {
        display: flex;
    }


/* Dark full-screen background */
.agriwiz-video-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    z-index: 1;
}


/* Video container */
.agriwiz-video-dialog {
    position: relative;
    width: calc(100% - 60px);
    max-width: 1100px;
    margin: auto;
    z-index: 2;
}


/* Close button */
.agriwiz-video-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}


/* 16:9 video wrapper */
.agriwiz-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}


    /* YouTube iframe */
    .agriwiz-video-frame iframe {
        position: absolute;
        inset: 0;
        display: block;
        width: 100% !important;
        height: 100% !important;
        border: 0;
    }


/* Prevent page scrolling while modal is open */
body.agriwiz-video-open {
    overflow: hidden;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1100px) {

    .agriwiz-video-dialog {
        width: calc(100% - 40px);
        max-width: 900px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .agriwiz-video-modal {
        padding: 18px;
    }

    .agriwiz-video-dialog {
        width: 100%;
    }

    .agriwiz-video-close {
        top: -42px;
        width: 38px;
        height: 38px;
        font-size: 36px;
    }

    .agriwiz-video-frame {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .agriwiz-video-modal {
        padding: 12px;
    }

    .agriwiz-video-close {
        top: -38px;
        font-size: 32px;
    }
}