@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600&display=swap");
:root {
    --hg-yellow: #fad20d;
    --hg-grey: #ededed;
    --hg-red: #e30a15;

    --hg-success: var(var(--hg-yellow));
    --hg-error: var(--hg-red);
    --hg-disable: var(var(--hg-grey));

    --white: #ffffff;
    --black: #000000;

    --hg-yellow-overlay: #fad20d5e;
    --hg-black-overlay: #00000054;
    --santam-yellow: #fad20d;
    --mw-pink: #e0004d;
    /* SITE LAYOUT */
    --space-xl: calc(var(--space) * 5);
    --space-lg: calc(var(--space) * 4);
    --space-md: calc(var(--space) * 3);
    --space-sm: calc(var(--space) * 2);
    --space: 1.612rem;
    /* 1.612rem */
    --space-xs: calc(var(--space) / 2);
    /* 0.806rem */
}


.hgbutton {
    padding: 0.8rem 1.8rem;
    display: inline-block;
    color: #fffdf5;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 9999px;
    background-color: var(--hg-yellow);
    transition: all 200ms ease-in-out;
}

.hgbutton:hover {
    color: #000000;
    background-color: #f3cb03;
    transform: scale(1.13);
}

.accountMenu { 
    min-height: 500px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    gap: 30px 30px;
    background-color: rgb(161, 161, 161);
    border-radius: 0px;
    padding-top: 30px;
    align-items: center;
}

.accountMenuBlock {
    margin: 0 auto;
    height: 150px;
    background-color: var(--hg-yellow);
    border-radius: 7px;
    color: #373737;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    align-items: center;
    display: grid;
    justify-content: center;
    width: clamp(300px, 50%, 500px);
    box-shadow: 0px 0px 4px 2px #00000045;
}
.accountMenuBlock i {
    margin-bottom: -60px;
}

.accountBtn {
    border: none;
    padding: 10px 10px;
    display: inline-block;
    color: #000000;
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    letter-spacing: 0px;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--hg-yellow);
    transition: all 200ms ease-in-out;
}

.accountBtn:hover {
    color: #000000;
    background-color: #f3cb03;
    transform: scale(1.13);
}

html {
    height: 100%;
    font-weight: 300;
    line-height: 1.6;
}

body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    text-decoration: none;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: #868686;
    font-family: sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
hr {
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

p {
    font-family: Arial, sans-serif;
}

.ith {
    color: var(--p-highlight);
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: none;
}

*,
*:focus,
*:hover {
    outline: none;
}

body.h-nl a.h-nl,
body.a-nl a.a-nl,
body.p-nl a.p-nl,
body.s-nl a.s-nl,
body.pt-nl a.pt-nl,
body.c-nl a.c-nl {
    color: var(--main) !important;
    border: 1px solid #3ae23900;
}

.container {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 109px auto 100px;
    grid-template-areas: "header" "main" "footer";
}


/*====================== MENU ===================*/

header {
    background: #fff;
    text-align: center;
    position: fixed;
    z-index: 999;
    width: 100%;
    box-shadow: 0px 0px 5px #000;
}

.logo a {
    text-decoration: none;
}

.logo a img {
	margin-top:5px;
	margin-bottom:5px;
    height: 80px;
}


/* changed this from the tutorial video to
   allow it to gain focus, making it tabbable */

.nav-toggle {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

.nav-toggle:focus~.nav-toggle-label {
    outline: 3px solid rgba(lightblue, 0.75);
}

.nav-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1em;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: black;
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

nav {
    position: absolute;
    text-align: left;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    max-width: 300px;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 400ms ease-in-out;
}

nav ul {
    margin: 0px 0px 0px -15px;
    padding: 15px 0px 0px 0px;
    list-style: none;
    background: #e0e0e0;
    height: 100vh;
}

nav li {
    margin-bottom: 1em;
    margin-left: 1em;
    padding-left: 1rem;
    border-bottom: 1px solid #b5b5b5;
}

nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

nav a:hover {
    color: var(--hg-yellow);
}

nav ul ul li a:hover {
    color: #000;
}

.nav-toggle:checked~nav {
    transform: scale(1, 1);
}

.nav-toggle:checked~nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}

nav ul li.dropdown ul {
    /* display: none;
    position: absolute;
    z-index: 3;
    top: 56px;
    padding: 0;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    min-width: 200px;
    background-color: #ffffff;
    box-shadow: 2px 2px 3px 1px #00000059; */
    display: none;
    /* position: absolute; */
    z-index: 0;
    top: 56px;
    padding: 0;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    min-width: 200px;
    background-color: #ffffff;
    margin-left: -20px;
    background-color: #efefef;
    max-height: 300px;
    overflow: auto;
}

nav ul li.dropdown:hover ul {
    display: block;
}

nav ul ul li a {
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: flex-start;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #c7c7c747;
    width: 100%;
}

nav ul ul li a:hover {
    background-color: #fad20d;
}

nav li ul li {
    margin-left: 0rem;
}

@media screen and (min-width: 800px) {
    .nav-toggle-label {
        display: none;
    }
    header {
        display: grid;
        grid-template-columns: 0.3fr auto minmax(600px, 3fr) 0.3fr;
    }
    .logo {
        grid-column: 2 / 3;
    }
    nav {
        /* all: unset; /* this causes issues with Edge, since it's unsupported */
        /* the following lines are not from my video, but add Edge support */
        position: relative;
        text-align: left;
        transition: none;
        transform: scale(1, 1);
        background: none;
        top: initial;
        left: initial;
        /* end Edge support stuff */
        max-width: 100%;
        grid-column: 3 / 4;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    nav ul {
        display: flex;
        margin: 0px 0px 0px -15px;
        padding: 0px 0px 0px 0px;
        list-style: none;
        background: none;
        height: auto;
    }
    nav li {
        margin-left: 0.75rem;
        margin-bottom: 0;
        padding-left: 0rem;
        border-bottom: 1px solid #b5b5b500;
    }
    nav li ul li {
        margin-left: 0rem;
        margin-bottom: 0;
        background-color: #ffffff;
    }
    nav li ul li a {
        background-color: #fff;
        transition: background-color 200ms ease-in-out;
    }
    nav li ul li a:hover {
        background-color: #fad20d;
    }
    nav a {
        opacity: 1;
        position: relative;
    }
    nav ul li.dropdown ul {
        display: none;
        position: absolute;
        z-index: 3;
        top: 58px;
        padding: 0;
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        min-width: 200px;
        background-color: #ffffff;
        margin-left: -20px;
        background-color: #efefef;
        max-height: initial;
        overflow: initial;
    }
}


/*====================== HEADR END ===================*/


/*====================== MAIN ===================*/

main {
    margin-top: -20px;
    grid-area: main;
    background-color: #fff;
    height: 100%;
    position: relative;
}

/*====================== MAIN END ===================*/


/*====================== HERO ===================*/

.hero {
    /* height: 610px;
    width: 100%; */
    height: 100vw !important;
    max-height: 610px;
    background:  url(../img/payme_hero_img.png), linear-gradient(0deg, #f6d837,#f4d637);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: calc(100% - 10%) bottom;
    position: relative;

}

.hero.homepage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    padding-left: 8rem;
}

.hero.homegrown .hero-text {
    margin: 0 auto;
    width: 75vw;
    min-width: 300px;
    padding: 5rem 1rem 0 1rem;
    grid-column: 1;
}

.hero.homegrown .hero-text h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 39px !important;
    color: #ffffff;
    text-align: center;
    grid-column: 1;
}

.hero.homepage h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 28px !important;
    margin-top: -25px;
    margin-bottom: 15px;
    color: black;
    font-weight: 600;
    line-height: 25px;
    text-align: center;
    grid-column: 1;

}

.hero.homegrown h2 {
    font-size: 39px !important;
    color: #ffffff;
    text-align: left !important;
    font-family: "Montserrat", sans-serif;
    grid-column: 1;
}

/* section.hero.homegrown p {
    margin-top: 3px;
    font-size: 18px !important;
    color: #b10000;
    text-align: left !important;
    font-family: Arial;
    font-weight: 100 !important;
    grid-column: 1;
} */

.slogan {
    margin-top: -6rem;
    grid-column: 1;
    text-align: center;
    font-size: 46px;
    color: #000;
}


.hrn-btn {
    transform: scale(1.4) !important;
    margin-top: -7rem !important;
}


.how-it-works {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 400px;
    background-color: #000;
    padding-top: 30px;
    color: #fff !important;
}

.how-it-works h2 {
    grid-column: 1/-1;
    margin-top: 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 28px !important;
    color:#fff;
    font-weight:lighter;
    height: 30px;
}
.points {
    margin-left: 2rem;
    margin-right: 2rem;
}

.points > p {
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    font-size: 22px !important;
    color: #fff !important;
    line-height: 1.6;
    max-width: 18ch !important;
}

.num-circle {
    margin: 0 auto;
    display: block;
    width: 50px;
    height: 50px;
    background-color: #fff;
    line-height: 53px;
    text-align: center;
    color: #000;
    border-radius: 25px;
    font-size: 26px;
    font-weight: 600;
}



/* CUSTOMER QUOTE */


.customer-quote {
    
}

.customer-quote img {
    float: left;
    width: 80px;
    height: 80px;
    border-radius: 30px;
    margin-right: 30px;
}
.customer-quote blockquote {
    display: flex;
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

.customer-quote blockquote .bq-txt-wrap {
    display: grid;
    grid-template-columns: 1fr;
}

.customer-quote blockquote p {
    text-align: left;
    font-size: 1.3rem;
    letter-spacing: 0;
    margin-top: 50px;
    margin-bottom: 0;
    word-spacing: 4px;
    line-height: 1.6;
    padding-left: 80px;
}

.bq-txt-wrap cite {
    text-align: right;
}

.customer-quote blockquote footer {
    all: unset;
    display: block;
    background-color: #fff;
    color: #000;
    width: 100%;
    text-align: right;
}

.customer-quote blockquote footer cite {
    margin-right: 7rem;
}



/*    GET PAID SECTION           */

.get-paid {  
    height: 620px;
    background:  url(../img/get_paid.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.get-paid .gp-block {  
    display: block;
    background-color: var(--hg-yellow);
    position: relative;
    width: 320px;
    height: 320px;
    left: calc(100% - 30%);
    right: 0px;
    top: 8rem;
}

.get-paid h2 {  
    margin: 30px auto 0px auto;
    padding-top: 30px;
    padding-bottom: 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 45px !important;
    color: rgb(0, 0, 0) !important;
    line-height: 1.3;
    max-width: 9ch !important;
    font-weight: 400;
}

.get-paid .pm-register {

    display: block;
    
}

/* BAG BUCKS SECTION */


.bag-bucks {
    height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background:  url(../img/bag-bucks.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -5px;
}

.bag-bucks .bb-block {
    margin-top: 5rem;
}

.bag-bucks .bb-block h2 {
    margin: 30px auto 0px auto;
    padding-top: 30px;
    padding-bottom: 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 40px !important;
    color: rgb(0, 0, 0) !important;
    line-height: 1.3;
    max-width: 16ch !important;
    font-weight: 600;
}

.bag-bucks .bb-block .pm-register {
display: block;
}





































.hero.homegrown .hgbutton {
    margin-top: 1rem;
    padding: 0.5rem 1.8rem;
}

@media screen and (min-width: 600px) {
    /* .hero {
    height: 610px;
  } */
    .hero.homegrown .hero-text {
        margin: 0 auto;
        width: 75vw;
        /* min-width: 1200px; */
        padding: 13rem 4rem 0 4rem;
    }
    .hero.homepage h1 {
        font-family: "Montserrat", sans-serif;
        margin-top: 10px;
        margin-bottom: 15px;
        color: black;
        font-weight: 600;
        line-height: 1.1;
        text-align: center;
        font-size: 170px !important;
        margin-top: 90px;
    }
}


/*====================== HERO IMAGE TEXT ===================*/

/*====================== HOW IT WORKS PAYME ===================*/

.how-it-works {

}





.hero.santam {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero.santam .hero-text {
    margin: 0 auto;
    width: 75vw;
    min-width: 1200px;
    padding: 13rem 4rem 0 4rem;
}

.hero.santam h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 55px !important;
    margin-top: 10px;
    margin-bottom: 15px;
    color: black;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

.hero.santam h1 {
    font-size: 39px !important;
    color: #ffffff;
    text-align: center !important;
    font-family: "Montserrat", sans-serif;
}

.hero.santam p {
    margin-top: 3px;
    font-size: 18px !important;
    color: #f5f5f5;
    text-align: center !important;
    font-family: Quicksand;
    font-weight: 100;
    line-height: 1.3;
}

.hero.santam .hgbutton {
    margin-top: 1rem;
    padding: 0.5rem 1.8rem;
}


/*====================================================================*/

.hero.miway .hero-text {
    margin: 0 auto;
    width: 75vw;
    min-width: 1200px;
    padding: 13rem 4rem 0 4rem;
}

.hero.miway h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 55px !important;
    margin-top: 10px;
    margin-bottom: 15px;
    color: black;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

.hero.miway h1 {
    font-size: 39px !important;
    color: #ffffff;
    text-align: center !important;
    font-family: "Montserrat", sans-serif;
}

.hero.miway p {
    margin-top: 3px;
    font-size: 18px !important;
    color: #ffffff;
    text-align: center !important;
    line-height: 1.6;
}

.hero.miway .hgbutton {
    margin-top: 1rem;
    padding: 0.5rem 1.8rem;
}


/*====================================================================*/

.funeral {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/HOMEGROWN-FUNERAL-02.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.academy {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/HOMEGROWN-TRAINING-03.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.value-add {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homegrown_tracking_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.data {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Homegrown-Data.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-vehicle {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/HOMEGROWN-VEHICLE-04.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-residence {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Homegrown-All-Risk.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-all-risk {
    height: 610px;
    width: 100%;
    background: url(../img/payme.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-position: bottom;
}

.insure-building {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_building_.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-bicycle {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homegrown_bicycle.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-motorcycle {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Homegrown-Motorcycle-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-trailer {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homegrown_trailer.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-caravan {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homegrown_caravan.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-watercraft {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homegrown_watercraft.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-business-property {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/commercial-property-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.insure-business-interruption {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_1homegrown_business_interruption_.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.tag {
    height: 610px;
    width: 100%;
    background: linear-gradient(270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homgrown_tag_hero_image.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}


/*====================================*/

.miway-vehicle-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/Homegrown-MiWay-Vehicle.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-home-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/rsz_all_risk_miway_.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-insure-business-interruption {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/rsz_business_interuption_miway.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-all-risk {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/All-Risk-Miway.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-building-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/rsz_homgrown_building_-100.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-bicycle-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/MiWay-Bicycle-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-motorcycle-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/Motorcycle-MiWay.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-trailer-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/MiWay-Trailer-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-caravan-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/MiWay-Caravan-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-watercraft-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/MiWay-Watercraft-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.miway-business-property-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient(90deg, #0000006b 0%, #ed0d5486 100%), url(../img/rsz_1building_miway.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.santam-vehicle-insure {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homegrown_miway_vehicle_copy-100.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.santam-home-insurance {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_homegrown_all_risk-100.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.santam-all-risk {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Santam-All-Risk.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.santam-building-insurance {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/rsz_building_santam-100.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.santam-motorcycle-insurance {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Homegrown-Santam-Motorcyle.gif);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.santam-caravan-insurance {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Santam-Caravan.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.santam-watercraft-insurance {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Santam-WaterCraft.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.santam-funeral-insurance {
    height: 610px;
    width: 100%;
    background: linear-gradient( 270deg, var(--hg-yellow-overlay), var(--hg-black-overlay)), url(../img/Homegrown-brokers.gif);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


/*====================== HERO END ===================*/


/*====================== QUICK LINKS ===================*/

.quick-links {
    position: relative;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    min-height: 100px;
    background-color: #fff;
    justify-content: center;
    z-index: 150;
    gap: 10px;
}

.ql-block {
    width: 120px;
    height: 100px;
}

.ql-block a {
    margin-top: -50px;
    margin-right: 13px;
    width: 120px;
    height: 100px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: var(--hg-yellow);
    text-decoration: none;
    box-shadow: 0 5px 13px rgb(0 0 0 / 42%);
    border-radius: 8px;
    color: #fff;
}

.ql-block a:hover {
    box-shadow: 0 5px 30px rgb(0 0 0 / 48%);
}

.ql-block a img {
    width: 4rem;
}

.ql-block a p {
    margin-top: -10px;
}

.divider {
    margin: 0 auto;
    display: block;
    width: 50%;
    text-align: center;
    background: #ffffff;
    border-color: #ffffff61;
}


/*====================== QUICK LINKS END ===================*/


/*====================== NEW PRODUCTS ===================*/

.new-products {
    min-height: 300px;
    background-color: #fff;
    padding-top: 1rem;
    padding-bottom: 6px;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
}

.np-col.col-1 {
    width: 100%;
    margin: 0 auto;
    padding-top: 1.2rem;
    padding-bottom: 1rem;
    padding-left: 0rem;
    text-align: center;
    background: linear-gradient(90deg, black 50%, white 50%);
}

.np-col.col-1 img {
    width: 50%;
}

.np-col.col-2 {
    padding: 40px;
    padding-top: 0rem;
}

.np-col.col-2 p:first-of-type {
    margin-top: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.np-col.col-2 p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.np-col.col-2 h2 {
    margin-bottom: 2rem;
}

.np-view-more {
    font-size: 16px;
    border-width: 0px;
    padding: 12px 30px 12px 30px;
    color: #ffffff;
    background-color: #0a0500;
    border-color: #555555;
    position: relative;
    cursor: pointer;
    display: inline-block;
    align-items: center;
    line-height: 1.6;
    text-decoration: none !important;
    border-style: solid;
}

.np-view-more:hover {
    color: #ffffff;
    background-color: #fad20d;
    border-color: #444444;
}

@media screen and (min-width: 600px) {
    .new-products {
        background-color: #fff;
        padding-top: 3rem;
        padding-bottom: 6px;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .np-col.col-1 {
        grid-column: 1;
        /* padding-top: 4.8rem;
    padding-left: 9rem; */
    }
    .np-col.col-2 p:first-of-type {
        margin-top: 2rem;
        text-align: left;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    .np-col.col-2 {
        grid-column: 2;
        padding: 40px;
        padding-top: 10rem;
    }
    .np-col.col-1 {
        /* padding-top: 4.8rem;
    padding-left: 9rem; */
        background: linear-gradient(90deg, black 50%, white 50%);
    }
    .np-col.col-1 img {
        width: 100%;
        max-width: 500px;
        height: auto;
        padding: 20px;
    }
    .np-col.col-2 {
        padding: 40px;
        padding-top: 0rem;
    }
    .np-col.col-2 p {
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    .np-col.col-2 h2 {
        margin-bottom: 2rem;
    }
}


/*====================== NEW PRODUCTS END ===================*/


/*====================== VIEW PRODUCTS ===================*/

.view-products {
    padding-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: 500px;
}

.view-products h2 {
    margin-top: 30px;
    text-align: center;
    color: #000;
    font-size: 2rem;
    font-family: "Montserrat", sans-serif;
}

.main-wrapper {
    max-width: 90%;
    overflow: hidden;
    height: 390px;
    margin: 0 auto;
}

.test {
    margin: 0 auto;
    display: block;
    height: 390px;
}

.owl-item {
    overflow: hidden;
    border-radius: 1.4rem;
}

.item {
    background-color: rgb(199, 199, 199);
    min-height: 260px;
    /* width: 390px; */
    border-radius: 1.4rem;
    overflow: hidden;
}

.item a {
    min-height: 260px;
    width: 390px;
    border-radius: 1.4rem;
    overflow: hidden;
}

.item a .overlay {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
    bottom: 0px;
    width: 100%;
    height: 0;
    transform: scale(0);
    transition: scale 350ms ease;
    background: linear-gradient(0deg, var(--hg-yellow), transparent);
    border-bottom-left-radius: 1.4rem;
    border-bottom-right-radius: 1.4rem;
}

.item a:hover .overlay {
    position: absolute;
    z-index: 2;
    bottom: 0px;
    width: 100%;
    height: 100px;
    transform: scale(1);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.item a .overlay p {
    padding-top: 60px;
    color: #fff;
    font-size: 1.6rem;
}

.item img {
    background-color: rgb(199, 199, 199);
    min-height: 260px;
    width: 390px;
    border-radius: 1.4rem;
    -o-object-fit: cover;
    object-fit: cover;
}


/*====================== VIEW PRODUCTS END ===================*/


/*====================== QUOTE AND TALK ===================*/

.quote-talk {
    height: 300px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.quote-talk h2 {
    margin-bottom: 1rem;
    font-size: 28px !important;
    color: #000000;
    text-align: center !important;
    font-family: "Montserrat", sans-serif;
}

.quote-talk h2:first-child {
    margin-top: 3rem;
}

.quote-talk .hgbutton {
    margin-bottom: 2rem;
}

@media screen and (min-width: 600px) {
    .quote-talk h2 {
        margin-bottom: 1rem;
        font-size: 28px !important;
        color: #000000;
        text-align: left !important;
        font-family: "Montserrat", sans-serif;
    }
}


/*====================== QUOTE AND TALK END ===================*/


/*====================== SVG SHAPES ===================*/

.top-shape-wrap {
    position: absolute;
    bottom: 0px;
    z-index: 50;
    width: 100%;
}

.top_shape_wrap *svg {
    display: block;
}

.bottom-shape-wrap {
	margin-top: -1px;
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
}

.wave-3_svg__st2,
.wave-3-shadow_svg__st2,
.curve-3_svg__st1,
.curve-3-shadow_svg__st1 {
    fill: #fff;
}

.ugb-bottom-separator .ugb-separator__layer-1,
.ugb-bottom-separator .ugb-separator__shadow,
.ugb-top-separator .ugb-separator__layer-1,
.ugb-top-separator .ugb-separator__shadow {
    position: absolute;
    fill: #ffffff;
    height: 100%;
    width: 100%;
    z-index: 4;
}

.ugb-top-separator .ugb-separator__layer-1,
.ugb-top-separator .ugb-separator__shadow {
    transform: scaleY(1);
    margin-top: -130px;
    position: absolute;
}

.ugb-bottom-separator .ugb-separator__layer-1,
.ugb-bottom-separator .ugb-separator__shadow {
    margin-top: -130px;
    position: absolute;
    transform: scaleY(-1);
}

.curve-3-shadow_svg__st1 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.top-shape-wrap .ugb-separator__layer-1 {
    position: relative;
    bottom: 0;
    display: block;
    z-index: 1;
}

.top-shape-wrap .ugb-separator__shadow {
    position: absolute;
    bottom: -0;
    left: 0;
}

.bottom-shape-wrap .ugb-separator__layer-1 {
    position: relative;
    bottom: 0;
    display: block;
    z-index: 1;
    transform: scaleY(-1);
}

.bottom-shape-wrap .ugb-separator__shadow {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}


/*====================== APP DOWNLOAD  ===================*/

.app-download {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
    height: 150px;
    padding-top: 0px;
}

@media screen and (min-width: 600px) {
    .app-download {
        position: relative;
        z-index: 1;
        display: flex;
        flex-flow: column;
        align-items: center;
        height: 450px;
        padding-top: 130px;
    }
}

.app-download.home-page {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-Insurance-Family-Picture.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.app-download.funeral {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/HOMEGROWN-FUNERAL-02.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.academy {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/HOMEGROWN-TRAINING-03.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.data {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-Data.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-vehicle {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/HOMEGROWN-VEHICLE-04.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-residence {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-All-Risk.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-all-risk {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/All-Risk.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.app-download.insure-building {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_building_.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-bicycle {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_bicycle.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-motorcycle {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-Motorcycle-1.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-trailer {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_trailer.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-caravan {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_caravan.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-watercraft {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_watercraft.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-business-property {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/commercial-property-2.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.insure-business-interruption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_1homegrown_business_interruption_.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.tag {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homgrown_tag_hero_image.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-vehicle-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-MiWay-Vehicle.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-home-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-All-Risk.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-home-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-All-Risk.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-insure-business-interruption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_1homegrown_business_interruption_.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-all-risk {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/All-Risk.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-building-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_building_.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-bicycle-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-Bicycle.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-motorcycle-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-Motorcycle-1.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-trailer-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_trailer.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-caravan-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_caravan.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-watercraft-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_watercraft.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.miway-business-property-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_1building_miway.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.santam-vehicle-insure {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/HOMEGROWN-VEHICLE-04.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.santam-all-risk {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/All-Risk.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.santam-building-insurance {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_building_.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.santam-motorcycle-insurance {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/Homegrown-Motorcycle-1.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.santam-caravan-insurance {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_caravan.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.santam-watercraft-insurance {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/rsz_homegrown_watercraft.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.app-download.santam-funeral-insurance {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../img/HOMEGROWN-FUNERAL-02.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}


/*====================== APP DOWNLOAD END ===================*/


/*====================== FUNERAL PAGE ===================*/


/*====================== LAYOUT 1 ===================*/


/*====================== LAYOUT 1 END ===================*/

.why-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.why-us h2 {
    grid-column: 1 / -1;
    text-align: center;
}

.why-us .wu-wrap {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.why-us .wu-wrap i {
    margin-right: 30px;
    font-size: 60px;
    padding: 0px;
    color: #000000;
}

.wu-block {
    flex-basis: 500px;
    min-height: 150px;
    display: flex;
}

.wu-block h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    color: #333;
}

.wu-block p {
    color: #333;
}

.why-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.why-us h2 {
    grid-column: 1 / -1;
    text-align: center;
}

.why-us .wu-wrap {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.why-us .wu-wrap i {
    margin-right: 30px;
    font-size: 60px;
    padding: 0px;
    color: #000000;
}

.wu-block {
    flex-basis: 500px;
    min-height: 150px;
    display: flex;
}

.wu-block h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    color: #333;
}

.wu-block p {
    color: #333;
}

.va-list {
    grid-column: 1/-1;
    display: grid !important;
    grid-template-columns: auto 1.7fr;
    grid-template-columns: 1fr;
    padding: 0rem 2rem;
}

.va-list .block-icon {
    display: flex;
    align-items: center;
}

.va-list .block-icon img {
    width: 4rem !important;
    height: 4rem !important;
    border-radius: 0 !important;
}

@media screen and (min-width: 800px) {
    .va-list {
        grid-column: 1/-1;
        display: grid !important;
        grid-template-columns: auto 1.7fr;
    }
}


/*====================== funeral PAGE END ===================*/


/*====================== CONTACT PAGE ===================*/

.contact {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 480px;
}

.map {
    position: relative;
    min-height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
}

.contact-details {
    margin: 2rem auto 1rem auto;
}

.contact-details input {
    margin-left: 1rem;
    margin-bottom: 0.3rem;
    width: -webkit-fill-available;
    height: 30px;
    border: none;
    border-bottom: 2px solid #0000000f;
    transition: border-bottom 550ms ease;
    font-size: 1.2rem;
    color: #565656;
    border-radius: 3px;
}

.contact-details a {
    color: var(--hg-yellow);
}

.contact-details i {
    color: #868686;
}

.office-times {
    width: 280px;
    /* border: 1px solid #000; */
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.office-times p:nth-of-type(even) {
    color: #868686;
    font-weight: bold;
}

@media screen and (min-width: 800px) {
    .contact {
        display: grid;
        grid-template-columns: 1fr 0.8fr;
        min-height: 480px;
    }
    .contact-details {
        margin-left: 3rem;
    }
}


/*====================== CONTACT PAGE END ===================*/


/*====================== FOOTER ===================*/

footer {
    position: relative;
    grid-area: footer;
    color: #fff;
    background-color: rgb(26, 26, 27);
    min-height: 100px;
    font-size: 0.8rem;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}

.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-row.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.click-phone,
.facebook,
.instgram,
.privacy,
.terms {
    color: #fff;
    text-decoration: none;
    transition: color 250ms ease;
    /* display: inline-block; */
}

.click-phone:hover,
.facebook:hover,
.instgram:hover,
.privacy:hover,
.terms:hover {
    color: var(--hg-yellow);
}

.privacy {
    margin-right: 5px;
}

a.terms {
    margin-left: 5px;
}

.covid-19 {
    position: fixed;
    z-index: 5000;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 30px;
    text-align: center;
    background-color: #fad20d;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 350ms ease;
}

.covid-19.close {
    transform: scaleY(0);
}

.covid-19 p {
    color: #000;
    font-size: 14px;
}

.covid-19 a {
    color: #000000;
    font-weight: 600;
}

.covid-19 i {
    margin-left: 10px;
    color: #000000;
    font-weight: 600;
}

.covid-19 i:hover {
    cursor: pointer;
    color: #000000;
}

@media screen and (min-width: 600px) {
    .covid-19 {
        position: fixed;
        z-index: 5000;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background-color: #fad20d;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: scaleY(1);
        transform-origin: bottom;
        transition: transform 350ms ease;
    }
}


/*=============================================================================*/

.frm-2-col-wrap input[type=checkbox]:first-of-type {
    margin-right: 5px;
}

.multiselect {
    max-width: 280px;
}

.selectBox {
    position: relative;
}

.selectBox select {
    width: 100%;
    margin-top: 0px;
}

.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#checkboxes {
    display: none;
    padding: 5px 10px 5px 5px;
    position: absolute;
    z-index: 100;
    border: 1px #dadada solid;
    background-color: #fff;
}

#checkboxes label {
    display: flex;
    color: #000;
}

#checkboxes label:hover {
    background-color: #1e90ff;
}

#checkboxes input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.frmError {
    border: 2px solid #fd6f6f !important;
}


/*-----------------------Privacy Policy & Terms & Conditions -------------------------*/

.privacy-wrap,
.terms-wrap {
    margin: 0 auto;
    padding: var(--space);
}

.privacy-wrap p,
.terms-wrap p {
    margin-bottom: var(--space);
}

@media screen and (min-width: 600px) {
    .privacy-wrap,
    .terms-wrap {
        margin: 0 auto;
        padding: 2rem 4rem;
    }
}

.selectInfoWrap {
    padding: 0;
}

.selectInfo {
    display: inline-block;
    padding: 0px 5px;
    font-size: 12px;
    background-color: #000;
    border-radius: 3px;
    color: #fff;
    margin-right: 5px;
}
.selectInfo i {
    margin-left: 5px;
    cursor: pointer;
}

.styled-table {
    border-collapse: collapse;
    margin: 25px auto;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 800px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #fad20d;
    color: #000;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #fad20d;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #000000;
}

#register, #otp_form, #reg_frm,
#otp_resend_form, 
#contact_form,
#login_form,
#forgot_password_form,
#my_details,
#bank_details {
    margin: 0 auto 60px auto;
    padding: 30px 0px 60px 0px;
    width: clamp(500px, 50%, 800px);
    border: 1px solid #ddd;
    border-radius: 7px;
    background-color: #f9f9f9;
    box-shadow: 3px 4px 11px var(--hg-black-overlay);
}

.form-elm {
    padding: 15px 30px;
    display:grid;
    grid-template-columns: 3fr 9fr;
}

.form-elm-1 {
    padding: 5px 30px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.form-elm-3 {
    padding: 5px 30px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: flex-start;
}

.form-elm input, .form-elm select {
    border-style: solid;
    padding: 5px 8px;
    border-radius: 4px;
    border: 1px solid #d6d6d6;
    font-size: 18px;
    height: 34px;
}

#loginReg {
    margin-top:-5px;
}

#idnum_err,
#email_err,
#cellnum_err,
#pass_err {
    grid-column: span 3;
    padding-top:5px;
}

#idnum_err span,
#email_err span,
#cellnum_err span,
#pass_err span{
    padding: 5px 15px;
    background-color: #ef4b4b;
    color: #fff;
    grid-column: span 3;
    border-radius: 3px;
}

.terms > h4, .privacy > h4  {
    color:#000;
}

.terms > p {
    text-align: left;
}


/* PAY ME STYLES  */


.pm-register {
    all: unset;
    grid-column: 1;
    margin: 0 AUTO;
    background-color: #000;
    border: 5px solid #000;
    border-radius: 150px;
    border-style: inset;
    text-transform: uppercase;
    box-shadow: inset 0px 0px 0px 3px #fff;
    color: #fff;
    width: 250px;
    height: 50px;
    line-height: 50px;
    text-align: left;
    font-size: 21px;
    transition: 0.3s;
}

.pm-register:hover {
    cursor: pointer;
    background-color: #000000;
    border: 5px solid var(--hg-yellow);
    color: var(--hg-yellow);
    box-shadow: 0px 0px 5px 3px #b6b6b6, 0px 0px 10px 3px var(--hg-yellow);
}

.pm-register:hover i {
    color: #353535;
}

.pm-register i {
    margin-left: 13px;
    margin-right: 6px;
    float: left;
    line-height: 47px;
    font-size: 40px;
}

.privacy ul li::before, 
.privacy ul li::marker {
    color: #000;
}


.privacy ul li p {

margin-bottom: 1rem;

}

.bank-details-btn-wrap {
    grid-template-columns: 1fr;
    justify-items: end;
}

.bank-details-btn-wrap > .accountBtn {
    margin-top:-30px;
}

.bank-details-frm-wrap {

}