/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/*-----Leadform------*/

.contactForm {
    position: absolute;
    float: right;
    width: 320px;
    right: 30px;
    margin-top: 0px;
}
.contactForm .quickform {
    width: 100%;
    padding: 10px 8px 10px;
    background-color: #365f8a;
	transition: .4s all ease-in-out;
    }
.quickform * {
    box-sizing: border-box;    
}
.contactForm .quickform .formhead {
	text-align: center;
	color: #fff;
	height: auto;
	overflow: hidden;
}
.contactForm .quickform .line1 {
	position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 17px;
    padding: 0 10px 0 0;
}
.contactForm .quickform .line1 .quickform-arrow {
	position: absolute;
    top: 2px;
    right: 0;
	margin-top: -2px;
}
.contactForm .quickform .line1 .quickform-arrow:after {
	position: relative;
    font-family: ETmodules;
    font-size: 25px;
    font-weight: 500;
    content: "3";
	transition: .4s all ease;
}
.contactForm .quickform.expanded .line1 .quickform-arrow:after {
    content: "2";
}
.contactForm .quickform .line3 a {
	color: #fff;
}

.quickform .rsi-lead-form {
    max-height: 0px;
	overflow: hidden;
	transition: .4s all ease;
}
.quickform.expanded .rsi-lead-form {
    max-height: 3000px;
	transition: .4s all ease;
}
.quickform .formbody {
    display: grid;
    grid-column-gap: 2%;
    -ms-grid-columns: (1fr 2%) [12];
    grid-row-gap: 6px;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(auto-fill,auto);
    width: 100%;
}
.quickform input[type=text], .quickform select, .quickform textarea  {
    width: 100%;
    min-width: 0;
    -ms-grid-column-span: 12;
    grid-column: span 12;
    background-color: #fff;
    border: 1px solid #bbb;
    padding: 2px;
    color: #4e4e4e;
    font-size: 15px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 8px;
}
.quickform input[type=text].form-width-half {
    -ms-grid-column-span: 6;
    grid-column: span 6;
}
.formsubmit {
    margin-top: 10px;    
}
#sndForm {
    background: #000;
    border: 0;
    color: #fff;
    cursor: pointer;
    width: 100%;
    position: static;
    float: none;
    padding: 10px !important;
    text-transform: uppercase;
}
.rsi-form-error {
    background: #fff9f9;
    font-size: 13px;
    color: #c02b0a;
    border: 1px solid #c02b0a;
    padding: 5px;
    text-align: center;
    line-height: 15px;
    margin: 10px auto;
    -ms-grid-column-span: 12;
    grid-column: span 12;
    display: none;
}
/* NEW RSI LEAD FORM END */

/* START Homepage Procedure Links */
.home .procedure-links-heading {
    position: absolute;
    width: 100%;
    bottom: 50px;
    opacity: 1;
    transition: .4s ease all;
    z-index: 1
}

.home .procedure-links-col:hover .procedure-links-heading {
    opacity: 0;
    z-index: -1
}

.home .procedure-links-container {
    transition: .4s ease all
}

.home .procedure-links-col:hover .procedure-links-container {
    box-shadow: 0px 20px 140px -20px rgba(22,29,67,.4);
    transform: scale(1.05);
    transition: .4s ease all
}

.home .procedure-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 485px;
    padding: 30px;
    opacity: 0;
    transform: translate(0px,0px);
    transition: .4s ease all;
    z-index: 2
}

.home .procedure-links:before {
    opacity: .6;
    width: 100%;
    height: 100%;
    background: #000;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1
}

.home .procedure-links ul {
    z-index: 2
}

.home .procedure-links-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    opacity: 0;
    transition: .4s ease all;
    z-index: -1
}

.home .procedure-links-col:hover .procedure-links {
    opacity: 1;
    transform: translate(0px,0px)
}

.home .procedure-links-col:hover .procedure-links-bg {
    opacity: 1
}

.home .procedure-links a {
    padding: 2px;
    margin: 2px 0
}

/* END Homepage Procedure Links */


/* Theme Styles */
.container {
    width: 90%;
}
#top-header #et-secondary-menu {
    width: auto;
}
#et-secondary-menu #et-secondary-nav {
    float: right;
}
#homepage-rotator .et_pb_slide_content h2 {
    font-size: 70px;
    padding-bottom: 30px;
    line-height: 1em;
}


/* Header */
div#top-header {
    display: none;
}

ul#top-menu li li a {
    padding: 5px;
    text-transform: capitalize;
    font-weight: 600;
}

#top-menu li.current-menu-ancestor>a {
    color: #000080;
}

ul.et-social-icons {
    position: relative;
    top: -6px
}

.et-social-icons li:first-of-type {
	margin-left: 20px;
}

.et-social-icons li {
	margin-left: 10px;
}

.et-social-icon a {
    color: #fff;
    font-size: 14px;
    background-color: #365f8a;
    padding: 5px 10px;
    border-radius: 50px
}

.menu-phone-number a:before {
    content: "\e090";
    position: relative;
    top: 4px;
    margin-right: 5px;
    font-family: ETmodules!important;
    speak: none;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
}


/* Responsive */

@media screen and (min-width: 981px) and (max-width: 1024px) {
    ul#top-menu > li > a {
        font-size: 18px !important;
    }
    .contactForm {
        width: 300px;
    }
}
@media screen and (max-width:980px) {
    #top-header {
        padding-top: 0;
    }
    #mobile-topbar {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.75em 0;
        background: #365f8a;
    }
    #et_mobile_nav_menu {
    	display: block;
    }
    #mobile_menu {
        top: 0;
    }
    #top-menu,
    #main-header #et-info,
    #top-header #et-info, #top-header #et-secondary-menu {
    	display: none;
    }
    #page-container {
	    padding-top: 0 !important;   
	}
    #main-header #et-top-navigation,
    #main-header.et-fixed-header #et-top-navigation {
        float: right;
        padding: 0 !important;
    }
    #main-header #logo,
    #main-header.et-fixed-header #logo {
        max-width: 200px;
        height: auto;
        max-height: none;
    }
    #top-header, #main-header {
        display: block !important;
        position: relative !important;
        top: auto !important;
    }
    #main-header > .container {
        display: block;
    }
    #main-header .logo_container {
        width: 100%;
        text-align: center;
        align-content: center;
        padding: 15px 0;
        position: relative;
    }
    .contactForm {
		width: 100%;
	}
	.mobile_menu_bar.mobile_menu_bar_toggle:before {
		display: none;
	}
	ul#mobile_menu li {
		text-align: left;
	}
	#main-header #et-top-navigation {
		height: 0;
		padding: 0 !important;
		width: 100%;
	}
	#main-header .container {
	     width: 100%;
	     padding: 0;
	}
	#top-header .container {
	    width: 100%;
	    padding: 0;
	}
	#top-header .logo_container {
	    width: 100%;
	    text-align: center;
	    padding-top: 25px;
	}
	#top-header .container {
        display: block;
	}
	.et_mobile_menu {
	    border-top: 0 !important;
	}
	#homepage-rotator .et_pb_slide_content h2 {
        font-size: 50px;
	}
	#homepage-rotator .et_pb_slide_description {
	    padding-top: 200px !important;
	}
	span.logo_helper {
	    display: none;
	}
	
}


/********* Mobile Menu Collapse ********/
  
/**** This hides the sub menu items on mobile ****/
  
#main-header .et_mobile_menu li ul.hide {
display: none !important;
}
  
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
  
#mobile_menu .menu-item-has-children {
position: relative;
}
#mobile_menu .menu-item-has-children > a {
background: transparent;
}
  
/**** This styles the icon and moves it to the right ****/
  
#mobile_menu .menu-item-has-children > a + span {
position: absolute;
right: 0;
top: 0;
padding: 10px 20px;
font-size: 20px;
font-weight: 700;
cursor: pointer;
z-index: 3;
}
  
/**** Here you can swap out the actual icons ****/
  
span.menu-closed:before {
content: "\4c";
display: block;
color: #053193;
font-size: 16px;
font-family: ETmodules;
}
  
span.menu-closed.menu-open:before {
content: "\4d";
}

#skip-to-main {
    box-sizing: border-box;
    left: 38px;
    top: -100px;
    position: fixed !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
    background: #fff !important;
    border-radius: 8px !important;
    border: 2px solid #000000 !important;
    max-width: 275px;
    padding: 0 15px 0 !important;
    text-align: left !important;
    width: 100% !important;
    height: 63px !important;
    box-shadow: 0px 5px 5px 2px rgba(0, 0, 0, 0.6) !important;
    opacity: 0;
    transition: top .2s, opacity .2s;
    z-index: 1000000;
    font-size: 16px;
    color: #000000;
}
#skip-to-main:focus {
    top: 40px;
    opacity: 1;
    outline: 1px solid rgba(255, 255, 255, 0);
    background: #fff !important;
}
:focus-visible {
    outline: 2px dashed #f00;
}
.home .procedure-links-col .procedure-links:focus,
.home .procedure-links-col .procedure-links:focus-within {
    opacity: 1;
    transform: translate(0px,0px)
}
#top-menu li:focus-within > ul {
    opacity: 1;
    visibility: visible;
}


/* Interior Pages */
.sparkling-list ul {
  list-style: none;
  padding-left: 0;
}

.sparkling-list ul li {
  background-image: url("https://rsi907w1.wpenginepowered.com/wp-content/uploads/2026/04/original_sparkle.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-position-y: 5px;
  background-size: 16px 20px; /* control size */
  padding-left: 25px; /* space for the icon */
}

.gallery-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gallery-row > div {
    width: 47.5% !important;
}

.btn-2-col .et_pb_button_module_wrapper {
  width: fit-content;
  display: inline-block;
}


/* Mega Menu */
.qs-mega-menu__heading {
    font-size: 24px !important;
}


@media (max-width: 980px) {

  /* Only target this Divi menu module */
  .et_pb_menu_1_tb_header .et_mobile_menu > li.menu-item-has-children {
    position: relative;
  }

  /* Parent menu link */
  .et_pb_menu_1_tb_header
  .et_mobile_menu
  > li.menu-item-has-children
  > a {
    padding-right: 55px !important;
    font-weight: 600;
  }

  /* Hide generated submenus */
  .et_pb_menu_1_tb_header
  .et_mobile_menu
  > li.menu-item-has-children
  > ul.sub-menu {
    display: none !important;
    padding: 0 0 0 15px !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Open submenu */
  .et_pb_menu_1_tb_header
  .et_mobile_menu
  > li.menu-item-has-children.mobile-submenu-open
  > ul.sub-menu {
    display: block !important;
  }

  /* Toggle button */
  .et_pb_menu_1_tb_header .mobile-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 48px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    z-index: 20;
  }

  /* Horizontal line */
  .et_pb_menu_1_tb_header .mobile-submenu-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
  }

  /* Vertical line */
  .et_pb_menu_1_tb_header .mobile-submenu-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 14px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
  }

  /* Plus becomes minus */
  .et_pb_menu_1_tb_header
  li.mobile-submenu-open
  > .mobile-submenu-toggle::after {
    opacity: 0;
  }
}

/*  */

/* Extracted mobile background image */
.mobile-bg-below-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position:
    var(
      --mobile-bg-position,
      var(--original-mobile-bg-position, center)
    );
}

/* Focus near the top */
.mobile-bg-focus-top + .mobile-bg-below-image {
  --mobile-bg-position: center top;
}

/* Focus near the bottom */
.mobile-bg-focus-bottom + .mobile-bg-below-image {
  --mobile-bg-position: center bottom;
}

/* Focus toward the right */
.mobile-bg-focus-right + .mobile-bg-below-image {
  --mobile-bg-position: 100% center;
}

/* Focus toward the left */
.mobile-bg-focus-left + .mobile-bg-below-image {
  --mobile-bg-position: 25% center;
}

/*
 * This CSS breakpoint must match the breakpoint in the
 * JavaScript.
 */
@media (max-width: 767px) {

  /*
   * Optional: dark text on a light section background.
   *
   * Section classes:
   * mobile-bg-below mobile-copy-dark
   */
  .mobile-bg-below.mobile-copy-dark {
    background-color:
      var(--mobile-content-background, #ffffff) !important;
  }

  .mobile-bg-below.mobile-copy-dark .et_pb_module_heading,
  .mobile-bg-below.mobile-copy-dark .et_pb_text,
  .mobile-bg-below.mobile-copy-dark .et_pb_text * {
    color:
      var(--mobile-copy-color, #171717) !important;
  }

  .mobile-bg-below.mobile-copy-dark .et_pb_text a {
    color:
      var(--mobile-link-color, #4682b4) !important;
  }

  /*
   * Optional: light text on a dark section background.
   *
   * Section classes:
   * mobile-bg-below mobile-copy-light
   */
  .mobile-bg-below.mobile-copy-light {
    background-color:
      var(--mobile-content-background, #171717) !important;
  }

  .mobile-bg-below.mobile-copy-light .et_pb_module_heading,
  .mobile-bg-below.mobile-copy-light .et_pb_text,
  .mobile-bg-below.mobile-copy-light .et_pb_text * {
    color:
      var(--mobile-copy-color, #ffffff) !important;
  }

  .mobile-bg-below.mobile-copy-light .et_pb_text a {
    color:
      var(--mobile-link-color, #ffffff) !important;
  }
}