/* Wolfram Media Styles

   developer:   yhechler, marionm
   requires:    framework
   ========================================================================== */

/* ==========================================================================
   setup environment
   ========================================================================== */

/* set variables
   ========================================================================== */

:root {
    --grey-33: #333333;
    --grey-b7: #b7b7b7;
    --link-base: #df6430;
    --link-hover: #df860c;
    --lt-blue: #e4f4f4;
    --main-red: #dd1100;
    --max-page-width: 1044px;
}

/* set essential styles
   ========================================================================== */

html {
    border: none;
    color: #383838;
    font-family: Georgia, serif;
}

a { color: var(--link-base); }

a:hover { color: var(--link-hover); }

hr {
    border: none;
    border-bottom: 1px solid #fe9002;
    clear: both;
    height: 0;
    margin: 0 0 1.25rem 0;
    padding: 4px 0 0 0;
}

/* set helper classes
   ========================================================================== */

.page-wrapper {
    margin: 0 auto;
    max-width: var(--max-page-width);
    padding: 2.5rem 2rem 1.25rem;
    width: 100%;
}

.desktop-show { display: block !important; }

/* ==========================================================================
   header
   ========================================================================== */

#shared-header {
    margin: 0 auto;
    max-width: var(--max-page-width);
    padding: 3.5rem 2rem 2rem;
}

#shared-header h1 {
    font-size: 0;
    line-height: 0;
}

#shared-header a { display: block; }

/* ==========================================================================
   nav
   ========================================================================== */

#shared-nav {
    background: var(--lt-blue);
    height: 40px;
    text-align: right;
}

#shared-nav.is-sticky {
    border-bottom: 1px solid #bfdad8;
    position: sticky;
    top: -1px;
    z-index: 999999;
}

#shared-nav .width {
    margin: 0 auto;
    max-width: var(--max-page-width);
    padding: 0 2rem;
    position: relative;
}

#shared-nav #sticky-logo {
    display: none;
    left: 1.5rem;
    position: absolute;
    top: 10px;
}

#shared-nav.is-sticky #sticky-logo { display: block; }

#shared-nav a { color: #555; }

#shared-nav a:hover,
#shared-nav button:hover,
html.contact #shared-nav a.contact,
html.resources #shared-nav a.resources,
html.titles #shared-nav a.titles,
html.translations #shared-nav a.translations { color: var(--link-hover); }

#shared-nav button:hover svg { fill: var(--link-hover); }

/* mobile nav
   ========================================================================== */

#shared-nav .nav-mobile-wrapper {
    display: none;
    position: relative;
    top: 10px;
}

#nav-mobile {
    background: var(--lt-blue);
    display: none;
    padding: .25rem 0;
    position: absolute;
    right: -.625rem;
    top: 29px;
}

#shared-nav.is-sticky #nav-mobile {
    border: solid #bfdad8;
    border-width: 0 1px 1px;
}

#nav-mobile li {
    min-width: 10rem;
    padding: .25rem .625rem;
    text-align: left;
}

/* desktop nav
   ========================================================================== */

#nav-desktop {
    display: inline-flex;
    margin-top: 12px;
}

#nav-desktop li { line-height: 1; }

#nav-desktop li:not(:last-child) {
    border-right: 1px solid #acacac;
    margin-right: 1rem;
    padding-right: 1rem;
}

.desktop-search-wrapper { position: relative; }

.desktop-search-wrapper svg { margin: 1px 0 -1px; }

/* buttons
   ========================================================================== */

#shared-nav button {
    background: transparent;
    border: 0;
}

#shared-nav button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

#shared-nav button:-moz-focusring { outline: 1px dotted ButtonText; }

#shared-nav button svg { fill: #555; }

#shared-nav button svg .open,
#shared-nav button.clicked svg .closed { opacity: 0; }

#shared-nav button.clicked svg .open { opacity: 1; }

#mobile-nav-icons { margin-left: .625rem; }

/* search
   ========================================================================== */

.nav-search-form {
    background-color: var(--lt-blue);
    display: none;
    padding: .625rem;
    position: absolute;
    right: -.625rem;
    top: 27px;
}

#shared-nav.is-sticky .nav-search-form {
    border: solid #bfdad8;
    border-width: 0 1px 1px;
}

.nav-mobile-wrapper .nav-search-form { right: 1.25rem; }

.nav-search-form input {
    border: 0;
    line-height: 1;
    margin: 0;
    padding: .333rem;
    width: 15rem;
}

/* ==========================================================================
   shared content formatting
   ========================================================================== */

/* headings
   ========================================================================== */

h2.basic-h2 {
    color: #5e5e5e;
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
}

h3.basic-h3 {
    color: var(--link-base);
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 1rem;
}

/* paragraphs and tables
   ========================================================================== */

p { margin-bottom: 2rem; }

table th { padding: 0 1rem 0 0; }

table td { padding: 3px 1rem 3px 0; }

/* responsive columns
   ========================================================================== */

.basic-6040 {
    column-gap: 6rem;
    display: grid;
    grid-template-columns: calc(60% - 3rem) calc(40% - 3rem);
}

.basic-5050 {
    column-gap: 6rem;
    display: grid;
    grid-template-columns: calc(50% - 3rem) calc(50% - 3rem);
}

/* buttons
   ========================================================================== */

.button {
    background: var(--link-base);
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    margin-right: .5rem;
    padding: .5rem 1rem;
    white-space: nowrap;
}

.button.last { margin-right: 0; }

.button:hover {
    background: var(--link-hover);
    color: #fff;
}

.button.disabled,
.button.disabled:hover { background: #8e8e8e; }
span.button-disabled {
	/* Microsoft-specific values */
	-ms-user-select: none;
	/* Mozilla-specific values */
	-moz-user-select: none;
	/* Standard */
	background: #8e8e8e none repeat scroll 0 0;
	/* WebKit-specific values */
	-webkit-user-select: none;
	border-radius: 5px;
	color: #fff;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 400;
	margin-right: 9px;
	padding: 7px 9px;
	user-select: none;
}
div.forthcoming-wrapper {
    display: inline-block;
    vertical-align: top;
	padding-top: 5px;
}

.forthcoming-wrapper .forthcoming {
    color: #8a8a8a;
    font-size: .6rem;
    margin-top: .5rem;
    text-align: center;
    vertical-align: top;
	display: block;
	margin-right: 0.5rem;
}

/* ==========================================================================
   footer
   ========================================================================== */

#shared-footer .width {
    margin: 0 auto;
    max-width: var(--max-page-width);
    padding: 1.25rem 2rem 5rem;
    width: 100%;
}

#shared-footer .copyright {
    color: #383838;
    font-size: .75rem;
}

/* homepage footer
   ========================================================================== */

html.homepage #shared-footer {
    background: #ebebeb;
    font-family: 'PT Serif', Georgia, serif;
    text-align: center;
}

html.homepage #shared-footer .width { padding: 1.875rem 2.5rem 5rem; }

html.homepage #shared-footer h4 {
    color: #df860c;
    font-size: 1rem;
    padding: 2.6rem 0 1.5rem;
    text-transform: uppercase;
}

html.homepage #shared-footer .copyright {
    color: #888888;
    font-size: .875rem;
    margin-bottom: 0;
}

#shared-footer .partners { font-size: 0; }

#shared-footer .partners div {
    display: inline-block;
    vertical-align: middle;
}

#shared-footer .partners div a {
    background: url('/img/logo-icon-sprite.png') no-repeat;
    background-size: 625px;
    display: inline-block;
    font-size: 0;
    position: relative;
    vertical-align: middle;
}

#shared-footer .partners div:last-child,
#shared-footer .partners div a:not(:first-child) { margin-left: 2.25rem; }

#shared-footer .partners div a#wr {
    background-position: -335px 0;
    height: 26px;
    width: 120px;
}

#shared-footer .partners div a#wr:hover { background-position-y: -30px; }

#shared-footer .partners div a#wa {
    background-position: -210px 0;
    height: 20px;
    width: 118px;
    top: 2px;
}

#shared-footer .partners div a#wa:hover { background-position-y: -25px; }

#shared-footer .partners div a#ibpa {
    background-position: -460px 0;
    height: 25px;
    width: 63px;
}

#shared-footer .partners div a#ibpa:hover { background-position-y: -30px; }

#shared-footer .partners div a#wu {
    background-position: -75px 0;
    height: 28px;
    width: 127px;
    top: 2px;
}

#shared-footer .partners div a#wu:hover { background-position-y: -35px; }

#shared-footer .partners div a#sap {
    background-position: -45px 0;
    height: 39px;
    width: 24px;
}

#shared-footer .partners div a#sap:hover { background-position-y: -45px; }

#shared-footer .partners div a#drop {
    background-position: -526px 0;
    height: 28px;
    width: 100px;
}

#shared-footer .partners div a#drop:hover { background-position-y: -30px; }

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

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

@media all and (max-width: 1200px) {
}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    #shared-header,
    #shared-nav .width,
    #shared-footer .width,
    .page-wrapper {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
    #shared-nav { text-align: right; }
    #nav-desktop { display: none; }
    #shared-nav .nav-mobile-wrapper { display: inline-flex; }
    .desktop-search-wrapper { display: none; }

    .desktop-show { display: none !important; }
    .mobile-show { display: block !important; }

    .basic-6040,
    .basic-5050 { grid-template-columns: 1fr; }

    #footer-partners div { display: block; }
    #footer-partners div:last-child { margin: .75rem 0 0; }
}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    #shared-header,
    #shared-nav .width,
    #shared-footer .width,
    .page-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #footer-partners div a:not(:first-child) { margin-left: 1.5rem; }
}

/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
    #footer-partners div a {
        display: block;
        margin: 0 auto;
    }
    #footer-partners div a:not(:first-child) { margin: .75rem auto 0; }
}

/* printer styles
   ========================================================================== */

@media print {
}