/**********************
Table of Contents
-----------------

*Same order applies to all queensbase-omega-alpha-default* CSS files

- core HTML elements
    - fonts
    - headers
    - paragraphs
    - links
    - colours
    - tables
    - fieldsets
    - form elements    
- header section
    - wordmark
    - internal menu
    - custom search
    - queens logo
- footer section
    - footer menu
    - social links
    - address
- search results
- Admin 
    - node forms
- media queries
- retina/HiDPI overrides
- print styles
*/


html { 
    font-size: 62.5%; /* 10px */
}  

body {
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.1;
}

button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
}

textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
}

.nav-menu h2 {
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
}

/* Convenience classes to specify serif fonts in sans-serif contexts and vice-versa */
.serif {
    font-family: Palatino, "Book Antiqua", Georgia, serif;
}
.sans-serif {
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
}

.accessibility,
.visibly-hidden,
.hide {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

body.no-js .no-js-hide {
    display: none;
}

.print-only {
    display: none;
}

.ie7-only,
.ie8-only,
.ie9-only,
.ie7-8-only,
.ie7-8-9-only {
    display: none;
}

/* Error pages */
body.context-error .region-content-inner {
    padding: 20px 15px;
}

p, dl, hr, h1, h2, h3, h4, h5, h6, ol,
ul, pre, table, address, fieldset {
    margin-bottom: 17px;
}

/* line height = body line height (1.308) / font-size */

h1 {
    font-size: 1.857em; /* 26px */
}
h2 {
    font-size: 1.571em; /* 22px */
    color: #444;
}
h3 {
    font-size: 1.357em; /* 19px */
}
h4 {
    font-size: 1.143em; /* 16px */
    font-weight: bold;
}
h5 {
    font-size: 1em; /* 14px */
    font-style: italic;
}
h6 {
    font-size: 0.857em; /* 12px */
    font-style: italic;
    font-weight: normal;
}

h2.node-title {
    font-size: 1.462em; /* 19px */    
}

/* based on this font size and line height, our magic number is 13 * 1.308 == 17,
so all our line heights and margin bottoms have to be a multiple of 17px;
*/
p {
    font-size: 1em;
    line-height: 1.5; 
}

a:link,
a:visited,
a:hover {
    color: #0062a0;
}

a:link {
    text-decoration:none;
}
a:visited {
    text-decoration:none;
}
a:hover {
    text-decoration:underline; 
}
a:active {
    text-decoration:underline;
}

/* Block title links */
a:link h2.block-title,
a:visited h2.block-title,
a:hover h2.block-title,
a:active h2.block-title {
    color: #0062a0;
}

a.external-link:after {
    content: "\f08e";
    display: inline-block;
    font-family: FontAwesome;
    margin-left: 4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

/* Selected/highlighted text */
::-moz-selection {    
    background: #11335D;
    color: #FFF;
}
::selection {
    background: #11335D;
    color: #FFF;
}

sup {
    font-size: 0.857em; /* 12px */
    line-height: 0;
    vertical-align: super;
}

/* Queen's Tricolour */

.red {
    color: #9D1939; /* rgb(157, 25, 57) */
}
.gold {
    color: #EEBD31; /* rgb(238, 189, 49) */
}
.blue {
    color: #11335D; /* rgb(17, 51, 93) */
}


/* Images in the content section should never exceed 100% width
   We may want images in other regions to behave differently (e.g. banner images)
*/
#section-content img {
    height: auto !important;
    max-width: 100%;
}

.image-left,
.image-caption-left {
    float: left;
    margin-right: 1em;
    max-width: 100%;
}

.image-right,
.image-caption-right {
    float: right;
    margin-left: 1em;
    max-width: 100%;
}

.image-center,
.image-caption-center {
    clear: both;
    margin-left: auto;
    margin-right: auto;        
    max-width: 100%;
}

.image-center .image-caption,
.image-caption-center .image-caption {
    padding: 0.357em 0.714em; /* 5px 10px */
}

.image-caption {
    font-size: 0.929em; /* 13px */
    text-align: left;
    padding: 5px 0;
    line-height: 1.2; 
}

/* Class used by Enhanced Image CKEditor widget */
.image-captioned {
    max-width: 100%;
}

.image-captioned figcaption {    
    font-size: 0.929em; /* 13px */
    line-height: 1.2;
    margin-top: 0.286em; /* 4px */
}

/* Need to gracefully handle images surrounded by <p>'s */
.image-left p,
.image-caption-left p,
.image-right p,
.image-caption-right p,
.image-center p,
.image-caption-center p {
    margin: 0;
    padding: 0;
}

.image-left,
.image-caption-left,
.image-right,
.image-caption-right,
.image-center,
.image-caption-center {
    margin-bottom: 17px;
}

.image-left img,
.image-caption-left img,
.image-right img,
.image-caption-right img,
.image-center img,
.image-caption-center img {
    padding: 0 !important;
    margin: 0 !important;
}

#section-content .block {
    margin-bottom: 1.5em;
}

#zone-postscript .block {
    margin-bottom: 0;
}

h2.block-title {
    margin-bottom: 1em;
}

.download {
    background: url("../images/download_icon.png") no-repeat scroll left top;
    display: block;
    min-height: 44px;
    padding: 20px 0 0 48px;
}

.pdf {
    background-attachment: scroll;
    background-image: url("../images/pdf_icon.png");   
    background-position: left top;
    background-repeat: no-repeat;
    display: block;
    min-height: 44px;
    padding: 20px 0 0 48px;
}

.pdf.align-right, 
.download.align-right {
    background-position: right top;
    padding: 20px 48px 0 0;
    text-align: right;
}

.map-location:before,
.map-marker:before {
    content: "\f041";
    display: inline-block;
    font-family: FontAwesome;
    vertical-align: sub;  
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.map-location:before,
.map-marker:before, 
.icon-map-marker {
    color: #f1ab30;
    font-size: 16px;
    padding-right: 4px;          
}

hr {
    background: none repeat scroll 0 0 #BBBBBB;
}

blockquote {
    color: #9d1939;
    font-family: Palatino, "Book Antiqua", Georgia, serif;
    font-size: 1.571em; /* 22px */
    font-weight: normal;   
    line-height: 1.1;
    margin: 1.143em auto; /* 16px 0 */
    padding: 0.227em 0.091em 0.227em 1.455em; /* 5px 2px 5px 32px */
    position: relative;
    width: 90%;
}

/* For some reason if I combine these selectors the rule doesn't apply in IE8,
so separating them out does the trick. */
blockquote:before {
    display: inline-block;
    font-family: FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}
blockquote p:last-child:after,
blockquote div:last-child:after {
    display: inline-block;
    font-family: FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

/* Note that some style rules are duplicated here, as the :last-child selector seems
to break the rule in IE8 */
blockquote:before, 
blockquote .icon-quote-left,
blockquote .icon-quote-right {
    color: #9d1939;
    font-size: 1.273em; /* 28px */    
}
blockquote p:last-child:after,
blockquote div:last-child:after {
    color: #9d1939;
    font-size: 1.273em; /* 28px */
}

blockquote:before {
    content: "\f10d";    
}

blockquote .icon-quote-left,
blockquote:before {
    position: absolute;
    top: 0;
    left: 0;
}

blockquote p:last-child:after,
blockquote div:last-child:after {
    content: "\f10e";    
}

blockquote .icon-quote-right,
blockquote p:last-child:after,
blockquote div:last-child:after {
    left: 8px;    
    position: relative;
    vertical-align: -24%;
}

blockquote p {
    line-height: 1.3;
    margin-bottom: 0;
}

ul, ol {
    padding-left: 1.5em;
}

ul li.leaf {
    list-style-image: none;
    list-style-type: disc;
}

ul li.expanded {
    list-style-image: url("../images/menu_expanded.png");
}

table {
    border: none;
    max-width: 100%;
}

table.mobile-fixed-width {
    max-width: none;
}

thead th, th {
    background-color: #555;    
    color: #FFF;
    font-size: 1.077em;
}

th.active {
    background-color: #333;
}

th a:hover {
    text-decoration: underline;
}

th.active a:link, 
th.active a:visited, 
th.active a:hover {
    color: #FFF;
}

/* TODO: figure out how to replace the ascending/descending arrow image */
th.active img {
    display: none;
}

td {
    vertical-align: top;
}

table.vertical-middle td {
    vertical-align: middle;
}

table.vertical-middle td p {
    display: table-cell;
    vertical-align: middle;
}

tr.even, tr.odd {
    border-bottom: none;
}

tr.odd td,
tr.odd:hover td,
tr.odd:hover td.active,
tr:nth-child(odd) td,
tr:nth-child(odd):hover td {
    background-color: #FFF;
}

tr.even td,
tr.even:hover td,
tr.even:hover td.active,
tr:nth-child(even) td,
tr:nth-child(even):hover td {
    background-color: #EEE;
}

td.right {
    border-right: none;
}

td:not(:last-child) {
    border-right: 1px solid #8D8D8D;
}

tr.total td {
    border-top: 1px solid #000;
}

tfoot td {
    border-top: 1px dotted #CCC;
}

tfoot > tr:last-child,
tfoot > tr:last-child > td:first-child {
    border-top-left-radius: 0;
}

tfoot > tr:last-child,
tfoot > tr:last-child > td:last-child {
    border-top-right-radius: 0;
}

tfoot ~ tbody > tr:last-child {
    border-radius: 0;
}

tfoot ~ tbody > tr:last-child > td:first-child {
    border-bottom-left-radius: 0;
}

tfoot ~ tbody > tr:last-child > td:last-child {
    border-bottom-right-radius: 0;
}

thead ~ tbody tr, thead ~ tbody td {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

caption {
    caption-side: bottom;
    text-align: left;
    font-size: 0.923em;
    font-style: italic;
    font-weight: bold;
    padding: 10px 10px 0 10px;
}

table.compact * {
    border: none;
}

/* Ensure embedded videos and iframes size correctly for mobile */
object,
object embed,
iframe {
    max-width: 100%;
}

.video-embed,
.video-embed-left,
.video-embed-right,
.video-embed-center {
    margin-bottom: 1.5em;    
    max-width: 100%;
}    

.video-wrapper {
    height: 0;    
    max-width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect */
    position: relative;
}

.video-embed-captioned .video-wrapper {
    margin-bottom: 0.2em;
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed {
    border: none;
    height: 100%;    
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.video-caption {    
    line-height: 1.3;
    padding: 5px 0;            
}

.block-aggregator.more-link-hidden .more-link {
    display: none;
}

/* Ensure embedded videos from Streaming Server respond */
.ensembleEmbeddedContent {
    max-width: 100%;
}

/* Collapsible content */
fieldset.collapsible-container {
    border: 1px solid #DDD;
    border-radius: 7px;
    padding: 1em;
}

fieldset.collapsible-container legend {
    font-size : 1.1em;
    font-weight: bold;
    border: 1px solid #DDD;
    border-radius: 7px;
    padding: 2px 10px 4px 10px;
}

fieldset.collapsible-container .collapse-expand-button {
    background-color: #CCC;
    color: white;
    float: right;
    margin-left: 16px;
    padding: 0 4px 2px 4px;
    width: 4em;
    font-weight: normal;
    text-align: center;
    border-radius: 7px;
    cursor: pointer;
}

div.collapsible-container {
    margin-bottom: 1em; 
}

div.collapsible-container-group {
    margin-bottom: 1.5em;
}

div.collapsible-container-group div.collapsible-container {
    margin-bottom: 0.286em; /* 4px */
}

.collapse-expand-icon {    
    font-size: 24px;
    left: 10px;
    position: absolute;
    top: 0;
}

/* For collapsible blocks, size the icon relative to the block title */
.block-collapsible-mobile .collapse-expand-icon,
.container-collapsible-mobile .collapse-expand-icon {
    font-size: 135%;
}

/* Avoid flashing content for (mobile) collapsible blocks in mobile layout */
.js .responsive-layout-mobile .block.block-collapsible-mobile .content,
.js .responsive-layout-mobile .container-collapsible-mobile .collapsible-content {
    display: none;
}

.block.block-collapsible-mobile .block-title .collapse-expand-icon,
.container-collapsible-mobile .collapse-title .collapse-expand-icon {
    left: 0.5em;
    top: 0.1em;
}

.collapse-title.expanded .collapse-expand-icon {
    left: 11px;
    top: -2px;
}

.block.block-collapsible-mobile .block-title.expanded .collapse-expand-icon,
.container-collapsible-mobile .block-title.expanded .collapse-expand-icon {
    left: 0.5em;
    top: 0.02em;
}

.block.block-collapsible-mobile.collapsible-initialized .block-title,
div.collapsible-container .collapse-title,
.container-collapsible-mobile.collapsible-initialized .collapse-title {
    border-radius: 7px;
    padding: 6px 5px 6px 32px;
    cursor: pointer;
    position: relative;
}

div.collapsible-container .collapse-title {
    font-size: 1.077em;
    font-weight: normal;
    font-style: normal;
    color: #FFF;
    line-height: 1.5;
    letter-spacing: normal;    
}

div.collapsible-container .collapse-title p,
div.collapsible-container .collapse-title h1,
div.collapsible-container .collapse-title h2,
div.collapsible-container .collapse-title h3,
div.collapsible-container .collapse-title h4,
div.collapsible-container .collapse-title h5,
div.collapsible-container .collapse-title h6 {
    display: inline;
    font-size: inherit;
    font-weight: normal;
    font-style: normal;
    color: #FFF;
    line-height: inherit;
    padding: 0;
    margin: 0;
    letter-spacing: normal;
}

div.collapsible-container.light .collapse-title,
div.collapsible-container.light .collapse-title * {
    color: #000;
}

div.collapsible-container .collapse-title,
div.collapsible-container .collapse-title.expanded:hover {
    background: rgb(142,149,174); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(142,149,174,1) 0%, rgba(17,51,93,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(142,149,174,1)), color-stop(100%,rgba(17,51,93,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(142,149,174,1) 0%,rgba(17,51,93,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(142,149,174,1) 0%,rgba(17,51,93,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(142,149,174,1) 0%,rgba(17,51,93,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(142,149,174,1) 0%,rgba(17,51,93,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8e95ae', endColorstr='#11335d',GradientType=0 ); /* IE6-9 */
}

div.collapsible-container.light .collapse-title,
div.collapsible-container.light .collapse-title.expanded:hover {
    background: rgb(238,238,238); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(187,187,187,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(187,187,187,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(187,187,187,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(187,187,187,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(187,187,187,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(187,187,187,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#bbbbbb',GradientType=0 ); /* IE6-9 */
}

div.collapsible-container .collapse-title:hover,
div.collapsible-container .collapse-title.expanded {

    background: rgb(109,121,155); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(109,121,155,1) 0%, rgba(17,51,93,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(109,121,155,1)), color-stop(100%,rgba(17,51,93,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(109,121,155,1) 0%,rgba(17,51,93,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(109,121,155,1) 0%,rgba(17,51,93,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(109,121,155,1) 0%,rgba(17,51,93,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(109,121,155,1) 0%,rgba(17,51,93,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d799b', endColorstr='#11335d',GradientType=0 ); /* IE6-9 */
}

div.collapsible-container.light .collapse-title:hover,
div.collapsible-container.light .collapse-title.expanded {
    background: rgb(204,204,204); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(204,204,204,1) 0%, rgba(170,170,170,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(204,204,204,1)), color-stop(100%,rgba(170,170,170,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(204,204,204,1) 0%,rgba(170,170,170,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(204,204,204,1) 0%,rgba(170,170,170,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(204,204,204,1) 0%,rgba(170,170,170,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(204,204,204,1) 0%,rgba(170,170,170,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#aaaaaa',GradientType=0 ); /* IE6-9 */
}

.block.block-collapsible-mobile.collapsible-initialized .block-title,
.block.block-collapsible-mobile.collapsible-initialized .block-title.expanded:hover,
.container-collapsible-mobile.collapsible-initialized .collapse-title,
.container-collapsible-mobile.collapsible-initialized .collapse-title.expanded:hover {
    background: #eee; 
}    

.block.block-collapsible-mobile.collapsible-initialized .block-title:hover,
.block.block-collapsible-mobile.collapsible-initialized .block-title.expanded {
    background: #d9d9d9;
}

div.collapsible-container .collapse-title.expanded {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

div.collapsible-container .collapsible-content {
    background: #F2F2F2;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: 10px;
}

/* Clearfix */
.collapsible-content:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    font-size: 0;
}

div.collapsible-container .collapsible-content .collapsible-content {
    background: #FFF;
}

div.collapsible-container .collapsible-content .collapsible-content .collapsible-content {
    background: #F2F2F2;
}

.collapsible-content img {
    margin-right: 10px;
}


/* Form Elements */

button, 
input[type="reset"], 
input[type="submit"], 
input[type="button"] {
    background: #eee; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y1ZjVmNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlYWVhZWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f5f5f5 0%, #eaeaea 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eaeaea)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f5f5f5 0%,#eaeaea 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f5f5f5 0%,#eaeaea 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f5f5f5 0%,#eaeaea 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f5f5f5 0%,#eaeaea 100%); /* W3C */

    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;    
    color: #333;
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    margin: 0 0.75em 0 0;
    padding: 5px 10px;    
}

button:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover, 
input[type="button"]:hover {
    background: #f5f5f5; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y4ZjhmOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMWYxZjEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f8f8f8 0%, #f1f1f1 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#f1f1f1)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f8f8f8 0%,#f1f1f1 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f8f8f8 0%,#f1f1f1 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f8f8f8 0%,#f1f1f1 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f8f8f8 0%,#f1f1f1 100%); /* W3C */
    
    border: 1px solid #c6c6c6;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #111;
}

textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
    max-width: 100%;
}

input[type="submit"].search-icon-submit {
    background: none;
    border: none;  
    border-radius: 4px;
    color: #757575;
    font-family: FontAwesome;
    font-size: 20px;
    font-weight: normal;
    height: 23px;
    line-height: 1;
    margin-right: 0;
    padding: 0;
    text-shadow: none;    
    width: 26px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

input[type="submit"].login-icon-submit:hover,
input[type="submit"].search-icon-submit:hover {
    box-shadow: none;
}

.marker,
.form-required {
  color: #9d1939;
}

/* Pager styling */

.pager {
    background: transparent;
    border: none;
}

.item-list .pager {
    margin: 12px 0;
    text-align: center;
}

.pager li {
    border-right: none;
    font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif;
    font-weight: normal;
}

.item-list .pager li,
.item-list .pager ul li {
    float: none;
}

.pager li a {
    background: transparent;
    margin: 0 4px;
}

.pager li a:hover {
    background: #eee;
}

.pager li.pager-ellipsis,
.pager li.pager-current,
.pager li a {
    color: #000;
}

.pager-item,
.pager-item a,
.pager-item a:hover,
.pager-previous,
.pager-previous a,
.pager-previous a:hover,
.pager-next,
.pager-next a,
.pager-next a:hover,
.pager li.first,
.pager li.first a,
.pager li.first a:hover,
.pager li.pager-last,
.pager li.pager-last a,
.pager li.pager-last a:hover {
    border-radius: 4px;
}

.pager li.pager-current {
    background: none;
    font-weight: bold;
}

.pager li.pager-next {
    position: static;
    right: auto;
    top: auto;
    border-left: none;
}

.pager li.pager-last,
.pager li.pager-next.last {
    position: static;
    right: auto;
    top: auto;
}

.pager li.pager-first a,
.pager li.pager-previous a,
.pager li.pager-next a,
.pager li.pager-last a {
    width: 58px;
}

.js-warning:before, 
.js-warning .fa-exclamation-triangle {
    color: #9d1939;
    content: "\f071"; /* fa-exclamation-triangle */
    display: inline-block;
    font-family: FontAwesome;    
    font-size: 22px;
    margin-right: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.js-warning {
    background-color: #EEE;
    border-radius: 4px;    
    padding: 4px 8px;
    margin-bottom: 20px;
}

html.js .js-warning {
    display: none;
}

.info-message:before, 
.info-message .fa-info-circle {
    color: #11335d;
    content: "\f05a"; /* fa-info-circle */
    display: inline-block;
    float: left;
    font-family: FontAwesome;    
    font-size: 22px;
    line-height: 1;
    margin-right: 0.5em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.info-message {
    background-color: #EEE;
    border-radius: 4px;    
    padding: 0.5em 0.6em 0.4em;    
}

.info-message .content p {
    margin-bottom: 0;
}

.u15-logo {
    background-image: url(../images/u15_white.png);
    background-repeat: no-repeat;
    background-attachment: scroll;  
    background-position: left top;
    background-size: 56px 48px;        
    padding: 32px 0 0 60px;
}

.iframe-scroll-block {
    width: 260px;
    margin-left: auto;
    margin-right: auto;
}

#section-header .queens-wordmark {
    display: block;
    background-attachment: scroll;
    background-image: url("../images/wordmark_489.png");    
    background-position: left top;
    background-repeat: no-repeat;     
    background-size: 100% auto;    
    height: 0;
    margin: 12px auto 10px;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 11.86%; /* 58/489 */
    text-indent: 100%;
    white-space: nowrap;
    width: 489px;
}

/* In some cases, we use a medium-sized wordmark instead of the larger one */
body.queensweb-legacy-header #section-header .queens-wordmark,
body.queensweb-not-fullwidth #section-header .queens-wordmark {    
    background-image: url("../images/wordmark.png");        
    height: 35px;
    padding-bottom: 0;
    width: 296px;        
}

#zone-user .queens-logo {
    display: none;
    width: 100px;
    height: 69px;
    background-image: url("../images/queens_logo.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    background-size: 100% auto;
    overflow: hidden;
    text-indent: 101%;
    white-space: nowrap;
}

/* TODO: review this - seems a little out of place? */
#zone-user .form-item {
    color: #000;
    margin-top: 0;
}

/* By default, we do not display site names - but we still want them to be available
to screen readers */
.site-name {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);           
}

/* Queen's Search */

#block-customsearch-customsearch-form {
    margin: 0 auto 17px;
    width: 300px;    
}

#block-customsearch-customsearch-form .block-title {
    display: none;
}

#block-customsearch-customsearch-form input.form-text {
    font-size: 16px;
    height: 29px;
    width: 225px;    
}

#customsearch-block-form a {
    border-right: 1px solid gray;
    color: inherit;
    padding-right: 8px;
    vertical-align: middle;
}

#customsearch-block-form label {
    vertical-align: middle;
}

#customsearch-block-form input.form-checkbox, 
#customsearch-block-form input.form-radio {
    vertical-align: -10%;
}

#customsearch-block-form .form-item {
    font-size: 16px;
    vertical-align: middle;
}

#customsearch-block-form input.form-text {
    height: 29px;
    width: 225px;
    border-radius: 4px 0 0 4px;
    border-right: none;        
}

#customsearch-block-form .form-submit.search-icon-submit {
    float: left;
}

#customsearch-block-form .form-item-search-terms {
    float: left;
    margin-bottom: 8px;
}

#customsearch-block-form .form-item-search-terms label {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);       
}

#customsearch-block-form .linkinfront {
    float: left;
    margin-right: 0.625em; /* 10px */
}

#customsearch-block-form #edit-search-type-fieldset {
    float: left;
    margin: 0;
}

#customsearch-block-form #edit-search-type-fieldset legend {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);    
}

/* DIV that surrounds Pages/People radios */
#customsearch-block-form .form-type-radios {
    float: left;
}

#customsearch-block-form .linkinfront,
#customsearch-block-form .form-type-radios {    
    margin-bottom: 6px;
}

#customsearch-block-form div.form-radios .form-type-radio {
    float: left;
    margin-right: 6px;
}

#customsearch-block-form input[type="submit"].search-icon-submit {
    background: #757575;
    border-radius: 0 4px 4px 0;
    color: #FFF;
    float: left;
    font-size: 20px;
    height: 29px;
    margin-left: -1px;
    opacity: 1; /* should change .search-icon-submit to use color rather than opacity for hover transition */
    width: 30px;
}

/* Legacy theme overrides */

body.queensweb-legacy-header #customsearch-block-form .form-item {
    font-size: 13px;
}

body.queensweb-legacy-header #block-customsearch-customsearch-form input.form-text {
    font-size: 13px;
}    

body.queensweb-legacy-header #customsearch-block-form input.form-text {
    height: 24px;
    width: 275px;
}

body.queensweb-legacy-header #customsearch-block-form div.form-radios .form-type-radio {
    margin-right: 3px;
}


body.queensweb-legacy-header #customsearch-block-form input[type="submit"].search-icon-submit {
    font-size: 16px;
    height: 24px;    
    width: 26px; 
}     

/* Search and Sign-in */

#block-customsearch-login-links {
    background-color: #EBEBEB;
    padding: 0.857em 0; /* 12px 0 */
}

#block-customsearch-login-links .block-title {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);    
}

.internal-login-container .login-group-container {
    margin-bottom: 1.714em; /* 24px */
}

.internal-login-container .login-group-title {
    color: #9D1939;    
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.internal-login-container ul.login-list {
    padding-left: 0;
    margin-bottom: 0;
}

.internal-login-container .login-group-container .login-list {
    font-size: 16px;
    font-weight: 600;
}

.internal-login-container .login-group-container.login-group-container-portals .login-list {
    text-transform: uppercase;
}

.internal-login-container ul.login-list li {
    list-style: none;
    margin: 0 0 0.857em; /* 12px */
}    

.internal-login-container ul.login-list a:link,
.internal-login-container ul.login-list a:visited {
    color: #000;
}

.internal-login-container .login-link-suffix {
    font-weight: normal;
    text-transform: none;    
}

.netid-link-container {
    clear: both;        
}

.netid-link-container a:link,
.netid-link-container a:visited {
    color: #000;
}

.netid-link-container a .fa {
    margin-right: 0.286em; /* 4px */
}

#block-customsearch-search-login-toggle {
    float: right;
}

#block-customsearch-search-login-toggle .block-title {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);    
}

button.search-login-toggle {
    background: #9D1939;
    border: none;
    border-radius: 0;
    color: #FFF; 
    font-size: 14px;
    font-weight: 600;
    margin-right: 0;  
    margin-top: 4px;
    padding: 8px 10px 10px;
    text-align: left;
    text-shadow: none;
    text-transform: uppercase;    
}

button.search-login-toggle.expanded {
    background: #444;    
}

button.search-login-toggle.expanded .fa-search:before {
    content: "\f057";  /* fa-times-circle */
}

button.search-login-toggle.mobile {
    margin: 0;
    text-align: center;
    width: 100%;
}

button.search-login-toggle .fa {
    font-size: 20px;
}

#region-user-first {
    padding-top: 20px;
}

body.queensweb-legacy-header #region-user-first {
    padding-top: 0;
}

/* Hide search and login intitially ONLY if Javascript is enabled */
html.js #region-user-first {
    display: none;
}

html.js body.queensweb-legacy-header #region-user-first {
    display: block;
}

/* Internal Menu (Menu Block) */

.internal-menu-block {            
    display: none;
    font-size: 0.857em; /* 12px */
    font-weight: 600;        
    margin: 12px 10px 10px 0;    
    text-transform: uppercase;
}

.internal-menu-block .block-title {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);    
}

.internal-menu-block ul {
    padding-left: 0;
}

/* convert for 14px base font size */
.internal-menu-block ul li {
    border-right: 1px solid #808080;
    float: left;
    padding: 0.2em 0.6em 0.1em 0.05em;
    letter-spacing: 0.072em;
    line-height: 1;
    list-style: none;
    margin-left: 0.5em;        
}

.internal-menu-block ul li.first {
    margin-left: 0;
}

.internal-menu-block ul li.last {
    border: none;
}

.internal-menu-block ul li a {
    color: #000;
}

/* Internal Menu (legacy) */

#block-customsearch-internalmenu-form {    
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6px;
    width: 300px;
}

#block-customsearch-internalmenu-form .block-title {
    display: none;
}

#block-customsearch-internalmenu-form .form-item,
#block-customsearch-internalmenu-form .form-submit {
    margin-top: 0;
}


#customsearch-internalmenu-block-form div.form-type-select {
    width: 275px;
    font-size: 1em;
    overflow: hidden;
    background: #FFF url(../images/grey_arrow_down.png) no-repeat 250px 9px;
    float: left;
    border-radius: 4px 0 0 4px;
}

#customsearch-internalmenu-block-form div.form-type-select label {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);       
}

#customsearch-internalmenu-block-form div.form-type-select select {    
    background: transparent;
    width: 290px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 4px 0 0 4px;
    -moz-appearance: none;
}

#customsearch-internalmenu-block-form div.form-type-select select::-ms-expand {
    display: none;
}

#customsearch-internalmenu-block-form div.form-type-select,
#customsearch-internalmenu-block-form div.form-type-select select {
    height: 24px;
}

#customsearch-internalmenu-block-form optgroup {
    font-size: 12px;
    color: #686868;
    margin: 4px;
}

#customsearch-internalmenu-block-form optgroup option {
    font-size: 11px;
    color: #000;
}

#customsearch-internalmenu-block-form optgroup[label="School of Business"] {
    font-size: 11px;
    padding-left: 5px;
}

#customsearch-internalmenu-block-form optgroup[label="School of Business"] option {
    padding-left: 15px;
}

#internal-menu-links {
    text-transform: uppercase;
    font-size: 0.923em; /* 12px */
    padding-bottom: 16px;
}

#internal-menu-links.form-item {
    margin-top: 5px;
}

#internal-menu-links ul {
    padding-left: 0;
}

#customsearch-internalmenu-block-form ul li {
    list-style: none;
    float: left;
    padding: 0.2em 0.5em 0.1em 0;
    margin-left: 0.5em;
    line-height: 0.923em; /* 12px */
    border-right: 1px solid gray;
}

#customsearch-internalmenu-block-form ul li:first-child,
#customsearch-internalmenu-block-form ul li.first {
    margin-left: 0;
}

#customsearch-internalmenu-block-form ul li:last-child,
#customsearch-internalmenu-block-form ul li.last {
    border: none;
}

#customsearch-internalmenu-block-form ul li a {
    color: #000;
}

input[type="submit"].login-icon-submit {
    background: none;
    border: none;  
    border-radius: 4px;
    color: #757575;
    font-family: FontAwesome;
    font-size: 20px;
    font-weight: normal;
    height: 23px;
    line-height: 1;
    margin-right: 0;
    padding: 0;
    text-shadow: none;    
    width: 26px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

#block-customsearch-internalmenu-form input[type="submit"].login-icon-submit {
    background: #757575;
    color: #FFF;
    margin-left: -1px;
    font-size: 16px;
    width: 26px;
    height: 24px;
    border-radius: 0 4px 4px 0;
    float: left;
    opacity: 1; 
}

div.messages {
    margin-right: 20px;
}

/* Social Media Icons */
.twitter-icon,
.facebook-icon,
.youtube-icon,
.flickr-icon,
.linkedin-icon,
.blog-icon,
.wordpress-icon,
.pinterest-icon,
.instagram-icon, 
.tumblr-icon,
.rss-icon {
    background-image: url(../images/social_media.png);
    background-repeat: no-repeat;    
    background-size: 582px 32px;
    height: 32px;
    width: 32px;
    display: inline-block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.twitter-icon {
    background-position: 0px 0px;
}

.facebook-icon {
    background-position: -50px 0px;
}

.youtube-icon {
    background-position: -100px 0px;
    width: 35px;
}

.flickr-icon {
    background-position: -150px 0px;
}

.linkedin-icon {
    background-position: -200px 0px;
}

.blog-icon {
    background-position: -250px 0px;
}

.wordpress-icon {
    background-position: -300px 0px;
}

.pinterest-icon {
    background-position: -350px 0px;
}

.instagram-icon {
    background-position: -500px 0px;    
}

.tumblr-icon {
    background-position: -450px 0px;
}

.rss-icon {
    background-position: -550px 0px;
}

.social-media-hub-link {
    display: block;    
    text-transform: none;
    white-space: nowrap;
}

.social-media-hub-link:after {
    font-family: FontAwesome;
    line-height: 1;
    content: "\f0a9";
    display: inline-block;    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.social-media-hub-link:after,
.social-media-hub-link .icon-circle-arrow-right {
    font-size: 16px;
    margin-left: 4px;
}

/* Sharing Buttons */

.share-button {
    font-size: 16px;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    padding: 3px 10px 3px 9px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease 0s;
    -webkit-transition: all .2s ease;
}

.share-button.facebook {
    background-color: #3b579d;
    color: #FFF;
}

.share-button.facebook:before,
.share-button.facebook .icon-facebook {
    font-family: FontAwesome;
    line-height: 1;
    content: "\f09a";
    display: inline-block;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.share-button.twitter {
    background-color: #00ACEC;
    color: #FFF;
}

.share-button.twitter:before,
.share-button.twitter .icon-twitter {
    font-family: FontAwesome;
    font-size: 18px;
    line-height: 1;
    content: "\f099";
    display: inline-block;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.share-button.email {
    background-color: #11335D;
    color: #FFF;
}

.share-button.email a {
    color: #FFF;
    text-decoration: none;
}

.share-button.email:before,
.share-button.email .icon-twitter {
    font-family: FontAwesome;
    font-size: 18px;
    line-height: 1;
    content: "\f0e0";
    display: inline-block;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.share-button.print {
    background-color: #757575;
    color: #FFF;
}

.share-button.print:before,
.share-button.print .icon-twitter {
    font-family: FontAwesome;
    font-size: 18px;
    line-height: 1;
    content: "\f02f";
    display: inline-block;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.social-share-buttons .share-button:last-of-type {
    margin-right: 0;
}

/* Inline and Columned content */

/* Clearfix */
.inline-layout > *:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    font-size: 0;
}

.inline-layout > *,
[class^="column-layout-"] > div {
    margin-bottom: 1.5em;
}


/* Main Nav Bar / Menu (Superfish) */

/* Global styling (applies to accordion/mobile and horizontal/non-mobile layouts) */

.region-menu {
    margin-bottom: 10px;
    z-index: 10; /* help ensure the menu appears above other content */
}

/* Clearfix */
.region-menu:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    font-size: 0;
}

.region-menu .block-superfish h2.block-title {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

.sf-menu.sf-accordion li,
.sf-menu.sf-accordion li li,
.sf-menu.sf-navbar,
.sf-accordion-toggle a {
    background-color: #302F2E;
    color: #FFF;
}

.sf-menu li a {
    color: #FFF;
    text-decoration: none;    
}

.sf-menu > li > a {    
    font-size: 1.143em; /* 16px */
    text-transform: uppercase;
}

body.queensweb-legacy-menu .sf-menu.sf-horizontal > li > a {    
    font-size: 1em; /* 14px */
}  

/* Grey house icon rule */
.menu-home-icon .sf-menu.sf-horizontal > li.first a {
    background-color: transparent;
    background-image: url("../images/homes.png");
    background-repeat: no-repeat;
    background-position: 2px -57px;
    border: 0;
    color: transparent;
    font: 0/0 a; /* sorthand to zero out font-size and line-height */
    padding-left: 0;
    padding-left: 2px;
    padding-right: 2px;
    margin-left: 10px;
    margin-right: 10px;
    text-shadow: none;
    width: 24px;
}

/* Gold house icon rule */
.front .menu-home-icon .sf-menu.sf-horizontal > li.first a,
.front .menu-home-icon .sf-menu.sf-horizontal > li.first a:hover,
body.not-front .menu-home-icon .sf-menu.sf-horizontal > li.first a:hover {
    background-position: 2px 8px;
    background-color: transparent;
}

.menu-home-icon .sf-menu.sf-horizontal > li.first:hover {
    background: transparent;
}

/* Gold text on hover and for pages in active trail */
.sf-menu a:hover,
body.queensweb-legacy-menu .sf-menu a:hover,
.sf-menu li.active-trail > a,
body.queensweb-legacy-menu .sf-menu li.active-trail > a,
.sf-menu.sf-horizontal li.active-trail > a, 
body.queensweb-legacy-menu .sf-menu.sf-horizontal li.active-trail > a {
    color: #EEBD31;
}

.sf-menu.sf-horizontal > li.active-trail > a {
    color: #000;
    font-weight: bold;
}

body.queensweb-legacy-menu .sf-menu.sf-horizontal > li.active-trail > a {
    font-weight: normal;
}

body.queensweb-legacy-menu .sf-menu.sf-horizontal > li > a { 
    color: #FFF;
}        

.sf-menu.sf-horizontal > li.active-trail:hover > a {
    color: #EEBD31;    
}    

/* Sub-menu font styling */
.sf-menu li li a {
    font-size: 0.929em; /* 13px */
    text-transform: none;
}

body.queensweb-legacy-menu .sf-menu.sf-horizontal li li a {
    font-size: 0.857em; /* 12px */
}

.sf-sub-indicator {    
    background-image: url("../images/menu_arrows.png");
    background-size: 159px 9px;
    width: 10px;
    height: 10px;
    left: 6px;
    right: auto;    
}

a > .sf-sub-indicator {
    background-position: 0 0;
    top: 13px;
}

/* Show gold down arrow as "sub indicator" on hover and for active trail */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator,
span.nolink:hover > .sf-sub-indicator,
li:hover > span.nolink > .sf-sub-indicator,
li.sfHover > span.nolink > .sf-sub-indicator,
li.active-trail .sf-sub-indicator {
    background-position: -50px 0;
}

/* should be same as height of top-level menu items */
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
    top: 2.571em; 
}

/* Newer sites (e.g. queensu.ca) have taller menu items */
body.queensweb-fullwidth .sf-menu li:hover > ul, 
body.queensweb-fullwidth .sf-menu li.sfHover > ul {
    top: 3em;
}

body.queensweb-legacy-menu .sf-menu > li:hover > ul,
body.queensweb-legacy-menu .sf-menu > li.sfHover > ul {    
    top: 2.429em;
}

/* Accordion menu styling (used for mobile and narrow layouts) */

.sf-menu.sf-accordion {
    overflow: hidden;
}

.sf-accordion-toggle a {
    color: #000;    
    display: inline-block;    
    font-size: 1.231em;    
    line-height: 2; 
    padding: 6px 8px;    
    text-transform: uppercase;
    text-decoration: none;            
}

.sf-accordion-toggle a.sf-expanded {
    background-color: #302F2E;
    color: #FFF;
}

.sf-accordion-toggle a:before {
    font-family: FontAwesome;
    content: "\f0C9";
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

.sf-accordion-toggle a:before,
.sf-accordion-toggle a .fa {
    font-size: 30px;    
    line-height: 1;  
    padding-right: 6px;    
    vertical-align: middle;    
    width: 24px; 
}

.sf-accordion-toggle a.sf-expanded:before,
.sf-accordion-toggle a.sf-expanded .fa {
    font-size: 26px;
}

.sf-accordion-toggle a.sf-expanded:before {
    content: "\f057";
}

.sf-accordion-toggle a:hover {
    text-decoration: none;
}

.sf-accordion-toggle span {
    vertical-align: middle;
}

/* Submenu expand/collapse button */
.sf-menu.sf-accordion li a.sf-accordion-button {
    background-color: #555;
    border-bottom: none;
    display: block;
    font-size: 0;
    height: 14px;
    padding: 17px;    
    position: absolute;
    right: 0;
    top: 0;
    width: 13px;
    z-index: 499;    
}

.sf-menu.sf-accordion li a.sf-accordion-button:before,
.sf-menu.sf-accordion li a.sf-accordion-button .fa {    
    content: "+";         
    font-size: 26px;
    left: -1px;
    position: relative;
    top: -6px;
}

.sf-menu.sf-accordion li.sf-expanded > a.sf-accordion-button:before, 
.sf-menu.sf-accordion li.sf-expanded > a.sf-accordion-button .fa {    
    content: "–"; /* note this is an en-dash */    
    left: 0;    
    top: -8px;    
}

.sf-menu.sf-accordion li ul {
    border-top: 1px solid #eee;
}
.sf-menu.sf-accordion li {
    border-bottom: 1px solid #eee;
}

.sf-menu.sf-accordion li a {
    font-size: 16px;
    padding: 1em 10px;
}

.sf-menu.sf-accordion > li.last a {
    border-bottom: none;
}

/* Only have hover events for accordion menu on NON-mobile devices */
body:not(.touch) .sf-menu.sf-accordion li a:hover {
    background-color: #000;
}

.sf-menu.sf-accordion li li a,
.sf-menu.sf-accordion li li span.nolink {
    padding-left: 2em;
}
.sf-menu.sf-accordion li li li a,
.sf-menu.sf-accordion li li li span.nolink {
    padding-left: 3em;
}
.sf-menu.sf-accordion li li li li a,
.sf-menu.sf-accordion li li li li span.nolink {
    padding-left: 4em;
}
.sf-menu.sf-accordion li li li li li a,
.sf-menu.sf-accordion li li li li li span.nolink {
    padding-left: 5em;
}
.sf-menu.rtl.sf-accordion li li a,
.sf-menu.rtl.sf-accordion li li span.nolink {
    padding-left: auto;
    padding-right: 2em;
}
.sf-menu.rtl.sf-accordion li li li a,
.sf-menu.rtl.sf-accordion li li li span.nolink {
    padding-left: auto;
    padding-right: 3em;
}
.sf-menu.rtl.sf-accordion li li li li a,
.sf-menu.rtl.sf-accordion li li li li span.nolink {
    padding-left: auto;
    padding-right: 4em;
}
.sf-menu.rtl.sf-accordion li li li li li a,
.sf-menu.rtl.sf-accordion li li li li li span.nolink {
    padding-left: auto;
    padding-right: 5em;
}

/* Avoid having menu item text overlap accordion buttons */
.sf-menu.sf-accordion li a.menuparent {
    padding-right: 48px;
}


/* Horizontal menu styling */

/* Don't display horizontal menu until viewport is wide enough for 'normal' layout */
.region-menu .sf-menu.sf-horizontal {
    display: none;
}

/* This looks like a generic style rule - not specific to horizontal menu? */
.sf-menu ul {
    width: 16em;
}

/* This looks like a generic style rule - not specific to horizontal menu? */
.sf-menu li li:hover > ul,
.sf-menu li li.sfHover > ul {
    left: 100%;
}

.sf-menu.sf-horizontal > li > a {
    color: #000;    
    padding: 9px 12px 11px;
    white-space: nowrap;
}

body.queensweb-legacy-menu .sf-menu.sf-horizontal > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

body.queensweb-fullwidth .sf-menu.sf-horizontal > li > a {
    padding-bottom: 17px;    
}

/* Top-level items should be white when sub-menu is opened, unless we're hovering over them */
.sf-menu.sf-horizontal > li:hover > a {
    color: #FFF;
}
.sf-menu.sf-horizontal > li > a:hover, 
body.queensweb-legacy-menu .sf-menu.sf-horizontal > li > a:hover {
    color: #eebd31;
}

.menu-center-top-level .sf-menu.sf-horizontal > li > a {
    text-align: center;
}

.sf-menu.sf-horizontal li.menuparent a {
    padding-left: 20px;
}

/* Black background on hover */
.sf-menu.sf-horizontal > li:hover,
.sf-menu.sf-horizontal li li.menuparent:hover {
    background-color: #000;
}

/* Black background with gold arrow on hover for items with children */
.sf-menu.sf-horizontal > li.menuparent:hover,
.sf-menu.sf-horizontal > li.menuparent.active-trail:hover {
    background-color: #000;
}

/* Sub-menu styling */
.sf-menu.sf-horizontal li li {
    background-color: rgb(0, 0, 0); /* fallback for older browsers */
    background-color: rgba(0, 0, 0, 0.8);
}

.sf-menu.sf-horizontal li li a {
    padding-top: 8px; /* was 9 to match top-level */
    padding-bottom: 8px;
}

/* Right padding to avoid links overlapping with child menu arrows.
   Same padding applied to all links for visual consistency.
*/
.sf-menu.sf-horizontal li li a {
    padding-right: 16px;
}

/* Subtle divider for menus items of depth 3 and beyond */
.sf-menu.sf-horizontal li li li,
.sf-menu.sf-horizontal li li li li,
.sf-menu.sf-horizontal li li li li li,
.sf-menu.sf-horizontal li li li li li li {
    border-left: 1px solid #EEBD31;
}


/* Sub-sub menu styling */

.sf-menu.sf-horizontal li li.menuparent .sf-sub-indicator {
    background-position: -100px 0;
    left: auto;
    right: 4px;
    top: 10px;
}

.sf-menu.sf-horizontal li li.menuparent:hover .sf-sub-indicator,
.sf-menu.sf-horizontal li li.menuparent.active-trail .sf-sub-indicator {
    background-position: -150px 0;
}



/* Main Nav Bar / Menu (Nice Menus) */

.region-menu .block-nice-menus {
    margin-bottom: 15px;
}

.region-menu .block-nice-menus h2.block-title {
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

.region-menu ul.nice-menu {
    width: 100%;
}

.region-menu ul.nice-menu ul {
    border-style: none;
    top: 2.5em;
}

.region-menu ul.nice-menu > li {
    background-color: #302f2e;
    border: none;
    border-radius: 4px;
    margin: 2px 0;
    padding: 5px 0 5px 0;
    width: 100%;        
}

.region-menu ul.nice-menu > li > a {    
    text-transform: uppercase;
}

.region-menu ul.nice-menu li ul {
    line-height: normal
}

.region-menu .block-superfish.menu-special ul.nice-menu > li,
.region-menu .block-nice-menus.menu-special ul.nice-menu > li {
    text-transform: none;
}

.region-menu ul.nice-menu > li.first:hover {
    background: #000;
}

.region-menu .block-superfish.menu-home-icon ul.nice-menu > li.first:hover,
.region-menu .block-nice-menus.menu-home-icon ul.nice-menu > li.first:hover {
    background-color: #000;
    background-position: 12px 9px;
}

.region-menu .block-superfish.menu-home-icon ul.nice-menu > li.first,
.region-menu .block-nice-menus.menu-home-icon ul.nice-menu > li.first {
    background-image: url("../images/homes.png");
    background-repeat: no-repeat;
    background-position: 12px -56px;

    margin-right: 37px;
}

/* Show house icon as selected on front page and on hover on other pages if menu-home-icon class specified */
.front .region-menu .block-superfish.menu-home-icon ul.nice-menu > li.first,
.front .region-menu .block-nice-menus.menu-home-icon ul.nice-menu > li.first {

    background-position: 12px 9px;
}

/* menuparent items get a down arrow icon to indicate they have children */
.region-menu ul.nice-menu > li.menuparent {
    background-image: url("../images/down_arrows.png");
    background-repeat: no-repeat;
    background-position: 16px -16px;
}

/* Black background on hover */
.region-menu ul.nice-menu > li:hover,
.region-menu ul.nice-menu-down li li.menuparent:hover {
    background-color: #000;
}

/* Gold text on hover */
.region-menu ul.nice-menu a:hover {
    color: #EEBD31;
}

/* Black background with gold arrow on hover for items with children */
.region-menu ul.nice-menu > li.menuparent:hover,
.region-menu ul.nice-menu > li.menuparent.active-trail:hover {
    background-color: #000;
    background-position: 16px 16px;
    border-bottom-left-radius: 0;
}

/* Gradient background with gold arrow for active menu item */
.region-menu ul.nice-menu > li.menuparent.active-trail {

    background-position: 16px 14px;

}

/* General menu link styling */
.region-menu ul.nice-menu li a {
    text-decoration: none;
    white-space: nowrap;
    color: #FFF;
}

/* Top-level menu link overrides */
.region-menu ul.nice-menu > li > a {
    padding-top: 5px;
    padding-bottom: 4px;
    padding-left: 45px;
}

/* Sub-menu styling */
.region-menu ul.nice-menu li li {
    width: 220px; /* leave room on right for users to select other menu items on mobile */
    background-color: rgb(0, 0, 0); /* fallback for older browsers */
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
}

/* Sub-sub menu styling */
.region-menu ul.nice-menu-down li ul li ul {
    left: 166px;
    top: 0;
}

.region-menu ul.nice-menu-down li li.menuparent {
    background-image: url("../images/right_arrows.png");
    background-repeat: no-repeat;
    background-position: 152px -81px;
}

.region-menu ul.nice-menu-down li li.menuparent:hover {
    background-image: url("../images/right_arrows.png");
    background-repeat: no-repeat;
    background-position: 152px 8px;
}

/* Sub-menu font styling */
.region-menu ul.nice-menu li li a {
    font-size: 0.786em; /* 11px */
    text-transform: none;
    color: #FFF;
    white-space: normal;
}

.region-menu ul.nice-menu a.active,
.region-menu ul.nice-menu li.active-trail > a {
    color: #EEBD31;
}

/* Flexslider Sliders/Slideshows */

.flexslider {
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all .2s ease;
    -webkit-transition: all .2s ease;
}

.flexslider .slides {
    padding: 0;
}

.flexslider .slides img {
    user-drag: none; 
    -moz-user-select: none;
    -webkit-user-drag: none;    
}

.flexslider .slides img.lazy {
    display: none;
}

.js .flexslider.loading {
    opacity: 0;
}

/* Help ensure bottoms of characters are visible, as hidden overfow of flex-viewport
container can cause them to be cut off */
.flexslider.carousel .flex-caption {
    padding-bottom: 0.1em;
}

.flex-control-nav {
    z-index: 10;
}

.flex-direction-nav a {
    background: #FFF;
    border-radius: 2em;
    text-decoration: none;        
}

.flex-direction-nav-small .flex-direction-nav a {
    height: 30px;
    width: 30px;
}

.flex-direction-nav a:before {
    color: #444;
    color: rgba(0, 0, 0, 0.8);
    font-family: FontAwesome;
    font-size: 40px;
    line-height: 0.95;         
    text-rendering: auto;
    transform: translate(0, 0);        
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.flex-direction-nav-small .flex-direction-nav a:before {
    font-size: 30px;
}

.flex-direction-nav a.flex-prev:before {
    content: "\f104"; /* fa-angle-left */
    padding: 0 0.1em 0 0;
}

.flex-direction-nav a.flex-next:before {
    content: "\f105"; /* fa-angle-right */
    padding: 0 0 0 0.1em;    
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.flex-direction-nav-visible .flex-direction-nav .flex-prev,
.flex-direction-nav-visible .flex-direction-nav .flex-next {
    opacity: 0.7;
}

.flex-direction-nav-legacy .flex-direction-nav a {
    background-image: url(../images/bg_direction_nav_sm.png);     
    background-repeat: no-repeat;     
    height: 35px;
    width: 35px;
}

.flex-direction-nav-legacy .flex-prev {
    background-position: -2px -2px;
}

.flex-direction-nav-legacy .flex-next {
    background-position: -51px -2px;
}

.flex-direction-nav-legacy .flex-direction-nav a.flex-prev,
.flex-direction-nav-legacy .flex-direction-nav a.flex-next {
    background-color: transparent;
    box-shadow: none;
    overflow: hidden;
    text-indent: 100%;
    text-shadow: none;
    white-space: nowrap;            
}
    
.flex-direction-nav-legacy .flex-direction-nav a.flex-prev:before,
.flex-direction-nav-legacy .flex-direction-nav a.flex-next:before {
    content: normal;
}

.flexslider .flex-control-paging li {
    vertical-align: middle;
}

.flex-control-paging li a {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
    border: 1px solid gray;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    width: 12px;
    height: 12px;
}

.flex-control-nav li a:hover {
    background: none repeat scroll 0 0 rgb(183, 183, 183);
}

.flex-control-nav li a.flex-active {
    background: none repeat scroll 0 0 rgb(67, 70, 72);
}

.flex-direction-nav {
    display: none;
}

body.touch .flex-direction-nav,
.flexslider:hover .flex-direction-nav {
    display: block;
}

.flexslider:hover .flex-direction-nav .flex-prev:hover,
.flexslider:hover .flex-direction-nav .flex-next:hover {
    opacity: 0.9;
}

.flex-direction-nav .flex-disabled {
    display: none;
}

/* Always show controls and at full opacity for touch devices */
body.touch .flex-direction-nav .flex-prev,
body.touch .flex-direction-nav .flex-next,
body.touch .flexslider:hover .flex-direction-nav .flex-prev,
body.touch .flexslider:hover .flex-direction-nav .flex-next, 
body.touch .flex-direction-nav-visible .flex-direction-nav .flex-prev,
body.touch .flex-direction-nav-visible .flex-direction-nav .flex-next {    
    opacity: 1;
}


/* Embedded Image Slideshows */

/* Note that we center slideshows by default */
.node-embed-slideshow {
    background-color: #FFF;
    border: 2px solid #DDD;
    clear: both;    
    margin-left: auto;
    margin-right: auto;    
    max-width: 100%;    
    overflow: visible;
    padding: 0;    
    z-index: 1;
}

.node-embed-slideshow.flexslider {
    margin-bottom: 1.429em;
}

/* TODO: reduce radius - note the multiple style rules necessary for this change */
.node-embed-slideshow.slideshow-border-rounded {
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
}

.node-embed-slideshow.slideshow-border-none {
    border: none;
}

.node-embed-slideshow.slideshow-small {
    width: 300px;
}

.node-embed-slideshow.slideshow-medium {
    width: 450px;
}

.node-embed-slideshow.slideshow-large {
    width: 600px;
}

.node-embed-slideshow.slideshow-full {
    width: 100%;
}

.flexslider-embedded .slides {
    padding: 0;
}

/* Show the first slide on load so there is no flickering */
.flexslider-embedded .slides li:first-child {
    display: block;
} 

.flexslider-embedded img {
    height: auto !important;
    max-width: 100%;
}

.node-embed-slideshow.slideshow-border-rounded img {
    /* 0.357em == 5px */
    border-radius: 0.357em 0.357em 0 0;
    -moz-border-radius: 0.357em 0.357em 0 0;
    -webkit-border-radius: 0.357em 0.357em 0 0;        
}

.node-embed-slideshow.slideshow-border-rounded.slideshow-caption-left img {
    /* 0.357em == 5px */
    border-radius: 0 0.357em 0.357em 0;
    -moz-border-radius: 0 0.357em 0.357em 0;
    -webkit-border-radius: 0 0.357em 0.357em 0;            
}

.node-embed-slideshow.slideshow-border-rounded.slideshow-caption-right img {
    /* 0.357em == 5px */
    border-radius: 0.357em 0 0 0.357em;
    -moz-border-radius: 0.357em 0 0 0.357em;
    -webkit-border-radius: 0.357em 0 0 0.357em;            
}

.flexslider-embedded .flex-caption {
    color: #000;
    font-style: italic;
    font-size: 0.929em; /* 13px */        
    line-height: 1.3;
}

.flexslider-embedded .flex-caption-inner {    
    padding: 0.5em 0.8em;    
}

.flexslider-embedded.slideshow-caption-left .flex-caption-inner {
    padding: 0.8em 0.8em 0.8em 2em;
}

.flexslider-embedded.slideshow-caption-right .flex-caption-inner {
    padding: 0.8em 2em 0.8em 0.8em;
}

.node-embed-slideshow.slideshow-border-rounded .flex-caption {
    border-radius: 0 0 0.5em 0.5em;
    -moz-border-radius:  0 0 0.5em 0.5em;
    -webkit-border-radius: 0 0 0.5em 0.5em;    
}

.node-embed-slideshow.slideshow-center {
    float: none;
    margin: auto 10px;
}

.flexslider-embedded .flex-direction-nav {
    display: block;
}

.flexslider-embedded .flex-direction-nav a {
    height: 32px;
    width: 32px;
}

.flexslider-embedded.flex-direction-nav-legacy .flex-direction-nav a {
    height: 35px;
    width: 35px;
}

.flexslider-embedded .flex-direction-nav a:before {
    font-size: 32px;
}

/* Show prev/next by default for embedded slideshows to indicate to users
that it's not just a single image */
.flexslider.flexslider-embedded .flex-direction-nav .flex-prev,
.flexslider.flexslider-embedded .flex-direction-nav .flex-next {
    opacity: 0.7;
}

.flexslider.flexslider-embedded .flex-direction-nav .flex-prev,
.flexslider.flexslider-embedded:hover .flex-direction-nav .flex-prev {
    left: -6px;
}
.flexslider.flexslider-embedded .flex-direction-nav .flex-next,
.flexslider.flexslider-embedded:hover .flex-direction-nav .flex-next {
    right: -6px;
}

.flexslider.flexslider-embedded.flex-direction-nav-legacy .flex-direction-nav .flex-prev,
.flexslider.flexslider-embedded.flex-direction-nav-legacy:hover .flex-direction-nav .flex-prev {
    left: -8px;
}
.flexslider.flexslider-embedded.flex-direction-nav-legacy .flex-direction-nav .flex-next,
.flexslider.flexslider-embedded.flex-direction-nav-legacy:hover .flex-direction-nav .flex-next {
    right: -8px;
}

/* Footer */

#section-footer {
    background: #1a1a1a;
    color: #FFF;
    padding-top: 12px;
}

#section-footer a:link,
#section-footer a:visited, 
#section-footer a:hover, 
#section-footer a:active {
    text-decoration: underline;
}

#section-footer a:link,
#section-footer a:visited {
    color: #FFF;    
}

#section-footer a:hover, 
#section-footer a:active {
    color: #EEBD31;
}

.region-footer-second-content-wrapper {
    border-bottom: 1px solid #bbb;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

/* Don't underline links in footer menu blocks except for hover and active */
#section-footer .block-menu a:link,
#section-footer .block-menu a:visited,
#section-footer .block-menu-block a:link,
#section-footer .block-menu-block a:visited {
    text-decoration: none;
}
#section-footer .block-menu a:hover,
#section-footer .block-menu a:active,
#section-footer .block-menu-block a:hover,
#section-footer .block-menu-block a:active {
    text-decoration: underline;
}

#section-footer .block-title,
#section-footer h3 {
    color: #FFF;
    text-transform: uppercase;
    font-weight: normal;
    padding-top: 0;
    margin-bottom: 1em; /* 14px */
}

/* Use white Instagram icon by default in footer, as most have dark backgrounds */
#section-footer .instagram-icon {
    background-position: -400px 0px;    
}

#section-footer .queens-logo {
    display: block;
    margin: 0 auto 20px;
    background-image: url(../images/queens_logo_white.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    background-size: cover;
    overflow: hidden;
    text-indent: 101%;
    white-space: nowrap;
    width: 108px;
    height: 74px;
}

body.queensweb-fullwidth #section-footer .queens-logo {
    background-image: url("../images/queens_logo_white_164.png");
    width: 164px;
    height: 113px;
}

.footer-menu-block {
    margin-bottom: 20px;
}

.footer-menu-block ul.menu li {
    display: table;
    float: left;
    height: 50px;
    list-style: none;
    margin: 5px;
    padding: 0;    
    text-align: center;
    width: 48.2%;
}

.footer-menu-block ul.menu li:nth-child(odd) {
    margin-left: 0;
}

.footer-menu-block ul.menu li:nth-child(even) {
    margin-left: 5px;
    margin-right: 0;
}

.footer-menu-block li a {
    display: table-cell;
    color: #FFF;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}


/* Social Media */

.footer-social-media-block {
    padding: 0;
    text-transform: uppercase;
    margin: 12px auto 20px;
    width: 188px;
    text-align: center;
}

.footer-social-media-block .block-title {
    text-align: left;
}

/* Editor sometimes adds paragraphs, so ensure they don't create unnecessary margin space */
.footer-social-media-block p {
    margin: 0;
}

/*TODO: shouldn't the class ending in "-icon" (as per the rule below) also apply here? */
.footer-social-media-block a {
    margin-right: 14px;
    margin-bottom: 10px;
}

.footer-social-media-block a[class*="-icon"].last,
.footer-social-media-block a[class*="-icon"]:nth-of-type(4) {
    margin-right: 0;
}

/* Contact Block */

.footer-contact-block.footer-contact-list-block {
    margin-bottom: 20px;
    text-align: center;
}

.footer-contact-block.footer-contact-list-block ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.footer-contact-block.footer-contact-list-block a {
    display: inline-block;
    margin-bottom: 8px;
}

.footer-contact-block.footer-contact-list-block a:before {
    content: "\f105"; /* fa-angle-right */
    display: inline-block;
    font-family: FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;             
}

.footer-contact-block.footer-contact-list-block a:before,
.footer-contact-block.footer-contact-list-block a .icon-angle-right {
    margin-right: 4px;
}

/* The Contact block is not defined as a menu, but the links should
be styled as if it were, with links only underlined for hover and active */
#section-footer .footer-contact-block.footer-contact-list-block a:link,
#section-footer .footer-contact-block.footer-contact-list-block a:visited {
    text-decoration: none;
}
#section-footer .footer-contact-block.footer-contact-list-block a:hover,
#section-footer .footer-contact-block.footer-contact-list-block a:active {
    text-decoration: underline;
}

/* Address */

.footer-address-block {
    clear: both;
    line-height: 1.455;
    margin-bottom: 20px;
    text-align: center;    
}

.footer-address-block p {
    margin-bottom: 0;
    line-height: 1.455;
}

.footer-u15-block {    
    font-size: 0.857em; /* 12px */    
    margin: 0 auto 20px;
    width: 70%;
}

#section-footer .territory-info {
    font-size: 0.857em; /* 12px */
    font-style: italic;
    padding: 4px 0;
}

#section-footer .territory-info,
#section-footer .territory-info a:link,
#section-footer .territory-info a:visited {
    color: #DDD;
}
#section-footer .territory-info a:hover,
#section-footer .territory-info a:active {
    color: #EEBD31;
}

/* Drupal Search overrides */

.search-results .title {
    margin-bottom: 0;
}

.search-results .search-info {
    font-weight: bold;
    margin: 0;
}

/* Admin Node Forms */

.node-form .form-item label {
    font-size: 1.143em;
}

.node-form fieldset {
    border: 1px solid #ccc;
    padding: 2.5em 0 0 0;
    position: relative;
    margin: 1em 0;
}    

.node-form fieldset .fieldset-legend {
    color: #444;
    font-size: 1.429em;            
    margin-top: 0.5em;
    padding-left: 15px;
    position: absolute;    
    text-transform: none;
}

.node-form fieldset .fieldset-wrapper {    
    padding: 1em;
}

.node-form fieldset .fieldset-wrapper .fieldset-description p {
    margin-top: 0;
}

.node-form .form-item .description {
    font-size: 0.929em;
}

.node-form .term-reference-tree {
    margin-top: 0.5em;
}

.node-form ul.term-reference-tree-level {
    margin-bottom: 1em;
}

/* Hide Rich Text Format Options */
.field-widget-text-textarea .text-format-wrapper > .ckeditor_links,
.field-widget-text-textarea-with-summary .text-format-wrapper > .ckeditor_links,
.field-widget-text-textarea .filter-wrapper,
.field-widget-text-textarea-with-summary .filter-wrapper {
    display: none !important;
}

.field-widget-text-textarea,
.field-widget-text-textarea-with-summary {
    margin-bottom: 10px;
}

/*  Media queries */

/* Styles to apply ONLY to mobile */
@media all and (max-width: 740px) {
    
    #section-footer .block-title,
    #section-footer h3 {
        font-size: 1.143em; /* 16px */
    }    
    
    .footer-menu-block,
    .footer-address-block {
        font-size: 1.0714em; /* 15px */              
    }
    
    #section-footer .territory-info {
        font-size: 0.8em; /* 12px */    
    }    
}    

@media all and (min-width: 325px) {

    body.queensweb-legacy-header #section-header .queens-wordmark {
        width: 296px;
    }

}

@media all and (min-width: 435px) {
    .footer-menu-block li {
        width: 47.5%;
    }
}

@media all and (min-width: 510px) {
    
    #section-header .queens-wordmark {
        height: 58px;
        padding-bottom: 0;
    }    
    
    #block-customsearch-internalmenu-form {
        float: right;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }
    
    body.queensweb-legacy-header #block-customsearch-internalmenu-form {
        margin-left: 35px;
    }

    #internal-menu-links {
        float: left;
        padding-bottom: 0;
    }

    #customsearch-internalmenu-block-form div.form-type-select {
        width: 124px;
        background-position: 104px 9px;
    }

    #customsearch-internalmenu-block-form div.form-type-select select {
        width: 145px;
    }

    #block-customsearch-customsearch-form {
        float: none;
        margin-left: auto;
        margin-right: auto;
        min-width: 475px;
    }      
            
    body.queensweb-legacy-header #block-customsearch-customsearch-form {
        clear: right;
        float: right;
        width: auto;
        margin-left: 0;
        margin-right: 0;
        min-width: 0;
    }

    #block-customsearch-customsearch-form input.form-text,
    body.queensweb-legacy-header #block-customsearch-customsearch-form input.form-text {
        width: 14em;
        margin-left: 3px;
    }

}

@media all and (min-width: 535px) {
    .footer-menu-block li {
        width: 48%;
    }
}

/* Retina/HiDPI overrides */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    
    #section-header .queens-wordmark {
        background-image: url("../images/wordmark_489_2x.png");
    }    
    
    body.queensweb-legacy-header #section-header .queens-wordmark {
        background-image: url("../images/wordmark_2x.png");
    }          

    #zone-user .queens-logo {
        background-image: url("../images/queens_logo_2x.png");
    }

    #section-footer .queens-logo {
        background-image: url("../images/queens_logo_white_2x.png");
    }
    
    body.queensweb-fullwidth #section-footer .queens-logo {
        background-image: url("../images/queens_logo_white_164_2x.png");
    }    
    
    .u15-logo {
        background-image: url(../images/u15_white_2x.png);    
    }    
    
    .twitter-icon,
    .facebook-icon,
    .youtube-icon,
    .flickr-icon,
    .linkedin-icon,
    .blog-icon,
    .wordpress-icon,
    .pinterest-icon,
    .instagram-icon,
    .tumblr-icon,
    .rss-icon {
        background-image: url(../images/social_media_2x.png);                
    }
      
    .sf-sub-indicator {    
        background-image: url("../images/menu_arrows_2x.png");        
    }
}

/* Print Styles */
@media print {

    /* ==========================================================================
    Default Print styles based on http://html5boilerplate.com
    Inlined to avoid required HTTP connection: h5bp.com/r
    ========================================================================== */
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited,
    a:link {
        text-decoration: underline;
    }

    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: 20mm;
    }

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

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

    body {
        padding-top: 0;

    }

    #toolbar {
        display: none;
    }

    /* Custom Queen's style rules for print */
    .print-only {
        display: block;
    }
    
    .print-hidden {
        display: none;
    }

    /* Hide header elements */
    #region-user-first .queens-wordmark,    
    #block-customsearch-internalmenu-form,
    #block-customsearch-customsearch-form {
        display: none;
    }
    
    /* Hide menus */
    .block-menu,
    .block-menu-block,
    .block-nice-menus,
    .block-superfish {
        display: none;
    }

    .block.block-collapsible-mobile.collapsible-initialized .block-title {
        padding-left: 0;
    }
    
    .block.block-collapsible-mobile .collapse-expand-icon {
        display: none;
    }       
    
    .block.block-collapsible-mobile .content {
        display: block !important;
    }        
    
    #block-search-form, 
    #search-block-form {
        display: none;
    }

    .share-button {
        display: none;
    }

    .video-embed,
    .video-embed-left,
    .video-embed-right,
    .video-embed-center {
        width: 100% !important;
    }
    
    .video-embed .video-wrapper,
    .video-embed-left .video-wrapper,
    .video-embed-right .video-wrapper,
    .video-embed-center .video-wrapper {
        display: none;
    }
    
    .video-caption:before {
        content: '[Embedded video]: ';
    }
    
    .footer-contact-list-block {
        display: none;
    }
    
    .footer-social-media-block {
        display: none;
    }

    .footer-u15-block {
        text-align: center;
        width: 100%;
    }
    
    /* We don't display background images for print, so reduce unnecessary whitespace */
    .footer-u15-block .u15-logo {
        padding: 0;
    }
    
    .queens-wordmark-print {        
        float: left;
        margin: 10px 0 10px 10px;
    }
    
    #section-footer .queens-logo {
        display: none;
    }

    .queens-logo-print {
        margin: 0 auto 2em;
    }    
    
}