/* Westminster Custom Styles */

/* Global ________________________________________ */

html {
}

body {
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
}

a {
  color: #58595b;
}

a:hover {
  color: #58595b;
  opacity: .8;
  text-decoration: none;
}

a:focus,
a:visited {
  text-decoration: none;
}


/* Header ________________________________________ */

header {
    background: #ebf5e3;
    height: 150px;
    padding-top: 35px;
}

header h1 {
    border-bottom: 6px solid #4ba7c1;
    color: #58595b;
    display: inline-block;
    font-size: 52px;
    text-transform: uppercase;
}

header .header-contact {
    margin-top: 10px;
}

header .header-contact li {
    color: #58595b;
    font-size: 14px;
    list-style: none;
    padding-bottom: 5px;
}

header .header-contact ul {
    float: right;
    padding: 0;
}

header li.header-contact-location {
    background: url(../images/layout/header-sprites.png) no-repeat;
    padding-left: 25px;
}

header li.header-contact-email {
    background: url(../images/layout/header-sprites.png) no-repeat 0 -41px;
    padding-left: 25px;
}

header .header-utility {
    margin-top: 10px;
    text-align: right;
}

header .header-utility input {
    background: url(../images/layout/header-sprites.png) #fff no-repeat 94% -70px;
    border: 0;
    height: 42px;
    padding: 0 10px;
    width: 100%;
}

/* RWD ____________________ */


@media (max-width: 1200px) {

    header h1 {
        font-size: 42px;
    }

}

@media (max-width: 1024px) {

    header h1 {
        font-size: 34px;
    }

}

@media (max-width: 1000px) {

    header h1 {
        font-size: 32px;
    }

}

@media (max-width: 960px) {

    header {
        height: 115px;
    }

    header h1 {
        margin-top: 8px;
    }

}

@media (max-width: 768px) {

    header .header-utility input {
        width: 150px;
    }

    header h1 {
        font-size: 28px;
        margin-top: 5px;
    }

}

@media (max-width: 767px) {

    header  {
        height: 175px;
    }
    header {
        padding-top: 15px;
    }

    header h1 {
        display: block;
        font-size: 40px;
        margin: 8px 0 20px 0;
        text-align: center;
    }

    header .header-utility {
        text-align: left;
    }

    header .header-utility ul {
        padding-right: 25px;
    }

    header .header-utility input {
        width: 250px;
    }

}

@media (max-width: 480px) {

    header  {
        height: 165px;
    }

    header h1 {
        font-size: 42px;
    }

    header .header-contact ul {
        float: left;
    }

    header .header-utility input {
        width: 200px;
    }

}

@media (max-width: 476px) {

    header h1 {
        font-size: 32px;
    }

}

@media (max-width: 460px) {

    header h1 {
        font-size: 28px;
    }

    header .header-utility input {
        width: 150px;
    }

    header .header-contact ul li,
    header .header-contact ul li a {
        font-size: 12px;
    }
}


/* Main Nav ________________________________________ */

.main-navigation {
    background: #ebf5e3;
    position: sticky;
    top: 0;
    z-index: 9999;
}

nav {
    background: #ebf5e3;
    padding: 0;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    float: left;
    list-style: none;
    padding: 10px 25px 15px 0;
}

nav li:first-child {
    padding-left: 15px;
}

nav li:last-child {
    padding: auto 0 0 0;
}

nav a {
    border-bottom: 4px solid transparent;
    color: #58595b;
    display: block;
    font-size: 16px;
    text-transform: uppercase;
}

nav a:hover,
nav .main-nav-active {
    border-bottom: 4px solid #4ba7c1;
}

.navbar {
    padding: 0 !important;
}

span.navbar-text {
    padding: 5px 5px 5px 10px;
    text-transform: uppercase;
}


/* RWD ____________________ */

@media (max-width: 1200px) {

    nav li {
        padding: 10px 15px 15px 0;
    }

    nav a {
        font-size: 14px;
    }

}

@media (max-width: 991px) {

    .navbar-collapse {
        background-color: #fff;
        text-align: center;
    }

    .navbar-collapse ul,
    .navbar-collapse li    {
        margin: 0;
        padding: 0;
    }

    .navbar-collapse a {
        margin: 0;
        padding: 10px 0;
    }

    .navbar-collapse a:hover {
        background-color: #333;
        color: #fff;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 31 31' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(256, 256, 256, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='1' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .navbar-light .navbar-toggler {
        background-color: #333;
        border: 0;
        text-align: left;
        width: 100%;
    }

    .navbar-light button.navbar-toggler {
        border-radius: 2px;
    }

    .navbar-light span.navbar-text {
       color: #fff;
       font-size: 16px;
       letter-spacing: 2px;
       margin-top: 5px;
    }

    nav ul {
        margin-top: 10px;
    }

    nav li,
    nav li:last-child {
        float: none;
        padding: 10px 5px 5px 5px;
    }

    nav a,
    nav a:hover,
    nav .main-nav-active {
        border-bottom: 0;
        font-weight: bold;
    }

    nav .main-nav-active {
        background-color: #eee;
        color: #58595b;
    }

}


/* Home - Hero ________________________________________ */

.hero {
    background: #747578;
    height: 550px;
}

.hero img {
    height: 550px;
    object-fit: cover;
    width: 1110px;
}

/* RWD ____________________ */

@media (max-width: 1200px) {

    .hero img {
        height: 100%;
        width: 100%;
    }

}

@media (max-width: 960px) {

    .hero {
        height: 100%;
    }

}


/* Home - Intro ________________________________________ */

.intro {
    background: rgb(246,245,238);
    background: linear-gradient(0deg, rgba(246,245,238,1) 60%, rgba(221,236,209,1) 100%); 
    margin-bottom: 55px;
    padding: 65px 0 50px 0;
}

.intro p {
    color: #58595b;
    font-size: 26px;
    font-weight: bold;
    padding-bottom: 30px;
    text-align: center;
}

.intro span {
    display: block;
}

.cycle-pager .hero-nav-1 a,
.cycle-pager .hero-nav-2 a,
.cycle-pager .hero-nav-3 a,
.cycle-pager .hero-nav-4 a {
    color: #58595b;
    display: block;
    font-weight: bold;
    padding: 25px 20px 25px 20px;
    text-transform: uppercase;
}

.cycle-pager .hero-nav-1 p,
.cycle-pager .hero-nav-2 p,
.cycle-pager .hero-nav-3 p,
.cycle-pager .hero-nav-4 p {
    background: #ddecd1;
    border-top: 6px solid transparent;
    display: block;
    height: 125px;
    text-align: center;
}

.cycle-pager .hero-nav-1 p:hover,
.cycle-pager .hero-nav-2 p:hover,
.cycle-pager .hero-nav-3 p:hover,
.cycle-pager .hero-nav-4 p:hover {
    opacity: .8;
}

/* 1 */

.cycle-pager .hero-nav-1 p {
    background: url(../images/layout/nav-bkrd-1.png) #ddecd1;
}

.cycle-pager .cycle-pager-active.hero-nav-1 p {
    background: url(../images/layout/nav-bkrd-1.png) #ededd2;
    border-bottom: 6px solid #4ba7c1;
    border-top: 6px solid #4ba7c1;
}

.cycle-pager .hero-nav-1 a {
    font-size: 24px;
    line-height: 24px;
    padding-top: 34px;
}

/* 2 */

.cycle-pager .hero-nav-2 p {
    background: url(../images/layout/nav-bkrd-1.png) #ddecd1;
}

.cycle-pager .cycle-pager-active.hero-nav-2 p {
    background: url(../images/layout/nav-bkrd-1.png) #ededd2;
    border-bottom: 6px solid #4ba7c1;
    border-top: 6px solid #4ba7c1;
}

.cycle-pager .hero-nav-2 a {
    font-size: 24px;
    line-height: 24px;
    padding-top: 34px;
}

/* 3 */

.cycle-pager .hero-nav-3 p {
    background: url(../images/layout/nav-bkrd-1.png) #ddecd1;
}

.cycle-pager .cycle-pager-active.hero-nav-3 p {
    background: url(../images/layout/nav-bkrd-1.png) #ededd2;
    border-bottom: 6px solid #4ba7c1;
    border-top: 6px solid #4ba7c1;
}

.cycle-pager .hero-nav-3 a {
    font-size: 34px !important;
    line-height: 50px;
    padding-top: 34px;
}

/* 4 */

.cycle-pager .hero-nav-4 p {
    background: url(../images/layout/nav-bkrd-1.png) #ddecd1;
}

.cycle-pager .cycle-pager-active.hero-nav-4 p {
    background: url(../images/layout/nav-bkrd-1.png) #ededd2;
    border-bottom: 6px solid #4ba7c1;
    border-top: 6px solid #4ba7c1;
}

.cycle-pager .hero-nav-4 a {
    font-size: 34px;
    line-height: 50px;
    padding-top: 34px;
}


/* RWD ____________________ */

@media (max-width: 1024px) {

    .intro span {
        display: inline;
    }

    .intro p {
        font-size: 24px;
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .cycle-pager .hero-nav-3 a {
        font-size: 14px;
    }

}

@media (max-width: 480px) {

    .intro span {
        display: inline;
    }

    .intro p {
        font-size: 24px;
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .cycle-pager .hero-nav-1 a,
    .cycle-pager .hero-nav-2 a,
    .cycle-pager .hero-nav-3 a,
    .cycle-pager .hero-nav-4 a {
        padding: 42px 0 25px 0;
    }

}


/* Home - Modules ________________________________________ */

.modules h2 {
    color: #58595b;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modules ul {
    padding: 0 0 0 0;
}

.modules li {
    background: url(../images/layout/bullet-plus.png) no-repeat 0 4px;
    list-style: none;
    margin-bottom: 10px;
    padding-left: 25px;
}

.modules a {
    color: #4ba7c1;
    font-size: 22px;
}

.modules a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {

    .modules-col-1 {
        margin-bottom: 25px;
    }

}


/* Secondary ________________________________________ */

.secondary-content-header {
    background-color: #58595b;
    margin-bottom: 50px;
    padding: 30px 0 25px 0;
}

.secondary-content-header h1 {
    color: #fff;
    font-size: 38px;
    letter-spacing: 4px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.secondary-content-nav ul {
    background-color: #fff;
    margin: 0 10px;
    opacity: .9;
    padding: 0 10px;
    position: fixed;
    width: 240px;
    z-index: 1000;
}

.secondary-content-nav div {
    margin-top: 600px;
}

.secondary-content-nav div.book2 {
    margin-top: 200px;
}

.secondary-content-nav div img {
    width: 85%;
}

.secondary-content-nav li {
    border-top: 1px solid #ccc;
    list-style: none;
    padding: 20px 0 18px 0;
}

.secondary-content-nav li:last-child {
    border-bottom: 1px solid #ccc;
}

.secondary-content-nav li a {
    color: #58595b;
    font-size: 22px;
    font-weight: bold;
    line-height: 26px;
}

.secondary-content-nav li a:hover {
    border-bottom: 4px solid #4ba7c1;
}

.secondary-content {
    min-height: 800px;
}

.secondary-content h2 {
    background-color: #ededd2;
    color: #58595b;
    font-size: 32px;
    font-weight: bold;
    margin: 35px 0 20px 0;
    padding: 15px 15px 10px 15px;
}

.secondary-content h3 {
    font-size: 30px;
    font-weight: bold;
}

.secondary-content h4 {
    font-size: 22px;
    font-weight: bold;
}

.secondary-content h5 {
    font-size: 18px;
    font-weight: bold;
}

.secondary-content h5 a {
    color: #4ba7c1;
    font-weight: normal;
    text-decoration: underline;
}

.secondary-content h6 {
    background-color: #eee;
    color: #58595b;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
}

.secondary-content h2:first-child {
    margin-top: 0;
}

.secondary-content img,
.secondary-content p img {
    margin-bottom: 35px;
    width: 100%;
}

.secondary-content p {
    color: #58595b;
    font-size: 18px;
    line-height: 30px;
}

.secondary-content p a {
    color: #4ba7c1;
    text-decoration: underline;
}

.secondary-content blockquote {
    border-left: 4px solid #ededd2;
    margin-left: 25px;
    padding-left: 25px;
}

.secondary-content article {
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.secondary-content header {
    background: transparent;
    height: auto;
    padding-top: 0;
}

.secondary-content iframe {
    margin-top: 50px;
    min-height: 300px;
}

.secondary-content table {
    border: 1px solid #eee;
    color: #58595b;
    margin-bottom: 25px;
    width: 100%;
}

.secondary-content table thead {
    background-color: #ededd2;
    height: 50px;
}

.secondary-content table thead th {
    border: 1px solid #ddd;
    font-size: 20px;
    padding: 10px 10px;
}

.secondary-content table td {
    border: 1px solid #eee;
    font-size: 16px;
    padding: 10px 15px;
}

.secondary-content table td:nth-child(1) {  
    text-align: center;
    width: 5%;
}

.secondary-content td:nth-child(2) {
    width: 8%;
}

.secondary-content td:nth-child(3) {
    width: 50%;
}

.secondary-content td:nth-child(4) {
    width: 15%;
}

.secondary-content .mobile-alert {
    display: none;
}

@media (max-width: 960px) {

    .secondary-content-nav ul {
        position: relative;
        width: 100%;
    }

    .secondary-content-nav div {
        margin-top: 100px;
        text-align: center;
    }

    .secondary-content-nav div img {
        width: 50%;
    }

}


@media (max-width: 480px) {

    .secondary-content-nav div img {
        width: 90%;
    }

}


/* Patents */

@media (max-width: 480px) {

    .secondary-content .mobile-alert {
        color: red;
        display: block;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 25px;
    }

    .secondary-content th:nth-child(3),
    .secondary-content td:nth-child(3) {
        display: none;
    }

    .secondary-content th:nth-child(4), 
    .secondary-content td:nth-child(4) {
        display: none;
    }

}



/* Research */

@media (max-width: 960px) {

    .secondary-content-header h1 {
        font-size: 32px;
        text-align: center;
    }

    .secondary-content-research .secondary-content-nav  {
        margin-bottom: 50px;
    }

    .secondary-content-research .secondary-content-nav li  {
        border: 0;
        padding: 0;
    }

    .secondary-content-research .secondary-content-nav a {
        display: block;
        letter-spacing: 1px;
        padding: 15px 15px 12px 15px;
        text-transform: uppercase;
    }

    .secondary-content-research .secondary-content-nav a:hover {
        background-color: #ededd2;
    }

}


/* Publications */

.secondary-content-publications h3 {
    font-size: 24px;
}

.secondary-content-publications p {
    line-height: 30px;
    margin-bottom: 18px;
    text-align: justify;
}

.secondary-content-publications .secondary-content-nav button {
    display: none;
}

@media (max-width: 960px) {

    .secondary-content-publications .secondary-content-nav button {
        background: url(../images/layout/down-arrow-black.png) #ddd no-repeat 95% center;
        border: 0;
        color: #58595b;
        display: block;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 10px;
        padding: 12px 15px 10px 15px;
        width: 100%;
        text-align: left;
        text-transform: uppercase;
    }

    .secondary-content-publications .secondary-content-nav button:hover {
        opacity: .8;
    }

    .secondary-content-publications .secondary-content-nav ul#rwd-pub-list {
        display: none;
    }

}


/* Alumni */

.secondary-content.secondary-content-alumni  h2 {
    margin-bottom: 0;
}

.secondary-content.secondary-content-alumni table thead {
    background-color: #eee;
}

.secondary-content.secondary-content-alumni table td:nth-child(1) {  
    text-align: left;
    width: 30%;
}

.secondary-content.secondary-content-alumni table a {  
    font-weight: bold;
}

.secondary-content.secondary-content-alumni td:nth-child(2) {
    width: 15%;
}

.secondary-content.secondary-content-alumni td:nth-child(3) {
    width: 55%;
}

.secondary-content.secondary-content-alumni table.mr-undergrad td:nth-child(1) {
    width: 30%;
}

.secondary-content.secondary-content-alumni table.mr-undergrad td:nth-child(2) {
    width: 70%;
}

/* News */

.secondary-content-news button {
    display: none;
}

.secondary-news article {
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.secondary-news article h2 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.secondary-news article h3 {
    color: #58595b;
    font-size: 18px;
    margin-bottom: 10px;
    padding: 10px 0;
}

a.news-button {
    background-color: #ebf5e3;
    font-size: 20px;
    font-weight: bold;
    padding: 12px 12px 10px 12px;
}

aside.secondary-news-aside h4 {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    color: #58595b;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 10px 0 5px 0;
    text-transform: uppercase;
}

aside.secondary-news-aside ul {
    margin: 0 0 50px 0;
    padding: 0;
}

aside.secondary-news-aside ul li {
    font-size: 18px;
    font-weight: bold;
    list-style: none;
    margin-bottom: 5px;
    padding: 0;
}

aside.secondary-news-aside ul li a:hover {
    border-bottom: 4px solid #4ba7c1;
}

aside.secondary-news-aside.sns-rwd {
    display: none;
}

@media (max-width: 960px) {

    .secondary-news {
        margin-bottom: 100px;
    }

    aside.secondary-news-aside.sns-rwd {
        display: block;
    }

    .secondary-content-news aside.secondary-news-aside button {
        background: url(../images/layout/down-arrow-black.png) #ddd no-repeat 95% center;
        border: 0;
        color: #58595b;
        display: block;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 10px;
        padding: 12px 15px 10px 15px;
        width: 100%;
        text-align: left;
        text-transform: uppercase;
    }

    .secondary-content-news aside.secondary-news-aside button:hover {
        opacity: .8;
    }

    .secondary-content-news aside.secondary-news-aside  ul#rwd-news-list {
        display: none;
    }

}


/* Misc */

a.btt {
    display: block;
    margin: 15px;
    text-align: right;
}

@media (max-width: 480px) {
    iframes {
        width: 100%;
    }
}


/* Footer ________________________________________ */

footer {
    background-color: #000;
    margin-top: 50px;
    padding: 25px 0 0 0;
}

.footer-affiliations .row {
    border-bottom: 1px solid #444;
    margin: 20px 0;
    padding-bottom: 10px;
}

.footer-affiliations .row .col-md-3 {
    text-align: center;
}

.footer-affiliations img {
    margin-bottom: 15px;
    width: 85%;
    max-height: 80px;
    object-fit: contain;
}

.footer-copyright {
    background-color: #000;
    color: #fff;
    font-size: 13px;
    padding: 35px 0;
}

.footer-copyright ul {
    margin: 10px 0 45px 0;
    padding-left: 0;
}

.footer-copyright li {
    float: left;
    list-style: none;
    margin-right: 20px;
}

.footer-copyright a {
    color: #fff;
}

@media (max-width: 768px) {

    .footer-affiliations img {
       margin-bottom: 25px;
    }

}

@media (max-width: 480px) {

    .footer-copyright img {
        margin-bottom: 25px;
        padding-left: 35px;
    }

    .footer-copyright li {
        display: block;
        float: none;
        padding-left: 35px;
    }

    .footer-copyright p {
        padding-left: 35px;
    }

}


/* Miscellaneous ________________________________________ */

.no-border {
    border: 0 !important;
}


/* Override ________________________________________ */

nav.pagination {
    background-color: transparent;
}

h2.screen-reader-text {
    display: none;
}

.nav-links {
    color: #333;
    font-size: 14px;
    padding: 10px 0;
    text-transform: uppercase;
}

.nav-links a {
    border: 0;
    color: #4ba7c1;
    display: block;
    font-size: 14px;
    padding: 10px 0;
    text-transform: uppercase;
}

.nav-links a:hover {
    border: 0;
}

.icon-arrow-left,
.icon-arrow-right {
    display: none;
}

