@charset "UTF-8";

/* ===== PRODUCT PAGE SPECIFIC ===== */
/* This file contains styles unique to product listing pages */
/* Requires: Base.css */

@media all {
  /* ===== SEARCH ===== */
  #Search {
    width: 10em;
  }

  /* ===== PRODUCT TYPES ===== */
  #types {
    width: 20em;
    height: 20em;
    display: inline-block;
  }

  #types a {
    margin: 1em;
    display: inline-block;
    border: 2px solid #384245;
    border-radius: 10em;
    width: 5em;
    height: 5em;
  }

  /* ===== TOOLTIPS ===== */
  .Wrapper,
  .Colours {
    margin: 3px 0;
  }

  .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    width: 7.5em;
    background-color: #333;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    position: absolute;
    z-index: 2;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
    -webkit-transition-delay: 2.5s;
    transition-delay: 2.5s;
  }

  /* ===== IMAGE MODALS ===== */
  #myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }

  #myImg:hover {
    opacity: 0.7;
  }

  .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;
  }

  /* ===== TAB NAVIGATION ===== */
  nav.tab,
  div.tab,
  section.tab {
    background: #0c19cf;
    border: 1px solid #ccc;
    box-sizing: border-box;
    overflow: hidden;
  }

  nav.tab button,
  div.tab button,
  section.tab button {
    background: #0c19cf;
    color: #fff;
    float: left;
    font-size: 17px;
    padding: 14px 16px;
    transition: 0.3s;
  }

  nav.tab button:hover,
  div.tab button:hover,
  section.tab button:hover {
    background: #c04912;
    transition: 0.8s;
  }

  nav.tab button.active,
  div.tab button.active,
  section.tab button.active {
    background: #AFCB5A;
    transition: 0.8s;
  }

  .tabcontent {
    border: 1px solid #ccc;
    border-top: none;
    display: none;
    padding: 6px 12px;
  }

  .tabcontent ul li {
    list-style: inside;
  }

  .tabcontent ol li {
    list-style: none;
  }

  /* ===== DETAIL BUTTON ===== */
  #Detailsman {
    margin: 10px 0;
    position: relative;
    text-align: center;
    background-color: #c04912;
    border-color: #98b1c4;
    color: #FFFFFF;
  }

  #Detailsman:hover {
    background-color: #00E034;
    border-color: #0c19cf;
  }

  #Detail {
    display: none;
  }

  /* ===== PRODUCT DISPLAY ===== */
  figcaption {
    font-size: 11px;
  }

  #Product h5,
  #Door h5 {
    position: relative;
    top: 5em;
  }

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

  #Foxy {
    background-color: #00E034;
    border: groove 5px #c04912;
    border-radius: 30px;
    padding: 10px;
    font-family: verdana, sans-serif;
    font-size: 12px;
    max-width: 200px;
    display: inline-block;
    text-align: center;
  }

  .Fix {
    position: fixed;
    top: -222px;
  }

  .Mix {
    position: absolute;
    top: -20px;
  }

  .Top {
    top: 200px;
  }

  .Top.Fix {
    top: 0px;
  }

  .Selected {
    border: dashed blue;
    border-radius: 8px;
  }

  .Selected::after {
    content: "Selected";
  }

  .div {
    padding: 0 5px;
    background: #2020df;
    color: #dfd;
  }
}

/* ===== MOBILE PRODUCT LAYOUT ===== */
@media all and (max-width: 899px) {
  .box {
    position: relative;
    display: table;
    width: 100%;
    margin: auto;
    padding: 5px;
    box-sizing: border-box;
    list-style: inside;
  }

  .Desc {
    list-style: inside;
    display: table-cell;
    padding: 10px;
    -webkit-column-rule: 3px double;
    -moz-column-rule: 3px double;
    column-rule: 3px double;
    width: 100%;
    min-width: 100px;
    clear: right;
    float: left;
    box-sizing: border-box;
  }

  .tooltip {
    max-height: 600px;
    max-width: 300px;
  }

  .BigImg {
    max-height: 100px;
    max-width: 100px;
  }

  .side ol {
    display: flex;
    list-style: inside none;
    border: groove thick;
    border-radius: 20px;
    max-width: 80%;
    position: relative;
    left: 5%;
  }

  .refurb {
    -webkit-column-rule: 3px double;
    -moz-column-rule: 3px double;
    column-rule: 3px double;
    max-width: 95%;
    margin: auto;
    list-style: inside;
    display: table;
  }

  .refurb img {
    display: block;
    max-width: 300px;
    margin: 10px auto;
  }

  .tabcontent {
    max-width: 53em;
  }

  table#customers {
    width: 50%;
    max-width: 53em;
  }

  #customers tr:nth-child(even) {
    background-color: #f2f2f2
  }

  #customers th {
    background-color: #aab0b5;
    color: white;
  }

  #collect,
  .midcom {
    padding: 3px;
    float: right;
    clear: right;
    position: relative;
    bottom: 45%;
  }
}

/* ===== DESKTOP PRODUCT LAYOUT ===== */
@media all and (min-width: 900px) {
  .box {
    display: table-row;
    margin: auto;
    padding: 5px 0;
  }

  .Desc {
    list-style: inside;
    width: 31em;
    vertical-align: top;
    display: table-cell;
  }

  .tooltip {
    max-height: 600px;
    max-width: 400px;
  }

  .BigImg {
    max-height: 400px;
    max-width: 400px;
    display: inline-block;
  }

  .refurb {
    display: table;
    margin: auto;
    max-width: 95%;
  }

  .refurb img {
    display: block;
    max-width: 350px;
    margin: 10px auto;
  }

  table#customers {
    font-size: 16px;
    border-collapse: collapse;
    width: 100%;
  }

  #customers td,
  #customers th {
    border: 1px solid #ddd;
    padding: 8px;
  }

  #customers tr:nth-child(even) {
    background-color: #f2f2f2
  }

  #customers th {
    padding: 11px 0;
    background-color: #aab0b5;
    color: white;
  }
}