@media screen and (max-width: 820px), screen and (max-device-width: 320px) {

    img { max-width: 100%; height: auto !important; }

    A.search { display: none; }

    .login {
        background-position: 0px -369px;
        width: 27px;
        height: 28px;
        position: absolute;
        right: 60px;
        top: 3px;
    }
    #login_form {
        width: 100%;
        padding: 14px 0 8px 0;
    }
    #login_form FORM { padding: 0 13px; }

    .top .inner { text-align: left; }
    .top .inner .logo { margin-left: 20px; width: 170px; height: auto; }

    .homeOver {
        height: 960px;
    }
    .homeOver #date_picker {margin-left: 0; }
    .homeOver .inner {
        margin-top: 50px;
    }
    .btnClose, .shopInfo {
        position: relative;
        display: inline-block;
        margin-left: 10px;
        right: auto;
        top: 25px;
    }
    .shopInfo { margin-left: 35px; right: 0; float: right; }
    .btnClose { float: right; margin-right: 20px; }
    BODY.page-template-page-sykkelkart-php .btnClose {
        position: absolute;
        right: 18px;
        width: auto;
        float: none;
        margin: 0;
    }
    .homeOver .progress { top: 31px; }
    .homeOver .col { width: 100%; }
    #step1 .datepicker P { font-size: 14px; margin-left: 0; text-align: center;}
    #step1 .filter P { padding: 0 15px; }
    #step1 .filter H1 { padding-left: 15px; }
    .select_box { width: 180px; }
    .select_box SELECT { background-color: #f6f6f5; width: 200px; background-position: 160px center; }
    .btnSearch { float: right; margin-right: 15px; }
    #step2.homeOver H1 { margin: 100px 0 20px 0; line-height: 36px; }
    .homeOver .col_center {
        width: auto;
        padding: 0 10px;
        text-align: left;
    }
    #step2form LABEL { float: none; margin: 0 auto; width: 405px; display: block; text-align: left; }
    #step2form .fields { float: none; margin: 0 auto; }

    H1 {
        font-size: 20px;
        line-height: 22px;
    }
    .sidebar H1 {
        font-size: 30px;
        line-height: 30px;
    }
    .forhandlere { padding: 0 20px; }
    .forhandlere H1 { margin-top: 25px; }
    .forhandlere UL LI { margin-right: 0 !important; }
    .forhandlere UL LI H2 { padding: 10px 0 15px 0; }
    .forhandlere LI IMG.attachment-forhandler {
        width: 100%;
    }

    .mobile_menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        background-image: url(../img/sprites.png);
        background-position: -26px -211px;
        width: 32px;
        height: 33px;
        cursor: pointer;
        overflow: hidden;
    }
    .mobile_menu SELECT {
        position: absolute;
        width: 32px;
        height: 33px;
        top: 0;
        left: 0;
        opacity: 0.01;
    }
    UL.mainmenu { display: none; }

    .homeSlide {
        background-size: auto 100%;
        background-position: center center;
        height: 435px;
    }

    P.big_front { padding: 0 10px; }


    .movie { width: 100%; height: 189px; float: none; margin: 0 auto 5px auto; overflow: hidden; }
    .movie H2 { right: 0; }
    .movie .shadow { display: none; }

    div.slideBg {
        background-position: 0;
        background-attachment: scroll !important;
    }

    div.statements UL { height: 230px; }

    .nyheter .left, .nyheter .right { width: 100%; padding: 0; border-right: none; text-align: center; }
    .nyheter .line { display: none; }
    .nyheter .icon_nyheter { display: none; }
    .fact_box {

    }
    .fact_box_center { margin: 0; }

    /* ARTICLE */
    .articleSlide {
        background-size: auto 100%;
    }
    .articleSlide .arrow {
        bottom: -1px;
    }

    /* COMMENTS */
    #commentform P.comment-form-comment TEXTAREA {
        min-width: 100px;
        width: 100%;
    }
    #commentform INPUT { width: 195px; }

    P.comment-form-author,
    P.comment-form-email,
    P.comment-form-url {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    #comments {
        margin-left: 20px;
        margin-right: 20px;
    }
    #commentform LABEL {
        display: inline-block;
        width: 150px;
    }


    .single .sidebar {
        padding: 0 25px;
    }


    .page .sidebar {
        width: 100%;
        float: none;
        padding: 0;
    }
    .page .sidebar HR { margin: 15px 25px 20px 25px; }
    .page .sidebar>* { padding: 0 25px; }
    .main {
        width: 100%;
        padding-top: 30px;
    }
    .page .main {
        width: 100%;
        padding-top: 30px;
    }
    .main ARTICLE {
        padding: 0 25px;
    }
    .main article iframe {
        width:100% !important;
        max-height:300px !important;
    }
    .produktveileder {overflow: hidden; }
    .produktveileder #search_menu_mobile {
        display: block;
        background-image: url(../img/sprites.png);
        background-position: -44px -338px;
        width: 26px;
        height: 26px;
        padding: 0;
        float: right;
        margin-right: 5%;
    }
    .produktveileder #search_menu {
        background-color: white;
        position: absolute;
        overflow: hidden;
        display: none;
        width: 0;
    }
    .produktveileder ARTICLE {
        width: 100%;
        min-height: 1070px;
        margin-top: 0;
    }
    .produktveileder .kjoretoy H2 {
        margin-left: 5%;
    }
    .produktveileder .kjoretoy IMG.attachment-kjoretoy {
        width: 90%;
        height: auto;
        clear: both;
        float: none;
        margin: 10px 5%;
    }
    .produktveileder .kjoretoy P { padding: 0 5%; }
    .produktveileder .kjoretoy A.lesmer { margin-left: 5%; }


    /* MAP */
    #directionsPanel {
        position: static;
        clear: both;
        width: 100%;
        padding: 0;
        height: 200px !important;
        display: none;
    }
    #map_canvas {
        min-height: 390px;
    }
    #map_circle { margin-top: 20px; width: 320px; height: 320px; }
    #map_circle H1 { font-size: 24px; padding-top: 15px; }
    #map_circle HR { width: 90px; margin: 10px auto 15px auto; }
    #map_circle P { font-size: 14px; line-height: 16px; padding: 0 20px; margin-bottom: 15px; }
    #map_circle LABEL { width: 110px; }
    #map_circle INPUT[type="text"] { width: 110px; height: 30px; }

    /* FOOTER */
    body > FOOTER {
        height: auto;
        padding-bottom: 30px;
        font-size: 16px;
        line-height: 16px;
    }
    FOOTER .inner { text-align: center; width: 100%; padding: 70px 0 0 0;; }
    FOOTER .social { float: none; padding-top: 0; width: 100%; text-align: center; position: absolute; top: 20px; }
    FOOTER .social A { float: none; display: inline-block; }

} /* end @media */


@media only screen and (max-width: 970px) {
	UL.mainmenu LI A { padding: 0 10px; }
}
@media only screen and (max-width: 880px) {
	UL.mainmenu LI { margin: 0 4px; }
	UL.mainmenu LI A { padding: 0 5px; }
}

@media only screen and (max-width: 1015px) {
	.forhandlere { padding: 0 30px; }
	.forhandlere UL LI:nth-child(2) { margin-right: 0; }
	.forhandlere UL LI:nth-child(3) { margin-right: 24px; }
}

@media only screen and (max-width: 1175px) {
	.homeOver { height: 500px; }
	.homeOver .inner { margin-top: 40px; }

}