
@media screen and (max-width: 960px) {
  
  body aside,
  body #content,
  #top-area .column,
  #footer-area .column{
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    clear: both;
  }

  body.sidebar-second .content-sidebar-wrap,
  body.two-sidebars .content-sidebar-wrap{
    width:100%; 
  }

  #footer,
  #page-wrap,
  #footer_wrapper{
    padding: 0 15px;
  }

  .top_left, .top_right{
    float: none;
    width: 100%;
    display: block;
    overflow: hidden;
    text-align: center;
  }

  #logo,
  #site-title{
    display: inline-block;
    text-align: center;
    float: none;
    vertical-align: top;
  }

  .top_right .region-search{ float: none; }

  .social-icons{
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

}

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

  #main-menu ul {
    display: none;
  }

  #main-menu li ul {
    position: static;
    border: 0;
  }

  #main-menu li ul ul {
    margin: 0 !important;
    border: 0;
  }

  #main-menu ul,
  #main-menu li {
    float: none;
    width: 100%;
  }

  #main-menu {
    border: 0;
    float: none;
    display: block;
    clear: both;
    float: left;
    width: 100%;
    margin-top: 20px;
  }

  #main-menu a,
  #main-menu li a.active {
    width: 100%;
    padding: 18px 0;
    color: #fff;
    border-radius: 0;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #84C5E2;
    background: #4294B0;
  }

  #main-menu li li a{
    background: #2DA3CB;
  }

  #main-menu li:hover >a{
    background: #1681AD;
    color: #fff;
  }

  #main-menu li li a {
    text-align: center;
    padding: 18px 0;
  }

  #main-menu li:hover > ul,
  #main-menu li li:hover > ul,
  #main-menu li li li:hover > ul {
    display: none;
  }

  #main-menu li li.expanded >a{
    background-image: none;
  }

  .drop-down-toggle {
    display: block;
  }

  #main-menu .nav-toggle {
    display: block;
    font-size: 15px;
    font-weight: normal;
    background: #18222B;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    text-align: center;
    background: url(../images/mobile-menu.png) right 14px #18222B no-repeat;
    padding: 15px;
  }

  #main-menu ul.menu li {
    margin: 0;
    width: 100%;
  }

  .footer_credit p{
    width: 100%;
    text-align: center;
  }

  .social-icons{
    margin: 10px 0 0 0;
  }

}


@media screen and (min-width: 641px) {
  #main-menu > ul.menu { 
    display: inline-block !important;
  }
}