/*
	Linear by TEMPLATED
    templated.co @templatedco
    Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/


/*********************************************************************************/


/* Basic                                                                         */


/*********************************************************************************/

@media screen and (max-width: 480px) {
    body,
    input,
    textarea,
    select {
        line-height: 1.75em;
        font-size: 10.5pt;
        letter-spacing: 0;
    }
    body {
        padding-top: 44px;
    }
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1em;
        font-size: 1.5em;
    }
    section,
    article {
        clear: both;
        margin: 2em 0 2em 0 !important;
    }
    section> :first-child,
    article> :first-child {
        margin-top: 0 !important;
    }
    section:first-child,
    article:first-child {
        margin-top: 0 !important;
    }
    .container {
        padding: 0em 1em;
    }
    hr {
        margin: 3em 0 0 0;
        padding: 3em 0 0 0;
    }
    header {
        margin-bottom: 1.6em;
    }
    header h2 {
        font-size: 2em;
    }
    header .byline {
        font-size: 1.2em;
    }
    .button {
        display: block;
        width: 100%;
        text-align: center;
    }
    /*********************************************************************************/
    /* UI                                                                            */
    /*********************************************************************************/
    #titleBar {
        background: #225577;
    }
    #titleBar .title a {
        display: block;
        color: #fff;
        text-align: center;
        line-height: 44px;
        font-weight: 300;
        text-decoration: none;
    }
    #titleBar .tag {
        display: none;
    }
    #titleBar .toggle {
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 60px;
    }
    #titleBar .toggle:after {
        content: '';
        display: block;
        width: 44px;
        height: 44px;
        position: absolute;
        left: 0px;
        top: 0px;
        background: url(../images/toggle.png) no-repeat;
        background-size: cover !important;
        opacity: 1;
    }
    #titleBar .toggle:active:after {
        opacity: 0.75;
    }
    #navPanel {
        background: #225577;
    }
    #navPanel .link {
        display: block;
        color: #888;
        text-decoration: none;
        height: 44px;
        line-height: 44px;
        border-top: solid 1px;
        border-color: rgba(255, 255, 255, .05);
        padding: 0 1em 0 1em;
        letter-spacing: 1px;
    }
    #navPanel .link:first-child {
        border-top: 0;
    }
    #navPanel .link.depth-0 {
        color: #fff;
    }
    #navPanel .indent-1 {
        display: inline-block;
        width: 1em;
    }
    #navPanel .indent-2 {
        display: inline-block;
        width: 2em;
    }
    #navPanel .indent-3 {
        display: inline-block;
        width: 3em;
    }
    #navPanel .indent-4 {
        display: inline-block;
        width: 4em;
    }
    #navPanel .indent-5 {
        display: inline-block;
        width: 5em;
    }
    #navPanel .depth-0 {
        color: #fff;
    }
    div.sponsor-table div.sponsor-row div.sponsor-cell {
        display: block;
        width: auto;
        margin: 2em 0;
    }
    /*********************************************************************************/
    /* Header                                                                        */
    /*********************************************************************************/
    #header {
        height: 10em;
        padding: 0 !important;
        background-position: center center;
        background-attachment: scroll;
    }
    /*********************************************************************************/
    /* Logo                                                                          */
    /*********************************************************************************/
    #logo {
        display: none;
    }
    #nav {
        display: none;
    }
    a.cn {
        display: none !important;
    }
    #nav-wrapper img {
        display: none !important;
    }
    /*********************************************************************************/
    /* Main                                                                          */
    /*********************************************************************************/
    #main,
    #mainS {
        padding: 4em 0em 2em 0em;
    }
    .homepage #content header h2 {
        padding: 0.70em 0em;
        font-size: 1.4em;
    }
    #sidebar {
        display: none !important;
    }
    #sidebar h2 {
        font-size: 1.8em;
    }
    .pdfcontainer {
        display: none;
    }
    /*********************************************************************************/
    /* Footer                                                                        */
    /*********************************************************************************/
    #footer {
        padding: 4em 0em 2em 0em;
    }
    #copyright {
        display: none;
    }
    /*********************************************************************************/
    /* Featured                                                                      */
    /*********************************************************************************/
    #featured {
        padding: 4em 0em 3em 0em;
    }
    #featured h3 {
        padding: 1.5em 0em;
        font-size: 1.4em;
    }
    #featured p {
        margin: 1em;
    }
    /*********************************************************************************/
    /* Welcome                                                                       */
    /*********************************************************************************/
    #welcome {
        padding: 4em 0em 3em 0em;
    }
    /*********************************************************************************/
    /* Tweet                                                                         */
    /*********************************************************************************/
    #tweet {
        padding: 3em 0em 1em 0em;
        background-position: center center;
        background-attachment: scroll;
    }
    #tweet blockquote {
        margin: 0;
        padding: 1em 1em;
        font-size: 1.2em;
    }
    /*********************************************************************************/
    /* speaker                                                                         */
    /*********************************************************************************/
    .is_img {
        float: none;
        display: block;
        margin: 0 auto;
    }
}

@media screen and (min-width: 480px) and (max-width: 1200px) {
    /* For general iPad layouts */
    #header {
        background-size: cover;
        background-attachment: scroll;
        background-repeat: no-repeat;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        -o-background-size: cover;
        background-position: center center;
    }
    .pdfcontainer {
        display: none;
    }
}