/* lg */
@media (min-width: 1650px) {
}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {
  #header h1 {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }
  #header h1 img {
    display: inline;
  }
  #header nav {
    float: left;
  }
  #header nav ul li {
    text-align: center;
    margin-right: 30px;
  }
  #header nav ul li.mount {
    margin-right: 0;
  }
  #header nav > ul > li > a {
    height: 77px;
  }
}

@media screen and (max-width: 992px) {
  .wrap-testimony .testimony-slide blockquote {
    width: 100%;
  }
}
@media screen and (min-width: 992px) {
  #header h1{
    margin-top: 15px;
  }
}

/* sm */
@media (max-width: 991px) {
  .header-above {
  display:none;
  }
  .row-bottom-padded-lg {
    padding-bottom: 1em;
  }
  .row-bottom-padded-md {
    padding-bottom: 1em;
  }
  .row-bottom-padded-sm {
    padding-bottom: 1em;
  }
  #header::after,
  #hero::after {
    display:none;
  }
  #header h1 img {
    width: 250px;
  }
  #header nav {
    display: none;
  }
  #hero #logo img {
    width: 550px;
  }
  #sub-hero  .subhero-text  > .subhero-text-inner h2 {
    font-size: 4rem;
  }
  #sub-hero  .subhero-text  > .subhero-text-inner .lead {
    font-size: 16px;
  }
  section {
    padding: 3em 0;
  }
  #topics-section h2 {
    text-align:center;
  }
  #map {
    height: 400px;
  }
  .cta {
    padding: 3em 0;
  }
  #offcanvas {
    display: block;
  }
  .nav-toggle {
    display: block;
    top: 25px;
  }
  #pricing-section {
    padding: 3em 0;
  }
  .go {
    display:none;
  }
  #pagetop {
    display: none;
  }
  #pagetop-m {
    display: block;
    padding-top: 10px;
    padding-bottom: 20px;
    text-align:center;
    text-transform: uppercase;
  }
  #pagetop-m a i {
    font-size: 32px;
    margin: 0 auto;
    color: #3e2b1a;
    vertical-align: middle;
  }
  #pagetop-m a span {
    padding-left:10px;
    color: #3e2b1a;
  }
  #pagetop-m a:hover {
    text-decoration:none;
  }
  /****** Topics ******/
  #topics-section figure {
    margin:15px auto;
  }
}

/* xs */
@media (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
  #sub-hero .subhero-text > .subhero-text-inner h2 {
    font-size: 3rem;
  }
  .topics-eyecatch{
    text-align:center;
    padding-bottom: 20px;
  }
  .topics-post{
    padding:0 15px;
    max-width:70%;
    margin:0 auto;
  }
}
@media (max-width: 560px) {
  .topics-post{
    padding:0;
    max-width:90%;
  }
}

/* XxS Portrait */
@media (max-width: 480px) {

  #hero #logo img {
    width: 350px;
  }
  .col-xxs-12 {
    float: none;
    width: 100%;
  }
  #topics-section figure {
    height: 230px;
    width: 230px;
  }
  #topics-section figure img {
    width: 500px;
  }
  #map {
    height: 200px;
  }
  .copyright span {
    display: inline;
  }
}
@media (max-width: 350px) {
  .nav-toggle {
  right:20px;
    top:20px;
  }
  #header h1 img {
    width: 230px;
  }
  #hero #logo img {
    width: 300px;
  }
  #sub-hero  .subhero-text  > .subhero-text-inner h2 {
    font-size: 2.5rem;
  }
  #footer .count-area h3 {
    padding: 10px;
  }
  #footer .count-area dl dt,#footer .count-area dl dd {
    padding:0;
  }
}
