/*
Theme Name: Tradition Gallery
Description: Theme for Tradition Publishing Co.
Author: Anonymous
*/
@font-face {
  font-family: 'title';
  src: url('./TrajanPro.ttf') format('truetype'); /*Bold face*/
}

@font-face {
  font-family: 'main';
  src: url('./ebrima.ttf') format('truetype');
}

@font-face {
  font-family: 'head';
  src: url('./palatino.ttf') format('truetype');
}

html {
  overflow-x: hidden;
}

body {
  color: black;
  background: url('./images/meander.png') repeat-y center,
    linear-gradient(white 75%, rgb(248, 248, 248), rgb(230, 230, 230) 99%) fixed;
  background-size: 100%;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: main, sans-serif;
  overflow-x: hidden;
}

body:before {
  position: absolute;
  top: -1000vw;
  content: url('./images/em2.svg') url('./images/tw2.svg')
    url('./images/tg2.svg') url('./images/gb2.svg') url('./images/lionhead.svg')
    url('./images/arrow-red.svg') url('./images/burger-red.svg');
}

a {
  color: rgb(175, 0, 0);
  text-decoration: none;
  font-size: 18px;
}

a:hover {
  color: red;
}

#fadeIn {
  z-index: -2;
  background: linear-gradient(
      white 0.5%,
      rgba(255, 255, 255, 0.8) 5.5%,
      rgba(0, 0, 0, 0) 30%
    )
    fixed;
  position: fixed;
  top: 0;
  left: 0;
  height: 200px;
  width: 100vw;
  padding: 0;
  margin: 0;
}

#menuBar {
  z-index: 299;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  margin: 0 auto;
  padding: 0;
  background: black;
  transition: top 0.27s ease-out;
  font-family: Arial, sans-serif;
}

#overlay {
  width: 100vw;
  height: 100vh;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
}

#home {
  z-index: 300;
  position: relative;
  height: 25px;
  width: 30px;
  background-image: url('./images/lionhead-white.svg');
  background-size: cover;
  top: -1px;
  left: 1vw;
}

#home:hover {
  background-image: url('./images/lionhead.svg');
}

#burger {
  z-index: 300;
  position: relative;
  height: 25px;
  width: 25px;
  background-image: url('./images/burger.svg');
  background-size: cover;
  top: 0px;
  right: 1.3vw;
}

#burger:hover {
  cursor: pointer;
  background-image: url('./images/burger-red.svg');
}

#ex {
  z-index: 301;
  font-size: 26px;
  font-weight: bold;
  transform: scaleX(1.3);
  color: white;
  cursor: pointer;
  position: fixed;
  top: -4px;
  right: 1.6vw;
}

#ex:hover {
  color: red;
}

#arrow {
  z-index: 300;
  position: relative;
  height: 25px;
  width: 30px;
  transform: scaleX(0.9);
  background-image: url('./images/arrow.svg');
  background-size: cover;
  top: -1px;
}

#arrow:hover {
  cursor: pointer;
  background-image: url('./images/arrow-red.svg');
}

#dropdown {
  z-index: 200;
  height: auto;
  width: 140px;
  position: fixed;
  top: 30px;
  right: 7px;
  padding: 0 30px 0 10px;
  margin-right: -20px;
  font-size: 12px;
  font-weight: bold;
  font-family: main, sans-serif;
  letter-spacing: 0.25vw;
  text-align: center;
  background: linear-gradient(
    white 10%,
    rgb(250, 250, 250) 90%,
    rgb(245, 245, 245)
  );
  border: 1px solid rgb(212, 212, 212);
  transition: all 0.3s ease-in-out;
}

#dropdown h1 {
  width: 100%;
  display: block;
  padding: 18px 5px 14px 5px;
  margin: 0 0 3px 0;
  border-bottom: 2px solid black;
  text-align: center;
  font-family: title, serif;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: -1px;
  transform: scale(1, 1.1);
}

#dropdown div {
  width: 100%;
  display: block;
  padding: 0;
  margin-top: 0;
  z-index: 100;
}

#dropdown a {
  width: 100%;
  display: block;
  padding: 15px 5px;
  border-bottom: 1px solid black;
}

#dropdown a:last-child {
  border-bottom: none;
  padding-bottom: 18px;
}

.hidden {
  opacity: 0;
  pointer-events: none !important;
}

.rollUp {
  top: -100px !important;
}

.rollDown {
  bottom: -100px !important;
}

.offscreen {
  right: -200px !important;
}

.disabled {
  pointer-events: none !important;
}

#title {
  text-align: center;
  height: 85px;
  margin: 0 auto;
  padding-bottom: 25px;
}

#title.adjust {
  padding-bottom: 35px;
}

#title.adjust.back {
  margin-top: 18px;
  padding-bottom: 8px;
}

#leftLogo,
#rightLogo {
  background-image: url('./images/lion.svg');
  background-size: 100% 100%;
  position: absolute;
  top: 23px;
  right: calc(50% - 360px);
  height: 100px;
  width: 105px;
}

#leftLogo {
  right: unset;
  left: calc(50% - 360px);
  transform: scaleX(-1);
}

#leftLogo.small,
#rightLogo.small {
  right: calc(50% - 300px);
  top: 21px;
  height: 75px;
  width: 80px;
}

#leftLogo.small {
  right: unset;
  left: calc(50% - 300px);
}

#name {
  margin: 0 auto;
  padding-top: 22px;
  font-family: title;
  font-weight: 100;
  text-decoration: none;
  color: black;
  font-size: 58px;
  letter-spacing: -6px;
}

/*#name.adjust {
  margin-top: -5px;
}*/

#pub {
  font-family: main, serf;
  text-align: center;
  margin: -23px auto 25px auto;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.05vw;
}

#line {
  z-index: -2;
  width: 70vw;
  margin: 0 auto;
  border-bottom: 1.5px solid black;
}

#menu {
  width: 65vw;
  margin: 0 auto;
  padding: 20px 0 49px 0;
  font-family: main, sans-serif;
  font-weight: bold;
  letter-spacing: 0.2vw;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-size: 13.5px;
  text-decoration: none;
}

#menu a {
  font-size: 16.5px;
}

#main,
.main {
  margin: 0 auto;
  padding: 0;
  width: 80vw;
}

.subtitle {
  font-weight: bold;
  width: 70vw;
  margin: 15px auto 0 auto;
  text-align: center;
  padding: 62px 0 42px 0;
  font-family: title, serif;
  font-size: 27px;
  border-top: 1px solid black;
  letter-spacing: 3px;
}

.subtitle:first-child {
  padding: 24.5px 0 30px 0;
  border-top: none;
}

.subtitle.page {
  padding: 45px 0 30px 0;
}

/*#shadow {
  position: absolute;
  background: white;
  width: 218px;
  left: calc(50vw - 127px);
  height: 330px;
  margin: 10px auto 10px auto;
  box-shadow: 0px 0.5px 6px 2.5px rgb(227, 227, 227),
    0px 0.5px 6px 2px rgb(207, 207, 207);
  display: none;
}*/

#contain {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 10px auto;
}

#carousel {
  width: 750px;
  /*height: 320px;*/
  margin: 10px auto 0;
  scrollbar-width: none;
  overflow-x: hidden;
  position: relative;
}

#carousel::-webkit-scrollbar {
  display: none;
}

.slide {
  column-width: 230px;
  column-gap: 0;
  display: inline-flex;
  left: 0;
  transition: left 0.55s cubic-bezier(0.4, 0.3, 0.35, 1);
  position: relative;
}

.cover,
.wrap {
  width: 230px;
}

.cover,
.cover img {
  display: inline;
}

.wrap {
  break-after: column;
  height: fit-content;
  padding-bottom: 18px;
  margin-right: 20.1px;
  break-inside: avoid-column;
}

.cover img {
  width: 210px;
  margin: 20px 20px 13px;
  padding-left: 0;
  display: inline;
  position: relative;
  height: auto;
  max-width: 100%;
  box-shadow: 0px 0.5px 6px 2.5px rgb(227, 227, 227),
    0px 0.5px 6px 2px rgb(207, 207, 207);
}

.info {
  margin-left: 20px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.info a {
  font-weight: bold;
  max-width: 186px !important;
}

.selector {
  height: 40px;
  width: 40px;
  border-radius: 40px;
  font-family: Arial, sans-serif;
  font-size: 30pt;
  font-weight: 700;
  color: black;
  background-color: rgba(190, 190, 190, 0.6);
  margin: 0;
  cursor: pointer;
  z-index: 9;
  text-align: center;
  line-height: 33px;
  text-shadow: none;
  position: relative;
  top: -20px;
}

.selector:hover {
  color: red;
}

#prev {
  letter-spacing: -4px;
  float: left;
}

#next {
  letter-spacing: -6px;
  float: right;
}

#main .hentry {
  width: 130px;
  height: 175px;
  margin: 13px 13px;
  /*background: linear-gradient(-10deg, rgb(240, 243, 255), rgb(251, 253, 255) 50%, white);
  border-right: 1.4px solid rgb(213, 231, 231);
  border-bottom: 1.45px solid rgb(214, 230, 231);
  border-left: 0.2px solid rgb(215, 231, 232);
  border: 1.5px solid rgb(215, 242, 255);*/
}

#main .hentry .wp-post-image {
  width: 100%;
  height: 100%;
  box-shadow: 0px 0.5px 5px 1.5px rgb(227, 227, 227),
    0px 0.5px 5px 1px rgb(207, 207, 207);
}

.catlink {
  font-family: main;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 30px auto;
  text-align: center;
  width: 100%;
  background: none;
  border: none;
  outline: none;
}

.user {
  position: relative;
  width: 50%;
  margin: 0 auto;
  text-align: center;
  font-family: head, serif;
  font-size: 23px;
  font-weight: bold;
  letter-spacing: 4px;
  padding: 24.5px 0 30px 0;
  border-bottom: 1px solid black;
}

.searchform {
  width: 100%;
}

/*#categories {
  position: relative;
  width: 60%;
  margin: 0 auto;
  text-align: center;
  font-family: head, serif;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 7px;
  padding: 24.5px 0 17px 0;
}

#label {
  cursor: pointer;
}

#label::before {
  content: '+';
  color: rgb(175, 0, 0);
  cursor: pointer;
}

#label:hover::before {
  color: red;
}

.minus::before {
  content: '-' !important;
}

.minus:hover::before {
  color: red;
}

#container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

#links {
  text-align: center;
  position: relative;
  top: 63px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-family: link, sans-serif;
  font-size: 15px;
  padding-top: 15px;
  max-height: 40px;
  width: 35%;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
  border-top: 1px solid black;
}

#links a {
  transition: opacity 0.2s linear;
}

.shrink {
  max-height: 0px !important;
  padding: 0px !important;
  pointer-events: none !important;
}

#links.shrink a {
  opacity: 0 !important;
}*/

#gallery {
  margin: 18px auto 30px auto;
  max-width: 800px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.item {
  padding-bottom: 10px;
  margin: 28px auto 0px auto;
  max-width: 55vw;
  height: auto;
}

.caption,
.captionR {
  height: auto;
  letter-spacing: 1px;
  font-family: main, sans-serif;
  font-weight: bold;
}

.captionR {
  display: flex;
  text-align: right;
  justify-content: flex-end;
}

.caption a:hover,
.captionR a:hover {
  color: red;
}

.text,
.textR {
  font-family: main, sans-serif;
  text-align: justify;
}

.text.page p:first-child,
.textR p:first-child {
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.textR p:first-child {
  text-align: right !important;
}
.textR p:first-child::before {
  content: '';
  height: 33px;
}

.text.page a,
.textR.page a {
  display: none;
}

.page-template-news .text.page a {
  display: block;
  font-weight: bold;
  width: 10px;
}

.thumb,
.thumbL {
  float: left;
  margin: 6px 30px 10px 0;
}

.thumbR {
  float: right;
  margin: 6px 0 10px 30px;
}

.thumb .wp-post-image,
.thumbR .wp-post-image,
.thumbL .wp-post-image {
  display: block;
  width: 150px;
  height: 212px;
  box-shadow: 0px 0.5px 5px 1.5px rgb(225, 225, 225),
    0px 0.5px 5px 1px rgb(205, 205, 205);
}

.thumbL .wp-post-image {
  width: 250px;
  height: auto;
}

.break {
  width: 15%;
  max-width: 200px;
  height: 1px;
  margin: 25px auto 50px auto;
  text-align: center;
  border-bottom: 1px solid black;
}

.break:last-child {
  border-bottom: none;
}

.state {
  padding-top: 6px;
  height: auto;
  margin: 8px auto 0px auto;
}

div.text p:last-child,
div.textR p:last-child {
  clear: both;
}

#order a {
  float: right;
  font-weight: bold;
  padding: 20px 25px 0 0;
  height: 20px;
}

#order strong a {
  /* separator "|" link before pdf download links on same line in WP*/
  pointer-events: none;
  font-weight: 100;
  color: black;
}

footer {
  color: black;
  font-family: main, sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 60px 0 25px 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: nowrap;
  text-align: center;
  position: relative;
  letter-spacing: 1px;
  top: 0px;
  width: 80%;
}

footer a {
  background-size: cover;
  width: 21px;
  height: 21px;
  padding: 0;
  margin: 0;
}

.single footer {
  margin-top: 40px;
}

#tg {
  background-image: url('./images/tg.svg');
}

#tw {
  background-image: url('./images/tw.svg');
}

#em {
  background-image: url('./images/em.svg');
}

#gb {
  background-image: url('./images/gb.svg');
}

#tg:hover {
  background-image: url('./images/tg2.svg');
}

#tw:hover {
  background-image: url('./images/tw2.svg');
}

#em:hover {
  background-image: url('./images/em2.svg');
}

#gb:hover {
  background-image: url('./images/gb2.svg');
}

#blurb {
  text-align: center;
  margin-bottom: 30px;
}

#skull {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background-image: url(./images/skull.svg);
  background-size: 100% 100%;
}

/*************************************** TABLET VIEWS *******************************************/

@media screen and (max-width: 1140px) {
  #carousel {
    width: 500px;
  }
}

@media screen and (max-width: 900px) {
  #name {
    font-size: 6.5vw;
  }

  /*#name.adjust {
    padding-top: 35px;
  }*/

  #title.adjust.back {
    margin-top: 26px;
    padding-bottom: 0px;
  }

  #rightLogo {
    right: 10.5%;
  }

  #leftLogo {
    left: 10.5%;
  }

  #rightLogo.small {
    right: 15%;
  }

  #leftLogo.small {
    left: 15%;
  }

  #pub {
    margin: -27px auto 29px auto;
  }

  #home {
    left: 9px;
  }

  #burger {
    right: 14px;
  }

  #ex {
    right: 17px;
  }

  /*#links {
    width: 50%;
  }*/
}

@media screen and (max-width: 800px) {
  #carousel {
    width: 250px;
    left: 10px;
  }

  .slide {
    column-width: 230px;
    column-gap: 0px;
  }

  .cover {
    width: 240px;
  }

  .cover img {
    padding-left: 0px;
    width: 188px;
  }

  .info {
    margin-left: 0px;
  }
}

@media screen and (max-width: 700px) {
  #name {
    padding-top: 30px;
    font-size: 6vw;
    letter-spacing: -5px;
  }

  .subtitle {
    font-size: 20px;
  }

  .item {
    height: auto;
    margin: 6px auto 35px auto;
  }

  .item p:first-child,
  .textR p:first-child {
    text-align: center !important;
  }

  .page-template-about p.text {
    text-align: justify !important;
  }

  .subtitle.only {
    padding-bottom: 0;
  }

  .thumb,
  .thumbR,
  .thumbL {
    margin: 0 auto;
    width: 100%;
  }

  .thumb .wp-post-image,
  .thumbR .wp-post-image,
  .thumbL .wp-post-image {
    margin: 25px auto 25px auto;
    width: 210px;
    height: 280px;
    float: none;
    display: block;
  }

  .thumbL .wp-post-image {
    margin: 0 auto 25px auto;
    width: 100%;
    height: auto;
  }

  .item .caption,
  .item .captionR {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    height: auto;
  }
  .item .captionR {
    margin-bottom: 8px;
  }

  #order a {
    display: relative;
    text-align: center;
    padding: 20px 0 0 0;
    width: 100%;
    margin: 0 auto;
  }

  #order strong a {
    display: none;
  }

  #blurb {
    margin-bottom: 0;
  }
}

/**************************************** MOBILE VIEWS *****************************************/

@media screen and (max-width: 600px) {
  #main,
  .main {
    width: 88%;
  }

  #title {
    height: 75px;
  }

  #title.adjust {
    padding-bottom: 25px;
  }

  #title.adjust.back {
    margin-top: 26px;
    margin-bottom: -10px;
    padding-bottom: 0px;
  }

  #name {
    padding-top: 22px;
    font-size: 7vw;
  }

  /* #name.adjust {
    margin-top: -9px;
    padding-top: 30px;
  }*/

  #pub {
    font-size: 2.5vw;
    margin: -23px auto 3vw auto;
  }

  #line {
    width: 75vw;
  }

  #menu {
    font-size: 2vw;
  }

  /*#links {
    font-size: 2.5vw;
  }*/

  #leftLogo,
  #rightLogo {
    height: 65px;
    width: 70px;
    right: 8%;
  }

  #leftLogo {
    right: unset;
    left: 8%;
  }

  #leftLogo.small,
  #rightLogo.small {
    height: 55px;
    width: 60px;
    top: 18px;
    right: 9%;
  }

  #leftLogo.small {
    right: unset;

    left: 9%;
  }

  /*#shadow {
    display: none;
    width: 242px;
    left: calc(50vw - 130px);
    height: 62vh;
  }*/

  #order a {
    font-size: 16px;
  }
}

@media screen and (max-width: 420px) {
  #title {
    padding-bottom: 20px;
  }

  #title.adjust {
    padding-bottom: 16px;
  }

  #title.adjust.back {
    margin-top: 18px;
    margin-bottom: -11px;
    padding-bottom: 0px;
  }

  #name {
    padding-top: 18px;
    font-size: 6.5vw;
    letter-spacing: -3px;
  }

  #name.adjust {
    padding-top: 33px;
    margin-top: -9px;
  }

  #pub {
    margin: -36px auto 3.5vw auto;
  }

  #leftLogo,
  #rightLogo,
  #leftLogo.small,
  #rightLogo.small {
    height: 55px;
    width: 60px;
    top: 13px;
    right: 9%;
  }

  #leftLogo,
  #leftLogo.small {
    left: 9%;
  }

  #burger {
    top: 1px;
    font-size: 40px;
  }

  #arrow:hover {
    background-image: url('./images/arrow.svg');
  }

  #ex {
    font-size: 26px;
    top: -3px;
  }

  #menu {
    width: 75vw;
  }
  #menu a {
    font-size: 13px;
  }

  /*#links {
    font-size: 3.2vw;
    width: 55%;
    top: 47px;
  }

  .subtitle:first-child {
    padding: 10px 0 30px 0;
  }

  /*#categories,
  .subtitle:first-child {
    padding: 10px 0 17px 0;
  }*/

  .selector {
    width: 42px;
  }

  .thumb .wp-post-image,
  .thumbR .wp-post-image {
    width: 160px;
    height: 215px;
  }

  .text,
  .textR {
    font-size: 13px;
  }

  .catlink {
    margin: 0 auto 30px auto;
  }

  .break {
    width: 25%;
    margin: 25px auto 40px auto;
  }

  #ctgry {
    margin-top: 15px;
  }

  #blurb {
    margin-bottom: -25px;
  }

  .state {
    padding-top: 0px;
  }

  .thumb .wp-post-image,
  .thumbR .wp-post-image {
    width: 188px;
    height: 258px;
  }

  .item {
    max-width: 67vw;
  }
}

@media screen and (max-width: 360px) {
  #carousel {
    left: 1vw;
  }
}

@media screen and (max-width: 350px) {
  #title {
    padding-bottom: 28px;
  }

  #name {
    padding-top: 20px;
    font-size: 5.8vw;
  }

  #name.adjust {
    padding-top: 37px;
  }

  #title.adjust.back {
    margin-top: 14px;
    margin-bottom: -7px;
    padding-bottom: 0px;
  }

  #burger {
    font-size: 37px;
  }

  #pub {
    margin: -11vw auto 5vw auto;
  }
}

/*-----------------------------------------------------------*/

.page-template-gallery #main {
  height: auto;
  display: flex;
  flex-flow: row wrap;
  width: 80vw;
  max-width: 1000px;
}

#art {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 66px;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  position: relative;
}

#display {
  margin: 0 auto;
  column-count: 4;
  column-gap: 15px;
  max-width: 1000px;
  padding-bottom: 10px;
}

.picture {
  break-inside: avoid-column;
  height: auto;
  margin-bottom: 10px;
  padding: 10px;
  line-height: 0;
  display: block;
  font-size: 90%;
}

.picture img {
  box-shadow: 0px 0.5px 6px 2.5px rgb(227, 227, 227),
    0px 0.5px 6px 2px rgb(207, 207, 207);
  height: 100%;
  width: 180px;
  max-width: 100%;
}

.info2 {
  font-size: 11pt;
  font-weight: 100;
  display: flex;
  justify-content: center;
  text-align: center;
  max-width: 180px !important;
  margin: 9.5px 0 0;
}

@media screen and (max-width: 750px) {
  #display {
    padding: 0;
    width: 100%;
    column-count: 2;
    column-gap: 5px;
    margin: 0 7%;
    text-align: center;
  }

  #display a img {
    height: unset;
    width: unset;
    min-width: 100%;
  }

  .info2 {
    max-width: unset !important;
    font-size: 125%;
  }

  .page-template-gallery #main {
    width: 100%;
  }

  .picture {
    height: auto;
    margin-bottom: 0;
    padding: 10px;
    line-height: unset;
  }

  .picture img {
    height: 100%;
    width: 180px;
  }
}

@media screen and (min-width: 600px) {
  .single #rightLogo {
    margin-right: -30px;
  }

  .single #leftLogo {
    margin-left: -30px;
  }
}
