/*#52771B*/
/* promobar */
/*#7e3bd0*/
/*#d03bc4*/
/* media up to # */
/* media from # up */
/* promobar */
#agallery main .image {
  text-align: right;
  padding-top: 100%; }
  #agallery main .image img {
    width: 100%;
    height: auto;
    filter: none;
    margin-top: -100%; }

@media (min-width: 768px) {
  #agallery {
    margin-top: 0;
    padding-top: 0; }
    #agallery main .image {
      padding-left: 0;
      display: flex;
      align-items: center; }
    #agallery #aimages a,
    #agallery header a {
      border: 1.5px solid #fff;
      padding-left: 1px;
      margin-right: -1px;
      box-shadow: 0 0 16px 0 rgba(127, 127, 127, 0.5); }
      #agallery #aimages a img,
      #agallery header a img {
        height: auto;
        width: 100%;
        filter: none; } }

@media (min-width: 544px) and (max-width: 767px) {
  #agallery main .image {
    width: 100%;
    padding-top: 50%;
    text-align: center;
    background-color: #99948f; }
    #agallery main .image img {
      width: 50%;
      height: auto;
      filter: none;
      margin-top: -50%;
      margin-left: auto;
      margin-right: auto; } }

.article-detail-top-section {
  background-color: transparent; }
  .article-detail-top-section .article-description {
    background-color: transparent;
    padding-top: 0; }
    .article-detail-top-section .article-description h1 {
      font-family: "Open Sans", Helvetica, Arial, sans-serif;
      font-size: 2.2rem;
      line-height: 2.6rem; }
    .article-detail-top-section .article-description h2 {
      font-family: "Open Sans", Helvetica, Arial, sans-serif;
      font-size: 2rem;
      line-height: 2.4rem; }
    @media (min-width: 768px) {
      .article-detail-top-section .article-description {
        margin-top: 70px; } }
  @media (min-width: 768px) {
    .article-detail-top-section {
      width: 100%; } }
  @media (min-width: 768px) {
    .article-detail-top-section .breadcrumbs {
      margin-top: 0; } }

#aprice h6 {
  color: #38393f;
  margin-top: 0; }

#aprice .currency1 {
  font-weight: normal;
  font-family: "Open Sans", Helvetica, Arial, sans-serif; }

#aprice .vat {
  color: #666; }

#aprice .base {
  display: inline-block;
  margin-left: 0;
  font-size: 80%;
  color: #666; }

#aprice .shipping h6 {
  color: #666; }

#aprice #adelivery_time {
  font-weight: normal;
  color: #3b7226; }
  #aprice #adelivery_time h6 {
    color: #3b7226; }
  #aprice #adelivery_time .not_available {
    color: #d84f4f; }

#aprice .unit_price h6 {
  margin-top: 3px; }

#aprice .uvp {
  display: none; }

.article #adiscount h6 {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #666; }

.article #adiscount .discount_details td {
  background-color: #FAFAF9; }

.article #adiscount .discount_details th {
  color: #888; }

.article #adiscount .discount_details caption {
  display: none; }

#amatrix_dropdown option {
  color: black;
  background-color: #FAFAF9; }

#afreight_class.BULKY dd {
  color: #4C4E56;
  font-weight: normal; }

.article.detail h3 {
  color: #4C4E56; }

.article.detail h5 {
  color: #4C4E56; }

.article.detail dt {
  color: #999;
  border-bottom: 1px solid #ccc; }

.article.detail dd {
  border-bottom: 1px solid #ccc; }

.article.detail #arating span.count {
  color: #999; }

.article.detail #amanufacturer, .article.detail #apn-group, .article.detail #apv-group {
  display: none; }

#abuy form button.buy {
  color: #fff;
  background-color: #647B4C;
  height: 38px;
  border-radius: 19px;
  text-transform: none;
  float: left; }
  #abuy form button.buy:hover {
    background-color: #83af16; }
  @media (min-width: 768px) {
    #abuy form button.buy {
      width: 180px;
      height: 38px;
      border-radius: 19px;
      font-size: 1.4rem;
      padding-left: 10px; } }
  @media (min-width: 980px) {
    #abuy form button.buy {
      width: 250px;
      height: 42px;
      border-radius: 21px;
      font-size: 1.5rem; } }
  @media (min-width: 1200px) {
    #abuy form button.buy {
      width: 300px; } }

#abuy form button.wishlist {
  color: #647B4C;
  border-radius: 19px;
  background-color: #fff;
  border: 1px solid #647B4C;
  float: right;
  margin-top: 4px; }
  #abuy form button.wishlist:hover {
    background-color: #fff;
    color: #C76C3D;
    border-color: #C76C3D; }
  @media (min-width: 768px) {
    #abuy form button.wishlist {
      width: 100px;
      height: 38px;
      border-radius: 19px;
      font-size: 1.2rem;
      line-height: 1.3rem;
      margin-top: 0; } }
  @media (min-width: 980px) {
    #abuy form button.wishlist {
      width: 140px;
      height: 42px;
      border-radius: 21px;
      font-size: 1.3rem;
      line-height: 1.8rem;
      margin-top: 0; } }

#abuy form .qty {
  font-weight: normal;
  padding: 6px 2px 6px 7px;
  border-radius: 16px 0 0 16px;
  width: 42px; }
  @media (min-width: 768px) {
    #abuy form .qty {
      height: 34px;
      padding: 6px 2px 6px 7px;
      width: 42px;
      border-radius: 15px 0 0 15px; } }
  @media (min-width: 980px) {
    #abuy form .qty {
      height: 38px;
      padding: 6px 2px 6px 7px;
      width: 52px;
      border-radius: 19px 0 0 19px; } }

#abuy form .cart_status {
  float: none;
  clear: both; }

#acrumbs {
  margin: 0 0 20px;
  padding: 0 10px 20px; }
  @media (min-width: 768px) {
    #acrumbs {
      margin: 20px 0; } }
  #acrumbs ul {
    display: inline-block;
    position: relative;
    margin: 0;
    list-style-type: none;
    padding-left: 0; }
    #acrumbs ul li:last-child {
      display: inline-block; }
      #acrumbs ul li:last-child a {
        display: inline-block;
        border: 1px solid #666;
        padding: 1px 6px;
        margin: 4px;
        border-radius: 11px; }

#atabs {
  border-bottom: 7px solid #4C4E56; }
  #atabs header a {
    border: 1px solid #666;
    background-color: #4C4E56;
    color: #333; }
    #atabs header a:first-child {
      border-radius: 7px 0 0 0; }
    #atabs header a:last-child {
      border-radius: 0 7px 0 0; }
    #atabs header a.sel {
      background-color: #fff; }

.hint a:link, .hint a:visited {
  color: #d6713e; }

.article-detail-section .section.parameters {
  flex: 1 0 100%;
  padding: 10px 0;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  margin: 0; }
  .article-detail-section .section.parameters .h {
    width: 100%;
    color: #4C4E56;
    font-size: 2.4rem;
    font-family: Cabrito, Georgia, Times, Times New Roman, serif;
    line-height: 3rem;
    margin: 10px 0 20px 0; }
  @media (min-width: 768px) {
    .article-detail-section .section.parameters {
      flex: 1 0 66.66%; } }

.article-detail-section #parameters_mischkultur dt,
.article-detail-section #parameters_allgemein dt,
.article-detail-section #parameters_aussaat dt {
  flex: 0 0 50%; }

.article-detail-section #parameters_mischkultur dd,
.article-detail-section #parameters_allgemein dd,
.article-detail-section #parameters_aussaat dd {
  flex: 0 0 50%; }

.article-detail-section .section-comment .review h3 {
  text-align: left; }

@media (min-width: 768px) and (max-width: 979px) {
  #agallery #aimages, #agallery header {
    width: 53px; }
    #agallery #aimages a, #agallery header a {
      width: 53px;
      height: 53px;
      max-height: 53px; }
    #agallery #aimages a:nth-child(1):nth-last-child(6),
    #agallery #aimages a:nth-child(2):nth-last-child(5),
    #agallery #aimages a:nth-child(3):nth-last-child(4),
    #agallery #aimages a:nth-child(4):nth-last-child(3),
    #agallery #aimages a:nth-child(5):nth-last-child(2),
    #agallery #aimages a:nth-child(6):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(6),
    #agallery header a:nth-child(2):nth-last-child(5),
    #agallery header a:nth-child(3):nth-last-child(4),
    #agallery header a:nth-child(4):nth-last-child(3),
    #agallery header a:nth-child(5):nth-last-child(2),
    #agallery header a:nth-child(6):nth-last-child(1) {
      width: 49px;
      height: 49px;
      max-height: 49px;
      margin: 6px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(7),
    #agallery #aimages a:nth-child(2):nth-last-child(6),
    #agallery #aimages a:nth-child(3):nth-last-child(5),
    #agallery #aimages a:nth-child(4):nth-last-child(4),
    #agallery #aimages a:nth-child(5):nth-last-child(3),
    #agallery #aimages a:nth-child(6):nth-last-child(2),
    #agallery #aimages a:nth-child(7):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(7),
    #agallery header a:nth-child(2):nth-last-child(6),
    #agallery header a:nth-child(3):nth-last-child(5),
    #agallery header a:nth-child(4):nth-last-child(4),
    #agallery header a:nth-child(5):nth-last-child(3),
    #agallery header a:nth-child(6):nth-last-child(2),
    #agallery header a:nth-child(7):nth-last-child(1) {
      width: 42px;
      height: 42px;
      max-height: 42px;
      margin: 5px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(8),
    #agallery #aimages a:nth-child(2):nth-last-child(7),
    #agallery #aimages a:nth-child(3):nth-last-child(6),
    #agallery #aimages a:nth-child(4):nth-last-child(5),
    #agallery #aimages a:nth-child(5):nth-last-child(4),
    #agallery #aimages a:nth-child(6):nth-last-child(3),
    #agallery #aimages a:nth-child(7):nth-last-child(2),
    #agallery #aimages a:nth-child(8):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(8),
    #agallery header a:nth-child(2):nth-last-child(7),
    #agallery header a:nth-child(3):nth-last-child(6),
    #agallery header a:nth-child(4):nth-last-child(5),
    #agallery header a:nth-child(5):nth-last-child(4),
    #agallery header a:nth-child(6):nth-last-child(3),
    #agallery header a:nth-child(7):nth-last-child(2),
    #agallery header a:nth-child(8):nth-last-child(1) {
      width: 37px;
      height: 37px;
      max-height: 37px;
      margin: 4px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(9),
    #agallery #aimages a:nth-child(2):nth-last-child(8),
    #agallery #aimages a:nth-child(3):nth-last-child(7),
    #agallery #aimages a:nth-child(4):nth-last-child(6),
    #agallery #aimages a:nth-child(5):nth-last-child(5),
    #agallery #aimages a:nth-child(6):nth-last-child(4),
    #agallery #aimages a:nth-child(7):nth-last-child(3),
    #agallery #aimages a:nth-child(8):nth-last-child(2),
    #agallery #aimages a:nth-child(9):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(9),
    #agallery header a:nth-child(2):nth-last-child(8),
    #agallery header a:nth-child(3):nth-last-child(7),
    #agallery header a:nth-child(4):nth-last-child(6),
    #agallery header a:nth-child(5):nth-last-child(5),
    #agallery header a:nth-child(6):nth-last-child(4),
    #agallery header a:nth-child(7):nth-last-child(3),
    #agallery header a:nth-child(8):nth-last-child(2),
    #agallery header a:nth-child(9):nth-last-child(1) {
      width: 32px;
      height: 32px;
      max-height: 32px;
      margin: 4px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(10),
    #agallery #aimages a:nth-child(2):nth-last-child(9),
    #agallery #aimages a:nth-child(3):nth-last-child(8),
    #agallery #aimages a:nth-child(4):nth-last-child(7),
    #agallery #aimages a:nth-child(5):nth-last-child(6),
    #agallery #aimages a:nth-child(6):nth-last-child(5),
    #agallery #aimages a:nth-child(7):nth-last-child(4),
    #agallery #aimages a:nth-child(8):nth-last-child(3),
    #agallery #aimages a:nth-child(9):nth-last-child(2),
    #agallery #aimages a:nth-child(10):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(10),
    #agallery header a:nth-child(2):nth-last-child(9),
    #agallery header a:nth-child(3):nth-last-child(8),
    #agallery header a:nth-child(4):nth-last-child(7),
    #agallery header a:nth-child(5):nth-last-child(6),
    #agallery header a:nth-child(6):nth-last-child(5),
    #agallery header a:nth-child(7):nth-last-child(4),
    #agallery header a:nth-child(8):nth-last-child(3),
    #agallery header a:nth-child(9):nth-last-child(2),
    #agallery header a:nth-child(10):nth-last-child(1) {
      width: 30px;
      height: 30px;
      max-height: 30px;
      margin: 3px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(11),
    #agallery #aimages a:nth-child(2):nth-last-child(10),
    #agallery #aimages a:nth-child(3):nth-last-child(9),
    #agallery #aimages a:nth-child(4):nth-last-child(8),
    #agallery #aimages a:nth-child(5):nth-last-child(7),
    #agallery #aimages a:nth-child(6):nth-last-child(6),
    #agallery #aimages a:nth-child(7):nth-last-child(5),
    #agallery #aimages a:nth-child(8):nth-last-child(4),
    #agallery #aimages a:nth-child(9):nth-last-child(3),
    #agallery #aimages a:nth-child(10):nth-last-child(2),
    #agallery #aimages a:nth-child(11):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(11),
    #agallery header a:nth-child(2):nth-last-child(10),
    #agallery header a:nth-child(3):nth-last-child(9),
    #agallery header a:nth-child(4):nth-last-child(8),
    #agallery header a:nth-child(5):nth-last-child(7),
    #agallery header a:nth-child(6):nth-last-child(6),
    #agallery header a:nth-child(7):nth-last-child(5),
    #agallery header a:nth-child(8):nth-last-child(4),
    #agallery header a:nth-child(9):nth-last-child(3),
    #agallery header a:nth-child(10):nth-last-child(2),
    #agallery header a:nth-child(11):nth-last-child(1) {
      width: 28px;
      height: 28px;
      max-height: 28px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(12),
    #agallery #aimages a:nth-child(2):nth-last-child(11),
    #agallery #aimages a:nth-child(3):nth-last-child(10),
    #agallery #aimages a:nth-child(4):nth-last-child(9),
    #agallery #aimages a:nth-child(5):nth-last-child(8),
    #agallery #aimages a:nth-child(6):nth-last-child(7),
    #agallery #aimages a:nth-child(7):nth-last-child(6),
    #agallery #aimages a:nth-child(8):nth-last-child(5),
    #agallery #aimages a:nth-child(9):nth-last-child(6),
    #agallery #aimages a:nth-child(10):nth-last-child(3),
    #agallery #aimages a:nth-child(11):nth-last-child(2),
    #agallery #aimages a:nth-child(12):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(12),
    #agallery header a:nth-child(2):nth-last-child(11),
    #agallery header a:nth-child(3):nth-last-child(10),
    #agallery header a:nth-child(4):nth-last-child(9),
    #agallery header a:nth-child(5):nth-last-child(8),
    #agallery header a:nth-child(6):nth-last-child(7),
    #agallery header a:nth-child(7):nth-last-child(6),
    #agallery header a:nth-child(8):nth-last-child(5),
    #agallery header a:nth-child(9):nth-last-child(6),
    #agallery header a:nth-child(10):nth-last-child(3),
    #agallery header a:nth-child(11):nth-last-child(2),
    #agallery header a:nth-child(12):nth-last-child(1) {
      width: 25px;
      height: 25px;
      max-height: 25px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(13),
    #agallery #aimages a:nth-child(2):nth-last-child(12),
    #agallery #aimages a:nth-child(3):nth-last-child(11),
    #agallery #aimages a:nth-child(4):nth-last-child(10),
    #agallery #aimages a:nth-child(5):nth-last-child(9),
    #agallery #aimages a:nth-child(6):nth-last-child(8),
    #agallery #aimages a:nth-child(7):nth-last-child(7),
    #agallery #aimages a:nth-child(8):nth-last-child(6),
    #agallery #aimages a:nth-child(9):nth-last-child(5),
    #agallery #aimages a:nth-child(10):nth-last-child(4),
    #agallery #aimages a:nth-child(11):nth-last-child(3),
    #agallery #aimages a:nth-child(12):nth-last-child(2),
    #agallery #aimages a:nth-child(13):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(13),
    #agallery header a:nth-child(2):nth-last-child(12),
    #agallery header a:nth-child(3):nth-last-child(11),
    #agallery header a:nth-child(4):nth-last-child(10),
    #agallery header a:nth-child(5):nth-last-child(9),
    #agallery header a:nth-child(6):nth-last-child(8),
    #agallery header a:nth-child(7):nth-last-child(7),
    #agallery header a:nth-child(8):nth-last-child(6),
    #agallery header a:nth-child(9):nth-last-child(5),
    #agallery header a:nth-child(10):nth-last-child(4),
    #agallery header a:nth-child(11):nth-last-child(3),
    #agallery header a:nth-child(12):nth-last-child(2),
    #agallery header a:nth-child(13):nth-last-child(1) {
      width: 23px;
      height: 23px;
      max-height: 23px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(14),
    #agallery #aimages a:nth-child(2):nth-last-child(13),
    #agallery #aimages a:nth-child(3):nth-last-child(12),
    #agallery #aimages a:nth-child(4):nth-last-child(11),
    #agallery #aimages a:nth-child(5):nth-last-child(10),
    #agallery #aimages a:nth-child(6):nth-last-child(9),
    #agallery #aimages a:nth-child(7):nth-last-child(8),
    #agallery #aimages a:nth-child(8):nth-last-child(7),
    #agallery #aimages a:nth-child(9):nth-last-child(6),
    #agallery #aimages a:nth-child(10):nth-last-child(5),
    #agallery #aimages a:nth-child(11):nth-last-child(4),
    #agallery #aimages a:nth-child(12):nth-last-child(3),
    #agallery #aimages a:nth-child(13):nth-last-child(2),
    #agallery #aimages a:nth-child(14):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(14),
    #agallery header a:nth-child(2):nth-last-child(13),
    #agallery header a:nth-child(3):nth-last-child(12),
    #agallery header a:nth-child(4):nth-last-child(11),
    #agallery header a:nth-child(5):nth-last-child(10),
    #agallery header a:nth-child(6):nth-last-child(9),
    #agallery header a:nth-child(7):nth-last-child(8),
    #agallery header a:nth-child(8):nth-last-child(7),
    #agallery header a:nth-child(9):nth-last-child(6),
    #agallery header a:nth-child(10):nth-last-child(5),
    #agallery header a:nth-child(11):nth-last-child(4),
    #agallery header a:nth-child(12):nth-last-child(3),
    #agallery header a:nth-child(13):nth-last-child(2),
    #agallery header a:nth-child(14):nth-last-child(1) {
      width: 21px;
      height: 21px;
      max-height: 21px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(15),
    #agallery #aimages a:nth-child(2):nth-last-child(14),
    #agallery #aimages a:nth-child(3):nth-last-child(13),
    #agallery #aimages a:nth-child(4):nth-last-child(12),
    #agallery #aimages a:nth-child(5):nth-last-child(11),
    #agallery #aimages a:nth-child(6):nth-last-child(10),
    #agallery #aimages a:nth-child(7):nth-last-child(9),
    #agallery #aimages a:nth-child(8):nth-last-child(8),
    #agallery #aimages a:nth-child(9):nth-last-child(7),
    #agallery #aimages a:nth-child(10):nth-last-child(6),
    #agallery #aimages a:nth-child(11):nth-last-child(5),
    #agallery #aimages a:nth-child(12):nth-last-child(4),
    #agallery #aimages a:nth-child(13):nth-last-child(3),
    #agallery #aimages a:nth-child(14):nth-last-child(2),
    #agallery #aimages a:nth-child(15):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(15),
    #agallery header a:nth-child(2):nth-last-child(14),
    #agallery header a:nth-child(3):nth-last-child(13),
    #agallery header a:nth-child(4):nth-last-child(12),
    #agallery header a:nth-child(5):nth-last-child(11),
    #agallery header a:nth-child(6):nth-last-child(10),
    #agallery header a:nth-child(7):nth-last-child(9),
    #agallery header a:nth-child(8):nth-last-child(8),
    #agallery header a:nth-child(9):nth-last-child(7),
    #agallery header a:nth-child(10):nth-last-child(6),
    #agallery header a:nth-child(11):nth-last-child(5),
    #agallery header a:nth-child(12):nth-last-child(4),
    #agallery header a:nth-child(13):nth-last-child(3),
    #agallery header a:nth-child(14):nth-last-child(2),
    #agallery header a:nth-child(15):nth-last-child(1) {
      width: 20px;
      height: 20px;
      max-height: 20px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(16),
    #agallery #aimages a:nth-child(2):nth-last-child(15),
    #agallery #aimages a:nth-child(3):nth-last-child(14),
    #agallery #aimages a:nth-child(4):nth-last-child(13),
    #agallery #aimages a:nth-child(5):nth-last-child(12),
    #agallery #aimages a:nth-child(6):nth-last-child(11),
    #agallery #aimages a:nth-child(7):nth-last-child(10),
    #agallery #aimages a:nth-child(8):nth-last-child(9),
    #agallery #aimages a:nth-child(9):nth-last-child(8),
    #agallery #aimages a:nth-child(10):nth-last-child(7),
    #agallery #aimages a:nth-child(11):nth-last-child(6),
    #agallery #aimages a:nth-child(12):nth-last-child(5),
    #agallery #aimages a:nth-child(13):nth-last-child(4),
    #agallery #aimages a:nth-child(14):nth-last-child(3),
    #agallery #aimages a:nth-child(15):nth-last-child(2),
    #agallery #aimages a:nth-child(16):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(16),
    #agallery header a:nth-child(2):nth-last-child(15),
    #agallery header a:nth-child(3):nth-last-child(14),
    #agallery header a:nth-child(4):nth-last-child(13),
    #agallery header a:nth-child(5):nth-last-child(12),
    #agallery header a:nth-child(6):nth-last-child(11),
    #agallery header a:nth-child(7):nth-last-child(10),
    #agallery header a:nth-child(8):nth-last-child(9),
    #agallery header a:nth-child(9):nth-last-child(8),
    #agallery header a:nth-child(10):nth-last-child(7),
    #agallery header a:nth-child(11):nth-last-child(6),
    #agallery header a:nth-child(12):nth-last-child(5),
    #agallery header a:nth-child(13):nth-last-child(4),
    #agallery header a:nth-child(14):nth-last-child(3),
    #agallery header a:nth-child(15):nth-last-child(2),
    #agallery header a:nth-child(16):nth-last-child(1) {
      width: 18px;
      height: 18px;
      max-height: 18px;
      margin: 2px 0; } }

@media (min-width: 980px) and (max-width: 1199px) {
  #agallery #aimages, #agallery header {
    width: 60px; }
    #agallery #aimages a, #agallery header a {
      width: 60px;
      height: 60px;
      max-height: 60px;
      margin: 8px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(7),
    #agallery #aimages a:nth-child(2):nth-last-child(6),
    #agallery #aimages a:nth-child(3):nth-last-child(5),
    #agallery #aimages a:nth-child(4):nth-last-child(4),
    #agallery #aimages a:nth-child(5):nth-last-child(3),
    #agallery #aimages a:nth-child(6):nth-last-child(2),
    #agallery #aimages a:nth-child(7):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(7),
    #agallery header a:nth-child(2):nth-last-child(6),
    #agallery header a:nth-child(3):nth-last-child(5),
    #agallery header a:nth-child(4):nth-last-child(4),
    #agallery header a:nth-child(5):nth-last-child(3),
    #agallery header a:nth-child(6):nth-last-child(2),
    #agallery header a:nth-child(7):nth-last-child(1) {
      width: 55px;
      height: 55px;
      max-height: 55px;
      margin: 8px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(8),
    #agallery #aimages a:nth-child(2):nth-last-child(7),
    #agallery #aimages a:nth-child(3):nth-last-child(6),
    #agallery #aimages a:nth-child(4):nth-last-child(5),
    #agallery #aimages a:nth-child(5):nth-last-child(4),
    #agallery #aimages a:nth-child(6):nth-last-child(3),
    #agallery #aimages a:nth-child(7):nth-last-child(2),
    #agallery #aimages a:nth-child(8):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(8),
    #agallery header a:nth-child(2):nth-last-child(7),
    #agallery header a:nth-child(3):nth-last-child(6),
    #agallery header a:nth-child(4):nth-last-child(5),
    #agallery header a:nth-child(5):nth-last-child(4),
    #agallery header a:nth-child(6):nth-last-child(3),
    #agallery header a:nth-child(7):nth-last-child(2),
    #agallery header a:nth-child(8):nth-last-child(1) {
      width: 50px;
      height: 50px;
      max-height: 50px;
      margin: 6px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(9),
    #agallery #aimages a:nth-child(2):nth-last-child(8),
    #agallery #aimages a:nth-child(3):nth-last-child(7),
    #agallery #aimages a:nth-child(4):nth-last-child(6),
    #agallery #aimages a:nth-child(5):nth-last-child(5),
    #agallery #aimages a:nth-child(6):nth-last-child(4),
    #agallery #aimages a:nth-child(7):nth-last-child(3),
    #agallery #aimages a:nth-child(8):nth-last-child(2),
    #agallery #aimages a:nth-child(9):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(9),
    #agallery header a:nth-child(2):nth-last-child(8),
    #agallery header a:nth-child(3):nth-last-child(7),
    #agallery header a:nth-child(4):nth-last-child(6),
    #agallery header a:nth-child(5):nth-last-child(5),
    #agallery header a:nth-child(6):nth-last-child(4),
    #agallery header a:nth-child(7):nth-last-child(3),
    #agallery header a:nth-child(8):nth-last-child(2),
    #agallery header a:nth-child(9):nth-last-child(1) {
      width: 46px;
      height: 46px;
      max-height: 46px;
      margin: 4px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(10),
    #agallery #aimages a:nth-child(2):nth-last-child(9),
    #agallery #aimages a:nth-child(3):nth-last-child(8),
    #agallery #aimages a:nth-child(4):nth-last-child(7),
    #agallery #aimages a:nth-child(5):nth-last-child(6),
    #agallery #aimages a:nth-child(6):nth-last-child(5),
    #agallery #aimages a:nth-child(7):nth-last-child(4),
    #agallery #aimages a:nth-child(8):nth-last-child(3),
    #agallery #aimages a:nth-child(9):nth-last-child(2),
    #agallery #aimages a:nth-child(10):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(10),
    #agallery header a:nth-child(2):nth-last-child(9),
    #agallery header a:nth-child(3):nth-last-child(8),
    #agallery header a:nth-child(4):nth-last-child(7),
    #agallery header a:nth-child(5):nth-last-child(6),
    #agallery header a:nth-child(6):nth-last-child(5),
    #agallery header a:nth-child(7):nth-last-child(4),
    #agallery header a:nth-child(8):nth-last-child(3),
    #agallery header a:nth-child(9):nth-last-child(2),
    #agallery header a:nth-child(10):nth-last-child(1) {
      width: 41px;
      height: 41px;
      max-height: 41px;
      margin: 4px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(11),
    #agallery #aimages a:nth-child(2):nth-last-child(10),
    #agallery #aimages a:nth-child(3):nth-last-child(9),
    #agallery #aimages a:nth-child(4):nth-last-child(8),
    #agallery #aimages a:nth-child(5):nth-last-child(7),
    #agallery #aimages a:nth-child(6):nth-last-child(6),
    #agallery #aimages a:nth-child(7):nth-last-child(5),
    #agallery #aimages a:nth-child(8):nth-last-child(4),
    #agallery #aimages a:nth-child(9):nth-last-child(3),
    #agallery #aimages a:nth-child(10):nth-last-child(2),
    #agallery #aimages a:nth-child(11):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(11),
    #agallery header a:nth-child(2):nth-last-child(10),
    #agallery header a:nth-child(3):nth-last-child(9),
    #agallery header a:nth-child(4):nth-last-child(8),
    #agallery header a:nth-child(5):nth-last-child(7),
    #agallery header a:nth-child(6):nth-last-child(6),
    #agallery header a:nth-child(7):nth-last-child(5),
    #agallery header a:nth-child(8):nth-last-child(4),
    #agallery header a:nth-child(9):nth-last-child(3),
    #agallery header a:nth-child(10):nth-last-child(2),
    #agallery header a:nth-child(11):nth-last-child(1) {
      width: 38px;
      height: 38px;
      max-height: 38px;
      margin: 3px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(12),
    #agallery #aimages a:nth-child(2):nth-last-child(11),
    #agallery #aimages a:nth-child(3):nth-last-child(10),
    #agallery #aimages a:nth-child(4):nth-last-child(9),
    #agallery #aimages a:nth-child(5):nth-last-child(8),
    #agallery #aimages a:nth-child(6):nth-last-child(7),
    #agallery #aimages a:nth-child(7):nth-last-child(6),
    #agallery #aimages a:nth-child(8):nth-last-child(5),
    #agallery #aimages a:nth-child(9):nth-last-child(6),
    #agallery #aimages a:nth-child(10):nth-last-child(3),
    #agallery #aimages a:nth-child(11):nth-last-child(2),
    #agallery #aimages a:nth-child(12):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(12),
    #agallery header a:nth-child(2):nth-last-child(11),
    #agallery header a:nth-child(3):nth-last-child(10),
    #agallery header a:nth-child(4):nth-last-child(9),
    #agallery header a:nth-child(5):nth-last-child(8),
    #agallery header a:nth-child(6):nth-last-child(7),
    #agallery header a:nth-child(7):nth-last-child(6),
    #agallery header a:nth-child(8):nth-last-child(5),
    #agallery header a:nth-child(9):nth-last-child(6),
    #agallery header a:nth-child(10):nth-last-child(3),
    #agallery header a:nth-child(11):nth-last-child(2),
    #agallery header a:nth-child(12):nth-last-child(1) {
      width: 34px;
      height: 34px;
      max-height: 34px;
      margin: 3px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(13),
    #agallery #aimages a:nth-child(2):nth-last-child(12),
    #agallery #aimages a:nth-child(3):nth-last-child(11),
    #agallery #aimages a:nth-child(4):nth-last-child(10),
    #agallery #aimages a:nth-child(5):nth-last-child(9),
    #agallery #aimages a:nth-child(6):nth-last-child(8),
    #agallery #aimages a:nth-child(7):nth-last-child(7),
    #agallery #aimages a:nth-child(8):nth-last-child(6),
    #agallery #aimages a:nth-child(9):nth-last-child(5),
    #agallery #aimages a:nth-child(10):nth-last-child(4),
    #agallery #aimages a:nth-child(11):nth-last-child(3),
    #agallery #aimages a:nth-child(12):nth-last-child(2),
    #agallery #aimages a:nth-child(13):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(13),
    #agallery header a:nth-child(2):nth-last-child(12),
    #agallery header a:nth-child(3):nth-last-child(11),
    #agallery header a:nth-child(4):nth-last-child(10),
    #agallery header a:nth-child(5):nth-last-child(9),
    #agallery header a:nth-child(6):nth-last-child(8),
    #agallery header a:nth-child(7):nth-last-child(7),
    #agallery header a:nth-child(8):nth-last-child(6),
    #agallery header a:nth-child(9):nth-last-child(5),
    #agallery header a:nth-child(10):nth-last-child(4),
    #agallery header a:nth-child(11):nth-last-child(3),
    #agallery header a:nth-child(12):nth-last-child(2),
    #agallery header a:nth-child(13):nth-last-child(1) {
      width: 32px;
      height: 32px;
      max-height: 32px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(14),
    #agallery #aimages a:nth-child(2):nth-last-child(13),
    #agallery #aimages a:nth-child(3):nth-last-child(12),
    #agallery #aimages a:nth-child(4):nth-last-child(11),
    #agallery #aimages a:nth-child(5):nth-last-child(10),
    #agallery #aimages a:nth-child(6):nth-last-child(9),
    #agallery #aimages a:nth-child(7):nth-last-child(8),
    #agallery #aimages a:nth-child(8):nth-last-child(7),
    #agallery #aimages a:nth-child(9):nth-last-child(6),
    #agallery #aimages a:nth-child(10):nth-last-child(5),
    #agallery #aimages a:nth-child(11):nth-last-child(4),
    #agallery #aimages a:nth-child(12):nth-last-child(3),
    #agallery #aimages a:nth-child(13):nth-last-child(2),
    #agallery #aimages a:nth-child(14):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(14),
    #agallery header a:nth-child(2):nth-last-child(13),
    #agallery header a:nth-child(3):nth-last-child(12),
    #agallery header a:nth-child(4):nth-last-child(11),
    #agallery header a:nth-child(5):nth-last-child(10),
    #agallery header a:nth-child(6):nth-last-child(9),
    #agallery header a:nth-child(7):nth-last-child(8),
    #agallery header a:nth-child(8):nth-last-child(7),
    #agallery header a:nth-child(9):nth-last-child(6),
    #agallery header a:nth-child(10):nth-last-child(5),
    #agallery header a:nth-child(11):nth-last-child(4),
    #agallery header a:nth-child(12):nth-last-child(3),
    #agallery header a:nth-child(13):nth-last-child(2),
    #agallery header a:nth-child(14):nth-last-child(1) {
      width: 30px;
      height: 30px;
      max-height: 30px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(15),
    #agallery #aimages a:nth-child(2):nth-last-child(14),
    #agallery #aimages a:nth-child(3):nth-last-child(13),
    #agallery #aimages a:nth-child(4):nth-last-child(12),
    #agallery #aimages a:nth-child(5):nth-last-child(11),
    #agallery #aimages a:nth-child(6):nth-last-child(10),
    #agallery #aimages a:nth-child(7):nth-last-child(9),
    #agallery #aimages a:nth-child(8):nth-last-child(8),
    #agallery #aimages a:nth-child(9):nth-last-child(7),
    #agallery #aimages a:nth-child(10):nth-last-child(6),
    #agallery #aimages a:nth-child(11):nth-last-child(5),
    #agallery #aimages a:nth-child(12):nth-last-child(4),
    #agallery #aimages a:nth-child(13):nth-last-child(3),
    #agallery #aimages a:nth-child(14):nth-last-child(2),
    #agallery #aimages a:nth-child(15):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(15),
    #agallery header a:nth-child(2):nth-last-child(14),
    #agallery header a:nth-child(3):nth-last-child(13),
    #agallery header a:nth-child(4):nth-last-child(12),
    #agallery header a:nth-child(5):nth-last-child(11),
    #agallery header a:nth-child(6):nth-last-child(10),
    #agallery header a:nth-child(7):nth-last-child(9),
    #agallery header a:nth-child(8):nth-last-child(8),
    #agallery header a:nth-child(9):nth-last-child(7),
    #agallery header a:nth-child(10):nth-last-child(6),
    #agallery header a:nth-child(11):nth-last-child(5),
    #agallery header a:nth-child(12):nth-last-child(4),
    #agallery header a:nth-child(13):nth-last-child(3),
    #agallery header a:nth-child(14):nth-last-child(2),
    #agallery header a:nth-child(15):nth-last-child(1) {
      width: 28px;
      height: 28px;
      max-height: 28px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(16),
    #agallery #aimages a:nth-child(2):nth-last-child(15),
    #agallery #aimages a:nth-child(3):nth-last-child(14),
    #agallery #aimages a:nth-child(4):nth-last-child(13),
    #agallery #aimages a:nth-child(5):nth-last-child(12),
    #agallery #aimages a:nth-child(6):nth-last-child(11),
    #agallery #aimages a:nth-child(7):nth-last-child(10),
    #agallery #aimages a:nth-child(8):nth-last-child(9),
    #agallery #aimages a:nth-child(9):nth-last-child(8),
    #agallery #aimages a:nth-child(10):nth-last-child(7),
    #agallery #aimages a:nth-child(11):nth-last-child(6),
    #agallery #aimages a:nth-child(12):nth-last-child(5),
    #agallery #aimages a:nth-child(13):nth-last-child(4),
    #agallery #aimages a:nth-child(14):nth-last-child(3),
    #agallery #aimages a:nth-child(15):nth-last-child(2),
    #agallery #aimages a:nth-child(16):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(16),
    #agallery header a:nth-child(2):nth-last-child(15),
    #agallery header a:nth-child(3):nth-last-child(14),
    #agallery header a:nth-child(4):nth-last-child(13),
    #agallery header a:nth-child(5):nth-last-child(12),
    #agallery header a:nth-child(6):nth-last-child(11),
    #agallery header a:nth-child(7):nth-last-child(10),
    #agallery header a:nth-child(8):nth-last-child(9),
    #agallery header a:nth-child(9):nth-last-child(8),
    #agallery header a:nth-child(10):nth-last-child(7),
    #agallery header a:nth-child(11):nth-last-child(6),
    #agallery header a:nth-child(12):nth-last-child(5),
    #agallery header a:nth-child(13):nth-last-child(4),
    #agallery header a:nth-child(14):nth-last-child(3),
    #agallery header a:nth-child(15):nth-last-child(2),
    #agallery header a:nth-child(16):nth-last-child(1) {
      width: 26px;
      height: 26px;
      max-height: 26px;
      margin: 2px 0; } }

@media (min-width: 1200px) {
  #agallery #aimages, #agallery header {
    width: 80px; }
    #agallery #aimages a, #agallery header a {
      width: 80px;
      height: 80px;
      max-height: 80px; }
    #agallery #aimages a:nth-child(1):nth-last-child(7),
    #agallery #aimages a:nth-child(2):nth-last-child(6),
    #agallery #aimages a:nth-child(3):nth-last-child(5),
    #agallery #aimages a:nth-child(4):nth-last-child(4),
    #agallery #aimages a:nth-child(5):nth-last-child(3),
    #agallery #aimages a:nth-child(6):nth-last-child(2),
    #agallery #aimages a:nth-child(7):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(7),
    #agallery header a:nth-child(2):nth-last-child(6),
    #agallery header a:nth-child(3):nth-last-child(5),
    #agallery header a:nth-child(4):nth-last-child(4),
    #agallery header a:nth-child(5):nth-last-child(3),
    #agallery header a:nth-child(6):nth-last-child(2),
    #agallery header a:nth-child(7):nth-last-child(1) {
      width: 70px;
      height: 70px;
      max-height: 70px;
      margin: 6px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(8),
    #agallery #aimages a:nth-child(2):nth-last-child(7),
    #agallery #aimages a:nth-child(3):nth-last-child(6),
    #agallery #aimages a:nth-child(4):nth-last-child(5),
    #agallery #aimages a:nth-child(5):nth-last-child(4),
    #agallery #aimages a:nth-child(6):nth-last-child(3),
    #agallery #aimages a:nth-child(7):nth-last-child(2),
    #agallery #aimages a:nth-child(8):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(8),
    #agallery header a:nth-child(2):nth-last-child(7),
    #agallery header a:nth-child(3):nth-last-child(6),
    #agallery header a:nth-child(4):nth-last-child(5),
    #agallery header a:nth-child(5):nth-last-child(4),
    #agallery header a:nth-child(6):nth-last-child(3),
    #agallery header a:nth-child(7):nth-last-child(2),
    #agallery header a:nth-child(8):nth-last-child(1) {
      width: 60px;
      height: 60px;
      max-height: 60px;
      margin: 6px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(9),
    #agallery #aimages a:nth-child(2):nth-last-child(8),
    #agallery #aimages a:nth-child(3):nth-last-child(7),
    #agallery #aimages a:nth-child(4):nth-last-child(6),
    #agallery #aimages a:nth-child(5):nth-last-child(5),
    #agallery #aimages a:nth-child(6):nth-last-child(4),
    #agallery #aimages a:nth-child(7):nth-last-child(3),
    #agallery #aimages a:nth-child(8):nth-last-child(2),
    #agallery #aimages a:nth-child(9):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(9),
    #agallery header a:nth-child(2):nth-last-child(8),
    #agallery header a:nth-child(3):nth-last-child(7),
    #agallery header a:nth-child(4):nth-last-child(6),
    #agallery header a:nth-child(5):nth-last-child(5),
    #agallery header a:nth-child(6):nth-last-child(4),
    #agallery header a:nth-child(7):nth-last-child(3),
    #agallery header a:nth-child(8):nth-last-child(2),
    #agallery header a:nth-child(9):nth-last-child(1) {
      width: 54px;
      height: 54px;
      max-height: 54px;
      margin: 5px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(10),
    #agallery #aimages a:nth-child(2):nth-last-child(9),
    #agallery #aimages a:nth-child(3):nth-last-child(8),
    #agallery #aimages a:nth-child(4):nth-last-child(7),
    #agallery #aimages a:nth-child(5):nth-last-child(6),
    #agallery #aimages a:nth-child(6):nth-last-child(5),
    #agallery #aimages a:nth-child(7):nth-last-child(4),
    #agallery #aimages a:nth-child(8):nth-last-child(3),
    #agallery #aimages a:nth-child(9):nth-last-child(2),
    #agallery #aimages a:nth-child(10):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(10),
    #agallery header a:nth-child(2):nth-last-child(9),
    #agallery header a:nth-child(3):nth-last-child(8),
    #agallery header a:nth-child(4):nth-last-child(7),
    #agallery header a:nth-child(5):nth-last-child(6),
    #agallery header a:nth-child(6):nth-last-child(5),
    #agallery header a:nth-child(7):nth-last-child(4),
    #agallery header a:nth-child(8):nth-last-child(3),
    #agallery header a:nth-child(9):nth-last-child(2),
    #agallery header a:nth-child(10):nth-last-child(1) {
      width: 48px;
      height: 48px;
      max-height: 48px;
      margin: 5px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(11),
    #agallery #aimages a:nth-child(2):nth-last-child(10),
    #agallery #aimages a:nth-child(3):nth-last-child(9),
    #agallery #aimages a:nth-child(4):nth-last-child(8),
    #agallery #aimages a:nth-child(5):nth-last-child(7),
    #agallery #aimages a:nth-child(6):nth-last-child(6),
    #agallery #aimages a:nth-child(7):nth-last-child(5),
    #agallery #aimages a:nth-child(8):nth-last-child(4),
    #agallery #aimages a:nth-child(9):nth-last-child(3),
    #agallery #aimages a:nth-child(10):nth-last-child(2),
    #agallery #aimages a:nth-child(11):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(11),
    #agallery header a:nth-child(2):nth-last-child(10),
    #agallery header a:nth-child(3):nth-last-child(9),
    #agallery header a:nth-child(4):nth-last-child(8),
    #agallery header a:nth-child(5):nth-last-child(7),
    #agallery header a:nth-child(6):nth-last-child(6),
    #agallery header a:nth-child(7):nth-last-child(5),
    #agallery header a:nth-child(8):nth-last-child(4),
    #agallery header a:nth-child(9):nth-last-child(3),
    #agallery header a:nth-child(10):nth-last-child(2),
    #agallery header a:nth-child(11):nth-last-child(1) {
      width: 44px;
      height: 44px;
      max-height: 44px;
      margin: 4px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(12),
    #agallery #aimages a:nth-child(2):nth-last-child(11),
    #agallery #aimages a:nth-child(3):nth-last-child(10),
    #agallery #aimages a:nth-child(4):nth-last-child(9),
    #agallery #aimages a:nth-child(5):nth-last-child(8),
    #agallery #aimages a:nth-child(6):nth-last-child(7),
    #agallery #aimages a:nth-child(7):nth-last-child(6),
    #agallery #aimages a:nth-child(8):nth-last-child(5),
    #agallery #aimages a:nth-child(9):nth-last-child(6),
    #agallery #aimages a:nth-child(10):nth-last-child(3),
    #agallery #aimages a:nth-child(11):nth-last-child(2),
    #agallery #aimages a:nth-child(12):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(12),
    #agallery header a:nth-child(2):nth-last-child(11),
    #agallery header a:nth-child(3):nth-last-child(10),
    #agallery header a:nth-child(4):nth-last-child(9),
    #agallery header a:nth-child(5):nth-last-child(8),
    #agallery header a:nth-child(6):nth-last-child(7),
    #agallery header a:nth-child(7):nth-last-child(6),
    #agallery header a:nth-child(8):nth-last-child(5),
    #agallery header a:nth-child(9):nth-last-child(6),
    #agallery header a:nth-child(10):nth-last-child(3),
    #agallery header a:nth-child(11):nth-last-child(2),
    #agallery header a:nth-child(12):nth-last-child(1) {
      width: 40px;
      height: 40px;
      max-height: 40px;
      margin: 4px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(13),
    #agallery #aimages a:nth-child(2):nth-last-child(12),
    #agallery #aimages a:nth-child(3):nth-last-child(11),
    #agallery #aimages a:nth-child(4):nth-last-child(10),
    #agallery #aimages a:nth-child(5):nth-last-child(9),
    #agallery #aimages a:nth-child(6):nth-last-child(8),
    #agallery #aimages a:nth-child(7):nth-last-child(7),
    #agallery #aimages a:nth-child(8):nth-last-child(6),
    #agallery #aimages a:nth-child(9):nth-last-child(5),
    #agallery #aimages a:nth-child(10):nth-last-child(4),
    #agallery #aimages a:nth-child(11):nth-last-child(3),
    #agallery #aimages a:nth-child(12):nth-last-child(2),
    #agallery #aimages a:nth-child(13):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(13),
    #agallery header a:nth-child(2):nth-last-child(12),
    #agallery header a:nth-child(3):nth-last-child(11),
    #agallery header a:nth-child(4):nth-last-child(10),
    #agallery header a:nth-child(5):nth-last-child(9),
    #agallery header a:nth-child(6):nth-last-child(8),
    #agallery header a:nth-child(7):nth-last-child(7),
    #agallery header a:nth-child(8):nth-last-child(6),
    #agallery header a:nth-child(9):nth-last-child(5),
    #agallery header a:nth-child(10):nth-last-child(4),
    #agallery header a:nth-child(11):nth-last-child(3),
    #agallery header a:nth-child(12):nth-last-child(2),
    #agallery header a:nth-child(13):nth-last-child(1) {
      width: 38px;
      height: 38px;
      max-height: 38px;
      margin: 3px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(14),
    #agallery #aimages a:nth-child(2):nth-last-child(13),
    #agallery #aimages a:nth-child(3):nth-last-child(12),
    #agallery #aimages a:nth-child(4):nth-last-child(11),
    #agallery #aimages a:nth-child(5):nth-last-child(10),
    #agallery #aimages a:nth-child(6):nth-last-child(9),
    #agallery #aimages a:nth-child(7):nth-last-child(8),
    #agallery #aimages a:nth-child(8):nth-last-child(7),
    #agallery #aimages a:nth-child(9):nth-last-child(6),
    #agallery #aimages a:nth-child(10):nth-last-child(5),
    #agallery #aimages a:nth-child(11):nth-last-child(4),
    #agallery #aimages a:nth-child(12):nth-last-child(3),
    #agallery #aimages a:nth-child(13):nth-last-child(2),
    #agallery #aimages a:nth-child(14):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(14),
    #agallery header a:nth-child(2):nth-last-child(13),
    #agallery header a:nth-child(3):nth-last-child(12),
    #agallery header a:nth-child(4):nth-last-child(11),
    #agallery header a:nth-child(5):nth-last-child(10),
    #agallery header a:nth-child(6):nth-last-child(9),
    #agallery header a:nth-child(7):nth-last-child(8),
    #agallery header a:nth-child(8):nth-last-child(7),
    #agallery header a:nth-child(9):nth-last-child(6),
    #agallery header a:nth-child(10):nth-last-child(5),
    #agallery header a:nth-child(11):nth-last-child(4),
    #agallery header a:nth-child(12):nth-last-child(3),
    #agallery header a:nth-child(13):nth-last-child(2),
    #agallery header a:nth-child(14):nth-last-child(1) {
      width: 35px;
      height: 35px;
      max-height: 35px;
      margin: 3px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(15),
    #agallery #aimages a:nth-child(2):nth-last-child(14),
    #agallery #aimages a:nth-child(3):nth-last-child(13),
    #agallery #aimages a:nth-child(4):nth-last-child(12),
    #agallery #aimages a:nth-child(5):nth-last-child(11),
    #agallery #aimages a:nth-child(6):nth-last-child(10),
    #agallery #aimages a:nth-child(7):nth-last-child(9),
    #agallery #aimages a:nth-child(8):nth-last-child(8),
    #agallery #aimages a:nth-child(9):nth-last-child(7),
    #agallery #aimages a:nth-child(10):nth-last-child(6),
    #agallery #aimages a:nth-child(11):nth-last-child(5),
    #agallery #aimages a:nth-child(12):nth-last-child(4),
    #agallery #aimages a:nth-child(13):nth-last-child(3),
    #agallery #aimages a:nth-child(14):nth-last-child(2),
    #agallery #aimages a:nth-child(15):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(15),
    #agallery header a:nth-child(2):nth-last-child(14),
    #agallery header a:nth-child(3):nth-last-child(13),
    #agallery header a:nth-child(4):nth-last-child(12),
    #agallery header a:nth-child(5):nth-last-child(11),
    #agallery header a:nth-child(6):nth-last-child(10),
    #agallery header a:nth-child(7):nth-last-child(9),
    #agallery header a:nth-child(8):nth-last-child(8),
    #agallery header a:nth-child(9):nth-last-child(7),
    #agallery header a:nth-child(10):nth-last-child(6),
    #agallery header a:nth-child(11):nth-last-child(5),
    #agallery header a:nth-child(12):nth-last-child(4),
    #agallery header a:nth-child(13):nth-last-child(3),
    #agallery header a:nth-child(14):nth-last-child(2),
    #agallery header a:nth-child(15):nth-last-child(1) {
      width: 33px;
      height: 33px;
      max-height: 33px;
      margin: 2px 0; }
    #agallery #aimages a:nth-child(1):nth-last-child(16),
    #agallery #aimages a:nth-child(2):nth-last-child(15),
    #agallery #aimages a:nth-child(3):nth-last-child(14),
    #agallery #aimages a:nth-child(4):nth-last-child(13),
    #agallery #aimages a:nth-child(5):nth-last-child(12),
    #agallery #aimages a:nth-child(6):nth-last-child(11),
    #agallery #aimages a:nth-child(7):nth-last-child(10),
    #agallery #aimages a:nth-child(8):nth-last-child(9),
    #agallery #aimages a:nth-child(9):nth-last-child(8),
    #agallery #aimages a:nth-child(10):nth-last-child(7),
    #agallery #aimages a:nth-child(11):nth-last-child(6),
    #agallery #aimages a:nth-child(12):nth-last-child(5),
    #agallery #aimages a:nth-child(13):nth-last-child(4),
    #agallery #aimages a:nth-child(14):nth-last-child(3),
    #agallery #aimages a:nth-child(15):nth-last-child(2),
    #agallery #aimages a:nth-child(16):nth-last-child(1), #agallery header a:nth-child(1):nth-last-child(16),
    #agallery header a:nth-child(2):nth-last-child(15),
    #agallery header a:nth-child(3):nth-last-child(14),
    #agallery header a:nth-child(4):nth-last-child(13),
    #agallery header a:nth-child(5):nth-last-child(12),
    #agallery header a:nth-child(6):nth-last-child(11),
    #agallery header a:nth-child(7):nth-last-child(10),
    #agallery header a:nth-child(8):nth-last-child(9),
    #agallery header a:nth-child(9):nth-last-child(8),
    #agallery header a:nth-child(10):nth-last-child(7),
    #agallery header a:nth-child(11):nth-last-child(6),
    #agallery header a:nth-child(12):nth-last-child(5),
    #agallery header a:nth-child(13):nth-last-child(4),
    #agallery header a:nth-child(14):nth-last-child(3),
    #agallery header a:nth-child(15):nth-last-child(2),
    #agallery header a:nth-child(16):nth-last-child(1) {
      width: 31px;
      height: 31px;
      max-height: 31px;
      margin: 2px 0; } }
