/****************************************/
/****************************************/
/** Australian Nursing & Midwifery Education Centre **/
/*
 * 
 *  Author: CAUSEIS PTY LTD 
 * 
 *  Version: 1 -   
 *
 * 
 *  Document contains changes to Typography
 *
 *
*/
/****************************************/
/****************************************/

body,
p,
a,
p a,
input,
button,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.PageTitle,
.PanelTitle,
.SectionTitle,
.SectionLabel,
.SectionLabelSmaller,
.carousel h1,
.carousel h2,
.carousel h3,
.carousel h4,
.carousel h5 {
  font-family: "Geist" !important;
}

ul,
ol {
  margin-bottom: 1em;
}

body div[id*="_Panel_"],
body div[id*="_Panel_"] p,
body div[id*="_Panel_"] p a {
  font-size: 1.6rem;
}

body *:is(h1, .h1, .PageTitle) {
  color: var(--primary-color);
  font-size: 3.7rem;
  font-weight: 500;
  letter-spacing: -0em;
}

body *:is(h2, .h2, .PanelTitle) {
  color: var(--secondary-color);
  font-size: 3.2rem;
  font-weight: 400;
  letter-spacing: -0em;
  border: none !important;
}

body *:is(h3, .h3, .SectionTitle) {
  color: var(--tertiary-color);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: -0em;
}

body *:is(h4, .h4, .SectionLabel) {
  color: var(--primary-color);
  font-size: 2.3rem;
  font-weight: 400;
  letter-spacing: -0em;
}

body *:is(h5, .h5) {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0em;
}

body *:is(h6, .h6) {
  color: var(--tertiary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

:is(.col-primary *):is(h1, h2, h3, h4, h5, h6, p):is(
    .iMIS-WebPart div[id*="_Panel_"] *
  ) {
  margin-bottom: 1.5rem;
}

:is(.col-primary *):is(h1, h2, h3, h4, h5, h6, p):is(
    .iMIS-WebPart div[id*="_Panel_"] *
  ):last-child {
  margin-bottom: 0rem;
}

:is(.col-primary *):is(h1, h2, h3, h4, h5, h6, p):is(
    .iMIS-WebPart div[id*="_Panel_"] *
  ):nth-last-child(2):has(+ .cta-link) {
  margin-bottom: auto;
}

:is(.col-primary *):is(
    body a,
    p a,
    .iMIS-WebPart div[id*="_Panel_"] a,
    p a
  ):not(.Button):not(.button):not(.PrimaryButton):not(.TextButton):not(
    .btn
  ):not(.rcCalPopup):not(.rgHeader a):not(div[id*="AddToCartDiv"] a),
body
  div[id*="_Panel_"]
  p
  a:not(.Button):not(.button):not(.PrimaryButton):not(.TextButton):not(
    .btn
  ):not(.rcCalPopup),
body
  div[id*="_Panel_"]
  a:not(.Button):not(.button):not(.PrimaryButton):not(.TextButton):not(
    .btn
  ):not(.rcCalPopup) {
  color: var(--black-color);
  /* font-weight: 500; */
  /* text-decoration: none; */
}

:is(.col-primary *):is(
    body a,
    p a,
    .iMIS-WebPart div[id*="_Panel_"] a,
    p a
  ):not(.Button):not(.button):not(.PrimaryButton):not(.TextButton):not(
    .btn
  ):not(.rcCalPopup):not(.rgHeader a):not(div[id*="AddToCartDiv"] a):hover,
body
  div[id*="_Panel_"]
  p
  a:not(.Button):not(.PrimaryButton):not(.TextButton):not(.btn):not(
    .TextButton
  ):not(.button):hover,
body
  div[id*="_Panel_"]
  a:not(.Button):not(.button):not(.PrimaryButton):not(.TextButton):not(
    .btn
  ):not(.rcCalPopup):hover {
  text-decoration: underline;
  color: var(--black-color);
}

.RadGrid a,
.RadToolTip a {
  color: var(--black-color) !important;
  text-decoration: underline;
}

.RadGrid a:is(:active, :hover, :focus, :visited),
.RadToolTip a:is(:active, :hover, :focus, :visited) {
  color: var(--black-color) !important;
  text-decoration: underline;
}
