/*
* 2014 Application Style CSS Library - Static
* Asset ID: #623924
*
* Modification history:
*
* 2016-05-20  Andrew Dunbar
*             Cleared history log prior to 05/2016
* 2017-03-10  Aaron Chapman
*             Ensured text displays on fixed menu at mobile resolution
* 2020-08-06  Consuelo Sanders
*             Ensure tabs display correctly without badges
* 2022-01-12  Krishanka Gunasekera
*             btn-sm varient fix 
*/

/* ---------------------------------------------------------------------------------------------
START: UTILITIES
--------------------------------------------------------------------------------------------- */

.clearfix.sml {
	margin: 5px 0 0 0;
}

.clearfix.med {
	margin: 10px 0 0 0;
}

.clearfix.lge {
	margin: 20px 0 0 0;
}

.force-display {
	display: block!important;
}

.print-only {
	display: none;
}

/* ---------------------------------------------------------------------------------------------
END: UTILITIES
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: SKIP LINKS
--------------------------------------------------------------------------------------------- */

#skip-links {
    height: 40px;
    width: 100%;
    background: linear-gradient(top, #353739, #2a2b2c);
    border-bottom: 1px solid var(--color-black);
    box-shadow: 0 2px 0 2px rgba(0,0,0,0.1);
    position: absolute;
    left: -99999px;
}

#skip-links-container {
    width: 900px;
    margin: 0 auto;
    padding-top: 10px;
}

#skip-links ul {
    margin: 0;
    padding: 0;
}

#skip-links li {
    display: inline;
}

#skip-links li a {
    float: left;
    padding-right: 2px;
    margin-right: 2px;
    text-decoration: none;
    color: var(--color-white);
}

#skip-links li a:hover,
#skip-links li a:focus-visible {
    text-decoration: underline;
}

#skip-links li span {
    float: left;
    padding-right: 4px;
    margin-right: 4px;
    margin-left: 4px;
    color: var(--color-white);
}

/* ---------------------------------------------------------------------------------------------
END: SKIP LINKS
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: STRUCTURE
--------------------------------------------------------------------------------------------- */

.container-header,
.container-footer {
	padding: 20px 0;
}

.container-body {
	padding: 15px 0 30px;
	min-height: 500px;
}

.container-header {
	width: 100%;
	height: auto;
  padding-block: 26px;
	background-color: var(--color-black);
  color: var(--color-white);
}

.container-footer {
	border-top: 1px solid #e6e6e6;
	background: #fafafa;
}

.container-header h1 {
	margin: 28px 0 28px 30px;
	font-size: 27.65px;
  line-height: 1.3;
  font-weight: 500;
  font-family: var(--font-feature);
	line-height: 1;
}

.container-header h1 span.media-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.ecu-logo-image {
	display: block;
	height: var(--logo-height);
	width: var(--logo-width);
	background-image: url('https://www.ecu.edu.au/__data/assets/image/0014/1100390/ecu-logo-alternate.png');
  background-repeat: no-repeat;
	background-size: contain; /* Keeps logo at this size regardless of dpi */
}

ul.footer {
    color: #333;
    cursor: pointer;
    list-style: none outside none;
    margin: 20px auto;
    padding: 0;
    text-align: center;
}

ul.footer li {
    display: inline-block;
}

.footer-link-divider {
    color: #333;
    margin: 0 2px 0 6px;
}


@media (max-width:991px) {

	.container-header .col-sm-8.menu {
    	float: left;
    	padding-right: 0;
    	width: 77%;
	}

	.container-header .col-sm-4.menu {
    	float: right;
    	padding-left: 0;
    	width: 22%;
	}

}

@media (max-width:767px) {

	.container-header,
	.container-body,
	.container-footer {
		padding: 15px;
	}

	.container-body,
	.container-footer {
		font-size: 1.05em;
	}

}

@media (max-width:480px) {

	.ecu-logo .media-body {
    	clear: both;
	}

	.container-header h1 {
    	margin-top: 15px;
	}

    ul.footer li {
        clear: left;
        float: left;
        padding: 5px;
    }

    .footer-link-divider {
        display: none;
    }

}

/* ---------------------------------------------------------------------------------------------
END: STRUCTURE
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: STICKY HEADER
--------------------------------------------------------------------------------------------- */

.banner--clone {
	position: fixed;
    top: 0;
    z-index: 9999;
    /* Translate -100% to move off screen */
	transform: translateY(-150%);
    /* Animations */
	transition: all 300ms ease-in-out;
}

.banner--stick {
    /* Translate back to 0%; */
	transform: translateY(0%);
}

.banner--unstick {
    border: 0;
}

.banner--clone.banner--stick,
.banner--clone {
	height: 80px;
	z-index: 9999;
	padding: 0;
	border: 0;
	box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
}

.banner--clone.banner--stick .ecu-logo-image,
.banner--clone .ecu-logo-image {
	--logo-height: 50px;
	--logo-width: 63px;
	margin-block: 12px;
}

.banner--clone.banner--stick .ecu-logo.media,
.banner--clone .ecu-logo.media {
	padding: 4px 0;
}

.banner--clone.banner--stick .ecu-logo .media-body,
.banner--clone .ecu-logo .media-body {
    clear: none;
}

.banner--clone.banner--stick .sidebar-nav-title,
.banner--clone .sidebar-nav-title {
	display: none!important;
}

.banner--clone.banner--stick h1,
.banner--clone h1 {
	font-size: calc( 24px + (26 - 24) * ( (100vw - 400px) / ( 800 - 400) ));
	margin-block: 20px;
}

.banner--clone.banner--stick h1 span.media-heading,
.banner--clone h1 span.media-heading {
	margin-top: 4px;
	color: #4d4d4d;
}


@media (max-width:480px) {

	.banner--clone.banner--stick .ecu-logo .ecu-logo-image,
	.banner--clone .ecu-logo .ecu-logo-image {
		display: none;
	}

	.banner--clone.banner--stick .ecu-logo .media-body h1,
	.banner--clone .ecu-logo .media-body h1 {
		width: 230px;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
		line-height: 1.1;
		margin-top: 5px;
	}

	.banner--clone.banner--stick .col-md-12 .ecu-logo .media-body h1,
	.banner--clone .col-md-12 .ecu-logo .media-body h1 {
		width: 200px;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
		line-height: 1.1;
	}

}

/* ---------------------------------------------------------------------------------------------
END: STICKY HEADER
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: NAVIGATION
--------------------------------------------------------------------------------------------- */

nav.sidebar-nav {
	float: right;
}

nav.sidebar-nav .navbar-collapse {
	padding-right: 0;
}

nav.sidebar-nav .navbar-nav li a {
	text-decoration: none;
	font-size: 1.2em;
	padding: 15px 0;
	color: #333;
	margin: 0 10px;
}

nav.sidebar-nav .navbar-nav li a:hover {
	background-color: transparent;
	color: #999;
}

nav.sidebar-nav .navbar-nav li.active a {
	color: #999;
}

a#sidebar-nav-btn-icon {
	border-color: #595959;
}

a#sidebar-nav-btn-icon:hover {
	border-color: #9e9e9e;
}

a#sidebar-nav-btn-icon .icon-bar {
	background-color: #595959;
}

a#sidebar-nav-btn-icon:hover .icon-bar {
	background-color: #9e9e9e;
}

.sidebar-nav-title {
  font-family: var(--font-feature);
	text-transform: uppercase;
	float: right;
	font-size: 1.2em;
	color: #595959;
}

.sidebar-nav .navbar-toggle {
	margin-right: 0;
}


@media (max-width:767px) {

	.sidebar-nav-title {
		margin: 0;
	}

}

/* ---------------------------------------------------------------------------------------------
END: NAVIGATION
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: CONTENT
--------------------------------------------------------------------------------------------- */

h2 {
	color: var(--color-primary);
}

.table th {
  font-family: var(--font-feature);
	font-weight: normal;
}

h3 {
	margin: 20px 0 10px;
}

.alert {
	margin-top: 1em;
}

.alert h3 {
	margin-top: 0;
}

.alert p {
	margin: 5px 0;
}

.btn {
	margin: 10px 3px 0 0;
	padding: 4px 13px;
	font-size: 1.15em;
	text-decoration: none;
}

.btn.btn-sm {
    margin: unset;
    padding: 5px 8px 3px;
    font-size: 1em;
}

p {
	margin: 0 0 10px;
}

.font-med {
	font-size: 1.12em;
}

.font-lge {
	font-size: 1.25em;
}

.panel-title {
	font-size: 1.4em;
}

/* ---------------------------------------------------------------------------------------------
END: CONTENT
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: TABLES
--------------------------------------------------------------------------------------------- */

.table > thead > tr > th {
	border-bottom: 0;
}

/* ---------------------------------------------------------------------------------------------
END: TABLES
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: FUNNELBACK
--------------------------------------------------------------------------------------------- */

.funnelback-container {
	margin: 10px 0 15px;
	border: 0;
	padding: 0;
}

.funnelback.list-group .list-group-item.heading {
	background: #f9f9f9;
	border-color: #ddd;
}

.funnelback.list-group .list-group .list-group-item.heading {
	background: #f9f9f9;
	border-color: #ddd;
	border-top: 0;
}

.funnelback.list-group .list-group .list-group-item {
	border-left: 0;
	border-right: 0;
}

.funnelback.list-group .list-group-item.facet {
	padding: 0;
}

.funnelback.list-group .list-group-item:last-child {
	border-bottom: 0;
}

.funnelback.list-group .list-group-item.facet {
	border-bottom: 1px solid #ddd;
}

.funnelback.list-group .list-group {
	margin: 0;
}

.funnelback.list-group .list-group-item.heading h4 {
	font-size: 1.1em;
	margin: 0;
	font-weight: 600;
}

.funnelback.list-group .list-group .list-group-item.heading h4 {
	font-size: 1em;
	color: inherit;
	text-transform: inherit;
}

.list-group-item a {
	text-decoration: none;
}

.list-group-item a.clearFacetLink {
	text-decoration: underline;
}

.list-group-item a.clearFacetLink .fa {
	text-decoration: none;
}

.list-group-item.category .fa {
	padding-right: 7px;
}

.list-group-item .clearFacetLink .fa {
	margin-left: 7px;
}

.list-group-item.category a span {
	display: table-cell;
}

.list-group-item.category a span.category_text {
	text-decoration: underline;
}

.funnelback-container {
	width: 95%;
	position: relative;
	margin: 50px auto 70px;
	display: block;
}

.fb-form {
	background-color: var(--color-white);
	border-radius: 5px;
	overflow: hidden;
	height: 42px;
}

.funnelback-container .form-control {
	height: 42px;
}

.fb-form .form-control {
	background: transparent;
	width: 95%;
	outline: none;
	padding: 12px 0 8px 1em;
	border-radius: 12px;
	font-size: 1.35em;
	color: #888;
}

.fb-form .btn {
	border-radius: 0 12px 12px 0;
	position: absolute;
	right: 0;
	top: 0;
	border-width: 0;
	margin: 0;
	padding: 8px 16px;
	color: var(--color-white);
	border: 1px solid var(--color-black);
	background: var(--color-black);
	font-weight: 600;
  font-size: var(--text-size);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background: #f5f5f5;
	border-color: #ddd;
	color: #333;
}

.pagination {
	display: table;
	margin: 30px auto 10px;
}

.pagination > li > a,
.pagination > li > span {
	padding: 7px 12px 5px;
}


@media (max-width: 767px) {

	.funnelback-container {
		margin: 50px auto 50px;
	}

	.fb-form .form-control {
		font-size: 1.15em;
	}

}

/* ---------------------------------------------------------------------------------------------
END: FUNNELBACK
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: AUTOCOMPLETE
--------------------------------------------------------------------------------------------- */

ul.ui-autocomplete {
	box-shadow: none;
	padding: 0;
}

ul.ui-autocomplete li.ui-menu-item a {
	color: #333333;
    display: block;
	font-size: 0.85em;
	text-decoration: none;
    margin: 0;
    border: 0;
    padding: 9px 15px 7px;
    line-height: normal;
}

ul.ui-autocomplete li.ui-menu-item a:hover,
ul.ui-autocomplete li.ui-menu-item a:active {
	background: #ddd;
	background-color: #ddd;
	border: 0;
	background-image: none;
	border-radius: 0;
}

ul.ui-autocomplete li.ui-menu-item a.ui-corner-all.ui-state-focus,
ul.ui-autocomplete li.ui-menu-item a.ui-corner-all.ui-state-focus:hover,
ul.ui-autocomplete li.ui-menu-item a.ui-corner-all.ui-state-focus:focus {
	background: #ddd;
	background-color: #ddd;
	background-image: none;
	margin: 0;
    padding: 9px 15px 7px;
    line-height: normal;
    border: 0;
}

ul.ui-autocomplete li.ui-menu-item.ui-state-focus {
	font-weight: normal;
}

ul.ui-autocomplete li.ui-menu-item,
ul.ui-autocomplete li {
	border-top: 1px solid #ddd;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}

#asset-id_596499 ul.ui-autocomplete li:last-child {
    border-bottom: 1px solid #DDDDDD;
}

ul.ui-autocomplete li.ui-menu-item:hover,
ul.ui-autocomplete li:hover,
ul.ui-autocomplete li.ui-menu-item:active,
ul.ui-autocomplete li:active,
ul.ui-autocomplete li.ui-menu-item:focus,
ul.ui-autocomplete li:focus {
	margin: 0;
	padding: 0;
	border-top: 1px solid #ddd;
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}

ul.ui-autocomplete li h2 {
	font-size: 1.3em;
    margin: 12px 0 8px;
    padding: 0 15px;
}

/* ---------------------------------------------------------------------------------------------
START: AUTOCOMPLETE
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: TABS
--------------------------------------------------------------------------------------------- */

.tab-pane {
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
}

.tabbable .nav.nav-tabs {
	margin-left: 0;
	padding: 0;
}

.nav.nav-tabs.nav-stacked {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.nav.nav-tabs.nav-stacked > li {
	border-bottom: 1px solid #ddd;
}

.nav-stacked > li + li {
	margin-top: 1px;
}

.tabbable .nav.nav-tabs.nav-stacked a {
	height: 40px;
	border: none;
	margin: 0;
	border-radius: 0;
  background: transparent;
}

.nav.nav-tabs.nav-stacked a:hover,
.nav.nav-tabs.nav-stacked a:focus {
	border: none;
}

.tabbable .nav.nav-tabs.nav-stacked a:hover,
.tabbable .nav.nav-tabs.nav-stacked a:focus {
	background-color: #f5f5f5;
}

.tabbable .nav.nav-tabs.nav-stacked li.active a,
.tabbable .nav.nav-tabs.nav-stacked li.active a:hover,
.tabbable .nav.nav-tabs.nav-stacked li.active a:focus {
	background: #f5f5f5;
}

.tabbable .nav.nav-tabs a {
	text-decoration: none;
	outline: none;
	padding-top: 10px;
	padding-bottom: 10px;
	border-color: #eee #eee #ddd;
	background-color: #eee;
}

.tabbable .nav.nav-tabs li.active a,
.tabbable .nav.nav-tabs li.active a:hover,
.tabbable .nav.nav-tabs li.active a:focus {
	border-color: #ddd #ddd transparent;
	background-color: var(--color-white);
}

.tabbable .nav.nav-tabs a:hover,
.tabbable .nav.nav-tabs a:focus {
	border-color: #e6e6e6 #e6e6e6 #ddd;
	background-color: #e6e6e6;
}

.tabbable .nav.nav-tabs h3 {
	margin: 3px 5px;
	/*float: left;*/
	font-size: 1.3em;
}

.tabbable .table {
	margin-top: 0;
}

.tabbable .badge {
	font-size: 0.9em;
	margin: 2px 0 3px 7px;
	padding: 4px 9px 5px;
	background: #48858E;
}

.nav.nav-tabs.switch {
    margin-top: 10px;
}

.tab-content {
    margin-top: 20px;
}


@media (max-width: 767px) {

	.tabbable .badge {
		float: right;
		margin-top: 0;
	}

	.nav.nav-tabs.nav-stacked a {
		clear: both;
	}

	.nav.nav-tabs.nav-stacked li.active a {
		background: #f5f5f5;
	}

	.list-group.funnelback {
		margin-top: 30px;
	}

}

/* ---------------------------------------------------------------------------------------------
END: TABS
--------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
START: GENERIC
--------------------------------------------------------------------------------------------- */

.table th {
	font-weight: bold;
}

.nav.nav-tabs.switch a {
	text-decoration: none;
	font-weight: bold;
	outline: none;
	background: #eee;
    border-color: #eee #eee #ddd;
}

.nav-tabs.switch > li.active > a,
.nav-tabs.switch > li.active > a:hover,
.nav-tabs.switch > li.active > a:focus  {
	background-color: var(--color-white);
    border-color: #ddd #ddd transparent;
}


@media (max-width: 767px) {

	.table.ecu.course caption {
    	border-bottom: 1px solid #ddd;
    	margin: 0;
    	padding: 4px 8px;
	}

	.table-responsive {
    	margin-bottom: 20px;
	}

	.banner--clone.banner--stick .btn.old-handbook,
	.banner--clone .btn.old-handbook {
		display: none;
	}

}

/* ---------------------------------------------------------------------------------------------
END: GENERIC
--------------------------------------------------------------------------------------------- */

/*
* 2014 Web Application Style - Handbook Customisation
* Asset ID: #633871
* 
* Modification history:
*
* 2016-05-20  Andrew Dunbar
*             Cleared history log prior to 05/2016
* 2017-06-30  Aaron Chapman
*             Added accordion style
* 2017-11-24  Aaron Chapman
*             Add bold to auto complete year
* 2022-05-13  Krishanka Gunasekera
*             Added accordion open/close icons
*/

/* --------------------------------------------------------------------------------------------- 
START: CONTENT
--------------------------------------------------------------------------------------------- */

h3 {
	font-size: 1.3em;
}

h4 {
	margin: 20px 0 10px;
	font-weight: bold;
}

/* Temp style - remove after testing */
.remove-from-view {
	display: none !important;
    visibility: hidden !important;
}

/* --------------------------------------------------------------------------------------------- 
END: CONTENT
--------------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------------- 
START: SIDR
--------------------------------------------------------------------------------------------- */

.sidr {
	box-shadow: none;
}

.unit-desc {
    padding: 0 25px 20px;
}

.unit-desc h2 {
    background: transparent;
    box-shadow: none;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1.3em;
    padding: 15px 0 5px;
    text-transform: uppercase;
}

.unit-desc > p {
    color: #d4d4d4;
    font-size: 0.85em;
}

.sidr .close-btn {
	background-color: #222222;
    display: block;
    line-height: 30px;
    margin: 0;
    text-align: left;
    width: 100%;
    font-size: 0.85em;
    padding: 0 25px;
}

.sidr .close-btn a {
	text-decoration: none;
	color: var(--color-white);
}

.sidr .close-btn .fa-remove {
	margin-right: 3px;
}

/* --------------------------------------------------------------------------------------------- 
END: SIDR
--------------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------------- 
START: GENERIC
--------------------------------------------------------------------------------------------- */

.handbook ol.breadcrumb {
	background-color: transparent;
	padding: 10px 0;
	border-bottom: 1px dashed #ddd;
	border-radius: 0;
}

.handbook ol.breadcrumb .fa-home {
	margin-right: 10px;
}

.table.course caption {
	text-align: left;
	margin: 10px 0;
	font-weight: bold;
	width: 100%;
	display: table-caption;
	clear: both;
	overflow: visible;
}

.table.ecu th.unit, 
.table.ecu td.unit {
	width: 20%;
}

.table.ecu th.description, 
.table.ecu td.description {
	width: 60%;
}

.course-summary.handbook .core-units {
    margin: 0 0 20px;
    padding: 0;
}

.handbook .core-units > li {
    list-style: none outside none;
    display: table;
    margin: 0 0 4px 0;
}

.core-units li span {
    display: table-cell;
}

.core-units li span.unit {
    min-width: 100px;
}

.core-units.headings li span.unit {
	min-width: 157px;
}

.core-units.headings li span.unit h3 {
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-weight: bold;
}

.btn.old-handbook {
	margin: 20px 0;
	border-radius: 8px;
	background: var(--color-primary);
	padding: 7px 16px;
	font-family: var(--font-feature);
	color: var(--color-black);
	float: right;
	font-size: var(--text-size);
	font-weight: 600;
}

.btn.old-handbook:hover,
.btn.old-handbook:focus-visible {
	background: var(--color-teal-400);
}

.btn.old-handbook .fa-reply {
	font-size: 0.85em;
	margin-right: 12px;
}

span.hb-year {
    font-weight: 700;
}


@media (max-width: 767px) {

	.btn.old-handbook {
		float: none;
		margin: 20px 0 10px;
	}

}

/* --------------------------------------------------------------------------------------------- 
END: GENERIC
--------------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------------- 
START: ACCORDION
--------------------------------------------------------------------------------------------- */

#accordion .panel-title>a {
    font-size: 1.2rem;
    text-transform: none;
    color: #333;
    text-decoration: none;
}

#accordion .panel-title a[aria-expanded="false"]:after {
   font-family: FontAwesome;
   content: "\f067";
   float: right;
   padding-right: 3px;
   padding-top: 4px;
   vertical-align: middle;
}
#accordion .panel-title a[aria-expanded="true"]:after {
   font-family: FontAwesome;
   content: "\f068";
   float: right;
   padding-right: 3px;
   padding-top: 4px;
   vertical-align: middle;
}

/* --------------------------------------------------------------------------------------------- 
END: ACCORDION
--------------------------------------------------------------------------------------------- */
