 /* Site colours and Styles

IIGR Dark Blue: #11335d
IIGR Yellow: #fabe0b
IIGR Red: #710000
*/

/* Main Menu Styles */

@media (min-width: 992px) {
nav .faculty-department {
    background-color: #fff;
}
nav .faculty-department {
    margin-top: 0.75rem;
    padding: 0.75rem 0;
  }
 nav .faculty-department>.container h5 a {
    color: #11335d;
    font-size: 2.1rem;
    font-weight: 500;
  }
body.hidden-page-title nav.navbar .faculty-department h1 a {
    color: #11335d;
    font-size: 2.1rem;
    font-weight: 500;
  }
 nav .faculty-department>.container h5 a:hover {
    color: #11335d;
  }
body.hidden-page-title nav.navbar .faculty-department h1 a:hover {
    color: #11335d;
  }
}
.nav-bg.container-fluid {
background-color: #fff;
}

@media (max-width: 991px) {
nav .faculty-department {
    background-color: #fff;
border-bottom-style: solid;
    border-bottom-color: #fabe0b;
    border-bottom-width: 6px;
}
 nav .faculty-department {
    margin-top: 0.75rem;
    padding: 0.75rem 0;
  }
nav .faculty-department h6 a {
color: #11335d;
 font-size: 1.5rem;
    font-weight: 300;
text-decoration: none;
}
nav .faculty-department h6 a:hover {
color: #11335d;
}
}

@media (min-width: 992px) {
nav .navbar-collapse {
    background-color: #fff;
    border-top-width: 10px;
    border-top-style: solid;
    border-top-color: #fabe0b;
}
    nav .navbar-collapse>.container ul.navbar-nav li.nav-item a.nav-link, nav .navbar-collapse>.container ul.navbar-nav li.nav-item button.nav-link { 
color: #212121;
}
nav .navbar-collapse>.container ul.navbar-nav li.nav-item a.nav-link:hover, nav .navbar-collapse>.container ul.navbar-nav li.nav-item button.nav-link:hover { 
color: #710000;
background: #fff;
}
 nav .navbar-collapse>.container ul.navbar-nav li.nav-item a.nav-link:focus, nav .navbar-collapse>.container ul.navbar-nav li.nav-item button.nav-link:focus{ 
color: #404040;
background: #fff;
}
nav .navbar-collapse>.container ul.navbar-nav li.nav-item.open a {
        background-color: #fff;
        text-decoration: none;
 }
nav .navbar-collapse>.container ul.navbar-nav li.nav-item.active {
        background-color: #fff;
}
nav .navbar-collapse>.container ul.navbar-nav li.nav-item .dropdown-menu a.nav-link, nav .navbar-collapse>.container ul.navbar-nav li.nav-item .dropdown-menu button.nav-link {
        line-height: 1em;
        padding: .7rem 1rem;
        border-top: 0px solid #002452;
        background-color: #fff;
        color: #212121;
        font-weight: 700;
        width: 100%;
        cursor: pointer;
        text-align: left;
    }
    nav .navbar-collapse>.container ul.navbar-nav li.nav-item .dropdown-menu a.nav-link:hover, nav .navbar-collapse>.container ul.navbar-nav li.nav-item .dropdown-menu button.nav-link:hover {
        background: #fff;
        color: #710000;
    }
nav .navbar-collapse>.container ul.navbar-nav li.nav-item.active a {
        color: #710000;
    }

nav .navbar-nav .nav-item .dropdown-menu li {
border: none;
}

nav.navbar .navbar-collapse ul.nav>li.nav-item>ul.dropdown-menu>li.nav-item ul.dropdown-menu .nav-item a {
        background: #fff;
        padding-left: 35px;
    }
nav.navbar .navbar-collapse ul.nav>li.nav-item>ul.dropdown-menu>li.nav-item ul.dropdown-menu .nav-item a:hover,  {
        background: #fff;
    }
    nav .navbar-collapse>.container ul.navbar-nav li.nav-item .dropdown-menu {
        margin-top: 0;
        background-color: #fabe0b;
    }
}

/* Page Header Style */

h1.page-header.container > span {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Publication Pages Header Styles -- inserts icon before page header on specific pages */

body.page-node-id-99 h1.page-header.container span::before {
  content: "";
  background: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_books_v2.png);
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  float: left;
  background-size: contain;
  display: flex;
  align-items: center;
}
body.page-node-id-13 h1.page-header.container span::before {
  content: "";
  background: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_e-journals_v2.png);
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  float: left;
  background-size: contain;
  display: flex;
  align-items: center;
}
body.page-node-id-14 h1.page-header.container span::before {
  content: "";
  background: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_working-papers_v2.png);
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  float: left;
  background-size: contain;
  display: flex;
  align-items: center;
}
body.page-node-id-43 h1.page-header.container span::before {
  content: "";
  background: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_events_v2.png);
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  float: left;
  background-size: contain;
  display: flex;
  align-items: center;
}
body.page-node-id-118 h1.page-header.container span::before {
  content: "";
  background: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_events_v2.png);
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  float: left;
  background-size: contain;
  display: flex;
  align-items: center;
}
body.page-node-id-113 h1.page-header.container span::before {
  content: "";
  background: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_news_v2.png);
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  float: left;
  background-size: contain;
  display: flex;
  align-items: center;
}
body.page-node-id-112 h1.page-header.container span::before {
  content: "";
  background: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_recent-publications_v2.png);
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  float: left;
  background-size: contain;
  display: flex;
  align-items: center;
}



/* Publications Books Page Layout and Styles */

body article.publications {
  max-width: 1140px;
  margin: 0 auto;
}
.content {
  overflow: hidden;
}

body.page-node-id-10 .card-deck .card {
  max-width: 21.5%;
}

.card-deck.books-page {
  margin: 20px 0;
}
.card-deck.books-page .card {
  max-width: 22.5%;
}
.card-deck.books-page .card h4 {
  font-size: 1rem;
  line-height: 1.4rem;
  margin: 0px !important;
  font-weight: 600;
}
.card-deck.books-page .card .overflow-container {
  text-align: center;
  padding-top: 1.25rem;
}
.card-deck.books-page .card .overflow-container img {
  max-width: 150px !important;
  height: auto !important;
}

@media only screen and (max-width: 991px) {
  .card-deck .card, .card-deck.books-page .card {
    max-width: 46%;
    flex: 1 0 46%;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 40px;
  }
  nav.navbar-light.bg-light a.logo img {
    width: 200px !important;
  }
}

@media only screen and (max-width: 767px) {
  .card-deck.books-page .card {
    max-width: 100%;
  }
  .card-deck .card {
    width: calc(100% - 20px);
    margin: 0 auto 25px auto;
  }

	.card-deck .card, .card-deck.books-page .card {
    max-width: 100%;
    -ms-flex: auto;
    flex: auto;
  }
	}

/* Books Chevron -- inserts chevron after link text on books page */

a.card-footer i {
    font-size: 1.5rem;
}
.chevron {
    display:inline-block;
    width: .6em;
    height: .6em;
    position:relative;
   float: right;
}
.chevron:before,
.chevron:after {
    display:block;
    content:"";
    width:0;
    height:0em;
    border-style:solid;
    position:absolute;
}
.chevron:before {
    right:0;
    border-width: .4em 0 .4em .4em;
    border-color:transparent transparent transparent #11335d;    
}
.chevron:after {
    left:0;
    border-width :.4em 0 .4em .4em;
    border-color:transparent transparent transparent #F7F7F7;    
}

/* Publications Sidebar - not in use */

.publications-sidebar {
  float: right;
  background: #ededed;
  padding: 20px 10px;
  box-sizing: border-box;
  width: 300px;
  overflow: hidden;
  margin-left: 20px;
}
.publications-sidebar h6 {
  margin: 0;
  font-size: 24px;
}
.publications-sidebar a.is-active {
  color: #777;
}


/* Newsletter Subscription Styles */

#mc_embed_signup {
  background: transparent !important;
  font: 16px 'Open Sans' !important;
  padding-bottom: 4rem;
}
#main #mc-embedded-subscribe-form p {
  margin: 0 !important;
}
#mc-embedded-subscribe-form #mce-EMAIL {
  border-radius: 5px;
  border: 1px solid #ABB0B2;
  display: inline;
  border-top-right-radius: 0px;
  padding: 10px;
  height: 38px;
  border-bottom-right-radius: 0px;
  margin: 0;
  top: 1px;
  position: relative;
}
#mc-embedded-subscribe-form #mc-embedded-subscribe {
  border: 2px solid #2f2f2f;
  border-radius: 0;
  padding: 12px 40px;
  display: inline-block;
  transition: all 0.23s ease-in-out 0s;
  border-color: #576077;
  color: #576077;
  margin: 20px 0;
  position: relative;
  font-weight: bold;
  background-color: transparent;
}
#mc-embedded-subscribe-form #mc-embedded-subscribe:hover {
  background-color: rgba(0, 0, 0, .2);
}

/* News and Events Styles */
.card-deck .card {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
  min-width: 21%;
  margin-bottom: 30px;
}

.paragraph--type--event-feed-block .button.-big, .paragraph--type--news-feed-block .button.-big {
  display: none;
}
.column-cards > .row .card .overflow-container .event-date {
  background-color: #11335d;
  padding: 10px;
  min-height: 110px;
  min-width: 110px;
  border-bottom-right-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  color: #ffffff;
  box-shadow: 0 0 10px 0 #2f2f2f;
}
.column-cards > .row .card .overflow-container .event-date p {
  margin-top: 0;
  margin-bottom: 0;
}
.column-cards > .row .card .overflow-container .event-date p.date {
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0;
}
a.card-footer svg {
  position: absolute;
  right: 1.25rem;
  bottom: 15px;
}
.card-body h4 {
  margin: 0 !important;
}
.card-footer small {
  font-size: 16px !important;
}
.field--label {
  font-weight: 700;
  margin-top: 15px;
}
.event-view-taxonomy-row h2::before {
  content: ' ';
  background-image: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_event-item.png);
  background-size: contain;
  float: left;
  height: 50px;
  width: 50px;
  margin-right: 20px;
  margin-bottom: 50px;
}
.event-view-taxonomy-row p:last-of-type {
  margin-left: 70px;
}

.card.event-card.event-view-block-row div.card-body {
 flex: 0 !important; 
 display: flex !important;
 flex-direction: column !important;
}

.card.event-card.event-view-block-row .card-body div.details {
order: 2 !important;
}

.view.view-event-calendar.view-id-event_calendar {
    padding-top: 1rem;
}

.column-cards > .row .card .overflow-container .event-date {
    padding: 8px !important;
    min-height: 80px !important;
    min-width: 80px !important;
}

.column-cards > .row .card .overflow-container .event-date p.day {
    display: none;
}
.column-cards > .row .card .overflow-container .event-date p.date{
    margin: 0px !important;
    font-size: 2.25rem !important;
}
.column-cards > .row .card .overflow-container .event-date p.month{
    line-height: 1.25em !important;
}

h3.card-title a {
    color: #002452;
    text-decoration: solid #002452;
    text-underline-offset: 0em;
    font-size: 1.5rem;
    font-weight: 600;
}

h3.card-title a:hover, h3.card-title a:visited:hover {
    color: #002452;
    text-decoration: solid #002452 !important;
    font-weight: 700;
}
/**event icon for external events news type items **/

body.page-node-id-118 .news-view-block-row p:first-of-type {
display: none;
}

body.page-node-id-118 .news-view-block-row h3:first-of-type::before  {
  content: ' ';
  background-image: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_event-item.png);
  background-size: contain;
  float: left;
  height: 50px;
  width: 50px;
  margin-right: 20px;
  margin-bottom: 50px;
}
body.page-node-id-118 .news-view-block-row p:last-of-type {
  margin-left: 70px;
}

/**news***/
.news-feed {
  display: block;
}
.news-feed .views-row {
  margin-bottom: 20px;
}
.news-feed .views-row .col-sm-4 {
  display: none;
}
.news-feed .views-row .col-sm-8 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
.paragraph--type--news-feed-block h2 {
  margin: 2.4rem 0 2.4rem 0;
}
.news-view-block-row p:first-of-type::before {
  content: ' ';
  background-image: url(/iigr/sites/iirwww/files/uploaded_images/icons/icons_news-item.png);
  background-size: contain;
  float: left;
  height: 50px;
  width: 50px;
  margin-right: 20px;
  margin-bottom: 100px;
}
.news-view-block-row p:last-of-type {
  margin-left: 70px;
}
.news-feed .views-row .col-sm-8 p {
  margin-top: 0px !important;
}
.news-feed .news-item {
  display: block !important;
  margin-bottom: 40px;
  width: 100% !important;
  max-width: unset !important;
}
.news-feed .news-item .card-img-top {
  display: none;
}
.news-feed .news-item > a:first-child {
  float: left;
  max-width: 300px;
  margin-right: 0;
}
.news-feed .news-item p:first-of-type {
  font-weight: bold;
  margin: 0 0 5px 0 !Important;
}
.news-feed .news-item h4 {
  margin: 0 !important;
}
@media only screen and (max-width: 767px) {
	 .row.news-feed {
    max-width: 100%;
  }
	}

/* People Directory Styles */

#views-exposed-form-people-directory-page-1 .form-item {
  margin-right: 20px;
}
#views-exposed-form-people-directory-page-1 label {
  margin-right: 6px;
}
#views-exposed-form-people-directory-page-1 #edit-actions {
  clear: both;
  width: 100%;
  margin: 20px 0 0 0;
}
.view-id-people_directory form.views-exposed-form .form--inline div:last-of-type button {
  top: unset;
}
.views-row.directory-listing {
  margin-bottom: 20px;
  padding-bottom: 20px;
  box-sizing: border-box;
  border: 1px solid #999;
  border-left: 4px solid #1f3a60;
  padding-left: 20px;
  padding-top: 20px;
}
.directory-list-name {
  font-weight: bold;
  font-size: 18px;
}
.directory-list-email a {
  word-break: break-all;
}
.bio-page-headshot {
  margin-top: 3em;
}
.directory-list .directory-listing p.directory-list-name {
  padding-left: 0px;
}

@media only screen and (max-width: 767px) {
	.directory-listing .row > div {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .directory-list-headshot {
    margin-bottom: 10px;
  }
	}

/* Page Element Styles */

img {
  max-width: 100% !important;
  height: auto !important;
}
nav.navbar-light > .container-fluid .navbar-brand img {
  height: 45px !important;
}
section .region > h1 {
  padding-bottom: 0rem;
}
h3 {
  margin-top: 1rem;
  line-height: 1 !important;
}
a {
  font-weight: bold;
}
.btn-link {
  white-space: normal;
}
ol.breadcrumb {
  margin-top: 0px !important;
}
.staggered h2 {
  padding-top: 3.5rem;
}

.btn-primary, .btn-primary:hover {
  background-color: #11335d;
  border-color: #11335d;
}
.field--name-field-paragraphs {
  margin-top: 40px;
}
.bg-q-blue a, .bg-q-grey a {
  color: white !important;
  font-weight: bold;
}
.paragraph--type--text-grid .row > div:nth-child(odd) {
  padding-right: 60px;
}
.paragraph--type--text-grid .row > div:nth-child(even) {
  padding-right: 60px;
}
.path-frontpage .footer {
  margin-top: 0rem;
}
body.page-node-id-3 .footer {
  margin-top: 0rem;
}

.banner-image-bg .banner-image .banner-text, .banner-mobile-image-bg .banner-image .banner-text {
  color: #fff;
  position: relative;
  top: 25%;
  margin-top: 0;
}

/* Table Styles */

.table {
  margin-top: 20px;
}

table {
  width: 100%;
}
table th {
  padding: 5px;
  border-bottom: 1px solid #333;
}
table td {
  padding: 3px 5px;
  vertical-align: top;
}
table tr:nth-of-type(even) {
  background: #efefef;
}

/* Link-Set Styles */

.link-set {
  padding-top: 20px;
  padding-bottom: 40px;
  margin-top: 25px
}
.link-set p a {
  font-weight: 600
}
.link-set .link-set-section {
  padding-top: 25px
}
.link-set .link-set-section .individual-link {
  margin: 10px 0;
  position: relative
}
.link-set .link-set-section .individual-link .link-set-icon {
  background: #11335d;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  margin-right: 10px;
  font-size: 1.5rem;
  padding: 8px;
  position: relative;
  display: inline-block
}
.link-set .link-set-section .individual-link .link-set-text {
  position: relative;
  padding-left: 0;
  margin-top: 7px;
  font-weight: 600;
  width: calc(100% - 50px);
  float: right;
  display: inline-block
}
.link-set .link-set-section .individual-link .link-set-text:not([href]) {
  text-decoration: none;
  cursor: default
}
.link-set .link-set-section .individual-link .link-set-text:not([href]):hover {
  text-decoration: none;
  cursor: default
}

/* FooterStyles */

footer.footer {
  margin-top: 3rem;
}

footer .helpful-links ul li a {
  font-weight: 200;
}

footer .helpful-links ul li a:hover {
   font-weight: 400;
text-decoration: none;
}

@media (min-width: 576px) {
footer h6 {
    margin-top: 2rem;
    border-bottom: 1px solid #fff;
    padding-bottom: 0.5rem;
    margin-right: 4rem;
}
}

/** inactive - styling for social media contact links

@media only screen and (max-width: 575px) {
  .helpful-links {
    display: block !Important;
    text-align: center;
  }
}
footer .helpful-links ul li {
  display: inline-block;
}
footer .helpful-links ul li a {
  font-size: 44px;
  text-decoration: none !important;
}
#block-socialmedia {
  margin-top: 12px;
}
#block-socialmedia h2 {
  font-size: 1.563rem;
  margin: 9px 0 0 0 !important;
}
#block-socialmedia ul {
  margin-top: 7px !important;
}
@media only screen and (max-width: 1200px) {
  .footer .helpful-links {
    position: absolute;
    right: 40px;
    text-align: right;
  }
}

@media only screen and (max-width: 767px) {
  .footer .helpful-links {
    position: relative;
    right: unset;
    text-align: left;
  }

}
**/

footer .queens-identity {
  max-width: 290px;
}
footer .queens-identity img {
  margin: 1.75rem 1.75rem 0 0;
}
footer .row.tricolor-bars {
  height: 12px;
  padding-top: 0;
  padding-bottom: 0;
}
footer .row.tricolor-bars .left-gold-bar {
  background: #fabd0f;
}
footer .row.tricolor-bars .right-red-bar {
  background: #b90e31;
}
@media (max-width: 575px) {
  footer .queens-identity {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
footer .queens-address .footer-address-name a {
  color: white;
  text-decoration: underline;
}
footer .queens-address .social-links {
  list-style: none;
  padding: 0;
}
footer .queens-address .social-links li {
  display: inline-block;
  margin: 0.5rem 0.25rem;
  font-size: 2rem;
}
footer .queens-address .social-links li a {
  color: #ffffff;
  padding: 0.5rem;
}
footer .queens-address p.faculty-phone a {
  color: #ffffff;
}
footer .queens-address a[href^="x-apple-data-detectors:"] {
  color: inherit;
  text-decoration: inherit;
}
footer .utility {
  background-color: #f1f2f2;
  color: #212121;
}
footer .utility a {
  color: #212121;
  text-decoration: underline;
}
