/* Font Awesome imports */
@import url("font-awesome/fontawesome.css");
@import url("font-awesome/regular.css");
@import url("font-awesome/solid.css");

/* lusitana-regular - latin */
@font-face {
  font-family: "Lusitana";
  font-style: normal;
  font-weight: 400;
  src: url("../webfonts/lusitana-v13-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""), url("../webfonts/lusitana-v13-latin-regular.eot?#iefix") format("embedded-opentype"), url("../webfonts/lusitana-v13-latin-regular.woff2") format("woff2"), url("../webfonts/lusitana-v13-latin-regular.woff") format("woff"), url("../webfonts/lusitana-v13-latin-regular.ttf") format("truetype"), url("../webfonts/lusitana-v13-latin-regular.svg#Lusitana") format("svg"); /* Legacy iOS */
}
/* lusitana-700 - latin */
@font-face {
  font-family: "Lusitana";
  font-style: normal;
  font-weight: 700;
  src: url("../webfonts/lusitana-v13-latin-700.eot"); /* IE9 Compat Modes */
  src: local(""), url("../webfonts/lusitana-v13-latin-700.eot?#iefix") format("embedded-opentype"), url("../webfonts/lusitana-v13-latin-700.woff2") format("woff2"), url("../webfonts/lusitana-v13-latin-700.woff") format("woff"), url("../webfonts/lusitana-v13-latin-700.ttf") format("truetype"), url("../webfonts/lusitana-v13-latin-700.svg#Lusitana") format("svg"); /* Legacy iOS */
}
/* quattrocento-regular - latin */
@font-face {
  font-family: "Quattrocento";
  font-style: normal;
  font-weight: 400;
  src: url("../webfonts/quattrocento-v17-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""), url("../webfonts/quattrocento-v17-latin-regular.eot?#iefix") format("embedded-opentype"), url("../webfonts/quattrocento-v17-latin-regular.woff2") format("woff2"), url("../webfonts/quattrocento-v17-latin-regular.woff") format("woff"), url("../webfonts/quattrocento-v17-latin-regular.ttf") format("truetype"), url("../webfonts/quattrocento-v17-latin-regular.svg#Quattrocento") format("svg"); /* Legacy iOS */
}
/* quattrocento-700 - latin */
@font-face {
  font-family: "Quattrocento";
  font-style: normal;
  font-weight: 700;
  src: url("../webfonts/quattrocento-v17-latin-700.eot"); /* IE9 Compat Modes */
  src: local(""), url("../webfonts/quattrocento-v17-latin-700.eot?#iefix") format("embedded-opentype"), url("../webfonts/quattrocento-v17-latin-700.woff2") format("woff2"), url("../webfonts/quattrocento-v17-latin-700.woff") format("woff"), url("../webfonts/quattrocento-v17-latin-700.ttf") format("truetype"), url("../webfonts/quattrocento-v17-latin-700.svg#Quattrocento") format("svg"); /* Legacy iOS */
}

/**
 * main.css
 *
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 *
 */
/*********************************************************************
 * 1. General HTML tags
 *
 */
* {
  box-sizing: border-box;
}

body {
  padding: 5%;
  max-width: 1600px;
  margin: 0;
  background-color: rgb(255, 255, 204);
}

body, td, input[type=text], textarea {
  font-family: "Quattrocento", serif;
  font-size: 105%;
  line-height: 1.8em;
  color: #444;
}

h2 {
  font-weight: normal;
}

h3 {
  border-top: 1px solid #eee;
  padding-top: 1em;
  color: #777;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover,
.nav a:hover {
  color: #000;
}

blockquote {
  margin-left: 0;
  padding-left: 1.5em;
  padding-right: 2em;
  border-left: 4px solid #ddd;
  font-style: italic;
  color: #777;
}

pre, code {
  background: #eee;
  border: 1px solid #ddd;
}

pre {
  font-size: 14px;
  line-height: 1.4em;
  padding: 1em;
  border-left: 4px solid #ddd;
}

/*********************************************************************
 * 2. Masthead area (Navigation)
 *
 */
.topnav {
  background-color: rgba(58, 58, 58, 0.85);
  margin: 0;
  position: relative;
}

.topnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.topnav li {
  margin: 0;
}

.topnav a {
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  transition: background-color 0.15s ease-out;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topnav a.edit {
  margin-left: auto;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.current {
  background-color: rgba(5, 102, 7, 0.4);
  color: white;
}

.topnav a.current:hover {
  border-bottom: 2px solid orangered;
  padding-bottom: 12px;
}

.topnav .icon {
  display: none;
}

/* Mobile Navigation */
@media screen and (max-width: 600px) {
  .topnav {
    background-color: rgba(58, 58, 58, 0.95);
  }
  
  .topnav ul {
    width: 100%;
  }
  
  /* Hide all items except current page and burger icon */
  .topnav li:not(.current-item):not(.menu-toggle) {
    display: none;
  }
  
  .topnav li.current-item {
    flex: 1;
  }
  
  .topnav li.menu-toggle {
    flex: 0 0 auto;
  }
  
  .topnav li.current-item a {
    text-align: left;
    justify-content: flex-start;
  }
  
  /* Burger menu button */
  .topnav .icon {
    display: flex;
    padding: 14px 16px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #f2f2f2;
    font-size: 24px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
  }
  
  .topnav .icon i {
    font-size: 24px;
  }
  
  .topnav .icon:hover {
    background-color: rgba(5, 102, 7, 0.4);
  }
  
  .topnav a.edit {
    display: none;
  }
  
  /* Expanded menu state */
  .topnav.responsive ul {
    flex-direction: column;
  }
  
  .topnav.responsive li {
    display: block !important;
    width: 100%;
  }
  
  .topnav.responsive li.current-item {
    order: -1;
  }
  
  .topnav.responsive li.menu-toggle {
    order: 999;
    width: auto;
  }
  
  .topnav.responsive a {
    text-align: left;
    justify-content: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .topnav.responsive a.current {
    background-color: rgba(5, 102, 7, 0.6);
    border-left: 4px solid #4CAF50;
    padding-left: 16px;
  }
  
  .topnav.responsive a:hover {
    background-color: rgba(221, 221, 221, 0.15);
    color: white;
  }
  
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(5, 102, 7, 0.6);
    padding: 14px 16px;
    font-size: 24px;
  }
  
  .topnav.responsive .icon i {
    font-size: 24px;
  }
  
  .topnav.responsive .icon:hover {
    background-color: rgba(5, 102, 7, 0.8);
  }
  
  .topnav.responsive a.edit {
    display: none;
  }
}
form.search {
  float: right;
  margin: 0;
  width: 30%;
}

form.search input {
  margin: 0;
  padding: 0.25em 0.5em;
  border: 1px solid #ccc;
  width: 100%;
}

.breadcrumbs {
  clear: both;
  padding-top: 1em;
}

.breadcrumbs span:after {
  content: ">";
  color: #999;
  padding-left: 0.5em;
  padding-right: 0.25em;
}

/*********************************************************************
 * 3. Main content and sidebar
 *
 */
#main {
  border-top: 1px solid #eee;
  padding-top: 1em;
  margin: 1em auto 0;
  clear: both;
}

#content {
  width: 65%;
  float: left;
  padding-bottom: 2em;
}

#sidebar {
  width: 35%;
  padding-left: 5%;
  float: left;
  padding-bottom: 2em;
}

.nav {
  margin-left: 0;
  padding-left: 0;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
}
.nav tr {
  transition: box-shadow 0.2s ease-in-out;
}
.nav tr:hover {
  box-shadow: 0 0 25px -10px rgba(0, 0, 0, 0.75);
}
.nav a {
  font-weight: bold;
}
.nav .current > a {
  color: #333;
}

.nav-tree li {
  margin-top: 0;
  margin-bottom: 0;
}
.nav-tree li a {
  color: #777;
}

.align_left {
  /* for images placed in rich text editor */
  float: left;
  margin: 0 1em 0.5em 0;
  position: relative;
  top: 0.5em;
  max-width: 50%;
}

.align_right {
  /* for images placed in rich text editor */
  float: right;
  margin: 0 0 0.5em 1em;
  max-width: 50%;
}

.align_center {
  /* for images placed in rich text editor */
  display: block;
  margin: 1em auto;
  position: relative;
  top: 0.5em;
}

figure {
  display: table;
  width: 1px;
  margin: 1em 0;
}

figure img {
  display: table-row;
  margin-bottom: 0.5em;
}

figure figcaption {
  display: table-row;
  font-size: smaller;
  color: #777;
  line-height: 1.4em;
}

/*********************************************************************
 * 4. Footer
 *
 */
#footer {
  clear: both;
  border-top: 1px solid #eee;
  font-size: 80%;
}

/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */
@media only screen and (max-width: 767px) {
  /* mobile layout */
  body, td, textarea {
    font-size: 100%;
  }
  #content,
  #sidebar {
    float: none;
    width: 100%;
    padding: 0;
  }
  form.search {
    float: none;
    width: 100%;
  }
  #content {
    width: 100%;
  }
  #sidebar {
    border-top: 1px solid #eee;
    padding-top: 1em;
  }
  .align_left, .align_right, .align_center {
    display: block;
    float: none;
    margin: 1em auto;
    max-width: 100%;
  }
}
@media only screen and (min-width: 1200px) {
  /* extra-wide desktop layout */
  body, td, textarea {
    font-size: 115%;
  }
}
/*********************************************************************
 * 6. Accessibility helpers
 *
 */
/* Hide visually, but remain approachable for screenreader */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  white-space: nowrap;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  border: 0;
}

/* Show bypass link on hover */
.element-focusable:focus {
  clip: auto;
  overflow: visible;
  height: auto;
}

/* Sample styling for bypass link */
.bypass-to-main:focus {
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #333;
  color: #fff;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.image {
  margin: 5px;
  display: block;
  font-size: 1.3333333333em;
  line-height: 0.75em;
  vertical-align: -0.0667em;
}

.sold {
  display: inline-block;
  color: red;
}
.sold:not(.label) {
  font-size: 14px;
  background-color: #dedede;
  border-radius: 30px;
  padding: 5px 15px;
  border: 1px solid black;
  cursor: default;
}
.sold:not(.label):hover {
  border-color: red;
}

.image-count {
  margin-left: 10px;
  color: #000033;
}

.image-grid {
  display: block;
}
.image-grid .image-details {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
}
.image-grid .image-details:nth-child(odd) div:first-child {
  grid-column: 1;
  grid-row: 1;
}
.image-grid .image-details:nth-child(odd) div:last-child {
  grid-column: 2;
  grid-row: 1;
}
.image-grid .image-details:nth-child(even) {
  grid-auto-flow: column dense;
}
.image-grid .image-details:nth-child(even) div:first-child {
  grid-column: 2;
  grid-row: 1;
}
.image-grid .image-details:nth-child(even) div:last-child {
  grid-column: 1;
  grid-row: 1;
}
.image-grid .image-details:not(:last-child) {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px inset #dbdbdb;
}

@media only screen and (max-width: 767px) {
  .image-grid .image-details {
    grid-template-columns: auto;
    grid-template-rows: auto auto;
  }
  .image-grid .image-details:nth-child(odd) div:first-child {
    grid-column: 1;
    grid-row: 2;
  }
  .image-grid .image-details:nth-child(odd) div:last-child {
    grid-column: 1;
    grid-row: 1;
  }
  .image-grid .image-details:nth-child(even) div:first-child {
    grid-column: 1;
    grid-row: 2;
  }
  .image-grid .image-details:nth-child(even) div:last-child {
    grid-column: 1;
    grid-row: 1;
  }
}
.text-centered {
  margin: 0 auto;
  max-width: 60vw;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
  float: left;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;
}
.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;
  border: 4px solid white;
}
.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: white;
}
.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../images/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}
.lb-nav a {
  outline: none;
  background-image: url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==");
}
.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-container > .nav {
  left: 0;
}

.lb-prev {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}
.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}
.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}
.lb-data .lb-caption a {
  color: #4ae;
}
.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}
.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.MarkupPagerNav {
  clear: both;
  margin: 1em 0;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 0;
}

.MarkupPagerNav li {
  display: inline-block;
  list-style: none;
  margin: 0;
}

.MarkupPagerNav li a,
.MarkupPagerNav li.MarkupPagerNavSeparator {
  display: inline-block;
  padding: 8px 12px;
  color: white;
  background: rgba(5, 102, 7, 0.4);
  margin: 0 2px 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

.MarkupPagerNav li.MarkupPagerNavOn a,
.MarkupPagerNav li a:hover {
  color: black;
  background: white;
  text-decoration: none;
}

.MarkupPagerNav li.MarkupPagerNavSeparator {
  display: inline-block;
  color: #777;
  background: #d2e4ea;
  padding-left: 8px;
  padding-right: 8px;
}

@media only screen and (max-width: 767px) {
  .MarkupPagerNav {
    margin: 1.5em 0;
  }
  .MarkupPagerNav li a,
  .MarkupPagerNav li.MarkupPagerNavSeparator {
    padding: 10px 14px;
    font-size: 14px;
    margin: 0 2px 6px;
  }
}
