.responsive body {
  min-width: 240px;
}

.responsive .content-layout img,
.responsive .content-layout video {
  max-width: 100%;
  height: auto !important;
}

.responsive .responsive-embed {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  
  height: 0;
}

.responsive .responsive-embed iframe,
.responsive .responsive-embed object,
.responsive .responsive-embed embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#resp {
  display: none;
}

/* dynamic width nav */

.responsive .header {
  z-index: 999;
  text-align: right;
}

.responsive .header .logo {
  float: left;
}

.responsive .header .top #search {
  width: auto;
}

.responsive .header .top {
  width: auto;
  margin-top: 10px;
}

.responsive .header .top #search.responsive form {
  display: inline-block;
  height: 100%;
}

.responsive .header .top #search.responsive .submit.default {
  position: relative;
  width: 50px;
}

.responsive .header .top #search.responsive .submit.appended {
  right: 50px;
  width: 50px;
}

.responsive .header .top #search.responsive input {
  position: absolute !important;
  width: 260px;
  right: 0 !important;
  left: auto !important;
}

.responsive .header .top #search.responsive .twitter-typeahead {
  position: absolute !important;
  right: 0;
  top: 0;
}

.responsive .header .top #search.responsive .tt-menu {
  left: auto !important;
  right: 0 !important;
}

.responsive .nav {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  margin-top: 10px;
}

.nav .menu-btn {
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
  display: none;
  background: #fff;
  padding: 5px 5px 4px;
  position: relative;
  width: 32px;
  vertical-align: bottom;
}

.nav .menu-btn span {
  background: #e59904;
  border-radius: 2px;
  display: block;
  height: 3px;
  margin: 3px 1px;
  position: relative;
  -moz-transition: background .2s;
  -o-transition: background .2s;
  -webkit-transition: background .2s;
  transition: background .2s;
}

.nav .menu-btn:hover span {
  background: #f3f3f3;
}

.responsive .nav .menu-btn {
  display: inline-block;
}

/* full width hmenu, instead of inline-block */

.responsive .nav ul.hmenu {
  display: none;
  float: none;
  text-align: center;
  position: absolute;
  left: 0;
  top: 120%;
  background: #fff;
}

.responsive .nav .hmenu.visible {
  display: block;
}

.responsive .nav .hmenu li {
  display: inline-block;
  width: 100%;
  text-align: center;
  border-top: solid 1px #ddd;
}

.responsive .nav .hmenu li:first-child {
  border-top: none;
}

.responsive .nav .hmenu li a {
  display: inline-block;
  width: 100%;
  padding: 10px;
}

.responsive .nav .hmenu li a:hover,
.responsive .nav .hmenu li.active a {
  background: #e59904;
  color: #fff;
}

@media all and (max-width: 1600px) {
  .mainWrapper {
    width: 1200px;
  }
  .posts .group.others .post {
    width: 74%;
  }
  .categoryDetail .posts {
    width: 74%;
  }
  .postDetail .contentPart,
  .postDetail .related {
    width: 73.5%;
  }
  .posts .group.others .post .image {
    width: 26.5%;
  }
  .posts .group.others .post .info {
    width: 73.5%;
  }
  
  /* posts */
  .posts.others {
    width: 73%;
  }
  
  /* post detail */
  .postDetail .contentPart .mainImage #mainVideo {
    height: 497px;
  }
  
  /* gallery */
  .equipments.list .item .info .button.big {
    padding: 8px 15px;
  }
  .facts.list .item .info .inner {
    width: 97%;
  }
  .facts.list .item .info .label {
    font-size: 18px;
  }
}

@media all and (max-width: 1400px) {
  .mainWrapper {
    width: 1100px;
  }
  .posts .group.others .post {
    width: 71.5%;
  }
  .categoryDetail .posts {
    width: 72%;
  }
  .postDetail .contentPart,
  .postDetail .related {
    width: 71%;
  }
  .posts .group.others .post .image {
    width: 27.5%;
  }
  .posts .group.others .post .info {
    width: 72.5%;
  }
  
  /* posts */
  .posts .post .info .title {
    font-size: 1.2em;
  }
  .posts.others {
    width: 71%;
  }
  
  /* post detail */
  
  .postDetail .contentPart .mainImage #mainVideo {
    height: 439px;
  }
  
  /* gallery */
  .equipments.list .item .image {
    width: 40%;
  }
  .equipments.list .item .info {
    width: 60%;
    padding: 13px;
    padding-left: 13px;
  }
  .equipments.list .item .info .buttons {
    display: none;
  }
  .facts.list {
    width: 72%;
  }

}

@media all and (max-width: 1200px) {
  .mainWrapper {
    width: 1000px;
  }
  .posts .group.others .post {
    width: 69%;
  }
  .categoryDetail .posts {
    width: 69%;
  }
  .postDetail .contentPart,
  .postDetail .related {
    width: 68%;
  }
  .posts.others {
    width: 68.5%;
  }
  
  /* post detail */
  .postDetail .contentPart .mainImage #mainVideo {
    height: 382px;
  }
  
  /* gallery */
  .facts.list .item {
    width: 32%;
  }
  .facts.list {
    width: 69%;
  }
}

@media all and (max-width: 1100px) {
  .mainWrapper {
    width: 950px;
  }
  .posts.others {
    width: 67%;
  }
  .categoryDetail .posts {
    width: 67.5%;
  }
  
  /* homePage posts */
  .posts .group.first {
    padding-left: 0;
  }
  .posts .group.first .post.first {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 1%;
    height: 300px;
  }
  .posts .group.first .post {
    margin-top: 1%;
  }
  .posts .group.second .post,
  .posts .group.second .post:first-child {
    width: 100%;
    margin-bottom: 1%;
  }
  
  /* post detail */
  .postDetail .contentPart .mainImage #mainVideo {
    height: 359px;
  }
  .postDetail .contentPart,
  .postDetail .related {
    width: 67%;
  }
  
  /* gallery */
  .facts.list {
    width: 68%;
  }
}

@media all and (max-width: 1000px) {
  .mainWrapper {
    width: 850px;
  }
  .adContainer.topAd, .adContainer.bottomAd {
    display: none;
  }
  .adContainer {
    display: none !important;
  }
  .categoryDetail .posts {
    width: 100%;
  }
  .posts.others {
    width: 100%;
  }
  
  /* chosen */
  .posts.chosen .post {
    width: 100%;
    margin-left: 0;
  }
  
  /* post detail */
  .postDetail .contentPart .mainImage #mainVideo {
    height: 478px;
  }
  .postDetail .contentPart,
  .postDetail .related {
    width: 100%;
  }
  
  /* gallery */
  .equipments.list {
    width: 100%;
  }
  .facts.list {
    width: 100%;
  }
}

@media all and (max-width: 900px) {
  .mainWrapper {
    width: 700px;
  }
  
  /* header */
  .header .logo {
    width: 20%;
    min-width: 0;
  }
  .header .logo a {
    width: 130px;
  }
  .header .top {
    width: 79%;
  }
  
  /* post detail */
  .postDetail .contentPart .mainImage #mainVideo {
    height: 394px;
  }
  
  /* posts */
  .posts .post {
    margin-top: 2% !important;
  }
}

@media all and (max-width: 799px) {
  #resp,
  #resp-t {
    display: block;
  }
  #resp-m {
    display: none;
  }
  .mainWrapper {
    width: 90%;
  }
  
  /* header */
  .header .top .links {
    display: none;
  }
  .header .top {
    width: 72%;
  }
  
  /* post detail */
  .postDetail .contentPart h1.title {
    font-size: 25px;
  }
  .postDetail .contentPart .outer {
    padding: 20px;
  }
  .postDetail .contentPart .mainImage .miniInfo {
    width: 92%;
    position: relative;
    width: 100%;
    margin-top: 10px;
    padding: 0 20px;
    bottom: 0;
    left: 0;
  }
  .postDetail .contentPart .outer .topText {
    font-size: 1.2em;
  }
  .postDetail .contentPart .gallery {
    width: 100%;
    float: none;
  }
  .postDetail .contentPart .images {
    overflow: visible;
    height: auto !important;
  }
  .postDetail .contentPart .images .photo {
    display: inline-block;
    width: 30%;
    opacity: 1 !important;
  }
  .postDetail .contentPart .content {
    width: 100%;
    margin-left: 0;
  }
  .postDetail .contentPart .gallery .showAllPhotos {
    display: none !important;
  }
  .postDetail .contentPart .mainImage #mainVideo {
    height: auto;
  }
}

@media all and (max-width: 560px) {
  /* post detail */
  .postDetail .contentPart .mainImage .miniInfo > div {
    display: inline-block;
    width: 100%;
    border-bottom: solid 1px #ddd;
    padding: 3px 0 !important;
  }
  .postDetail .contentPart .mainImage .miniInfo .links li {
    margin-left: 0;
  }
  .postDetail .contentPart .mainImage .miniInfo .date {
    display: inline-block;
    width: 100%;
    margin-left: 0;
    border-top: solid 1px #ddd;
    padding-top: 3px;
    margin-top: 3px;
  }
}

@media all and (max-width: 680px) {
  /* posts */
  .posts .post {
    height: auto !important;
    margin-top: 15px !important;
  }
  .posts .post .image {
    width: 100% !important;
    height: 140px !important;
  }
  .posts .post .info {
    width: 100% !important;
  }
  
  /* post detail */
  .postDetail .contentPart .images .photo {
    width: 49%;
  }
  .postDetail .contentPart .mainImage .miniInfo .links .print {
    display: none;
  }
}

@media all and (max-width: 480px) {
  #resp,
  #resp-m {
    display: block;
  }
  #resp-t {
    display: none;
  }
  .responsive .header .top #search.responsive .tt-menu {
    width: 300px !important;
    right: -40px !important;
  }
  /* post detail */
  .postDetail .contentPart .images .photo {
    width: 100%;
  }
}