
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    padding:0;
    margin:0;
    font-size: 16px;
}

.contentwrap {
    max-width: 1250px;
    margin: 0 auto;
    position:relative;
    padding: 30px;
}
main > div.contentwrap:last-of-type {
    padding-bottom: 50px;
}
.contentwrap.wider {
	max-width:1160px;
}
.breadcrumbs {
	margin:20px auto;
}
.contentwrap::after {
	content:"";
	clear:both;
	display:block;
}
img {
    border:none;
    max-width:100%;
    height:auto !important;
}

.divider {
	width: 60px;
	height:3px;
	content:"";
	display:block;
	background-color:#5E93D3;
	margin: 10px auto;
}

.link-header {
	display:flex;
	width: 100%;
	justify-content:space-between;
	align-items:center;
	flex-wrap: wrap;
}
/*============ header ============*/
header.top {
    font-size:14px;
    color:#ffffff;
    background:#021D49;
    transition:background 0.5s ease;
}
.has-graphic header.top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background:transparent;
}
.header-content {
	display:flex;
	justify-content: space-between;
}
header.top a {
	color:inherit;
	text-decoration:none;
	cursor: pointer;
}
.has-graphic header.top .logo h1 {
	background:#B11E24;
	transition:background 0.5s ease;
}
.slide-menu-active.has-graphic header.top .logo h1,
.modal-active.has-graphic header.top .logo h1 {
	background:none;
}
.logo {
    display: inline-block;
    max-width: 300px;
    height:auto;
    font-family: poynter-oldstyle-display, serif;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
}
.logo h1 {
	display:inline-block;
	font-size: 48px;
	padding: 20px;
	margin: 0;
	color: #ffffff;
}
.logo h1 img[alt] {
    font-size: 16px;
    white-space: normal;
}
header.top nav {
	display:flex;
	flex-direction:column;
	flex-grow: 1;
	align-items: stretch;
}
.quick-menu,
.social-hub {
	white-space:nowrap;
	text-align: right;
	margin-bottom: 20px;
}
.quick-menu-links,
.quick-menu-buttons {
	display:inline-block;
}
.site-links {
	display: inline;
}
.site-links a {
	margin:5px;
	display: inline-block;
}
.site-links img {
	width: 24px;
}
.quick-menu .hover-text {
	max-width:0;
	display: inline-block;
	overflow: hidden;
	transition: max-width 0.5s ease;
	vertical-align: middle;
	font-weight: bold;
}
.quick-menu a {
	margin:10px;
}
.quick-menu a:hover > .hover-text {
	max-width:10vw;
	margin-right:10px;
}
.quick-menu-links > a {
    display: inline-block;
    vertical-align: middle;
}
/***** Modals ****/
.menu-modal {
    position:fixed;
    top:0;
    left:0;
    right:0;
    height: 100%;
    /* bottom:0; */
    background:#021D49;
    color:#ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    /* overflow: hidden; */
}
.modal-active header.top {
	position:fixed;
	top: 0;
	left: 0;
	right: 0;
    z-index: 200;
}
.modal-close {
	/* content:"X"; */
	position: absolute;
	top: 0;
	right: 0;
}
.modal-close::before {
	content:"X";
	font-size:36px;
}
.search-modal {
	display:flex;
}
.search-modal form {
	position:relative;
}
.search-active .search-modal {
	transform:translateY(0);
}
.search-modal input {
	background:transparent;
	border-bottom:3px solid #ffffff;
	width:50vw;
	height: auto;
	font-size: 4vw;
	line-height: 1;
	color: #ffffff;
	text-align: center;
	padding: 10px;
}
.quicklinks-modal{	
	flex-direction: column;
}
.quicklinks-active .quicklinks-modal {
	transform:translateY(0);
}
.quicklinks-modal h1 {
	color:#ffffff;
	text-transform:uppercase;
	font-family: proxima-nova, sans-serif;
	font-weight: bold;
}
.quicklinks-modal ul {
	padding:0;
	margin:0;
	text-align:center;
	list-style:none;
	font-size:24px;
	font-weight:bold;
}
.quicklinks-modal ul ul {
	font-size:16px;
	font-weight:normal;
}
.quicklinks-modal a {
	color:inherit;
	text-decoration:none;
}
/***** Slide menu ****/
#mob-close {
    position: relative;
    display: block;
    width: 400px;
    height: 50px;
    margin-right: auto;
    z-index: 100;
}
#mob-close > span {
    position: absolute;
    top: 25px;
    right: 9px;
    display: block;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background-color: #FFF;
}
#mob-close span.one {
    transform: rotate(-45deg);
}
#mob-close span.two {
    transform: rotate(45deg);
}
.slide-menu {
	color: #ffffff;
	width:100%;
	z-index:1000;
	position: fixed;
	height: 100%;
	top: 130px;
	left: -100%;
	overflow:hidden;
	display: block;
	border-top:3px solid #fff;
}
.slide-menu-active .slide-menu {
    left: 0px;
}
.slide-menu-active header.top {
	background:#021D49;
	position:fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}
.site-content-menu-slide {
    overflow-x:hidden;
    position:relative;
    right:0;
}
/* transition for menu slide */
.slide-menu,
.site-content-menu-slide {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.slide-menu ul {
    position:absolute;
    top:0;
    left:0;
    width: 400px;
    bottom:0;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top:100px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 24px;
    background: #021D49;
    padding-left: 160px;
    box-sizing: border-box;
    z-index: 10;
}
.slide-menu li {
	display:block;
	color: #FFF;
}
.slide-menu a {
	display: block;
	color: inherit;
	text-decoration: none;
	line-height: 1;
	padding: 6px;
}
.slide-menu li:hover > a {
	color: #5E93D3;
}
.slide-menu li > ul {
	left:0;
	width: 300px;
	z-index: 100;
	opacity:0;
	box-sizing: border-box;
	padding: 100px 40px;
	pointer-events: none;
	transition: none;
}
.slide-menu > ul:not(.dropdownJavaScript) li:hover > ul,
.slide-menu > ul.dropdownJavaScript li.dropdownOpen > ul {
	left:100%;
	display:block;
	opacity:1;
	pointer-events: all;
	transition:all 0.5s ease;
}
.slide-menu ul ul {
	background: #11305E;
	text-transform: none;
}
.slide-menu ul ul ul {
	z-index:-2;
	background: rgba(17, 48, 94, 0.5);
}
.slide-menu ul .expand {
    display: none;
}
.banners-menu {
	left: 30vw;
	top:0;
	right:0;
	bottom:0;
	position: absolute;
}
.banners-menu .banner {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	opacity:0;
	background-position: center;
	background-size: cover;
	transition: opacity 0.5s ease;
}
.banners-menu .banner.active {
	opacity:1;
}
.banners-menu .banner-navigation,
.banners-menu .banner-content {
	display:none;
}

/** mobile menu extras **/
.slide-menu .mobile {
    display: none;
}
.slide-menu form.search > p {
    background-color: #204b7f;
    padding-right: 50px;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    box-sizing: border-box;
    margin: 0px;
}
.slide-menu form.search input,
.slide-menu form.search label.float {
    color: #FFF;
    font-size: 16px;
    line-height: 50px;
    padding-left: 1em;
    min-height: 50px;
    background-color: transparent;
}
.slide-menu form.search label.float {
    text-transform: uppercase;
    font-weight: bold;
}
.slide-menu form.floatlabel-active .js-float-label-wrapper.focused > label.float,
.slide-menu form.floatlabel-active .js-float-label-wrapper.populated > label.float {
    top: 0px;
    padding-top: 4px;
    font-weight: normal;
}
.slide-menu .mobile .search button {
    position: absolute;
    width: 50px;
    height: 100%;
    background-color: transparent;
    background-image: url('https://kms-au.appspot.com.storage.googleapis.com/sites/calrossy/app_files/img/icons/search.svg');
    background-repeat: no-repeat;
    background-size: 25px 25px;
    background-position: center;
    border: none;
    border-left: 1px solid #FFF;
}

/*============ footer ============*/
.footer-enrol {
	background:#B11E24;
	color:white;
	padding:20px 0;
}
.footer-enrol .contentwrap > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-enrol h2 {
	font-size:48px;
	color: #FFFCE4;
	line-height: 1;
	margin: 20px 0px;
}
.footer-enrol .button {
	border: 1px solid #FFFCE4;
	vertical-align:middle;
	color: inherit;
	text-decoration: none;
	font-weight: normal;
	font-family: proxima-nova, sans-serif;
	font-size:24px;
}
footer .footer-bottom {
    background:#021D49;
    background-size:cover;
    color:#fff;
}
.footer-bottom ul {
    list-style:none;
    padding:0;
    margin:0;
}
.footer-bottom li {
	display:inline-block;
}
.footer-bottom li li {
    display:block;
    margin:10px 0;
}
.footer-bottom nav a {
	margin:10px;
	display: block;
}
.footer-bottom a {
    color:inherit;
    text-decoration:none;
}
.footer-bottom .contact-link {
	float:right;
	color: #5E93D3;
	text-transform: uppercase;
	font-weight: bold;
}
/** bykeo ***/
.cricos-footer {
    display: block;
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
.cricos-footer .cricos {
    display: inline-block;
	padding-right:50px;
}
.cricos-footer a {
	color:inherit;
    text-decoration:none;
}
.bykeo img {
    vertical-align: middle;
    display: inline-block;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
a.bykeo:hover img{
    transform-origin: center;
    transform: translateX(-200%) rotate(-360deg);
}
.cricos-footer .social-hub {
	float:right;
}

/*============ search results ============*/
div.result a {
    text-decoration: none;
}
div.result h2 {
    margin-bottom: 0px;
}
div.result small,
div.result p {
    padding-left: 20px;
}

/*============ splash ============*/
/*  banner */
.banners-home {
	position:relative;
}
.banners-home .banner-stage {
    height: 90vh;
}
.banners-home .banner {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:block;
    background-position:center;
    background-size:cover;
    opacity:0;
    z-index:0;
    transition:opacity 0.5s ease;
}
.banner::before {
	content:"";
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:rgba(0,0,0,0.3);
}
.banners-home .banner.active {
	opacity:1;
	z-index:3;
}
.banners-home .banner-content {
	position:absolute;
	top:20%;
	bottom:20%;
	color:#ffffff;
	left: 20%;
	right:50%;
	/* margin-right:-480px; */
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.banners-home [data-banner_side="right"] .banner-content {	
	left: 50%;
	right:20%;
	text-align:right;
}
.banners-home .banner-name {
    display:none;
}
.banners-home .banner-title {
    font-family: poynter-oldstyle-display, serif;
	font-size:48px;
	display:block;
}
.banners-home .button {
	background:transparent;
	border:1px solid #ffffff;
	width: auto;
}
.banners-home .banner-navigation {
    position:absolute;
    bottom:20px;
    left:0;
    right:0;
    z-index: 100;
    text-align:center;
}
.banners-home .banner-navigation .banner-name,
.banners-home .banner-navigation .banner-title,
.banners-home .banner-navigation .banner-caption {
	display:none;
}
.banners-home .banner-nav-item {
	display: inline-block;
	padding:20px 5px;
	cursor:pointer;
}
.banners-home .banner-nav-item::after {
	background-color:#ffffff;
	width: 60px;
	height:3px;
	content:"";
	display:block;
    transition:background-color 0.5s ease;
}
.banners-home .banner-nav-item.active::after {
	background-color:#5E93D3;
}

.expand-box {
	margin: 0 -100px;
	position:relative;
}
/*============ related content feed ============*/
.related-content {
	display:flex;
	margin: 20px 0;
}
.rel-graphic-wrap {
    flex-basis:50%;
    padding-right: 10%;
    box-sizing: border-box;
}
.related-content-feed > .related-content.has-graphic:nth-of-type(even) .rel-graphic-wrap {
    padding-left: 10%;
    padding-right: 0px;
    order: 2;
    margin-right: auto;
}
.related-content-graphic {
	background-color: grey;
	background-position: top;
	background-size: cover;
	width: 70%;
}
.t-home .related-content-graphic {
    width: 90%;
}
.related-content-graphic:after {
    content:"";
    display: block;
    width: 100%;
    padding-top: 100%;
    margin-right: auto;
}
.related-content-feed > .related-content.has-graphic:nth-of-type(even) .related-content-graphic {
    margin-left: auto;
}
.related-content-details {
	position:relative;
	flex: 1;
	flex-basis: 50%;
	flex-shrink: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/** first **/
.related-content:nth-child(1) > .related-content-details {
    padding: 5% 0px;
	box-sizing: border-box;
}
.related-content:nth-child(1) .related-content-details::before,
.related-content:nth-child(1) .related-content-details::after {
	content:"";
	display:block;
	position: absolute;
	width: 60vw;
	background:#FAF7F6;
	height:10px;
}
.related-content:nth-child(1) .related-content-details:before {
    top: 10%;
}
.related-content:nth-child(1) .related-content-details:after {
    bottom: 10%;
}

/*============ testimonials scroller ============*/
.testimonials {
	color:#B11E24;
	font-family: poynter-oldstyle-display, serif;
    font-weight: 400;
    font-size:24px;
}
.testimonial-title {
	text-align:center;
	font-size:16px;
	font-family: proxima-nova, sans-serif;
	text-transform:uppercase;
	font-weight:bold;
}
.testimonial-title::after {
	content:"";
	width:60px;
	height:3px;
	background:#B11E24;
	display:block;
	margin:20px auto
}
/*============ foundation cta ============*/
.foundation-cta {
	min-height: 450px;
	background-color:#B11E24;
	color:white;
	display:flex;
	flex-direction:column;
	justify-content: flex-end;
	padding: 20px 100px;
	background-size: cover;
	background-position: center;
	position:relative;
}
.foundation-cta::before {
	content:"";
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:rgba(0,0,0,0.3);
	z-index:0;
}
.foundation-cta > * {
	z-index:10;
}
.foundation-cta h2 {
    color:#ffffff;
    font-size: 38px;
}
.cream-wrap {
	background-color:#FAF7F6;
	padding-bottom: 1px;
	/* margin-top:100px; */
}
/*
.t-home .cream-wrap {
	padding-top: 300px;
    margin-top: -300px;
} */
/*============ events feed ============*/
.events {
    padding: 20px 0;
}
.events-feed {
	margin: 20px -6px;
	text-align: justify;
	display: flex;
	position:relative;
	justify-content: center;
	flex-wrap: wrap;
}
.events-feed::after {
	/*content: "";*/
	clear:both;
	display:block;
}

/** event list view **/
.event {
	position:relative;
	flex-basis: 450px;
	text-decoration: none;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
	color:#666666;
	background-color: #FFFFFF;
	display: inline-block;
	width: 450px;
	min-height: 450px;
	text-align: left;
	margin: 10px;
	/* float:left; */
}
.event a {
	text-decoration: none;
	color: inherit;
}
.event a.button {
	color: #ffffff;
	margin:5px;
}
.event-graphic,
.event-content {
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	position:static;
}
.event-graphic {
    padding-top: 55%;
    background-color: #B11E24;
    background-size:cover;
    background-position: top;
    background-repeat:no-repeat;
}
.event-graphic.fallback {
	background-size: 40%;
	background-position: center;
}
.grid .event-graphic.fallback {
    background-size: 0%;
}
.grid .event:nth-child(1) .event-graphic.fallback {
    background-size: 40%;
}
.event-content {
	padding: 6%;
	min-height: 35%;
	box-sizing: border-box;
	display:flex;
	background:none;
}
.event .title {
	text-transform:uppercase;
	font-weight:bold;
}
.event .dates {
	padding-right: 20px;
	flex-shrink: 1;
	width: 110px;
	flex-basis: 110px;
	height: auto;
    line-height: 0.9;
}
.event .times,
.event .location  {
	background-image:url('https://kms-au.appspot.com.storage.googleapis.com/sites/calrossy/app_files/img/icons/pin-circle-icon-reverse.svg');
	background-size: auto 24px;
	background-repeat:no-repeat;
	background-position: 0 50%;
	padding:5px 0;
	padding-left:32px;
}

.dates {
	font-size: 32px;
	font-weight:bold;
	line-height: 1;
}
.dates .start-date,
.dates .finish-date {
	display:inline-block;
	vertical-align: middle;
}
.dates .finish-date {
	font-size:80%;
	vertical-align:top;
}
.dates .day {
	display:block;
}
.dates .month {
	display:block;
	font-weight:bold;
	font-size:60%;
	text-transform:uppercase;
}
.dates .finish-date {
	font-size:80%;
	vertical-align:top;
}
.event-details {
    font-size: 14px;
    flex-grow: 1;
}
.event .title {
    font-size: 16px;
    line-height: 1;
    text-transform:uppercase;
    font-weight: bold;
    padding-bottom: 10px;
}
.event .arrow  {
	background-image:url('https://kms-au.appspot.com.storage.googleapis.com/sites/calrossy/app_files/img/icons/pin-circle-icon-reverse.svg');
	background-size: auto 18px;
	background-repeat:no-repeat;
	background-position: 0 50%;
	padding-left:32px;
	min-height: 18px;
}

/* block inclusion view */
.events-feed.grid {
	padding-top: 50%;
}
.grid .event {
	background-color: transparent;
	position:absolute;
	margin: 0;
	top: 0;
	left: 0;
	right:0;
	bottom:0;
	width:23.5%;
	height: 48%;
	min-height: auto;
}
.grid .event-graphic {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width: 100%;
    height:100%;
    padding-top: 0px;
}
.grid .event-content {
    position: relative;
    display:block;
    background:rgba(0,0,0,0.3);
    color: white;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 200px;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 1;
}
.grid .event .dates {
    padding-right: 0px;
    padding-bottom: 10px;
    width: 100%;
}
.grid .event .title {
    font-size: 18px;
}
.grid .event-details {
    font-size: 13px;
}
.grid .event .arrow {
	background-image:url('https://kms-au.appspot.com.storage.googleapis.com/sites/calrossy/app_files/img/icons/pin-circle-icon.svg');
}

/** first featured */
.grid .event:nth-child(1) {
	width: 48%;
	height:auto;
	right:auto;
	background-color: #FFF;
}
.grid .event:nth-child(1) .event-graphic,
.grid .event:nth-child(1) .event-content {
	position:static;
}
.grid .event:nth-child(1) .event-graphic {
    height: 60%;
}
.grid .event:nth-child(1) .event-graphic.fallback {
    
}
.grid .event:nth-child(1) .event-content {
    display: flex;
    flex-direction: row;
    height:auto;
    color: #666666;
    background:none;
    padding: 6%;
}
.grid .event:nth-child(1) .dates {
    font-size: 40px;
    padding-right: 20px;
    width: 140px;
    flex-basis: 140px;
}
.grid .event:nth-child(1) .event-details {
    font-size: 16px;
    padding-top: 0px;
}
.grid .event:nth-child(1) .title {
    font-size: 18px;
    line-height: 1;
}
.grid .event:nth-child(1) .arrow {
	background-image:url('https://kms-au.appspot.com.storage.googleapis.com/sites/calrossy/app_files/img/icons/pin-circle-icon-reverse.svg');
	background-size: auto 20px;
}
.grid .event:nth-child(2) {
	 left: 50.7%;
}
.grid .event:nth-child(3) {
	top:auto;
	left: 50.7%;
}
.grid .event:nth-child(4) {
	left:auto;
}
.grid .event:nth-child(5) {
	top:auto;
	left:auto;
}

/*============ news ============*/
.news {
	margin-bottom: 20px;
}
.news-feed {
	display:flex;
	text-align: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
	color: #666666;
}
.news-item {
	flex-basis: 31%;
	background-color: #FFF;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
	position:relative;
	display: flex;
	flex-direction: column;
	text-align: left;
	justify-content: flex-end;
	margin: 0.5%;
	margin-bottom: 20px;
}
.news-graphic {
	width: 100%;
	padding-top: 60%;
	background-color: #021D49;
	background-size:cover;
	background-repeat: no-repeat;
	background-position:top;
	align-self: flex-start;
}
.news-graphic.fallback {
    background-size: 40%;
    background-position: center;
}
.news .title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
}
.news-content a {
    color: inherit;
    text-decoration: none;
}
.news-content {
	padding: 6%;
	font-size: 14px;
	background-color: #FFF;
	flex-grow: 1;
}
.news-content .foot {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	margin: 0px;
}
.news-content .date {
    display: inline-block;
    color: #b3b3b3;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding-left: 10px;
}
.news-category,
.event-category {
	color:#5E93D3;
	text-decoration:none;
	font-weight: bold;
	margin: 15px;
}
.news-category.active,
.event-category.active {
    color: #B11E24;
	text-decoration:underline;
}
.pager {
	text-align:center;
	vertical-align:middle;
	font-weight:bold;
}
.pager a {
	text-decoration:none;
	color:#B3B3B3;
}
.pager a.active {
	color:#5E93D3;
}
.news-footer .read-more {
	float:right;
	vertical-align: middle;
}
.t-news .page-body {
	background:#021D49;
	color: #FFF;
	padding:20px;
}
.t-news .page-body .contentwrap {
	max-width:960px;
}
.t-news .page-body h1 {
	color:#ffffff;
}

/*============ forms ============*/
form p {
	display:flex;
	flex-wrap: wrap;
}
form label {
	flex-basis:200px;
	display: block;
}
form label.error {
    flex-basis: 100%;
}
form table {
	margin: 20px 0;
	padding: 20px;
	background:#eee;
}
form input, 
form select, 
form textarea, 
.card-element-wrap {
	flex-grow:1;
	background:#FAF7F6;
	border:none;
	min-height:30px;
	font-size: 16px;
	font-weight: 300;
	color: #222;
	font-family: proxima-nova, sans-serif;
	width: 300px;
	max-width: 100%;
	box-sizing: border-box;
}
form textarea {
	height: 250px;
	padding-top: 10px;
}
form input,
form select,
form textarea,
label.float {
    padding-left: 20px;
}

form p.submit {
	text-align:right;
	display:block;
}
.js-float-label-wrapper {
    position:relative;
    display: block;
}
form.floatlabel-active .js-float-label-wrapper > label.float {
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.5s ease;
}
.search-modal form.floatlabel-active .js-float-label-wrapper > label.float {
    text-align: center;
    font-size: 4vw;
    text-transform: uppercase;
    font-weight: bold;
}
form.floatlabel-active .js-float-label-wrapper.focused > label.float,
form.floatlabel-active .js-float-label-wrapper.populated > label.float {
    top:1px;
    left:2px;
    font-size:10px;
    text-transform: uppercase;
    line-height: 10px;
}
.tickets-form input[type='submit'] {
    display:inline-block;
    background:#B11E24;
    padding: 7px 20px;
    text-transform:uppercase;
    font-weight: normal;
    cursor: pointer;
    text-decoration:none;
    color:#ffffff;
    border:none;
    font-size: 18px;
    border:1px solid #B11E24;
    color:#B11E24;
    background:transparent;
    font-weight:bold;
    height: auto;
    margin: 10px;
}
.tickets-form select,
.tickets-form #attendees input {
    padding: 7px 20px;
    margin: 10px;
}
.tickets-form label {
	font-weight:bold;
}
.sale-details thead th:first-child {
	text-align:left;
}
.sale-details thead th,
.sale-details tfoot th {
	color: #5E93D3;
}

form input.error,
form select.error,
form textarea.error {
    outline: 1px solid #B11E24;
}
label.error,
.contact-form label.error {
    font-size: 14px;
    line-height: 1;
    height: auto;
}
/*============ Alumni Form ============*/
.alumni-form form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.alumni-form p,
.alumni-form label,
.alumni-form input,
.alumni-form textarea {
    display: block;
    width: 100%;
}
.alumni-form p:nth-of-type(-n+6) {
    width: 48%;
}
.alumni-form {
	flex-grow:1;
}
.alumni-form input,
.alumni-form select,
.alumni-form textarea,
.alumni-form label.float {
	width: 100%;
	height:40px;
	line-height:40px;
}
.alumni-form textarea {
    height: 100px;
}
.alumni-form form label {
    flex-basis: 100%;
}
input#newsletter {
    max-width: 30px;
}
.alumni-form button {
    margin: 0 1200px 0 0;
}
/*============ experience tours ============*/
.experience-tours {
	background-color:#FAF7F6;
	color:#666666;
    padding: 50px 0;
}
.tour-header .button {
    background:transparent;
    border: 1px solid #B11E24;
    color:#B11E24;
}
/*============ enrolment add-ons ============*/
.enrolment-pack,
.enrolment-steps {
    padding:50px 0;
}
.narrow.contentwrap {
    padding: 0px 10%;
    box-sizing: border-box;
}
.t-enrolment .events {
    padding-top: 0px;
}

/** block styles **/
.t-home .enrolment-steps {
    padding-bottom: 100px;
}
.enrolment-steps {
    position: relative;
    color: #666666;
    background-color: #faf7f6;
    padding-bottom: 100px;
}
.enrolment-steps:after {
    content:"";
    position: absolute;
    right: 0px;
    bottom: 90px;
    display: inline-block;
    width: 40%;
    height: 10px;
    background-color: #b11f24;
}
.enrolment-steps .flex-wrap > h1,
.enrolment-steps .flex-wrap > h3{
    display: inline-block;
    vertical-align: top;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 10px 0px;
}
.enrolment-steps .flex-wrap > h1 {
    width: 30%;
}
.enrolment-steps .flex-wrap > h3 {
    width: 64%;
}
.enrolment-steps .four-col {
    width: 200px;
}
.enrolment-steps h4 {
    font-size: 20px;
    color: #B11E24;
}

/* enrolment page with form */
.contentwrap.second {
    padding-top: 0px;
}

/*============ sub page============*/
.contentwrap.no-content {
    padding: 0px 30px;
}
.page-graphic {
    padding-top:33%;
    background-color: #021D49;
    background-size:cover;
    background-position: top;
}
.page-subtitle {
	background:#021D49;
	color:#ffffff;
    font-family: poynter-oldstyle-display, serif;
    font-size:36px;
    line-height: 1;
    padding: 10px 0;
}
.share-bar {
	text-align:right;
	color:#5E93D3;
	text-decoration: none;
}
.share-bar a {
    text-decoration: none;
}
.share-bar::before {
	content:"";
    display: block;
    position: static;
    width: 150%;
    background: #FAF7F6;
    height: 10px;
    margin-left: 40%;
}
.share-bar img {
	margin:5px;
}
/*============ event page============*/
.event-sidebar-wrap {
	display:flex;
	padding-bottom:50px;
}
.event-sidebar-wrap .page-body {
	flex:1;
}
.event-sidebar {
	flex-basis: 250px;
	margin-left: 20px;
	order: 2;
	font-size: 16px;
}
.event-sidebar h4 {
    font-size: 16px;
    margin: 0px;
    margin-top: 20px;
}
.event-sidebar .occurrence {
    padding: 1px 0px;
}

/*============ purchase form ============*/
#attendees {
    display: block;
    list-style-type: none;
    margin:0;
    padding:0;
}
#attendees li > label {
    display:none;
}

#attendees table tbody {
	display:flex;
	align-items:flex-start;
	flex-wrap:wrap;
}

/*============ contact page ============*/
.t-contact .contentwrap.has-content {
    padding-bottom: 0px;
}
.t-contact .contentwrap.has-content h1 {
    margin-bottom: 0px;
}
.contact-wrap {
	display:flex;
}
.contact-campuses {
	flex-basis:50%;
}
.contact-form {
	flex-grow:1;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form label.float {
	width: 100%;
	height:40px;
	line-height:40px;
}
.contact-form textarea {
    height: 250px;
}
.campus {
	margin-bottom:50px;
}
.campus p {
    margin: 5px 0px;
}
.campus .address span {
    display: block;
}
.campus-contact-item-label {
	color:#5E93D3;
	font-weight:bold;
	text-transform: uppercase;
}

form.contact-page::after {
	content:"";
	clear:both;
	display:block;
}
form.contact-page .button {
	float:right;
}	
#map {
	height:400px;
}

.t-contact .share-bar {
    padding-top: 20px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1500px) {
	.expand-box {
		margin:0;
	}
	.grid .event {
		font-size:1.2vw;
	}
}
@media only screen and (max-width: 1300px){
/** slide menu **/
    #mob-close {
        width: 300px;
    }
    .slide-menu ul {
        width: 300px;
        padding-left: 30px;
    }
    .slide-menu li > ul {
        width: 250px;
        padding: 100px 30px;
    }
}
@media only screen and (max-width: 1100px){
/** stack slide menu **/
    .slide-menu {
        top: 0px;
        left: auto;
        right: -241px;
        width: 240px;
        background-color: #021D49;
        border-left: 1px solid #FFF;
        overflow-y: auto;
    }
    #mob-close {
        width:100%;
        cursor: pointer;
    }
    .slide-menu-active .slide-menu {
        left: auto;
        right: 0px;
    }
    /** menus **/
    .slide-menu ul {
        position: static;
        font-size: 16px;
        width: 100%;
        padding: 0px;
        opacity: 1;
    }
    .slide-menu li > ul,
    .slide-menu > ul:not(.dropdownJavaScript) li:not(.expand-active):hover > ul {
        display: none;
        width: 100%;
        padding: 0px;
        pointer-events: auto;
    }
    .slide-menu ul ul ul {
        background-color: #204b7f;
    }
    .slide-menu li.expand-active > ul,
    .slide-menu > ul:not(.dropdownJavaScript) li.expand-active:hover > ul,
    .slide-menu > ul:not(.dropdownJavaScript) li.expand-active > ul {
        display: block;
        opacity: 1;
    }
    .slide-menu li.depth-0 > a > .title {
        font-size: 18px;
    }
    .slide-menu a {
        padding: 1em;
        padding-right: 5px;
        border-bottom: 1px solid #FFF;
    }
    .slide-menu li.has-sub {
        position: relative;
    }
    .slide-menu li.has-sub > a {
        position: relative;
        border-right: 1px solid #FFF;
        margin-right: 50px; /* space for drop */
    }
    .slide-menu li.has-sub > a:after {
        position: absolute;
        content: "";
        display: block;
        left: 100%;
        bottom: -1px;
        background-color: #fff;
        width: 50px;
        height: 1px; /* border bottom */
        z-index: 100;
    }
    .slide-menu ul .expand {
        position: absolute;
        top: 0;
        right: 0;
        display: inline-block;
        height: 48px;
        width: 50px;
        border-left: 1px solid #fff;
        cursor: pointer;
    }
    .slide-menu ul .expand i {
        content:"";
        display: block;
        height: 100%;
        width: 100%;
        background: url('https://kms-au.appspot.com.storage.googleapis.com/sites/calrossy/app_files/img/menu-drop.svg') no-repeat center center;
        background-size: 30%;
        -webkit-transition: -webkit-transform 500ms ease;
        transition: -webkit-transform 500ms ease;
        transition: transform 500ms ease;
        transition: transform 500ms ease, -webkit-transform 500ms ease;
    }
    .expand-active > .expand i {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    .banners-menu {
        display: none;
    }
    /* mobile quicklinks */
    .slide-menu ul.quicklinks li.depth-0 > a > .title {
        font-size: 16px;
    }
    .slide-menu ul.quicklinks .depth-1 a {
        padding: 15px 1em;
    }
    .slide-menu ul.quicklinks .expand {
        width: 100%;
        border-left: 0px;
    }
    .slide-menu ul.quicklinks .expand i {
        width: 50px;
        margin-left: auto;
    }
/** event list view **/
    .events-feed,
    .events-feed.grid {
        padding: 0px;
        margin: 0px;
    }
    .events-feed.list {
        margin: 0px -1%;
    }
    .list .event {
        flex-basis: 48%;
        width: 48%;
        height: auto;
        min-height: 0px;
        margin: 1%;
    }
/** events grid view **/
	.grid .event {
	    position: relative;
	    display: inline-block;
	    display: inline-flex;
	    vertical-align: top;
	    flex-direction: column;
	    width: 45%;
	    flex-basis: 45%;
	    height: auto;
	    margin: 10px;
	}
	.grid .event:nth-child(1) {
	    width: 55%;
		flex-basis: 55%;
		height: auto;
	}
	.grid .event:nth-child(1) .event-graphic {
	    height: 0px;
	    padding-top: 50%;
	}
	.grid .event:nth-child(2),
	.grid .event:nth-child(3),
	.grid .event:nth-child(4),
	.grid .event:nth-child(5){
	    left: 0px;
	    top: 0px;
	}
	.grid .event:nth-child(2) .event-content,
	.grid .event:nth-child(3) .event-content,
	.grid .event:nth-child(4) .event-content,
	.grid .event:nth-child(5) .event-content {
	    min-height: 300px;
	}

}
@media only screen and (max-width: 960px) {
/** header **/
     header .contentwrap {
        padding: 0px;
        padding-top: 30px; /* for hub */
    }
    .quick-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
    }
	.quick-menu-links,
	.quick-menu-buttons {
		display: inline-block;
		vertical-align: middle;
	}
	.quick-menu-buttons {
	    order: 2; /* menu on right */
	}
	.quick-menu-buttons > a {
	    display: none;
	}
	.quick-menu a:hover > .hover-text {
	    max-width: 400px;
	}
	.quick-menu-buttons #mobile-menu {
	    display: inline-block;
	    padding: 8px;
	}
	.quick-menu-links > a > img {
	    width: 30px !important;
	    height: 30px !important;
	}
/** home **/
    .banners-home .banner-stage {
        height: 75vh;
    }
	.banners-home .banner-content,
	.banners-home [data-banner_side="right"] .banner-content {		
		left:20%;
		right: 20%;		
		width: auto;
	}
/** page **/
    .page-graphic {
        padding-top: 40%;
        min-height: 80px;
        box-sizing: border-box;
    }
/** enrolment blocks **/
    .enrolment-steps,
    .enrolment-pack {
        padding: 0px;
    }
    .t-home .enrolment-steps {
        padding-bottom: 40px;
    }
    .narrow.contentwrap {
        padding: 30px;
    }
    .enrolment-steps .flex-wrap > h1 {
        width: 30%;
    }
    .enrolment-steps .flex-wrap > h2 {
        width: 64%;
    }
/** news list **/
    .news-item {
        flex-basis: 48%;
        margin: 1%;
    }
    /* teaser block */
    .news-feed.feat > div.news-item:nth-of-type(3) {
        display: none;
    }
/** events list **/
    .event-content,
    .event .dates {
        display: block;
        width: 100%;
    }
    .event-content {
        padding: 20px;
    }
    .event .dates {
        padding-right: 0px;
        padding-bottom: 20px;
    }
    .event .title {
        font-size: 16px;
    }
    /** grid **/
    .grid .event {
        width: 48%;
        flex-basis: 48%;
        margin: 1%;
    }
    .grid .event:nth-child(1) {
        width: 500px;
        flex-basis: 500px;
        max-width: 500px;
    }
    .grid .event:nth-child(4),
    .grid .event:nth-child(5){
        display: none;
    }
/** related blocks **/
    .rel-graphic-wrap {
        padding-right: 30px;
    }
    .related-content-feed > .related-content.has-graphic:nth-of-type(even) .rel-graphic-wrap {
        padding-right: 0px;
        padding-left: 30px;
    }
    .related-content-details h1 {
        font-size: 30px;
        line-height: 1;
        margin: 10px 0px;
    }
    .related-content:nth-child(1) .related-content-details::before,
    .related-content:nth-child(1) .related-content-details::after {
        width: 100%;
    }
    .related-content:nth-child(1) .related-content-details:after {
        bottom: 0px;
    }
/** footer **/
    .footer-enrol h2 {
        font-size: 30px;
        margin: 10px 0px;
    }
    .footer-enrol .button {
        font-size: 20px;
    }
}
@media only screen and (max-width: 760px) {
	.has-graphic header.top {
		position: relative;
		background: #B11E24;
	}
	.logo h1 {
	    font-size: 40px;
	    padding: 10px;
	}
	header .contentwrap {
	    padding-top: 30px;
	    padding-bottom: 0px;
	}
	.header-content {
		display: block;
	}
	header .social-hub,
	header .quick-menu {
	    position: absolute;
	    top: 0px;
	}
	header .social-hub {
	    left: 0px;
	    width: 100%;
	}
	header .quick-menu {
        right: 0px;
	}
	.quick-menu a {
        margin: 5px;
	}
	.logo {
		display: block;
		text-align:center;
		margin: 0 auto;
	}
	.quick-menu, .social-hub {
		text-align:center;
	}
	header .quick-menu-links {
	    display: none;
	}
	.slide-menu .mobile { /* mobile extras */
	    display: block;
	}
/** home **/
    .banners-home .banner-stage {
        height: 55vh;
    }
    .banners-home .banner-content,
    .banners-home [data-banner_side="right"] .banner-content {
        text-align: center;
        justify-content: flex-end;
        top: 20px;
        left: 20px;
        right: 20px;
    }
    .banners-home .banner-title {
        font-size: 25px;
        line-height: 1;
    }
    .banners-home .banner-navigation {
        bottom: 0px;
    }
    .banners-home .banner-nav-item {
        padding: 5px;
    }
/** feature block feeds - limit to one **/
    /* events */
    .event {
        float: none;
    }
    .grid .event:nth-child(2) .event-content,
    .grid .event:nth-child(3) .event-content,
    .grid .event:nth-child(4) .event-content,
    .grid .event:nth-child(5) .event-content {
        min-height: 250px;
    }

/** content indexes and feats same size **/
    /** news **/
    .t-news .news-header.link-header {
        display: block;
        text-align: center;
    }
    .news-header h1,
    .events-header h1 {
        font-size: 30px;
        line-height:1;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .event-graphic {
        padding-top: 40%;
    }
    .event-content {
        min-height: 100px;
    }
/* event item */
    .event-sidebar-wrap {
        display: block;
        padding-bottom: 30px;
    }
    .event-sidebar {
        display: inline-block;
        vertical-align: top;
        margin-left: 0px;
        margin-right: 30px;
        padding-bottom: 30px;
        float: left;
    }
    .event-sidebar-wrap:after {
        content:"";
        display: block;
        width: 100%;
        height: 1px;
        clear: both;
    }
/** related blocks **/
    .related-content {
        display: block;
        margin: 20px 0px;
    }
    .rel-graphic-wrap,
    .related-content-feed > .related-content.has-graphic:nth-of-type(even) .rel-graphic-wrap {
        padding: 0px;
    }
    .related-content-graphic {
        max-width: 500px;
        margin: 0 auto;
    }
    .related-content-graphic:after {
        padding-top: 50%;
    }
    .related-content-details {
        display: block;
        text-align: center;
    }
    .related-content:nth-child(1) .related-content-details:before {
        top: 4%;
    }
/** contact **/
    form p {
        margin: 5px 0px;
    }
    p.submit {
        margin-top: 20px;
    }
    .contact-wrap {
        display: block;
    }
    .contact-campuses {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        max-width: 500px;
        margin: 0 auto;
    }
    .campus {
        display: inline-block;
        vertical-align: top; /*fallback*/
        width: 48%;
        margin: 1%;
        margin-bottom: 10px;
        flex-grow: 1;
    }
    .campus .address span {
        display: inline;
    }
    .campus .address span.comma:after {
        content:", ";
    }
    .campus h2,
    .contact-form h2 {
        font-size: 20px;
        line-height: 1;
        margin: 0px;
        margin-top: 20px;
    }
    .contact-form h2 {
        font-size: 30px;
    }
    .contact-form {
        display: block;
        max-width: 500px;
        padding-top: 20px;
        margin: 0 auto;
    }
/** alumni form **/
    .alumni-form p:nth-of-type(-n+6) {
        width: 100%;
    }
/** enrolment block **/
    .enrolment-steps .flex-wrap > h1,
    .enrolment-steps .flex-wrap > h3{
        width: 100%;
        line-height: 1;
    }
    .enrolment-steps .flex-wrap > h3 {
        font-size: 20px;
    }
    .enrolment-steps:after {
        bottom: 35px;
    }
/** footer **/
    .footer-enrol {
        padding: 0px;
    }
    .footer-enrol h2 {
        margin-top: 0px;
    }
    .footer-enrol .button {
        font-size: 18px;
    }
    .footer-enrol .contentwrap > div {
        display: block;
        text-align: center;
    }
    .footer-bottom .contentwrap {
        padding: 0px 30px;
    }
    footer hr {
        margin: 5px 0px;
    }
    .cricos-footer {
        text-align: center;
        padding: 0px;
    }
    .footer-bottom .cricos-footer .contentwrap {
        padding-bottom: 30px;
        box-sizing: border-box;
    }
    .cricos-footer .cricos {
        padding: 0px;
        padding-bottom: 13px;
    }
    .cricos-footer .social-hub {
        float: none;
        margin-bottom: 10px;
    }
    .bykeo {
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        display: block;
        text-align: center;
    }
/** all links **/
    a {

        /* These are technically the same, but use both */
        overflow-wrap: break-word;
        word-wrap: break-word;

        -ms-word-break: break-all;
        /* This is the dangerous one in WebKit, as it breaks things wherever */
        word-break: break-all;
        /* Instead use this non-standard one: */
        word-break: break-word;

        /* Adds a hyphen where the word breaks, if supported (No Blink) */
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;

    }
    .slide-menu li a { /* don't break for mobile menu */
        overflow-wrap: normal;
        word-wrap: normal;
        -ms-word-break:normal;
        word-break:normal;
        word-break: normal;
    }
    .page-subtitle {
        font-size: 20px;
        line-height: 1;
        padding: 0px;
    }
}
@media only screen and (max-width: 600px){
/** news and events lists **/
    .events-feed.list,
    .news-feed.list,
    .list .event,
    .news-item {
        display: block;
        width: 100%;
        margin: 0px;
    }
    .events-feed.list,
    .news-feed.list {
        text-align: center;
    }
    .list .event,
    .news-item {
        max-width: 500px;
        margin: 20px auto;
    }
/** event item **/
    .event-sidebar {
        display: block;
        width: 100%;
        margin: 0px;
        float: none;
    }
    .event-sidebar > div {
        display: inline-block;
        vertical-align: top;
        width: 48%;
        padding: 1%;
        box-sizing: border-box;
    }
/** feed blocks **/
    /* events */
    .grid .event:nth-child(2),
    .grid .event:nth-child(3) {
        display: none;
    }
    /* news */
    .news-feed.feat {
        display: block;
        width: 100%;
    }
    .news-feed.feat > div.news-item:nth-of-type(2) {
        display: none;
    }
    .feat .news-item {
        display: inline-block;
        display: flex;
        width: 100%;
        max-width: 500px;
        margin: 20px auto;
    }
/** footer **/
    .footer-bottom nav a {
        min-height: 30px;
        margin: 5px;
    }
    nav.footer {
        text-align: center;
    }
    .footer-bottom .contact-link {
        float: none;
        height: 30px;
        margin: 0px;
    }
}
@media only screen and (max-width: 550px) {
    .contentwrap {
        padding: 20px;
    }
    .contentwrap.no-content,
    .footer-bottom .contentwrap {
        padding: 0px 20px;
    }
/** events **/
    /* item */
    .event-sidebar > div {
        display: block;
        width: 100%;
        padding: 0px;
    }
    /* grid-view **/
	.events-feed.grid {
	    display: block;
		padding:0;
	}
	.grid .event:nth-child(1) {
		position: relative;
		display: block;
		width: 100%;
		height: auto;
		min-height: 200px;
		font-size: 14px;
		margin: 20px 0;
	}
	.grid .event .dates {
	    display: block;
	    width: 100%;
	}
	.grid .event:nth-child(1) .event-content {
	    display: block;
	}
	.grid .event:nth-child(1) .title {
	    font-size: 16px;
	}
	.grid .event:nth-child(1) .event-details {
	    font-size: 13px;
	}
/** contact **/
    .contact-campuses,
    .campus {
        display: block;
        width: 100%;
        margin: 0px;
    }
}

@media only screen and (max-width:350px){
/* header */
    header .social-hub {
        display: none;
    }
    .logo {
        white-space: normal;
    }
    .logo h1 {
        font-size: 30px;
    }
/* home */
    .banners-home .banner-title {
        font-size: 20px;
    }
    .banners-home .banner-caption {
        display: none;
    }
    .banners-home .button {
        font-size: 16px;
    }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}