
/* COURSE TILE for Mine Closure UBC BRIMM CSS */

:root {
  --text-gray: hsl(0, 0%, 30%);
  --yellow: hsl(39, 100%, 50%);
  --blue:  hsl(211,100%, 14%);
}
 
.box h3 {
  font-size: 1.3em;
  font-weight: 700;
}
 
.box p {
  font-size: 1em;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-gray);
}
 
.description {
  white-space: wrap;
}
 
.box a {
  text-decoration: none !important;
  color: inherit;
}
 	
.wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 24px;
  flex-flow: row wrap;
}
 
.box {
  display: flex;
  flex: 1 0 300px;
  flex-direction: column;
  max-width: 300px;
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid #5F5F5F;
}
 
.box-top {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
}
 
.box-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: 50% 20%;
}
 
.title-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.box-title {
    border-left: 4px solid var(--yellow);
    padding-left: 9px;
}
 
.button {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: auto;
  padding: 16px;
  color: #000;
  background: transparent;
  box-shadow: 0px 0px 0px 1px black inset;
  transition: background 0.4s ease;
}
 
.button:hover {
  background: var(--yellow);
 
}
 
.button2 {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: auto;
  padding: 16px;
  color: #000;
  background: transparent;
  box-shadow: 0px 0px 0px 1px black inset;
  transition: background 0.4s ease;
}
 
.button2:hover {
  background: var(--blue);
  color: aliceblue;
}

/***************** CREDS COURSE LISTINGS  ******************/
/***********************************************************/
		
 /* Accordion */
.litec-course-accordion {
  background-color: #f6f6f6;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  font-weight:700;
  transition: 0.4s;
  border-radius: 0px;
  border-left: 0.5rem solid #a23891;
  margin-bottom: 8px;
}


.litec-course-accordion:after {
  content: '\002B';
  color: black;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active-course, .litec-course-accordion:hover {
  background-color: #ebe2ea;
}
.active-course:after {
  content: "\2212";
}

.litec-course-accordion-panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* LOGO BANNER for co-branded courses */
.bannerWrap {
  display: flex;
  justify: space-between;
  align-items: stretch;
  width: 100%;
flex-direction: row;
padding: 15px 20px 30px 0 !important;
		}
 
.logobox1 {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  position: relative;
  padding: 24px;
  background: #f0f0f0;
  border-bottom: 5px solid #5F5F5F;
 }
.logobox2 {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  position: relative;
  padding: 24px;
  background: #f0f0f0;
  border-bottom: 5px solid #5F5F5F;
 }

.logobox3 {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  position: relative;
  padding: 24px;
  background: #f0f0f0;
  border-bottom: 5px solid #5F5F5F;
 }

.logobox3 img {
float:right;
}
 
/* media query for co brand logo box and UBC BRIMM tiles*/

@media (max-width: 520px) {
  .bannerWrap {
    flex-direction: column;
  }
.logobox1 {
    border:none;
  }
 }
  
@media (min-width: 320px) {
  .title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
}

@media (max-width: 520px) {
 .logobox3 img {
float: left;
}
}
@media (min-width: 460px) {
  .title-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
}
 



@media (min-width: 640px) {
  .box {
    flex-basis: calc(50% - 12px);
  }
  .title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
.logobox {
    flex-basis: calc(50% - 12px);
  }
                                }
 
@media (min-width: 840px) {
  .title-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
}
 
@media (min-width: 1024px) {
  .box {
    flex-basis: calc(33.3% - 16px);
  }
  .title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
.logobox {
    flex-basis: calc(33.3% - 16px);
  }
}
 
@media (min-width: 1100px) {
  .box {
    flex-basis: calc(25% - 18px);
  }
.logobox {
    flex-basis: calc(25% - 18px);
  }
}

/* END COURSE CSS */



.ProductEnrollment__Notice {
    color: #f0f0f0;
}

/* HERO BANNER FEATURE REGION */
#home-page .feature-region {
  height: 450px;
  background-image: url(http://resources.curtin.edu.au/assets/litec/CurtinCanvas/CanvasCatalog/catalogBanner6.jpg);
  background-size: cover;
  background-position: left;
}

@media only screen and (min-width: 1600px) {
  #home-page .feature-region {
    height: 600px;
  }
}
@media only screen and (max-width: 1699px) {
  #home-page .feature-region {
    height: 507px;
  }
}

@media only screen and (max-width: 1200px) {
  #home-page .feature-region {
    height: 450px;
  }
}

@media only screen and (max-width: 767px) {
  #home-page .feature-region {
    height: 300px;
  }
}

  @media only screen and (max-width: 320px) {
    #home-page .feature-region {
      height: 150px;
    }
}

/* Curtin footer style */
#app-footer  {
  background-color: #000000;
color:white;
}

#app-footer a  {
color:white;
}




/* TURN LOGO OFF IN LISTING INFO */
.product-account-logo {
	display: none;
}


/* ********EOI classes*********** */

/* this class is the container for the button at the top */

.litec-EOI {
	margin: 0px;
	text-align: center;
}

/* this class is the container for the EOI form at the bottom */
.litec-form {
  background: white;
  margin: 0px;
}

.litec-form h2 {
   margin: 20px 0px 10px 0px;
}

.litec-form iframe {
	margin-left: auto;
	margin-right: auto; margin-top: 0px;
	scroll-behavior: auto;
	width: 100%;
	height: 1000px;
}


/* GOLD register your interest button */

.greenbtn-info {
  color: #ca992c;
  background-color:#ffffff;
  border-color: #ca992c;
white-space: normal;
}
.greenbtn-info:hover, .greenbtn-info:focus, .greenbtn-info:active, .greenbtn-info.active {
  color: #ffffff;
  background-color: #ca992c;
  border-color: #ca992c;
}


/* BLUE register your interest button */

.bluebtn-info {
  color: white;
  background-color:#000000;
  border-color: #ca992c;
white-space: normal;
}
.bluebtn-info:hover, .bluebtn-info:focus, .bluebtn-info:active, .bluebtn-info.active {
  color: white;
  background-color: #ca992c;
  border-color: #ca992c;
}



/* *******Flexbox PARENT for whole page*******  */
.litec-wrapper {
  display: flex; 
  flex-flow: row wrap;
  font-weight: normal;
  text-align: left;
  color: #333333;
  overflow: hidden;
}

/* this makes all children in .litec-wrapper have a padding of 15px, flex-grow: 1 (all children equal size), flex-basis (initial size of children) to 100%, and flex-shrink (how much the child will shrink relative to the rest) as inherit default is 1) */
.litec-wrapper > * {
  padding: 15px;
  flex: 1 100%;
}


/* KEY TOPICS SIDE BY SIDE */

.topics-container {
  display: flex;
flex-direction: row;
}

.topics-container > div {
  margin: 10px;
  text-align: left;
 flex: 50%;
font-size: 11pt;
}

@media (max-width: 800px) {
  .topics-container {
    flex-direction: column;
font-size: 12pt;
  }
.topics-container > div {
font-size: 12pt;
  }
}


/* ******* Flexbox CHILD 1 - MAIN CONTENT AREA contains teaser, text and accordions*******  */

.litec-blurb {
  text-align: left;
  background: white;
  color: #333333;
  padding: 0px 15px 0px 0px;
  margin: 15px 25px 0px 0px;
}

/* div that contains text or accordion content */
.blurb-container {
	padding: 0px 0px 5px 0px;
	font-size: 1.2em;
}

.litec-blurb h3 {
    margin: 0px 0px 10px 0px;
  }
hr {
   margin: 10px;
}

/* video container and iframe rules */
.litec-vid-container{
	width: 100%;
    margin-right: auto;
    margin-left: auto;
	padding-bottom: 30px;
	}

.litec-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

.litec-video iframe, .course-teaser object, .course-teaser embed {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container {
  position: relative;
  padding-bottom: calc(var(--aspect-ratio, 0.5625) * 100%);
  height: 0;
  width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/**** ACCORDIONS ****/

.litec-accordion {
  background-color: #f6f6f6;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  font-weight:700;
  transition: 0.4s;
  border-radius: 0px;
  border-left: 0.5rem solid #ffb700;
  margin-bottom: 8px;
}

.active, .litec-accordion:hover {
  background-color: #ffb700;
}

.litec-accordion:after {
  content: '\002B';
  color: black;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.litec-accordion-panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* diclaimer box */

.litec-disclaimer {
	font-size: 0.8em;
	margin: 20px 0px 5px 0px;
}

/* Facilitator, badge and theme info: a parent with 2 columns, image in one on left, descriptor or bio on the right*/

.litec-extras { /* parent flexbox row */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  flex-flow: row wrap;
  justify-content: center;
}

.litec-item { /* image box child 1 */
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  padding: 15px;
}

.litec-item img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.litec-item-blurb { /* facilitator profile child 2 */
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 2;
  padding: 30px;
}


/* ******* Flexbox CHILD 2 - ICON PANEL *******  */

.litec-icons {
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: rgb(17 17 26 / 10%) 0px 4px 16px, rgb(17 17 26 / 5%) 0px 8px 32px;
    padding: 5px 15px;
    color: #333333;
    margin: 15px 25px 15px 15px;
    border-radius: 0px;
    height: fit-content;
}

.litec-icons hr {
  margin: 10px;
}

.litec-icons p {
    justify-content: flex-end;
    color: #333333;
}

/* class that you can inline to make smaller text in icon blurb eg "exc. GST" */

.litec-small {
	color: #333333; font-size: 11px; text-align: center;
}


/* *********MEDIA QUERIES********** */

/* facilitator, badge, theme info */

@media screen and (max-width: 600px) {
  .litec-extras { flex-direction: column; } 
}

/* flexbox order */

@media all and (min-width: 320px) {
  .litec-blurb { flex: 1 0px; margin: 15px; }
  .litec-blurb { order: 1; }
  .litec-icons { order: 2; text-align: center; }
 .litec-form { order: 3; }
}

@media all and (min-width: 480px) {
  .litec-blurb { flex: 1 0px; margin: 10px; }
  .litec-blurb { order: 1; }
  .litec-icons { order: 2; text-align: center; }
	 .litec-form { order: 3; }
}


@media all and (min-width: 700px) {
  .litec-blurb { flex: 1 0px; }
  .litec-blurb { order: 1; color: #333333; }
  .litec-icons { order: 2; text-align: center; }
	 .litec-form { order: 3; }
}

@media all and (min-width: 1050px) {
   .litec-blurb { flex: 3 0px; }
  .litec-blurb { order: 1; }
  .litec-icons { flex: 1 0 0; order: 2; text-align: center; }
	 .litec-form { order: 3; }
}