/*
 Theme Name:     HST Divi Child
 Description:    Divi Child Theme
 Template:       Divi
 Version:        1.0.1
*/

.hts-gradient {
  background: linear-gradient(180deg, #5547E3 0%, #33B2CC 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-y-24 {
  margin-bottom: 24px;
  margin-top: 24px
}

.difl_advancedtab_0 .df_at_nav:hover,
.difl_advancedtab_1 .df_at_nav:hover {
  background-color: #7272ff !important;
}

@media only screen and (max-width: 980px) {
  .difl_advancedtab_0 .df_at_title {
    margin-left: 15px !important;
  }
}

.smallblueshort_code {
  background-color: #14234b;
  color: #fff !important;
  border-radius: 100px !important;
  padding: 7px 20px !important;
  font-size: 14px !important;
  width: 100%;
  text-align: center;
}

.smallblueshort_code:hover {
  background-color: #8098b1;
}

span.menu-item-description {
  display: block;
  color: #999999;
  font-weight: 500;
}

#top-menu li {
  vertical-align: top;
}

@media all and (min-width: 981px) {

  #et-top-navigation,
  #top-menu-nav,
  #top-menu {
    width: 100%;
  }

  #top-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #top-menu li:nth-child(6) {
    margin-left: auto;
  }
}

.menu-cta a {
  background-color: #14234b;
  padding: 15px 15px 15px 15px !important;
  border-radius: 25px;
  margin-top: -15px !important;
  color: white !important;
}

.menu-cta a:hover {
  background-color: #5547e3;
  color: white !important;
}

@media only screen and (max-width: 980px) {
  .menu-cta a {
    background-color: #14234b !important;
    padding: 15px 15px 15px 15px !important;
    border-radius: 25px !important;
    margin: 6px 0px 25px 0px !important;
    color: white !important;
    text-align: center;
  }

  .menu-cta a:hover {
    background-color: #5547e3 !important;
    color: white !important;
  }
}

.menu-cta2 a {
/*   background-color: #5547e3; */
  background-color: #1b7482;
  padding: 15px 15px 15px 15px !important;
  border-radius: 25px;
  margin-top: -15px !important;
  color: white !important;
}

.menu-cta2 a:hover {
  background-color: #14234b;
  color: white !important;
}

@media only screen and (max-width: 980px) {
  .menu-cta2 a {
    background-color: #5547e3 !important;
    padding: 15px 15px 15px 15px !important;
    border-radius: 25px !important;
    margin: 25px 0px 25px 0px !important;
    color: white !important;
    text-align: center;
  }

  .menu-cta2 a:hover {
    background-color: #14234b !important;
    color: white !important;
  }
}

.menu-cta3 a {
  background-color: #8098b1;
  padding: 15px 15px 15px 15px !important;
  border-radius: 25px;
  margin-top: -15px !important;
  color: white !important;
}

.menu-cta3 a:hover {
  background-color: #14234b;
  color: white !important;
}

@media only screen and (max-width: 980px) {
  .menu-cta3 a {
    background-color: #8098b1 !important;
    padding: 15px 15px 15px 15px !important;
    border-radius: 25px !important;
    margin: 25px 0px 25px 0px !important;
    color: white !important;
    text-align: center;
  }

  .menu-cta3 a:hover {
    background-color: #14234b !important;
    color: white !important;
  }
}

@media (max-width: 980px) {
  .et_fixed_nav #main-header {
    position: fixed;
  }
}

/*change hamburger icon to x when mobile menu is open*/
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
  content: '\4d';
}

/*adjust the new toggle element which is added via jQuery*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
  width: 44px;
  height: 100%;
  padding: 0px !important;
  max-height: 44px;
  border: none;
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 999;
  background-color: transparent;
}

/*some code to keep everyting positioned properly*/
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
  position: relative;
}

/*remove default background color from menu items that have children*/
.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
  background-color: transparent;
}

/*hide the submenu by default*/
ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
  display: none !important;
  visibility: hidden !important;
}

/*show the submenu when toggled open*/
ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
  display: block !important;
  visibility: visible !important;
}

/*adjust the toggle icon position and transparency*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
  text-align: center;
  opacity: 1;
}

/*submenu toggle icon when closed*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
  top: 10px;
  position: relative;
  font-family: "ETModules";
  content: '\33';
  color: #ffffff;
  background: #5547e3;
  border-radius: 50%;
  padding: 5px;
}

/*submenu toggle icon when open*/
ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
  content: '\32';
}

/*add point on top of the menu submenu dropdown*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
  position: absolute;
  right: 5%;
  margin-left: -20px;
  top: -14px;
  width: 0;
  height: 0;
  content: '';
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #ffffff;
}

/*adjust the position of the hamburger menu*/
.mobile_menu_bar {
  position: relative;
  display: block;
  bottom: 0px;
  line-height: 0;
}

/*force the background color and add a rounded border*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
  background-color: #ffffff !important;
  border-radius: 10px;
}

.menu-cta-none a {
  background-color: #ffffff;
  padding: 15px 25px !important;
  font-weight: bold;
  text-transform: none;
  color: #000 !important;
  text-align: center;
  text-decoration: none;
  width: 150px !important;
}

.menu-cta-none a:hover {
  color: #88898c !important;
}

@media only screen and (max-width: 980px) {
  .menu-cta-none a {
    background-color: #ffffff !important;
    padding: 15px 15px 15px 15px !important;
    margin: 25px 0px 25px 0px !important;
    color: #000 !important;
    font-weight: bold;
    text-transform: none;
    text-align: center;
    text-decoration: none;
  }

  .menu-cta-none a:hover {
    background-color: #f9f9f9 !important;
    color: #88898c !important;
  }
}

#top-menu .menu-item-has-children>a:first-child:after,
#et-secondary-nav .menu-item-has-children>a:first-child:after {
  position: relative !important;
}

#menu-item-247130>a:first-child:after {
  color: #ffffff !important;
}

/* Force Fullwidth, Remove Sidebar and Hide the Post Title/Meta and Featured Image by default */

.single #main-content .container:before {
  display: none;
}

.single #left-area {
  padding: 0 !important;
  width: 100%;
}

.single #sidebar {
  display: none;
}

#menuimagesize {
  height: 30px !important;
}

.mobilespacingfixed {
  line-height: 1.3em;
}

.topgradient {
  line-height: 1.3em;
  background: #5547e3;
  background: -webkit-linear-gradient(to top right, #5547e3 0%, #2FC0C9 100%);
  background: -moz-linear-gradient(to top right, #5547e3 0%, #2FC0C9 100%);
  background: linear-gradient(to top right, #5547e3 0%, #2FC0C9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bottomgradient {
  line-height: 1.3em;
  background: #F4801B;
  background: -webkit-linear-gradient(to top right, #F4801B 0%, #f8da1f 100%);
  background: -moz-linear-gradient(to top right, #F4801B 0%, #f8da1f 100%);
  background: linear-gradient(to top right, #F4801B 0%, #f8da1f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.echartgradient {
  line-height: 1.3em;
  background: #5547e3;
  background: -webkit-linear-gradient(to top right, #5547e3 0%, #b062cc 100%);
  background: -moz-linear-gradient(to top right, #5547e3 0%, #b062cc 100%);
  background: linear-gradient(to top right, #5547e3 0%, #b062cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.buttonfooterblue {
  color: #ffffff;
  background-color: #14234b;
  font-size: 14px;
  border: 1px solid #14234b;
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
  font-weight: bold;
}

.buttonfooterblue:hover {
  color: #14234b;
  background-color: #ffffff;
}

#wfboxOverlay {
  display: none !important;
}

#tpbr_calltoaction {
  border-radius: 25px !important;
}

.tnc-pdf-back-to-btn {
  background: #f8da1f;
  padding: 15px 30px;
  width: 25%;
  left: 35%;
  position: sticky;
  right: 10px;
  bottom: 10px;
  border: 5px solid #fced8f;
  text-align: center;
}

.tnc-pdf-back-to-btn a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
  font-size: 20px;
}

#et-top-navigation {
  padding-left: 200px !important;
}

.pardot-iframe {
  min-height: 500px;
  max-height: 800px;
  width: 100%;
}

.quote-image img {
  object-fit: cover;
  width: 150px;
  height: 150px;
  object-position: top
}

@media only screen and (min-width: 1700px) {
	.bg-accent {
		background-size: auto 900px !important;
	}
}

@media only screen and (max-width: 1159px) {
	.bg-accent {
		background-size: 0px !important;
	}
}

/*CJ Changes*/
.all_in_one li{
	padding-bottom:10px;
}

/* #form-schedule-contact{
	background-color:red !important;
}

#form-schedule-contact[data-pardot-src],
#form-schedule-contact p{
	background-color:red;
}


#form-schedule-contact iframe .form-field{
	width:100% !important;
}

#form-schedule-contact iframe input{
	background-color:red !important;
} */

/* Container styling */
.iframe-container {
	width: 100%; 
	max-width: 1200px; /* or whatever maximum width you prefer */
	margin: 0 auto; /* centers the container */
	padding: 1rem;
}



/* iframe base styling */
.responsive-iframe {
	width: 100%;
	height: auto;
	min-height: 500px;
	border: 0;
}



/* Media query for larger screens */
@media (min-width: 768px) { /* for screen sizes larger than 768px */
	.responsive-iframe {
		width: 50%;
		height: auto;
	}
}

@media (max-width: 980px) {
/* 	#menu-item-2141 .sub-menu.visible{
       overflow-y: scroll;
	   height: 250px;
	} */
	.et_mobile_menu{
		overflow-y: scroll;
    	height: 100vh;
	}
}

#top-menu li.mega-menu>ul>li{
	width:33%;
}	


#top-menu li.mega-menu>ul>li:nth-of-type(4n+1){
	clear: none !important;
}	

#top-menu li.mega-menu>ul>li:nth-of-type(3n+1){
	clear: left;
}	
