/*
Theme Name:     GOTB Child Theme
Theme URI:      https://geeksonthebeach.ca
Description:    GOTB Master
Author:         Geeks On The Beach
Author URI:     https://geeksonthebeach.ca
Template: Divi
Version:        4.0
*/

@import url('https://use.typekit.net/xhn4edg.css');

h1, h2, h3, h4, h5 {
font-family: "neulis-sans", sans-serif;
font-weight: 500;
font-style: normal;
line-height:1.3em;
overflow-wrap: normal;
}
h1, h2 {margin-bottom:20px;} 
body, p, ul, il, ol {
font-family: "neulis-sans", sans-serif;
font-weight: 400;
font-style: normal;
}
sup {
    position: relative;
    top: -0.5em;
    font-size: 12px;
    margin-right: 2px;
}
#top-menu li a {
    font-size:1.3vw!important;
}
nav#top-menu-nav {
    margin: 0px!important;
}
ul#top-menu {
    margin-top: 3px;
}
.dot-network {
    color: #075389 !important;
    margin-left: 7px;
    margin-right: 7px;
    font-size: 1.9vw;
    top: 2px;
    position: relative;
}
li::marker {
  color: #075389!important;
}
.support-text {
  color: #075389!important;
}
#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul, ul {
    margin-top: 20px;
}
.custom-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.custom-tooltip .tooltip-box {
  visibility: hidden;
  width: 300px;
  background-color: #73BC43;
  color: #fff;
  line-height: 1.3em;
  border-radius: 5px;
  font-size: 16px;
  padding: 10px;
  box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: absolute;
  z-index: 10;
  bottom: 145%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  white-space: normal; /* Ensure text wraps inside the tooltip */
}

/* Make tooltip visible on hover */
.custom-tooltip:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
}

/* Tooltip arrow */
.custom-tooltip .tooltip-box::after {
  content: '';
  position: absolute;
  top: 100%; /* Arrow below the tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px;
  border-style: solid;
  border-color: #75bc43 transparent transparent transparent; /* Match tooltip background */
}
/* Span styles */
span.custom-tooltip {
  position: relative;
  color: #ffffff;
}
span.custom-tooltip::before {
  background-color: #72bc45;
  content: "";
  position: absolute;
  width: calc(100% + 8px);
  height: 90%;
  left: -5px;
  bottom: 0;
  z-index: -1;
  transform: rotate(-2deg);
}
span.custom-tooltip-line:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 28px;
  background-image: url(https://chs.gotbdev.com/wp-content/uploads/lineg-chs.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  bottom: -20px;
}
/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .custom-tooltip .tooltip-box {
    width: auto; /* Allow flexible width */
    max-width: calc(100vw - 40px); /* Slightly wider, with 20px padding on each side */
    left: 50%; /* Center relative to parent */
    transform: translateX(-50%); /* Ensure centering */
    white-space: normal; /* Allow text wrapping */
    padding: 15px; /* Add a bit more padding for readability */
  }
  /* Ensure arrow aligns with the new width */
  .custom-tooltip .tooltip-box::after {
    left: 50%; /* Center arrow */
    transform: translateX(-50%);
  }
}
#main-header {box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.3);}
#main-header #dm-menu .always-visitable {
    position: relative;
}
#main-header #dm-menu .always-visitable .hover-link {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    right: 60px; /* right area continues to expand or collapse */}
.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container {
        padding-left: 30px;
        box-shadow: none;
    }
    
@media only screen and (max-width: 1305px) {
    .et_pb_svg_logo #logo {
        height: 55%!important;
        max-width:260px;
    }
}
@media only screen and (min-width: 1405px) {
    .et_pb_svg_logo #logo {
        height: 70%!important;
         max-width:370px;
    }
#top-menu li a {
    font-size:22px!important;
}
}
/* ------------- a. Gravity contact form ------------- */

.gform_wrapper ul.gform_fields li {
    list-style: none;
}
.gform_wrapper ul.gform_fields {
    padding-left: 0 !important;
}
.gform_wrapper .hidden_label label {
    display: none;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea,
.gform_wrapper select {
    border-radius: 0px !important;
    background-color: #fff;
    color: inherit;
    font-family: sans-serif;
    border: 0;
    padding: 10px !important;
    border: 1px solid #eeeeee;
}
.gform_wrapper.gravity-theme .gfield_label {
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 3px;
    padding: 0;
}
.gform_wrapper input[type=email]:focus {
    border: 1px solid #eeeeee;
}
.gform_wrapper input[type=text]::placeholder,
.gform_wrapper input[type=email]::placeholder,
.gform_wrapper input[type=tel]::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper select::placeholder {
    color: inherit;
    font-family: inherit;
}
.gform_wrapper .gform_footer {
    text-align: right;
}
.gform_wrapper input[type=submit] {
	border: 0;
    background-color: #333333;
    color: #ffffff;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: inherit;
    font-size: inherit;
    transition-duration: .3s;
    border-radius: 0px;
    padding: 8px 28px;
    cursor:pointer;
}
.gform_wrapper input[type=submit]:hover {
    transition-duration: .3s;
    opacity:0.9;
}
.gform_legacy_markup_wrapper .gform_footer {
    margin: 0px 0 0;
}
/* grow icons effect */
.mp_m_blurb_grow:hover .et_pb_image_wrap {
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.mp_m_blurb_grow:hover .et_pb_image_wrap {
    -webkit-transform: scale(1.3) translateZ(0);
    transform: scale(1.3) translateZ(0);
}
/* ------------- 3. Nav Menu ------------- */
/** #####  CALL TO ACTION BUTTON in the menu item  ##### 
/* Desktop & tablet, call to action menu */
.menu_cta {
    background-color: #fff;
    color: #212121;
    border: 1px solid #212121;
    padding: 0 !important;
    border-radius: 25px;
}
.menu_cta a {
    color: #212121 !important;
    padding: 11px 20px 13px 20px !important;
}
/* Mobile call to action menu */
@media (max-width: 980px) {
    .menu_cta {
        margin: 20px 40px 20px;
    }
    .menu_cta a {
        text-align: center;
}}

/* ##### DROPDOWN MENU WIDTH ##### */
.nav li ul {
    width: 300px !important; /* Width of the dropdown menu */
}
.nav li li ul {
    left: 300px !important; /* Use the same size as above */
}
#top-menu li li a {
    width: 260px; /* Make this 40 less then the width of the dropdown menu */
}
/* remove the hover grey when current on dropdown-menu */
.nav ul li a:hover {opacity: 1; background-color: rgba(0, 0, 0, 0);}

.et-menu li li a {
    padding: 6px 15px;
    width: 260px;
}
.et_pb_menu .et-menu-nav>ul ul {
padding: 10px 0;} 
/* ------------- 4. Content ------------- */

/* Vertically Center Text in 2 columns - Make equal heights check */

.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
}
li {padding-bottom: 0.4em;}

a {text-underline-offset: 2px;}

/*collapse and set the height of the toggle text*/
.pa-toggle-text .et_pb_text_inner {
	max-height: 200px;
	transition: max-height 0.3s ease-out;
	overflow: hidden;
}
/*add gradient to the collapsed text*/
.pa-toggle-text .et_pb_text_inner:after {
	content: "";
	display: inline-block;
	position: absolute;
	pointer-events: none;
	height: 100px;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(0deg, #162936 10%, transparent);
}
/*style the expand text link*/
.pa-toggle-text .pa-text-expand-button {
	padding: 0.6em 0em 0.5em;
	text-align: left;
	color: inherit!important;
}
/*change the curor to a pointed when hovering over the expand text link*/
.pa-toggle-text .pa-text-expand-button span {
	cursor: pointer;
}
/*define the font family for the toggle icon*/
.pa-toggle-text .pa-text-expand-button .pa-text-toggle-icon {
	font-family: ETMODULES, "sans-serif";
	top: 2px;
    position: relative;
    font-weight: 800;
    font-size: 18px;
}
/*set the max height and transition of the expanded toggle*/
.pa-toggle-text .pa-text-toggle-expanded {
	max-height: 1000px;
	transition: max-height 0.3s ease-in;
}
/*hide the gradient when the toggle is expanded*/
.pa-toggle-text .pa-text-toggle-expanded.et_pb_text_inner:after {
	background: none;
}
.swiper-pagination.dsm_card_carousel_pagination.swiper-pagination-clickable.swiper-pagination-bullets {
    display: none;
}

@media only screen and (max-width: 980px) {
.two-columns .et_pb_column {
width: 50%!important;
}
.three-columns .et_pb_column {
width: 33.33%!important;
}
.four-columns .et_pb_column {
width: 25%!important;
}
.et_header_style_left #et-top-navigation .mobile_menu_bar {
    padding-bottom: 21px;
}
.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container {
    padding-left: 0px;
}
.container {
    width: 92%;
}
.et_mobile_menu li a, .nav li li a {
    font-size: 16px;
}
ul#mobile_menu {
    margin-top: 0px;
}
.et_mobile_menu {
    border-top: 0;
        padding: 4%;
}
.et_mobile_menu li a {
    border-bottom: 1px solid #ededed;
    }
}
@media only screen and (max-width: 479px) {
.three-columns .et_pb_column {
width: 50%!important;
}
}

