/* CSS mobīlajai versijaj */

@media screen and (max-width: 1023px) {
    canvas#statsPie {
        display: none !important;
    }

    section.heading h2 {
        max-width: 100%;
        overflow: hidden;
        font-size: 20px;
    }

    #globalRight, #globalLeft {
        width: 100%;
        float: none;
        clear: both;
    }
    #globalRightBack {
        display: none;
    }

    /*#gplTitle, #gplStats {*/
        /*display: none;*/
    /*}*/
    #gplStats {
        font-size: 12px;
    }

    .sliderRow {
        text-align: center !important;
    }

    form.slider .sliderBody,
    form.slider .sliderValues {
        max-width: 70%;
        width: 400px !important;
    }


    form.slider {
        text-align: center !important;
    }

    .sliderRow {
        display: inline-block !important;
        width: auto !important;
    }

    .sliderInfo {
        line-height: 14px;
        max-width: 50%;
        display: inline-block;
        vertical-align: middle;
    }

    #loanerTable tr td:nth-child(4),
    #loanerTable tr td:nth-child(3) {
        display: none;
    }
    .sliderSubmit {
        float: none !important;
        clear: both !important;
        margin: 10px auto !important;
        display: block;
        border-radius: 30px;
    }
}

@media screen and (max-width: 650px) {
    .sliderInfo { display: none; }
    #footerCredits div { text-align: center !important; }
    article.loaner {
        min-width: 250px;
    }
    #mobilemenu { display: block; }
    #headerMenu {
        display: none;
        float: none !important;
        position: absolute;
        z-index: 101;
        top: 140px;
        left: 0;
        max-width: 96%;
        width: 96% !important;
        margin: 0 2%;
        background: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: rgba(0,0,0,0.4) 0 0 4px 0;
    }

    #headerMenu li {
        width: 100%;
        float: none;
        display: block;
    }

    .block { padding: 10px !important; }

}

@media screen and (max-width: 600px) {

    .posts > article.post {
        width: 50%;
    }

    article.loaner {
        margin: 0 auto;
        float: none;
    }

    section.heading h2 {
        font-size: 16px;
    }

    #background {
        height: 700px;
    }

    #gplStats {
        height: auto;
    }

    #gplStats .gplRow {
        width: 96%;
        margin: 6px 2%;
        font-size: 10px !important;
        height: 24px;
        line-height: 24px;
    }

    .after div, .after li {
        font-size: 10px !important;
    }

    .after h3 {
        font-size: 16px;
    }
    #loanerList #loanerTable td a.applyToLoan {
        padding: 0 6px;
        font-size: 12px;
    }
    #loanerList #loanerTable td {
        padding: 4px;
    }

    .widgetBlock {
        position: fixed;
        width: 100%;
        right: 0;
    }

    form.slider .sliderBody,
    form.slider .sliderValues {
        width: 300px !important;
    }
}


@media screen and (max-width: 479px) {
    form.slider .sliderBody,
    form.slider .sliderValues {
        width: 200px !important;
    }

    form.slider .sliderValues {
        margin-left: 44px !important;
    }

    form.slider a.sliderMath {
        width: 30px;
        height: 30px;
        line-height: 30px;
        margin: 0 5px;
    }
}
