header
{
    padding: 18px 0 12px;
}

header a#logo img
{
    width: 220px;
    height: 28px;
}

div#masthead
{
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#a3b3c2', endColorstr='#ada3c2')"; /* IE 8-9 */
    background: linear-gradient(135deg, #a3b3c2 0%, #ada3c2 100%);
    overflow: hidden;
}

div#masthead section div.tagline.minor
{
    font-size: 18px;
    line-height: 30px;
}
div#masthead section div.tagline.minor i
{
    font-style: italic;
    opacity: 0.8;
}

div#masthead section div.tagline.minor span
{
    background-color: transparent;
}

div#masthead section div.intro
{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    margin-top: 25px;
    margin-bottom: 25px;
}

div#masthead section div.intro:after
{
    content: "";
    display: table;
    clear: both;
}

div#masthead section div.intro > div:first-child
{
    box-sizing: border-box;
    float: left;
    width: 50%;
    text-align: right;
    padding-right: 20px;
    border-right: 1px solid rgba(80, 80, 80, 0.2);
}

div#masthead section div.intro > div:last-child
{
    box-sizing: border-box;
    float: right;
    width: 50%;
    text-align: left;
    padding-left: 20px;
}

div#masthead section div.intro a
{
    color: white;
    font-style: italic;
}

div#masthead section.screencast div.wrap
{
    position: relative;
}

html.plat_osx #title-overlay
{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

html.plat_linux #title-overlay
{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

html.plat_windows #screencast-title-bar
{
    height: 28px;
}

html.plat_windows div.download .button span.win
{
    display: block;
}

div#masthead section.screencast
{
    position: relative;
}

div.theme-selector
{
    position: absolute;
    top: -35px;
}

div.theme-selector a
{
    border: 1px solid #ccc;
    background-color: rgba(204, 204, 204, 0.3);
    text-decoration: none;
    color: #666;
    font-size: 0.8em;
}

div.theme-selector a#theme-selector-dark
{
    border-right: none;
    padding: 0 8px 1px 12px;
    border-radius: 3px 0 0 3px;
    float: left;
}

div.theme-selector a#theme-selector-light
{
    border-left: none;
    padding: 0 12px 1px 10px;
    border-radius: 0 3px 3px 0;
    float: right;
}

div.theme-selector a.current
{
    background-color: rgba(204, 204, 204, 0.8);
}

main > section
{
    background-image: url(/images/icon_grey_top.svg);
}

footer > section
{
    background-image: url(/images/icon_grey_bottom.svg);
}