/*
    Component headings
    Cards 
    Accordions
    Tabs
    Icon deck ~ 178
    Chatbutton
    jQuery UI components (autocomplete)
*/

/* 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 */
div.card a:hover, div.card a:focus, div.card a:focus-within {    background: transparent;    }

div.card:hover, div.card:focus{
    box-shadow: unset !important;
    border-bottom: 0 !important;
}
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 !important;
}
.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;
}

.card-colour .card {
    background: #EEE9E2 !important;
}
.card-colour .card-content .colour-card-heading.csu-grey {
    background: url("https://cdn.csu.edu.au/__data/assets/image/0008/3183353/card-graphicbg.png") !important;
    background-size: cover !important;
    background-color:#EEE9E2 !important;
}
.card-colour .card-content .colour-card-heading.csu-red {
    background: url("https://cdn.csu.edu.au/__data/assets/image/0008/3183353/card-graphicbg.png") !important;
    background-size: cover !important;
    background-color: #C92D0C !important;
}
.card-colour .card-action-button a {
    text-decoration: underline !important;
}
.card-colour .card-action-button:hover a, 
.card-colour .card-action-button:focus a {
    text-decoration: none !important;
}
.card-colour .card-action-button a, 
.card-colour .card-action-button:hover a, 
.card-colour .card-action-button:focus a {
    background: transparent !important;
    color: #222222 !important;
    border: 0 !important;
}
.card .card-action-button {
    border: none;
    padding-bottom: 0 !important;
    margin-bottom: 0;
}


/* -------      News cards      --------- */

div.card.news-card {
    background: #222222 !important;
}
div.card.news-card:hover, 
div.card.news-card:focus{
    background: #C92D0C !important;
    box-shadow: unset !important;
    border-bottom: 0 !important;
}
div.card.news-card div.card-content, 
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;
}

/* ALT background colour setup */
section.alt div.card.news-card {
    background: #fff !important;
}

.card-carousel#careers .card.news-card {
    background: #222944 !important;
}

.card-carousel#careers .card.news-card:hover,
.card-carousel#careers .card.news-card:focus {
    background: #C92D0C !important;
}

section.alt div.card.news-card:hover, 
section.alt div.card.news-card:focus{
    background: #C92D0C !important;
    box-shadow: unset !important;
    border-bottom: 0 !important;
    outline: none;
}
section.alt div.card.news-card div.card-content, 
section.alt div.card.news-card div.card-content h4, 
section.alt div.card.news-card div.card-content p {
    color: #222 !important;
}
section.alt div.card.news-card div.card-action p, 
section.alt div.card.news-card div.card-action span {
    color: #222 !important;
}
section.alt div.card.news-card:hover div.card-content,
section.alt div.card.news-card:hover div.card-content h4,
section.alt div.card.news-card:hover div.card-content p,
section.alt div.card.news-card:hover div.card-action p,
section.alt div.card.news-card:hover div.card-action span,
section.alt div.card.news-card:focus div.card-content,
section.alt div.card.news-card:focus div.card-content h4,
section.alt div.card.news-card:focus div.card-content p,
section.alt div.card.news-card:focus div.card-action p,
section.alt div.card.news-card:focus div.card-action span {
    color: #fff !important;
}




/* -------      Accardians      ------- */

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

.collapsible-body {
    background-color: #F7F5F2;
   /* padding-top:10px; */
}

.collapsible-header:focus {
    outline: none;
}
.collapsible-header.csu-grey i {
    color: #222222;
}

.collapsible-header.csu-grey:hover, 
.collapsible-header.csu-grey:focus {
    background-color: #C7B8A0; /* #222222 */
 /*   color: white !important;*/
}

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

.collapsible-header.csu-grey.active, 
.collapsible-header.csu-grey.active i {
 /*    background-color: #C7B8A0 !important;  #222222 */
 /*    color: #222222 !important; */
    background-color: transparent;
    color: white;
}

.card-accordion .read-more.collapsible {
    box-shadow: none;
    margin-top:0 !important;
}
.card-accordion .header-content {
    padding: 15px 10px 15px 20px;
    background-image: url("https://cdn.csu.edu.au/__data/assets/image/0008/3183353/card-graphicbg.png");
    background-size: cover !important;
}
.card-accordion .card-content.card-content-slider {  
    background: #F7F5F2 !important;
}
ul.read-more.collapsible li.active i, .collapsible-header.csu-grey:hover i {
    background-color:transparent !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.30);
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.30);
  -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.30);
}
.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;
}
img#alumni-logo {
    display: none !important;
}



/* -------------------------------- 
               TABS
/* -------------------------------- */
.calp-modal .tabs .tab a.active, .calp-modal .tabs .tab a.focus, .calp-modal .tabs .tab a:active, .calp-modal .tabs .tab a:focus  {
    border-bottom: 5px #222222 solid !important;
    background: #222222 !important;
    color: #FFFFFF !important;
}
.tabs .tab a:hover {
  background-color: #C92D0C !important;
  border-bottom: 2px #C92D0C solid !important;
}

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



/* -------------------------------- 
   ------     ICON DECK
/* -------------------------------- */

.icon-set > div.row {
 /*   margin-top: -40px; 
    width:100%; */
}
.icon-set .row > .col {
  /*  display: flex; */
  
}

@media (min-width: 1500px) {
  .icon-set .row > .col {
     padding: 0 25px;
  }
}

.icon-set > * {   display: inline-block;  }

.icon-set .center-align { text-align: left !important; }

.icon-set > div.row img {
    align-self: center;
    margin-right: 16px;
    width: 45px;
}

.icon-set  h5, 
.icon-set p {
    text-align: left;
}
.icon-set h5 {
    text-transform: none !important;
    font-size: 20px;
    line-height: 1.1;
    vertical-align: top;
    display: inline-block;
    max-width: 70%;
    margin-top: 0;
}
.icon-set p {   
    width: 100%;
    line-height: 1.4;
}








/* 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 {
    padding-bottom: 3px;
    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; --> to make consistent with csu.edu.au */
    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 #C92D0C !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:hover, div#rm-cards div.col:nth-child(4) > div.card > a > div.bg-card:hover {

    border-width: 30px !important;
 
    transition: all 0.2s ease !important;

}
div.calp-card-content h4 {
    font-weight: 400 !important;
    font-family: "Basis Grotesque Medium" !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: 20px;
    text-align:center;
    /*START to make consistent with csu.edu.au*/
    line-height: 30px;
    /*width: max-content;*/
    /*width: -webkit-max-content;*/
    /*width: -moz-max-content;*/
    /*END to make consistent with csu.edu.au*/
}
div#rm-cards div.col:nth-child(2) > div.card > a > div.bg-card > div.calp-card-content h4 {
    background: #C92D0C;
  
}
div#rm-cards div.col:nth-child(4) > div.card > a > div.bg-card > div.calp-card-content h4 {
    background: #0F3A31;
   
}

/* Events */
.event-date a, .event-date a:link, .event-date a:visited {
    color: #C92D0C !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, #chatButtonMob .collapsible {
    border-radius:0;
}
#chatButton .collapsible li, #chatButtonMob .collapsible li {
    border-bottom:none;
}

#chatButton .applyNow .collapsible-header, #chatButtonMob .applyNow .collapsible-header {
    background-color: #C92D0C !important;
}

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

#chatButton .collapsible-header i, #chatButtonMob .collapsible-header i {
    display: none !important;
}
#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;
}
#chatButtonMob .chatButton-sm li.applyNow a {
    background: transparent !important;
}
.applyNow .chatButton-header { background-color: #C92D0C !important; }

.chatButton-sm li a { 
    text-decoration: underline !important;
}
.chatButton-sm li a:hover,
.chatButton-sm li a:focus { 
    text-decoration: none !important;
}

.collapsible-header.chatButton-header span.text {
    text-decoration: underline !important;
}
.collapsible-header.chatButton-header:hover span.text,
.collapsible-header.chatButton-header:focus span.text{
    text-decoration: none !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;

}


.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%), #C92D0C;
    background: linear-gradient(15deg, rgba(201, 45, 15, 0.2) 10%, rgba(201, 45, 15, 0.2) 50%), #C92D0C;
}

/* jQuery UI components */
/* Autocomplete */
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  background: #C92D0C none repeat scroll 0 0 !important;
}

@media print {
    *,
    *:before,
    *:after,
    div.card,
    .csu-more-section.alt, 
    .csu-more-section.alt.ds-component {
        background: transparent !important;
    }
}


