/* ================================
   FONT COLOR UTILITIES UHCC Palette
   ================================ */

/* Primary Deep Blue (headers, nav) */
.text-primary { color: #14364D !important; }

/* Header 1 color */
.text-h1 { color: #135979 !important; }

/* Header 2 color */
.text-h2 { color: #6c99ac !important; }

/* Header 3 color */
.text-h3 { color: #9EBBC7 !important; }

/* Accent Orange */
.text-accent { color: #ff8000 !important; }

/* Dark Gray (body text) */
.text-body { color: #777777 !important; }

/* White text */
.text-white { color: #FFFFFF !important; }

/* ================================
   LINK COLORS
   ================================ */
a,
a:visited {
  color: #457990;   /* Blue default */
}

a:hover,
a:focus {
  color: #ff8000;   /* Orange on hover */
}

/* ================================
   HEADERS
   ================================ */
h1 { color: #135979 !important; }
h2 { color: #6c99ac !important; }
h3 { color: #9EBBC7 !important; }

p, span, li, div { color: #444444; }

/* Utility used on home content blocks */
.full-width-inside-container{
  display:block;
  width:100vw;
  max-width:100vw;
  margin-left: calc(-50vw + 50%);
  height:auto;
}

/* ===================================================================================== */
/*                                  HEADER STYLING                                      */
/* ===================================================================================== */
#header1Container{
  background-color:#FFFFFF;
  width:100%;
  color:#444444 !important;
}
#header1Wrapper{
  background-color:#FFFFFF !important;
  color:#444444 !important;
}

#cartInfo .glyphicon-shopping-cart{ color:#457990 !important; }
#cartCount{
  background-color:#D96D00;
  color:#FFFFFF;
}

#loginDropdownMenuLink,
#logoutLinkWrapper,
.headerProfileLink,
#loginNameWrapper,
.headerStudentLoginLogoutLink{
  color:#444444 !important;
  font-size:15px !important;
  font-weight:400;
}

/* IMPORTANT: keep the banner (header2 variable image) full-bleed */
#header2Wrapper{
  width:100vw;
  margin-left: calc(-50vw + 50%);
  background-color: transparent;
}
#header2Wrapper .container{
  max-width:100%;
  width:100%;
  padding-left:0;
  padding-right:0;
}

/* Ensure header variable content images are truly full width */
#variableContentBlockCM000004 img,
#variableContentBlockCM000005 img,
#variableContentBlockCM000006 img,
#variableContentBlockCM000007 img,
#variableContentBlockCM000008 img,
#variableContentBlockCM000009 img,
#variableContentBlockCM000010 img,
#variableContentBlockCM000011 img{
  width:100% !important;
  display:block !important;
}

/* Keep cart + login behaving (don’t reorder them) */
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav-actions{
  display:flex;
  align-items:center;
}
.cartInfo{ margin-right:16px; }

/* ===================================================================================== */
/*                              GLOBAL NAVIGATION BAR                                   */
/* ===================================================================================== */
#header3Container{
  display:flex;
  justify-content:center;
  background-color:transparent !important;
}
#header3Wrapper{ background-color:transparent !important; }
#globalNavigationBar{ background-color:transparent !important; }

.nav-item{
  font-size:17px !important;
  font-weight:400;
  font-family:'Open Sans', sans-serif;
}
.navbar-light .navbar-nav .nav-link{
  color:#457990 !important;
  font-family:'Open Sans', sans-serif;
}

/* ===================================================================================== */
/*                                MOBILE NAVBAR ICON                                    */
/* ===================================================================================== */
.navbar-toggler,
.navbar-toggler.m-2.collapsed,
.navbar-toggler-icon{
  background-color:#FEFDFB !important;
  border-color:#FEFDFB !important;
}

/* ===================================================================================== */
/*                                SOCIAL MEDIA ICONS                                    */
/* ===================================================================================== */
.social-icons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:15px;
  flex-wrap:nowrap;
}
.social-icons a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background-color:#9EBBC7;
  color:#444444;
  font-size:18px;
  text-decoration:none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.social-icons a:hover{
  background-color:#457990;
  color:#FFFFFF;
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


/* ===================================================================================== */
/*                              SECONDARY PAGE SPACING                                   */
/* ===================================================================================== */

/* Space between menu and page title */
#mainContentWrapper #contentHeader{
  margin-top:50px !important;
}

/* Add space below content before footer (single source of truth) */
#mainContentWrapper{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
#mainContentWrapper::after{
  content:"";
  display:block;
  height:200px;
}

/* Mobile tuning */
@media (max-width:768px){
  #mainContentWrapper #contentHeader{
    margin-top:30px !important;
  }
  #mainContentWrapper::after{
    height:170px;
  }
}

/* ===================================================================================== */
/*                                      FOOTER                                           */
/* ===================================================================================== */
/*
  Footer HTML is injected via CM000003 and already contains .custom-footer styles :contentReference[oaicite:1]{index=1}.
  We only control the OUTER footer background/seal + powered-by alignment here.
*/

/* Outer footer: Hawaiian print + seal top-right (NO TILING / NO REPEAT) */
#footer{
  background-image:url('/srs/upload/footer_hawn_print.png');
  background-repeat:no-repeat;
  background-position:right top;
  /* Keep art from "tiling" and avoid weird repeats */
  background-size: 420px auto;
  padding-right: 460px;
  background-color:#444445; /* fallback under transparent parts */
  width:100%;
  color:#FFFFFF;
  font-family:Arial, sans-serif;
  padding:0;
  box-sizing:border-box;
}

/* Make sure destiny wrappers don’t introduce their own backgrounds that fight the image */
#footer1Wrapper,
#footer2Wrapper{
  margin:0;
  padding:0;
  background:transparent !important;
}

/* Keep the injected footer block transparent so the outer footer image shows */
#footer1Container,
#footer2Container,
#footer1,
#footer2{
  background:transparent !important;
}

/* Powered-by area: align with the left edge of your footer content (same 1200px rhythm) */
#footer2Wrapper .poweredByDestinyOneWrapper{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px 40px;
  box-sizing:border-box;
}
#footer2Wrapper .poweredByDestinyOne{
  margin-left:0 !important;
}
.poweredByDestinyOne img{
  max-height:50px !important;
  height:auto !important;
  width:auto !important;
  display:block;
}

/* If the screen gets small enough that the seal/art interferes, hide the background image */
@media (max-width: 900px){
  #footer{
    background-image:none !important;
    background-color:#444445 !important;
  }
}

/* ===================================================================================== */
/*                              VARIABLE CONTENT BLOCK                                  */
/* ===================================================================================== */
#variableContentBlockPG0156{
  color:#444444 !important;
  font-size:18px !important;
  font-weight:500 !important;
  padding-top:35px !important;
  padding-bottom:20px !important;
  display:flex;
  -ms-flex-align:center;
}

/* ===================================================================================== */
/*                              CAP / CLP HEADERS                                       */
/* ===================================================================================== */
.headerLogoutLink,
.schoolName,
.loginInfo,
.clpHeaderLinkText.d-none.d-sm-inline{
  color:#457990 !important;
  font-family:'Open Sans', sans-serif;
}

/* ===================================================================================== */
/*                             HIDDEN CONTENT AREAS                                     */
/* ===================================================================================== */
#existingStudentDiv .card.card-body.sectionHeader,
#newStudentDiv .card.card-body.sectionHeader,
#instructorProfileAddressInfoContainer,
#pageCourseProfile .courseCode,
#pageCourseProfile .nameAndCodeSeparator{
  visibility:hidden !important;
  display:none !important;
}


/* ===================================================================================== */
/*                             MAKING SEARCH BUTTON MATCH RESET                          */
/* ===================================================================================== */

#buttonSearch {
  background-color: #6C757D !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#buttonSearch:hover,
#buttonSearch:focus,
#buttonSearch:active {
  background-color: #5A6268 !important;
  border-color: #5A6268 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* ================================================================ */
/*   Force Advanced Course Search to white text + match buttons     */    
/* ================================================================ */   

a#buttonAdvancedCourseSearch,
a#buttonAdvancedCourseSearch:visited {
  background-color: #6C757D !important;
  border-color: #6C757D !important;
  color: #ffffff !important;
  text-decoration: none !important;

  outline: none !important;
  box-shadow: none !important;
}

/* Hover / focus / active (match Reset hover behavior) */
a#buttonAdvancedCourseSearch:hover,
a#buttonAdvancedCourseSearch:focus,
a#buttonAdvancedCourseSearch:active {
  background-color: #5A6268 !important;
  border-color: #5A6268 !important;
  color: #ffffff !important;
  text-decoration: none !important;

  outline: none !important;
  box-shadow: none !important;
}

/* If the blue outline is coming from focus-visible */
a#buttonAdvancedCourseSearch:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove extra footer spacing on specific pages */

#pageContentManagementItemContentCM000012 #mainContentWrapper::after,
#pageContentManagementItemContentCM000013 #mainContentWrapper::after,
#pageContentManagementItemContentCM000014 #mainContentWrapper::after,
#pageContentManagementItemContentCM000015 #mainContentWrapper::after,
#pageContentManagementItemContentCM000016 #mainContentWrapper::after,
#pageContentManagementItemContentCM000017 #mainContentWrapper::after,
#pageContentManagementItemContentCM000018 #mainContentWrapper::after,
#pagePublicHome #mainContentWrapper::after {
  display: none !important;
  height: 0 !important;
}