.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
  max-width: 960px;
  overflow: hidden;
}
.span12 {
  max-width: 960px;
}
@media (max-width: 480px) {
  body {
    padding: 0;
  }
  #site-top {
    height: 160px;
  }
  #navbg {
    background-position: 50% 0px;
    top: -5px;
  }
  .t3-header {
    padding-top: 60px;
  }
  .t3-navhelper {
    margin: 0;
    height: 175px;
  }
  #welcome-section {
    height: auto;
    background-size: 100% 104%;
    padding-bottom: 80px;
  }
  .off-canvas #off-canvas-nav .t3-mainnav .nav-collapse {
    width: 100%;
  }
}
@media (max-width: 769px) and (min-width: 481px) {
  #site-top {
    height: 280px;
  }
  .t3-navhelper {
    height: 205px;
  }
}
@media (max-width: 769px) {
  .logo {
    float: left !important;
    text-align: center;
    width: 100% !important;
  }
  .head-search {
    float: left !important;
    margin-top: 20px;
    margin-left: 0 !important;
    width: 100% !important;
  }
  .head-search form {
    float: none;
  }
  .head-search .input {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 30px;
  }
  .head-search .input:focus {
    width: 100%;
  }
  .t3-header .span8,
  .t3-header .span4 {
    width: 100% !important;
    margin-left: 0 !important;
    float: none;
  }
  .languageswitcherload {
    float: left;
  }
  .languageswitcherload .mod-languages {
    text-align: right;
  }
  .t3-sl {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .t3-footnav {
    padding: 20px 20px 0;
    font-size: 12px;
  }
  .t3-footnav .module-title {
    font-size: 14px;
    font-weight: bold;
  }
  .t3-copyright {
    *zoom: 1;
  }
  .t3-copyright .site-copyright p {
    font-size: 15px;
  }
  .t3-copyright:before,
  .t3-copyright:after {
    display: table;
    content: "";
    line-height: 0;
  }
  .t3-copyright:after {
    clear: both;
  }
  .copyright,
  .poweredby {
    float: none;
    display: inline-block;
    text-align: center;
  }
  .poweredby {
    margin-top: 10px;
  }
  .poweredby .t3-logo,
  .poweredby .t3-logo-small {
    float: none;
    display: inline-block;
  }
  .t3-navhelper {
    background: url(../../templates/ah_albani/images/styles/belt.png) no-repeat 50% 100% transparent;
    background-size: 100%;
  }
  .t3-navhelper> .container {
    padding-top: 110px;
  }
  #quran-online .t3-module {
    margin-bottom: 0;
  }
  #quran-online ul {
    margin: 0;
  }
  #quran-online {
    text-align: center;
    background: url(../../templates/ah_albani/images/styles/quran-online-bg.png) no-repeat 50% 0px #000;
    background-size: 100%;
    z-index: 1;
    position: relative;
    background-size: 100% 100%;
  }
  .t3-mainnav.navbar-collapse-fixed-top {
    margin: 0;
    background: transparent;
    border: none;
    padding: 10px;
  }
  .t3-mainnav .navbar .btn-navbar {
    margin: 0px;
    background: rgba(255,255,255,0.25);
    box-shadow: inset 0px 0px 2px #7E2B02;
    border: none;
    transition: all 0.3s;
  }
  .t3-mainnav .navbar .btn-navbar:hover {
    background: rgba(255,255,255,0.5);
    box-shadow: inset 0px 0px 2px #7E2B02;
    transition: all 0.3s;
  }
}
@media (min-width: 1200px) {
  [class*="span"] {
    margin-left: 0px;
  }
}