@font-face {
  font-family: 'Montserrat';
  src:  url('/fonts/Montserrat/Montserrat-Regular.ttf') format('ttf');
}

:root {
  /* Colours */
  --active: #f2f2f2;
  --background: black;
  --focus: #999;
  --highlight-text: white;
  --main-text: gold;
  --reverse-background: gold;
  --reverse-text: black;
  --dark-transparent: rgba(0,0,0,.5);

  /* Font Sizes*/
  --smaller: 60%;

  /* Borders */
  --thin-gold: 1px solid gold;
  --thicker-white: 2px solid white;
}

html, body {
  height: 100%;
}

html {
  background-color: var(--background);
  color: var(--main-text);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .125rem;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1, h2 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}

h1 {
  text-transform: uppercase;
}

h2 {
  margin-bottom: .5rem;
}

body > header {
  margin-top: 80px;
  margin-bottom: 10px;
}

body > header img {
  width: 100%;
}

footer {
  font-size: var(--smaller);
  letter-spacing: .1rem;
  margin-bottom: 3rem;
  text-align: center;
}

footer div:first-of-type a {
  color: var(--highlight-text);
}

footer div:not(:first-of-type) {
  margin-top: .5rem;
}

main {
  flex: 1 0 auto;
  padding: .5rem 0;
}

/*
main:before {
  background-attachment: fixed;
  background-image: url(/img/tony-pose-3-mobile.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  min-height: 1400px;
  min-width: 100vw;
  position: absolute;
  z-index: 1;
}
*/

main > *,
footer {
  position: relative;
  z-index: 2;
}

article {
/*  background-color: rgba(0,0, 0,.6);*/
  border: var(--thin-gold);
  border-radius: 16px;
  flex-direction: column;
  margin: .5rem;
  padding: 1rem;
}

article > section > a,
article > section > a:visited,
article h2 {
  color: var(--highlight-text);
}

article h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
}

/*acticle h1,*/
article > section {
  position: relative;
  z-index: 2;
}

article > section {
  font-size: 1rem;
}

article#contact > section.details {
  display: flex;
  flex-direction: row;
}

article#contact > section.details i, 
div.section-header > i {
  margin-right: .5rem;
}

article#contact section div.address  {
  display: inline-block;
  vertical-align: top;
}

article#forSale div.section-header {
  display: flex;
  justify-content: space-between;
}

article > section div.photo-left {
  float: left;
  margin: 0 1rem .5rem 0;
}

article > section div.photo-right {
  float: right;
  margin-left: .5rem;
/*  margin: 0 0 .5rem 1rem;*/
}

article > section div.photo img {
  border: var(--thin-gold);
  border-radius: 10px;
  height: 100%;
  width: 100%;
}

article div.blurb > div:last-of-type {
  margin-bottom: .5rem;
}

article div.blurb p:first-of-type {
  margin-top: 0
}

article div a:link,
article div a:active,
article div a:visited {
  color: var(--highlight-text);
}

article div > a:link {
  margin-left: .5rem;
}

article div a:hover {
  color: var(--main-text);
}

article div i {
  font-size: 200%;
  vertical-align: middle;
}

article > header,
div.section-header {
  padding: .5rem;
}

article > header {
  background-color: var(--reverse-background);
  color: var(--reverse-text);
  margin-bottom: 1rem;  
}

div.section-header {
  background: var(--reverse-background);
  color: var(--reverse-text);  
  text-transform: uppercase;
}

article > header > h1 {
  align-items: center;
  display: flex;
  font-size: 1.2rem;
}

article > header > h1 > i {
  font-size: 1.75rem;
  margin-right: .5rem;
}

section > div > h2 {
  font-size: .9rem;
}

section > div > h2:not(:first-of-type) {
  margin-top: 1rem;
}

section div > ul {
  margin: .25rem 0 0;
}

section div > ul > li {
  line-height: 1.6;
}

.desktop,
.tablet {
  display: none;
}

.hidden {
  display: none!important;
}

.highlight {
  color: var(--highlight-text);
}

.intro {
  color: var(--main-text);
  margin: 0 0 1rem;
  padding: .25rem 0;
}

.intro > p:first-of-type {
  margin: 0;
}

.nocaps {
  text-transform: none;
}

.noscroll {
  overflow: hidden;
}

.price {
  font-weight: bold;
}

.slides {
  position: relative;
}

.reserved::before,
.sold::before {
  background-color: var(--dark-transparent);
  font-size: 5rem;
  line-height: 3;
  text-align: center;
  height: 100%;
  margin-left: -1rem;
  position: absolute;
  text-transform: uppercase;
  width: 100%;
  z-index: 2;
}

.reserved::before {
  content: "reserved";
  color: orange;
}

.sold::before {
  content: "sold";
  color: red;
}

.text-small {
  font-size: var(--smaller);
}

/*==============================*/
/*  M E N U   H A M B U R G E R */
/*==============================*/
.menu__toggler,
.fsMenu__toggler,
.galleryMenu__toggler {
  align-items: center;
  border-width: 0;
  display: flex;
  outline: none;
  padding: 0 .5rem;
  position: relative;
  width: 100%;
  z-index: 999;
}

.menu__toggler i,
.menu__toggler i::before,
.menu__toggler i::after,
.fsMenu__toggler i,
.fsMenu__toggler i::before,
.fsMenu__toggler i::after,
.galleryMenu__toggler i,
.galleryMenu__toggler i::before,
.galleryMenu__toggler i::after {
  background: var(--highlight-text);
  border-radius: 20px;
  content: '';
  height: 2px;
  position: absolute;
  text-align: left;
  transition: 500ms;
  width: 28px;
}

.menu__toggler i::before {
  top: -8px;
}

.menu__toggler i::after {
  top: 8px;
}

.fsMenu__toggler i::before {
  top: -8px;
}

.fsMenu__toggler i::after {
  top: 8px;
}

.galleryMenu__toggler i::before {
  top: -8px;
}

.galleryMenu__toggler i::after {
  top: 8px;
}

.menu__toggler span,
.fsMenu__toggler span,
.galleryMenu__toggler span {
  color: var(--highlight-text);
  font-size: 1rem;
  font-weight: normal;
  margin-left: 2.5rem;
  text-transform: uppercase;
}

.menu__toggler.active > i,
.fsMenu__toggler.active > i,
.galleryMenu__toggler.active > i {
  background: transparent;
}

.menu__toggler.active > i::before,
.menu__toggler.active > i::after,
.fsMenu__toggler.active > i::before,
.fsMenu__toggler.active > i::after,
.galleryMenu__toggler.active > i::before,
.galleryMenu__toggler.active > i::after {
  top: 0;
}

/*
.menu__toggler.active > i::before,
.menu__toggler.active > i::after {
 top: 0;
}
*/

.menu__toggler.active > i::before,
.fsMenu__toggler.active > i::before,
.galleryMenu__toggler.active > i::before {
  transform: rotate(-225deg);
}

.menu__toggler.active > i::after,
.fsMenu__toggler.active > i::after,
.galleryMenu__toggler.active > i::after {
  transform: rotate(225deg);
}

.menu__toggler {
  background: var(--dark-transparent);
  height: 60px;
  position: fixed;
  top: 0;
  width: 100%;
}

.fsMenu__toggler,
.galleryMenu__toggler {
/*  background: transparent;*/
  margin-bottom: .5rem;
  padding: .75rem
}

.fsMenu__toggler i,
.fsMenu__toggler i::before,
.fsMenu__toggler i::after {
    background: var(--reverse-text);
}

.galleryMenu__toggler i,
.galleryMenu__toggler i::before,
.galleryMenu__toggler i::after {
  background: var(--reverse-text);
}

.fsMenu__toggler span,
.galleryMenu__toggler span {
  color: var(--reverse-text);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .125rem;
}

/*=======================================*/
/*  S L I D I N G   M E N U   P A N E L  */
/*=======================================*/
nav {
  text-transform: uppercase;
}

nav ul {
  align-items: center;
/*  background: rgba(255, 215, 0, 0.8);*/
  background: var(--dark-transparent);
  color: var(--reverse-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  left: -100%;
  list-style-type: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: fixed;
  top: 0;
  transition: 300ms left;
  width: 100%;
  z-index: 998;
}

nav ul.active {
  left: 0;
}

nav ul li {
  background-color: var(--reverse-background);
  margin: 1px;
  width: 95%
}

nav ul#menu li:first-of-type {
  margin-top: 10vh;
}

nav ul li a {
  background-color: var(--reverse-background);
  color: var(--reverse-text);
  display: block;
  padding: .45rem;
  text-decoration: none;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: var(--active);
  color: black;
}

nav ul#fsMenu,
nav ul#galleryMenu {
  background: var(--dark-transparent);
}

nav ul li a i {
  font-size: 1.5rem;
  vertical-align: middle;
}

nav ul#menu li a i,
nav ul#fsMenu li a i,
nav ul#galleryMenu li a i {
  margin-right: .5rem;
}

/*=============================*/
/*  I M A G E   G A L L E R Y  */
/*=============================*/
* {
  box-sizing: border-box;
}

.slides:not(:last-of-type) {
  border-bottom: 1px solid var(--main-text);
  position: relative;
}

.slides:first-of-type {
  margin-top: .5rem;
}


article#gallery .slides:first-of-type {
    border-top: 1px solid var(--main-text);
}

.slides h2 {
  margin: .75rem 0 .5rem
}

.fsSection .slides {
  background-color: var(--dark-transparent);
  padding: .5rem 1rem;
}

.slide {
  margin-top: 1rem;
  text-align: center;
}

.slide img {
  max-width: 80%;
}

.next,
.prev {
  border-radius: 0 3px 3px 0;
  color: var(--highlight-text);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem 1.5rem;
  position: absolute;
  top: 45%;
  user-select: none;
  width: auto;
}

.next {
  border-radius: 3px 0 0 3px;
  right: 0;
}

.prev:hover,
.next:hover {
  background-color: var(--dark-transparent);
}

.numbertext {
  font-size: 1rem;
  margin: .5rem .25rem 1rem;
  text-align: center
}

.caption-container {
  padding: 0 .75rem;
  width: 90%;
}

.caption-container strong {
  text-transform: uppercase;
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  margin: 1rem 0 .5rem;
}

.thumbnails img {
  border: 1px solid transparent;
  cursor: pointer;
  flex: 0 1 auto;
  height: 100px;
  margin: .25rem;
  opacity: 0.8;
}

.thumbnails img.active,
.thumbnails img:hover {
  border-color: gold;
  opacity: 1;
}

.modal {
  background-color: var(--dark-transparent);
  display: none;
  height: 100%;
  left: 0;
  overflow: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.modal-content {
  background-color: var(--background);
  border: var(--thin-gold);
  margin: 4rem auto .5rem;
  max-width: 1200px;
  padding: 0;
  position: relative;
  width: 90%;
}

.close {
  color: var(--highlight-text);
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  right: 0.25rem;
  z-index: 10;
}

.close:hover,
.close:focus {
  color: var(--focus);
  cursor: pointer;
  text-decoration: none;
}

/*=============================*/
/*  M E D I A   Q U E R I E S  */
/*=============================*/

/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-device-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-device-width: 768px) {  
  article > section > div.blurb > div.photo.tablet {
    height: 30%;
    width: 30%;
  }
  
  article#about > section > div.blurb div.photo:first-of-type {
    width: 30%;
  }
  
  article#about > section > div.blurb div.photo:last-of-type {
    width: 50%;
  }
  
  artcile#home > section:nth-of-type(2) div.blurb {
    margin-top: 2rem;  
  }
  
  article#home div.photo {
    width: 30%;
  }

  article#home > section:nth-of-type(2) > div > div.photo {
    width: 50%;
  }
  
  article#contact div.blurb {
    margin-left: 1%;
  }

  article#contact div.photo {
    margin-right: 1%;
  }

  article#contact > section.details > section {
    flex-basis: 50%;
  }
  
  .tablet {
    display: block;
  }
  
  article#services section div h2 {
    margin-left: 32%
  }
  
  section div > ul {
    list-style-type: none;
    margin: .5rem 0 0 28%;
  }
  
  section div > ul > li {
    padding-left: 1rem;
  }
  
  section > div.blurb > div.desktop {
    display: block;
  }
  
  .caption-container {
    border-bottom: var(--thin-gold);
    padding: .25rem;
    text-align: center;
    width: 100%;
  }

  .close {
    font-size: 3rem;
    right: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-device-width: 992px) {
  body {
    padding: 1rem;
  }
  
  header {
    margin-top: 0;
  }
  
  main {
    padding: 0;
  }

/*
  main:before {
    background-image: none;
    content: "";
    min-height: 0;
    min-width: 0;
  }
*/

  article {
    padding: .5rem 1rem;
  }

  article h1 {
    font-size: 1.3rem;
/*    margin-top: .5rem;*/
  }
  
  article > section {
    font-size: 1.1rem;
  }
  
  article#contact div.blurb {
    margin-left: 2%;
  }
  
  article#forSale div.section-header {
    display: none;
  }

  section > div h2 {
    font-size: 1.2rem;
  }
  
  nav {
    position: relative;
    z-index: 2;
  }

  nav ul {
    display: flex;
    flex-direction: row;
    left: 0;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
  }

  nav ul li {
    width: 100%;
  }
  
  nav ul li:first-of-type,
  nav ul#menu li:first-of-type,
  nav ul#fsMenu li:first-of-type {
    margin-top: auto;
  }
  
  nav ul li a {
    padding: .5rem 1rem;
    text-align: center;
    text-decoration: none;
  }
  
  nav ul#fsMenu,
  nav ul#galleryMenu {
    border-bottom: var(--thicker-white);
    padding-top: 0;
    top: 0;
  }
  
  header nav ul li a i {
    font-size: 2rem;
    vertical-align: middle;
  } 
  
  nav ul li a span {
    display: block;
    margin-top: .25rem;
  }
  
  nav.submenu ul li a {
    color: var(--reverse-text);
    font-size: .8rem
  }
  
  nav.submenu ul li a {
    padding: .5rem .25rem;
  }
  
  nav.submenu ul li a i {
    color: var(--reverse-text);
    font-size: 1rem;
  }
  
  nav.submenu ul li a span {
    display: inline-block;
  }
  
  footer {
    clear: both;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
  }
  
  footer div:not(:first-of-type) {
    margin-top: 1rem;
  }

  span.desktop {
    display: block;
  }

  .menu__toggler,
  .fsMenu__toggler,
  .galleryMenu__toggler {
    display: none;
  }

  .modal-content {
    margin: 2rem auto;
  }
    
  .desktop {
    display: block;
  }
  
  li a span.desktop {
    display: inline-block;
  }
  
  .mobile {
    display: none;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-device-width: 1200px) {
  body {
    margin: 0 auto;
    max-width: 1000px;
  }
}
