/* Responsive product header styles.

   @file        global.css.en
   @author      marionm, yhechler
   ========================================================================== */

:root {
    /* heights */
    --careers-header-height: 42px;
    --careers-header-landing-height: 55px;
    /* colors */
    --careers-header-red: #ba1c12;
    --careers-header-orange: #ff7e00;
    --careers-header-yellow: #ffcc51;
}
* {
    box-sizing: border-box;
}
.inner {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    margin: 2rem auto;
    max-width: 68.875rem;
    padding: 0 3.125rem;
}
#banner {
    margin-top: 1.5rem;
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.grid-container p {
    max-width: 95%;
}
#banner .grid-container>div {
    margin-top: 6%;
    padding: 0 0 0 30px;
}
section:last-child {
    padding: 0 0 4.5rem;
}
header .inner h1 {
    font-size: 2.5rem;
    margin: 2.9rem 0 0;
}
#header .inner {
    margin-bottom: 0.5rem;
}
.inner h1 {
    color: #333333;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 1.8rem;
}
header+section h1 {
    line-height: 1;
    position: relative;
    top: -.4rem;
}
.inner h2 {
    color: #f77700;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 2.2rem 0 .7rem;
}
.inner p {
    color: #545454;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.inner a {
    color: #dd1100;
    text-decoration: none;
}
.inner a:hover {
    color: #f77700;
}
#intro .inner>p {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 2.6rem 0;
}
#home nav a.home, #wolfram-principles nav a.wolfram-principles, #locations nav a.locations, #resources nav a.resources, #students nav a.students, #job-openings nav a.job-openings {
    color: #222;
}
#home nav a.home:hover, #wolfram-principles nav a.wolfram-principles:hover, #locations nav a.locations:hover, #resources nav a.resources:hover, #students nav a.students:hover, #job-openings nav a.job-openings:hover {
    color: #f77700;
}
#job-openings nav a.job-openings {
    border-color: #bbb;
}
#job-openings nav a.job-openings:hover {
    border-color: #f77700;
}
a.button, #opportunities .rbox-btn {
    border-radius: 5px;
    border: 1px solid #dd1100;
    display: inline-block;
    padding: .2rem .5rem;
}
a.button:hover {
    border: 1px solid #f77700;
}
a.large {
    font-size: 1.5rem;
    padding: .5rem 1rem;
}
a.medium {
    font-size: 1.125rem;
}
a.red, #opportunities .rbox-btn {
    background: #dd1100;
    color: #fff;
}
a.red:hover, #opportunities .rbox-btn:hover {
    background: #fe0000;
    border: 1px solid #b00f00;
    color: #fff;
}
a.red:active, #opportunities .rbox-btn:active {
    background: #b00f00;
    border: 1px solid #b00f00;
}
a.red-button, #opportunities .rbox-btn {
    background: #dd1100;
    color: #fff;
    padding: 0.5rem;
}
a.red-button:hover, #opportunities .rbox-btn:hover {
    background: #fe0000;
    border: 1px solid #b00f00;
    color: #fff;
}
a.red-button:active, #opportunities .rbox-btn:active {
    background: #b00f00;
    border: 1px solid #b00f00;
}
main img {
    max-width: 100%;
    height: auto;
}
hr:not(#_footer *) {
    border: 0;
    background: #535353;
    height: 1px;
    margin: 2.5rem 0;
}
.overlay {
    background: #000;
    bottom: 0;
    left: 0;
    opacity: .8;
    position: fixed;
    right: 0;
    top: 0;
}
.box, .box iframe {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99999999999999999999;
}
/* ==========================================================================
   product header wrappers
   ========================================================================== */

#_careers-header {
    color: #333333;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    height: var(--careers-header-height);
    line-height: 1.3;
    margin-top: 0;
    position: sticky;
    top: 100px;
    z-index: 99999999;
}
#_careers-grid {
    align-content: center;
    display: flex;
    justify-content: flex-start;
    white-space: nowrap;
}
html._careers-header-landing #_careers-header:not(.sticky) #_careers-grid {
    justify-content: center;
}
#_careers-backdrop {
    background-color: rgba(0, 0, 0, .3);
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 100px;
    width: 100%;
    z-index: 99999998;
}
html._header-thin-only #_careers-backdrop, html:not(._header-thick) #_careers-backdrop {
    top: var(--careers-header-height);
}
/* ==========================================================================
   product nav wrappers
   ========================================================================== */

#_careers-nav-wrapper {
    align-items: flex-start;
    display: inline-flex;
    justify-content: center;
}
#_careers-nav>ul {
    height: var(--careers-header-height);
    overflow: hidden;
    white-space: normal;
}
html._careers-header-landing #_careers-header:not(.sticky) #_careers-nav>ul {
    height: var(--careers-header-landing-height);
}
#_careers-nav>ul>li {
    display: inline-block;
    height: 100%;
    vertical-align: top;
}
#_careers-nav>ul>li:first-child a {
    padding-left: 0;
}
#_careers-nav>ul>li a:hover {
    color: #f77700;
}
#_careers-nav>ul>li a {
    color: #dd1100;
    text-decoration: none;
}
#_careers-nav a {
    color: #333333;
    display: inline-block;
    font-size: 1.0rem;
    height: 100%;
    line-height: var(--careers-header-height);
    padding: 0 1rem;
    text-align: center;
}
html._careers-header-landing #_careers-header:not(.sticky) #_careers-nav>ul li a {
    line-height: var(--careers-header-landing-height);
}
#_careers-nav a:hover {
    color: var(--careers-header-yellow);
}
#_careers-nav a svg {
    margin: -2px 0 0 .25rem;
}
/* ==========================================================================
   product subnavs
   ========================================================================== */

#_careers-nav ._careers-has-subnav.open>a {
    color: var(--careers-header-yellow);
}
#_careers-nav ._careers-is-subnav {
    position: absolute;
    top: var(--careers-header-height);
    width: 220px;
}
html._careers-header-landing #_careers-header:not(.sticky) #_careers-nav ._careers-is-subnav {
    top: var(--careers-header-landing-height);
}
#_careers-nav ._careers-is-subnav li {
    display: block;
}
#_careers-nav ._careers-is-subnav a {
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: #444;
    display: block;
    font-size: 1rem;
    line-height: 1.3 !important;
    margin-bottom: -1px;
    padding: .5rem 1rem;
    text-align: left;
}
#_careers-nav ._careers-is-subnav a:hover {
    background: #eee;
    color: #000;
}
/* ==========================================================================
   product more nav
   ========================================================================== */

#_careers-more {
    color: #dd1100;
    cursor: pointer;
    display: inline-block;
    font-size: 1.125rem;
    line-height: var(--careers-header-height);
    padding: 0 1rem;
    position: relative;
    text-align: center;
}
html._careers-header-landing #_careers-header:not(.sticky) #_careers-more {
    line-height: var(--careers-header-landing-height);
}
#_careers-more.open, #_careers-more:hover {
    color: var(--careers-header-yellow);
}
#_careers-more svg {
    margin: -2px 0 0 .25rem;
    vertical-align: middle;
}
#_careers-more-nav {
    display: none;
    position: absolute;
    right: 0;
    text-align: left;
    top: var(--careers-header-height);
    width: 220px;
}
#_careers-more.open #_careers-more-nav {
    display: inline-block;
}
html._careers-header-landing #_careers-header:not(.sticky) #_careers-more-nav {
    top: var(--careers-header-landing-height);
}
#_careers-more-nav li {
    display: block;
}
#_careers-more-nav a {
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: #444;
    display: block;
    font-size: 1rem;
    line-height: 1.3 !important;
    margin-bottom: -1px;
    padding: .5rem 1rem;
}
#_careers-more-nav a:hover {
    background: #eee;
    color: #000;
}
/* ==========================================================================
   _careers-job-openings button
   ========================================================================== */

#_careers-job-openings-button {
    display: inline-block;
	line-height:2;
}
#_careers-job-openings-button a {
    background: #fff;
    border-radius: 5px;
    color: #dd1100;
    display: inline-block;
    font-size: 1.0rem;
    line-height: 1.5;
    margin-left: 1rem;
    padding: 0 .75rem;
    white-space: nowrap;
}
#_careers-job-openings-button a:hover {
    background: #fff;
    color: var(--careers-header-yellow);
}
/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
    #_careers-header, html._careers-header-landing #_careers-header:not(.sticky), html._careers-header-landing #_careers-header:not(.sticky) #_careers-nav>ul {
        height: var(--careers-header-height);
    }
    #_careers-nav a, #_careers-more {
        font-size: 1rem;
    }
    html._careers-header-landing #_careers-header:not(.sticky) #_careers-nav>ul>li>a, html._careers-header-landing #_careers-header:not(.sticky) #_careers-more {
        line-height: var(--careers-header-height);
    }
    html._careers-header-landing #_careers-header:not(.sticky) #_careers-nav ._careers-is-subnav, html._careers-header-landing #_careers-header:not(.sticky) #_careers-more-nav {
        top: var(--careers-header-height);
    }
    #_careers-job-openings-button a {
        font-size: 1rem;
        line-height: 26px;
        padding: 0 .5rem;
    }
}
/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    #_careers-nav a, #_careers-more {
        font-size: 1.1rem;
    }
    #_careers-more-nav li a, #_careers-nav ._careers-is-subnav a {
        font-size: 1.15rem;
    }
    html._careers-header-landing #_careers-header:not(.sticky) #_careers-nav>ul>li>a, html._careers-header-landing #_careers-header:not(.sticky) #_careers-more {
        padding: 0 .75rem !important;
    }
}
/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    html._careers-header-landing #_careers-header:not(.sticky) #_careers-grid {
        justify-content: space-between;
    }
    #banner .grid-container>div {
        padding: 0;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .grid-container img {
        height: auto;
        max-width: 100%;
    }
    .grid-container p {
        max-width: 100%;
    }
    #_careers-job-openings-button a {
        font-size: 1.16rem;
        line-height: 26px;
        margin-left: 0;
    }
}
/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {}
/* printer styles
   ========================================================================== */

@media print {
    #_careers-header {
        position: static !important;
    }
}