/* Main CSS File */


/*
Colors:
Red     #891515
Black     #000000
Blue      #006cb5
Purple      #53284f
Dark Gray 1   #2e2d29

*/

/* Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');



/* GENERAL */

html{
	font-size: 100%;
}
body{
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	background-color: #fff;
	color: #333333;
}
section{
	padding: 120px 0 130px 0;
	position: relative;
}
section a{
	color:#006CB5;
  font-weight: 500;
}
section a:hover, section a:focus{
    color:#006CB5;
	text-decoration: underline;
	text-decoration-style: dotted;
  font-weight: 500;

}
a.arrow{
  position: relative;
  font-weight: 500;
}
a.arrow:after{
      content: '→';
    padding-left: 5px;
    font-size: 1rem;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
	line-height: 120%;
}
h1,h2{
  font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size:2.5rem;
  margin-bottom: 20px;
}
h2.small{
  font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size:1.875rem ;
}

h3{
  font-family: 'Poppins', sans-serif;
	font-size: 1.125em;
	font-weight: 600;
}
h4{
  font-family: 'Poppins', sans-serif;
	font-size: 1.125rem ;
}

p{
	font-size: 1rem;
	font-weight: 400;
  font-family: 'Poppins', sans-serif;
	line-height: 170%;
}
p.subtitle{
  font-size:1.125em;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  line-height: 170%;
}
p.small{
  font-size:0.875em;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  line-height: 170%;
}
a{
  color: #006cb5;
    font-weight: 500;  
    text-decoration: none;
}
a:hover, a:focus {
     color: #006cb5;
    text-decoration: underline;
}

.button{
  opacity: 1;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  display: inline-block;
  background: #bf6e00;
    color: #fff;
    border-radius: 4px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 500;
}
.button:hover, .button:focus{
  opacity: 0.8;
  text-decoration: none;
  color: #fff;
}
.button.white-button{
  background: #fff;
  color: #2E2D29;
}

.hexagon-wrapper{
  width: 100%;
  position: relative;
  min-height: 620px;
}
.hexagon-wrapper .hex-img{
  position: absolute;
}
.hexagon-wrapper .img-hex{
  width: 100%;
  max-width: 202px;
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hexagon-wrapper.internal-hexagon {
    position: absolute;
    left: 54%;
    width: 672px;
    top: 200px;
    z-index: 3;
}
.hexagon-wrapper .hex-img.hex-mid {
    top: 169px;
    right: 0;
}
.hexagon-wrapper .hex-img.hex-small {
    top: 388px;
    right: 150px;
}

.hexagon-wrapper .big-hex{
  max-width: 420px;
}
.hexagon-wrapper .mid-hex{
  max-width: 224px;
}
.hexagon-wrapper .small-hex{
  max-width: 182px;
}
.hexagon-wrapper .hex-img.hex-1{
  top: 0;
  left: 112px;
}
.hexagon-wrapper .hex-img.hex-2{
  top: 0;
  left: 332px;
}
.hexagon-wrapper .hex-img.hex-3{
  top: 190px;
  left: 0px;
}
.hexagon-wrapper .hex-img.hex-4{
  top: 190px;
  left: 222px;
}
.hexagon-wrapper .hex-img.hex-5{
  top: 380px;
  left: 112px;
}


/*Go back to top link*/
#top-link-block.affix-top {
    position: absolute; /* allows it to "slide" up into view */
    bottom: -82px; /* negative of the offset - height of link element */
    right: 10px;
    visibility: hidden;
}
#top-link-block.affix {
        position: fixed;
    bottom: 20px;
    right: 70px;
    z-index: 35;
    visibility: visible;
}
#top-link-block img{
  max-width: 40px;
  opacity: 1;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
}
#top-link-block a:hover img, #top-link-block a:focus img{
  opacity: 0.6;
}



/* Header */
header .icon-logo{
  max-width: 190px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
}
header .top-nav {
    background: #000000;
    padding: 3px 30px;
}
header .top-nav .login-link{
  color: #fff;
  font-size: 0.875rem;
}
header .navbar {
    border: 0px;
    transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
}
header .navbar-light .navbar-nav .nav-link {
    color: #000000;
    padding-left: 16px;
    padding-right: 16px;
}
header .navbar-nav{
    margin: auto !important;

}
header .navbar.navbar-inverse {
    background: #fff;
}
header .navbar.navbar-inverse .icon-logo{
  max-width: 150px;
}


/* Footer */
#global-footer {
    font-family: "Source Sans Pro",Arial,Helvetica,sans-serif !important;
    padding: 0;
    background-color: #8c1515;
    color: #e3dfd5 !important;
    font-size: 15px !important;
    line-height: 1em !important;
    font-weight: 400 !important;
    padding: 30px 0 0 0;
    width: auto;
    -webkit-box-shadow: inset 0px 4px 8px -2px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px 4px 8px -2px rgba(0,0,0,0.2);
    box-shadow: inset 0px 4px 8px -2px rgba(0,0,0,0.2);
}
#global-footer a {
    font-weight: 400 !important;
    color: #e3dfd5;
    text-decoration: none;
    border-bottom: 0;
}
#global-footer .container a {
    color: #ffffff;
    font-size: 15px;
}
[class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
}
.span2 {
    width: 170px;
}
.span10 {
    width: 900px;
}
#global-footer {
    padding: 25px 0 10px 0;
}
#global-footer img {
    width: 120px;
    height: 56px;
}
#bottom-menu ul {
    margin: 0;
    padding: 5px 0 0 0px;
    line-height: 1em;
}
#bottom-menu ul li {
    float: left;
    list-style: none;
    margin: 0 17px 0 0;
    padding: 0;
}
#global-footer .container #bottom-menu .top-links a {
    color: #ffffff;
    font-size: 18px;
}
#bottom-menu .bottom-links a {
    font-weight: 300 !important;
}
#bottom-menu .bottom-links {
    padding: 12px 0px 0px 0px;
}
.vcard {
    color: #ffffff;
    font-size: 15px;
    font-weight: 300;
    margin-top: 8px;
}



/* Homepage */
.homepage .overview{
  background: url('../images/home-hero-bg.png') no-repeat center bottom transparent;
  background-size: cover;
  padding-top: 170px;
  padding-bottom: 0px;
}
.homepage .overview h1 {
    color: #891515;
    font-size: 4.275rem;
    line-height: 100%;
}
.homepage .overview .text-wrap {
    margin: 70px 0 0 40px;
}
.homepage .latest-news{
  background: url('../images/home-news-bg.png') no-repeat top 180px center transparent;
  background-size: 1979px;
}
.homepage .affiliates, .groups-page .affiliates{
  background: url('../images/bg-cta.png') repeat center center #006ab2;
  background-size: 251px;
  padding: 200px 0 180px 0;
  color: #fff;
}
.homepage .affiliates .button, .groups-page .affiliates .button{
  margin-top: 20px;
}

.homepage .sail-overview-img {
    max-width: 539px;
    width: 100%;
}
.homepage .bg-home{
    padding-bottom: 48.75%;
}
.homepage .announcement{
  background: url('../images/pattern-large-2-opaque.png') repeat center center #53284F;
  background-size: cover;
  color: #fff;
}
.homepage .announcement p {
    width: 90%;
}
.homepage .announcement a {
    color: #fff;
    margin-bottom: 30px;
    display: inline-block;
}
.homepage .announcement h2 {
    font-size: 1.875rem;
    margin-bottom: 20px;
}
.homepage .img-faculty-wrap > img{
  max-width: 200px;
  width: 100%;
   -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
   clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    filter: url(data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
    padding: 7px;
}
.homepage .img-faculty-wrap{
  background: url('../images/white-hexagon.png') no-repeat center center transparent;
  background-size: 200px;
      padding: 1px;
    text-align: center;
}
.homepage .announcement .faculty-name {
    font-size: 1.25rem;
    display: block;
    text-align: center;
    font-weight: 500;
    margin-top: 10px;
}
.homepage .announcement .facutly-field {
    font-size: 0.875rem;
    text-align: center;
    display: block;
    width: 80%;
    margin: 10px auto 40px auto;
}

.homepage .twitter-link{
  display: inline-block;
  background: url('../images/twitter-icon.png') no-repeat center left transparent;
  background-size: 30px;
  line-height: 30px;
  padding-left: 40px;
  font-weight: 500;
  margin-right: 60px;    
  margin-top: 15px;
}

#ctf.ctf-masonry .ctf-item, #ctf .ctf-item {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.125);
    margin: 15px 30px 15px 0px !important;
    margin-top: 15px;
    border-radius: 5px;
    padding: 25px 25px;
}
#ctf.ctf-masonry .ctf-item{
  width: 30% !important;
}
#ctf.ctf-masonry .ctf-tweet-meta {
    padding-left: 30px;
}

.card-columns {
    column-gap: 30px;
}
.card {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.125);
    margin-bottom: 15px;
    margin-top: 15px;
}
.card-body {
    padding: 25px 30px;
}
.card .read-more-sec {
    padding-top: 15px;
    border-top: 1px solid #E3E3E3;
}
.card .arrow{
  font-size: 0.875rem;
}


.hidden{
  display: none;
}

.homepage .card .thumb {
	background-size: cover !important;
	width: 100% !important;
	height: 230px !important;
	background-repeat: no-repeat !important;
	background-position: center top !important;
}


/* Courses */
.courses-page .courses {
    background: #F2F2F2;
    padding-top: 190px;

}
.courses-page .text-center a {
    color: #820000;
    font-weight: 500;
}
.courses-page .season-filters {
    text-align: center;
    margin: 50px 0;
}
.courses-page .season-filters .button-filter {
    background: #595959;/*#8C8C8C;*/
    color: #fff;
    padding: 5px 20px;
    border: 0px;
    border-radius: 5px;
    margin: 0 3px;
    transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  opacity: 1;
}
.courses-page .season-filters .button-filter:hover{
  opacity: 0.8;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
}
.courses-page .season-filters .button-filter.active{
  background: #891515;
}
.courses-page .tablecourses {
    width: 100%;
}
.courses-page .tablecourses tr{
    background: #FFFFFF;
    border-bottom: 3px solid #f2f2f2;
}
.courses-page .tablecourses thead tr{
  background:transparent;
}
.courses-page .tablecourses td {
    padding: 10px;
}
.courses-page .tablecourses th {
    padding: 20px 10px;
    font-weight: 400;
}
.courses-page .tablecourses th.name .ordering, 
.courses-page .tablecourses th.name .ordering:hover{
  font-weight: 400;
}
.courses-page .tablecourses .number{
  width: 17%;
  padding: 10px 20px;
}
.courses-page .tablecourses .instructor{
  width: 20%;
}
.courses-page .tablecourses .number a, .courses-page .tablecourses .number a:hover {
    color: #000000;
}
.courses-page .tablecourses .name a, .courses-page .tablecourses .name a:hover {
    color: #000000;
    font-weight: 600;
}
.tablecourses .ordering{
  position: relative;
  text-decoration: none !important;
}
.courses-page .tablecourses .ordering.down:after{
  content: '▼';
    padding-left: 5px;
    font-size: 0.875rem;
}
.courses-page .tablecourses .ordering.up:after{
  content: '▲';
    padding-left: 5px;
    font-size: 0.875rem;
}
.courses-page .tablecourses .ordering.gray:after{
  color:#707070;
  content: '▼';
    padding-left: 5px;
    font-size: 0.875rem;
}
.courses-page .tablecourses .ordering.black:after{
  color: #000000;
}
.courses-page .tablecourses .instructor-link:not(:first-of-type):before{
  content: '/';
  /*position: absolute;
  left: 0px;*/
  padding: 0 2px;
}


.blue-box {
    background: #006CB5;
    color: #fff;
    padding: 64px 95px 75px 95px;
}

.sail-page .overview {
    padding-top: 160px;
    min-height: 800px;
}
.sail-page h2 a {
    font-size: 2rem;
    margin-top: 40px;
    display: inline-block;
}


/* Affiliates */

.affiliates-page .affiliates-first{
  background: url('../images/affiliates-bg-1.png') no-repeat top 60px center transparent;
  background-size: cover;
  overflow: hidden;
}

.affiliates-page .blue-box ul {
    margin: 0px;
    padding-left: 20px;
    overflow: auto;
}
.affiliates-page .blue-box li {
    width: 49%;
    float: left;
    margin-right: 1%;
    margin-bottom: 15px;
}
.affiliates-page .benefits h2 {
    font-size: 1.875rem;
}
.affiliates-page .overview{
  padding-top: 190px;
}
.affiliates-page .aff-overview-img {
    position: absolute;
    top: 200px;
    left: 55%;
    z-index: 5;
    max-width: 672px;
    width:100%;
}
.affiliates-page .overview h1 {
    margin-top: 50px;
}
.affiliates-page .benefits {
    padding-top: 0px;
    padding-bottom: 10px;
}
.affiliates-page .affiliates-bg{
  background: url('../images/affiliates-image-2.jpg') no-repeat bottom center transparent;
  background-size: cover;
  padding-bottom: 50%;
}
.affiliates-page .members{
  background: url('../images/affiliates-bg-2.png') no-repeat center center transparent;
  background-size: 105%;
  padding: 136px 0 124px 0;
}
.affiliates-page .members .logo-wrap {
    display: inline-block;
    margin-top: 10px;
}
.affiliates-page .members .logo-img {
    max-width: 240px;
    width: 100%;
	padding: 10px;
}
.affiliates-page .centers {
    background: #F1F1F1;
    padding: 107px 0 142px 0;
}
.affiliates-page .centers h2{
  margin-bottom: 60px;
}
.box{
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.125);
    margin-bottom: 15px;
    margin-top: 15px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 5px;
}
.faculty-box{
  padding: 0px;
}
.faculty-box .group-info{
  padding: 30px 25px 27px 25px;
}

.faculty-box .text-wrap{
  min-height: 180px;
}
.box .title {
    color: #891515;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.box b{
  margin-bottom: 10px;
  font-size: 1.125rem;
  font-weight: 700;
    display: block;
}
.box p{
  font-size: 0.875rem;
}
.box .read-more {
    padding-top: 15px;
    border-top: 1px solid #E3E3E3;
}
.ind-box{
  padding: 25px 25px 30px 25px;
}
.ind-box .read-more {
  border-top: 0px;
}
.ind-box .text-wrap {
    min-height: 270px;
}

.groups-page{
  background: url('../images/bg-research-groups.jpg') no-repeat top 60px center transparent;
  background-size: 1800px;
  overflow: hidden;
}
.groups-page .overview{

}
.groups-page .join-groups {
    padding-top: 280px;
    padding-bottom: 0px;
}
.groups-page .join-indiv{
  background: url('../images/bg-bottom-groups.jpg') no-repeat bottom -300px center transparent;
  background-size: 1760px;
  padding-top: 210px;
}
.groups-page .faculty-group {
    max-width: 358px;
    width: 100%;
}


/* Fellows Page */
.fellows-page .blue-box li {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 15px;
}


/* Stanford AI 4 All */

.standfordaiforall-page .affiliates-bg {
    background: url(../images/stanfordaiforall-background.jpg) no-repeat bottom center transparent;
    background-size: cover;
    padding-bottom: 50%;
}

.standfordaiforall-page .list li {
    margin-bottom: 15px;
}

.standfordaiforall-page .blue-box li {
    width: 49%;
    float: left;
    margin-right: 1%;
    margin-bottom: 20px;
	list-style: none !important;
}

.standfordaiforall-page .blue-box ul {
    margin: 0px;
    padding-left: 0px !important;
    overflow: auto;
}

.standfordaiforall-page .button {
    margin-bottom: 15px;
    margin-top: 15px;
	margin-right: 12px;
	margin-left: 12px;
    background: #891515;
    padding: 0px 10px;
    border-radius: 5px;
}

.standfordaiforall-page .button .red-button {
    background: #891515;
    color: #fff;
}

.standfordaiforall-page .contact-us{
	margin-top:30px;
}

.standfordaiforall-page .explore{
	text-align: center;
}

.standfordaiforall-page .members {
    padding: 0px !important; 
}



/* About */
.about-page {
    overflow: hidden;
    background: url('../images/about-bg.png') no-repeat top 60px center transparent;
    background-size: 1800px;
}
.about-page .about-bg{
  background: url('../images/about-image-bg.jpg') no-repeat top center transparent;
  background-size: cover;
  padding-bottom: 41.8%;
}
.about-page .letter {
    padding-bottom: 0px;
}
.about-page .letter .sup-title {
    color: #891515;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.about-page .letter h2 {
    font-size: 1.875rem;
    width: 70%;
    margin: auto auto 20px auto;
}
.about-page .letter p {
    font-size: 1.125rem;
    margin-bottom: 20px;
}
.about-page .letter .letter-read-more {
    margin-top: 30px;
}
.about-page .letter .img-signature {
    mix-blend-mode: darken;
    width: 100%;
    max-width: 210px;
}
.about-page .staff .staff-img {
    max-width: 144px;
    width: 100%;
    margin-bottom: 20px;
    -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    filter: url(data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
}
.about-page .staff .hex {
    width: 10.5em;
    height: 13rem;
    margin-top: -20px;
}

.about-page .staff h2{
  margin-bottom: 70px;
}
.about-page .staff b{
  color: #891515;
  font-size: 1.125rem;
}
.about-page .staff .title{
  padding-bottom: 2px;
  display: block;
}
.about-page .staff .envelope{
  width: 100%;
  max-width: 24px;
  margin-top: 0px;
  margin-bottom: 15px;
}
.about-page .staff .title-support{
  font-weight: 700;
}
.about-page .staff .supported_prof p {
    line-height: 200%;
    font-size: 0.875rem;
}
.about-page .map {
    width: 100%;
    max-width: 636px;
}
.about-page .contact{
  background: url('../images/about-bg-2.png') no-repeat bottom -300px center transparent;
   background-size: 1760px;
  padding: 128px 0 158px 0;
}
.about-page .contact h2{
  margin-bottom: 80px;
}
.about-page .contact h3 {
    margin-top: 43px;
}
.about-page .contact b {
    color: #891515;
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 15px;
    display: block;
    margin-bottom: 5px;
}
.about-page .contact .inquiries{
  margin-top: 80px;
}
.about-page .contact .title {
    font-weight: 500;
    font-size: 0.875rem;
}
.about-page .contact .inquiries p {
    font-size: 0.875rem;
}


.faculty-page .hex-container{
  overflow: hidden;
}
.faculty-page .hex{
  width: 13.28em;
}
.faculty-page .hex-item-inner-2 .bck-img {
    background-position: top 25px center;
    background-size: 100%;
}
.faculty-page .name-wrap{
  position: absolute;
    bottom: 0px;
    height: auto;
    width: 100%;
    color: #fff;
    text-shadow: 1px 1px 3px #333;
    font-size: 1.0625rem;
    text-align: center;
    -moz-transform: skewX(-30deg) rotate(-90deg);
    -ms-transform: skewX(-30deg) rotate(-90deg);
    -webkit-transform: skewX(-30deg) rotate(-90deg);
    transform: skewX(-30deg) rotate(-90deg);
   top: 0px;
    margin-right: 10px;
}
.faculty-page .name-wrap .name{
      display: block;
    position: absolute;
    bottom: 42px;
    width: 50%;
    margin-left: 25%;
    line-height: 150%;
    text-shadow: 1px 1px 5px #000;
}
.faculty-page .name-wrap .name.small {
    width: 55%;
    margin-left: 22%;
    font-size: 1rem;
}
.faculty-page .hover-info{
  z-index: 7;
  padding-top: 34%;
}
.faculty-page .hex .hex-wrap:hover .hover-bck:after{
  z-index: 6;
}
.faculty-page .hex .hex-wrap{
  position: relative;
}
.faculty-page .hover-info{
  text-align: center;
  position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
      -moz-transform: skewX(-30deg) rotate(-90deg);
    -ms-transform: skewX(-30deg) rotate(-90deg);
    -webkit-transform: skewX(-30deg) rotate(-90deg);
    transform: skewX(-30deg) rotate(-90deg);


    padding-top: 30%;
    color: #fff;

}
.faculty-page .hover-info .category{
  font-size: 0.875rem;
  font-weight: 400;
      margin: 10px auto 0 auto;
    width: 80%;
}
.faculty-page .hover-info {
    color: #fff !important;
    width: 100%;
}
.faculty-page .hover-info a{
  color: #fff !important;
  width: 100%;
  text-decoration: none !important;
  font-weight: 600;
}
.faculty-page .hex .hex-wrap:hover{
  opacity: 1;


}
.faculty-page .hex .hex-wrap:hover .hover-bck:after{
  /*background-color:#006cb5;*/
 
   background-size: 100%;
    content: '';
    width: 110%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    -moz-transform: skewX(-30deg) rotate(0deg);
    -ms-transform: skewX(-30deg) rotate(0deg);
    -webkit-transform: skewX(-30deg) rotate(0deg);
    transform: skewX(-30deg) rotate(0deg);
}

.faculty-page .hex .hex-wrap:hover .hover-info{
  visibility: visible;
    opacity: 1;
    transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
}

.faculty-page h2 {
    margin-top: 150px;
}
.faculty-page h2, .faculty-page h1{
  margin-bottom: 50px;
}
.faculty-page .faculty {
    background: url('../images/faculty-bg-1.png') no-repeat top -560px center;
    background-size: 1800px;
    padding: 190px 0 220px 0;
}
.faculty-page{
  background: url('../images/faculty-bg-2.png') no-repeat bottom -200px center;
    background-size: 1800px;
}

/* Lightbox */

.lightbox .team-img {
    max-width: 200px;
    width: 100%;
    position: absolute;
    -webkit-transform: translate(0%, 5%) scale(1.1);
    -moz-transform: translate(0%, 5%) scale(1.1);
    -o-transform: translate(0%, 5%) scale(1.1);
    transform: translate(0%, 5%) scale(1.1);
    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -o-transform-origin: center center;
    transform-origin: center center;
   
}
.lightbox .img-wrap{
  display: inline-block;
  vertical-align: middle;
  width: 200px;
  height: 228px;
  position: relative;

   -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    overflow: hidden;

}
.lightbox .text-wrap{
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 210px);
  padding-left: 30px;
}


/* HEXAGONS */

.hex {
    overflow: hidden;
    display: inline-block;
    margin: 1.4em 0;
    width: 18em;
    height: 14.32em;
   -moz-transform: rotate(-30deg) skewX(30deg);
    -ms-transform: rotate(-30deg) skewX(30deg);
    -webkit-transform: rotate(-30deg) skewX(30deg);
    transform: rotate(-30deg) skewX(30deg);
    -moz-border-radius: 0em;
    -webkit-border-radius: 0em;
    border-radius: 0em;
}
.hex *, .hex *:before {
    display: block;
    overflow: hidden;
    width: inherit;
    height: inherit;
    -moz-border-radius: 0em;
    -webkit-border-radius: 0em;
    border-radius: 0em;
}

.hex-item-inner {
    cursor: auto;
     -moz-transform: skewX(-30deg) rotate(60deg) skewX(30deg);
    -ms-transform: skewX(-30deg) rotate(60deg) skewX(30deg);
    -webkit-transform: skewX(-30deg) rotate(60deg) skewX(30deg);
    transform: skewX(-30deg) rotate(60deg) skewX(30deg);
}
.hex-item-inner-2 {
    content: '';
     -moz-transform: skewX(-30deg) rotate(60deg) skewX(30deg);
    -ms-transform: skewX(-30deg) rotate(60deg) skewX(30deg);
    -webkit-transform: skewX(-30deg) rotate(60deg) skewX(30deg);
    transform: skewX(-30deg) rotate(60deg) skewX(30deg);
    overflow: hidden;
}
.hex-item-inner-2 .bck-img {
    margin-top: -3em;
    margin-left: 1.6em;
    height: 20em;
    line-height: 20em;
    text-align: center;
    content: '';
    background-position: center;
    background: #ccc;
    -moz-transform: skewX(-30deg) rotate(-90deg);
    -ms-transform: skewX(-30deg) rotate(-90deg);
    -webkit-transform: skewX(-30deg) rotate(-90deg);
    transform: skewX(-30deg) rotate(-90deg);
    overflow: hidden;

     filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    -moz-filter: grayscale(100%); 
    filter: grayscale(100%);
}
.faculty-page .hex .hex-wrap:hover .bck-img {
    filter: none;
    -webkit-filter: none;
}

.page-404 {
    padding-top: 200px;
}
.page-404 h1, .page-404 h2{
  font-weight: 500;
}
.page-404 h2{
  font-size: 2rem;
}
.sail-page .page-404 h2 a{
  margin-top: 0px;
}

#ctf .ctf-tweet-actions a.ctf-like, #ctf .ctf-tweet-actions a.ctf-reply, #ctf .ctf-tweet-actions a.ctf-retweet {
	color: rgb(0 0 0 / 68%) !important;
}


/* Media Queries */

@media (min-width: 300px) and (max-width: 734px) {
    .faculty-page #results-list{
      text-align: center;
    }
    .faculty-page .hex:nth-child(n+2) {
      margin-top: -40px;
    }

    .faculty-page .hex:nth-child(3n+3) {
        margin-left: 64px;
        margin-right: 71px;
    }
    .faculty-page .hex-container.container {
        width: 100%;
        max-width: 450px;
    }
    .faculty-page .hex {
        /*width: 14.5em;
        height: 12.7em;
        margin-left: -100px;*/
        width: 10.5em;
        height: 9.7em;
        margin-left: -6px;
    }
    .faculty-page .hex-item-inner-2 .bck-img {
        /*background-position: top 5px left;
        width: 220px;*/
        background-position: top 5px right -30px;
        width: 200px;
    }
    .faculty-page .name-wrap .name{
      bottom: 20px;
    }

}

@media (min-width:735px) and (max-width: 840px){
  .faculty-page .hex:nth-child(5n+4){
    margin-left: 108px;
  }
  .faculty-page .hex:nth-child(n+3) {
    margin-top: -60px;
  }
  .hex-container.container {
    max-width: 720px;
  }
}
@media (min-width: 840px){
  .faculty-page .hex:nth-child(n+4) {
    margin-top: -60px;
  }
  
  .hex:nth-child(5n+4){
    margin-left:108px;
  }
  .hex-container.container {
        max-width: 677px;
    }

}

@media screen and (min-width: 992px){
  .hex:nth-child(5n+4){
    margin-left:0px;
  }
  .faculty-page .hex:nth-child(7n+5){
    margin-left: 109px;
  }
  .hex-container.container{
    max-width: 960px;
  }
	.groups-page .join-groups {
		padding-top: 20px;
	}
}
@media screen and (min-width: 1025px){

 
  #only-desktop{
    display: block;
  }

  
 
}
@media (min-width: 1100px){
 
}

@media (min-width: 1200px){
   .hex:nth-child(5n+4){
    margin-left:0px;
  }
  .faculty-page .hex:nth-child(9n+6){
    margin-left: 109px;
  }
  .faculty-page .hex:nth-child(7n+5){
    margin-left: 0px;
  }
  .hex-container.container {
      max-width: 1140px;
  }
	
}


@media screen and (max-width: 1700px){
  
}

@media screen and (max-width: 1400px){
  
}

@media screen and (max-width: 1300px){

   .affiliates-page .aff-overview-img{
        max-width: 600px;
   }
   
}


@media screen and (max-width: 1200px){
  .collapse:not(.show) .navbar-nav, .collapse:not(.show){
        display: block;
    }
    .navbar-toggler:hover, .navbar-toggler:focus {
      text-decoration: none;
      outline: none;
    }

    .navbar-collapse {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        -ms-flex-positive: 1;
        flex-grow: 1;
        -ms-flex-align: center;
        align-items: center;

            width: 230px;
        background: #fff;
        position: absolute;
        top: 0;
        right: -230px;
        padding: 80px 0px 25px 0px;
        max-height: calc(100vh);
        min-height: calc(100vh);
        overflow: auto;
        height: auto;
        text-align: left;

        transition: all 0.25s ease-out;
          -webkit-transition: all 0.25s ease-out;
          -moz-transition: all 0.25s ease-out;
          -o-transition: all 0.25s ease-out;


        

    }
    .navbar-collapse.show{
        transition: all 0.25s ease-out;
          -webkit-transition: all 0.25s ease-out;
          -moz-transition: all 0.25s ease-out;
          -o-transition: all 0.25s ease-out;

          box-shadow: 0px 0px 30px rgba(0,0,0,0.1);
          right: 0px;
    }
    .navbar-expand-lg .navbar-nav {
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .navbar-toggler{
          position: relative;
          z-index: 10;
          border: 0px;
    }
   
    .mobile-nav .navbar-toggler .animated-icon span, .mobile-nav .navbar-toggler .home .animated-icon span {
        background: #243440 !important;
    }
   
    .animated-icon {
        width: 30px;
        height: 24px;
        position: relative;
        margin: 0px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    .animated-icon span {
        background: #243440;
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }   
      /* Icon 3*/

      .animated-icon span:nth-child(1) {
      top: 0px;
      }

      .animated-icon span:nth-child(2), .animated-icon span:nth-child(3) {
      top: 10px;
      }

      .animated-icon span:nth-child(4) {
      top: 20px;
      }

      .animated-icon.open span:nth-child(1) {
      top: 11px;
      width: 0%;
      left: 50%;
      }

      .animated-icon.open span:nth-child(2) {
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
      }

      .animated-icon.open span:nth-child(3) {
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
      }

      .animated-icon.open span:nth-child(4) {
      top: 11px;
      width: 0%;
      left: 50%;
      }


   .span10 {
        width: 730px;
    }

	.homepage .overview h1{
		font-size: 3.375rem;
	}
    /* Affiliates */
    .affiliates-page .members{
      background-size: 120%;
    }
    .affiliates-page .blue-box li {
        min-height: 48px;
    }

    .faculty-box .text-wrap {
        min-height: 240px;
    }
    .ind-box .text-wrap {
        min-height: 350px;
    }
}




/***
****  TABLET DEVICES ****
****/

@media screen and (max-width: 1024px) {
  #only-desktop{
        display: none;
      }


}


@media screen and (max-width: 991px) {
  
      .hexagon-wrapper .img-hex {
        width: 100%;
        max-width: 140px;
      }
      .hexagon-wrapper .hex-img.hex-1 {
          top: 0;
          left: 78px;
      }
      .hexagon-wrapper .hex-img.hex-2 {
          top: 0;
          left: 237px;
      }
      .hexagon-wrapper .hex-img.hex-3 {
          top: 135px;
          left: 0px;
      }
      .hexagon-wrapper .hex-img.hex-4 {
          top: 135px;
          left: 158px;
      }
      .hexagon-wrapper .hex-img.hex-5 {
          top: 270px;
          left: 78px;
      }
      .hexagon-wrapper.internal-hexagon {
          position: relative;
          left: 0px;
          width: 672px;
          top: 0;
          margin-top: 30px;
          margin-left: auto;
          margin-right: auto;
          min-height: 500px;
      }
      .hexagon-wrapper .big-hex {
          max-width: 420px;
      }
      .hexagon-wrapper .mid-hex {
          max-width: 224px;
      }
      .hexagon-wrapper .small-hex {
          max-width: 182px;
      }



      /*Footer*/
      .span2 {
          margin-left: 0;
          width: 100%;
          text-align: center;
          margin-bottom: 10px;
      }
      .span10 {
          width: 100%;
          text-align: center;
          margin-left: 0px;
      }
      #bottom-menu {
          float: none;
          text-align: center;
      }
      #bottom-menu ul {
          margin-bottom: 0.5em;
      }
      #bottom-menu ul li {
          float: none;
          display: inline-block;
      }

      /* Homepage */
      .homepage .overview .text-wrap {
        margin: 50px 0 0 0px;
      }
      .homepage .overview h1{
        font-size: 3.5rem;
      }
      .homepage .announcement p {
          width: 100%;
      }
      .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
      }
      #ctf.ctf-masonry .ctf-item{
        width: 45% !important;
      }


      /* Courses */
      .courses-page .tablecourses .number {
        width: 20%;
        padding: 10px;
      }

      /* Affiliates */
     .affiliates-page .aff-overview-img {
          position: relative;
          left: 0px;
          top: 40px;
          margin: auto;
          display: block;
      }
      .groups-page .join-groups {
        padding-top: 80px;
      }
      .affiliates-page .overview, .sail-page .overview {
          padding-top: 160px;
      }
      .affiliates-page .benefits .container, .affiliates-page .benefits .container .col-12 {
          padding: 0;
          width: 100%;
          max-width: 100%;
      }
      .affiliates-page .blue-box{
            padding: 64px 45px 75px 45px;
      }
      .affiliates-page .blue-box li{
            padding-right: 15px;
            width: 48%;
      }
	.fellows-page .blue-box li{
            padding-right: 15px;
            width: 100%;
      }
      .affiliates-page .members .logo-img {
        max-width: 220px;
      }
      .sail-page iframe {
          overflow: auto;
          width: 100%;
      }

      .faculty-box .text-wrap {
          min-height: 180px;
      }
      .ind-box .text-wrap {
          min-height: 220px;
      }

}

@media screen and (max-width: 768px){
 
}

/***
****  MOBILE DEVICES ****
****/

@media screen and (max-width: 767px){
    
    section {
      padding: 80px 0 90px 0;
    }
     h1, h2 {
        font-size: 2.125rem;
    }
    header .icon-logo {
      max-width: 160px;
    }
    header .navbar.navbar-inverse .icon-logo {
        max-width: 120px;
    }
    .hexagon-wrapper {
        width: 100%;
        position: relative;
        min-height: 420px;
        margin-top: 30px;
    }
    .hexagon-wrapper.internal-hexagon {
        position: relative;
        left: 0px;
        width: 100%;
        max-width: 450px;
        top: 0;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        min-height: 420px;
    }
    .hexagon-wrapper .hex-img.hex-mid {
        top: 146px;
        right: 0;
    }
    .hexagon-wrapper .big-hex {
        max-width: 300px;
    }
    .hexagon-wrapper .mid-hex {
        max-width: 130px;
    }
    .hexagon-wrapper .small-hex {
        max-width: 120px;
    }
    .hexagon-wrapper .hex-img.hex-small {
        top: 276px;
        right: 81px;
    }
    /* Homepage */
    .homepage .overview{
      padding-top: 120px;
      background: url(../images/home-hero-bg-mobile.png) no-repeat center bottom 150px transparent;
    background-size: cover;
    }
    .homepage .overview h1 {
        font-size: 2.5rem;
    }
    .homepage .overview .col-12.col-md-7.offset-lg-1 {
        padding: 0;
        overflow: hidden;
    }
    .homepage .sail-overview-img {
        margin-left: 0%;
        width: 120%;
        margin-top: 40px;
    }
    .homepage .latest-news {
        background: url(../images/home-news-bg-mobile.png) no-repeat top center transparent;
        background-size: 950px;
    }
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .homepage .affiliates, .groups-page .affiliates{
      padding: 100px 0;
    }
    #ctf.ctf-masonry .ctf-item{
      width: 100% !important;
      margin: 15px 0px !important;
    }
    .homepage .twitter-link {
        display: block;
        margin-right: 0px;
        text-align: left;
        margin-bottom: 20px;
    }
    /* Courses */
    .courses-page .tablecourses thead{
      display: none;
    }
    .courses-page .sort-drop {
        text-align: center;
        margin-bottom: 40px;
    }
    .courses-page .table-courses .title {
        display: block;
        font-size: 0.875rem;
        margin-bottom: 2px;
    }
    .courses-page .table-courses .course-name {
        font-weight: 600;
        margin-bottom: 10px;
        display: block;
    }
    .courses-page .table-courses .numbercourse {
        float: left;
        width: 110px;
    }
    .courses-page .table-courses .instructorcourse {
        float: left;
        width: calc(100% - 110px);
    }
    .courses-page .tablecourses .number {
        width: 100%;
        padding: 20px;
    }
    .courses-page .tablecourses .number .instructor-link {
        color: #006CB8;
    }
    .courses-page .courses {
        padding-top: 120px;
    }
    .courses-page .season-filters .button-filter{
       padding: 5px 9px;
      font-size: 0.875rem;
    }

    /* Affiliates */
    .affiliates-page .overview{
      background: url('../images/affiliates-bg-1-mobile.png') no-repeat top center transparent;
      background-size: cover;
    }
    .affiliates-page .members,.affiliates-page .affiliates-first{
      background: transparent;
    }
    .affiliates-page .members{
      padding: 100px 0;
    }
    .affiliates-page .requirements {
      background: url(../images/affiliates-bg-2-mobile.png) no-repeat center center transparent;
      background-size: cover;
    }
    .affiliates-page .overview {
        padding-top: 70px;
        padding-bottom: 0px;
    }
    .affiliates-page .aff-overview-img {
        position: relative;
        left: 0;
        top: inherit;
        padding: 24px 20px 0px 20px;
        margin-bottom: -30px;
    }
    .affiliates-page .benefits .col-12 {
        padding: 0px;
    }
    .affiliates-page .blue-box li {
          width: 100%;
          margin-right: 0;
          min-height: 0px;
          padding-right: 0px;
      }

    .blue-box {
        background: #006CB5;
        color: #fff;
        padding: 70px 25px 45px 25px;
    }
	.fellows-page .benefits .blue-box {
        margin-top: 80px;
		padding: 64px 90px 75px 90px;
    }
    .groups-page .join-groups {
      padding-top: 120px;
    }
    .faculty-box .text-wrap {
        min-height: 0px;
        margin-bottom: 25px;
    }
    .groups-page  .faculty-box, .groups-page .ind-box {
        max-width: 358px;
        margin-left: auto;
        margin-right: auto;
    }
    .groups-page .join-indiv{
      padding-top: 110px;
    }
    .ind-box .text-wrap {
        min-height: 0;
    }

    .about-page, .faculty-page .faculty{
      background: url('../images/mobile-bg-tile.png') no-repeat top 60px center transparent;
      background-size: 826px;
    }
    .about-page .letter h2{
      width: 100%;
    }
    .about-page .supported_prof {
        margin-bottom: 40px;
    }
    .about-page .contact, .about-page .overview{
      background: transparent;
    }
    .about-page .contact{
      padding: 80px 0 100px 0;
    }
    .about-page .contact h2 {
        margin-bottom: 40px;
    }
    .about-page .map {
      margin-bottom: 30px;
    }
    .about-page .contact .inquiries {
        margin-top: 0px;
    }
    .about-page .letter .text-center {
        text-align: left !important;
    }
    .about-page .staff .staff-img{
      margin-top: 30px;
    }
    .about-page .staff h2 {
        margin-bottom: 30px;
    }
        
    .faculty-page{
      background:transparent;
    }
    .faculty-page .faculty{
      padding: 120px 0 150px 0;
    }
    .faculty-page h2, .faculty-page h1 {
        margin-bottom: 50px;
        font-size: 2.125rem;
    }

    #top-link-block.affix {
      right: 20px;
    }
}


@media screen and (max-width: 767px) and (orientation: landscape){
   

}
@media screen and (max-width: 585px){
  #bottom-menu {
      display: flex;
      flex-flow: row wrap;
      justify-content: center;
  }
  #bottom-menu ul li {
    display: block;
    line-height: 1.8em;
    text-align: left;
  }

  .homepage .sail-overview-img {
        margin-left: -10%;
      }

  .hexagon-wrapper .img-hex {
    width: 100%;
    max-width: 130px;
  }
  .hexagon-wrapper .hex-img.hex-1 {
      top: 0;
      left: 78px;
  }
  .hexagon-wrapper .hex-img.hex-2 {
      top: 0;
      left: 223px;
  }
  .hexagon-wrapper .hex-img.hex-3 {
      top: 125px;
      left: 7px;
  }
  .hexagon-wrapper .hex-img.hex-4 {
      top: 125px;
      left: 150px;
  }
  .hexagon-wrapper .hex-img.hex-5 {
    top: 250px;
    left: 78px;
  }

  .hexagon-wrapper.internal-hexagon {
        position: relative;
        left: 0px;
        width: 100%;
        max-width: 350px;
        top: 0;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        min-height: 320px;
    }
    .hexagon-wrapper .hex-img.hex-mid {
        top: 78px;
        right: 0;
    }
    .hexagon-wrapper .big-hex {
        max-width: 210px;
    }
    .hexagon-wrapper .mid-hex {
        max-width: 120px;
    }
    .hexagon-wrapper .small-hex {
        max-width: 100px;
    }
    .hexagon-wrapper .hex-img.hex-small {
        top: 200px;
        right: 81px;
    }
    .fellows-page .benefits .blue-box {
		padding: 64px 45px 75px 45px;
    }
}
@media screen and (max-width: 577px){
    
}