@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Bevan:ital@0;1&family=Poppins:wght@400;500;700&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.4/font/bootstrap-icons.css");

:root {
    --primary: #bb2e29;
    --primarydark: #90231f;
    --secondary: #000b26;
    --tertiary: #122b15;
    --offwhite: #f2efeb;
    --white: #fff;
    --black: #000;
    --darkgrey: #202020;
    --orangedark: #D76201;
    --green: #029354;
    --greendark: #005B34;
}

.anothertest {
    color: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background-color: var(--offwhite);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 1rem 0;
    color: var(--black);
    text-transform: uppercase;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}

a:hover {
    color: var(--black);
}

a:visited {
    color: var(--primary);
}

a:visited:hover {
    color: var(--black);
}

.Normal {
    line-height: 1.7em;
    font-size: 16px;
    color: var(--black);
}

.bi {
    color: var(--primary);
    font-size: 1.5em;
    margin: 10px;
}

.bevan {
    font-family: 'Bevan', Arial, Helvetica, sans-serif;
}

.orange-line-center {
    border-top: 2px solid var(--primary);
    width: 70px;
    margin: 15px auto 0;
}

.row .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* MEDIA QUERIES */

@media screen and (max-width: 992px) {
    .Normal {
        font-size: 18px;
    }

    .px-lg-4 {
        padding: 0 !important;
    }
}

/*------------------------------------------------*/
/* NAVBAR */
/*------------------------------------------------*/

.navbar {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    padding: .5rem;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.navbar-dark {
    background-color: #000;
}

.navbar-brand {
    padding: 0 !important;
}

#dnn_dnnLOGO_imgLogo {
    max-width: 180px;
    width: 100%;
    padding-left: 20px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

    .nav-minimize #dnn_dnnLOGO_imgLogo {
        max-width: 150px;
        width: 100%;
    }

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.15rem !important;
    padding-left: 0.15rem !important;
}

.px-lg-4 {
    padding: 0 .75rem !important;
}

.nav-link {
    color: var(--offwhite) !important;
    font-size: 16px;
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

    .nav-link:hover {
        color: var(--primary) !important;
    }

    .nav-link:visited {
        color: var(--offwhite) !important;
    }

        .nav-link:visited:hover {
            color: var(--primary) !important;
        }

.navbar-toggler {
    margin: 2%;
}

.dropdown-menu {
    padding: 0;
    background-color: var(--darkgrey);
    min-width: 12rem;
    border-radius: 0px;
    border: 1px solid var(--green);
}

.dropdown-menu .px-lg-4 {
    padding: .25rem .5rem !important;
}

.dropdown-menu .nav-link {
    font-size: 14px;
    font-weight: 400;
    text-transform: initial !important;
}

/* MEDIA QUERIES */

@media screen and (max-width: 992px) {
    .navbar {
        padding: 1%;
        height: auto;
    }

    #dnn_dnnLOGO_imgLogo {
        max-width: 180px;
    }

    .nav-minimize #dnn_dnnLOGO_imgLogo {
        max-width: 150px;
    }

    .navbar-dark .navbar-toggler {
        margin: 0;
        color: rgba(255,255,255,1) !important;
        border: none;
    }

    .nav-link {
        border: none;
        text-align: center;
    }

    .active .nav-link {
        border: none;
    }

    .nav-link:hover {
        border: none;
    }
}

/*------------------------------------------------*/
/* HERO */
/*------------------------------------------------*/

/* video hero */

.video-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

#videoBG {
    object-fit: cover;
    position: absolute;
    height: 600px;
    width: 100%;
    top: 0;
    left: 0;
}

body:not(.PageType_Home) .video-container {
    display: none;
}

.video-overlay {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 600px;
    text-align: center;
    z-index: 10;
    width: 100%;
    margin: auto;
    background-color: rgba(0, 0, 0, .25);
}

    .video-overlay p,
    .video-overlay h1,
    .video-overlay h2,
    .video-overlay h3,
    .video-overlay h4,
    .video-overlay h5,
    .video-overlay h6 {
        margin: .5rem 0;
        color: #fff !important;
    }

    .video-overlay h1 {
        font-size: 3.5rem;
        text-transform: uppercase;
    }

    .video-overlay h2 {
        font-size: 2.5rem;
        text-transform: uppercase;
    }

.Page-Home .hero-bg {
    display: none;
}

/* photo hero */

.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/Portals/40/tiger-woods-2000.jpg'), url('/Portals/193/tiger-woods-2000.jpg');
    background-size: cover;
    background-position: 50% 55%;
    object-fit: cover;
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
}

.PageType_Home .hero-bg {
    background-position: 50% 70%;
    height: 600px;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
}

    .hero-text p,
    .hero-text h1,
    .hero-text h2,
    .hero-text h3,
    .hero-text h4,
    .hero-text h5,
    .hero-text h6 {
        margin-top: 1rem;
        margin-bottom: 1rem;
        color: var(--offwhite) !important;
    }

    .hero-text h1 {
        font-family: 'Bevan', Arial, Helvetica, sans-serif;
        font-size: 6rem;
    }


    .hero-text p {
        font-size: 20px;
    }

/* MEDIA QUERIES */

@media screen and (max-width: 992px) {
    .hero-text {
        padding: 0 5%;
    }

    .video-hero-text {
        padding: 0 5%;
    }
}

@media screen and (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem !important;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    #videoBG {
        height: 60vh;
    }

    .video-hero-text {
        top: 45%;
    }

        .video-hero-text h1 {
            font-size: 2.5rem !important;
        }

        .video-hero-text h2 {
            font-size: 1.5rem;
        }
}

/*------------------------------------------------*/
/* OVERLAY */
/*------------------------------------------------*/

body:not(.Page-Home) #homeOverlay {
    display: none;
}

#homeOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0,0,0,.85);
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

.home-overlay-module {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('https://www.dalifegolf.com/Portals/155/overlay-bg.png');
    background-position: 50% 30%;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5);
    height: 400px;
    border-radius: 10px;
}

    .home-overlay-module img {
        max-height: 80vh;
    }

#homeOverlayClose {
    color: #fff;
    cursor: pointer;
}

.home-overlay-open {
    visibility: visible !important;
    opacity: 1 !important;
}

#dnn_homeOverlayContent {
    padding: 5rem;
}

    #dnn_homeOverlayContent p,
    #dnn_homeOverlayContent h1,
    #dnn_homeOverlayContent h2,
    #dnn_homeOverlayContent h3,
    #dnn_homeOverlayContent h4,
    #dnn_homeOverlayContent h5,
    #dnn_homeOverlayContent h6 {
        color: var(--primary) !important;
        text-align: center;
    }

/* MEDIA QUERIES */

@media screen and (max-width: 992px) {
    .home-overlay-module {
        width: 95%;
    }
}

/*------------------------------------------------*/
/* MAIN CONTENT */
/*------------------------------------------------*/

#MainContent {
    padding-top: 30px;
    padding-bottom: 30px;
}

#MainContent li,
#BottomContent li {
    list-style-type: disc;
}

#dnn_BottomFullWidth {
    padding-left: 0px;
    padding-right: 0px;
}

#dnn_BottomFullWidth p {
    margin-bottom: 0px;
}

/* HOME */

.PageType_Home #MainContent {
    padding-bottom: 0px;
}

/* MEMBERSHIPS */

.Page-Memberships #MainContent {
    max-width: 95%;
}

/* LESSONS */

.Page-Lessons #MainContent {
    max-width: 95%;
}

/*------------------------------------------------*/
/* COMPONENETS */
/*------------------------------------------------*/

/* OUTLINES */

.primary-outline {
    border: 1px solid var(--primary);
}

/* BUTTONS */

.primary-button {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 30px;
    background-color: var(--primary);
    color: var(--offwhite) !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

    .primary-button:hover {
        background-color: var(--primarydark);
        color: var(--offwhite) !important;
        text-decoration: none;
    }

.white-button {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 30px;
    background-color: transparent;
    border: 2px solid var(--offwhite);
    color: var(--offwhite) !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

    .white-button:hover {
        background-color: var(--offwhite);
        color: var(--black) !important;
        text-decoration: none;
    }

/* BOXES */

.content-row {
    justify-content: center;
    margin-bottom: 1rem;
}

@media screen and (max-width: 992px) {
    .content-row > div {
        margin-bottom: 1rem;
    }

        .content-row > div:last-child {
            margin-bottom: 0;
        }
}

.content-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.5em;
    margin-bottom: .5em;
    align-items: center;
    border: 4px solid var(--primary);
    text-align: center;
}

    .content-box ul {
        display: inline-block;
        text-align: left;
        padding-left: 0;
    }

/* FORM OVERRIDES */

.sub-widget .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(0,0,0,.15);
    background-clip: padding-box;
    border: 1px solid #fff;
    border-radius: 15px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

    .sub-widget .form-control::placeholder {
        color: #fff;
    }

    .sub-widget .form-control:focus {
        color: #fff;
        background-color: rgba(0,0,0,.25);
        border-color: #fff;
        outline: 0;
        box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .15);
    }

.sub-widget .white-button {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

/* MISC */

.grecaptcha-badge {
    display: none;
}

.youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.carouselPros {
    interval: 2000;
    wrap: true
}

.faq-button {
    text-align: left;
    border: 0px;
    background-color: #fff;
}

/*------------------------------------------------*/
/* FOOTER */
/*------------------------------------------------*/

#FooterContainer h1,
#FooterContainer h2,
#FooterContainer h3,
#FooterContainer h4,
#FooterContainer h5,
#FooterContainer h6,
#FooterContainer p {
    color: var(--offwhite) !important;
    margin-top: 1rem;
}

    #Footer p a {
        color: var(--offwhite);
        text-decoration: none;
        font-weight: 600;
    }

        #Footer p a:hover {
            color: var(--primary);
        }

        #Footer p a:visited {
            color: var(--offwhite);
            text-decoration: none;
        }

            #Footer p a:visited:hover {
                color: var(--primary);
            }

#Footer {
    background-color: var(--primary);
    background-image: url('/Portals/40/wavy-bg.jpg'), url('/Portals/193/wavy-bg.jpg');
    background-position: top;
    background-size: cover;
    padding: 3% !important;
}

#FooterBottom {
    background-color: var(--black);
    padding-top: 1% !important;
    padding-bottom: 1% !important;
}

    #FooterBottom p {
        font-size: 14px;
        margin-top: .5rem;
        margin-bottom: 0;
    }

    #FooterBottom p a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

        #FooterBottom p a:hover {
            color: var(--offwhite);
        }

        #FooterBottom p a:visited {
            color: var(--primary);
            text-decoration: none;
        }

            #FooterBottom p a:visited:hover {
                color: var(--offwhite);
            }