/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   RTC Template custom styles
   ========================================================================== */

body {
	position:relative;
	font: 16px/25px 'OpenSansRegular', Arial, sans-serif;}
strong {
	font: 16px/25px 'OpenSansBold', Arial, sans-serif;
	color:#8c191b;}

.test {color:red;font-size:50px;}

/*Making the UMN 'responsive' template ACTUALLY responsive*/
.umn #headerUofM {height:auto;}
#container-top .umn {overflow:hidden;}
/*hide or morph umn header bar at small resolutions*/
.umn #logo_uofm {
	width:auto;
	height:auto;
	background:none;}
.umn #logo_uofm a, .umn #logo_uofm a:hover {
	width:auto;
	height:auto;
	padding:5px 0 5px 5px;}
.umn #logo_uofm a:hover, .umn #logo_uofm a:focus {
	color:#fff;}
.umn a:link {
	color:#ffcc33;}
#container-top .umn #search_area {display:none;}
/*some genius put a fixed width on the footer chunks... for their 'responsive template'*/
.umn #footer_inner {width:100%;}
.umn #footer_right {width:100%;}

/*SUBPAGE SECTION*/
#rtc-banner .rtc-bar-link-home a {
	display:block;
	padding:0 5px 5px 5px;
	font: 18px/23px 'OpenSansSemiBold', Arial, sans-serif;
	text-decoration:none;
	background-color:#333;
	color:#fff;}
#rtc-banner .rtc-bar-link-home a:hover,
#rtc-banner .rtc-bar-link-home a:focus {
	background-color:#333;
	color:#a1cdee;}
#rtc-banner .social-tab {
	/*position:absolute;
	right:75px;
	bottom:0;*/
	width:100%;
	margin:1em 0;
	float:left;
	clear:both;}
/*#rtc-banner .social-tab-left {
	padding-left:40px;
	background:url(../img/rtc-social-tab-left.png) 0 0 no-repeat;}*/
#rtc-banner .social-tab-links {
	float:left;}
/*#rtc-banner .social-tab-right {
	padding-right:40px;
	background:url(../img/rtc-social-tab-right.png) right 0 no-repeat;}*/
#rtc-banner .social-tab-links {
	overflow:hidden;}
#rtc-banner .social-tab-links p {
	margin:3px 10px 0 1em;
	float:left;
	font: 14px/22px 'OpenSansBold', Arial, sans-serif;
	color:#A0CCED;}
#rtc-banner .social-tab-links ul {
	list-style:none;
	width:105px;
	height:20px;
	margin:4px 0 1px 0;padding:0;
	float:left;}
#rtc-banner .social-tab-links li {
	position:relative;
	z-index:1;
	width:20px;
	float:left;
	margin-left:10px;
	overflow:hidden;}
#rtc-banner .social-tab-links a {
	display:block;
	width:20px;
	height:20px;}
#rtc-banner .social-tab-links a.sharewith-facebook {
	background:url(../img/facebook.png) 0 0 no-repeat;}
#rtc-banner .social-tab-links a.sharewith-twitter {
	background:url(../img/twitter.png) 0 0 no-repeat;}
#rtc-banner .social-tab-links a.sharewith-googleplus {
	background:url(../img/googleplus.png) 0 0 no-repeat;}
#rtc-banner .social-tab-links a {}
#rtc-banner .social-tab-links a {}
#rtc-banner .social-tab-links a span {
	position:relative;
	z-index:-1;
	display:block;
	overflow:hidden;}
#rtc-banner .social-tab-links p {float:left;}

#container-middle {
    margin-bottom:40px;
    padding:0 10px;
	clear:both;}

#container-bottom {
	overflow:hidden;
	background-color:#fff;
	clear:both;}









/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 325px) {
    /* Style adjustments for viewports that meet the condition */
	
	/*re-establishing the original values from the umn stylesheet*/
	.umn #headerUofM {height:63px;}
	/*hide or morph umn header bar at small resolutions*/
	.umn #logo_uofm {
		width:320px;
		height:62px;
		background:url("../umn/templates_v5/assets/img/logo_uofm_D2D.gif") no-repeat scroll 0 0 transparent;}
	.umn #logo_uofm a, .umn #logo_uofm a:hover {
		width:0;
		height:62px;
		padding-left:320px;}
	.umn a:link {
		color:#7A0019 !important;}
	#container-top .umn #search_area {display:none;}
	
	#rtc-banner .rtc-bar-link-home a {
		display:block;
		padding:0 5px 5px 5px;
		font: 25px/32px 'OpenSansSemiBold', Arial, sans-serif;
		text-decoration:none;
		background-color:#333;
		color:#fff;}
	#rtc-banner .rtc-bar-link-home a:hover,
	#rtc-banner .rtc-bar-link-home a:focus {
		background-color:#333;
		color:#a1cdee;}
	
	/*SUBPAGE SECTION*/
	#rtc-banner {
		background:url(../img/rtc-bar-bg.png) 0 0 repeat-x;}
	#rtc-banner-inner {
		position:relative;
		margin:0 auto;
		overflow:hidden;}
	#rtc-banner .rtc-bar-link-home {
		position:relative;
		z-index:1;
		float:left;}
	#rtc-banner .rtc-bar-link-home a {
		display:block;
		width:305px;
		height:38px;
		padding:0;
		font:inherit;
		background:url(../img/rtc-wordmark-sml.png) 0 -100px no-repeat;
		text-decoration:none;}
	#rtc-banner .rtc-bar-link-home a:hover,
	#rtc-banner .rtc-bar-link-home a:focus {
		background:url(../img/rtc-wordmark-sml.png) 0 0 no-repeat;
		background-color:inherit;
		color:inherit;}
	#rtc-banner .rtc-bar-link-home a span {
		position:relative;
		z-index:-1;
		display:block;
		height:38px;
		overflow:hidden;}
	#rtc-banner .rtc-bar-link-home img {display:block;width:305px;border:0;}
}

@media only screen and (min-width: 30em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (min-width: 40em) {
    /* Style adjustments for viewports that meet the condition */
	
	/*re-establishing the original values from the umn stylesheet*/
	.umn #footer_inner {width:500px;}
	.umn #footer_right {width:460px;}
	
	/*share links become social tab*/
	#rtc-banner .social-tab {
		position:absolute;
		right:25px;
		bottom:0;
		width:auto;
		margin:0;
		float:left;
		z-index:5;
		clear:none;}
	#rtc-banner .social-tab-left {
		padding-left:40px;
		background:url(../img/rtc-social-tab-left.png) 0 0 no-repeat;}
	#rtc-banner .social-tab-links {
		float:left;}
	#rtc-banner .social-tab-right {
		padding-right:40px;
		background:url(../img/rtc-social-tab-right.png) right 0 no-repeat;}
	#rtc-banner .social-tab-links {
		overflow:hidden;}
	#rtc-banner .social-tab-links p {
		margin-left:0;}
	#rtc-banner .social-tab-links ul {
		list-style:none;
		width:105px;
		height:20px;
		margin:4px 0 1px 0;padding:0;
		float:left;}
	#rtc-banner .social-tab-links li {
		position:relative;
		z-index:1;
		width:20px;
		float:left;
		margin-left:10px;
		overflow:hidden;}
	#rtc-banner .social-tab-links a {
		display:block;
		width:20px;
		height:20px;}
	#rtc-banner .social-tab-links a.sharewith-facebook {
		background:url(../img/facebook.png) 0 0 no-repeat;}
	#rtc-banner .social-tab-links a.sharewith-twitter {
		background:url(../img/twitter.png) 0 0 no-repeat;}
	#rtc-banner .social-tab-links a.sharewith-googleplus {
		background:url(../img/googleplus.png) 0 0 no-repeat;}
	#rtc-banner .social-tab-links a {}
	#rtc-banner .social-tab-links a {}
	#rtc-banner .social-tab-links a span {
		position:relative;
		z-index:-1;
		display:block;
		overflow:hidden;}
	#rtc-banner .social-tab-links p {float:left;}
	
	#container-middle {
		margin:50px auto 100px auto;}
}

@media only screen and (min-width: 48em) {
    /* Style adjustments for viewports that meet the condition */
	#container-top .umn #search_area {display:block;}
}

@media only screen and (min-width: 60em) {
    /* Style adjustments for viewports that meet the condition */
	html {background:url(../img/column_bg.jpg) center 0 repeat-y;}
	body {background:url(../img/RTC_bkgrnd_red.jpg) center 101px no-repeat;}
	
	#container-middle {
		width:910px;
		padding:0 20px;}
	
	/*SUBPAGE SECTION*/
	#rtc-banner .social-tab {
		right:75px;}
	#rtc-banner-inner {
		width:920px;}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
