@charset "UTF-8";

/* ===== TABLE/PRODUCT PAGE SPECIFIC ===== */
/* Requires: Base.css */

@media all {
  /* ===== MODAL ===== */
  .modal {
    background-color: #333;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    padding: 1em 0 0;
    top: 0;
    width: 100%;
    z-index: 4;
  }

  #close {
    color: #f1f1f1;
    font-size: 2.5em;
    font-weight: bold;
    position: absolute;
    top: 1em;
    transition: 0.3s;
    right: 2em;
  }

  #close:hover,
  #close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  #caption {
    font-size: 2em;
    display: block;
    text-align: center;
    color: #ccc;
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }

  .modal-content {
    max-height: 90%;
    max-width: 90%;
    animation-name: zoom;
    animation-duration: 0.6s;
    display: block;
    margin: auto;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-name: zoom;
    z-index: 5;
    image-orientation: from-image;
  }

  #myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }

  #myImg:hover {
    opacity: 0.7;
  }

  /* ===== PRODUCT/DOOR SPECIFIC ===== */
  #Product h5,
  #Door h5 {
    position: relative;
    top: 5em;
  }

  #Select,
  #DSelect {
    position: relative;
    top: 3.5em;
  }

  /* ===== TABLE LAYOUT ===== */
  figcaption {
    font-size: 11px;
  }

  .spacer {
    display: inline-block;
    float: left;
    padding: 10px;
  }

  .Splitup {
    width: 25%;
    padding: 20px;
    clear: both;
    float: left;
  }
}

/* ===== MOBILE (< 900px) ===== */
@media all and (max-width: 899px) {
  main {
    margin: 0 5em;
    box-sizing: border-box;
  }

  .T {
    position: relative;
    display: table;
    width: 100%;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
    list-style: inside;
    min-width: 100px;
    white-space: pre-wrap;
    -webkit-column-rule: 3px double;
    -moz-column-rule: 3px double;
    column-rule: 3px double;
    clear: right;
  }

  .BigBoyImg {
    max-width: 400px;
    height: auto;
  }

  .TabImg {
    max-width: 300px;
    height: auto;
    float: left;
    clear: left;
  }

  .Plt {
    position: relative;
    top: 5em;
  }
}

/* ===== DESKTOP (>= 900px) ===== */
@media all and (min-width: 900px) {
  .TabImg {
    height: auto;
    max-width: 300px;
    margin: auto;
    float: left;
    clear: right;
  }

  .Plt {
    position: relative;
    top: 3.5em;
  }
}

/* ===== LARGE SCREENS (>= 1251px) ===== */
@media all and (min-width: 1251px) {
  .T {
    margin: auto;
    display: table-cell;
    vertical-align: top;
    padding: 20px;
    -webkit-column-rule: 3px double;
    -moz-column-rule: 3px double;
    column-rule: 3px double;
  }

  .Words {
    width: 30em;
  }

  .BigBoyImg {
    height: auto;
    max-width: 50em;
    margin: 0 auto;
  }
}