  .custom-test {
	color: #000;
}
@charset "UTF-8";
/* CSS Document */

h1 {
	font-family: DINWeb;
    font-size: 1.6em;
    margin: 0;
    padding: 0;
	line-height:1.8em;
    text-transform: uppercase;
}

h2 {
	font-size:1.2em;
	text-transform:uppercase;
	color:#222;
	margin-bottom:12px;
}

h3 {
	font-size:1.2em;
}

h5 {
	color: #555555;
    font-family: DINWeb,sans serif;
    font-size: 13px;
    line-height: 1.6em;
    position: relative;
	text-transform:none !important;
	margin-top:0;
}

p {
	padding-bottom:15px;
}

.box {
	background-color:hsl(351, 74%, 37%);
	margin-bottom:20px;
	margin-top:20px;
	text-align:center;
}

.navLinks {
    line-height: 30px;
}

.event_title {
    border-bottom-color: #999;
    border-bottom-style: dotted;
    border-bottom-width: 2px;
    /*border-top-color: hsl(0, 0%, 47%);
    border-top-style: solid;
    border-top-width: 1px;*/
    font-size: 12px;
    margin-top: 1px;
    padding-bottom: 0;
    padding-left: 0px;
    padding-right: 5px;
	font-size:12px;
}

.event_title h1 {
    font-family: DINWebBold;
    font-size: 17px;
    margin-top: 3px;
}

.event-details > h1 {
    font-size: 21px;
    padding-bottom: 9px;
    padding-top: 45px;
}

.event-summary {
    color: hsl(351, 74%, 37%);
    font-family: DINWeb;
    font-size: 1em;
    font-weight: normal;
    padding-top: 5px;
    text-transform: uppercase;
}

.clndr-listing {
	border-top-width:2px;
}

.clndr-today-button {
	background-color:hsl(0, 0%, 60%);
	border-color:hsl(0, 0%, 60%) !important;
}

.clndr-next-button {
    background-color: hsl(0, 0%, 60%);
	border-color:hsl(0, 0%, 60%) !important;
}

.clndr-previous-button {
    background-color: hsl(0, 0%, 60%);
	border-color:hsl(0, 0%, 60%) !important;
}

.event {
	background-image:none;
	color:hsl(351, 74%, 37%);
	font-weight:bold;
}

.today {
	background-color: hsl(0, 0%, 87%) !important;
	border-color: hsl(0, 0%, 87%);
}

.site-title {
	 color: white !important;
	 margin-left:45px !important;
}

.no_border {
	padding-left:-2.19298% !important;
	padding-right:-3.65497% !important;
	padding-top:-25px !important;
	width:77.7778% !important;
}

.main {
	position:relative;
}

body {
	background-color:#EAEAEA !important;
	background-image: url(/content/dam/sfu/mathcatcher/CSS/"") !important;
}

body:before {
	background-image: url("/content/dam/sfu/mathcatcher/Pics/2.jpg") !important;
	background-position:left top;
	background-repeat:repeat;
	content: /content/dam/sfu/mathcatcher/CSS/"";
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -10;
}

body:after {
	background-image: url("/content/dam/sfu/mathcatcher/Pics/2.jpg") !important;
	background-position:right top;
	background-repeat:repeat;
	content: /content/dam/sfu/mathcatcher/CSS/"";
    height: 100%;
    right: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: -10;

}

iframe id="cq-cf-frame" {
    background-image: none;

}

div-id="fancybox-overlay" {
    background-image: none;

}

#page {
	height:130px;
}

div-id="fancybox-overlay" {
    background-image: none;

}


.branding {
	background-image:url("/content/dam/sfu/starinstitute/Banner/sfu.jpg");
	height: 117px !important;
    width: 426px !important;
	top:-21px !important;
	position:absolute;
	background-color:white;
}

header {
	background-image: none !important;
	border-top-color: white !important;
	background-color: white !important;
}

.header-divider {
	background-color:white !important;
	background-image: none !important;
	clear:none !important;
}

.address {
	color: #999999 !important;
	font-family: "DINWeb",sans-serif;
	font-size: 13px;
	position: absolute;
	right: 0px;
	padding-right:3.65497%; 
	top: -132px;
}

.toggle {
	 background-image: url("/content/dam/sfu/sfuwoodwards/images/template/content-toggle-icon-red.png");
}

/* LEFT MENU  */

.default-nav {
	background-image: none !important;
	border-top-color: white !important;
	border-bottom-color: white !important;
	background-color: white !important;
	border-top-width: 26px !important;
	border-bottom-width:0 !important;
	margin-bottom:0 !important;
	padding-bottom:0 !important;
}

.default-nav li {
	background-color: white !important;
	border-bottom-color: #ddd !important;
}

.default-nav li a:hover {
	background-color: #eee;
}

.default-nav > ul > li > ul > li a:hover {
    background-color: hsl(0, 0%, 80%);
    color: hsl(0, 0%, 0%);
}

.default-nav ul > li > a {
    color: #333 !important;
}

.default-nav > ul > li.active {
    background-color: #eee !important;
}

.default-nav li.rule {
    border-top-color: #888;
}

.home-images {
	box-shadow: 0px 0px 5px #666;
	padding-bottom:9px;
}

.eventTitle {
	
}

.eventDescription {
	
}

.eventDate {
	color:#888;
	font-size:12px;
	font-family:DINWeb, sans serif !important;
	line-height:10px !important;
	padding:0px !important;
	margin:0px !important;
}

/* Photo Gallery */
.flex-control-nav {
}

.flex-control-thumbs li {
    float: left;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 2px;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
}

.gallery_large .flex-control-thumbs li:nth-of-type(10n+1) {
    clear: left !important;
}

.gallery_large .flex-control-thumbs li {
	float: none;
    margin-bottom: 6px;
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 0;
    width: 9%;
}

.image-gallery p {
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 50%);
    font-family: DINWeb,sans-serif;
	font-size:14px;
}

/*  BELOW LEFT MENU  */

.socialmedia {
	width: 80% !important;
	left:8%;
	position:relative;
	right:10%;
	margin-bottom: -33px;
}

.socialmedia div {
	/*float:left;
	width:100px;*/
}

.newsletter-text {
	position:relative;
	left:12px;
	color:#777;
	font-family:DINWeb, sans serif;
	font-size:13px;
	line-height:1.7em;
	top:-7px;
	padding-right:12px;
}

input.newsletterfield {
	font-family: WebDIN,sans-serif;
    font-size: 12px;
    height: 2.25em;
    padding-bottom: 0;
    padding-left: 0.4em;
    padding-right: 0;
    padding-top: 3px;
    text-transform: uppercase;
}

form {
	background-color:white;
	border:none;
}

form .section.end {
	height:0;
}

button[name="Submit"] {
	float: right !important;
    font-size: 10px;
    height: 23px;
    margin-right: 0 !important;
    margin-top: -29px;
    text-transform: uppercase;
}

.news-arrow {
	float: left;
    position: relative;
    top: -200px;
	left:95%;
	margin-top:2%;
	margin-bottom:-70px;
}

.custom img {
    float: left;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 2%;
    /*margin-top: 0.3em;*/
	margin-top:0;
    width: 25%;
}

.custom p:after {
    clear: left;
    content: /content/dam/sfu/mathcatcher/CSS/"";
    display: block;
}

.custom p {
    margin-top: 0;
}

.custom span {
    color: hsl(0, 0%, 40%);
    display: block;
    font-family: DINWeb;
    font-style: italic;
}

.custom a {
    font-family: DINWebBold;
    font-size: 17px;
}

.custom br {
    display: none;
}

/* FOOTER */

footer {
	background-color: white !important;
}

footer a, footer a:hover {
    color: #333 !important;
}  

footer li.header {
	color:#666;
}

.sfu-logo {
    position: relative;
    right: -1px;
    top: -13px;
	float:left;
	padding-top
}

.bottom-line {
	color: #dcdcdc;
	background-color: #dcdcdc;
	height: 1px;
	border:none;
    margin-bottom: 0;
    margin-left: -25%;
    width: 122%;
	margin-top:75px;
}

hr {
	color: #dcdcdc;
	background-color: #dcdcdc;
}

/* CAROUSEL TEXT  */

/*opacity:0.5;
    filter:alpha(opacity=40);*/
	
.flex-viewport li  {
	position: relative;
}
	
.carousel .news {
	background-image: none !important;
	background-color: white !important;
	border-bottom-color: white !important;
}

.carousel .news .carousel-text {
	/*background: white !important;*/
	/*float:right !important;*/
	position: absolute !important;
	color:black !important;
	text-transform:bold;
	width:40% !important;
	top:0;
	right:0;
	height:100%;
	float:none !important;
	margin-top:0 !important;
	background-image:url("/content/dam/sfu/starinstitute/Banner/Screen.png");
}

.carousel .news h3 {
	color:#333333;
	text-transform:uppercase;
	font-family:DINWeb;
	text-align:right;
}

.carousel .news .carousel-text p {
	text-align:right;
	/*position:absolute;*/
	padding-left:30px;
	font-size:14px;
	padding-top:0;
}

.carousel .news .carousel-image {
	width:100%;
	background-color:white;
	/*box-shadow: 0px 0px 5px #666;*/
}

.flex-viewport {
	/*max-height:509px !important;*/
}

.carousel .news .carousel-text p span a {
	background-color:#ba1416;
	color:#ffffff;
	padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
	text-align:right;
}

.carousel .flex-control-nav {
    bottom: -35px !important;
}


/*  SFU NEWS LIST  */

.news-items {
	float: left;
    height: auto /*235px*/;
    margin-bottom: 20px;
    margin-left: 0px;
    margin-right: 2.5%;
    margin-top: 20px;
    width: 16.5%;
	box-shadow: 0px 0px 5px #666;
	
}

.news-date {
	background-color:#ab131f;
    display: block;
    position: relative;
    width: 100%;
	text-align:center;
	color:white;
	text-transform:uppercase;
	padding:3px;
	line-height:1.9em;
	color:#fff !important;
}

.news-title {
    color: hsl(0, 0%, 13%);
    font-family: DINWeb;
    font-size: 13px;
    height: 39px;
    line-height: 19px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-bottom: 5px;
    padding-left: 6px;
    padding-right: 5px;
    padding-top: 1px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    width: 100%;
}

.news-title a {
	color: hsl(0, 0%, 13%);
	font-family:DINWeb;
	font-size:14px;
}

.news-items > img {
	height:auto;
	width:100%;
	/*height:150px;*/
	/*width:175px;*/
}

.category {
	display:none;
}

.eventDate br:after {
	content:"-";
}



@media (max-width: 980px) {
	.address {
		right:12%;
		top:-107px;
		font-size:12px;
	}
	.socialmedia {
		width: 58% !important;
		left: 16%;
		position:relative;
		right:0;
	}
	.news-items {
		margin-right: 9px;
   		right: -10px;
    	width: 23%;
	}
	.news-arrow {
		left: 98%;
		margin-bottom: -85px;
		margin-top: 5%;
		top: -200px;
	}
	
	.custom > li:last-child {
		display:none;
	}
	
}

@media (max-width: 768px) {
	.address {
		visibility:hidden;
	}
	
	.socialmedia {
		position:relative;
		/*display:none;*/
	}
	
	.inherited-parsys.below-nav {
    	bottom: 330px;
    	position: absolute;
	}
	
	.first-col {
		position:static;
	}
	
	.main {
		margin-bottom:300px;
	}
	
	#page-content {
		box-shadow:none;
		position:relative;
	}
	.news-arrow {
		display:none;
	}
	
	.socialmedia {
		left: 6%;
		right: 0;
		width: 100% !important;
	}
	div.cq-colctrl-lt8-c3 {
		width: 24%;
	}
	div.cq-colctrl-lt8-c1 {
    	width: 24%;
	}

	div.cq-colctrl-lt8-c2 {
		clear: none;
		width: 24%;
	}	
	div.cq-colctrl-lt8-c0 {
    	width:24%;
	}
	
	.carousel .news .carousel-text h3 {
		font-size:1em;
	}
	.section.end button[name="Submit"] {
		float: right !important;
		font-size: 1em;
		height: 36px;
		margin-right: 0 !important;
		margin-top: -40px;
		padding-bottom: 13px;
		padding-left: 13px;
		padding-right: 13px;
		padding-top: 5px;
		text-transform: uppercase;
	}
	
	fieldset label, input[type="text"], input[type="password"], input[type="date"], input[type="datetime-local"], textarea, select {
		max-width: 60em;
	}
	
}


@media (max-width: 480px) {
	.inherited-parsys.below-nav {
		bottom: 460px;
	}
	
	.custom > li:nth-child(4) {
		display:none;
	}
	
	.news-items {
		width:30%;
	}
	.news-arrow {
    	display:none;
	}
	
}