/*
    Component headings
    Cards
    Accordions
    Tabs
    Icon deck
    Chatbutton
*/

/* Component headings - see Typography CSS
div.intro-blurb h2, div.template-container h2, section.csu-more-section h2 {
    border-bottom: none;
    margin-bottom: 0 !important;
}*/

/* Cards */
div.card {
  background: #eee9e2 !important;
  border-radius: 0 !important;
  border-bottom: 0 !important;
  box-shadow: unset !important;
}

/* generic style so state is picked up by accessibility checks 
** commented out eh 20210902 breaking in study int
div.card a:hover,
div.card a:focus,
div.card a:focus-within {
  background: transparent;
}
*/


div.card:hover,
div.card:focus,
div.card:focus-within {
  box-shadow: unset !important;
  border-bottom: 0 !important;
}


div.card .card-content p a.button {    text-decoration: none !important;    }


/* Alex removed 18 Jun 2019 pending decision from UX. This was causing card headings to look like links. */
/* div.card:hover h2, div.card:focus h2, div.card:focus-within h2 {
    text-decoration: underline !important;
} */

/* div.card-content h4 {    color: #ffffff;    } */

div.card-image {    border-bottom: 0 !important;    }

div.card-content,
div.card-content h4,
div.card-content p,
div.card-content ol,
div.card-content ul {    color: #222222;    } /* eh removed !important 20221019 to fix OCB */

.card .card-content,
.card-colour .card-content .colour-card-heading {
  border-radius: 0 !important;
}

div.card-action {
  border-top: 0 !important;
}
div.card-action p,
div.card-action span {
  color: #222222 !important;
}
div.card:hover .card-action .button,
div.card:focus .card-action .button,
div.card:focus-within .card-action .button,
div.card.card-action .button:hover,
div.card.card-action .button:focus,
div.card.card-action .button:focus-within {
  background-color: transparent !important;
  text-decoration: none !important;
}

.card-colour .card {
  background: #f7f5f2 !important;
}
.card-colour .card-content .colour-card-heading.csu-grey {
  background-image: url("https://cdn.csu.edu.au/__data/assets/image/0008/3183353/card-graphicbg.png");
  background-size: cover !important;
  background-color: #eee9e2; /* !important; */
}

.card-colour .card-content .colour-card-heading.csu-red {
  background-image: url("https://cdn.csu.edu.au/__data/assets/image/0008/3183353/card-graphicbg.png");
  background-size: cover !important;
  background-color: #DA3D0F;/* !important; */
}

/* News cards */
div.card.news-card {
  display: block;
  background: #222222 !important;
}
div.card.news-card a:hover,
div.card.news-card a:focus,
div.card.news-card a:focus-within {
  background: transparent;
}

div.card.news-card:hover,
div.card.news-card:focus,
div.card.news-card:focus-within {
  background: #DA3D0F !important;
  box-shadow: unset !important;
  border-bottom: 0 !important;
}
div.card.news-card:focus-within h4 {
  text-decoration: underline !important;
}
div.card.news-card div.card-content,
div.card.news-card div.card-content h2,
div.card.news-card div.card-content h4,
div.card.news-card div.card-content p {
  color: white !important;
}
div.card.news-card div.card-action p,
div.card.news-card div.card-action span {
  color: white !important;
}
div.card.news-card div.card-action span.date-header {
  font-weight: 800 !important;
}
div.card.news-card a {
  color: white;
  text-decoration: none !important;
}

div.card.news-card a:focus,
div.card.news-card a:hover {
  color: white;
  text-decoration: none !important;
  outline: transparent;
}

/* Accardians */

/* 
default                 #D1C3B0     /   #222
csu-grey                #222222     /   #fff
csu-orange              #DA3D0F     /   #fff
*/

.card-accordion .collapsible-header .header-content{
  border-radius: 0 !important;
  box-shadow: unset !important;
  /*background-color: #DA3D0F; /* !important; */
  /*color: #222222; /* !important; */
  background-color: #D1C380;
  color: #222;
}

.card-accordion .collapsible-header:focus,
.card-accordion .collapsible-header:hover {
    outline: none;
}

.card-accordion .collapsible-header:focus,
.card-accordion .collapsible-header:hover {
    outline: none;
}

.card-accordion .collapsible-header .header-content:hover {
    text-decoration: underline;
}

.card-accordion .collapsible-header .header-content:focus {
    text-decoration: underline;
outline: auto;
}

.card-accordion .collapsible-header i {
    padding-top: 0;
    margin-top: 0;
}


/* --- csu-grey --- */

.card-accordion .collapsible-header.csu-grey .header-content {
    background-color: #222222;
    color: #ffffff;
}
.card-accordion .collapsible-header.csu-grey i,
.card-accordion .collapsible-header.csu-grey:hover i {
    color: #ffffff;
}

/* --- csu-grey-black --- */

.card-accordion .collapsible-header.csu-grey-black .header-content {
    background-color: #222222;
    color: #ffffff;
}
.card-accordion .collapsible-header.csu-grey-black i,
.card-accordion .collapsible-header.csu-grey-black:hover i {
    color: #ffffff;
}

/* --- csu-orange --- */

.card-accordion .collapsible-header.csu-orange .header-content {
    background-color: #DA3D0F;
    color: #ffffff;
}
.card-accordion .collapsible-header.csu-orange i,
.card-accordion .collapsible-header.csu-orange:hover i {
    color: #ffffff;
}




ul.page-accordion {
    border: 0;
}
.collapsible.page-accordion li {
    margin-bottom: 1rem !important;
}
.collapsible-body {
    background-color: #F7F5F2;
 /*   padding-top:10px; */
}

ul.page-accordion  .collapsible-header:focus {
    outline: none;
}

ul.page-accordion .collapsible-header.csu-grey {
    background-color: #EEE9E2;
}

ul.page-accordion  .collapsible-header.csu-grey:hover, 
.collapsible-header.csu-grey:focus, 
.collapsible-header.csu-grey.active:hover, 
.collapsible-header.csu-grey.active:focus {
    background-color: #C7B8A0;
    color: #222222;
    border-bottom:none;
}

.collapsible-header.csu-grey:hover,
.collapsible-header.csu-grey:focus {
    text-decoration: underline;
}


/* AR 201909301346 Brand 20129 colour for accordion headers */





.card-accordion .collapsible-header.csu-grey.active,
.card-accordion .collapsible-header.csu-grey.active i {
/*   background-color: #C7B8A0; !important; */
 color: #fff; /*  !important; */ 
}



.card-accordion .collapsible-header .header-content {
  padding: 15px 10px 15px 20px;
  background-color: #C7B8A0;
  background-image: url("https://cdn.csu.edu.au/__data/assets/image/0008/3183353/card-graphicbg.png"); /* !important; */
  background-size: cover !important;
}

.card-accordion .collapsible-header.csu-orange .header-content {
    background-color: #DA3D0F;  
}

.card-accordion .collapsible-header.csu-grey .header-content {
 /*   background-color: #222222; */
}


.card-accordion .read-more.collapsible {
  box-shadow: none;
}
.card-accordion .read-more.collapsible li.active i,
.collapsible-header.csu-grey:hover i {
  background-color: transparent !important;
}

.card-accordion .card:hover {   
    padding-bottom: 3px;
    transform: none;
}

.card-accordion .card-content.card-content-slider {
  background: #f7f5f2 !important;
}






/* Avatar cards */
div.card.avatar-card {
  background-color: #ffffff !important;
  box-shadow: unset !important;
}
.avatar-image {
  /*border-radius: 100px;*/
  border-radius: 50%;
  overflow: hidden;
  height: auto;
  width: 50%;
  max-width: 150px;
  position: relative;
  margin: auto;
  top: -40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.avatar-image img {
  position: absolute;
  left: 0;
  top: 0;
  /*border-radius: 100px;*/
  border-radius: 50% !important;
}

.avatar-match-height {
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  height: 100%;
  margin-top: 50px !important;
}

.avatar-match-height div.col {
  margin-right: auto;
}
.card.avatar-card .card-action {
  padding-bottom: 15px !important;
  border-radius: 0 0 18px 18px;
}

/* Advertorial banner */
div.content-banner-type1,
div.content-banner-type1 > div.information-left {
  background: none !important;
  background-color: #222945 !important;
}
div.content-banner-type1
  .custom
  .banner-content.csu-white
  a.button.hero-button:hover,
div.content-banner-type1
  .custom
  .banner-content.csu-white
  a.button.hero-button:focus,
div.content-banner-type1
  .custom
  .banner-content.csu-white
  a.button.hero-button:hover::after,
div.content-banner-type1
  .custom
  .banner-content.csu-white
  a.button.hero-button:focus::after {
  color: #ffffff !important;
}
img#alumni-logo {
  display: none !important;
}

/* -------------------------------- 
               TABS
/* -------------------------------- */

.tabs {    font-family: "Basis Grotesque Medium", sans-serif !important;    }


@media only screen and (min-width: 992px) {
     .tabs {   height: 37px !important;    }
}


.tabs .tab a {
  background-color: #ffffff !important;
  color: #717171 !important;
  border-bottom: 0 !important;
  padding-left: 1em !important;
  padding-right: 1em !important;
  height: 36px !important;
  line-height: 36px !important;
}
.tabs .tab a.focus,
.tabs .tab a:focus,
.tabs .tab a:hover {
  border-bottom: 0 !important;
  background: #DA3D0F !important;
  color: #ffffff !important;
}
.tabs .tab a.active,
.tabs .tab a:active {
  border-bottom: 2px #DA3D0F solid !important;
  background: #ffffff !important;
  color: #DA3D0F !important;
}

/* Alex removed 18 Jun 2019 pending decision from UX. This was causing active tabs to have a black background, making the text unreadable. */
/* .tabs .tab a.active:focus {
    background: #222222 !important;
    border-bottom: 2px #222222 solid !important; 
} */

ul.overflowTabs li.tab a {
  padding: 0 1.25em !important;
}

/* Icon deck */
div.ds-component.icon-deck {
  margin-top: -70px;
  width: 100%;
}
div.ds-component.icon-deck img {
  margin-top: 20px;
  float: left;
  display: inline-block;
  margin-right: 16px;
}
div.ds-component.icon-deck h5,
div.ds-component.icon-deck p {
  text-align: left;
}
div.ds-component.icon-deck h5 {
  text-transform: none !important;
}

/* Rich media cards/tiles */
div#rm-cards > div {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0px !important;
}
div#rm-cards div.card {
  margin: 0 !important;
  box-shadow: unset !important;
}
div#rm-cards div.card:hover,
div#rm-cards div.card:focus,
div#rm-cards div.card:active {
  margin: 0 !important;
  transform: unset !important;
}
div#rm-cards div.card .bg-card:hover,
div#rm-cards div.card .bg-card:focus,
div#rm-cards div.card .bg-card:active {
  box-shadow: unset !important;
  transform: unset !important;
  transition: unset !important;
}
div#rm-cards
  div.col:nth-child(2)
  > div.card
  > a
  > div.bg-card
  > div.calp-card-content,
div#rm-cards
  div.col:nth-child(4)
  > div.card
  > a
  > div.bg-card
  > div.calp-card-content {
  /* bottom: calc(50% - 2.0em) !important; */
  bottom: calc(50% - 6em) !important;
  padding: 0 !important;
  margin: 0 auto;
  display: block;
  left: 50%;
  text-align: center;
  transform: perspective(1px) translateX(-50%);
}

div#rm-cards div.col:nth-child(2) > div.card > a > div.bg-card {
  background: url("https://cdn.csu.edu.au/__data/assets/image/0009/3183327/squarebg-graphic-circles-orange.jpg") !important;
  background-size: cover !important;
  border: 20px solid #DA3D0F !important;
}

div#rm-cards div.col:nth-child(4) > div.card > a > div.bg-card {
  background: url("https://cdn.csu.edu.au/__data/assets/image/0010/3183328/squarebg-graphic-square-green.jpg") !important;
  background-size: cover !important;
  border: 20px solid #0f3a31 !important;
}

/* 
div#rm-cards div.col:nth-child(2) > div.card > a > div.bg-card {
    background: #DA3D0F !important;
    background-size: cover !important;
    border-image-slice: 30 30 30 30;
    border-image-width: 20px 20px 20px 20px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source:url("./?a=3191507") !important;
}

div#rm-cards div.col:nth-child(4) > div.card > a > div.bg-card {
    background: #0F3A31 !important;
    background-size: cover !important;
    border-image-slice: 30 30 30 30;
    border-image-width: 20px 20px 20px 20px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch; 
    border-image-source:url("./?a=3183328") !important;
}

*/
div#rm-cards div.col:nth-child(2) > div.card > a > div.bg-card:hover,
div#rm-cards div.col:nth-child(4) > div.card > a > div.bg-card:hover {
  border-width: 25px !important;

  transition: all 0.2s ease !important;
}
div.calp-card-content h4 {
  font-weight: 400 !important;
  font-family: "Basis Grotesque Regular" !important;
  font-size: 28px;
}
div#rm-cards
  div.col:nth-child(2)
  > div.card
  > a
  > div.bg-card
  > div.calp-card-content
  h4,
div#rm-cards
  div.col:nth-child(4)
  > div.card
  > a
  > div.bg-card
  > div.calp-card-content
  h4 {
  font-size: 30px !important;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  /* width: max-content;
    width: -webkit-max-content;
    width: -moz-max-content; */
}
div#rm-cards
  div.col:nth-child(2)
  > div.card
  > a
  > div.bg-card
  > div.calp-card-content
  h4 {
  background: #DA3D0F;
}
div#rm-cards
  div.col:nth-child(4)
  > div.card
  > a
  > div.bg-card
  > div.calp-card-content
  h4 {
  background: #0f3a31;
}

/* Events */
/*Change by BM 6/9 - no longer needed, classes have changed*/
.event-date a,
.event-date a:link,
.event-date a:visited {
  /*color: #DA3D0F !important;*/
}

.event-date .date-block {
  background: url("https://cdn.csu.edu.au/__data/assets/image/0008/3183353/card-graphicbg.png") !important;
  background-size: cover !important;
  background-color: #eee9e2 !important;
}

/* Dividers */

div.divider {
  display: none !important;
}

/* Chatbutton */
#chatButton {
  width: 140px;
}

#chatButton .collapsible {
  border-radius: 0;
}
#chatButton .collapsible li {
  border-bottom: none;
}

#chatButton .applyNow .collapsible-header {
  background-color: #DA3D0F !important;
}

#chatButton * > span.text {
  font-family: "Basis Grotesque Medium", sans-serif !important;
  font-size: 13px;
  line-height: 2rem;
  color: #717171 !important;
}

#chatButton .collapsible-header i {
  display: none !important;
  /*margin-right: 0.2rem;
    color: #222222 !important;
    line-height: 1.6em;
    width: 1.3rem;
    font-size: 1.3rem;*/
}
#chatButton li.applyNow * > span.text,
#chatButton li.applyNow * > span.text i {
  color: #ffffff !important;
}
#chatButton .collapsible-header {
  line-height: 1.5rem;
  min-height: 1.5rem;
}

#chatButton .collapsible-body {
  font-size: 13px;
  border-bottom: none;
  line-height: 20px;
}
#chatButton .collapsible-body a {
  text-decoration: underline !important;
  color: #DA3D0F;
}
#chatButton .collapsible-body a:hover,
#chatButton .collapsible-body a:focus {
  text-decoration: none !important;
  color: #DA3D0F;
}
.applyNow .chatButton-header {
  background-color: #DA3D0F !important;
}

.chatButton-sm li.applyNow a,
.chatButton-sm li.applyNow i {
  background-color: transparent !important;
}

/* Left Nav */
#left_menu .desktop-left-nav li a:hover,
#left_menu .desktop-left-nav li a:focus {
  color: #DA3D0F;
}

::selection,
::-moz-selection {
  background-color: #DA3D0F;
}

/* Forms */
.dropdownError {
  color: #DA3D0F;
}

/* Testominial */
.testimonial-text p {
  font-style: normal !important;
  font-size: 23px;
  line-height: 27px;
  font-family: "Basis Grotesque Regular" !important;
  /*color: #e9ceca !important;*/
}

.testimonial-author-info .author-name,
.testimonial-author-info .author-org,
.testimonial-author-info .author-info {
  font-family: "Basis Grotesque Medium", sans-serif !important;
}

.alt .testimonial-text p:first-of-type::before,
.alt .testimonial-text p:last-of-type::after {
  /*color: #e9ceca;
    opacity: 0.2;*/
}

.alt .testimonial-text p:first-of-type::before {
  left: -64px;
}
.testimonial-author-info .author-name {
  padding-top: 10px;
}

.testimonial-author-info .author-name strong {
  /*color: #fff !important;*/
  font-size: 17px;
  font-weight: normal !important;
}
.author-org {
  /*color: #fff !important;*/
}


/* Testominial new - added by Erwin 8/7/2020 5:14pm */


.content-banner-type1 .testimonial-text p {
    font-family: 'Basis Grotesque Regular', Ariel, sans-serif !important;
    z-index: 0;
    color: #fff !important;
    padding: 5px 70px;
    font-size: 22px;
    line-height: 27px;
    font-weight: 400 !important;
    margin-bottom: 25px;
    font-style: italic !important;
    text-align: left;
    position: relative;
}

.content-banner-type1 .testimonial-author-info {
    color: #fff !important;
}

.content-banner-type1 .testimonial-text p:first-of-type {
    margin-top: 50px;
}


.content-banner-type1 .testimonial-author-info a
{
    color: #fff !important;
    border-color: #fff;
    background: transparent;
    margin-top: 20px;
}

.content-banner-type1 {
	position: relative;
	height: 100px;
	width: 100%;
	display: table;
}

.content-banner-type1 .image-left {
	position: absolute;
	height: 100%;
	left: 0px;
}

.content-banner-type1 .image-right {
	position: absolute;
	height: 100%;
	right: 0px;
}

.content-banner-type1 .information-right {
	position: relative;
	height: 100%;
	float: right;
	display: table;
}

.content-banner-type1 .information-left {
	position: relative;
	height: 100%;
	float: left;
	display: table;
}

.content-banner-type1 .width-two-third {
	width: 62%;    
}

.content-banner-type1 .width-one-third {
	width: 38%;    
}


.content-banner-type1 .banner-content {
	display: table-cell;
	vertical-align: middle;
	padding: 50px;
}

.content-banner-type1 .testimonial-text .testimonial-question {
    font-family: 'Basis Grotesque Medium', Ariel, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 31px;
    color: #ffffff;
    margin: 0 -15px;
}

.testimonial-text p:first-of-type:before, 
.testimonial-text p:last-of-type:after {
    color: #567DC3;
    opacity: 1;
    line-height: 60px;
    font-style: normal;
    font-family: 'Helvetica Neue', Ariel, sans-serif;
}

@media (max-width: 839px) {
	.content-banner-type1 .image-left {
		display: none;
	}
	.content-banner-type1 .information-left {
		width: 100%;
	}
	.content-banner-type1 .image-right {
		display: none;
	}
	.content-banner-type1 .information-right {
		width: 100%;
	}
	.content-banner-type1 .banner-content {
		padding: 20px;
	}
	
	.content-banner-type1 .testimonial-text .testimonial-question {
	    margin: 0;
	}
	
	.testimonial-text p:first-of-type:before {
	    left: -10px;
	}
}

/* End Testominial new - added by Erwin 8/7/2020 5:14pm */


.btn-floating.btn-small.go-to-top:hover,
.btn-floating.btn-small.go-to-top:focus {
  background: -webkit-linear-gradient(
      15deg,
      rgba(201, 45, 15, 0.2) 10%,
      rgba(201, 45, 15, 0.2) 50%
    ),
    #DA3D0F;
  background: linear-gradient(
      15deg,
      rgba(201, 45, 15, 0.2) 10%,
      rgba(201, 45, 15, 0.2) 50%
    ),
    #DA3D0F;
}

a.image-slider-arrow:focus,
a.image-slider-arrow:hover {
  background: #DA3D0F no-repeat 50% 50%;
}

.unslider-nav ol li.unslider-active {
  background: #DA3D0F !important;
}
