/* ==========================================================================
Common Elements 
.left: float left
.right: float right 
.clearfix: place on parent of floating divs;
.uc: uppercase 
.noticebox-border / .noticebox-purple / .noticebox-grey: notice boxes
.th-row: rows of thumbnails *add to view 
.fullwidth view displays that are full width
.label: label for rows of thumbnails *add to view
.hidden: display none;
.wrapper-div: position relative divs
.h2 automatically gets purple underline
.micetype for small texts
.nostyle will remove ul list styling
.intropara
.iframe_container responsive full-width embedded YouTube videos
.g-recaptcha responsive google recaptcha

========================================================================== */


/************************
* === COMMON ELEMENTS ===
*************************/

div.messages.error {
    display: none;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'ABC Monument Grotesk', Arial, sans-serif;
    line-height: 1.5;
    background: #ffffff;
    -webkit-font-smoothing: antialiased!important;
    color: #000000;
}

header[role=banner],
.content-inner,
.nav,
.region-sidebar-first,
.region-sidebar-second,
.region-secondary-content,
.region-tertiary-content,
.region-footer {
    overflow: visible;
    word-wrap: break-word;
}

.hidden,
.addthis-container,
#block-locale-language a.active,
#block-locale-language .locale-untranslated,
#site-search label,
div.authorInfo
/*#solr-aggregator-search label*/

{
    display: none;
}

form {
    margin: 0;
}

.wrapper-div {
    position: relative;
}


/* !Texts */

h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.9em;
    margin-bottom: 0.3em;
}

.content h2,
.region-content-aside h2,
.block-inner h2,
.block-title h2,
.block-nodeblock h2 {
    border-bottom: 1px solid #000;
}

.region-sidebar-second .block-inner h2 {
    border-bottom: none;
}

h3 {
    font-size: 1.575em;
}

h4 {
    font-size: 1.375em;
}

h5 {
    font-size: 1.125em;
    margin-bottom: 0.3em;
}

p {
    font-size: 1em;
    margin: 0;
    margin-bottom: 1em;
    line-height: 1.7em;
}

p.intropara {
    font-size: 1.625em;
}

.micetype {
    font-size: 0.8em;
}

p:empty {
    display: none;
}

hr {
    display: none;
}

.uc {
    text-transform: uppercase;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.block.noticebox-border .block-content,
.block.noticebox-border-top .block-content,
.block.noticebox-purple .block-content,
.block.noticebox-grey .block-content,
.view.noticebox-border .view-content,
.view.noticebox-border-top .view-content,
.view.noticebox-purple .view-content,
.view.noticebox-grey .view-content {
    padding: 20px 30px;
    margin: 2rem 0;
}

.block.noticebox-border .block-content p:last-of-type,
.block.noticebox-border-top .block-content p:last-of-type,
.block.noticebox-purple .block-content p:last-of-type,
.block.noticebox-grey .block-content p:last-of-type,
.view.noticebox-border .view-content p:last-of-type,
.view.noticebox-border-top .view-content p:last-of-type,
.view.noticebox-purple .view-content p:last-of-type,
.view.noticebox-grey .view-content p:last-of-type {
    margin-bottom: 0;
}

.region-banner .noticebox-border,
.region-banner .noticebox-border-top,
.region-banner .noticebox-purple,
.region-banner .noticebox-grey {
    max-width: 960px;
    margin: 0 auto;
}

.noticebox-border .block-content,
.noticebox-border .view-content {
    background-color: #f1f1f1;
    border: 2px solid #7F2083;
}

.noticebox-border-top .block-content,
.noticebox-border-top .view-content {
    background-color: #f1f1f1;
    border-top: 2px solid #7F2083;
}

.noticebox-purple .block-content,
.noticebox-purple .view-content {
    background: #f5f5f5;
    border: 2px solid #000;
}

.noticebox-grey .block-content,
.noticebox-grey .view-content {
    background: #f0f0f0;
    border: 2px solid #696969;
    font-size: 0.95em;
}

.noticebox-warning .block-content,
.noticebox-warning .view-content {
    padding: 20px 40px;
    margin: 20px;
}

.noticebox-warning .block-content>div,
.noticebox-warning .view-content>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.noticebox-warning p {
    margin: 0;
}

.noticebox-warning a {
    color: #7f2082;
}

.noticebox-warning a:hover {
    text-decoration: underline;
}

.noticebox-warning button#close-block {
    background-color: #000;
    border: none;
    padding: 5px 10px;
    color: white;
}

.noticebox-warning button#close-block:hover {
    cursor: pointer;
}

.iframe_container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.iframe_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Drupal onpage elements */

ul.primary {
    border-bottom-color: #ccc;
    margin: 1em 0;
    padding: 0;
}

ul.primary li a {
    background-color: #f5f5f5;
    margin-right: .08em;
    border-color: #ccc;
    padding: .1em .75em .2em;
}

.ui-widget {
    font-family: Arial, sans-serif !important;
    font-size: 1em !important;
}


/* !Links */

a {
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

a img {
    border: none;
}

#main-content #content a,
.emuseum-content a,
.region-sidebar-first ul li a,
.view .view-content a,
.article-landing-page-carousel .flex-caption a,
#today .message a,
.region-banner a {
    color: #7F2083;
    font-weight: bold;
    font-size: 1em;
}

#main-content #content a:hover,
.emuseum-content a:hover,
.region-sidebar-first ul li a:hover,
.article-homepage-carousel div.field-type-text div.field-items div.field-item:hover,
.view .view-content a:hover,
.article-landing-page-carousel .flex-caption a:hover,
#today .message a:hover,
.region-banner a:hover {
    text-decoration: underline;
}

a.btn,
.language-link,
.form-submit,
#main-content #content a.btn,
input[type='submit'],
div.article-landing-page-carousel .flexslider div.field-name-field-button-text div.field-items div.field-item,
#main-content #content div.view-id-gallery .more-link>a,
#main-content #content div.view-id-exhibitions .more-link>a {
    background-color: #000;
    color: white;
    font-weight: bold;
    padding: 0.4em 0.6em;
    cursor: pointer;
    display: inline-block;
    border: medium none;
    border-radius: 0.1em 0.1em;
    text-align: center;
}

a.btn:hover,
#main-content #content a.btn:hover,
.language-link:hover,
input[type='submit']:hover,
div.article-landing-page-carousel .flexslider div.field-name-field-button-text div.field-items div.field-item:hover,
#main-content #content div.view-id-gallery .more-link>a:hover,
#main-content #content div.view-id-exhibitions .more-link>a:hover {
    background-color: #323232;
    text-decoration: none;
}


/* megamenu button links */

#md-megamenu-1 .awemenu-submenu a.btn {
    color: white;
    font-weight: bold;
    padding: 0.3em 0.5em;
    font-size: 1.09rem;
}

#md-megamenu-1.awemenu-mobile .awemenu-submenu a.btn {
    margin: 10px 0;
}


/* !Lists */

div#header ul,
ol,
div#header ul li,
div#footer ul,
div#footer ul li,
ul.menu,
ul.nostyle,
ul.session-dates,
body.with-sidebar-content-right .content-inner div.region-sidebar-content-right ul,
ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-list ul li,
.item-list ul,
ul.nostyle li {
    margin: 0;
}


/* enable ordered lists */

#content ol {
    list-style: decimal;
    line-height: 1.7em;
    font-size: 1.05em;
}

#content ol li {
    margin-left: 40px;
    padding-left: 5px;
}


/* Images */

div.image img {
    width: 100%;
}

.row .column img,
.row .item img {
    width: 100% !important;
    height: auto!important;
}

span.img-container {
    position: relative;
    display: inline-block;
}

span.img-container .img-info-icon {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 16px;
    height: 16px;
    background: url("../images/info_icon.png") no-repeat 0 0;
}

span.img-container .img-caption {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: black;
    background-color: rgb(255, 255, 255, 0.7);
    padding: 0.2em;
}


/* !Pager */

.pagination.full {
    overflow: hidden;
    width: 100%;
    margin: 1em auto;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 0.6em 0;
}

.pagination.full div.next-last .next,
.pagination.full div.next-last .last,
.pagination.full div.first-previous .first,
.pagination.full div.first-previous .previous {
    padding: 0 10px;
}

.pagination.full ul.page-numbers li {
    width: 30px;
}

.pagination.full ul.page-numbers li,
.pagination.full div.next-last .next,
.pagination.full div.next-last .last,
.pagination.full div.first-previous .first,
.pagination.full div.first-previous .previous {
    display: inline-block;
}

.pagination.full .page-numbers-wrapper,
.pagination.full div.next-last,
.pagination.full div.first-previous {
    display: inline-block;
}


/* !Spacing */

div.article-content h2,
div.article-content .column {
    margin-top: 0.5em;
}

div.article-content h2:nth-child(1) {
    margin-top: 0;
}

.view-display-id-special_announcement_1,
.view-display-id-special_announcement_2,
div.view-display-id-special_announcement_1 p:first-child,
div.view-display-id-special_announcement_2 p:first-child,
.view-blog .views-row,
.block,
.region-highlighted,
.views-row,
.views-exposed-widgets,
.event-item {
    margin-bottom: 1em;
}


/* !Forms & Buttons */

form select,
div.form-item input {
    height: 40px;
    font-size: 1em;
    font-weight: bold;
    background-color: #ffffff;
    width: 100%;
}

div.form-item.form-type-radio input {
    height: auto;
    width: auto;
}

div.form-item select+span {
    display: none;
}

div.form-item .form-select,
div.controls select#control-sort,
div.controls select#control-sort-order,
div.controls select#control-items {
    opacity: 1 !important;
}

div.controls div.control-sort-wrapper span,
div.controls div.control-sort-order-wrapper span,
div.controls div.control-items-wrapper span {
    display: none;
}

.views-exposed-form .views-exposed-widget .form-submit {
    margin-top: 0;
}

div.solr-documents {
    margin-top: 1em;
}


/* Upload File Input */

.upload-file input[type="submit"] {
    background: #000;
}

.upload-file input[type="submit"]:hover,
.upload-file input[type="submit"]:focus {
    background: #323232;
}


/* !Accordions */

.section.types.toggleNew .row-title {
    background: transparent;
    color: #7F2083;
    font-size: 1.15em;
    cursor: pointer;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0.5rem 0;
    padding-right: 20px;
}

.section.types.toggleNew h3.row-title .arrow {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(calc(-50% - 9px));
    /* hide &nbsp; between arrow spans */
    font-size: 0;
}

.section.types.toggleNew h3.row-title .arrow::before,
.section.types.toggleNew h3.row-title .arrow::after {
    content: '';
    position: absolute;
    background-color: #7F2083;
    width: 3px;
    height: 9px;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.section.types.toggleNew h3.row-title.active .arrow::before,
.section.types.toggleNew h3.row-title.active .arrow::before {
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.section.types.toggleNew h3.row-title .arrow::before {
    -webkit-transform: translate(2px, 0) rotate(45deg);
    -ms-transform: translate(2px, 0) rotate(45deg);
    transform: translate(2px, 0) rotate(45deg);
}

.section.types.toggleNew h3.row-title.active .arrow::before {
    -webkit-transform: translate(-2px, 0) rotate(45deg);
    -ms-transform: translate(-2px, 0) rotate(45deg);
    transform: translate(-2px, 0) rotate(45deg);
}

.section.types.toggleNew h3.row-title .arrow::after {
    -webkit-transform: translate(-2px, 0) rotate(-45deg);
    -ms-transform: translate(-2px, 0) rotate(-45deg);
    transform: translate(-2px, 0) rotate(-45deg);
}

.section.types.toggleNew h3.row-title.active .arrow::after {
    -webkit-transform: translate(2px, 0) rotate(-45deg);
    -ms-transform: translate(2px, 0) rotate(-45deg);
    transform: translate(2px, 0) rotate(-45deg);
}


/* !Responsive Google Recaptcha */

fieldset.captcha {
    padding: 1.25rem 1.5rem;
}

fieldset.captcha legend {
    display: none;
}

fieldset.captcha .fieldset-description {
    margin-bottom: 1rem;
}


/* Tweaks for Image Request Form https://rom.on.ca/en/collections-research/online-collections/image-request */

select#edit-submitted-product-information-publication-date-year,
select#edit-submitted-product-information-publication-date-month,
select#edit-submitted-product-information-publication-date-day,
.page-node-17625 .webform-calendar {
    width: auto;
    height: auto;
}

input#edit-submitted-image-file-upload,
input#edit-submitted-image-file-upload-button {
    height: auto;
    width: auto;
}

input#edit-submitted-image-file-upload {
    width: 230px;
}

input#edit-submitted-image-file-upload-button {
    background-color: #7f2082;
}


/*Media Query */

@media only screen and (max-width: 475px) {
    /* !Accordions */
    .section.types.toggleNew .row-title {
        font-size: 1em;
    }
    /* !Responsive Google Recaptcha */
    fieldset.captcha .g-recaptcha>div {
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
        width: 104% !important;
    }
    fieldset.captcha .g-recaptcha iframe {
        max-width: 100%;
    }
}

@media only screen and (min-width: 768px) {}

@media only screen and (min-width: 1024px) {
    div.article-content h2,
    div.article-content .column {
        margin-top: 1em;
    }
    div.image img {
        width: auto;
    }
    .left {
        float: left;
    }
    .right {
        float: right;
    }
    .clearfix {
        clear: both;
    }
    .clearfix:before,
    .container:before {
        content: none;
    }
    h1 {
        font-size: 2.62em;
    }
    h2 {
        font-size: 1.9em;
    }
    h3 {
        font-size: 1.582em;
    }
    h4 {
        font-size: 1.331em;
    }
    h5 {
        font-size: 1.2em;
    }
    p {
        font-size: 1.05em;
    }
    a.btn,
    #main-content #content a.btn,
    .language-link,
    .form-submit {
        font-size: 1em;
        padding: 0.3em 0.5em;
    }
    /* span.img-container .img-caption,*/
    span.img-container .img-info-icon,
    span.img-container:hover .img-info-icon {
        display: none;
    }
    /* Added JS to remove caption see common.js */
    /* div.views-field-field-thumbnail span.img-container .img-caption {
        display: none;
    } */
    .pagination.full {
        width: 100%;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === General Content Structures ===
*************************/


/* !Breadcrumb */

ol#crumbs li {
    display: inline;
    font-size: 0.9em !important;
}

#breadcrumb,
#crumbs {
    color: #5a5a5a;
    margin-bottom: 1em;
}

#breadcrumb a,
#crumbs a {
    color: #5a5a5a;
    text-decoration: underline;
}

#breadcrumb .current,
#crumbs .current {
    color: #000;
}

li.crumb>span {
    margin: 0 0.15em 0 0.15em;
}

li.crumb span.current {
    margin: 0;
}


/* !Banner */

div#banner h1 {
    display: inline-block;
    border-bottom: 4px solid #000;
}

div#banner h1 a {
    color: #000;
}

#page {
    width: 100%;
}

#page,
#header,
#banner,
#footer {
    padding: 0 1em;
}

.page-node-8 h1#page-title,
.page-node-6534 h1#page-title,
body .page-whats-on h1#page-title,
.page-node-40 h1#page-title,
.page-node-7401 h1#page-title,
.page-node-118 h1#page-title,
.page-node-7938 h1#page-title,
.page-node-164 h1#page-title,
.page-node-7033 h1#page-title,
.page-node-166 h1#page-title,
.page-node-7009 h1#page-title,
.page-node-165 h1#page-title,
.lang-fr .views-field-field-english-title,
.lang-en .views-field-field-french-title {
    display: none;
}

#header,
#footer,
#banner,
.region-top-top .block-inner {
    margin: 0 auto;
}

#region-wrapper {
    width: 100%;
    min-height: 25px;
}

#content {
    width: 100%;
}


/* !Columns */

.region-sidebar-second .block,
.event-page .right,
body.with-sidebar-content-right .content-inner div.region-sidebar-content-right {
    background-color: #f5f5f5;
    padding: 10px;
    border-top: 1px solid black;
}

.region-sidebar-second .block h2 {
    font-size: 1.7em;
}


/* !Thumbnail List */

.row .column img,
.row .item img,
.views-field-field-thumbnail a {
    vertical-align: top;
}

.row .item h3 {
    border-bottom: 2px solid #7F2083;
}

.th-row .views-row img {
    margin-top: 0.5em;
    width: 100%;
}

.row .column img,
.row .item img {
    padding: 0.5em 0;
}

.label {
    background-color: #000;
    color: white;
    padding: 5px 10px;
    text-transform: uppercase;
    display: inline-block;
    font-size: 0.8em;
    margin-bottom: 0.5em;
}

.row .item {
    margin-top: 1em;
    max-width: 100%;
}

.row .item span.img-container {
    max-width: 100%;
}

.row .item span.img-container .img-caption {
    display: none;
}

.row:nth-child(1) .item.first {
    margin-top: 0;
}

th-row .views-row,
.row .item img {
    width: 100% !important;
}

th-row .views-row,
.field-items .field-item .row .item .more-link {
    text-align: left;
}


/* Tables */

table {
    margin: 10px 0;
    padding: 0;
    width: 100%;
}

table,
table th,
table tr,
table td {
    border: none;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

table th,
table td {
    padding: 5px;
}

table th {
    background: none repeat scroll 0 0 #e5e4df;
    color: #DB182A;
    font-weight: 700;
}

table tr.even,
table tr.odd {
    background-color: transparent;
    /* systems css override */
}

tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
}

#tabs-1 tbody tr:nth-child(odd) {
    background-color: transparent;
}


/* !Views */


/* !Blocks */

.block-title {
    margin-bottom: 0.3em;
}

.block-inner {
    padding: 0;
}

div.region.sidebar h2 {
    font-size: 1.3em;
    border-bottom: none;
}


/*Media Query */

@media only screen and (min-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .th-row .views-row,
    .row .item,
    .row .one-third,
    .view-about-us-image-gallery .views-row,
    div.view.all-events div.event-group div.event-item {
        display: inline-block;
        width: 32.5%;
        margin-right: 0.2em;
        vertical-align: top;
    }
    .lang-fr .row .item {
        vertical-align: bottom;
    }
    /*!temporary */
    .page-node-118 .row .item {
        vertical-align: bottom;
    }
    .th-row .views-row.last,
    .field-items .field-item .row .item.last,
    .row .one-third.last {
        margin-right: 0;
    }
    .row {
        margin-top: 1em;
    }
    .row .item {
        margin-top: 0;
    }
}

@media only screen and (max-width: 768px) {
    .row .item span.img-container {
        width: 100% !important;
        height: auto !important;
    }
}

@media only screen and (min-width: 1024px) {
    #page,
    #header,
    #banner,
    #footer {
        /* width: 960px; */
        width: 1040px;
        padding: 0;
    }
    #footer {
        padding: 1em 0;
    }
    body.emuseum #page {
        width: 100%;
    }
    .sidebar-second #content-column,
    .event-page .left {
        float: left;
        width: 70%;
    }
    .sidebar-second #content-column .content-inner {
        margin: 0;
    }
    #columns .region-sidebar-second,
    .event-page .right {
        float: right;
        width: 29%;
        margin: 0;
    }
    /* Three Column Page (Left menu + Content + right sidebar)*/
    .sidebar-first #content-column {
        width: 78%;
        float: right;
    }
    .sidebar-first .region-sidebar-first {
        width: 20%;
        float: left;
        margin-left: 0;
    }
    .sidebar-first .content-inner {
        margin: 0 !important;
    }
    body.with-sidebar-content-right .content-inner {
        overflow: hidden;
    }
    body.with-sidebar-content-right .content-inner div.region-content {
        width: 70%;
        float: left;
    }
    body.with-sidebar-content-right .content-inner div.region-sidebar-content-right {
        width: 28%;
        float: right;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === !Header ===
*************************/

#header-wrapper {
    line-height: 0;
    position: relative;
    z-index: 2;
}

#header-wrapper #region-wrapper {
    width: 100%;
    min-height: 25px;
    font-size: 0.8em;
}

.region-header .block {
    margin-bottom: 0;
}

#header {
    position: relative;
    padding: 0;
}

#header ul li,
#header .block {
    display: inline-block;
}

#header ul li.leaf {
    padding: 0;
}

#header ul li a {
    line-height: 0.8em;
    margin-right: 5px;
    padding: 0.7em;
}

#header li a.active {
    color: #ffffff;
}

#logo {
    padding: 15px 0;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    #logo {
        padding: 30px 15px 10px 15px;
    }
}

#logo img {
    max-width: 75px;
}


/*this hides language button not in use */

#block-locale-language a.active,
#block-locale-language .locale-untranslated {
    display: none;
}


/* !search bar */

#site-search {
    margin: 1em 0;
    width: 100%;
}

#site-search input {
    border: none;
    height: 2.5em;
}

#site-search input[type='submit'] {
    font-weight: bold;
    color: white;
    vertical-align: top;
    width: 25%;
}

#site-search input[type='text'] {
    padding-left: 27px;
    background: url(../images/magnefier.png) no-repeat 7px center;
    width: 75%;
    background-color: #f9f9f9;
}

#site-search input[type='submit']:hover {
    cursor: pointer;
}

#site-search label {
    display: none;
}


/*Media Query */

@media only screen and (min-width: 768px) {
    #site-search {
        position: absolute;
        right: 0;
        bottom: 2px;
        margin: 0;
        width: 50%;
    }
    #logo {
        width: 33%;
    }
    #header-wrapper #region-wrapper {
        font-size: 1em;
    }
}

@media only screen and (min-width: 1024px) {}

@media only screen and (min-width: 1200px) {}


/************************
* === !Footer ===
*************************/


/* CrowdRiff Gallery */

#instagram p {
    padding: 0.75em 0.75em;
    background-color: #323232;
    color: white;
    margin: 0;
}

#instagram p a {
    color: white;
    text-decoration: underline;
}

#footer .social {
    float: left;
}

#footer .enews {
    float: right;
    width: 50%;
}

#block-menu-menu-footer-menu,
#block-block-15 {
    z-index: 15;
}


/* !Crowdriff */

div#block-block-214 .views-row {
    margin-bottom: 0;
}

#footer-wrapper {
    background: #000;
}

#footer-wrapper ul li {
    list-style: none;
}

#footer-wrapper,
#footer-wrapper a {
    color: #fff;
}

#footer-wrapper a:hover {
    text-decoration: underline;
}

#footer #block-menu-menu-footer-menu {
    column-count: 2;
}


/* !social media icons */

#block-block-14 {
    margin: 20px 0 40px 0;
}

#block-block-14 ul.socialmedia {
    display: inline-block;
}

#block-block-14 ul.socialmedia li {
    margin-right: 1em;
    float: left;
}

#block-block-14 ul.socialmedia li a {
    display: block;
    line-height: 29px;
    font-weight: bold;
    text-indent: -9999px;
    text-decoration: none;
    padding-left: 29px;
}

#footer a.blog {
    background-image: url(../images/blog-footer-icon.png);
}

#footer a.facebook {
    background-image: url(../images/facebook-footer-icon.png);
}

#footer a.twitter {
    background-image: url(../images/twitter-footer-icon.png);
}

#footer a.youtube {
    background-image: url(../images/youtube-footer-icon.png);
}

#footer a.instagram {
    background-image: url(../images/instagram-footer-icon.png);
}

#footer a {
    background-size: cover;
    background-repeat: no-repeat;
}

#footer div.info:nth-child(2) {
    margin-top: 1em;
}


/* enews subscription */

#block-block-14 label[for='ea'] {
    position: absolute;
    visibility: hidden;
}

#block-block-14 form.constant-contact input[type='submit'] {
    background: white;
    color: #7f2082;
    padding: 0.3em 0.5em;
    margin-left: 10px;
}

#block-block-14 form.constant-contact input[type='submit']:hover {
    background: #f1f1f1;
    transition: all 0.5s;
}

#block-block-14 form.constant-contact input[type='text'] {
    width: 85%;
    border: none;
    height: 27px;
    border-radius: 0.1em;
}


/*Media Query */

@media only screen and (min-width: 768px) {
    /*Crowdriff */
    #footer #block-block15,
    #footer #block-menu-menu-footer-menu {
        width: 50%;
    }
    #footer #block-menu-menu-footer-menu {
        column-count: 3;
    }
    #footer div.clearfix>div.info:nth-child(2) {
        margin: 0 0 0 1em;
    }
}

@media only screen and (max-width: 768px) {
    #footer .social,
    #footer .enews {
        float: none;
        width: 100%;
    }
    #footer social {
        margin-bottom: 20px;
    }
    #block-block-14 form.constant-contact input[type='text'] {
        width: 55%;
    }
}

@media only screen and (min-width: 1024px) {}

@media only screen and (min-width: 1200px) {}


/************************
* === !Solr ===
*************************/


/*Solr */

#block-solr-aggregator-16-facet {
    vertical-align: top;
}

div#solr-aggregator-search div.searches p {
    display: inline-block;
}

#block-solr-aggregator-16-search,
#block-solr-aggregator-16-pagination,
#block-solr-aggregator-16-facet,
#block-solr-aggregator-16-list {
    display: block;
}

#block-solr-aggregator-16-list form#controls-form>div>div {
    display: inline-block;
}

@media only screen and (min-width: 768px) {
    #block-solr-aggregator-16-facet,
    #block-solr-aggregator-16-list {
        display: inline-block;
    }
    #block-solr-aggregator-16-facet {
        width: 240px;
        padding-right: 20px;
    }
    #block-solr-aggregator-16-list {
        width: 700px;
    }
}

@media only screen and (min-width: 1024px) {}


/************************
* === !Front Page ===
*************************/


/* Hides the weird learning blocks on homepage */

.front #block-system-main {
    display: none!important;
}


/* Hide image captions on homepage */

.front span.img-container .img-caption {
    display: none;
}


/* !Homepages date info and links */

#today {
    width: 100%;
}

#today .views-row {
    margin: 0;
}

.today-date span.views-label-field-date-hours {
    display: block;
}

#today .info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#today .info .view-empty p {
    margin-bottom: 0;
}

#today .info .view-empty p:nth-of-type(2) {
    font-weight: normal;
    font-size: 0.8em;
}

#today .info .view-footer {
    font-size: 0.7em;
    font-weight: normal;
}

#today .info .links a {
    display: block;
    font-size: 1em;
    line-height: 30px;
    padding-left: 31px;
    color: #636466;
    font-weight: bold;
}

#today .info .links a:hover {
    text-decoration: underline;
}

#today .info span.date-display-single {
    font-weight: lighter;
}

#today .info .links .directions {
    background: url('images/dark/directions.png') no-repeat 0 50%;
    background-size: 25px;
}

#today .info .links .admission {
    background: url('images/dark/admission.png') no-repeat 0 50%;
    background-size: 25px;
}

#today .info .links .accessibility {
    background: url('images/dark/accessibility.png') no-repeat 0 50%;
    background-size: 25px;
}

#today .message {
    margin: 1rem 0;
}

#today .message p:last-of-type {
    margin-bottom: 0;
}

#today .message .view-display-id-sold_out.noticebox-purple .view-content {
    font-size: 0.95rem;
    margin: 1rem 0;
}

#today .message .covid-reopening p {
    font-size: 0.94rem;
}


/* !Flex Slider */

.flexslider {
    margin: 0;
    border: none;
    box-shadow: none;
}

.flex-control-nav {
    display: none;
}

.flex-control-nav li {
    margin: 0 6px !important;
    padding: 0 !important;
}

.flexslider .slides>li {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    overflow: hidden;
}

.flexslider .slides>li.flex-active-slide {
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    white-space: normal;
    clip: auto;
    clip-path: none;
    overflow: auto;
}

.flex-control-paging li a {
    background: rgba(255, 255, 255, 0.5);
}

.flex-control-paging li a.flex-active {
    background: rgba(255, 255, 255, 0.9);
}

.flexslider .flex-info .wrapper-div a {
    color: #7F2083;
    font-weight: bold;
    font-size: 20px;
    padding: 5px 0;
    display: inline-block;
    left: 25px;
}

.flex-control-paging li a {
    width: 15px;
    height: 15px;
}

.flexslider .flex-info a:hover {
    text-decoration: underline;
}

.flexslider .flex-caption {
    margin-top: 0.2em;
    padding: 1em;
    background-color: #f5f5f5;
}

.flexslider .summary p {
    font-size: 1.2em;
}

.flexslider .flex-info .wrapper-div {
    width: 100%;
    height: 33px;
}

.flexslider .cta__arrow {
    fill: #7F2083;
    ;
    width: 40px;
    height: 40px;
    display: inline-block;
}

.flexslider .cta__arrow,
.flexslider .flex-info .wrapper-div a {
    position: absolute;
}

.flex-direction-nav a {
    top: 35%;
    height: 50px;
}


/* !Highlighs */


/* Large Homepage Highlight Blocks */

#block-views-b24b937f9a18da07485453871083cb25 .views-field-field-summary p,
#block-views-b24b937f9a18da07485453871083cb25 .views-field-field-long-subtitle p,
#block-views-b24b937f9a18da07485453871083cb25 .views-field-body p,
#block-views-3f50691871c0fc6071119e92407d9a9c .views-field-body p {
    font-size: 0.95em;
}

.view-homepage-highlights {
    margin-bottom: 3rem;
}

.view-homepage-highlights .views-row {
    overflow: hidden;
    margin-bottom: 0;
}

div.view-display-id-special_announcement_1,
div.view-display-id-special_announcement_2 {
    padding: 10px;
    background-color: #ececec;
    text-align: center;
}

div.view-display-id-special_announcement_1 p:first-child,
div.view-display-id-special_announcement_2 p:first-child {
    font-size: 1.6em;
    line-height: 1.25;
}


/*Media Query */

@media only screen and (min-width: 768px) {
    .today-date span.views-label-field-date-hours {
        display: inline-block;
    }
}

@media only screen and (min-width: 1024px) {
    .flex-control-nav {
        display: block;
        position: absolute;
        z-index: 10;
        bottom: auto;
        top: 500px;
    }
    body.with-sidebar-content-right .flex-control-nav {
        top: 340px;
    }
    .imagestyle-gallery-carousel .flex-control-nav {
        bottom: 15%;
    }
    #today .info {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    #today .info .links a {
        display: inline-block;
        margin-left: 10px;
        font-size: 1.1em;
        width: auto;
    }
    #today .info .today-date,
    #today,
    .info .links {
        display: inline-block;
    }
    /* HOME PAGE HIGHLIGHTS */
    div.view-display-id-special_announcement_1,
    div.view-display-id-special_announcement_2 {
        padding: 0;
        background-color: inherit;
        position: relative;
    }
    div.view-display-id-special_announcement_1 div.views-row-1 div.views-field-field-thumbnail,
    div.view-display-id-special_announcement_2 div.views-row-1 div.views-field-field-thumbnail {
        width: 65%;
    }
    div.view-display-id-special_announcement_1 div.views-row-1 div.views-field-field-copy,
    div.view-display-id-special_announcement_2 div.views-row-1 div.views-field-field-copy {
        width: 37%;
        top: 83px;
        padding: 20px;
        background-color: white;
        position: absolute;
    }
    div.view-display-id-special_announcement_1 div.views-field-field-thumbnail,
    div.view-display-id-special_announcement_2 div.views-field-field-copy {
        float: left;
    }
    div.view-display-id-special_announcement_2 div.views-field-field-thumbnail,
    div.view-display-id-special_announcement_1 div.views-field-field-copy {
        float: right;
    }
    div.view-display-id-special_announcement_1 div.views-field-field-copy {
        right: 30px;
    }
    div.view-display-id-special_announcement_2 div.views-field-field-copy {
        left: 30px;
    }
    .flexslider .flex-title {
        width: 60%;
    }
    .flexslider .flex-info {
        width: 38%;
    }
    .flexslider .flex-caption {
        height: auto;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === !Visit Us ===
*************************/

.section.types .row-title {
    background-color: #000;
    color: #ffffff;
    padding: 5px 10px;
    margin-bottom: 10px;
}


/* Buy Tickets page */

.page-node-6433 h3,
.page-node-6537 h3 {
    margin: 0.75rem 0 0.5rem 0;
}

.page-node-6433 ul,
.page-node-6537 ul {
    font-size: 1.05em;
}

.page-node-6433 table,
.page-node-6537 table {
    table-layout: fixed;
}

.page-node-6433 table,
.page-node-6433 table th,
.page-node-6433 table tr,
.page-node-6433 table td,
.page-node-6537 table,
.page-node-6537 table th,
.page-node-6537 table tr,
.page-node-6537 table td {
    text-align: center;
}

.page-node-6433 table th,
.page-node-6537 table th {
    color: #7F2083;
    background-color: rgba(153, 153, 153, 0.15);
}

.page-node-6433 table tbody tr,
.page-node-6537 table tbody tr {
    background-color: transparent;
    border-bottom: 1px solid rgba(153, 153, 153, 0.15);
}

.page-node-6433 table tbody tr:last-of-type,
.page-node-6537 table tbody tr:last-of-type {
    border-bottom: none;
}

.page-node-6433 table tbody tr td:first-of-type,
.page-node-6537 table tbody tr td:first-of-type {
    font-weight: bold;
    text-align: left;
}

.page-node-6433 table a.exhibition-title,
.page-node-6537 table a.exhibition-title {
    font-style: italic;
    display: inline-block;
}

.page-node-6433 table span.description,
.page-node-6537 table span.description {
    font-weight: normal;
    font-size: 0.85em;
    display: block;
    font-style: italic;
}

.page-node-6433 .pricing-grid,
.page-node-6537 .pricing-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.page-node-6433 .price-card,
.page-node-6537 .price-card {
    background-color: #F2F2F2;
    border-radius: 5px;
    border: 1px solid #D4D4D4;
    padding: 1rem;
    width: calc(33% - 1rem);
    display: inline-block;
    position: relative;
    margin: 2rem 0.5rem 2rem 0;
}

.page-node-6433 .price-card:nth-child(3n),
.page-node-6537 .price-card:nth-child(3n) {
    margin-right: 0;
}

.page-node-6433 .promo-info,
.page-node-6537 .promo-info {
    margin: 0 auto;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #7F2083;
}

.page-node-6433 .ex-title,
.page-node-6537 .ex-title {
    text-align: center;
    color: #7F2083;
}

.page-node-6433 .ex-title h4,
.page-node-6537 .ex-title h4 {
    font-size: 1.25rem;
}

.page-node-6433 .ex-title p.mice,
.page-node-6537 .ex-title p.mice {
    font-size: 0.8rem;
    font-style: italic;
    color: black;
}

.page-node-6433 tbody,
.page-node-6537 tbody {
    border-top: none;
}

.page-node-6433 tbody tr,
.page-node-6537 tbody tr {
    background-color: transparent;
}

.page-node-6433 .pricing-table span.mice,
.page-node-6537 .pricing-table span.mice {
    font-size: 0.8rem;
}

.page-node-6433 .ticket-links,
.page-node-6537 .ticket-links {
    text-align: center;
}

.page-node-6433 .ticket-links .member-tickets,
.page-node-6537 .ticket-links .member-tickets {
    margin: 0.25rem 0 0 0;
}

.region-content-aside .awards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.region-content-aside #TA_rated399,
.region-content-aside .ontario-choice-awards {
    max-width: 150px;
    margin: 0 15px 20px 0;
}

.region-content-aside #CDSWIDFRR {
    margin: 0;
}


/*Media Query */

@media only screen and (max-width: 560px) {
    .page-node-6433 .price-card,
    .page-node-6537 .price-card {
        width: 100%;
        margin: 1.5rem 0;
    }
}

@media only screen and (min-width: 768px) {}

@media only screen and (min-width: 1024px) {}

@media only screen and (min-width: 1200px) {}


/************************
* === !Exhibitions & Galleries ===
*************************/


/* landing pages */

.views-field-field-thumbnail a {
    display: block;
}

#block-views-exhibitions-featured .views-row {
    width: 100%;
}

#block-views-exhibitions-featured .views-field-exhibition-title {
    font-size: 1.582em;
    font-style: italic;
}

#block-views-exhibitions-featured .views-field-view-node .btn a {
    background-color: #000;
    color: white !important;
    font-weight: bold;
    padding: 0.4em 0.6em;
    cursor: pointer;
    display: inline-block;
    border: medium none;
    border-radius: 0.1em 0.1em;
    text-align: center;
}

#block-views-exhibitions-featured .views-field-view-node .btn a:hover {
    background-color: #323232;
    text-decoration: none !important;
}

#block-views-a925283f5e0b535c9f267d45edd43114 .view-display-id-block_current_exhibitions,
#block-views-exhibitions-block-1 .view-exhibitions.view-display-id-block_1,
#block-views-exhibitions-block-2 .view-exhibitions.view-display-id-block_2 {
    width: 100%;
}

#block-views-a925283f5e0b535c9f267d45edd43114 .views-row,
#block-views-exhibitions-block-1 .views-row,
#block-views-exhibitions-block-2 .views-row,
#block-views-gallery-galleries .views-row {
    width: 100%;
    height: auto;
    margin-right: 0;
}

#block-views-gallery-galleries .views-row .img-container {
    width: 100% !important;
    height: auto !important;
}

#block-views-gallery-galleries {
    margin-bottom: 2rem;
}

.crumb .museum-level {
    display: none;
}

#block-block-278 {
    margin-bottom: 1em;
}

div.view-id-gallery,
div.view-id-exhibitions {
    margin-bottom: 1em;
}


/* Gallery Pages */

body.page-type-gallery .field-name-field-gallery-image {
    max-width: 100%;
}

body.page-type-gallery .field-type-image {
    float: left;
    margin-right: 10px;
}


/*Media Query */

@media only screen and (min-width: 768px) {
    #block-views-a925283f5e0b535c9f267d45edd43114 .view-content,
    #block-views-exhibitions-block-1 .view-content,
    #block-views-exhibitions-block-2 .view-content,
    #block-views-gallery-galleries .view-content {
        overflow: auto;
    }
    #block-views-a925283f5e0b535c9f267d45edd43114 .views-row,
    #block-views-exhibitions-block-1 .views-row,
    #block-views-exhibitions-block-2 .views-row,
    #block-views-gallery-galleries .views-row {
        width: 32.5%;
        margin-right: 1.25%;
        float: left;
    }
    #block-views-a925283f5e0b535c9f267d45edd43114 .views-row:last-of-type,
    #block-views-exhibitions-block-1 .views-row:last-of-type,
    #block-views-exhibitions-block-2 .views-row:last-of-type,
    #block-views-gallery-galleries .views-row:last-of-type {
        margin-right: 0;
    }
}

@media only screen and (min-width: 850px) {
    #block-views-exhibitions-featured .views-field-field-thumbnail {
        width: 65%;
        float: left;
    }
    #block-views-exhibitions-featured .views-field-exhibition-title,
    #block-views-exhibitions-featured .views-field-field-exhibition-status,
    #block-views-exhibitions-featured .views-field-field-exhibition-tagline,
    #block-views-exhibitions-featured .views-field-view-node {
        width: 33%;
        float: right;
        margin: 0.5rem 0 0 0;
    }
}

@media only screen and (min-width: 1024px) {
    .exhibition-section h4 {
        display: inline-block;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === !Calendar Fixes ===
*************************/

.homepage-block .calendar .block {
    margin: 0;
}

.region-sidebar-second .homepage-block.calendar {
    width: 100%;
    margin: 0 0 1em 0;
    padding: 0;
}

div#block-views-308611b7c6aa8d056b96d19222e3d868,
div#block-block-224 {
    width: 100%;
}

.throbber {
    display: none;
}

#block-block-224 {
    background-color: #ffffff;
    padding: 0;
    border-top: none;
}

.view .date-nav-wrapper .date-nav {
    padding-bottom: 0
}

.calendar .date-nav .pager li.date-prev,
.calendar .date-nav .pager li.date-next {
    padding: 0;
}

.calendar .date-nav .pager li.date-prev {
    right: 60px;
}

.calendar-weekview {
    margin-bottom: 1em;
}

.calendar-calendar div.calendar {
    font-size: inherit;
}


/* !Temporary */

@media only screen and (min-width: 768px) {}

@media only screen and (min-width: 1024px) {
    .event-group .event-item .thumbnail,
    .event-group .event-item .event-info {
        display: inline-block;
        vertical-align: top;
    }
    .event-group .event-item .thumbnail {
        width: 25%;
        margin-right: 10px;
    }
    .event-group .event-item .event-info {
        width: 72%;
    }
    .view-child-events .event-group .event-item .event-info {
        width: 100%;
    }
    .event-group .event-item {
        margin-top: 2em;
    }
    div.view-calendar-search-results .event-item div.title {
        margin-bottom: 1em;
    }
    .calendar-weekview {
        /* width: 960px; */
        width: 1040px;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === !Collections and Research ===
*************************/


/* !Blog */

.view-blog .views-row {
    border-top: 1px solid #7F2083;
}

.view-blog .views-row .img-container {
    width: 100% !important;
}

div.view div.thumbnail img {
    width: auto;
}


/* !magazine */

.image-group {
    vertical-align: top;
}


/* !Staff*/

.article-type-staff div.contact {
    display: none;
}

div#edit-field-last-name-value-wrapper,
div#edit-field-first-name-value-wrapper {
    width: 170px;
}

select#edit-field-department-tid {
    width: 230px;
}

select#edit-field-department-tid option {
    font-size: 0.9em;
}

.view-staff input[type="submit"] {
    height: 38px;
}

.view-staff .controls .views-exposed-widget {
    display: inline-block;
}

.view-staff .controls .container {
    width: auto;
}


/* ROM Books */

.page-node-253 .article-content {
    display: flex;
    flex-wrap: wrap;
}

.page-node-253 .field-collection-view {
    margin: 0;
}

.page-node-253 h1.article-title {
    font-size: 1.5em;
}


/* Research & Community Projects View Pages */

#block-block-74 iframe {
    max-width: 100%;
}

.view-id-research {
    margin-bottom: 2rem;
}

.view-display-id-page_research .research-item,
.view-display-id-page_world .research-item,
.view-display-id-page_natural .research-item,
.view-display-id-page_community .research-item {
    overflow: auto;
    margin-bottom: 1.5rem;
}

.view-display-id-page_research .research-item:last-of-type,
.view-display-id-page_world .research-item:last-of-type,
.view-display-id-page_natural .research-item:last-of-type,
.view-display-id-page_community .research-item:last-of-type {
    margin-bottom: 0;
}

.view-display-id-page_research .research-item .thumbnail,
.view-display-id-page_world .research-item .thumbnail,
.view-display-id-page_natural .research-item .thumbnail,
.view-display-id-page_community .research-item .thumbnail {
    float: left;
    margin-right: 1rem;
}

.view-display-id-page_research .research-item .title p,
.view-display-id-page_world .research-item .title p,
.view-display-id-page_natural .research-item .title p,
.view-display-id-page_community .research-item .title p {
    margin-bottom: 0;
}

.view-display-id-page_research .research-item .curator,
.view-display-id-page_research .research-item .topic,
.view-display-id-page_world .research-item .curator,
.view-display-id-page_world .research-item .topic,
.view-display-id-page_natural .research-item .curator,
.view-display-id-page_natural .research-item .topic,
.view-display-id-page_community .research-item .curator,
.view-display-id-page_community .research-item .topic {
    font-size: 0.9rem;
}

.page-collections-research-research #tasks ul.tabs.primary {
    border-bottom-color: rgba(0, 0, 0, 0.25);
    line-height: 1.5;
}

.page-collections-research-research #tasks ul.tabs.primary li {
    background-color: white;
    cursor: pointer;
    display: inline-block;
    line-height: 1.5;
}

.page-collections-research-research #tasks ul.tabs.primary li a {
    padding: 0.9rem 1.25rem;
    background-color: transparent;
    margin: 0;
    border-color: #000;
    border-width: 2px;
    color: #000;
    position: relative;
    transition: 0.1s ease-in-out;
    line-height: 1.5;
    display: block;
}

.page-collections-research-research #tasks ul.tabs.primary li a::before,
.page-collections-research-research #tasks ul.tabs.primary li a::after {
    content: '';
    display: block;
    height: 4px;
    position: absolute;
    transition: 0.1s ease-in-out;
}

.page-collections-research-research #tasks ul.tabs.primary li a::before {
    background-color: #000;
    left: -2px;
    right: -2px;
    top: -2px;
}

.page-collections-research-research #tasks ul.tabs.primary li a::after {
    background-color: transparent;
    bottom: -1px;
    left: 0.5px;
    right: 0.5px;
}

.page-collections-research-research #tasks ul.tabs.primary li a.active,
.page-collections-research-research #tasks ul.tabs.primary li a:hover {
    position: relative;
    color: #fff;
    background: #000;
    z-index: 1;
    border-bottom: none;
}

.page-collections-research-research #tasks ul.tabs.primary li a.active::before,
.page-collections-research-research #tasks ul.tabs.primary li a:hover::before {
    background-color: #000;
}

.page-collections-research-research #tasks ul.tabs.primary li a.active::after,
.page-collections-research-research #tasks ul.tabs.primary li a:hover::after {
    background-color: transparent;
}


/* Research Project Page */

.page-type-research-project .image-carousel,
.page-type-community-project .field-name-field-lead-image {
    margin-bottom: 2rem;
}

.page-type-research-project .flex-control-nav,
.page-type-community-project .flex-control-nav {
    bottom: 0;
    top: auto;
}


/* Staff & Related Research Projects Sidebar Blocks */

.view-display-id-block_curator .research-project,
.view-id-research.view-display-id-block .research-project {
    margin-bottom: 1.5rem;
}

.view-display-id-block_curator .research-project:last-of-type,
.view-id-research.view-display-id-block .research-project:last-of-type {
    margin-bottom: 0;
}

.view-display-id-block_curator .title p:first-of-type,
.view-id-research.view-display-id-block .title p:first-of-type {
    margin-bottom: 0;
}

.view-display-id-block_curator .title>.field-content {
    font-size: 0.9rem;
}


/* !Gervers Fellowship */

.view-display-id-gervers_fellows .related-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.view-display-id-gervers_fellows .research-project {
    width: 31%;
}

.page-node-23813 .article,
.page-node-23813 .field-name-body .field-item p:last-of-type {
    margin-bottom: 0;
}

#block-views-research-gervers-fellows {
    margin-top: 1em;
}

.page-type-gervers-fellow .flexslider {
    margin-bottom: 40px;
}

.page-type-gervers-fellow .field-name-field-date,
.page-type-gervers-fellow .field-name-field-project-title,
.page-type-gervers-fellow .field-name-field-event-video {
    margin-bottom: 20px;
}

.page-type-gervers-fellow .field.field-name-field-project-title .field-label,
.page-type-gervers-fellow .field-name-field-project-title .field-label-inline .field-items,
.page-type-gervers-fellow .field-name-field-project-title .field-items,
.page-type-gervers-fellow .field-name-field-project-title .field-item,
.page-type-gervers-fellow .field-name-field-project-title p {
    float: none;
    display: inline;
}

.page-type-gervers-fellow .field-name-field-event-video .player {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 2rem;
}

.page-type-gervers-fellow .field-name-field-event-video .player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-type-gervers-fellow .field-name-field-fellow-bio h3,
.page-type-gervers-fellow .field-name-field-publication-citation h3 {
    margin-bottom: 10px;
}


/* Repatriation Page */

.page-node-24151 h3 {
    font-size: 1.25em;
    margin: 0.75em 0 0.25em 0;
}

@media only screen and (min-width: 768px) {
    /* ROM Books */
    .page-node-253 .article-content {
        flex-wrap: nowrap;
    }
    .page-node-253 .book-pic {
        width: 25%;
        margin-right: 15px;
    }
    .page-node-253 .book-info {
        width: 75%;
    }
}

@media all and (max-width: 710px) {
    .page-collections-research-research #tasks ul.tabs.primary {
        border-bottom: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .page-collections-research-research #tasks ul.tabs.primary li {
        margin-bottom: 10px;
        margin-right: 5px;
    }
    .page-collections-research-research #tasks ul.tabs.primary li a {
        border-style: solid;
    }
    .page-collections-research-research #tasks ul.tabs.primary li a.active,
    .page-collections-research-research #tasks ul.tabs.primary li a:hover {
        border: 2px solid #d8d8d8;
    }
    .page-collections-research-research #tasks ul.tabs.primary li a.active::after,
    .page-collections-research-research #tasks ul.tabs.primary li a:hover::after {
        background-color: transparent;
    }
}

@media (max-width: 550px) {
    .view-display-id-page_research .research-item .thumbnail,
    .view-display-id-page_world .research-item .thumbnail,
    .view-display-id-page_natural .research-item .thumbnail,
    .view-display-id-page_community .research-item .thumbnail {
        float: none;
        margin: 0;
    }
    div.view.view-id-research div.thumbnail img {
        width: 100%;
    }
    .view-display-id-gervers_fellows .research-project {
        width: 100%;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === !Learning ===
*************************/


/* Learning landing page */

.page-node-164 .row .item,
.page-node-7033 .row .item {
    vertical-align: bottom;
}


/*!edukits */

div.view-edukits div.event-info {
    margin-bottom: 2em;
}

article.article-edukits- div.field {
    margin-bottom: 20px;
}

div.view-edukits div.title p {
    border-bottom: 1px solid #7f2082;
}


/* edukits form */

div#webform-component-order-information--date input,
div#webform-component-order-information--length-of-loan input,
div#webform-component-order-information--date select,
div#webform-component-order-information--length-of-loan select,
div#webform-component-commande--date input,
div#webform-component-commande--duree-du-pret input,
div#webform-component-commande--date select,
div#webform-component-commande--duree-du-pret select {
    width: auto;
}


/* activities & resources view */

.page-learn #block-block-232 a {
    color: #7f2082;
}

.page-learn #block-block-232 a:hover {
    text-decoration: underline;
}

.page-learn .views-exposed-widgets {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.view-in-gall h3 {
    font-size: 1.25rem;
}

.page-learn #tasks ul.tabs.primary {
    border-bottom-color: rgba(0, 0, 0, 0.25);
    line-height: 1.5;
}

.page-learn #tasks ul.tabs.primary li {
    background-color: white;
    cursor: pointer;
    display: inline-block;
    line-height: 1.5;
}

.page-learn #tasks ul.tabs.primary li a {
    padding: 0.9rem 1.25rem;
    background-color: transparent;
    margin: 0;
    border-color: #000;
    border-width: 2px;
    color: #000;
    position: relative;
    transition: 0.1s ease-in-out;
    line-height: 1.5;
    display: block;
}

.page-learn #tasks ul.tabs.primary li a::before,
.page-learn #tasks ul.tabs.primary li a::after {
    content: '';
    display: block;
    height: 4px;
    position: absolute;
    transition: 0.1s ease-in-out;
}

.page-learn #tasks ul.tabs.primary li a::before {
    background-color: #000;
    left: -2px;
    right: -2px;
    top: -2px;
}

.page-learn #tasks ul.tabs.primary li a::after {
    background-color: transparent;
    bottom: -1px;
    left: 0.5px;
    right: 0.5px;
}

.page-learn #tasks ul.tabs.primary li a.active,
.page-learn #tasks ul.tabs.primary li a:hover {
    position: relative;
    color: #fff;
    background: #000;
    z-index: 1;
    border-bottom: none;
}

.page-learn #tasks ul.tabs.primary li a.active::before,
.page-learn #tasks ul.tabs.primary li a:hover::before {
    background-color: #000;
}

.page-learn #tasks ul.tabs.primary li a.active::after,
.page-learn #tasks ul.tabs.primary li a:hover::after {
    background-color: transparent;
}


/* fix captions on activity pages */

.page-type-gallery-activity .img-container,
.page-type-classroom-activity .img-container,
.page-type-game-jam .img-container,
.page-type-app-tour .img-container,
.page-type-learning-portal-resource .img-container {
    position: static;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%!important;
    height: auto!important;
}

.page-type-gallery-activity span.img-container .img-caption,
.page-type-classroom-activity span.img-container .img-caption,
.page-type-game-jam span.img-container .img-caption,
.page-type-app-tour span.img-container .img-caption,
.page-type-learning-portal-resource span.img-container .img-caption {
    display: block;
    position: static;
    width: 100%;
    color: black;
    font-weight: normal;
    width: 100%;
    margin-top: 0.2em;
    padding: 1em;
    background-color: #f5f5f5;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.page-type-gallery-activity .field-name-field-invitation img,
.page-type-classroom-activity .field-name-field-invitation img,
.page-type-game-jam .field-name-field-invitation img,
.page-type-app-tour .field-name-field-invitation img,
.page-type-learning-portal-resource .field-name-field-invitation img {
    width: 100%!important;
    height: auto!important;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -ms-flex-item-align: start;
    align-self: flex-start;
}


/* teacher profiles */

.page-node-8063 div.types.toggle.teacher-profile,
.page-node-12680 div.types.toggle.teacher-profile {
    margin-bottom: 20px;
}

.page-node-8063 div.teacher-profile-block div.left,
.page-node-12680 div.teacher-profile-block div.left {
    width: 20%;
}

.page-node-8063 div.teacher-profile-block div.right,
.page-node-12680 div.teacher-profile-block div.right {
    width: 75%
}


/*Media Query */

@media only screen and (min-width: 768px) {
    .page-learn-activities .learning-activity .views-row {
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }
    .page-learn-activities .learning-activity .views-row {
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }
    .page-type-classroom-activity .activity-intro,
    .page-type-game-jam .activity-intro,
    .page-type-app-tour .activity-intro,
    .page-type-gallery-activity .activity-intro {
        vertical-align: top;
    }
    .page-type-classroom-activity .activity-intro .left,
    .page-type-game-jam .activity-intro .left,
    .page-type-app-tour .activity-intro .left,
    .page-type-gallery-activity .activity-intro .left {
        display: inline-block;
        width: 30%;
        margin-right: 1em;
        float: none;
        vertical-align: top;
    }
    .page-type-classroom-activity .activity-intro .right,
    .page-type-game-jam .activity-intro .right,
    .page-type-app-tour .activity-intro .right,
    .page-type-gallery-activity .activity-intro .right {
        display: inline-block;
        width: 60%;
        float: none;
    }
    .page-type-classroom-activity .activity-intro .both,
    .page-type-game-jam .activity-intro .both,
    .page-type-app-tour .activity-intro .both,
    .page-type-gallery-activity .activity-intro .both {
        display: block;
        width: 100%;
    }
    .page-learn-activities .learning-activity .views-row {
        width: 33%;
        display: inline-block;
        vertical-align: top;
    }
    div.view-edukits div.event-info .left {
        width: 30%;
    }
    div.view-edukits div.event-info .right {
        width: 68%;
    }
}

@media all and (max-width: 710px) {
    .page-learn #tasks ul.tabs.primary {
        border-bottom: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .page-learn #tasks ul.tabs.primary li {
        margin-bottom: 10px;
        margin-right: 5px;
    }
    .page-learn #tasks ul.tabs.primary li a {
        border-style: solid;
    }
    .page-learn #tasks ul.tabs.primary li a.active,
    .page-learn #tasks ul.tabs.primary li a:hover {
        border: 2px solid #d8d8d8;
    }
    .page-learn #tasks ul.tabs.primary li a.active::after,
    .page-learn #tasks ul.tabs.primary li a:hover::after {
        background-color: transparent;
    }
}

@media only screen and (max-device-width: 480px) {
    .page-node-8063 div.teacher-profile-block div.left {
        width: 100%;
    }
    .page-node-8063 div.teacher-profile-block div.right {
        width: 100%;
    }
}

@media only screen and (min-width: 1024px) {}

@media only screen and (min-width: 1200px) {}


/************************
* === !Support Us ===
*************************/

.menu-block-1 ul li a {
    font-size: 0.8em;
    color: black;
    width: 100%;
    display: block;
}

.menu-block-1>ul>li {
    border-bottom: 1px solid black;
}

.menu-block-1 ul li {
    list-style-image: url(../../misc/menu-collapsed.png) !important;
}

.menu-block-1 ul li.leaf {
    list-style-type: disc;
}

.menu-block-1>ul>li li.leaf,
.menu-block-1>ul>li li {
    list-style: none;
}

.menu-block-1>ul>li li.leaf a,
.menu-block-1>ul>li li a {
    font-weight: lighter;
}

@media only screen and (min-width: 768px) {
    #block-block-26 .portrait {
        width: 28%;
    }
    #block-block-26 .right {
        width: 72%;
    }
}

@media only screen and (min-width: 1024px) {}

@media only screen and (min-width: 1200px) {}


/************************
* === !Join Us ===
*************************/

@media only screen and (min-width: 768px) {}

@media only screen and (min-width: 1024px) {
    body.section-join-us div#tabs-1 div {
        width: 48%;
        margin-right: 10px;
        display: inline-block;
        vertical-align: top;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === !About Us ===
*************************/

ul.boardList li,
ul.boardList {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.boardList li {
    display: inline-block;
    vertical-align: top;
    width: 110px;
    margin-bottom: 0.8em;
}


/*!Media Center */

.view.fullwidth .item {
    width: 100%;
    clear: both;
    margin-bottom: 1em;
}


/*Media Query */

@media only screen and (min-width: 768px) {
    ul.boardList li {
        display: inline-block;
        vertical-align: top;
        width: 130px;
        font-size: 0.8em;
        padding: 0.8em;
    }
    #views-exposed-form-press-releases-page-by-year .views-exposed-form,
    #edit-date-filter-wrapper .views-widget {
        float: left;
    }
    #gallery-login label,
    .image-gallery-row .image,
    .image-gallery-row .info {
        float: left;
    }
    .image-gallery-row .image {
        margin-right: 10px;
    }
    .image-gallery-row .download-link {
        float: right;
    }
}

@media only screen and (min-width: 1024px) {}

@media only screen and (min-width: 1200px) {}


/************************
* === !MD Megamenu ===
*************************/

div.awemenu-mobile-standard ul.awemenu {
    overflow: inherit;
}

#md-megamenu-1 .awemenu-submenu,
#md-megamenu-2 .awemenu-submenu {
    border-top: 2px solid black;
    border-bottom: 4px solid black;
}

#md-megamenu-1 .awemenu-item-level-1>a,
#md-megamenu-1 .awemenu-item-level-1>a:link,
#md-megamenu-2 .awemenu-item-level-1>a,
#md-megamenu-2 .awemenu-item-level-1>a:link {
    box-shadow: none;
    font-size: 16px;
}


/*MD Megamenu style hack */

.md-style2 {
    background-color: white;
    border-bottom: none;
    border-top: none;
}

.md-style2.awemenu-standard .awemenu>.awemenu-item>a,
.md-style2.awemenu-top .awemenu>.awemenu-item>a,
.md-style2.awemenu-bottom .awemenu>.awemenu-item>a,
.md-style2.awemenu-left .awemenu>.awemenu-item>a,
.md-style2.awemenu-right .awemenu>.awemenu-item>a,
.md-style2.awemenu-outleft .awemenu>.awemenu-item>a,
.md-style2.awemenu-outright .awemenu>.awemenu-item>a {
    text-transform: uppercase;
    color: #000;
    line-height: 40px;
    border-top: none;
    border-bottom: 3px solid transparent;
    padding: 0 12px;
    font-weight: bold;
    font-size: 28px;
}

#md-megamenu-2.md-style2.awemenu-standard .awemenu>.awemenu-item>a,
#md-megamenu-2.md-style2.awemenu-top .awemenu>.awemenu-item>a,
#md-megamenu-2.md-style2.awemenu-bottom .awemenu>.awemenu-item>a,
#md-megamenu-2.md-style2.awemenu-left .awemenu>.awemenu-item>a,
#md-megamenu-2.md-style2.awemenu-right .awemenu>.awemenu-item>a,
#md-megamenu-2.md-style2.awemenu-outleft .awemenu>.awemenu-item>a,
#md-megamenu-2.md-style2.awemenu-outright .awemenu>.awemenu-item>a {
    padding: 0 6px;
}

#md-megamenu-2 .awemenu-item-level-1>a,
#md-megamenu-2 .awemenu-item-level-1>a:link {
    font-size: 14px;
}

.md-style2.awemenu-standard .awemenu>.awemenu-item.awemenu-active>a,
.md-style2.awemenu-top .awemenu>.awemenu-item.awemenu-active>a,
.md-style2.awemenu-bottom .awemenu>.awemenu-item.awemenu-active>a,
.md-style2.awemenu-left .awemenu>.awemenu-item.awemenu-active>a,
.md-style2.awemenu-right .awemenu>.awemenu-item.awemenu-active>a,
.md-style2.awemenu-outleft .awemenu>.awemenu-item.awemenu-active>a,
.md-style2.awemenu-outright .awemenu>.awemenu-item.awemenu-active>a,
.md-style2.awemenu-standard .awemenu>.awemenu-item:hover>a,
.md-style2.awemenu-top .awemenu>.awemenu-item:hover>a,
.md-style2.awemenu-bottom .awemenu>.awemenu-item:hover>a,
.md-style2.awemenu-left .awemenu>.awemenu-item:hover>a,
.md-style2.awemenu-right .awemenu>.awemenu-item:hover>a,
.md-style2.awemenu-outleft .awemenu>.awemenu-item:hover>a,
.md-style2.awemenu-outright .awemenu>.awemenu-item:hover>a {
    background-color: #fff;
    color: #000;
    border-bottom-color: #000;
}

.md-style2.awemenu-standard .awemenu .awemenu-item.awemenu-active-trail>a {
    border-bottom: 3px solid #000;
}

.md-style2.awemenu-standard .awemenu>.awemenu-item.awemenu-active-trail>a,
.md-style2.awemenu-top .awemenu>.awemenu-item.awemenu-active-trail>a,
.md-style2.awemenu-bottom .awemenu>.awemenu-item.awemenu-active-trail>a,
.md-style2.awemenu-left .awemenu>.awemenu-item.awemenu-active-trail>a,
.md-style2.awemenu-right .awemenu>.awemenu-item.awemenu-active-trail>a,
.md-style2.awemenu-outleft .awemenu>.awemenu-item.awemenu-active-trail>a,
.md-style2.awemenu-outright .awemenu>.awemenu-item.awemenu-active-trail>a {
    color: #000;
    font-weight: bold;
}

.md-mobile-style2.awemenu-mobile-standard,
.md-mobile-style2.awemenu-mobile-top,
.md-mobile-style2.awemenu-mobile-bottom,
.md-mobile-style2.awemenu-mobile-outleft,
.md-mobile-style2.awemenu-mobile-outright {
    background-color: #000;
    border-bottom: 3px solid #7F2083;
}

.md-mobile-style2.awemenu-mobile-standard .awemenu,
.md-mobile-style2.awemenu-mobile-top .awemenu,
.md-mobile-style2.awemenu-mobile-bottom .awemenu,
.md-mobile-style2.awemenu-mobile-outleft .awemenu,
.md-mobile-style2.awemenu-mobile-outright .awemenu {
    background-color: #000;
    border-bottom: 3px solid #7F2083;
}

.md-mobile-style2.awemenu-mobile-standard .awemenu .awemenu-item.awemenu-active-trail>a,
.md-mobile-style2.awemenu-mobile-top .awemenu .awemenu-item.awemenu-active-trail>a,
.md-mobile-style2.awemenu-mobile-bottom .awemenu .awemenu-item.awemenu-active-trail>a,
.md-mobile-style2.awemenu-mobile-outleft .awemenu .awemenu-item.awemenu-active-trail>a,
.md-mobile-style2.awemenu-mobile-outright .awemenu .awemenu-item.awemenu-active-trail>a {
    color: #7F2083;
}

.md-mobile-style2.awemenu-mobile-standard .awemenu .awemenu-submenu .awemenu-item:hover>a,
.md-mobile-style2.awemenu-mobile-top .awemenu .awemenu-submenu .awemenu-item:hover>a,
.md-mobile-style2.awemenu-mobile-bottom .awemenu .awemenu-submenu .awemenu-item:hover>a,
.md-mobile-style2.awemenu-mobile-outleft .awemenu .awemenu-submenu .awemenu-item:hover>a,
.md-mobile-style2.awemenu-mobile-outright .awemenu .awemenu-submenu .awemenu-item:hover>a,
.md-mobile-style2.awemenu-mobile-standard .awemenu .awemenu-submenu .awemenu-item.awemenu-active>a,
.md-mobile-style2.awemenu-mobile-top .awemenu .awemenu-submenu .awemenu-item.awemenu-active>a,
.md-mobile-style2.awemenu-mobile-bottom .awemenu .awemenu-submenu .awemenu-item.awemenu-active>a,
.md-mobile-style2.awemenu-mobile-outleft .awemenu .awemenu-submenu .awemenu-item.awemenu-active>a,
.md-mobile-style2.awemenu-mobile-outright .awemenu .awemenu-submenu .awemenu-item.awemenu-active>a,
.md-mobile-style2.awemenu-mobile-standard .awemenu .awemenu-submenu .awemenu-item.awemenu-active-trai>a,
.md-mobile-style2.awemenu-mobile-top .awemenu .awemenu-submenu .awemenu-item.awemenu-active-trai>a,
.md-mobile-style2.awemenu-mobile-bottom .awemenu .awemenu-submenu .awemenu-item.awemenu-active-trai>a,
.md-mobile-style2.awemenu-mobile-outleft .awemenu .awemenu-submenu .awemenu-item.awemenu-active-trai>a,
.md-mobile-style2.awemenu-mobile-outright .awemenu .awemenu-submenu .awemenu-item.awemenu-active-trai>a {
    color: #7F2083;
}

.md-mobile-style2.awemenu-mobile-standard .awemenu .awemenu-item>a,
.md-mobile-style2.awemenu-mobile-top .awemenu .awemenu-item>a,
.md-mobile-style2.awemenu-mobile-bottom .awemenu .awemenu-item>a,
.md-mobile-style2.awemenu-mobile-outleft .awemenu .awemenu-item>a,
.md-mobile-style2.awemenu-mobile-outright .awemenu .awemenu-item>a {
    color: #000 !important;
}

#md-megamenu-1.md-horizontal-menu ul.awemenu,
#md-megamenu-1.md-vertical-menu ul.awemenu,
#md-megamenu-2.md-horizontal-menu ul.awemenu,
#md-megamenu-2.md-vertical-menu ul.awemenu {
    border-bottom: none;
}


/*** Sub Menu ****/

ul.awemenu-submenu.awemenu-megamenu {
    left: 0 !important;
}

#md-megamenu-1 .awemenu-submenu a,
#md-megamenu-1 .awemenu-submenu a:link,
#md-megamenu-2 .awemenu-submenu a,
#md-megamenu-2 .awemenu-submenu a:link {
    font-size: 19px;
    line-height: 32px;
    left: 0px !important;
    font-weight: inherit;
}

#md-megamenu-2 .awemenu-submenu a,
#md-megamenu-2 .awemenu-submenu a:link {
    font-size: 16px;
}

#md-megamenu-1 .awemenu-submenu a:hover,
#md-megamenu-2 .awemenu-submenu a:hover {
    font-weight: bold;
}

.awemenu-nav .awemenu-megamenu-wrapper .mm-header {
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid #7F2083;
    display: inline-block;
    line-height: 1.5;
}

.awemenu-standard .awemenu>.awemenu-item .awemenu-submenu .awemenu-item {
    display: block;
    width: 100%;
}

.col-md-4 {
    padding: 0;
}

[class^="amm-"],
[class*=" amm-"] {
    font-size: 40px;
}

.md-mobile-style2 .awemenu-bars {
    padding: 10px 15px;
}

.md-mobile-style2.awemenu-mobile-standard .awemenu .awemenu-item>a {
    padding: 10px 14px 10px 20px;
}


/****Responsive Menu Hack ****/

.awemenu-mobile .awemenu {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/*Media Query */

@media only screen and (min-width: 768px) {}

@media only screen and (min-width: 1024px) {
    #md-megamenu-1,
    #md-megamenu-2 {
        /* width: 960px; */
        width: 1040px;
        margin: 0 auto;
        padding-top: 10px;
    }
    #block-md-megamenu-1,
    #block-md-megamenu-2 {
        border-top: 1px solid black;
        border-bottom: 2px solid black;
    }
    div.awemenu-sticky .awemenu-container {
        border-top: 1px solid black;
        border-bottom: 2px solid black;
    }
}

@media only screen and (min-width: 1200px) {}


/************************
* === Float Left & Right REMOVE LATER ===
*************************/

.primary-menu .activities-column,
.primary-menu .activities-column .views-row,
.primary-menu .activities-column .views-field-field-session-date,
.primary-menu .activities-column .views-field-title,
.primary-menu .collections .delta-1 a {
    float: left;
}


/*Blog*/

.blog-about-staff img,
.blog-post .categories-comments div.field-content {
    float: left;
}


/*Exhibitions & Galleries&*/

#block-system-main .view-display-id-page_1,
#block-system-main .view-display-id-page_1 .views-field-title .more-link,
#block-system-main .view-display-id-page_1 .views-field-title .more-link a,
.view-display-id-page_current_exhibitions,
.view-id-exhibitions,
.view-display-id-page_current_exhibitions .more-link a,
.view-id-centre .view-display-id-page_1 .more-link a,
.view-id-exhibitions .more-link a,
.view-id-gallery .more-link a,
#block-block-12 a.more {
    float: left;
}


/*Event Pages*/

.page-type-event #event-types .event-types-inner {
    float: left;
}


/*Teacher and Chaperone Guide*/

.museum_rule img,
.museum_rule_text {
    float: left;
}


/*Exploreres Club*/

#block-system-main .view-display-id-activities,
#block-system-main .view-display-id-cool_facts,
#block-system-main .view-display-id-meet_experts,
#block-system-main .view-display-id-activities .views-row {
    float: left;
}


/*Homepage Feature Block*/


/*Govs*/

article.article-patron-groups div.member-wrapper div.left,
article.article-patron-groups div.field-name-field-patron-highlights div.item,
article.article-patron-groups div.field-name-field-patron-committee div.list {
    float: left;
}

.region-header,
.blog-post .share-button {
    float: right;
}


/*********
!Temporary
**********/


/* Cancelling out stupid CSS from other CSS files */

.region-help,
.messages,
#primary-nav,
#secondary-nav,
#breadcrumb,
#main-content>header,
#branding,
#attribution,
.block-inner {
    margin: 0;
}


/*!Governors */

#block-block-27 .content .item {
    float: left;
    width: calc(50% - 5px);
    margin-right: 10px;
}

#block-block-27 .content .item:nth-child(2n) {
    margin-right: 0;
}

#block-block-27 .content img {
    width: 100%;
    height: auto;
}

article.article-patron-groups h2 {
    font-size: 22px;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}

#main-content #content a.btn.member-link.first {
    font-size: 1.5em;
    margin-top: 20px;
    display: inline-block;
}

article.article-patron-groups div.field-name-field-patron-group div.sns-icons a {
    display: inline-block;
    width: 35px;
    margin-right: 10px;
}

#page article.article-patron-groups div.sns-icons {
    margin-bottom: 10px;
}

#page article.article-patron-groups div.sns-icons a>img {
    width: 35px;
    margin-right: 10px;
}

article.article-patron-groups div.field-name-field-patron-group p,
article.article-patron-groups div.field-name-field-patron-events p {
    font-size: 18px;
}

article.article-patron-groups div.field-name-field-patron-committee div.sns-icons a {
    display: inline-block;
    width: 25px;
    margin-right: 10px;
}

article.article-patron-groups div.member-wrapper,
article.article-patron-groups div.field {
    clear: both;
    overflow: auto;
}

article.article-patron-groups div.field h2:first-child {
    margin-top: 20px;
}

article.article-patron-groups div.member-wrapper div.left {
    float: left;
    padding: 10px;
}

article.article-patron-groups div.member-wrapper div.right {
    width: 65%;
    padding: 10px;
}

article.article-patron-groups div.member-wrapper:nth-child(even) {
    background-color: #efefef;
}

article.article-patron-groups div.field-name-field-chair-letter .portrait {
    width: 25%;
    float: left;
}

article.article-patron-groups div.field-name-field-chair-letter .message {
    width: 71%;
    float: right;
}

article.article-patron-groups div.field-name-field-patron-highlights div.item {
    width: 32%;
    float: left;
    margin-right: 10px;
    position: relative;
}

article.article-patron-groups div.field-collection-item-field-gov-patron-highlight article.article-patron-groups div.field-name-field-ypc-highlights div.item img {
    width: 100%;
    padding-top: 10px;
}

article.article-patron-groups div.field-collection-item-field-gov-patron-highlight a {
    margin-bottom: 10px;
    font-size: 1.85em;
    line-height: 1.25;
    color: #000000!important;
}

article.article-patron-groups div.field-collection-item-field-gov-patron-highlight a:hover {
    color: #000000!important;
}

article.article-patron-groups div.field-collection-item-field-gov-patron-highlight p {
    font-size: 15px;
    line-height: 20px;
}

article.article-patron-groups div.field-name-field-patron-committee ul {
    list-style: none;
    margin: 0;
    margin-bottom: 20px;
}

article.article-patron-groups div.field-name-field-patron-committee div.list {
    width: 50%;
    float: left;
}

article.article-patron-groups div.field-name-field-upcoming-events div.field-collection-view {
    border-bottom: 0;
}

article.article-patron-groups div.field-name-field-upcoming-events div.field-name-field-event-title {
    font-size: 15px;
    font-weight: bold;
}


/* !Collections */

article#article-21721 .left,
article#article-21721 .right,
article#article-21722 .left,
article#article-21722 .right {
    width: 49%;
}

article#article-21721 h3,
article#article-21722 h3 {
    margin-bottom: 0;
}

article#article-21721 ul,
article#article-21722 ul {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

article#article-21721 ul li,
article#article-21722 ul li {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 15px;
    width: 100%;
    vertical-align: top;
}

article#article-21721 ul li img,
article#article-21722 ul li img {
    width: 100%;
}

.view-id-research.featured-research-projects .related-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.view-id-research.featured-research-projects .related-content .research-project {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 20%;
    flex: 1 0 20%;
    margin-right: 15px;
}

.view-id-research.featured-research-projects .related-content .research-project:last-of-type {
    margin-right: 0;
}

.view-id-research.featured-research-projects .related-content .thumbnail img {
    width: 100%;
}

.view-id-research.featured-research-projects .view-footer .wrapper {
    width: 100%;
    height: 150px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 50px 0;
}

.view-id-research.featured-research-projects .view-footer .wrapper h3 {
    background-color: #fff;
    padding: 20px;
}

.view-display-id-ac_featured_research_projects .view-footer .wrapper {
    background-image: url('/sites/default/files/collectionpages/collections_nh_online.png');
    background-size: cover;
}

.view-display-id-nh_featured_research_projects .view-footer .wrapper {
    background-image: url('/sites/default/files/collectionpages/collections_ac_online.png');
    background-size: cover;
}

@media only screen and (min-width: 1024px) {
    article#article-21721 ul li,
    article#article-21722 ul li {
        width: 31.2%;
        margin-right: 12px;
    }
}

@media (max-width: 550px) {
    .view-id-research.featured-research-projects .related-content {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .view-id-research.featured-research-projects .related-content .research-project {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        margin-right: 0;
    }
}


/************************
* === !Membership ===
*************************/


/* Membership landing page */

.page-node-4109 .row .item,
.page-node-6252 .row .item {
    vertical-align: bottom;
}


/* Membership Join Landing Page */

.page-node-15274 .membership-options,
.page-node-15362 .membership-options {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.page-node-15274 .membership-option,
.page-node-15362 .membership-option {
    width: 32%;
    margin: 0 2% 1.25em 0;
}

.page-node-15274 .membership-option:nth-child(3n),
.page-node-15362 .membership-option:nth-child(3n) {
    margin-right: 0;
}

.page-node-15274 a.btn.member-link,
.page-node-15362 a.btn.member-link {
    background-color: white!important;
    border: 2px solid #000!important;
    color: #000!important;
    margin-top: 8px;
}

.page-node-15274 a.btn.member-link:hover,
.page-node-15362 a.btn.member-link:hover {
    border: 2px solid #000!important;
    color: #000!important;
}

.page-node-15274 a.btn.member-link:first-child,
.page-node-15362 a.btn.member-link:first-child {
    background-color: #000!important;
    color: white!important
}

.page-node-15274 a.btn.member-link:first-child:hover,
.page-node-15362 a.btn.member-link:first-child:hover {
    background-color: #323232!important;
    color: white!important
}

.page-node-15274 sup,
.page-node-15362 sup,
.page-type-membership sup {
    vertical-align: top;
    font-size: 0.7em;
    position: relative;
    top: -0.5em;
}

@media (max-width: 812px) {
    .page-node-15274 .membership-option,
    .page-node-15362 .membership-option {
        width: 100%;
    }
}


/* Individual Pricing Pages */

.page-type-membership .field-type-entityreference h1.article-title,
.page-type-membership div.authorInfo {
    display: none;
}

.page-type-membership .field-name-field-intro-text,
.page-type-membership .field-group-div.group-core-content,
.page-type-membership .field-name-field-legal-text {
    margin-top: 2em;
}

.page-type-membership .group-list-form {
    display: flex;
    flex-wrap: wrap;
}

.page-type-membership .field-name-body {
    width: 63%;
    margin-right: 2%;
}

.page-type-membership .field-name-field-form {
    width: 35%;
}

.page-type-membership .field-name-body h2 {
    border-bottom: 1px solid #7f2082;
    font-size: 2em;
    margin: 1em 0 0.3em 0;
}

.page-type-membership .form-item-submitted-discount-options {
    display: flex;
    align-items: center;
}

.page-type-membership input {
    width: auto!important;
}

.page-type-membership label.option {
    margin-left: 10px;
}

.page-type-membership label[for=edit-submitted-discount-options-members],
.page-type-membership label[for=edit-submitted-discount-options-friend] {
    font-weight: bold;
}

.page-type-membership fieldset#webform-component-dual-group {
    border: none;
    margin: 0;
    padding: 0;
}

.page-type-membership #webform-component-discount-note p {
    font-size: 0.8em;
    margin: 2em 0;
}

.page-type-membership .field-name-field-legal-text p {
    font-size: 0.8em;
    font-style: italic;
}

@media (max-width: 812px) {
    .page-type-membership .field-name-body,
    .page-type-membership .field-name-field-form {
        width: 100%;
        margin: 0;
    }
}


/* FAQ Page */

.page-node-22373 td,
.page-node-22374 td {
    width: 33.33%;
}

.page-node-22373 th,
.page-node-22374 th {
    text-align: center;
}

.page-node-22373 td.notes,
.page-node-22374 td.notes {
    text-align: center;
    vertical-align: middle;
}

.page-node-22373 td.border-bottom,
.page-node-22374 td.border-bottom {
    border-bottom: 1px solid #bfbeb6;
}

.page-node-22373 td.border-right,
.page-node-22374 td.border-right {
    border-right: 1px solid #bfbeb6;
}

.page-node-22373 div.authorInfo,
.page-node-22374 div.authorInfo {
    display: none;
}

@media (max-width: 812px) {
    .page-node-15274 .membership-option,
    .page-node-15362 .membership-option {
        width: 100%;
    }
}


/* Membership voting page */

.page-node-23044 div.info-box,
.page-node-23125 div.info-box,
.page-node-23240 div.info-box,
.page-node-23250 div.info-box {
    background: #ececec;
    border-radius: 8px;
    padding: 25px;
}

.page-node-23044 div.info-box p:last-child,
.page-node-23125 div.info-box p:last-child,
.page-node-23240 div.info-box p:last-child,
.page-node-23250 div.info-box p:last-child {
    margin: 0;
}

.page-node-23044 hr,
.page-node-23125 hr,
.page-node-23240 hr,
.page-node-23250 hr {
    display: block;
    border-bottom: 0.25px solid #7f2082;
    margin: 2em 0;
}

.page-node-23044 h3,
.page-node-23044 h4,
.page-node-23125 h3,
.page-node-23125 h4,
.page-node-23240 h3,
.page-node-23240 h4,
.page-node-23250 h3,
.page-node-23250 h4 {
    margin-bottom: 0.3em;
}

.page-node-23044 div#main-content ol,
.page-node-23125 div#main-content ol,
.page-node-23240 div#main-content ol,
.page-node-23250 div#main-content ol {
    list-style: decimal;
    margin: 40px;
}

.page-node-23044 div#main-content ol li,
.page-node-23125 div#main-content ol li,
.page-node-23240 div#main-content ol li,
.page-node-23250 div#main-content ol li {
    padding-left: 10px;
    padding-bottom: 5px;
}

.page-node-23044 div#main-content ul li,
.page-node-23125 div#main-content ul li,
.page-node-23240 div#main-content ul li,
.page-node-23250 div#main-content ul li {
    padding-bottom: 5px;
}

.page-node-23125 sup,
.page-node-23250 sup {
    line-height: 1;
}


/* !emuseum */

.page-node-17625 .ui-widget-content .ui-state-default {
    background: transparent;
}

#webform-client-form-17625 .form-item.webform-component {
    width: 100%;
    float: left;
}

#webform-client-form-17625 .form-item.webform-component-textarea {
    z-index: 10;
}

#edit-submitted-product-information-product-use .form-type-radio {
    width: 50%;
    float: left;
}


/* COVID VISITOR GUIDELINES PAGE + PRE-TICKET PURCHASE PAGES */

.page-node-1149 div.reopening-guidelines,
.page-node-6544 div.reopening-guidelines,
#block-block-299.what-you-need-to-know div.reopening-guidelines {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin-top: 1.5rem;
}

.page-node-1149 div.reopening-guideline,
.page-node-6544 div.reopening-guideline,
#block-block-299.what-you-need-to-know div.reopening-guideline {
    margin-bottom: 1.5rem;
}

.page-node-1149 div.reopening-guideline p,
.page-node-6544 div.reopening-guideline p,
#block-block-299.what-you-need-to-know div.reopening-guideline p {
    margin-bottom: 0;
}

.page-node-1149 span.guideline-icon,
.page-node-6544 span.guideline-icon,
#block-block-299.what-you-need-to-know span.guideline-icon {
    width: 50%;
    margin: 0 auto;
    display: block;
    width: 80px;
    height: 80px;
    position: relative;
}

.page-node-1149 span.guideline-icon::before,
.page-node-6544 span.guideline-icon::before,
#block-block-299.what-you-need-to-know span.guideline-icon::before {
    content: '';
    height: auto;
    width: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.page-node-1149 span.guideline-icon.tickets::before,
.page-node-6544 span.guideline-icon.tickets::before,
#block-block-299.what-you-need-to-know span.guideline-icon.tickets::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/icons/ROM_WelcomeBackIcons_tickets-dark.svg');
}

.page-node-1149 span.guideline-icon.mask::before,
.page-node-6544 span.guideline-icon.mask::before,
#block-block-299.what-you-need-to-know span.guideline-icon.mask::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/icons/ROM_WelcomeBackIcons_mask-dark.svg');
}

.page-node-1149 span.guideline-icon.sanitizer::before,
.page-node-6544 span.guideline-icon.sanitizer::before,
#block-block-299.what-you-need-to-know span.guideline-icon.sanitizer::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/icons/ROM_WelcomeBackIcons_sanitizer-dark.svg');
}

.page-node-1149 span.guideline-icon.distancing::before,
.page-node-6544 span.guideline-icon.distancing::before,
#block-block-299.what-you-need-to-know span.guideline-icon.distancing::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/ROM_WelcomeBackIcons_distancing.svg');
}

.page-node-1149 span.guideline-icon.distancing-lines::before,
.page-node-6544 span.guideline-icon.distancing-lines::before,
#block-block-299.what-you-need-to-know span.guideline-icon.distancing-lines::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/ROM_WelcomeBackIcons_distancing-lines.svg');
}

.page-node-1149 span.guideline-icon.calendar::before,
.page-node-6544 span.guideline-icon.calendar::before,
#block-block-299.what-you-need-to-know span.guideline-icon.calendar::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/icons/ROM_WelcomeBackIcons_calendar-dark.svg');
}

.page-node-1149 span.guideline-icon.paths::before,
.page-node-6544 span.guideline-icon.paths::before,
#block-block-299.what-you-need-to-know span.guideline-icon.paths::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/ROM_WelcomeBackIcons_paths.svg');
}

.page-node-1149 span.guideline-icon.map-en::before,
.page-node-6544 span.guideline-icon.map-en::before,
#block-block-299.what-you-need-to-know span.guideline-icon.map-en::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/icons/ROM_WelcomeBackIcons_map-en-dark.svg');
}

.page-node-1149 span.guideline-icon.map-fr::before,
.page-node-6544 span.guideline-icon.map-fr::before,
#block-block-299.what-you-need-to-know span.guideline-icon.map-fr::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/ROM_WelcomeBackIcons_map-fr.svg');
}

.page-node-1149 span.guideline-icon.vaccine::before,
.page-node-6544 span.guideline-icon.vaccine::before,
#block-block-299.what-you-need-to-know span.guideline-icon.tickets::before {
    background-image: url('https://www.rom.on.ca/sites/default/files/imce/icons/ROM_WelcomeBackIcons_vaccine-dark.svg');
}

@media (max-width: 550px) {
    .page-node-1149 div.reopening-guidelines,
    .page-node-6544 div.reopening-guidelines,
    #block-block-299.what-you-need-to-know div.reopening-guidelines {
        -ms-grid-columns: 1fr 10px 1fr;
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ANTI-RACISM PAGE */

.page-node-23372 article,
.page-node-23418 article {
    margin-bottom: 0;
}

.page-node-23372 .statement-box,
.page-node-23418 .statement-box {
    background: #dfc9e0;
    padding: 20px 30px;
    margin: 20px 0;
    border: 2px solid #7f2082;
}

.page-node-23372 .statement-box p,
.page-node-23418 .statement-box p {
    margin: 0;
}

.page-node-23372 figure.section-image,
.page-node-23418 figure.section-image {
    margin: 2rem 0;
}

.page-node-23372 figure.section-image:first-of-type,
.page-node-23418 figure.section-image:first-of-type {
    margin-top: 0;
}

.page-node-23372 figure.section-image br,
.page-node-23418 figure.section-image br {
    display: none;
}

.page-node-23372 figure.section-image figcaption,
.page-node-23418 figure.section-image figcaption {
    margin-top: 0.2em;
    padding: 1em;
    background-color: #f5f5f5;
    font-size: 0.85em;
}

.page-node-23372 #work-so-far+.section.types.toggleNew .row:last-of-type,
.page-node-23418 #work-so-far+.section.types.toggleNew .row:last-of-type {
    margin: 1em 0;
}

@media only screen and (max-width: 768px) {
    .page-node-23372 .row,
    .page-node-23418 .row {
        margin-bottom: 1em;
    }
    .page-node-23372 figure.section-image figcaption,
    .page-node-23418 figure.section-image figcaption {
        font-size: 0.75em;
    }
}


/* UNPRECEDENTED / #MYPANDEMICSTORY SUBMISSIONS PAGE */

.page-node-23852 #main-content,
.page-node-23857 #main-content {
    margin-bottom: 2rem;
}


/* typography */

.page-node-23852 p.tagline,
.page-node-23857 p.tagline {
    font-size: 1.25rem;
    font-weight: bold;
}

.page-node-23852 p.tagline span.italic,
.page-node-23857 p.tagline span.italic {
    font-style: italic;
}

.page-node-23852 #main-content h2,
.page-node-23857 #main-content h2 {
    border-bottom: 1px solid #7f2082;
    margin-top: 1em;
}

.page-node-23852 p.deadline,
.page-node-23857 p.deadline {
    font-size: 1.15rem;
    font-weight: bold;
}

#cr__83fcea79c941e397 button.loadMore,
#cr__76dfe3a1 button.loadMore {
    background-color: #323232 !important;
}

#cr__83fcea79c941e397 button.loadMore:hover,
#cr__83fcea79c941e397 button.loadMore:active,
#cr__83fcea79c941e397 button.loadMore:focus,
#cr__83fcea79c941e397 button.loadMore:focus-visible,
#cr__83fcea79c941e397 button.loadMore:focus-within,
#cr__76dfe3a1 button.loadMore:hover,
#cr__76dfe3a1 button.loadMore:active,
#cr__76dfe3a1 button.loadMore:focus,
#cr__76dfe3a1 button.loadMore:focus-visible,
#cr__76dfe3a1 button.loadMore:focus-within {
    background-color: #fff !important;
    color: #000 !important;
}


/* hero video */

.page-node-23852 .hero-video,
.page-node-23857 .hero-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 2rem;
}

.page-node-23852 .hero-video iframe,
.page-node-23857 .hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* submissions carousel block */

.page-node-23852 #block-nodeblock-23868,
.page-node-23857 #block-nodeblock-23892 {
    margin: 2rem 0;
}

.page-node-23852 #block-nodeblock-23868 h3,
.page-node-23857 #block-nodeblock-23892 h3 {
    font-size: 1.35em;
}

.page-node-23852 #block-nodeblock-23868 p.image-credit,
.page-node-23857 #block-nodeblock-23892 p.image-credit {
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 0;
}

.page-node-23852 #block-nodeblock-23868 .article,
.page-node-23857 #block-nodeblock-23892 .article {
    margin-bottom: 0;
}

@media only screen and (min-width: 1024px) {
    .page-node-23852 #block-nodeblock-23868 .flex-direction-nav a,
    .page-node-23857 #block-nodeblock-23892 .flex-direction-nav a {
        top: 15rem;
    }
}

@media only screen and (max-width: 475px) {
    .flex-direction-nav a {
        top: 25%;
    }
}

@media only screen and (max-width: 400px) {
    .page-node-23852 h1#page-title,
    .page-node-23857 h1#page-title {
        font-size: 9.75vw;
    }
    .flex-direction-nav a {
        top: 20%;
    }
}


/* MISC */

.govs {
    border-color: #000 !important;
}


/* Widths */

.w-20 {
    width: 20%;
}


/*.special-section {
    margin-bottom: 15px;
    border-bottom: solid 1px rgba(0,0,0, 0.25);
    padding-bottom: 15px;
}

.closure-info {
    font-weight: bold;
    font-size: 0.94rem;
}
.closure-info a {
    color: #7F2083;
}

.closure-info a:hover,
.closure-info a:focus {
    text-decoration: underline;
}*/