@media only screen and (max-width:1139px)
{
.inner_head {
    width: 1000px;
    margin: 0 auto;
}

.top_menu {
      width: 1000px;
}

.top_menu ul li {
    padding: 5px 10px 0 5px;
   }
.home_slider,.box,.inner_page,.f1_menu,.f2_menu
{
    width: 1000px;
}

.f2_menu span {
    color: #949390;
    float: right;
    font-size: 14px;
    padding-right: 10px;
}
.sub-menu {
    margin-left: 0 !important;
    padding-top: 12px !important;
    position: absolute;
    width: 130px;
}
a.read
{
margin-top:15px;
}
}


@media only screen and (max-width:999px)
{
.inner_head {
    width: 900px;
    margin: 0 auto;
}

.top_menu {
      width: 900px;
}

.top_menu ul li {
    padding: 5px 10px 0 5px;
   }
.home_slider,.box,.inner_page,.f1_menu,.f2_menu
{
    width: 900px;
}

.f2_menu span {
    color: #949390;
    float: right;
    font-size: 14px;
    padding-right: 10px;
}
.sub-menu {
    margin-left: 0 !important;
    padding-top: 12px !important;
    position: absolute;
    width: 130px;
}
.foot p {
    color: #949390;
    font-size: 14px;
    padding-left: 0;
    text-align: center;
}

.wide {
    display: none;
}
span.small {
    display: block;
    text-align: center;
    color: #949390;
    padding: 10px;
}

#sidebar {
  width: 30%;
}

.single_post .entry {
    width: 70%;
}

}

@media only screen and (max-width:912px)
{
.inner_head {
    width: 768px;
    margin: 0 auto;
}
.box1, .box2, .box3, .box4 {
    display: block;
    margin-right: -3px;
    min-height: 160px;
    padding-bottom: 25px;
    padding-left: 15px;
    width: 100%;
    border: none;
}
.top_menu {
      width: 768px;
}

.top_menu ul li {
    padding: 5px 10px 0 5px;
   }
.home_slider,.box,.inner_page,.f1_menu,.f2_menu
{
    width: 768px;
}

.f2_menu span {
    color: #949390;
    float: right;
    font-size: 14px;
    padding-right: 10px;
}
.sub-menu {
    margin-left: 0 !important;
    padding-top: 12px !important;
    position: absolute;
    width: 130px;
}
.foot p {
    color: #949390;
    font-size: 14px;
    padding-left: 0;
    text-align: center;
}

.wide {
    display: none;
}
span.small {
    display: block;
    text-align: center;
    color: #949390;
    padding: 10px;
}

#sidebar {
  width: 30%;
}

.single_post .entry {
    width: 70%;
}
}

@media only screen and (max-width:770px)
{

.search-form-main input.text {
    border: 1px solid #666;
    float: left;
    margin: 0 6px 0 0;
    padding: 6px;
    width: 208px;
}

.search-form-main {
    float: none;
    margin: 0 auto;
    padding: 5px;
    width: 300px;
    height: auto;
    overflow: hidden;
}

.single_post {
    margin-top: 0!important;
}

.inner_head #searchform {
    display: none;
}


.logo {
    display: none;
}
.top_menu {
    display: none;
}

.mobile_logo {
    float: left;
}
.m_menu {
    float: right;
}
.inner_head {
    height: auto;
    overflow: hidden;
}
#flip {
    height: 60px;
    width: 60px;
    margin-right: 16px;
    margin-top: 11px;
    cursor: pointer;
}
#flip img {
    width: 100%;
}
#panel {
    background: none repeat scroll 0 0 #1f1f1f;
    display: none;
    overflow: hidden;
    padding: 0 4%;
    clear:both;
    position:relative !important;
    width:100%;
height:100%;
z-index:999 !important;

}
.bx-viewport ul li {
    z-index: 1 !important;
}
#panel li {
    border-bottom: 1px solid #131313;
    border-top: 1px solid #2e2e2e;
    list-style: outside none none;
}

#panel a {
    color: #b3b3b3;
    display: block;
    font-size: 15px;
    line-height: 1em;
    padding: 1em 0;
}
.mobile_logo,.m_menu{
    display: block !important;
}


.inner_head {
    width: 650px;
    margin: 0 auto;
}

.top_menu {
      width: 650px;
}


.home_slider,.box,.inner_page,.f1_menu,.f2_menu
{
    width: 650px;
}


#sidebar {
   width: 100%;
float:none !important;
}

.single_post .entry {
    width: 100%;
margin-bottom:15px;
float:none !important;
}


.wpcf7-form input[type="text"], .wpcf7-form input[type="email"] {
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    height: 36px;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 10px;
    width: 100%;
}
.wpcf7-form textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
}

}


@media only screen and (max-width:649px)
{

.inner_head {
    width: 480px;
    margin: 0 auto;
}

.top_menu {
      width: 480px;
}


.home_slider,.box,.inner_page,.f1_menu,.f2_menu
{
    width: 480px;
}


#sidebar {
   width: 100%;
float:none !important;
}

.single_post .entry {
    width: 100%;
margin-bottom:15px;
float:none !important;
}

.f1_menu,.f2_menu {
    height: auto !important;
}
.f1_menu li,.f2_menu li {
    float: none !important;
    margin-bottom: 12px;
    text-align: center;
}
.f1_menu ul li:after, .f2_menu ul li:after {
    content: "";
}
.foot p {
    margin: 0 30px;
}
}


@media only screen and (max-width:480px)
{

.inner_head {
    width: 447px;
    margin: 0 auto;
}

.top_menu {
      width: 447px;
}


.home_slider,.box,.inner_page,.f1_menu,.f2_menu
{
    width: 447px;
}

.mobile_logo {
    width: 300px;
    height: auto;
    margin-top: 15px;
}
.mobile_logo img {
    width: 100%;
}

}


@media only screen and (max-width:446px)
{

.inner_head {
    width: 100%;
    margin: 0 auto;
}

.top_menu {
      width: 100%;
}


.home_slider,.box,.inner_page,.f1_menu,.f2_menu
{
    width: 100%;
}

.mobile_logo {
    width: 300px;
    height: auto;
    margin-top: 15px;
}
.mobile_logo img {
    width: 100%;
}

}

@media only screen and (max-width:377px)
{
.mobile_logo {
    height: auto;
    margin-top: 15px;
    width: 261px;
}

#flip {
    cursor: pointer;
    height: 60px;
    margin-right: 16px;
    margin-top: 27px;
    width: 32px;
}
a.read {
    margin-left: 10px;

}
.home_slider ul li h2,.heading article h2
{
font-size:24px;
}
}