/*	Less Framework 4 with 16/24 type presets
        http://lessframework.com
        by Joni Korpi
        License: http://opensource.org/licenses/mit-license.php	*/



/*	Resets
        ------	*/

/* html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
        display: block;
}

a img {border: 0;}


*/



/*		Default Layout: 992px. 
                Gutters: 24px.
                Outer margins: 48px.
                Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
    /* width: 896px; */
    /* 	padding: 72px 48px 84px;
            background: rgb(232,232,232); */
    color: rgb(60,60,60);
    -webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}



/*		Tablet Layout: 768px.
                Gutters: 24px.
                Outer margins: 28px.
                Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {

    body {
        /*width: 712px;*/
        /*padding: 48px 28px 60px;*/
        padding: 10px;
    }
    .search_form{padding-top: 0;}
    #nav{display: none;}
    .slicknav_menu{display: block;} 
    .logo{margin: 0 auto;}

}



/*		Mobile Layout: 320px.
                Gutters: 24px.
                Outer margins: 34px.
                Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

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

    body {
        /*width: 252px;*/
        /*padding: 48px 34px 60px;*/
        padding: 10px 12px;
    }
    .container{padding: 10px;}
    .logo{margin: 0 auto;}
    #nav{display: none;}
    .header_slogan h2 , .header_slogan p{text-align: center;line-height: 33px;}
    .banner_part{padding: -1px 0 0 11px !important;}
    .tab .tab-legend .active, .tab .tab-legend li{padding: 13px 6px 15px;}
    .header_slogan {left:0;}
	.top-bar-size{width: 42%;}

}



/*		Wide Mobile Layout: 480px.
                Gutters: 24px.
                Outer margins: 22px.
                Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {

    body {
        /* width: 436px; */
        padding: 36px 22px 48px;
    }
    #nav{display: none;}
    .logo{margin: 0 auto;}
	.top-bar-size-right{width: 30%;}
	.top-bar-size{width: 42%;}

}


/*	Retina media query.
        Overrides styles for devices with a 
        device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {

    body {

    }

}