

body {
  width: 100%;
  overflow-x: hidden;
}

p {
  font-family: segoe-light, sans-serif;
  font-size: 1.1rem;
  text-align: justify;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 640px;
  
}

.content {
  background-color: var( --bg-colour );
  background-image: var( --bg-image );
  background-repeat: repeat; 
  background-size: cover;
  padding: 1rem 1rem 1rem 2rem;
  min-height: calc( 100vh - 140px );
}

.responsive {
  width: 90%;
  height: auto;
}

.responsive-height {
  width: auto;
  height: 90%;
}

/*  Tooltip  */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  font-size: 85%;
  width: 10rem;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 25%;
  margin-left: -6rem;
  opacity: 0;
  transition: opacity 1s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*  Desktop  */

.logo-line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-logo {
  flex: 0 0 500px; 
  width: 500px;
  a {
      img {
        width:220px;
      }
  }
}

.flex-title {
  font-family: segoe-semibold; 
  font-size: 2.5rem; 
  flex: 1; 
  justify-content: flex-start;
  text-align: left;
}

.flex-line {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-left {
  flex: 0 0 400px; 
  width: 400px;
}

.flex-right {
  font-family: segoe-semibold; 
  font-size: 2.5rem; 
  flex: 1; 
  align-self: auto;
}

.flex-line-2 {
  width: 98%;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.flex-left-2 {
  flex: 0 0 30%; 
  padding-right: 2rem;
}

.flex-centre-2 {
  font-family: segoe-semibold; 
  font-size: 2.5rem; 
  flex: 1; 
  padding-right: 3rem;
}

.flex-right-2 {
  flex: 0 0 30%; 
  align-items: flex-start;
  padding-right: 2rem;
}

.image-container {
  width: 90%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #cacaca;
  background-color: #fff;
  border-radius: 6px;
}

ul.nav {
  list-style: none;
  font-family: segoe-semibold; 
  font-size: 1.2rem;
  line-height: 2rem; 
  margin: 0;
  padding: 0;
  li {
    a {
      text-decoration: none;
      color: inherit;
    }
    a:hover {
      border-bottom: 3px solid #333;
    }
  }
}

ul.csr-link {
  list-style: none;
  font-family: segoe-semibold; 
  font-size: 1rem;
  line-height: 1.8rem; 
  color: #bea286;
  margin: 0 0 2rem 0;
  padding: 0;
  li {
    a {
      text-decoration: none;
      color: inherit;
    }
    a:hover {
      text-decoration: none;
      opacity: 0.8
    }
  }
}

dl {
  display: grid;
  grid-template-columns: 30% auto;
  line-height: 1.2rem;
  font-size: 1rem;
}

dt {
  grid-column-start: 1;
  font-family: segoe-regular;
  margin-bottom: 0.5rem;
}

dd {
  grid-column-start: 2;
  margin-bottom: 0.5rem;
}

.colours-grid {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 0.5rem;
  a {
    text-decoration: none;
    color: #bea286;
    font-family: segoe-semibold;
  }
  a:hover {
    opacity: 0.8;
  }
}

.similar-products {
  text-decoration: none;
  color: #bea286;
  font-family: segoe-semibold;
  line-height: 1.5rem;
}

.similar-products :hover {
  opacity: 0.8;
}

/*  Grid  */
.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.main-image-container {
  width: calc( 640px + 2rem );
  height: calc( 640px + 2rem );
  max-height: 640px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #cacaca;
  background-color: #fff;
  border-radius: 6px;
  text-align: center;
}

.main-carousel {
  height: 600px;
}

.carousel-cell {
  width: 640px;
  max-height: 600px;
}

/*
.flickity-page-dots { 
  bottom: 0px; 
}
*/
.flickity-button {
  background-color: #faf4ef;;  
}

.flickity-button:hover {
  background-color: #eee;  
}

.card-content {
  margin-bottom: 1rem;
  font-family: segoe-semibold; 
  font-size: 1.1rem; 
  line-height: 1.2rem;
}

.card-action {
  font-family: segoe-regular; 
  font-size: 1.1rem; 
}

* {
  box-sizing: border-box;
}

.sub-title {
  font-family: segoe-semibold; 
  font-size: 1.1rem;
}

.attribute-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1.5rem;
}

.list-button {
  width: 80%;
  background-color: #84a17c;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 3px;
  margin-top: 1rem;
  cursor: pointer;
}

.list-button:hover {
  opacity: 0.8;
}

table {
  width: 640px;
  font-size: 1rem;
  font-family: segoe-light;
  margin-bottom: 2rem;
}

th {
  font-family: segoe-regular;
  text-align: right;
}

td.regular {
  font-family: segoe-regular;
}

td.currency {
  text-align: right;
}



/*  Tablet  */
@media only screen and (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  p {
    width: 400px;
  }
  table {
    width: 400px;
  }
  .content {
    background-size: contain;
    background-color: #edeefc;
    padding-left: 10rem;
  }
  .logo-line {
    display: flex;
    justify-content: flex-start;
    align-items: left;
  }
  .flex-logo {
    flex: 0 0 250px; 
    width: 250px;
    a {
        img {
          width:180px;
        }
    }
  }
  .flex-title {
    font-family: segoe-semibold; 
    font-size: 2rem; 
    flex: 1; 
    justify-content: flex-start;
    text-align: left;
  }
  .flex-line-2 {
    width: 98%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .flex-left-2 {
    flex: 0 0 40%; 
    padding-right: 2rem;
  }
  .flex-centre-2 {
    font-family: segoe-semibold; 
    font-size: 2.5rem; 
    flex: 0 0 40%; 
    padding-right: 1rem;
    justify-self: end;
    text-align: center;
  }
  .flex-right-2 {
    flex: 0 0 40%; 
    align-items: flex-start;
  }
}

/*  Phone  */
@media only screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }
  body {
    width: calc( 98% - 2rem );
  }
  p {
    width: 300px;
  }
  table {
    width: 300px;
  }
  ul.nav {
    font-size: 1rem;
    line-height: 1.2rem; 
  }
  .list-button {
    font-size: 1rem;
  }
  .content {
    background-size: contain;
    background-color: #edeefc;
    padding-left: 2rem;
  }
  .logo-line {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
  }
  .flex-logo {
    flex: 1; 
    width: 150px;
    height: 80px;
    a {
        img {
          width:130px;
        }
    }
  }
  .flex-title {
    font-family: segoe-semibold; 
    font-size: 1.2rem; 
    flex: 1; 
    justify-content: flex-start;
    text-align: left;
    margin: 0;
  }
  .flex-line-2 {
    width: 98%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .flex-left-2 {
    flex: 0 0 30%; 
    padding-right: 2rem;
  }
  .flex-centre-2 {
    font-family: segoe-semibold; 
    font-size: 2.5rem; 
    flex: 0 0 30%; 
    padding-right: 1rem;
  }
  .flex-right-2 {
    flex: 0 0 30%; 
    align-items: flex-start;
  }
  .main-image-container {
    width: calc( 240px + 2rem );
    height: calc( 300px + 2rem );
    max-height: 300px;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-left: 2rem;
    border: 1px solid #cacaca;
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
  }
  .main-carousel {
    height: 250px;
  }
  .carousel-cell {
    width: 250px;
    max-height: 250px;
  }
  .img-responsive {
    height: 250px;
    width: auto;
  }
}

