body {
}

.navbar-fixed-top .nav {
    padding: 40px 0 0 0;
}

.navbar {
    border-width: thin;
    -webkit-transition: .2s;
    position: fixed;
    height:101px;
    background-color: transparent;
    background: rgba(0,0,0,0.5);
	
	margin-bottom:0;
}

.navbar a {
	color:#fff;
}

.navbar-fixed-top .navbar-brand {
    padding: 0px 0px;
    margin-left: 15px;
}

.navbar-header .icon-bar {
    background-color: black;
}
.navbar-nav>li{
   padding:0 5px;

}


.navbar-nav > li > .navbar-active {

}

.navbar-scroll {
  background-color: white;
    animation-duration: 2s;
    animation-name: smooth;
    -moz-box-shadow: 1px 1px 1px #999;
    -webkit-box-shadow: 1px 1px 1px #999;
    box-shadow: 1px 1px 1px #999;
}

.jupytercon-nav > li > .black-tab {
    color: black;
}

.navbar-logo {
    height: 60px;
}

.nav > li > .on {
	
	    background: rgba(255,126,0,.8);
}

.nav > li > a {
	height:60px;
	padding:0 5px;
    font-size: 14px;
    padding: 12px 12px 10px;
}

.nav > li > a:hover {
    background-color: transparent;
    -webkit-transition: .05s;
	border-bottom:2px solid #ff7e00;
	    background: rgba(255,126,0,.8);
}

.nav > li > a:focus {
}

.nav > li > a:active {
}

.nav > li > a:visited {
}

.tab:hover {
    background-color: transparent;
    color: #E46E2E;
}

.footer {
    background-color: #979797;
}

.footer p {
    color: white;
    padding-top: 10px;
}

.footer li {
    color: white;
    display: inline-block;
    text-decoration: none;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer li::after {
    content:" |";
}

.footer li:last-of-type::after {
    content:"";
}

.footer-text {
    font-size: 16px;
    margin-left: 0;
    padding-left: 0;
}

/*Main logo animation on the front page of the Jupyter website */
#main-logo {
	height: calc(100% - 20px);
	margin-top: 10px;
    padding-left: 20px;
}

@-webkit-keyframes fadeIn { from { opacity:0;} to { opacity:1;} }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0;} to { opacity:1;} }
/*This entire section related to fading is for the front page with the Jupyter logo*/
.fade-in {
    -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animation ease-in and repeat it only 1 time */
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;

    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    animation-duration:1s;

    -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;

    opacity:0;  /* make things invisible upon start */
}

.fade-in.one {
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.fade-in.two {
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay:0.7s;
    animation-delay: 0.7s;
}

.fade-in.three {
    -webkit-animation-delay: 1.1s;
    -moz-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

.jumbotron {
    background-color: white;
    margin-top:30px;
    overflow: hidden;
}

.jumbotron img {
    margin: 0 auto;
}

.jumbotron-text {
    padding-bottom: 32px;
    text-align: center;
}

.img-container {
    height: 100%;
    margin: 0 auto;
    position: absolute;
    text-align: center;
    width: 95%;
}

.img-container img {
    vertical-align: middle;
}

/* Convention banner */

.con-jumbotron {
    margin: 0 !important;
    padding: 0 !important;
}

.con-container {
    background-image: url('../assets/jupytercon-ny.png');
    background-size: 100%;
    background-repeat: no-repeat;
    min-height: 500px;
    text-align: right;
}

.con-content {
    max-width: 1200px;
    margin: 0 auto;
    float: none !important;
}

.con-title {
    float: right;
    clear: both;
}

.con-subtitle {
    float: right;
    clear: both;
    margin: 0;
    font-family: "Helvetica Neue";
    font-weight: 300;
    margin-right: 25px;
}

.con-date {
    font-family: "Helvetica Neue";
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    float: right;
    margin-right: 25px;
    margin-top: 36px;
    margin-bottom: -10px
}

.con-copy {
    font-family: "Helvetica Neue";
    font-size: 18px;
    line-height: 21px;
    font-weight: 200;
    color: #FFFFFF;
    text-align: right;
    float: right;
    width: 460px;
    height: 44px;
    clear: both;
    margin-right: 28px;
    margin-bottom: 8px;
}

.con-big-copy {
    font-family: "Helvetica Neue";
    font-size: 28px;
    line-height: 33px;
    font-weight: 200;
    color: #FFFFFF;
    text-align: right;
    float: right;
    width: 460px;
    height: 34px;
    clear: both;
    margin-right: 28px;
    margin-bottom: 27px;
}

.con-button {
    float: right;
    clear: both;
    margin-right: 28px !important;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

/* Reusable elements */

/* Header section of each page */
.header {
    padding-top: 42px;
    padding-bottom: 42px;
    text-align: center;
}

.header-darkgray {
  /* Only using dark gray for documentation page, add padding top to center in header */
  background-color: #757575;
  color: white;
}

.header-grey {
  background-color: #f5f5f5;
}

.header-white {
  background-color: white;
}

.header p {
  margin: 0 30%;
}

/* Section elements */
/* Section classes used for particular sections within a page. Sections should differ in background color when used next to each other */
.section-white {
    background-color: white;
    padding: 56px 0;
}

.section-grey {
  background-color: #f5f5f5;
  border-bottom: 1px solid #E0E0E0;
  border-top: 1px solid #E0E0E0;
  padding: 56px 0;
}

/* Used to specifying when a section is at the top or bottom of the page to apply appropriate border */
.top-section-border {
    border-top: 1px solid #E0E0E0;
}

.bottom-section-border {
    border-bottom: 1px solid #E0E0E0;
}

.section-content {
    display: block;
    margin: 0 auto;
}

/* Icon above section header */
.section-icon {
    display: block;
    margin: 0 auto;
}

/* Header for each section */
.section-header {
    margin: 12px auto 8px;
    text-align: center;
}

/* Used for descriptions of sections underneath section headers*/
.support-paragraph {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: center;
}

/* Orange action button */
.orange-button {
    background-color: #E46E2E;
    border-radius: 2px;
    color: white;
    display: inline-block;
    font-size: 16px;
    padding: 13px 26px;
    text-align: center;
    text-decoration: none;
    margin: 0px 4px 0px 4px;
}

.orange-button:hover {
    background-color: #F27624;
    color: white;
    text-decoration: none;
}

.orange-button:active, .orange-button:focus {
    background-color: #DC601C;
    color: white;
    text-decoration: none;
}

/* Jupyter Notebook highlight section on front page */
.nb-highlight-text {
    margin-top: 60px;
}

.notebook-icon {
    height: auto;
    margin-right: 12px;
    width: 60px;
}

/* Give space between the notebook features (4 features) on front page and the     img + description */
.notebook-features {
    margin-top: 32px;
}

.notebook-features p{
    padding-top: 16px;
}

.nb-desc {
    font-weight: 400;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 32px;
}


.jupytercon-section {
    background: url('/assets/jupytercon-ny.jpg');
    background-size: 100%;
    color: white;
    border-bottom-color: #e0e0e0;
    border-left-style: none;
    border-style: solid;
    border-top-color: #e0e0e0;
    border-width: thin;
    border-right: 0px;
    padding: 24px 0 42px 0;
    text-align: center;
    min-height: 300px;
    padding-top: 55px;
}

.jupytercon-section p{
  margin-bottom: 40px;

}
.jupytercon-section p a{
    color: white;
    text-decoration: underline;
}


/* Install prompt on front page */
.install-prompt {
    background-color: #f5f5f5;
    border-bottom-color: #e0e0e0;
    border-left-style: none;
    border-style: solid;
    border-top-color: #e0e0e0;
    border-width: thin;
    border-right: 0px;
    padding: 24px 0 42px 0;
    text-align: center;
}

.prompt-header {
    margin-bottom: 16px;
}

/* Companies section for only "Currently in use" (this section acts differently than customer logos in the "About" section of the site) */

/*Section-center is used to center the companies on the home page & get rid of padding on left associated with ul*/
.section-center {
    text-align: center;
}


.companies li {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    padding: 1%;
    vertical-align: middle;
    width: 20%;
}

.companies .col img{
    display: block;
    width: 100%;
    max-height: 60px;
}
.companies li a p{    
	width:100%;
	height:52px;
	line-height:36px;
	overflow:hidden;
	font-size:14px;
	text-align: center;
    /* background: #939393; */
    color: #fff;}
	
.greydout {
    transition: all .5s ease;
}

.greydout:hover {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

/* JupyterHub section on front page */
/* Feature-middle is for the JupyterHub features that are in the middle that need to be offset to sit on the track */
.feature-middle {
    margin-top: 40px;
}

.hubfeature {
    text-align: center;
}

.hubfeature img {
    margin: 0 auto;
}

.hubfeatures {
    background: url("../assets/line.svg");
    background-position:  top center;
    background-repeat: no-repeat;
    /* Padding that is used to make the hubfeature circles sit on track */
    padding-top: 48px;
}

/* Architecture section on front page */
.arcfeature {
    background-color: white;
    border: 1px solid #CCC;
    border-radius: 5px;
    height: 300px;
    margin: 0 auto;
    text-align: center;
    width: 300px;
}

.arcfeature .front img, .arcfeature .front2 img, .arcfeature .front3 img {
    margin-bottom: 40px;
    margin-top: 15px;
}

.arcfeature .back p {
    margin-top: 40px;
}

/* Specific grey button used on each card in the Architecture section on the front page of the site */
.arc-button {
    background-color: #8D8D8D;
    border-radius: 2px;
    color: white;
    font-size: 20px;
    padding: 8px 26px;
    text-decoration: none;
}

#arcfeature1 a:hover, #protocol a:hover, #kernel a:hover {
    background-color: #DB5106;
    box-shadow: 0 3px #863001;
}

.card {
    display: block;
    height: 100%;
    margin: 0 auto;
    text-align: center;
}
/* Used to make cursor turn to link specific cursor when hovering over architecture buttons */
.bt, .bt1, .bt2 {
    cursor: default;
}

/* Styling for each card in the architecture section on front page. Each card needs it's own front class to work with the javascript associated with the cards */
.card .front, .card .front2, .card .front3 {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    height: 275px;
    position: absolute;
    text-align: center;
    -webkit-transition: -webkit-transform 0.3s linear 0s;
    transition: transform 0.3s linear 0s;
    width: 275px;
}

.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.content-back p{
    margin-bottom: 16px;
    margin-top: 10px;
}

.card .back{
    text-align: center;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.arcfeature a {
    color: white;
    text-decoration: none;
}

.arcfeature img {
    margin: 0 auto;
    padding-bottom: 5%;
    padding-top: 1%;
}

.arcfeature {
    display: inline-block;
}

/*About Page */
/* Used to position the replacement SVG image when a screen is too small for the D3 visualization of contributors */
#visualization svg{
    display: block;
    margin: 0 auto;
}



/* Used to style the clickable tabs within the governance section */
.clickable {
    cursor: default;
    display: inline-block;
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: 20px;
    text-decoration: none;
}

.clickable:hover {
    color: #E46E2E
}

/* Active state when a tab in the governance section is selected */
.menuClicked {
    color: #E46E2E;
}

/* Used to style the description of a particular tab within the governance section */
.governance-desc {
    border-color: black;
    border-color: #979797;
    border-radius: 5px;
    border-style: solid;
    border-width: thin;
    min-height: 100px;
    padding: 30px;
    transition: all 1s;
}

/* Donate Page */
.donate-box {
    background-color: white;
    border-color: #e0e0e0;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    margin-top: 32px;
    padding: 32px;
}

#donate-formatting {
    width: 100%;
    text-align: center;
}

#donate-formatting a {
    width: 250px;
    box-sizing: border-box;
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 16px;
}

#numfocus-logo {
    height: 100px;
    width: auto;
    margin: auto;
}

/*Community Resources Page */

/* Resource section is used to create a new resource on the community resources page. */
.resource-section {
    border-bottom: 1px solid #E8E8E8;
    padding: 16px;
    vertical-align: middle;
}

/* Used to specify that the last resource should not have a border underneath it's content */
.resource-section:last-child {
    border-bottom: none;
}

.resource-text {
    text-align: left;
    vertical-align: middle;
}

.resource-logo {
    display: block;
    height: 80px !important;
    margin: 0 auto;
}

.resource-name {
     margin-top: 6px;
}

.resource-button {
    margin-top: 32px;
    text-align: center;
}

.resource-button a {
    background-color: #E46E2E;
    border-radius: 2px;
    color: white;
    letter-spacing: 1px;
    padding: 13px 60px;
    text-decoration: none;
    -webkit-transition: .2s;
}

.resource-button a:hover {
    background-color: #F27624;
}

.navbar-toggle > .white-icon-bar {
    background-color: #FFF;
}

.navbar-fixed-top .navbar-collapse {
    max-height: 440px;
}

.jupytercon-button {
    padding: 16px;
}

/* Bootstrap Breakpoint Media Queries */
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .section-white, .section-grey {
    padding: 5% 0;
  }
}

@media (max-width: 1200px) {
    .nb-highlight-text {
        margin-top: 32px;
    }
    .notebook-features .language-set h2{
        padding-top: 0;
    }
    .notebook-features #feature {
        padding-top: 4px;
    }
    .notebook-preview p {
        font-size: 15pt;
        line-height: 25pt;
    }
    .companies li{
        width:23%;
    }
}

@media (max-width: 1024px) {
	
	.nav > li > a {
		padding: 12px 5px 10px;
	}
	
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.375;
    }
    h4 {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.22;
    }
    h3 {
        font-size: 28px;
        font-weight: 500;
        line-height: 1.25;
    }
    h2 {
        font-size: 36px;
        font-weight: 500;
        line-height: 1.25;
    }
    h1 {
        font-size: 48px;
        font-weight: 500;
        line-height: 1.05em;
    }
    .follow {
        float: right;
        margin-top: 15px;
    }
}

@media (max-width: 992px) {
    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.25em;
    }
    h4 {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.11em;
    }
    h3 {
        font-size: 22px;
        font-weight: 500;
        line-height: 1.136em;
    }
    h2 {
        font-size: 26px;
        font-weight: 500;
        line-height: 1.153em;
    }
    h1 {
        font-size: 32px;
        font-weight: 500;
        line-height: 1.25em;
    }
    .nb-highlight-text {
        text-align: center;
    }
    .notebook-features {
        margin-top: 0;
    }
    .language-set #feature {
        display: block;
    }
    .notebook-preview img {
        margin: 0 auto;
    }
    .notebook-icon {
        display: block;
        margin: 0 auto;
        padding-bottom: 10px;
    }
    .notebook-preview h1 {
        text-align: center;
    }
    .notebook-features  img {
        margin: 0 auto;
        width: 125px;
    }
    .notebook-features {
        text-align: center;
    }
    .notebook-feature {
        padding-top: 40px;
    }
    .hubfeatures{
        background: none;
    }
    #data {
        padding-top: 40px;
    }
    .hubfeature h2 {
        text-align: center;
    }
    #hublogo {
        width: 60%;
    }
    .architecturedescription h2 {
        text-align: center;
    }
    .architecturedescription p {
        text-align: center;
    }
    .donate-box {
        margin-top: 10%;
    }
    .resource-section {
        height: 400px;
        padding: 10px 0 30px;
    }
    .resource-section:nth-child(even) {
        border-left: 1px solid #E8E8E8;
    }
    .resource-section img {
        margin-top: 15px;
        padding-bottom: 0;
    }
    .resource-content {
        padding-top: 48px;
    }
    .resource-text {
        padding-top: 0;
        text-align: center;
    }
    .navbar-logo {
      height: 36px;
      margin-top: 4px;
    }
    .nav>li>a {
        letter-spacing: .8px;
        font-size: 13px;
        padding-left: 8px;
        padding-right: 8px;
    }
    .follow {
        float: left;
        margin-bottom: 20px;
    }
    .navbar-text {
        margin-left: 0px;
    }
}

.navbar-brand {
    height: 60px;
    /* overflow: hidden; */
}

/* Small devices (tablets, 768px and up) */
@media(min-width:768px) {
    .container {
        margin-left:10px;
        margin-right:10px;
        width: calc(100% - 20px);
    }

    .navbar-right {
        margin-right: 10px;
    }



    .navbar-fixed-top .navbar-brand {
        padding: 15px 0;
    }
    .tab {
        text-align: center;
    }
    .navbar-toggle {
        margin-top: 20px;
    }

}

@media (max-width: 768px) {
	.navbar {
		height:60px;
	}

    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.25em;
    }
    h4 {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.11em;
    }
    h3 {
        font-size: 22px;
        font-weight: 500;
        line-height: 1.136em;
    }
    h2 {
        font-size: 26px;
        font-weight: 500;
        line-height: 1.153em;
    }
    h1 {
        font-size: 32px;
        font-weight: 500;
        line-height: 1.25em;
    }
    .nav>li>a {
        letter-spacing: 1px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .navbar-header {
        margin-bottom: 0;
    }
    .navbar-toggle {
        padding-top: 10px;
    }
    .navbar-logo {
        height: 40px;
        margin-top: 6px;
    }
    .companies li {
        width: 30%;
    }
    body {
        padding-top: 50px;
    }
    .jumbotron {
        margin-right: 5%;
    }
    .jupytercon-jumbotron {
        margin-right: 0px;
    }
}

/* Extra small devices (these are mostly fixes to make sure elements act correctly to look good) */
@media(max-width:509px) {
    .install-button {
        margin-top: 20px;
    }
    .items {
        min-height:0;
        padding:10px;
    }
    .follow {
        float: none;
        display: block;
        margin: 0 auto;
    }
    .footer {
        padding-bottom: 15px;
        text-align: center;
    }
    .con-subtitle {
        font-size: 20px
    }
	.companies li {
        width: 50%;
    }
}

@media(max-width: 992px) {
    .navbar-brand {
       width: 30px;
    }

    .con-container {
        background-image: url('../assets/jupytercon-ny.png');
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 500px;
        text-align: right;
    }
    .con-subtitle {
        color: #FFFFFF;
        font-weight: 400;
    }
}

@media(max-width: 768px) {
    .con-copy {
        height: auto;
        width: auto;
    }
    .con-big-copy {
        height: auto;
        width: auto;
    }
	
	
	/*****phone nav****/
	.navbar-nav {margin-top:2px;}
	.navbar-fixed-top .navbar-collapse {max-height:500px;padding:0 0 0 0; }
	.navbar-fixed-top .nav{padding:0 0 0 0;}
	.navbar-nav>li {background:rgba(0,0,0,.8); text-align:center;border-top:1px solid #999;line-height:60px;}
	.nav>li>a {text-align:center;line-height:40px;}
	.nav>li>a:hover {color:#ff7e00;}
	
}
