/* Imported DM Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* I Loaded in PP Fragment Glare Light from SIR site */
@font-face {
  font-family: 'PP Fragment Glare';
  src: url('https://www.sirweb.org/assets/SirWeb/fonts/PPFragment-Glare/PPFragment-GlareLight.woff2?v=2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/*rem=16px*/
html {
  font-size: 16px;
}

/* PP Fragment font family has to be used and spelled as listed below- copy and paste for future use to ensure accurate font loading */
h1{
  font-family: 'PP Fragment Glare', montserrat, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 2rem !important;
  line-height: 145%;
  color: #041E42;
}
h2{
  font-family: 'PP Fragment Glare', montserrat, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 145%;
  color: #041E42;
}
h3{
  font-family: 'PP Fragment Glare', montserrat, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 145%;
  color: #041E42;
}
body h4 {
  font-family: 'PP Fragment Glare', montserrat, sans-serif;
  font-size: 1.2rem;
  font-weight: normal;
}
body h5 {
  font-family: 'PP Fragment Glare', montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
h5.catalog-title {
  font-weight: 500 !important; 
  font-family: 'DM Sans', Arial, sans-serif !important;
  line-height: 145%;
  font-size: 1.1rem;
}
/* Overall UI Text Font- DM sans */
body, button, label, input, select, textarea, .group-credits .course-credit-title, #block-course-navigation #course-nav li a, .group-right .group-course-summary legend span, .field-name-add-to-calendar .field-label, .group-event-location .group-event-date .field-label, label.option, .course-sidebar .webform-client-form label, #ctc-followup-form label, #ctc-submission-form label, div.quiz-report .quiz-report-question-header h3, div.quiz-report .quiz-report-response-header, #pre-req-courses .item-content .req-status, #content-area thead th:first-child, #content-area .view-ethosce-catalog .catalog-list-row, #ethosce-courses-push-enable, #content-area .field-name-field-faculty-list .view-faculty-bios{
  font-family: 'DM Sans', Arial, sans-serif !important;
  text-transform: none; 
  font-weight: normal;
  font-size: 1rem;
  line-height: 175%;
}
/*nav menu styling*/
ul.menu a {
  color: #092a5a;
  text-decoration: none !important;
  border-bottom: 2px solid transparent !important;
  transition: color 0.3s ease, border-bottom-color 0.3s ease !important;
}
#header {
    background-color: #ffffff;
    border-top: 6px solid #092a5a;
}
a#logo{
 border: none !important;
 outline: none !important;
 text-decoration: none !important;
}

ul.menu a:hover {
  color: #78BE20 !important;
  border-bottom-color: #78BE20 !important;
}
/* Body Styling */
body {
  position: relative;
  background: linear-gradient(135deg, #F4F4F4 50%, #FFFBF4 100%);
  background-repeat: no-repeat;
  background-size: 100% auto;
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

/* Background ellipse shape */
body::after {
  content: "";
  position: absolute;
  top: 25vh;
  left: 0;
  width: 70vw;
  max-width: 1100px;
  height: auto;
  aspect-ratio: 1 / 1;
  background-image: url("https://raw.githubusercontent.com/SIRcweber/blobImg/main/Bg%20Shape%201.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top left;
  z-index: -1;
  pointer-events: none;
}

/* Additional paragraph and list styling */
body p {
  color: #000000;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
}
body li {
  color: #000000 !important;
  font-size: 1rem;
}
body p.b {
  color: #000000;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

/* Card Hover Styling (hover green) */
.col-1.col-first,
.col-2,
.col-3 {
  background-color: white;
  transition: background-color 0.3s ease-in-out;
  position: relative;
  cursor: pointer;
}

.col-1.col-first .views-field-field-course-image-cards,
.col-2 .views-field-field-course-image-cards,
.col-3 .views-field-field-course-image-cards {
  background-color: transparent !important;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.col-1.col-first:hover,
.col-2:hover,
.col-3:hover {
  background-color: #E3EBD8;
  transition: background-color 0.3s ease-in-out;
}
/*hover green*/
a:hover {
  color: #78BE20;
}
.page-course-catalog-table .region-sidebar-first h3, .page-course-catalog-list .region-sidebar-first h3, .page-course-catalog-cards .region-sidebar-first h3 {
    color: #092a5a;
    font-weight: normal;
    margin-bottom: 5px;
}
/*register button styling*/
#content-area .resp-tabs-list li a.group-register {
    background-color: #78BE20 !important;
}
/*disclaimer box*/
div.pane-content{
  font-size: .9rem !important;
}
/* Footer Styling */
footer {
  position: relative;
  padding-top: 10px;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: green;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
footer a {
  color: #092a5a !important;
  transition: color 0.3s ease;
  font-size: 1rem !important;
 /*border-bottom: 2px solid transparent;*/
}
footer a:hover {
  color: #78BE20 !important;
  /*border-bottom-color: #78BE20;*/
}

/*remove borders on logo images*/
img {
 border: none !important;
}