/*
  UNSW Theming
*/

@font-face {
  font-family: Sommet;
  src: url("/static/fonts/SommetFullFamily/SommetRegular.otf");
}

/*@font-face {
  font-family: Sommet;
  src: url('/static/fonts/SommetFullFamily/SommetBlack.otf');
  font-weight: 500;
}
*/

@font-face {
  font-family: Sommet;
  src: url("/static/fonts/SommetFullFamily/SommetBold.otf");
  font-weight: bold;
}

@font-face {
  font-family: Sommet;
  src: url("/static/fonts/SommetFullFamily/SommetItalic.otf");
  font-style: italic;
}

@font-face {
  font-family: Sommet;
  src: url("/static/fonts/SommetFullFamily/SommetBoldItalic.otf");
  font-style: italic;
  font-weight: bold;
}

@font-face {
  font-family: Clancy;
  src: url("/static/fonts/Clancy/Clancy-Regular.otf");
}

@font-face {
  font-family: ClancyBold;
  src: url("/static/fonts/Clancy/Clancy-Bold.otf");
  font-weight: bold;
}

@font-face {
  font-family: Roboto;
  src: url("/static/fonts/Roboto/Roboto-Regular.ttf");
}

@font-face {
  font-family: RobotoBold;
  src: url("/static/fonts/Roboto/Roboto-Regular.ttf");
  font-weight: bold;
}

body {
  font-family: Roboto, sans-serif, Arial, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

/*
  Typeface
*/

.h1,
h1 {
  font-family: Clancy, sans-serif;
  font-weight: 700;
  line-height: normal;
  font-size: 3.25rem;
}

@media only screen and (max-width: 768px) {
    .h1,
    h1 {
      font-size: 2.4rem;
    }
}

@media only screen and (max-width: 667px) {
    .h1,
    h1 {
      font-size: 2rem;
    }
}

h1 small {
  font-size: 0.7em;
  font-weight: bold;
}

.h2,
h2 {
  font-family: Clancy, sans-serif;
  font-weight: bold;
  font-size: 1.625rem;
  padding: 0 0 0.5rem 0;
}

.subheadline {
  /* font-family: ClancyBold,sans-serif;
  font-weight: bold;
  font-size: 1.625rem;*/
  font-size: 1.5rem;
}

.h3,
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h4 {
  font-weight: normal;
  font-size: 1.188em;
  line-height: 1.65;
}

ul.nostyle {
  list-style: none;
  padding-left: 16px;
  padding-right: 16px;
}

.small-text {
  font-size: 14px;
}


/*
UNSW Site Header theming
*/

.header-wrapper {
  /* border-bottom: 10px solid #FFE600; */
  border-bottom: 1px solid #efefef;
}

.header-container {
  padding-top: 20px;
  padding-bottom: 20px;
  /* height: 110px; */
}

#header-unsw-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.unsw-logo {
  display: block;
  width: 170px;
  height: 74px;
  margin: auto;
}

.unsw-logo a {
  display: block;
  width: 170px;
  height: 74px;
  padding: 0.25rem 0;
  margin: 0.5rem auto;
}

.site-name {
  margin-left: auto;
  line-height: 6rem;
  max-width: 36rem;
  text-align: center;
}

.site-name a {
  color: #333;
  display: inline-block;
  margin: 0 0 0.5rem;
}

.site-name a h2 {
  color: #333;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.75rem;
  padding-bottom: 0;
}

.faculty-name {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  padding-top: 5px;
}

.site-name a,
.site-name a:hover,
.site-name a:active {
  color: #333;
  text-decoration: none;
}

.block-text {
  margin-top: 2rem;
  padding: 2rem;
  word-wrap: break-word;
  background: #f9f9f9;
  border: solid 1px #f9f9f9;
}

.dropdown-item {
  font-family: Clancy, sans-serif;
  font-size: 1.125rem;
}

.dropdown-item:focus,
.dropdown-item:hover {
  text-decoration: underline;
  background: #e2e7f6;
}
.alert a,
.alert a:hover,
.alert a:active {
  text-decoration: underline;
}

.submenu-toggle {
  float: right;
  position: relative;
  top: -3px;
  font-size: 1rem;
  padding: 0;
}

.select2-container .select2-selection--single {
  height: calc(2.25rem + 2px) !important;
  background: #fff !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
}

#div_id_high_school div span.select2 span.custom_select {
  height: calc(2.25rem + 2px) !important;
}
/* .submenu-toggle::after {
  font-family: "FontAwesome";
  font-weight: 400; 
  content: "\f107";
} */

.dropdown-toggle::after {
  display: none;
}

.row-xs-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 992px) {
  .row-sm-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #header-unsw-branding {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
  }

  #header-nav-bar ul li a.nav-link {
    font-size: 0.875rem;
    color: #737373;
    padding: 0.5rem;
    /* margin: 0 1.75rem 0 0; */
    border-bottom: 0;
    font-family: "Roboto Mono", monospace;
  }

  .dropdown-menu {
    border-radius: 0;
    border-top: 0.0625rem solid #efefef;
    box-shadow: 0 1rem 1.25rem 0 rgba(0, 0, 0, 0.25);
    margin: 0rem;
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    z-index: 1010;
    width: 100%;
    background: #e2e7f6;
    min-width: 15rem;
  }

  .dropdown:hover > div.dropdown-menu {
    display: block;
  }

  .dropdown-toggle::after {
    display: inline-block;
  }
}
@media (min-width: 992px) {
  .row-md-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-container {
    margin-top: 3rem;
  }
}
@media (min-width: 1200px) {
  .row-lg-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.affix {
  top: 0;
  width: 100%;
}

.affix + .container {
  padding-top: 50px;
}

/* Main navigation */
/* .navbar-expand-lg .navbar-toggler {
  display: block;
}

@media(min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
} */

.main-nav {
  background-color: #231f20;
}

.main-nav .container {
  padding-left: 0px;
  padding-right: 0px;
}

#main-navbar .navbar-nav .nav-link {
  color: #fff;
  font-size: 1.125rem;
  /* font-family: "Roboto Mono",monospace; */
  font-family: Clancy;
}

#main-navbar .navbar-nav .nav-link:hover {
  /* color: #FFE600; */
  text-decoration: underline;
}

#main-navbar .navbar-nav .active > .nav-link,
#main-navbar .navbar-nav .nav-link.active,
#main-navbar .navbar-nav .nav-link.show,
#main-navbar .navbar-nav .show > .nav-link {
  /* color: #FFE600; */
  text-decoration: underline;
}

.navbar {
  z-index: 1000;
}

.navigation {
  background-color: #f25c6d;
  width: 100%;
  /* float: right; */
}
.navigation-list {
  float: right;
  list-style: none;
}

.navigation-list li {
  margin: 1rem;
}

.navigation .container .navigation-list a.navigation-link {
  position: relative;
  z-index: 1;
}

a.navigation-link {
  width: 100%;
}

/* spacing between nav items */
@media (min-width: 992px) {
  .unsw-logo {
    margin: inherit;
  }

  .site-name {
    margin-left: 3rem;
    text-align: left;
  }

  .main-nav {
    background-color: #f9f9f9;
  }

  #main-navbar .navbar-nav .nav-link {
    color: #333;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5625rem;
    padding-left: 1.5625rem;
  }

  /* #content-header-body {
    padding: 10rem 10rem 10rem 2rem !important;
  }  */

  .container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .navigation {
    min-height: 5.25rem;
  }

  .navigation-list {
    height: 5.25rem;
    display: flex;
  }
}

.site-footer {
  color: #aaa;
  background-color: #222;
  padding-top: 50px;
  padding-bottom: 50px;
}

.main-container {
  /* padding-top: 20px; */
  /* padding-bottom: 100px; */
  margin-top: 0rem;
}

.main-container #content-header {
  background: #333;
  background-size: cover;
  color: #ffffff;
  height: 420px;
  display: flex;
  flex-direction: column;
}

@media(max-width: 768px) {
    .main-container #content-header {
        height: 210px;
    }   
}
.content-header-wrapper {
  padding: 1.5rem;
}

#content-header-body {
    min-height: 3rem;
    width: 80%;
    top: 18rem;
    position: relative;
}

@media only screen and (max-width: 768px) {
    #content-header-body {
        top: 8rem;
    }
}

/* @media only screen and (max-width: 667px) {
    #content-header-body {
        top: 6rem;
    }
} */

#content-body-intro-block-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 0;
  padding: 2rem;
  position: relative;
  word-wrap: break-word;
}

.no-breadcrumb {
  top: 16rem !important;
}

@media only screen and (max-width: 768px) {
    .no-breadcrumb {
        top: 6rem !important;
    }
}

@media only screen and (max-width: 667px) {
    .no-breadcrumb {
        top: 5rem !important;
    }
}

.light-yellow {
  background: lightyellow;
}

.light-purple {
  background: #eee9f7;
}

.light-pink {
  background: #feeff4;
}

.mauv {
  background:rgb(252, 141, 154, 0.6);
  color: #333;
}

.unsw-blue {
    background: #c0e5f6;
    color: #333;    
}

.unsw-light-blue {
    background: #e4f4fb;
    color: #333;    
}

.medium-grey {
  background: #ccc;
  color: #333;
}

.light-grey {
  background: #f9f9f9;
}

.pink-red {
  background: #f25c6d;
  color: #fff;
}

.maroon {
  background: #AE0000;
  color: white;
}

.purple {
  background: rgba(138, 104, 200, 0.5);
  color: #333;
}
.light-red {
  background: rgba(217, 17, 40, 0.8);
  color: #fff;
}
.light-amber {
  background: rgba(255, 191, 0, 0.5);
  color: #333;
}
.light-green {
  background: rgba(42, 140, 22, 0.5);
  color: #333;
}

.dark-grey {
  background: #333;
  color: white;
}

.banner-page .main-container {
  padding-top: 0px;
}

.banner-page .banner-text .rich-text .richtext-image.full-width {
  width: 30% !important;
}

.white-text {
  color: #fff;
}

.black-text,
.black-text .breadcrumb li,
.black-text .breadcrumb-item + .breadcrumb-item::before,
.black-text .breadcrumb li a {
  color: #333;
}

.panel {
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  padding: 0.5rem;
}
.panel > a.accordion-toggle {
  color: #333;
}

.panel > a.accordion-toggle .panel-title:after {
  content: "\f067"; /* fa-chevron-down */
  font-family: "FontAwesome";
  position: absolute;
  right: 1.5rem;
}
.panel > a.accordion-toggle[aria-expanded="true"] .panel-title:after {
  content: "\f068"; /* fa-chevron-up */
}

a.accordion-toggle .panel-title:after {
  content: "\f067"; /* fa-chevron-down */
  font-family: "FontAwesome";
  position: absolute;
  right: 1.5rem;
}
a.accordion-toggle[aria-expanded="true"] .panel-title:after {
  content: "\f068"; /* fa-chevron-up */
}

.vcenter {
  /*    display: inline-block;
    vertical-align: middle;
    float: none;*/
  display: flex;
  align-items: center;
}

.home-page-links a {
  color: #333;
  text-decoration: none;
  display: block;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

.home-page-links a:hover {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.home-page-links h3 {
  margin-top: 10px;
}

.home-page-link-circle {
  background-color: #fc0;
  height: 100px;
  width: 100px;
  border-radius: 50%;
}

.template-homepage .galleria,
.template-homepage .intro-text {
  margin-bottom: 15px;
}

.two-column-richtext-block .col p:first-child:empty {
  /* Bug in wagtail draftjs creates a <p> in front of images if image is
  the first element in the editor. */
  display: none;
}
#homepage-welcome-message {
  background: #ffdc00;
  padding: 2rem 11rem;
}
.intro {
  background: #ffdc00;
  padding: 2rem;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .intro {
    column-count: 2;
    padding: 2rem 11rem;
  }

  .main-container {
    margin-top: 0rem;
  }
}
/* Blockquote */
/* blockquote {
  background: #f9f9f9;
  padding: 2rem;
  margin: 2rem 0;
  border-left: solid 0.5rem #5a2f3d;
  font-style: italic;
} */

blockquote {
  font-size: 1.4em;
  margin: 50px auto;
  font-style: italic;
  color: #333;
  padding: 1.2em 30px 1.2em 75px;
  margin: 2rem 0;
  border-left: solid 0.5rem #a04e69;
  line-height: 1.6;
  position: relative;
  background: #f9f9f9;
}

blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: #a04e69;
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

/* Cards */
.card {
  border: none;
}
a.card {
  color: #262626;
}

a.card:hover {
  text-decoration: none;
}

.card-header:first-child {
  border-radius: 0;
}

.card,
.card-img-top {
  border-radius: 0;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  position: relative;
  top: -2rem;
  width: calc(100% - 1rem);
  margin-bottom: -2rem;
  left: 1rem;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  flex-direction: column;
}

.card-title-link {
  font-family: "Clancy";
  color: #333;
}

.card-readmore-link {
  color: #333;
  font-weight: bold;
}
/* IFRAME */
.block-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.block-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.block-two_column_block iframe {
  width: 100%;
  height: 100%;
}

.cursor-pointer {
  cursor: pointer !important;
}

/* Standard button */
.btn {
  font-family: "Roboto Mono", monospace;
  /* font-weight: 600; */
  padding: 0.6rem 2rem;
  color: #000000;
  background-color: #ffffff;
  border-radius: 0;
  border: 1px solid #333;
  /*text-transform: uppercase;
  font-size: 0.875rem; */
  min-width: 240px;
}

.btn:after {
  content: "\f054";
  font-family: "FontAwesome";
  display: inline-flex;
  align-items: center;
  height: 15px;
  margin-left: 1rem;
  font-size: 0.8rem;
}

.btn-back:before {
    content: "\f053";
    font-family: "FontAwesome";
    display: inline-flex;
    align-items: center;
    height: 15px;
    margin-right: 1rem;
    font-size: 0.8rem;
}

.btn-back:after {
    content: none;
}

.btn-primary {
  border: 1px solid #333;
  background-color: #ffe600;
}

.btn-primary:hover:enabled,
.btn-primary:active:enabled {
  background-color: #ccb800;
  color: #000;
}

.btn:hover,
.btn:active,
.btn-primary.focus,
.btn-primary:focus {
  cursor: pointer;
  background-color: #333;
  color: #fff;
  border-color: #000;
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #ccb800;
  color: #000;
}

.btn.disabled,
.btn:disabled {
  opacity: 0.4;
}

.btn-link {
  background-color: transparent;
  color: #007bff;
  border: 0;
  text-transform: none;
  font-weight: 400;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  min-width: 0;
}

.btn-link:hover {
  background-color: transparent;
  color: #007bff;
}

.btn-small {
  min-width: 120px;
}

.btn i {
  margin-left: 1.5rem;
}

.btn-upload {
  font-family: "Roboto Mono", monospace;
  padding: 0.6rem 2rem;
  color: #000000;
  background-color: #ffffff;
  border-radius: 0;
  border: 1px solid #eee9f7;
  background-color: #eee9f7;
}

.btn-upload:after {
  content: "\f093"; /*"\f574" - file upload*/
  font-family: "FontAwesome";
  display: inline-flex;
  align-items: center;
  height: 15px;
  margin-left: 1rem;
  font-size: 0.8rem;
}

.background-purple-hue {
  background-color: #eee9f7;
}

.btn-purple {
  background-color: #eee9f7;
  border: solid 1px #eee9f7 !important;
}

.btn-purple:hover {
  background-color: #eee9f7 !important;
  border: solid 1px #eee9f7 !important;
  cursor: pointer;
  color: #000 !important;
}

.btn-purple-border {
  background-color: #eee9f7;
  border: solid 1px #ccc !important;
}

.btn-purple-border:hover {
  background-color: rgba(138, 104, 200,0.7)!important;
  border: solid 1px rgba(138, 104, 200,0.7) !important;
  cursor: pointer;
  color: #000 !important;
}

.btn-unsw-light-blue-border {
  background-color: #e4f4fb;
  border: solid 1px #ccc !important;
}

.btn-unsw-light-blue-border:hover {
  background-color: #c0e5f6!important;
  border: solid 1px #8fd1ef !important;
  cursor: pointer;
  color: #000 !important;
}

.btn-dark,
.btn-dark:hover {
  background: #333;
  color: #fff;
  border: solid 1px #333 !important;
}

.btn-pink-red,
.btn-pink-red:hover {
  background-color: #f25c6d;
  border: solid 1px #fff !important;
  color: #fff;
}

.btn-pink {
  background-color: #feeff4;
  border: solid 1px #ccc !important;
}
.btn-pink:hover {
  background-color: #feeff4 !important;
  border: solid 1px #ccc !important;
  cursor: pointer;
  color: #000 !important;
}

.btn-red,
.btn-red:hover {
  background-color:#ff635d;
  border: solid 1px #fff !important;
  color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}


.purple-border {
  border: solid 1px #eee9f7;
}
/*
img {
	padding-bottom: 1rem;
  padding-top: 1rem;
}
*/

.breadcrumb {
  padding: 0 0 0.75rem 0;
  background-color: transparent;
  border-radius: 0;
}

.breadcrumb li {
  /* font-size: 0.8rem;
  text-transform: uppercase; */
  align-items: center;
  display: flex;
  font-family: Clancy, sans-serif;
  font-size: 1rem;
  color: #fff;
}

.breadcrumb li a {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #fff;
  content: "/";
}

/* please remove the below on the .row class - it is pulling the content out of alignment with the header */
/* .row{
	  margin-right: -15px; 
    margin-left: -15px; 
} */

.jumbotron {
  /* Add extra padding to jumbotron. */
  padding-top: 6rem;
  padding-bottom: 6rem;
  margin-bottom: 0rem;
}

/*  Is there a way we can change the padding of the first settion on each page? i.e. give it a class of some sort? The intro paragraphs are too far down - please apply this to the first section on each page: */
/* Leaving this out for now... can use the Intro page. */
.-newClass-.pt-5,
.-newClass-.py-5 {
  padding-top: 1rem;
}

#content-header .subtitle-1 {
  font-family: ClancyBold, sans-serif;
  font-weight: bold;
  font-size: 1.625rem;
}

#content-header .subtitle-2 {
  font-weight: 600;
}

/* Section (pre) Footer styling for Makerspace & Hub specific bottom menus. */
.subsite-footer {
  font-weight: bold;
  background-color: #3e3d3d;
  color: #fff;
}

.subsite-footer .menu-title {
  font-family: Clancy, sans-serif;
  padding-bottom: 1em;
  display: block;
}

.subsite-footer a {
  color: #fff;
  font-size: 0.8em;
}

.subsite-header {
  background-color: #ffe600;
}

.subsite-header h1 {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.2em;
  padding: 20px 0;
  font-weight: normal;
  margin-bottom: 0;
}

/* .carousel-inner .carousel-item {
  transition: transform .2s ease-out;
} */
.carousel-inner .active {
  transition: transform 0.4s ease;
}

.carousel-inner {
  padding-bottom: 40px;
}

/* .carousel-indicators {
  position: relative;
  bottom: 1rem;
} */

.carousel-indicators li {
  border-radius: 10px;
  border: 1px solid #212529;
  width: 10px;
  height: 10px;
  background-color: transparent;
}
.carousel-indicators .active {
  background-color: #212529; /*transparent;*/
}

.course-module-groups .module-name,
.course-module-groups .completed-info {
  font-weight: bold;
}

.find-us-block {
  overflow-x: hidden;
}

.input-group-append .btn {
  padding: 0.375rem 0.75rem;
  min-width: auto;
}

.collapsible .card-title {
  cursor: pointer;
}
.collapsible .card-title::after {
  content: "\f107";
  color: #333;
  top: 20px;
  right: 20px;
  position: absolute;
  font-family: "FontAwesome";
}

.card-title[aria-expanded="true"]::after {
  content: "\f106";
}

/* Training log styles */
.training-log-entry .label {
  font-weight: bold;
}

.training-log-entry > .label:after {
  content: ": ";
}

.training-log-entry .btn-link {
  padding: 0;
  border: 0;
  background-color: transparent;
  min-width: auto;
}
.training-log-entry .card-title {
  margin-bottom: 0;
}

.training-log-entry .list-group .label {
  display: block;
}
.training-log-entry .list-group .help-text {
  font-weight: normal;
  font-style: italic;
}

.fake-more-link {
  text-decoration: underline;
}

/* Lab List Block styling */
.lab-list-block h2 {
  text-align: center;
}

.lab-list-block .card {
  height: 100%;
}

.lab-list-block a:hover {
  text-decoration: none;
}

@media (min-width: 768px) {
  .makerspace-list-item .description {
    column-count: 2;
  }
}

.badge-training-table {
  font-size: small;
}
.badge-training-table .btn {
  min-width: auto;
}

.user-profile-info .profile-image {
  margin-right: 10px;
}

.profile-badges img {
  margin: 1rem;
}

.profile-badges a.card:hover {
  text-decoration: none;
}

.profile-badges .card-title {
  font-size: 1em;
  margin-bottom: 0.3em;
}
.profile-badges .small {
  font-size: 70%;
}
/* Fullcalendar styling */

.calendar .fc-event {
  cursor: pointer;
}

/* Hide half hourly grid lines */
.calendar .fc-time-grid .fc-slats .fc-minor td {
  border-top-style: none;
}

/* bold time */
.calendar td.fc-time span {
  color: #707070;
  font-weight: 600;
}
/* buttons */
.calendar .fc-state-default {
  background-color: #ffffff;
  background-image: none !important;
  border-color: #e8e9ec !important;
  color: #333;
  text-shadow: none !important;
  box-shadow: none !important;
}

.calendar .fc-state-down,
.fc-state-active {
  background-color: #f5f5f5 !important;
}

/* day headers */
.calendar .fc-day-header {
  height: 50px;
  vertical-align: middle;
}

/* datatable styling */

table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > td:first-child:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > th:first-child:before {
  height: 20px !important;
  width: 20px !important;
  font-size: 22px !important;
  line-height: 22px !important;
  font-weight: 600;
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Upcoming Events Block */

.upcoming-events-block .event-item {
  background: #fff;
  border: 1px solid #999;
  margin-bottom: 5px;
  border-radius: 5px;
}

.upcoming-events-block a {
  color: #212529;
}

.upcoming-events-block a:hover {
  text-decoration: none;
}

.upcoming-events-block .event-item > div {
  padding: 1.2em;
}

.upcoming-events-block .event-date {
  text-align: center;
  background-color: #eee;
  border-radius: inherit;
}

.upcoming-events-block .event-date .day {
  font-size: 1.5em;
  font-weight: bold;
  display: block;
  line-height: 1em;
}

.upcoming-events-block .event-date .month {
  text-transform: uppercase;
  display: block;
}

.upcoming-events-block .event-title {
  font-weight: bold;
}

.upcoming-events-block .seats-remaining {
  font-weight: bold;
}

@media (max-width: 768px) {
  .block-two_column_block iframe {
    width: 100%;
    height: 100%;
  }

  .card-img-top {
    height: 186px;
  }

  .tab-block .tab-content > .tab-pane {
    display: block !important;
    opacity: 1;
  }

  table {
    width: 100% !important;
    margin: 1em 0;
  }

  .content-header-wrapper {
    padding: 0.5rem;
  }

  .modal-footer .btn {
    min-width: auto;
    display: block;
  }
}

.page-item.active .page-link {
  background-color: #000000;
  border-color: #000000;
}
.page-link {
  color: #000000;
}
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/** Badge list page - Badge Detail */
.badge-list-page-badge-detail .alert-primary {
  color: #000;
  background-color: #ffe600;
  border-color: #000;
  font-weight: 600;
}

.badge-list-page-badge-detail .alert {
  position: relative;
  padding: 1.3rem 2rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0;
  margin: 30px 0;
}

.badge-list .card {
  height: 100%;
}

.comments .card > .card-header:after,
.comments .card > .card-header:before {
  position: absolute;
  top: 11px;
  left: -16px;
  right: 100%;
  width: 0;
  height: 0;
  display: block;
  content: " ";
  border-color: transparent;
  border-style: solid solid outset;
  pointer-events: none;
}
.comments .card > .card-header:after {
  border-width: 7px;
  border-right-color: #f7f7f7;
  margin-top: 1px;
  margin-left: 2px;
}
.comments .card > .card-header:before {
  border-right-color: #ddd;
  border-width: 8px;
}

/* Wagtail responsive styling */
.rich-text img {
  max-width: 100%;
  height: auto;
}

.richtext-image.full-width {
  width: 100%;
  margin-left: 0;
  height: auto;
}

.richtext-image.left {
  float: left;
}

.richtext-image.right {
  float: right;
}

.richtext-image.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* .block-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
} */

.block-raw_html {
  width: 100%;
  display: flex;
}

.responsive-object {
  position: relative;
  clear: both;
}

.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news-page .body > div {
  margin-top: 1em;
}

.news-page .body .block-image img {
  width: 100%;
  height: auto;
}
.image-thumbnail {
  width: 160px;
  height: 160px;
}

.video-thumbnail {
  position: relative;
}
.video-thumbnail:before {
  content: "\f04b";
  font-family: FontAwesome;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  color: #eee;
  font-size: 30px;
}

.steps-block .card {
  height: 100%;
  border-color: black;
}

.step-number {
  display: block;
}
.step-header {
  background-color: #ffe600;
  width: 100%;
  font-weight: bold;
}

.step-content {
  width: 100%;
}

.tab-block .nav-tabs {
  display: none;
}

@media (min-width: 768px) {
  .block-two_column_block iframe {
    width: 100%;
    height: 400px;
  }

  .tab-block .nav-tabs {
    display: flex;
  }

  .tab-content > .tab-pane.card {
    border: none;
  }

  .tab-content > .tab-pane.card > .card-header {
    display: none;
  }

  .tab-content > .tab-pane.card > .collapse {
    display: block;
  }
}

.table td,
.table th {
  vertical-align: middle;
  word-wrap: break-word;
}

.table {
  border-collapse: separate;
  border-spacing: 0;
}

/*
  These are used for handling margins between Wagtail blocks.
  Currently only applies to the tab-block!
*/
.tab-block .block {
  margin-bottom: 30px;
}

.tab-block .block:last-child {
  margin-bottom: 0;
}

.tablesaw-stack td {
  border-top: 0;
}

/**Dialog*/
.modal-message {
  top: 30%; 
}

.modal-dialog {
  background: #f9f9f9;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: auto;
}

.modal-header {
  cursor: pointer !important;
}

.profile-banner-info {
  font-size: 1rem;
}
.profile-banner-info a {
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .profile-banner-info a {
    font-size: 1rem;
  }
}

.profile-detail .main-container {
  /* margin-top: 2rem; */
  font-size: 1rem;
}

.profile-banner-info .contact-email {
  font-size: 1rem;
}
.profile-banner-info .contact-email a {
  color: #fff;
}
/* #profile-image-div {
  border-radius: 50%;
  height: 11rem;
  overflow: hidden;
  width: 10rem;
  border: solid 2px #333;
} */
#profile-image-div img {
  border-radius: 50%;
  /* border: solid 2px #333; */
  overflow: hidden;
  display: flex;
  align-items: center;

}
/* .profile-edit .main-container {
  margin-top: 1rem;
} */

/* .profile-edit #div_id_profile_image label[for="id_profile_image"] {
  display: none;
} */



.profile-edit .studentprofile-form .form-group > label {
  font-family: Clancy, sans-serif;
  font-size: 1.625rem;
  font-weight: bold;
}

#studentprofile-edit-tabs {
  position: -webkit-sticky;
  position: sticky;
  top: 56px;
  background: white;
  z-index: 1000000;
}

.profile-detail .banner-buttons .btn {
  margin-bottom: 5px;
  clear: both;
}

/*
  multi-step progress bar
*/
.multi-steps {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.multi-steps > li {
  counter-increment: stepNum;
  text-align: center;
  display: table-cell;
  position: relative;
  /* color: #ffee00; */
}
.multi-steps > li:before {
  content: "\f00c";
  content: "\2713;";
  content: "\10003";
  content: "\10004";
  content: "\2713";
  display: block;
  margin: 0 auto 4px;
  background-color: #ffee00;
  width: 36px;
  height: 36px;
  line-height: 32px;
  text-align: center;
  font-weight: bold;
  border: 2px solid #ffee00;
  border-radius: 50%;
}
.multi-steps > li:after {
  content: "";
  height: 2px;
  width: 100%;
  background-color: #ffee00;
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: -1;
}
.multi-steps > li:last-child:after {
  display: none;
}

.multi-steps > li.is-active:before {
  content: counter(stepNum);
  font-family: inherit;
  font-weight: 700;
  background-color: #ffee00;
  border-color: #ffee00;
}
/* .multi-steps > li.is-active:after {
    content: counter(stepNum);
    font-family: inherit;
    font-weight: 700;
} */

.multi-steps > li.is-active ~ li {
  color: #808080;
}

.multi-steps > li.is-active ~ li:before {
  content: counter(stepNum);
  font-family: inherit;
  font-weight: 700;
  background-color: #aaa;
  border-color: #aaa;
}

.pillar-progress-bar > li:before {
  background-color: white;
  border: 2px solid lightgrey;
  color: lightgrey;
  content: none;
}

.pillar-progress-bar > li:nth-child(1):before {
  content: "1";
}

.pillar-progress-bar > li:nth-child(2):before {
  content: "2";
}

.pillar-progress-bar > li:nth-child(3):before {
  content: "3";
}

.pillar-progress-bar > li:nth-child(4):before {
  content: "4";
}

.pillar-progress-bar > li:after {
  background-color: lightgrey;
}

.pillar-progress-bar > li.is-in-progress:before {
  border: 2px solid #f25c6d;
  color: #f25c6d;
}

.pillar-progress-bar > li.is-completed:before {
  background-color: #f25c6d;
  border: 2px solid #f25c6d;
  color: white;
  content: "\2713";
}

.pillar-progress-bar > li.is-completed:after {
  background-color: #f25c6d;
}

@media (max-width: 767px) {
  .multi-steps {
    font-size: 0.7em;
  }
}

#ajax-loader {
  position: absolute;
  top: 40%;
  right: 48%;
  width: 64px;
  z-index: 1051;
}

.modal-ajax-loader {
  height: 80px !important;
  width: 80px;
  min-height: auto;
  top: 40%;
}

.form-group label {
  font-weight: bold;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

label.custom-control-label {
  font-weight: normal;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

.alert-info {
  color: #333;
  background-color: #feeff4;
  border-color: #feeff4;
}

img.activity-group-icon {
  max-width: 110px;
  max-height: 110px;
}

.hidden {
  display: none !important;
}

.multiline-btn {
    white-space: normal;
}

.badge-image {
    width: 100px;
}

.badge-container {
    position: relative;
    z-index: 10;
}