﻿/*==========================================================*/
@media only all and (max-width:768px)
{
    body {
    min-width: 320px;
}
.bg {
    width: 98%!important;
}
.main {
    width: 100%;
}
.sf-menu a {
    width: 122px;
}
#page1 .container_12 {
    width: 100%;
}

#page1 .container_12 .grid_12 {
    width: 100%;
}

.box-1 {
    height: auto!important;
}

.container_12 .grid_3 {
    width: 98%;
}
.container_12 .grid_3 .box {
    height: 213px !important;
}

.border-bot {
    float: left;
    width: 50%;
}

.container_12 .grid_6 {
    width: 98%;
}
.container_12 .grid_3 .resp-box {
    height: 250px !important;
}
.banner-img {
    height: auto;
    width: 23%;
}

.ph {
   font-size: 25px;
}

.em {
    font-size: 10px;
}
.box-2 {
    overflow: auto !important;
    width:100%!important;
    height:auto !important;
}
.jspTrack,.jspDrag,.jspContainer
{
    height:auto!important;
}
.container_12 .grid_3 .resp-map {
    height: 460px !important;
    width:100%;
}
.resp-map iframe
{
    width:100%;
}
.border-bot1
{
    width:100%;
}
.page-foot1 .fleft,.fright
{
    float:none;
    text-align:center;
}
.border-bot iframe
{
    width:100%;
    height:100%
}
.border-bot {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 8px;
}
.resp-map .border-bot
{
    height:100%;
}
.resp-map .box-indent {
    height: 80%;
}
}


@media only all and (max-width:640px)
{

h1 a {
    background: rgba(0, 0, 0, 0) url("../images/logo.png") no-repeat scroll 0 0 / 100% auto;
    width: 100%;
}
.main nav {
    margin-left: 0;
    margin-top: 116px;
}
.ph {
    font-size: 35px;
    top: 170px;
}
.em {
    font-size: 13px;
    top: 220px;
}

.sf-menu li {
    float: none;
    margin-right: 1px;
    position: relative;
    text-align: center;
    width: 100%;
}
.sf-menu a {
    width: 100%;
}

.border-bot2 .img-indent {
    display: block;
    float:none;
    margin: 0 auto;
    text-align: center;
}
}



@media only all and (max-width:480px)
{

.banner-img {
    height: auto;
    width: 45%;
}
.container_12 .grid_3 .box {
    height: auto !important;
}

.equal1 .border-bot {
    float: none;
    width: 100%;
}

.border-bot {
    float: none;
    width: 100%;
}

}


@media only all and (max-width:360px)
{

input[type="text"], input[type="password"], textarea {
    width: 70%;
}

#contact-form textarea {
    width: 85%;
}

.border-bot2 .img-indent {
    height: auto;
    width: 100%;
}

.bg {
    width: 97% !important;
}

}