body {
	font-family: 'Dosis', sans-serif;
    color: #404142;
    font-size: 12px;
	letter-spacing: 0.8px;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 200;
}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
li {
    margin-top: 10px;
  }
  
a {
	-webkit-transition: all 0.3s;
  	-moz-transition: all 0.3s;
  	transition: all 0.3s;
}
a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}

/* Buttons override */
.btn {
	text-transform: uppercase;
    font-weight: 600;
}
.btn-lg {
	padding: 15px 40px;
    font-size: 16px;
    line-height: none;
    border-radius: 4px;
}
.btn-red {
	background-color: #dd5138;
	color: #fff;
}
.btn-yellow {
	background-color: #fcd93b;
	color: #2a2a2a;
	opacity: 0.8;
}
.btn-yellow:hover {
	opacity: 1;
}
.btn-yellow.disabled:hover,
.btn-yellow[disabled]:hover {
    opacity: 0.65;
}
.content-ct {
	text-align: center;
}

/* ------------------
	Navigation 
------------------ */
.side-menu {
	position: fixed;
	right: 30px;
	top: 50%;
    transform: translateY(-73px);
    z-index: 99;
}
.side-menu ul li {
    text-align: right;
    margin: 10px 0;
}
.side-menu ul li a span {
	display: inline-block;
}
.side-menu ul li a span.menu-title {
	color: #fff;
    position: relative;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: #dd5138;
    padding: 3px 10px;
    font-weight: 600;
    border-radius: 3px;
    -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
    -moz-transition: -moz-transform 0.2s, opacity 0.2s;
    transition: transform 0.2s, opacity 0.2s;
    -webkit-transform-origin: 100% 50%;
    -moz-transform-origin: 100% 50%;
    -ms-transform-origin: 100% 50%;
    -o-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    opacity: 0;
}
.side-menu ul li a:hover span.menu-title {
    opacity: 1;
}
.side-menu ul li a span.dot {
    position: relative;
    background-color: #dd5138;
    border-radius: 2em;
    height: 10px;
    width: 10px;
    -webkit-transition: all 0.3s;
  	-moz-transition: all 0.3s;
  	transition: all 0.3s;
}
.side-menu ul li a:hover span.dot {
	transform: scale(1.8);
}


.hero-header {
	background: #e3e3e3;
}
.hero-header h1 {
	margin: 1em 0 0 0;
}
.hero-header h4 {
	font-weight: normal;
	opacity: 0.6;
    letter-spacing: 1px;
    margin: 2em 0;
}
.hero-header .logo {
    min-height: 80px;
	max-width: 180px;
}
.hero-header .btn {
	margin-top: 3em;
}
.me-row {
	padding: 30px 0;
}
.row-title {
	font-weight: 400;
}
.feature {
	padding: 20px;
	margin-top: 30px;
}


.app {
	-webkit-transition: all 0.3s;
  	-moz-transition: all 0.3s;
  	transition: all 0.3s;
  	margin-right: 20px;
  	border: 3px solid #f6f6f6;
    border-radius: 5px;
    width: 750px;
}
.app:hover {
    box-shadow: 3px 3px 10px #ccc;
    transform: translateY(-10px);

}
.app-img {
	max-width: 40%;
    border: 4px solid #efefef;
    border-radius: 50%;
}
ul.speaker-social li {
	list-style: none;
	display: inline-block;
	margin: 10px 5px;
}
ul.speaker-social li a {
	font-size: 0.2em;
	padding: 0 10px;
}
ul.speaker-social li a:hover {
	text-decoration: none;
}
a span.ti-facebook {
	color: #3b5998;
}
a span.ti-twitter-alt {
	color: #4099ff;
}

.tickets {
	background-color: #fcd93b;
}
.tickets .price {
	font-size: 4em;
	color: #dd5138;
    font-weight: 100;
}
.tickets .price sup {
	font-size: 0.4em;
}


.nav-tabs {
    margin-top: 20px;
}
.schedule .media {
	margin-top: 4em;
}
.schedule .media-object {
	max-width: 100px;
}
.schedule .media-heading {
	font-weight: 600;
    border-bottom: 2px solid #efefef;
    padding-bottom: 10px;
}
.schedule .media-body h5 {
	text-transform: uppercase;
	font-weight: 600;
}


.footer {
    background-color: #2a2a2a;
    margin-top: 30px;
    color: #fff;
}
.footer p {
    margin-bottom: 0;
}
.footer-credit {
    padding: 40px;
}
ul.footer-menu {
    text-align: right;
}
ul.footer-menu li {
    display: inline-block;
}
ul.footer-menu li a {
    font-size: 12px;
    color: #fcd93b;
    padding-right: 20px;
}
ul.footer-menu li a:hover {
    color: #dd5138;
}


.contact {
    background-color: #3a3a3a;
    color: #fff;
    padding: 1em;
}
.contact h3 {
    margin-bottom: 30px;
}
.form-control {
    padding: 20px 15px;
    border: 3px solid #eee;
    background-color: #f9f9f9;
    box-shadow: none;
}
.help-block {
    font-size: 12px;
}
.form-control-feedback {
    top: 15px;
    right: 15px;
}

.animated { 
    -webkit-animation-duration: 5s; 
    animation-duration: 5s; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both; 
    -webkit-animation-timing-function: linear; 
    animation-timing-function: linear; 
    animation-iteration-count:infinite; 
    -webkit-animation-iteration-count:infinite; 
} 

@-webkit-keyframes bounce { 
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 
    40% {-webkit-transform: translateY(-30px);} 
    60% {-webkit-transform: translateY(-15px);} 
} 

@keyframes bounce { 
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 
    40% {transform: translateY(-30px);} 
    60% {transform: translateY(-15px);} 
} 

.bounce { 
    -webkit-animation-name: bounce; 
    animation-name: bounce; 
}

/* ========================================
    Custom Media Queries
======================================== */

/* Mobile */

@media (max-width: 767px) {
    .hero-header {
        text-align: center;        
    }
    .app  {
        width: 100%
    }
    .footer-credit {
        text-align: center;
        padding: 40px 20px;
    }
    ul.footer-menu {
        text-align: center;
        margin-top: 30px;
    }
    p.demo-header{font-size: 1rem}
    p.page-main-text{font-size: 1rem}
    .equation-text {font-size:medium}
}


/* iPad Portrait */

@media (min-width: 768px) and (max-width: 820px) {
    .hero-header {
        text-align: center;
    }
    .app {
        width: 100%;
        margin-right: 7px;
    }
    ul.footer-menu {
        margin-top: 0;
    }
    p.demo-header{font-size: 1.5rem}
    p.page-main-text{font-size: 1.5rem}
    .equation-text {font-size: large}
}


/* iPad Landscape */

@media (min-width: 820px) and (max-width: 4199px) {
    .app {
        width: 80%;
        margin-right: 9px;
    }
    p.demo-header{font-size: 2rem}
    p.page-main-text{font-size: 2rem}
    .equation-text {font-size: x-large}
}







.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

  .b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }

  .b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
  }

  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }

  .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
  }

  .nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }


  .quote {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.02);
}
.quote__body {
    z-index: 1;
    position: relative;
    margin: 0;
    padding: 0.75rem 2.75rem;
    font-family: Georgia, serif;
    font-size: .8rem;
    font-style: italic;
}
.quote__body::before, .quote__body::after {
    z-index: -1;
    position: absolute;
    color: #d2d2d2;
    font-size: 4rem;
    font-style: normal;
    font-weight: 700;
}
.quote__body::before {
    content: "“";
    top: 0;
    left: 0;
    line-height: 1;
}
.quote__body::after {
    content: "”";
    bottom: 0;
    right: 0;
    line-height: 0;
}
.quote__credits {
    margin-left: 2.75rem;
    padding-right: 2.75rem;
    color: #8c8c8c;
    font-size: 0.8125rem;
}
html {
    font-family: helvetica, arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    box-sizing: border-box;
}
*, *:after, *:before {
    box-sizing: inherit;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}
p {
    margin: 0;
}


.ai_text {
    font-size: 1rem;
}

.highlight {
    background-color: #fcd93b;
}

a.svg {
    position: relative;
    display: inline-block; 
}

a.svg:after {
    content: ""; 
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left:0;
}

/* blue #85B4F2 */

.sticky-navbar {
    position: fixed;
    top: 0;
    left: 0; /* Added to ensure it spans the full width */
    width: 100%; /* Added to ensure it spans the full width */
    z-index: 1020; /* Optional: Helps ensure the navbar stays on top of other content */
   
}




/* Custom styles for the Offcanvas menu */

/* Adjust padding within the offcanvas body */
.offcanvas-body {
    padding-top: 1.5rem; /* More space at the top */
    padding-bottom: 1.5rem; /* More space at the bottom */
    background-color: #f8f9fa; /* Optional: Add a light background color */
}

/* Style the main navigation items */
.offcanvas-body .nav-item {
    margin-bottom: 0.5rem; /* Space between list items */
}

/* Style the nav links (adjusting font size from fs-1) */
.offcanvas-body .nav-link {
    /* fs-1 is very large (3rem). Let's try something smaller for better hierarchy. */
    font-size: 1.8rem; /* Adjust this size as needed */
    padding: 0.8rem 1.2rem; /* Increased padding for a larger clickable area */
    color: #333; /* Darker default text color */
    transition: all 0.3s ease; /* Smooth transitions for hover effects */
    border-radius: 0.3rem; /* Slightly more rounded corners */
}

/* Hover effect for nav links */
.offcanvas-body .nav-link:hover {
    color: #000; /* Even darker text on hover */
    background-color: #e9ecef; /* Light grey background on hover */
}

/* Active state styling */
.offcanvas-body .nav-link.active {
    color: #007bff; /* Primary color for active link */
    font-weight: bold; /* Make active link bold */
    background-color: #e2e6ea; /* Slightly darker background for active */
}

/* Style the collapsible submenu list */
.offcanvas-body .collapse ul {
    /* Removed list-unstyled class in HTML, let's add basic list style back if needed */
    /* list-style: disc inside; */ /* Example: add disc bullets */
    padding-left: 2rem !important; /* Increased indentation from ps-3 */
    margin-top: 0.5rem; /* Space above the submenu */
    border-left: 3px solid #ccc; /* Add a more prominent left border for hierarchy */
    margin-left: 0.5rem; /* Add a small margin next to the border */
}

/* Style links within the submenu */
.offcanvas-body .collapse ul li .nav-link {
    font-size: 1.3rem; /* Smaller font size than main links */
    padding: 0.6rem 1rem; /* Adjust padding */
    color: #555; /* Slightly lighter color */
}

/* Hover effect for submenu links */
.offcanvas-body .collapse ul li .nav-link:hover {
    color: #000;
    background-color: #dcdfe4; /* Lighter hover background for submenu */
}

/* Active state for submenu links (optional - maybe less prominent than main active) */
.offcanvas-body .collapse ul li .nav-link.active {
     color: #007bff;
     font-weight: normal; /* Keep font weight normal */
     background-color: #d3d7db; /* Even lighter background for active submenu */
}


/* Style the horizontal rules */
.offcanvas-body hr {
    border-top: 1px solid #ddd; /* Subtle border color */
    margin-top: 1rem; /* Space above HR */
    margin-bottom: 1rem; /* Space below HR */
}

/* Style for the toggle icon (if you added it in HTML) */
/* This rotates the icon when the menu is expanded */
.offcanvas-body .nav-item .nav-link[data-bs-toggle="collapse"] i {
    transition: transform 0.3s ease; /* Smooth rotation */
    margin-left: 0.5rem; /* Space between text and icon */
}

.offcanvas-body .nav-item .nav-link[data-bs-toggle="collapse"]:not(.collapsed) i {
    transform: rotate(180deg); /* Rotate 180 degrees when expanded */
}

/* Reduce font size of the offcanvas header if desired */

.offcanvas-header .display-5 {
    font-size: 2.5rem; 
}

a {
    text-decoration: none;
    color: black;
}


.background-hero {
    background: url('/img/edai-engine-hero3.png') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative; /* Needed for the absolute overlay and z-indexing */
    display: flex; /* Enable Flexbox */
    flex-direction: column; /* Stack direct children vertically */
    /* Remove justify-content: flex-end from here as it applies to the direct child */
    
    padding-bottom: 3rem; /* Add some padding at the very bottom */
    padding-top: 3rem; /* Add some padding at the very top */
    box-sizing: border-box; /* Include padding in the element's total height */
  }

  /* Target the direct child div of .background-hero that wraps the heading and content */
  .background-hero > div:first-child {
    display: flex; /* Make this inner div a flex container */
    flex-direction: column; /* Stack its children (h1 div and #background-hero-content) vertically */
    flex-grow: 1; /* Allow this inner div to grow and fill the available vertical space */
    /* Optional: justify-content: space-between; if you want the h1 at the top and content at the bottom */
    /* Optional: justify-content: flex-end; if you want both the h1 and content at the bottom */
    min-height: 60vh;
  }

  #background-hero-content {
    margin-top: auto; /* This will push #background-hero-content to the bottom within its flex parent (the inner div) */
    background-color: rgba(0, 0, 0, 0.4);
    position: relative; /* Ensure z-index works if needed */
    z-index: 2; /* Ensure it's above the overlay */
    padding: 1rem;
  }

  /* Optional: Add an overlay to make text more readable */
  .background-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* Adjust the last value (0.5) for transparency */
    z-index: 1; /* Place the overlay above the background image but below the text */
  }

  /* Ensure the h1 is also above the overlay if needed */
  .background-hero h1 {
      position: relative;
      z-index: 2; /* Ensure h1 is also above the overlay */
  }

  /* The container class within background-hero might need z-index too */
  /* Assuming .container is inside the first inner div, it will be z-indexed correctly */
  .background-hero .container {
    position: relative;
    z-index: 2;
  } 
  
.modal-body img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.highlightButton:hover .bi {
  color: white;
}