/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-menu nav > ul > li:last-child:not(:has(ul)) > a {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-primary);
    border-radius: 0px 0px 0px 0px;
}
#main-menu nav > ul > li:not(:last-child):not(:has(ul)) > a {
    border: none;
}
#main-menu nav.elementor-nav-menu--dropdown .sub-arrow svg path {
    fill: var(--e-global-color-accent);
  }


.youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.well, .well p {
    background-color: var(--e-global-color-4eb94ea);
    color: var(--e-global-color-text);
    padding: 32px 40px;
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: center;
    border-radius: 0;
}
.well p:last-child {
    margin-bottom: 0;
}

h2 {
    margin-top: 1.25em;
}
h2:first-child {
    margin-top: auto;
}
h3, h4 {
    margin-top: 1em;
}
h3:first-child, h4:first-child {
    margin-top: auto;
}
h5, h6 {
    margin-top: .8em;
}
h5:first-child, h6:first-child {
    margin-top: auto;
}

p:only-child {
    margin-bottom: 0 !important;
}
p:last-child {
    margin-bottom: 0;
}

/* List Style */
ul.list-style {
    line-height: 1.5em;
    margin: 5px 0 32px;
    padding: 0;
}

ul.list-style li {
    list-style: none;
    position: relative;
    padding: 0 0 0 20px;
    font-size: 90%;
    margin-bottom: 24px;
}

ul.list-style li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    height: 8px;
    width: 8px;
    border: 1px solid var(--e-global-color-primary);
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
}

ul, ol {
    margin: 5px 0 40px;
}
ul:last-child, ol:last-child {
    margin: 5px 0 0;
}
ul ::marker, ol ::marker {
    color: var( --e-global-color-accent );
}

/* Gravity Forms Styles */
.gform_wrapper {
    margin: 0;
    padding: 0;
}
.gform_wrapper li.gfield {
    margin: 0 !important;
}
.ginput_container {
    margin: 0;
    padding: 0;
}
.gform_wrapper li.gfield input, .gform_wrapper li.gfield select {
    margin: 0 !important;
    //line-height: 2em !important;
    //padding: 0.3em 0.8em;
}
.gform_footer {
    margin: 0 !important;
    padding: 0 !important;
}

/* FAQ Styles */
.uael-faq-wrapper .uael-question-span {
    margin: 0;
}
.uael-faq-wrapper .uael-accordion-title {
    padding: 24px 16px !important;
}

/* Practice Areas - Grid/Loop Item styles */
a.practice-area-loop-item {
    background: var(--e-global-color-4eb94ea);
    transition: background 1s ease;
}
a.practice-area-loop-item:hover {
    background: linear-gradient(180deg, var(--e-global-color-4eb94ea) 0%, #E58A2B80 100%);
}


/* Displays Tablet and below ONLY */
@media only screen and (max-width: 1024px) {
    #main-menu nav > ul > li:last-child:not(:has(ul)) > a {
        border: none;
    }
}

/* Displays Mobile ONLY */
@media only screen and (max-width: 767px) {
    .well, .well p {
        padding: 24px;
    }
