/*
Theme Name: Chancellor
Theme URI: http://www.convocation.utoronto.ca
Author: the Web Services team
Author URI: http://webservices.utoronto.ca/
Description: The theme for Chancellor is sophisticated, lightweight, and adaptable.
Version: 1.0
License: GNU General Public License
Tags: dark, light, white, black, gray, one-column, two-columns, right-sidebar, fixed-width, custom-header, custom-menu, featured-image-header, featured-images, post-formats, theme-options
*/
@import url('_includes/_styles/foundation.css');

/* -----------------------------------------
   Shared Styles
----------------------------------------- */

@font-face {
    font-family: "lg";
    src: url('_includes/_fonts/League_Gothic-webfont.eot');
    src: url('_includes/_fonts/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),
        url('_includes/_fonts/League_Gothic-webfont.woff') format('woff'),
        url('_includes/_fonts/League_Gothic-webfont.ttf') format('truetype'),
        url('_includes/_fonts/League_Gothic-webfont.svg#LeagueGothic') format('svg');
    font-weight: normal;
    font-style: normal;
}

a {
    color: #4d7094;
}

/* body {
    font-size: 11px;
}
*/

.hidden { visibility: hidden; }
.unhidden { visibility: visible; }

.relative {
    position: relative;
}
.alignright {
    float: right;
    margin: 0 0 1em 1em;
}
.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}
div.wp-caption.aligncenter {
    width: 100%!important;
    text-align: center;
    margin: 1em 0;
}
.noleft {
    margin-left: 0;
}
.rotate90 {
    display: inline-block;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    /* for ie */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}
header {
    position: relative;
}
header hgroup {
    padding: 20px;
}
header h2 {
    margin: 0; padding: 0;
    height: 90px;
    width: 280px;
    float: left;
    background: url(_includes/_images/uoft-logo.png) center center no-repeat;
}
header h2 a {
    height: 90px; width: 280px;
    display: block;
    text-indent: -999em;		
}
header h3 {
    border-left: 1px solid #002f65;
    float: left;
    margin-top: 16px;
    line-height: 1;
    padding: 5px 0 5px 36px;
    width: 180px;
    font-family: "lg";
    font-weight: normal;
    font-size: 30px;
    letter-spacing: 1px;
}
header h3 a {
    color: #002f65;
}
header nav {
    position: absolute;
    top: 25px;
    right: 10px;
}
header nav ul {
    margin: 0; padding: 0;
    position: relative;
}
header nav li {
    float: left;
    font-size: 1.2em;
}
header nav li a {
    color: #666;
    display: block;
    padding: 0 0 0 2em;
}
header nav li.button {
    position: relative;
    margin-left: 2em;
    margin-top: -6px;
}
header nav li.button a {
    color: #fff;
    padding: 0;
}
header nav li a:hover {
    color: #007faf;
}
header form {
    position: absolute;
    right: 10px;
    bottom: 45px;
    margin: 0;
    padding: 0;
}
header input {
    background: #fff url(_includes/_images/search_icon.gif) 7px center no-repeat;
    padding: 8px 4px 8px 40px;
    font-size: 1.4em;
    border: 1px solid #ddd;
    line-height: 1.4em;
}
	#fontsize {
		position: absolute;
		right: 10px; bottom: 10px;
		}
		#fontsize a {
			display: block;
			font-size: 1.6em;
			color: #fff;
			font-family: "Times New Roman", Times, Serif;
			background: #134080;
			box-shadow: 2px 2px 0 rgba(0,0,0,0.1); -moz-box-shadow: 2px 2px 0 rgba(0,0,0,0.1); -webkit-box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
			border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
			text-decoration: none;
			padding: 3px 7px;
			margin: 0 0 0 6px;
			float: left;
			position: relative;
			line-height: 20px; line-height: 2rem;
			}
		#fontsize .smallFont {
			font-size: 1.3rem;
			}
		#fontsize .defaultFont {
			font-size: 1.6rem;
			}
		#fontsize .largeFont {
			font-size: 1.9rem;
			}
			#fontsize a:hover, #fontsize a.active {
				background: #0080BF;
				text-shadow: 0 1px 0 rgba(0,0,0,0.2);
				}		


#main_nav {
    background-color: #EDEDED;
    background: #ededed url(_includes/_images/menu_bg.gif) 0 0 repeat-x;
    background-image: -moz-linear-gradient(top, #ededed, #dddddd); /* FF3.6 */
    background-image: -ms-linear-gradient(top, #ededed, #dddddd); /* IE10 */
    background-image: -o-linear-gradient(top, #ededed, #dddddd); /* Opera 11.10+ */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#dddddd)); /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #ededed, #dddddd); /* Chrome 10+, Saf5.1+ */
    background-image: linear-gradient(top, #ededed, #dddddd);
    /*filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorStr='#EDEDED', EndColorStr='#DDDDDD');*/ /* Removed due to rendering error of child elements, IE <= 9 degades to background-color */
    position: relative;
    z-index: 100;
    border-top: 5px solid #002F65;
    margin-bottom: 1rem;

}

.sub #main_nav {
    margin-bottom: 0;
}


#main_nav ul {
    position: relative; z-index: 401;
    margin: 0;
    padding: 0;
    list-style: none;
}


#main_nav ul ul {
    display: none;
    position: absolute;
    top: 40px;
}


#main_nav li {
    position: relative; z-index: 402;
    padding: 0;
    margin: 0;
}

#main_nav > ul > li > a {
    border-right: #ddd 1px solid;
    border-left: 1px solid #eee;
}

#main_nav > ul > li > a {
    display: block;
    color: #333;
    text-shadow: 0 1px 0 #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 10px 13px;
    line-height: 1;
    font-size:14px; font-size: 1.4rem;
    position: relative;
    float:left;
    z-index: 999;
}


#main_nav li.current-menu-item, #main_nav li.current-menu-ancestor {
    background: url(../_images/menu_active.gif) bottom center no-repeat;
}


#main_nav li a:hover {
    background-color: #ccc;
    background-color: rgba(0,0,0,0.1);
    color: #000;
}



#main_nav li:hover ul {
    left: 0;
    display: block;
    background: #ddd;
}


#main_nav li ul li {
    float: none;
    position: relative;
    z-index: 500;
}
#main_nav li ul li a {
    position: relative;
    z-index: 501;
    text-shadow: none;
    color: #333;
    line-height: 120%;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    font-weight: normal;
}
#main_nav li ul li:last-child a {
    border: none;
}


.slideshow {
    height: 360px!important;
    width: 980px!important;
    clear: both;
    overflow: hidden;
    top: -13px;
    background: #000 url('_includes/_images/orbit/loading.gif') no-repeat center center;
    margin-bottom: 10px;
}
    /*.slideshow img,  
    .slideshow div { display: none; }*/
.orbit-wrapper {
    height: 360px!important;
    width: 980px!important;
    margin-bottom: 1em;
}
.orbit-bullets {
    bottom: 23px; right: 60px;
}
.orbit>div {
    height: 360px;
    width: 980px;
    background: url(_includes/_images/roughcloth.png);
    margin: 0;
}
.feat_img {
    position: absolute;
    top: 0; 
    left: 0;
}
.slideshow dl {
    padding: 5em 0 0;
    position: absolute;
    left: 545px;
    margin: 0;
}
.slideshow dt, .slideshow dd {
    padding: 0 3em 1em;
}
.slideshow dt a {
    font-size: 2.8em;
    font-weight: bold;
    color: #006388;
    text-shadow: 0 1px 0 #fff;
}
.slideshow dd p {
    font-size: 1.9em;
    line-height: 1.45em!important;
    color: #000;
    font-family: Georgia, Baskerville, Times, Times New Roman, Serif;
}

.widget_recent_entries li, .eventsAdvancedListWidget li {
    overflow: hidden;
    padding: 10px 10px 0;
    margin: 0;
}
.eventsAdvancedListWidget li dl, .widget_recent_entries li dl, .dig-in {
    position: relative;
    padding-left: 60px;
}
.dig-in a {
    padding: 0 0 10px 10px;
}
.eventsAdvancedListWidget li dl dt, .widget_recent_entries li dl dt, .dig-in a {
    font-size: 1.3em;
    font-weight: bold;
}
.eventsAdvancedListWidget dt a, .widger_recent_entries dt a, .dig-in a {
    color: #002f65;
}
.eventsAdvancedListWidget li dl dd, .widget_recent_entries li dl dd {
    font-size: 1.2em;
    font-family: Georgia, Baskerville, Times, Times New Roman, serif;
    color: #000;
    line-height: 1.7em;
}
.eventsAdvancedListWidget li dl dd p, .widget_recent_entries li dl dd p {
    margin: 0;
}
.eventsAdvancedListWidget li dl dd.date, .widget_recent_entries li dl dd.date {
    font-family: Helvetica Neue, Helvetica, Arial, Sans-Serif;
    font-weight: bold;
    color: #000;
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 0;
    padding: 0;
    text-align: left;
}


#breadcrumbs {
    font-family: Helvetica Neue, Helvetica, Arial, Sans-Serif;
    color: #666;
    margin: 1.7em 1.7em 0.5em;
    font-size: 1.2em;
}
#breadcrumbs a {
    color: #666;
}
#breadcrumbs strong {
    color: #334251;
}

#main_body {
    background: rgba(255,255,255,0.8);
}

#main_body article {
    font-size: 1.3em;
    font-family: Helvetica Neue, Helvetica, Arial, Sans-Serif; /*Georgia, Baskerville, Times, Times New Roman, Serif;*/
    padding: 1.6em 0em;
    color: #000;
}
#main_body article h1, h1.page-title {
    font-family: Helvetica Neue, Helvetica, Arial, Sans-Serif;
    font-weight: 200;
    color: #002f65;
    font-size: 2.15em;
}
h1.page-title {
    font-size: 2.8em;
    padding: 0.5em 0 0 .65em;
}

#main_body article th {
    font-family: Helvetica Neue, Helvetica, Arial, Sans-Serif;
    text-shadow: 0 1px 0 #fff;
}

#main_body article h2, 
#main_body article h3, 
#main_body article h4, 
#main_body article h5,
#main_body article h6 {
    font-weight: normal;
}
#main_body article h2 {font-size: 1.95em;}
#main_body article h3 {font-size: 1.6em;}
#main_body article h4 {font-size: 1.25em; font-weight: bold;}
#main_body article h5 {font-size: 1.0em;}
#main_body article h6 {font-size: .85em;}
#main_body article p {
    line-height: 1.72em;
}

#main_body article ul:not(.contained) {
    margin: 1em 2em;
    list-style: none;
}
#main_body article h5.meta {
    margin: 1em 1em 0.5em 0;
    color: #999;
    border: solid #ddd;
    border-width: 1px 0;
    font-size: 1em;
    padding: 0.5em;
}
.results {
    margin: 2em 0 0;
}
.results > li {
    margin: 0 0 3em;
}
figure.full {
    background: #f4f4f4;
    border: 1px solid #e0e0e0;
    padding: 1.45em;
    margin: 0.8em 0 1.6em;
}
figure.full img {
    width: 100%;
    height: auto;
}
figure figcaption {
    font-size: 0.875em;
    font-family: Helvetica Neue, Helvetica, Arial, Sans-Serif;
    color: #666;
}

.faclisting, .faclisting li, #main_body article ul.faclisting {
    list-style: none; margin: 0; padding: 0;
}
.faclisting li {
    margin-bottom: 1.25em;
}
/* WIDGET STYLES */
.sidebar form.nice {
    overflow: hidden;
}
.sidebar form.nice input.input-text {
    float: left;
    padding: 9px 3px 8px;
    margin: 0 10px 0 0;
}
.sidebar .button {
    padding: 9px 9px 11px;
}
.sidebar aside {
    padding-left: 20px;
}
.sidebar h3 {
    font-weight: 200;
    color: #666;
    padding: 0 0 0.5em;
    border-bottom: #ddd 1px solid;
    font-size: 1.6em;
}

.xoxo {
    font-size: 1.3em;
    line-height: 1.25em;
}

#simple-section-nav-2 {
    margin: 0 0 3em;
}

#simple-section-nav-2 li, #simple-section-nav-2 ul, #widgets-reloaded-nav-menu-9 ul, .xoxo ul {
    margin: 0;
    padding: 0;
}
#simple-section-nav-2 li a, #widgets-reloaded-nav-menu-9 a {
    font-size: 1.3em;
}
#simple-section-nav-2 > ul > li a, #widgets-reloaded-nav-menu-9 > nav > ul > li > a, .xoxo > li > a {
    color: #666;
    line-height: 1.4em;					
    display: block;
    padding: 4px 0;
}
#simple-section-nav-2 li.current_page_item > a, #simple-section-nav-2 li.current_page_ancestor > a {
    font-weight: bold;
    color: #597088;
}
#simple-section-nav-2 > ul > li.current_page_item > a, #simple-section-nav-2 > ul > li.current_page_ancestor > a {
    background: url(_includes/_images/sidebar_on_bg.gif) center left no-repeat;
    margin-left: -20px;
    padding-left: 20px;
}

#simple-section-nav-2 .children, #widgets-reloaded-nav-menu-9 .sub-menu, .xoxo .children {
    padding: 0 0 0 20px;
}

#simple-section-nav-2 .children ul {
    /*display: none;*/
}

.wp-caption {
    background: #efefef;
    padding: 5px;
    border: 1px solid #eee;
}
.wp-caption-text {
    margin: 0.25rem 0 0;
}

.home_cols {
    clear: both;
    margin: 0 0 1em;
}
.widget-title {
    background: #002f65;
    color: #fff;
    padding-left: 10px;
    font-size: 1.8em;
    height: 34px;
    line-height: 34px;
    margin-bottom: 0;
}
.menu-of-interest-container {
    padding: 10px 10px 10px 20px;
}
.menu-of-interest-container li a {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #002f65;
}

#quicklinks, .widget_recent_entries, .eventsAdvancedListWidget, #widgets-reloaded-nav-menu-3 {
    background: url(_includes/_images/roughcloth.png) center center;
    padding: 0;
}

.footinfo {
    background: #597088;
    border-top: 1em #fff solid;
    margin-bottom: 2em;
}
.footinfo p {
    padding: 10px 0 10px 10px;
    color: #fff;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
    height: 20px;
}
.footinfo nav {
}
.footinfo nav li {
}
.footinfo nav li a {
    display: block;
    padding: 0 10px;
    line-height: 20px;
    color: #fff;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

footer.relative {
    text-align: center;
    font-size: 12px;
}
footer ul {
    margin: 0 auto;
    width: auto;
}
footer.relative {
    text-align: center;
    padding: 1.5em 0;
    line-height: 2em;
    color: #333;
}
footer.relative a {
    color: #133F7F;
    text-decoration: none;
}
footer.relative ul, footer dl {
    list-style: none;
    margin: 0 auto; padding: 0;
}
footer.relative dt, footer.relative dd, footer.relative li {
    display: inline;
    border-right: 1px solid #333;
    padding: 0 5px;
}
footer.relative dd:last-child, footer.relative li:last-child, footer.relative dd.last, footer.relative li.last {
    border-right: none;
}
.white {
    background: #fff;
}
/* -----------------------------------------
   Page Name 1
----------------------------------------- */






/* -----------------------------------------
   Page Name 2
----------------------------------------- */


/* =============================================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
    /* Style adjustments for viewports 480px and over go here */
    #main_nav {
        margin-bottom: 0;
    }
    #main_nav > ul {
        position: relative;
        z-index: 430;
    }
    #main_nav > ul > li {
        float: left;
        z-index: 440;
        position: relative;
    }
    #main_nav > ul > li > a {
        line-height: 40px;
        padding: 0 10px;
        font-size: 16px; font-size: 1.6rem;
        display: block;
        text-shadow: 0 1px 0 rgba(255,255,255,0.75);
        font-weight: bold;
    }
    #main_nav > ul > li > a:hover, #main_nav > ul > li.current-menu-item > a, #main_nav > ul > li.current_page_ancestor > a {
        color: #000;
    }
    #main_nav ul ul {
        display: none;
        z-index: 450;
        background: #ddd;
        width: 25em;
        position: absolute;
        left: -999em;
        top: 100%;
    }
    #main_nav > ul > li:hover > ul {
        display: block;
        left: 0;
        margin: 0; padding: 0;
    }
    #main_nav ul ul li {
        margin: 0; padding: 0;
    }
    #main_nav ul ul a {
        border-bottom: 1px solid rgba(0,0,0,0.25);
        border-top: 1px solid rgba(255,255,255,0.5);
        display: block;
        line-height: 1.25em;
        padding: .66em;
        color: #444;
        font-size: 1.5em;
    }
    #main_nav ul ul a:hover {
        color: #fff;
        border-top: 1px solid rgba(255,255,255,0.15);
        background: #ddd; background: rgba(0,0,0,0.5);
        text-shadow: 0 1px 0 rgba(0,0,0,0.75);
    }

    #quicklinks h3 {
        background: #666;
        left: -0;
        color: #fff;
        padding-left: 10px;
        font-size: 1.8em;
        height: 34px;
        line-height: 34px;
    }
    #quicklinks dl {
        margin: 0 10px;
        padding: 0; 
        padding: inherit;
    }

    #quicklinks dt {
        font-family: Helvetica Neue, Helvetica, Arial, Sans-Serif;
        font-weight: bold;
        padding: 10px 0 10px 10px;
        color: #002f65;
        font-size: 1.4em;
    }
    #quicklinks nav {
        padding: 0 10px 10px;
    }
    #quicklinks nav ul, #quicklinks nav ul li {
        padding: 0;
        margin: 0;
    }
    #quicklinks a {
        font-size: 1.1em;
        line-height: 1.5em;
        display: block;
        font-family: Georgia, Baskerville, Times, Times New Roman, Serif;
        padding: 0 0 8px;
        color: #002f65;
    }
    .footinfo {
        background: #597088;
        height: 40px;
        border-top: 1em #fff solid;
        margin-bottom: 2em;
    }
    .footinfo p {
        padding: 10px 0 10px 10px;
        color: #fff;
        font-size: 1.2em;
        text-transform: uppercase;
        font-weight: bold;
        text-shadow: 0 1px 0 rgba(0,0,0,0.25);
        height: 20px;
    }
    .footinfo nav {
        position: absolute;
        top: 10px; right: 10px;
    }
    .footinfo nav li {
        float: left;
        padding: 0 0 0 15px;
    }
    .footinfo nav li a {
        display: block;
        padding: 0;
        line-height: 20px;
        color: #fff;
        font-size: 1.2em;
        text-transform: uppercase;
        font-weight: bold;
        text-shadow: 0 1px 0 rgba(0,0,0,0.25);
    }

    .sidebar.three.columns {
        border-left: 1px solid #ccc;
        margin: 4em 0;
        width: 23.5%;
    }

    .tabs {
        clear: both;
    }
}

@media only screen and (min-width: 768px) {
    /* Style adjustments for viewports 768px and over go here */

}


/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
    a, a:visited { color: #444 !important; text-decoration: underline; }
    .columns {width: 90%!important; float: none!important; margin: 0!important; padding: 2% 5%!important;}
    /*a[href]:after { content: " (" attr(href) ")"; }*/
    /*abbr[title]:after { content: " (" attr(title) ")"; }*/
    /*.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
    pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
    thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
    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; }
    
    .footinfo { display: none; }
    #main_nav, #breadcrumbs, header, .sidebar, #quicklinks, footer {display: none!important;}
}