/*
	2020-09-21.2
		Fixes typical pattern tables at mobile size when manual width has been applied in Akari
	2020-09-21.1
		Added space between image and text for image-with-text
		Reduced image size for mobile for image-with-text
	2020-09-18.2
		Fixed spacing below feature image/video when there is a slideshow
	2020-09-18.1
		Typical patterns pp-four-col support
		Added margin to bottom of cols
	2020-09-17.2
		Fixed typical pattern table margin (has two definitions. Removed one).
	2020-09-17.1
		Alignment of key facts label and value text
*/

/* Remove breadcrumbs and sub-navigaton */
#breadcrumbs,
#sub-navigation{
	display: none;
}

/* Change page background to slightly darker gray */
html {
	background-color: #ffffff;
}

/**
 * Override main page breakpoints
 **/
@media screen and (max-width: 1023px){
	.block-col, .block-col.pull-left, .block-col.pull-right {
		float: none;
		width:100%;
	}
}

.nd *{
	box-sizing: border-box;
}

/* Increase font size overall */
#mainContent div, #mainContent p, ul, ol{
	font-size: 16px;
}

/* Hide elements at mobile size */
@media screen and (max-width: 779px){
	.hide-mobile{
		display:none;
	}
}

/* Remove shadows */
.block.box-shadow{
	box-shadow: none;
}

/* Hide the banner image below the programme name **/
.banner-image{ display:none; }

/* Enquire */
a.enquire{
	background-color: #0090e9; /* lt blue */
}
a.enquire:hover, a.enquire:focus{
	background-color: #009ef2; /* lt blue */
}

/**
 * NEW::Start of updated css
 **/
.pp *{
	box-sizing: border-box;
}
.pp h1 {
	position: static;
	padding: 0;
	margin: 0;
	font-size: 60px;
	line-height: 1.1em;
	color: #004b94;
	text-transform: none;
    font-family: 'NimbusSanNovCon-Med', sans-serif;
}
.pp h2 {
	padding: 0;
	margin: 0;
	color: #00408d;
	font-size: 44px;
	line-height: 1em;
	margin-bottom: 40px;
    font-family: 'NimbusSanNovCon-Med', sans-serif;
}
.pp h3,
.pp-intro p:first-of-type {
	padding: 0;
	margin: 0;
	color: #00408d;
	font-family: "NimbusSanNovCon-Med", sans-serif;
	font-size: 28px !important;
	line-height: 1em;
	margin: 20px 0;
	border: none;
}
.pp h4 {
	margin-top: 0;
	text-transform: none;
	font-size: 22px;
}
.pp h5 {
	font-family: "NimbusSanNovCon-Med", sans-serif;
	font-size: 18px;
	color: #444;
}
.pp h6 {
	font-family: "NimbusSanNovCon-Med", sans-serif;
	font-size: 16px;
	color: #444;
	font-weight: normal;
	margin-bottom:0;
}

.pp-intro blockquote {
	font-family: "NimbusSanNovCon-Med", sans-serif;
	font-weight: normal;
	display: block;
	font-style: normal;
	letter-spacing: normal;
}
@media (max-width:1023px){
	.pp h1 {
		font-size: 48px;
	}
	.pp h2 {
		font-size: 36px;
	}
	.pp h3 {
		font-size: 24px;
	}
	.pp h4 {
		font-size: 20px;
	}
	.pp h5 {
		font-size: 16px;
	}
	.pp h6 {
		font-size: 14px;
	}
}
@media (max-width:639px){
	.pp h1 {
		font-size: 36px;
	}
	.pp h2 {
		font-size: 30px;
	}
	.pp h3 {
		font-size: 20px;
	}
	.pp h4 {
		font-size: 18px;
	}
}
@media (max-width:419px){
	.pp h1 {
		font-size: 28px;
	}
	.pp h2 {
		font-size: 22px;
	}
	.pp h3 {
		font-size: 18px;
	}
	.pp h4 {
		font-size: 16px;
	}
	.pp h5 {
		font-size: 14px;
	}
	.pp h6 {
		font-size: 12px;
	}
}


.pp p, .pp ul, .pp ol, .pp .pp-cols-2, .pp .pp-cols-3 {
	font-size: 14px !important;
}
.pp p.footnote{
	font-size:12px;
	margin-top:0;
}
.pp-block {
	display: none;
	margin-top: 2em;
	padding: 2em;
}
.pp-block:after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 479px){
	.pp-block {
		padding: 1em;
	}
}
.pp-block-banner {
	background-color: #f0f0f0;
	padding-bottom: 0;
	overflow: hidden;
}
.pp-feature-gray {
	background-color:rgb(118, 118, 118);
}
.pp-intro h2 {
	margin-bottom: 0;
}

/**
 Blockswith thumb on left and text on right
**/
.pp-thumb-with-text {
	display: flex;
	align-items: center;
}
.pp-thumb-with-text .pp-thumb {
	width: 170px;
	padding-right:10px;
}
.pp-thumb-with-text .pp-thumb img {
	width: 160px;
	height: auto;
}
.pp-thumb-with-text .pp-text {
	vertical-align: middle;
}
@media screen and (max-width: 639px){
	.pp-thumb-with-text .pp-thumb {
		width: 120px;
	}
	.pp-thumb-with-text .pp-thumb img {
		width: 110px;
	}
}

/**
 * Rules to hide and show block depending on tab
 **/
.pp.overview .pp-block.overview,
.pp.requirements .pp-block.requirements,
.pp.courses .pp-block.courses,
.pp.fees .pp-block.fees,
.pp.overview .pp-block.all-tabs,
.pp.requirements .pp-block.all-tabs,
.pp.courses .pp-block.all-tabs,
.pp.fees .pp-block.all-tabs {
	display: block;
}

/*
 Tabs
 */
.pp-tabs{
	margin-top: 2em;
	background-color:transparent;

	display:flex;
	flex-wrap:wrap;
	   flex-direction:row;
}
.pp-tabs a{
	background-color:#f0f0f0;
	color: #808080;
	font-size: 16px;

	padding:1em;
	flex-basis: 20%;
	text-align: center;

	border:1px solid rgba(0,0,0,0.3);
	border-bottom: none;
	border-left: none;
	border-top-right-radius: 12px;
	border-top-left-radius: 12px;
}
.pp-tabs a:first-of-type{
	border-left:1px solid rgba(0,0,0,0.3);
}
.pp-tabs a:hover,
.pp-tabs a:focus{
	background-color:#ddd;
	border-bottom-color:#ddd;
}
.pp-tabs a i{
	color: #808080;
	font-size: 1.5em;
	margin-right: 0.25em;
	vertical-align: middle;
}
.pp-tabs a:hover i{
	text-decoration: none;
}
.pp-tabs i:hover {
	opacity: 1;
}
@media screen and (max-width: 1199px){
	.pp-tabs a {
		flex-basis: 24%;
	}
}
@media screen and (max-width: 779px){
	.pp-tabs a i{
		display:block;
		margin:0;
	}
}
@media screen and (max-width: 559px){
	.pp-tabs{
		display:block;
	}
	.pp-tabs a{
		display:block;
		width:100%;
		border-left:1px solid rgba(0,0,0,0.3);
	}
	.pp-tabs a i{
		display:inline-block;
		margin-right: 0.25em;
	}
}

/**
 * Active tab
 **/
.pp.overview .pp-tabs .overview,
.pp.requirements .pp-tabs .requirements,
.pp.courses .pp-tabs .courses,
.pp.fees .pp-tabs .fees {
	background-color:#ffffff;
	color: #5e5e5e;
	text-decoration: none;
	font-weight: bold;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.pp.overview .pp-tabs .overview i,
.pp.requirements .pp-tabs .requirements i,
.pp.courses .pp-tabs .courses i,
.pp.fees .pp-tabs .fees i{
	color: #5e5e5e;
}

/**
 * Main column structure (for blocks)
 **/
.pp-col {
	margin-bottom: 2em;
}
.pp-col-wide {
	width: 60%;
	float: left;
}
.pp-col-narrow {
	width: 40%;
	float: right;
}
.pp-col-break {
	clear: both;
}
.pp-col .pp-block {
	width: calc(100% - 2em);
	margin: 2em 1em 0 1em;
	padding: 0;
}
@media screen and (max-width: 1023px){
	.pp-col-wide {
		width: 100%;
		float: none;
	}
	.pp-col-narrow {
		width: 100%;
		float: none;
	}
}
@media screen and (max-width: 639px){
	.pp-col .pp-block {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/**
 * Inline cols structure (for text only)
 **/
.pp-cols-2 {
	column-count:2;
}
.pp-cols-3 {
	column-count:3;
}

/**
 * Images
 **/
.pp-thumb-100 {
	width: 100px;
	float: left;
	margin-right: 1em;
}
.pp-thumb-160 {
	width: 160px;
	float: left;
	margin-right: 1em;
}
.pp-thumb-160 img,
.pp-thumb-100 img {
	width: 100%;
}

/**
 * Intro
 **/
@media screen and (max-width: 1023px){
	.pp-intro {
		order: -2;
	}
}

/**
 * CTA
 **/
.cta-button{
	display: inline-block;
	width:50%;
}
.cta-button+.cta-button{
	padding-left:1em;
}
.cta-button a{
	display: block;
	text-transform: none;
	font-size:32px !important;
	font-style: normal;
	font-weight: normal;
	padding:15px;
	text-shadow: none;
	color: #fff;
	font-family: "NimbusSanNovCon-Med", sans-serif;
	text-align:center;
	white-space: nowrap;
}
.cta-button a:hover {
	color: #fff;
}
.cta-button i{
	font-size: 0.7em;
	padding-left: 0.3em;
}
@media screen and (max-width: 1023px){
	.pp-ctabuttons {
		order: -1;
	}
}
@media screen and (max-width: 639px){
	.cta-button{
		display: block;
		width:100%;
	}
	.cta-button+.cta-button{
		padding-left:0;
		padding-top:1em;
	}
}
/* Apply now */
a.ready-to-enrol{
	background-color: #d95f00; /* Tui */
}
a.ready-to-enrol:hover, a.ready-to-enrol:focus{
	background-color: #eb6f00; /* Tui */
}

/**
 * Feature image
 **/
.pp-block.pp-featureimage img {
	width: 100%;
}
.pp .muSlideWrap .flex-control-nav {
	bottom: -1em;
}
.pp .flexslider .slides {
	margin-bottom: 2.5em;
}
@media screen and (max-width: 1023px){
	.pp-block.pp-featureimage img {
		display: none;
	}
}

/**
 * key facts
 **/
.pp-block.pp-keyfacts {
	background-color: #004b94;
	padding: 2em;
}
.pp-keyfacts ul {
	margin: 0;
	padding: 0;
	list-style-type: none;

	display: flex;
	flex-wrap: wrap;
}
.pp-keyfacts li {
	border-bottom: 1px solid rgba( 255, 255, 255, 0.2 );
	color: #fff;
	padding: 0.25em 0;
	width: 50%;
}
.pp-keyfacts li:nth-of-type(odd){
	width: 35%;
}
.pp-keyfacts li:nth-of-type(even){
	width: 65%;
	padding-top: 8px;
}
.pp-keyfacts h3 {
	font-size:24px !important;
	color:#fff;
	margin:0;
	padding:0;
}

/**
 * Good fit
 **/
.pp-block.pp-goodfit {
	background-color: #efefef;
	padding: 2em;
}

/**
 * Accreditations
 **/
.pp-acreditations img {
	width: 100%;
}

/**
 * KIS
 **/
.pp-block.pp-kis {
	background-color: #efefef;
	padding: 2em;
}
.pp-kis .pp-kislink {
	float: right;
	width: 40%;
	margin: 0 0 1em 1em;
}
.pp-kis .pp-kislink img {
	width: 100%;
}

/**
 * profiles
 **/
.pp-profile-image {
	float: left;
	width: 120px;
	height: 120px;
	position: relative;
}
.pp-profile-content {
	float: right;
	width: -webkit-calc(100% - 120px);
	width: calc(100% - 120px);
	padding: 0;
}
.pp-open-quote, .pp-close-quote {
	color: #666;
	font-size: 80px;
	line-height: 1em;
	font-style: normal;
	font-family: NimbusSanNovCon-Med;
	position: absolute;
	display: none; /* until we get a better fix */
}
.pp-open-quote {
	top: -20px;
	left: -30px;
}
.pp-close-quote {
	right: -30px;
}
.pp.nd blockquote {
	font-size: 18px;
	line-height: 1.4em;
}
@media (max-width:899px) {
	.nd .pp-profile-content blockquote {
		margin: 0 2em;
	}
	.pp-profile-image {
		float: none;
		margin:0 auto;
	}
	.pp-profile-content {
		float: none;
		width: 100%;
		margin-top:2em;
	}
}

/** Credit summaries **/
.pp-credits h2, .pp-credits h3, .pp-credits h4, .clear {clear: both;}
.pp-credits {
	display: block;
	padding: 1em;
	background-color: #efefef;
}
.pp-credits .section {
	margin-bottom: 2em;
}
.pp-credits .box {
	width: calc( 33.33% - 2px );
	margin-right:2px;
	float: left;
	text-align: center;
	padding: 1em;
}
.pp-credits .box.four-cols {
	width: calc( 25% - 2px );
}
.pp-credits .box-info {
	text-align: left;
}
.pp-credits .box-info p{
	font-size: 0.85em;
}
.pp-credits .box-info ul{
	padding-left: 0.5em;
}
.pp-credits .box-info li{
	font-size: 0.85em;
	line-height: 1.6em;
}
.pp-credits .box label {
	display: block;
	font-weight: bold;
	padding: 0;
	color: #fff;
}
.pp-credits .box p {
	color: #fff;
}
.pp-credits .box li {
	color: #fff;
}
.pp-credits-compulsory {
	background-color: #983222;
}
.pp-credits-core {
	background-color: #AF5D50;
}
.pp-credits-major {
	background-color: #334f5e;
}
.pp-credits-minor {
	background-color: #44697d;
}
.pp-credits-elective {
	background-color: #727900;
}
.pp-credits-capstone {
	background-color: #796F67;
}
@media screen and (max-width: 779px){
	.pp-credits .box {
		clear: both;
		width: 100% !important;
		margin-right: 0 !important;
	}
}

.pp-credits {
    min-width: 20rem;
    max-width: 30rem;
}

.pp-credits .item {
    padding: .3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pp-credits ul {
    list-style: none;
    padding-left: 0;
}

.pp-credits li {
    margin: 0 !important;
}

.pp-credits .item .credits {
    text-align: right;
}

.pp-credits .item .credits::first-letter {
    opacity: 0;
}

.pp-credits .item {
    background: white;
    font-weight: 400;
    border-top: thin solid #f0f0f0;
}

.pp-credits .core {
    color: rgb(152, 50, 34);
}

.pp-credits .compulsory {
    color: rgba(152, 50, 34, 0.8);
}

.pp-credits .major {
    color: rgb(66, 98, 118);
}

.pp-credits .minor {
    color: rgba(66, 98, 118, .8);
}

.pp-credits .electiveSched {
    color: rgb(95, 102, 56);
}

.pp-credits .elective {
    color: rgba(95, 102, 56, .8);
}

.pp-credits .research {
    color: rgb(179, 77, 0);
}

.pp-credits .prac {
    color: rgba(179, 77, 0, .8);
}

/**
 * Course tables
 **/
table.pp-courses {
	width: 100%;
	margin-bottom: 2em;
}
table.pp-courses th {
	color: #fff;
	background-color: #666;
	padding: 0.4em 0.8em;
	cursor: pointer;
}
table.pp-courses td {
	padding: 0.2em 0.4em;
}
table.pp-courses th i {
	margin-right: 1em;
}
table.pp-courses tfoot td {
	padding: 0.4em;
	font-size: 0.8em;
	text-align: center;
}
table.pp-courses.open i.closed {
	display: none;
}
table.pp-courses.closed i.open {
	display: none;
}
table.pp-courses.closed tbody {
	display: none;
}
table.pp-courses.open tfoot {
	display: none;
}

/**
* Typical pattern table
**/
.pp-typicalpattern:after {
	content: "";
	display: table;
	clear: both;
}
.pp-typicalpattern table{
	width:calc(33.33% - 2px);
	margin-right:2px;
	float: left;
}
.pp-typicalpattern table.pp-four-cols{
	width:calc(25% - 2px);
}
.pp-typicalpattern table td {
	height: 4em;
	overflow: hidden;
	color: #fff;
}
.pp-typicalpattern table td,
.pp-typicalpattern table th{
	padding: 0.2em 0.4em;
	vertical-align: middle;
	height: 4em;
	overflow: hidden;
}
.pp-typicalpattern table,
.pp-typicalpattern table tr,
.pp-typicalpattern table td,
.pp-typicalpattern table th {
	border: none;
	border-image: none;
}
.pp-typicalpattern table th {
	font-weight: bold;
}
.pp-legend {
	display:inline-block;
	padding:0.2em 0.4em;
	color:#fff;
	width: 140px;
	text-align: center;
	margin-right: 1em;
}
@media screen and (max-width: 779px){
	.pp-typicalpattern table {
		clear: both;
		width: 100% !important;
		margin-right: 0;
	}
}

/**
 * Course number diagram
 **/
 .pp-coursenumbers,
.pp-coursenumbers td {
	border: none;
	border-collapse:collapse;
}
.pp-coursenumbers tr:nth-of-type(1) td {
	width: 1.1em;
	text-align: center;
	font-size: 3.2em;
	font-weight: bold;
	background-color: rgba( 68, 105, 125, 0.2 );
}
.pp-coursenumbers tr:nth-of-type(1) td:nth-of-type(6) {
	background-color: transparent;
	width: 4px;
	font-size: 0;
}
.pp-coursenumbers tr:nth-of-type(1) td:nth-of-type(4) {
	background-color: transparent;
	width: 1em;
}
.pp-coursenumbers tr:nth-of-type(2) td {
	text-align: center;
	font-weight: bold;
	font-size: 0.9em;
}

/**
 * Accordion
 **/
.accordion-heading{
	position: relative;
	cursor: pointer;
	padding-left:3em;
}
.accordion-heading h2{
	margin-bottom: 0;
	color: #444;
	font-size: 36px;
}
.accordion-heading i{
	position: absolute;
	top:0.5em;
	left:0;
	color:#444;
	font-size: 24px;
}
.accordion-content{
	margin-top: 2em;
}
.accordion.closed .accordion-content{
	display:none;
}
.accordion.closed .accordion-heading i.closed{
	display:inline;
}
.accordion.open .accordion-heading i.closed{
	display:none;
}
.accordion.closed .accordion-heading i.open{
	display:none;
}
.accordion.open .accordion-heading i.open{
	display:inline;
}
@media (max-width:1023px){
	.accordion-heading{
		padding-left: 2.5em;
	}
	.accordion-heading i{
		font-size: 22px;
		top:0.4em;
	}
	.accordion-heading h2{
		font-size: 30px;
	}
}
@media (max-width:639px){
	.accordion-heading{
		padding-left: 2em;
	}
	.accordion-heading i{
		font-size: 20px;
		top:0.2em;
	}
	.accordion-heading h2{
		font-size: 24px;
	}
}
@media (max-width:419px){
	.accordion-heading{
		padding-left: 2em;
	}
	.accordion-heading i{
		font-size: 18px;
		top:0.1em;
	}
	.accordion-heading h2{
		font-size: 20px;
	}
}

/**
 ND tweaks
 **/
.nd-area{
	margin-bottom:20px;
}
.nd-area{
	padding:1em 2em;
}
.nd blockquote p::before,
.nd blockquote p::after {
	content: none;
}
@media screen and (max-width: 639px){
	.nd-area{
		padding:1em;
	}
}
.nd-col-200-rest{
	float:right;
	width: -webkit-calc(100% - 200px);
	width: calc(100% - 200px);
}
@media (min-width:900px){
	.nd-cols:nth-of-type(even) .nd-col-200-rest{
		float:left;
	}
}
@media (max-width:899px){
	.nd-col-200-rest {
		float: none;
		width:100%;
	}
}