/*
Theme Name: Clean Americas 2026 
Author: Access Intelligence
*/

/*------------------------------------
  Fonts
------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*------------------------------------
  Root Variables
------------------------------------*/
:root {
  --theme-color-1: rgba(23, 72, 104, 1);
  --theme-color-2: rgba(179, 216, 255, 1);  
  --theme-color-3: rgba(78, 211, 244, 1); 
  --theme-color-4: rgba(72, 175, 213, 1);

  --theme-color-orange: rgb(250, 176, 59);
  --theme-color-skyblue: rgb(0, 174, 239);
  --theme-color-blue: rgb(21, 100, 168);
  --theme-color-darkblue: rgb(6, 22, 45);
}

/*------------------------------------
  Base Styles
------------------------------------*/
html {
  height: 100%;
  font-size: 0.875em;
}
body {
  font-family: 'Barlow', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.42857143;
  padding: 0 !important;
}
a {
  color: var(--theme-color-blue);
  text-decoration: none;
  transition: all 0.3s;
}
a:hover {
  color: #80bcfc;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Semi Condensed';
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
}
main {
    margin-top: 5rem;
}

/*------------------------------------
  Network Bar Fix
------------------------------------*/
#ai-network-bar {
  position: fixed;
  width: 100%;
  top: 0;
}

/*------------------------------------
  Navigation
------------------------------------*/
.navbar {
  position: fixed;
  top: 0;
  height: 80px;
  min-height: 44px;
  width: 100%;
  background-color: var(--theme-color-1);
  padding: 0;
  z-index: 99;
}
.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  position: relative;
}
.navbar button i {
  font-size: 1.25rem;
}
.navbar .ca-logo { width: 160px; margin: 0 auto; }
.logo-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 100%;
}
.menuicon:hover,
.menuicon:focus,
.menuicon:active {
  border: 2px solid var(--theme-color-skyblue);
  box-shadow: none;
}
.shortcuts-menu {
  display: flex;
  gap: 10px;
}
.shortcuts-menu .menu-item a {
  display: inline-block;
  border-radius: 6px;
  color: inherit;
  font-weight: 600;
}
.shortcuts-menu .menu-item:hover,
.shortcuts-menu .menu-item:focus {
  background: var(--theme-color-skyblue);
}
.shortcuts-menu .menu-item a:hover,
.shortcuts-menu .menu-item a:focus {
  color: #fff;
  text-decoration: none;
}

/*------------------------------------
  Slide-in Menu (Modal)
------------------------------------*/
.modal-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  margin: 0;
  overflow-y: auto;
  border-radius: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1080;
}
.modal.show .modal-dialog {
  transform: translateX(0);
}
.mbody {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.5rem;
  background-color: #fff;
  border-radius: 0;
}
.mbody-close {
  align-self: flex-end;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 100;
  color: #05aff7;
  background: none;
  border: none;
}

/* Menu List */
.mbody nav ul {
  display: flex;
  flex-direction: column;
  margin: 0 auto 1rem;
  padding-left: 0;
  list-style: none;
}
.mbody nav ul li a {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
}
.mbody nav ul ul li a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--theme-color-skyblue);
}

/*------------------------------------
  Footer
------------------------------------*/
footer a { color: #fff; }
footer h3 { font-size: 1.65rem; }
.footer-logo { max-width: 300px; width: 100%; }
.copyright { font-size: 0.85rem; }


/*------------------------------------
  Utilities
------------------------------------*/
.fs-mega, .date { font-size: 4rem; }
.date2 { font-size: 4.3rem; }

.border-bottom-orange {
  border-bottom: 3px solid var(--theme-color-orange);
}
.heading-borderleft {
  border-left: 5px solid var(--theme-color-orange);
  padding-left: 10px;
}

/* Backgrounds */
.bg-theme-orange { background: var(--theme-color-orange); }
.bg-theme-skyblue { background: var(--theme-color-skyblue); }
.bg-theme-blue { background: var(--theme-color-blue); }
.bg-theme-darkblue { background: var(--theme-color-darkblue); }
.bg-theme-1 { background: var(--theme-color-1); }
.bg-theme-2 { background: var(--theme-color-2); }
.bg-theme-3 { background: var(--theme-color-3); }
.bg-theme-4 { background: var(--theme-color-4); }


.text-theme-orange { color: var(--theme-color-orange); }
.text-theme-skyblue { color: var(--theme-color-skyblue); }
.text-theme-blue { color: var(--theme-color-blue); }
.text-theme-darkblue { color: var(--theme-color-darkblue); }
.text-theme-1 { color: var(--theme-color-1); }
.text-theme-2 { color: var(--theme-color-2); }
.text-theme-3 { color: var(--theme-color-3); }
.text-theme-4 { color: var(--theme-color-4); }


.btn-theme-skyblue,
.btn-theme-skyblue:hover {
  background: var(--theme-color-skyblue);
  border: 0;
}

/*------------------------------------
  Homepage
------------------------------------*/
.mainlogo { max-width: 300px; }
.home .mainlogo {
  max-width: 600px;
  width: 100%;
}
.eventinfo {
  padding-bottom: 5rem;
  margin-bottom: 0;
  background: radial-gradient(circle, rgba(40, 115, 182, 1) 1%, rgba(7, 23, 46, 1) 79%);
}
.home .eventinfo {
  padding-top: 9rem;
  margin-top: -5rem;
}
.whatisca {
  padding: 4rem 0;
  background: url(images/bg-ocean.jpg) no-repeat fixed center / cover rgba(18, 57, 84, 1);
}
.hp_about h4 {
  border-left: 5px solid var(--theme-color-orange);
  padding-left: 10px;
}
.dateinfo {
  background: var(--theme-color-blue);
}
.dateandvenue {
  border-right: 4px solid orange;
  border-left: 5px solid orange;
}
.why-exhibit-content {
  max-width: 465px;
}
.why-exhibit-content h2,
.why-exhibit-content h3,
.why-exhibit-content h4 {
  color:var(--theme-color-darkblue);
}
.why-exhibit-content h2,
.why-exhibit-content h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.why-exhibit-content strong {
  color: var(--theme-color-skyblue);
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
}
.cohosted img {width: 100px;}
.cohosted h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 1rem; }

/* Background Images */
.bg-cg { background: url(images/bg-gulf-forlogo.jpg) center / cover; }
.bg-cp { background: url(images/bg-pacific.jpg) center / cover; }
.bg-cw { background: url(images/bg-waterways-forlogo.jpg) center / cover; }

/*------------------------------------
  Partner Content
------------------------------------*/
.partner-content-archive figure {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 254px;
  min-width: 224px;
  border: 1px solid #ccc;
}
.partner-content-archive figure img {
  margin: 0 0.5rem;
  object-fit: cover;
  border: 1px solid var(--theme-color-4);
  max-width: 220px;
  max-height: 284px;
}

/*------------------------------------
  Media Queries
------------------------------------*/
@media (max-width:1216px) {
  .logo-wrapper {
    position: inherit;
    left: 0;
    transform: none;
  }
}
@media (max-width: 768px) {
  .shortcuts-menu {
    display: none;
  }
}
@media (max-width: 540px) {
  .w-27 { width: 27%; }

  .partner-content-archive figure {
    flex: 1 0 100%;
    max-width: 100%;
    min-width: auto;
    margin: 0 auto;
  }
  img.ca-logo {
    margin-top: .5rem;
  }
}
@media (min-width: 540px) {
  html { font-size: 1em; }
}
@media (min-width: 768px) {
  #menu-primary li a {
    margin: auto 0.3rem 10px;
  }
}
@media (min-width: 992px) {
  .modal-dialog {
    transform: translateX(0);
  }

  body:has(#ai-network-bar) .navbar {
    top: 36px;
  }
}
/* Sponsorship modal override */
#sponsorModal .modal-dialog {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  border-radius: 1rem !important;
  transform: none !important;
  margin: var(--bs-modal-margin) auto;
}
#sponsorModal .modal-content {
  max-height: 90vh;
  border-radius: 1rem;
  overflow: hidden;
}
#sponsorModal .modal-body {
  overflow-y: auto;
}
#sponsorModal .modal-header,
#sponsorModal .modal-footer {
  flex-shrink: 0;
}