@charset "utf-8";
/*
Theme Name: tpl_006_rwd
Theme URI: http://theme.o2gp.com/
Description: tpl_006_rwd
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

        o2 Group v1.0
         http://theme.o2gp.com/

        This theme was designed and built by o2 Group,
        whose blog you will find at http://theme.o2gp.com/

        The CSS, XHTML and design is released under GPL:
        http://www.opensource.org/licenses/gpl-license.php

*/

/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{border:0;font-family:inherit;font-size:100%;font-style:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;}
:focus{outline:0;}

ol, ul{list-style:none;}
table{border-collapse:separate;border-spacing:0;}
caption, th, td{font-weight:normal;text-align:left;}
blockquote:before, blockquote:after,q:before, q:after{content:"";}
blockquote, q{quotes:"" "";}
a img{border:0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
/* -------------------------------------------------------------- */

body{
    color:#333;
    font-size:small;
    font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",verdana,Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
    line-height:1.5;
    -webkit-text-size-adjust:100%;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#00a0e9;text-decoration:none;}
a:hover{color:#006699;}
a:active, a:focus{outline:0;}


/* フォーム
------------------------------------------------------------*/
input, textarea{
    vertical-align:middle;
    max-width:90%;
    line-height:24px;
    height:24px;
    padding:1px 5px;
    border:1px solid #ccc;
    border-radius:3px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    font-size:100%;
    color:#555;
}

textarea{
    height:auto;
    line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
    padding:3px 10px;
    background:#00a0e9;
    border:0;
    border-radius:3px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    line-height:1.5;
    height:auto;
    font-size:110%;
    color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
    background:#006699;
    cursor:pointer;
}


/* 全体
------------------------------------------------------------*/
#wrapper{
    margin:0 auto;
    padding:0 1%;
    width:98%;
    position:relative;
    background:#fff;
}

.inner{
    margin:0 auto;
    width:100%;
}


/*************
/* ヘッダー
*************/
#header{
    height:110px;
}

#header h1{
    padding:5px 0 10px 10px;
    font-size:12px;
    font-weight:normal;
}

/*************
/* ロゴ
*************/
.logo{
    float:left;
    margin-left:17px;
}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
    float:right;
    padding-right:20px;
    text-align:right;
    font-size:14px;
}

.info .open{font-size:14px;}


/*************
/* ロゴ+電話番号
*************/
.logo{
    margin-top:6px;
    color:#00a0e9;
    font-size:32px;
    font-family:agendatyperegular,Georgia,YuMincho,"游明朝","I-OTF明朝オールドPro M","Hiragino Mincho ProN","MS PMincho",serif;
    line-height:1.5;
    font-weight:bold;
}

.info .tel{
    margin-top:6px;
    color:#00a0e9;
    font-size:25px;
    font-weight:bold;
}

.info .tel span{
    font-size:14px;
}

.logo span,.info span{
    color:#333;
    font-size:.4em;
    font-weight:normal;
    font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",verdana,Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}

.logo .place{
    color:#333;
    font-size:.5em;
    font-weight:normal;
    font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",verdana,Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
    margin:17px auto;
    padding:0;
    width:100%;
    position:relative;
    line-height:0;
    z-index:0;
}

#mainBanner img{
    max-width:100%;
    height:auto;
    border:4px solid #ebebeb;
}

.slogan{
    position:absolute;
    max-width:100%;
    height:auto;
    bottom:10px;
    left:10px;
    padding:5px 10px;
    line-height:1.4;
    color:#fff;
    background-color:rgba(0,0,0,0.4);
}

.slogan h2{
    padding-bottom:5px;
    font-size:20px;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
    clear:both;
    padding-bottom:20px;
    overflow:hidden;
}

* html .gridWrapper{height:1%;}

.grid{
    overflow:hidden;
    background:#fff;
    border:1px solid #ebebeb;
}

.box{
    margin:0 5px;
    padding:10px;
}

.box img{
    max-width:100%;
    height:auto;
    border:4px solid #ebebeb;
}

.box h3{padding:10px 0 5px;}

.box h3, .box p{text-align:left;}

.box p.readmore{
    padding:10px 5px 5px;
    text-align:right;
}



/*************
メイン コンテンツ
*************/
section.content article{
    padding:20px;
    margin-bottom:20px;
    border:1px solid #ebebeb;
    overflow:hidden;
}

section.content .archive{border:0;}
section.toppage{margin:0 15px;}


/* アーカイブページ */
section.content .archive{
    padding:0;
    border-bottom:1px dotted #ccc;
}

section.content p{margin-bottom:5px;}

h3.heading{
    clear:both;
    font-weight:normal;
    padding:0 10px;
    line-height:36px;
    color:#333;
    background:#f1f1f1;
}

section.content img{
    max-width:100%;
    height:auto;
}

.alignleft{
    float:left;
    clear:left;
    margin:3px 10px 10px 0;
}

.alignright{
    float:right;
    clear:right;
    margin:3px 0 10px 10px;
}

.border,ul.list img{border:4px solid #ebebeb;}


/** 追記ここから **/
#js_overlay {
    display: none;
    width: 100%;
    height: 120%;
    position: fixed;
    background: rgba(0,0,0,.5);
    z-index: 800;
}
.modal_area {
    content: "";
    display: none;
    width: 80%;
    height: 600px;
    background: #fff;
    z-index: 900;
    margin: 0 auto;
    position: fixed;
    top: 10%;
    left: 0;
    right: 0;
    padding: 20px;
}
.modal_close {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: right;
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
}
.modal_caption {
    display: none;
    text-align: center;
}
.modal_caption img {
    width: 60%;
    margin: 30px auto;
    text-align: center;
}
.modal_caption p {
    text-align: left;
}
.overview_btn {
    overflow: hidden;
}
.overview_btn li {
    width: 24%;
    padding: 5px 10px;
    background: #eee;
    float: left;
    box-sizing: border-box;
    cursor: pointer;
    margin: 2px;
    text-align: center;
    color: #00a0e9;
}
a[href$=".pdf"] {
    background: url(./images/icon_pdf.png) no-repeat 100% 50%;
    background-size: 13px 13px;
    padding-right: 20px;
}
a[href$=".xlsx"] {
    background: url(./images/icon_excel.png) no-repeat 100% 50%;
    background-size: 13px 13px;
    padding-right: 20px;   
}
a[href$=".xls"] {
    background: url(./images/icon_excel.png) no-repeat 100% 50%;
    background-size: 13px 13px;
    padding-right: 20px;
}
a[href$=".doc"]{
    background: url(./images/icon_word.png) no-repeat 100% 50%;
    background-size: 13px 13px;
    padding-right: 20px;
}
a[href$=".docx"] {
    background: url(./images/icon_word.png) no-repeat 100% 50%;
    background-size: 13px 13px;
    padding-right: 20px;
}
.top_btn {
    text-align: right;
    margin: 30px 0 !important;
}
.top_btn li{
    display: inline;
    padding: 5px 10px !important;
    border-radius: 4px;
    border: 1px solid #c0c0c0;
    text-align: center;
    background: #eee;
    font-size: 1.2em;
    margin: 10px;
}
.font_bg {
    font-size: 1.2em;
}
.bumon_section {
    overflow: hidden;
    margin-bottom: 30px;
}
.bumon_section h3 {
    margin: 0 0 30px 0 !important;
}
.bumon_section ul {
    width: 48%;
    float: left;
}
.img_full {
    width: 100%;
}
.img_sml {
    width: 50%;
    margin: 0 auto;
    overflow: hidden;
}
.img_right {
    text-align: right;
}
.float_img,
.float_img3 {
    overflow: hidden;
}
.float_img div {
    width: 50%;
    float: left;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
.float_img3 div {
    width: 33.33%;
    float: left;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
.float_img3 span {
    width: 16.665%;
    float: left;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
.text_area {
    margin: 30px 0;
}
.text_top {
    margin: 0 0 30px 0;
}
.float_content {
    overflow: hidden;
}
.float_content .text_area,
.float_content .img_sml,
.float_content .img_bg,
.float_content .text_sml,
.float_content .right_side{
    float: left;
}
.float_content .text_area {
    width: 70%;
    padding: 0 30px 0 0;
    box-sizing: border-box;
}
.float_content .text_sml {
    width: 40%;
}
.float_content .right_side {
    width: 30%;
    margin: 30px 0;
}
.float_content .img_sml {
    width: 28%;
    padding: 30px 5px;
    box-sizing: border-box;
    text-align: center;
}
.float_content .img_bg {
    width: 60%;
    text-align: center;
}
/*　スライダー　*/
#top_slide,
#sch_slide {
    position: relative;
    overflow: hidden;
}
#top_slide {
    width: 100%;
    height: 100%;
    padding: 40% 0 0;
}
#sch_slide {
    width: 100%;
    height: 100%;
    padding: 55% 0 0;
}
.slides {
    margin: 0 !important;
    height: inherit;
}
.slides li {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
#top_slide .slides li {
    padding: inherit;
}
#sch_slide .slides li {
    padding: 45% 0 0;
}
.slides li img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.caption_wrap {
    background: rgba(0,0,0,1);
    color: #fff;
    opacity: 0.7;
    line-height: 1.4em;
}
.caption {
    padding: 5px 10px;
    word-wrap: break-word;
}
.js_span {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}
.js_span span {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background: rgba(0,0,0,.5);
    float: left;
    margin: 5px;
    cursor: pointer;
}
.js_span span:nth-child(1) {
    background: rgba(0,0,0,1);
}

/* スライダーここまで*/
@media only screen and (max-width:780px){
    .overview_btn li {
        width: 32%;
        min-width: 135px;
    }
    .img_sml {
        width: 100%;
        overflow: hidden;
    }
    .float_img div,
    .float_img3 div,
    .float_img3 span {
        width: 100%;
        float: none;
        padding: 20px 0;
    }
    .float_content .text_area,
    .float_content .img_sml,
    .float_content .text_sml,
    .float_content .img_bg,
    .float_content .right_side {
        float: none;
        width: 100%;
    }
    .float_content .text_area {
        padding: 0;
    }
    .top_btn {
        text-align: center;
        margin: 0 !important;
    }
    .top_btn li{
        display: block;
        padding: 5px 10px !important;
        border-radius: 4px;
        border: 1px solid #c0c0c0;
        text-align: center;
        background: #eee;
        font-size: 1.2em;
        margin: 10px;
    }
    #top_slide {
        padding: 45% 0 0;
    }
    #sch_slide {
        padding: 60% 0 0;
    }
}
@media only screen and (max-width:580px){
    #sch_slide {
        padding: 65% 0 0;
    }
}
@media only screen and (max-width:520px){
    #sch_slide {
        padding: 70% 0 0;
    }    
}
@media only screen and (max-width:430px){
    #sch_slide {
        padding: 75% 0 0;
    }    
}
/** ここまで **/


/*************
/* サイドバー
*************/
#sidebar article{
    clear:both;
    padding:7px;
    margin-bottom:20px;
    border:1px solid #ebebeb;
    overflow:hidden;
}

#sidebar ul{padding-top:10px;}

#sidebar li{
    margin-bottom:10px;
    padding-bottom:10px;
    list-style:none;
    border-bottom:1px dashed #ebebeb;
}

#sidebar li:last-child{
    border:0;
    margin-bottom:0px;
}

#sidebar li a{display:block;}

ul.list li{
    clear:both;
    margin-bottom:5px;
    padding:5px 0;
    overflow:hidden;
}

ul.list li{height:1%;}

ul.list li img{
    float:left;
    margin-right:10px;
}

ul.list li{
    font-size:12px;
    line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
    clear:both;
    overflow:hidden;
    padding:10px 10px 20px 10px;
    background:#e8e8e8;
}

* html #footer{height:1%;}

#footer .grid{
    float:left;
    padding:10px 0 5px;
    margin:0;
    background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
    clear:both;
    padding:10px 0 0 15px;
    text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{
    font-size:12px;
    color:#333;
}

ul.footnav{
    float:right;
    width:620px;
    padding:10px 0;
}
ul.footnav ul{display:none;}

ul.footnav li{
    float:left;
    margin-bottom:10px;
    padding:0 10px 0 8px;
    border-right:1px solid #b6b6b6;
}

#footer a{color:#333;}

#footer a:hover{color:#888;}

#copyright{
    clear:both;
    padding:5px;
    text-align:center;
    font-style:normal;
    font-size:10px;
    color:#333;
    background:#dbdbdb;
}


/* page navigation
------------------------------------------------------------*/
.pagenav{
    clear:both;
    width:100%;
    height:30px;
    margin:5px 0 20px;
}

.prev{float:left}
.next{float:right;}

#pageLinks{
    clear:both;
    text-align:center;
}


/* タイポグラフィ
*****************************************************/
.dateLabel{
    margin:0 0 10px;
    text-align:right;
    font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.post p{padding-bottom:0px;}

.post ul{margin:0 0 10px 10px;}

.post ul li{
    margin-bottom:5px;
    padding-left:15px;
    /*background:url(images/bullet.png) no-repeat 0 8px;*/
}

.post ol{margin:0 0 0 0;}

.post ol li{list-style:decimal;}

.post h1{
    margin:20px 0;
    padding:5px 0;
    font-size:150%;
    color:#000;
    border-bottom:3px solid #00a0e9;
}

.post h2{
    margin:10px 0;
    padding-bottom:2px;
    font-size:130%;
    font-weight:normal;
    color:#333;
    border-bottom:2px solid #00a0e9;
}

.post h3{
    margin:10px 0;
    font-size:120%;
    font-weight:normal;
    color:#777;
    border-bottom:1px solid #00a0e9;
}

.post blockquote{
    clear:both;
    padding:10px 0 10px 15px;
    margin:10px 0 25px 30px;
    border-left:5px solid #ccc;
}

.post blockquote p{padding:5px 0;}

.post table{
    border-collapse:collapse;
    margin:5px auto 15px auto;
}

.post table td{
    border-collapse:collapse;
    background-color:#f9f9f9;
    text-align:left;
    padding:8px;
    border:1px solid #d6d6d6;
    line-height:20px;
}

.post table th{
    background-color:#f5f5f5;
    text-align:right;
    padding:8px;
    white-space:nowrap;
    color:#151515;
    border-top:1px solid #d4d4d4;
    border-right:4px solid #d4d4d4;
    border-bottom:1px solid #d4d4d4;
    border-left:1px solid #d4d4d4;
    font-size:13px;
    font-weight:normal;
    letter-spacing:1px;
    background-repeat:repeat-x;
    background-position:top;
}


.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter{
    display:block;
    margin:5px auto;
}

img.alignright, img.alignleft{
    padding:4px;
    margin:0 0 2px 7px;
    display:inline;
}

img.alignleft{margin:0 7px 2px 0;}

.alignright{float:right;}
.alignleft{float:left;}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:960px){
    #header,#wrapper,.inner{
        width:960px;
        padding:0;
        margin:0 auto;
    }

    nav div.panel{
        display:block !important;
        float:left;
    }

    a#menu{display:none;}

    nav#mainNav{
        clear:both;
        z-index:200;
        height:60px;
        position:relative;
        background:#f1f1f1;
    }

    nav#mainNav .inner{
        width:932px;
        padding:0 14px;
    }

    nav#mainNav ul li{
        float:left;
        position:relative;
    }
    nav#mainNav li:last-child{border-right:1px solid #ebebeb;}

    nav#mainNav ul li a{
        display:block;
        text-align:center;
        _float:left;
        font-size:16px;
        width:154px;
        height:45px;
        padding-top:15px;
        color:#333;
        background:#f1f1f1;
        border-left:1px solid #ebebeb;
    }

    nav#mainNav ul li a span,nav#mainNav ul li a strong{display:block;}

    nav#mainNav ul li a span{
        color:#FF9900;
        font-size:11px;
    }

    nav#mainNav ul ul{width:160px;}
    nav#mainNav ul li ul{display:none;}

    nav#mainNav ul li:hover ul{
        display:block;
        position:absolute;
        top:58px;
        left:-2px;
        z-index:500;
    }

    nav#mainNav ul li li{
        margin:0;
        float:none;
        width:160px;
        border:0;
    }
    nav#mainNav li li:last-child{border:0;}

    nav#mainNav ul li li a{
        width:auto;
        height:auto;
        padding:10px;
        font-size:95%;
        text-align:left;
        border:0;
    }

    nav#mainNav ul li li span{padding:0 10px;}

    nav#mainNav ul li li a:hover,nav#mainNav ul li a:hover span,nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li.current-menu-item a span{color:#909090;}

    nav#mainNav li.current-menu-item li a{color:#333;}

    nav#mainNav li.current-menu-item a,nav#mainNav li a:hover,nav#mainNav li.current-menu-item li a:hover{
        color:#333;
        background:#99CCFF;
    }

    #mainBanner{margin-left:15px;}

    #wrapper,.inner{
        width:960px;
        padding:0;
    }

    #wrapper{padding-bottom:20px;}

    #main{
        width:930px;
        padding:15px 15px 15px 15px;
    }

    #sidebar{
        float:left;
        width:195px;
        padding:15px 0 15px 15px;
        overflow:hidden;
    }

    /* グリッド全体 */
    .gridWrapper{
        display:table;
        border-collapse:separate;
        border-spacing:20px;
    }

    /* グリッド */
    .grid{
        width:300px;
        display:table-cell;
    }
}


@media only screen and (max-width:959px){
    *{
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
        -o-box-sizing:border-box;
        -ms-box-sizing:border-box;
        box-sizing:border-box;
    }

    nav#mainNav{
        clear:both;
        width:100%;
        margin:0 auto;
        padding:0;
        background:-webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
        background:-webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
        background:-moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
        background:-o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
        background:-ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
        background:linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
        border:1px solid #e4e4e4;
    }

    nav#mainNav a.menu{
        width:100%;
        display:block;
        height:40px;
        line-height:40px;
        font-weight:bold;
        text-align:left;
    }

    nav#mainNav a#menu span{padding-left:10px;}
    nav#mainNav > a span:before{content:"→ ";}
    nav#mainNav a.menuOpen span:before{content:"↓ ";}

    nav#mainNav a#menu:hover{cursor:pointer;}

    nav .panel{
        display:none;
        width:100%;
        position:relative;
        right:0;
        top:0;
        z-index:1;
    }

    nav#mainNav ul{margin:0;padding:0;}

    nav#mainNav ul li{
        float:none;
        clear:both;
        width:100%;
        height:auto;
        line-height:1.2;
    }

    nav#mainNav ul li:first-child{border-top:1px solid #e4e4e4;}
    nav#mainNav ul li li:first-child{border-top:0;}

    nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
        display:block;
        padding:15px 10px;
        text-align:left;
        border-bottom:1px dashed #ccc;
    }

    nav#mainNav ul li:last-child a{border:0;}
    nav#mainNav ul li li:last-child a{border:0;}
    nav#mainNav ul li li:last-child a{border-bottom:1px dashed #e4e4e4;}

    nav#mainNav ul li a span{display:none;}

    nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:hover,nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:active, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:active{
        color:#006699;
    }

    nav#mainNav ul li li{
        float:left;
        border:0;
    }

    nav#mainNav ul li li a, nav#mainNav ul li.current-menu-item li a, nav#mainNav ul li li.current-menu-item a{
        padding-left:40px;
        background:url(images/sub1.png) no-repeat 20px 18px;
    }

    nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover, nav#mainNav ul li.current-menu-item li a:hover{background:url(images/sub1.png) no-repeat 20px -62px;}

    nav#mainNav ul li li:last-child a{background:url(images/subLast.png) no-repeat 20px 20px;}
    nav#mainNav ul li li:last-child.current-menu-item a,nav#mainNav ul li li:last-child a:hover,nav#mainNav ul li.current-menu-item li:last-child a:hover{background:url(images/subLast.png) no-repeat 20px -65px;}

    nav div.panel{float:none;}

    #main{padding-top:15px;}
    section.toppage{margin:0;}
    #sidebar{padding-bottom:15px;}
    #sidebar article{padding:7px 8px;}

    #footer .grid,#footer ul.footnav{float:none;width:100%;text-align:center;}
    ul.footnav li{float:none;display:inline-block;}

    .grid{width:100%;margin:10px 0;}
    .box p.readmore{text-align:left;}
    .box img{max-width:180px;float:left;margin:0 10px 10px;}

    .box h3{padding-top:0;}

    #footer .grid img,#footer .info{float:none;}
    #footer .grid p{display:block;}
    #footer #info .info{float:none;text-align:center;}
    #footer.logo,#footer .info{width:100%;float:none;}
    #footer .logo p{float:none;display:block;	}
    #footer .logo img{float:none;padding:0;}
}

@media only screen and (max-width:640px){
    #header{height:auto;padding-bottom:20px;}

    #header h1,.logo,.info{text-align:center;}

    .logo,.info{clear:both;width:auto;float:none;}

    .logo p{float:none;display:block;}
    .logo img{float:none;padding:0;}

    .alignleft,.alignright{float:none;display:block;margin:0 auto 10px;}
}

@media only screen and (max-width:480px){
    .box img{max-width:100px;}
    #mainBanner h2,#mainBanner p{font-size:80%;}
}
