/* -- version saved on December 17, 2019 --*/

a img {
    border: 0px;
}

a img:hover {
    opacity: 0.7;
}

div.quarter,
img.quarter {
    width: 20%;
}

.framed {
    border: 1px solid #eee;
    padding: 1em;
}

.addmarginTop--2 {
    margin-top: 2em;
}

.addmarginTop--3 {
    margin-top: 3em;
}

.addmarginTop--4,
.add-margin-top {
    margin-top: 4em;
}

.noMargin,
.noMargin p,
.noMargin h4,
.noMargin h2,
.noMargin h3
{
    margin-top: 0;
}


.translateTop--2 {
    transform: translateY(2px)
}

.translateTop--4 {
    transform: translateY(4px)
}

.translateTop--_4 {
    transform: translateY(-4px)
}

.translateTop--6 {
    transform: translateY(6px)
}

.blackText h3 a{
    color:#000;
    text-decoration:underline;
}

.student-list ul, ul.student-list {
    margin: 0;
    padding: 0;
}

.student-list ul li, ul.student-list li {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-bottom: 1px solid #ddd;
    font-family: "DinWeb", sans-serif;
    font-size: 1.19em;
    margin-top: 0.65em;
    padding-bottom: 0.8em;
    padding-left: 0;
}

.student-list ul li:last-child, ul.student-list li:last-child {
    border-bottom: medium none;
}

.small-list ul li {
    font-size: 0.85em;
    padding-left: 12px;
    padding-top: 2px;
}

.small-numbered-list ol li {
    font-size: 0.85em;
    padding-left: 12px;
    padding-top: 2px;
}

.address-info {
    background: none repeat scroll 0 0 #ededed;
    font-size: 85%;
    line-height: 1.45em;
    margin: 1em 0;
    padding: 0.5em 2em 2em;
}

.address-info h4 {
    color: #000;
    font-size: 1em;
}

.google-maps {
    overflow: hidden;
    padding-bottom: 55%;
    position: relative;
}

.google-maps iframe {
    height: 100% !important;
    left: 0;
    position: absolute;
    top: 0;
    width: 100% !important;
}

/*coloured image border tops for text and image component*/


.text .blue-topborder,
.image .blue-topborder {
    border-top: 11px solid #24547C;
    margin-top: 3%;
}

.text .olive-topborder,
.image .olive-topborder {
    border-top: 11px solid #C3AF36;
    margin-top: 3%;
}

.text .red-topborder,
.image .red-topborder {
    border-top: 11px solid #CB4746;
    margin-top: 3%;
}

.text .sage-topborder,
.image .sage-topborder {
    border-top: 11px solid #95A794;
    margin-top: 3%;
}

.text .orange-topborder,
.image .orange-topborder {
    border-top: 11px solid #CA7428;
    margin-top: 3%;
}

.text .purple-topborder,
.image .purple-topborder {
    border-top: 11px solid #5E447A;
    margin-top: 3%;
}

.text .teal-topborder,
.image .teal-topborder {
    border-top: 11px solid #0296A9;
    margin-top: 3%;
}

/* Red icon */

.iconRed {
    font-size: 1em;
    line-height: 1em;
    font-family: "fontawesome", sans-serif;
    font-weight: normal;
    color: red;
}

/* Green icon */

.iconGreen {
    font-size: 1em;
    line-height: 1em;
    font-family: "fontawesome", sans-serif;
    font-weight: normal;
    color: green;
}

/* ------ grey background ------ */

.grey-background h3 {
    font-family: "DinWebMedium", sans-serif;
    font-size: 1.125em;
    margin: 0;
}

.grey-background p {
    font-family: "DinWeb";
    font-size: 89%;
    line-height: 1.45em;
    margin-top: 1em;
}

.grey-background {
    background: none repeat scroll 0 0 #F3F3F3;
    padding: 0.5em 2em 1em 2em;
}

.grey-background h3 a {
    color: #3D3935;
}

.urgent-msg{
    border-top:10px solid #F5A623;
    padding:1em 2em;
    background-color:#FDEED7;
    
}
/* Make section-heading bg occupy only length of h2 */

/* Revert back to full length on mobile */

.section-heading-block h2 {
    display: inline-block;
}

.dotted-ruled {
    border-top: 2px dotted #DDDDDD;
    padding-top: 1em;
}

table {
    margin-bottom: 1.25em;
}

.newTable {
    border-collapse: collapse;
}

.newTable th {
    border-bottom: 1px solid #333;
    padding: 0 1em;
}

.newTable td {
    border-bottom: 1px dashed #888;
    padding: 1em;
}

.narrowTable {
    border-collapse: collapse;
}

.narrowTable th {
    border-bottom: 1px solid #333;
    padding: 0 .5em;
}

.narrowTable td {
    border-bottom: 1px dashed #888;
    padding: .5em;
}

.ssH2 h2,
.sshH2 h2 a {
    font-family: "DINWebMedium", sans-serif;
    font-size: 1.55em;
    letter-spacing: -1px;
    color: #555;
}

.contact-info {
    border-top: 12px solid #3D3935;
    box-shadow: 0 0 5px #CCCCCC;
    margin-bottom: 1em;
    padding: 1em 2em;
}

.intro p {
    font-size: 1.3em;
    letter-spacing: 0.03em;
    line-height: 1.6em;
    margin-top: 0;
}

.fine-print p {
    font-size: 0.85em;
    line-height: 1.65em;
    margin-bottom: 3em;
}

.fine-print h1 {
    font-size: 0.8em;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.1em;
}

.info-box p {
    padding: 0.8em 1em;
    border-left: 4px solid rgba(236, 198, 48, 0.5);
    font-size: 0.8rem;
    line-height: 1.2;
    background-color: #FFFBEE;
    font-family: 'Courier New', Courier, monospace;
}

/* ----- smaller print used for third level information eg. Facebook link, Twitter link, policiy detail  ----- */

.small p {
    font-size: 0.85em;
    line-height: 1.65em;
}

div.side-info h4 {
    color: #3D3935;
    padding: 1.5em 0 0 0.5em;
}

.darkGrey h3 {
    background: none repeat scroll 0 0 #3D3935;
    color: white;
    display: block;
    font-family: "DinWeb", sans-serif;
    font-size: 98%;
    padding: 0.45em 0 0.15em 0.95em;
}

/* -----Gallery Box style - Colours ----- */

.blue .box {
    border-right: 15px solid #23557c;
}

.olive .box {
    border-right: 15px solid #c3af37;
}

.red .box {
    border-right: 15px solid #cc4746;
}

.sage .box {
    border-right: 15px solid #90a693;
}

.orange .box {
    border-right: 15px solid #ca7429;
}

.purple .box {
    border-right: 15px solid #5e457a;
}

.teal .box {
    border-right: 15px solid #0296A9;
}

/* ----- button colours ----- */

.button-clf3 p{
	font-size:1.1em;
	}

.button-clf3 p a{
	text-transform:uppercase;
	font-family: din-condensed, sans-serif;
	font-weight: 400;
	font-style: normal;
	background-color:#CC0633;
	color:#fff;
	padding:0.5em 1em;
	border:1px solid #cc0633;
	}

.button-clf3 p a:hover{
	background-color:#fff;
	color:#cc0633;
	}


.button p a {
    font-family: "DinWebMedium", sans-serif;
    color: #fff;
    display: inline-block;
    padding: 0.5em 0.75em;
    border-radius: 6px;
    margin-bottom: 1em;
}

.blue p a {
    background: #23557c;
}

.olive p a {
    background: #c3af37;
}

.red p a {
    background: #a6192e;
}

.sage p a {
    background: #90a693;
}

.orange p a {
    background: #ca7429;
}

.purple p a {
    background: #5e457a;
}

.teal p a {
    background: #0296A9;
}

/* ----- New Gallery Box Configuration ----- */

.box {
    background-color: #F0F0F0;
    display: block;
    border-radius: 0 5px 5px 0;
    box-shadow: 1px 1px 1px #CBCBCB;
    padding: 0.8em 0.4em 0.4em 0.8em;
    margin: 1em 0;
    min-height: 75px;
}

.box h1 {
    font-family: "DINWebMedium", sans-serif;
    font-size: 1.3125em;
    text-transform: uppercase;
    color: #555;
    margin-top: 0.2em;
}

.box h2 {
    color: #777;
    padding-top: 0.5em;
}

.box h1,
.box h2 {
    margin: 0;
}

.box:hover {
    background: #E6E4E4;
    box-shadow: 0px 1px 2px #cbcbcb inset;
    transition: ease 0.3s;
}

.containerReplacement {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Parallax scrolling menu. Documentation located here: https://author.sfu.ca/cf#/content/sfu/students/insider/communications/communications/services/web/web-styling/return-to-top-arrow.html*/

#back-to-top {
    width: 0%;
    height: 0em;
}

#back-to-top li {
    display: none;
}

#back-to-top.fixed {
    padding: 0px;
}

#back-to-top.fixed ul {
    position: fixed;
    bottom: 3%;
    right: 7%;
}

#back-to-top.fixed li {
    display: none;
    /* hide all <li> items */
}

#back-to-top.fixed .current {
    display: block;
    /* show only current <li> item */
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

/*------ iPad and smaller Gallery Box ------*/

@media (max-width: 1024px) {
    .box h1 {
        font-size: 1.25em;
    }
}

/*------ smartphones and smaller Gallery Box ------*/

@media (max-width: 600px) {
    div.quarter,
    img.quarter {
        width: 100%;
    }
}