/* css created by : @peimanemami */
/* centered class for modules to be centered & full class to be stretched! */
/* Fonts */
@font-face {
  font-family: iranSans;
  font-weight: 400;
  src: url(../font/IRANSans.ttf) format("truetype"),
    url(../font/IRANSans.woff) format("woff");
}
@font-face {
  font-family: iranSans;
  font-weight: 200;
  src: url(../font/IRANSans_Light.ttf) format("truetype"),
    url(../font/IRANSans_Light.woff) format("woff");
}
@font-face {
  font-family: iranSans;
  font-weight: 300;
  src: url(../font/IRANSans_Medium.ttf) format("truetype"),
    url(../font/IRANSans_Medium.woff) format("woff");
}
@font-face {
  font-family: iranSans;
  font-weight: 700;
  src: url(../font/IRANSans_Bold.ttf) format("truetype"),
    url(../font/IRANSans_Bold.ttf) format("woff");
}
@font-face {
  font-family: naskh;
  font-weight: 700;
  src: url(../font/NotoNaskhArabic-Bold.ttf) format("truetype");
}
@font-face {
  font-family: naskh;
  font-weight: 400;
  src: url(../font/NotoNaskhArabic-Regular.ttf) format("truetype");
}
/* variable */
:root {
  --main-bottom-height: 5.5em;
  --primary-color: #333;
  --progress: 0;
  --context-font: "iranSans";
  --title-font: "naskh";
}
/*! normalize.css v8.0.1 | MIT License */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
main {
  display: block;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  border: 0 none;
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
/* highlighted text */
::-moz-selection {
  background-color: #666;
  color: #fff;
  text-shadow: none;
}
::selection {
  background-color: #666;
  color: #fff;
  text-shadow: none;
}
/* Custome resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a img {
  border: 0 none;
}
a:link {
  color: inherit;
  text-decoration: none;
}
a:visited {
  color: inherit;
}
a:hover {
  color: var(--primary-color);
}
a:active {
  color: #000;
}
*:focus {
  outline: 0;
}
ul {
  list-style: none;
}
/* inputs */
input {
  font-family: inherit;
  padding: 0.2em 0.5em;
}
input[type="text"],
input[type="email"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
::-webkit-input-placeholder {
  color: #ccc;
}
::-moz-placeholder {
  color: #ccc;
}
:-ms-input-placeholder {
  color: #ccc;
}
:-moz-placeholder {
  color: #ccc;
}
input:-webkit-autofill {
  background-color: #ffffff !important;
}
input,
textarea,
select {
  border: 1px solid #ddd;
  color: #999;
  background-color: #fff;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #c4c4c4;
  color: #999;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #999;
  color: #000;
}
body {
  overflow-x: hidden;
  overflow-y: hidden;
  direction: rtl;
  font-size: 12px;
  line-height: 1.65em;
  font-family: var(--context-font);
  color: #999;

  width: 100%;
}
button {
  transition: color 800ms;
}
/* classes */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
}
.nav-links li {
  margin-left: 0.8em;
}
.nav-links li#selected {
  font-weight: bold;
  color: #666;
}
.nav-links li svg {
  max-width: 100%;
  max-height: 18px;
  fill: #999;
  transition: fill 300ms;
}
.nav-links li svg:hover {
  fill: #444;
}
.black .nav-links li#selected {
  color: #ccc;
}
button.menu {
  background: none transparent;
  border: 0 none;
  margin-top: 2em;
  cursor: pointer;
}
.menu__item--1,
.menu__item--2,
.menu__item--3 {
  position: relative;
  width: 20px;
  height: 2px;
  margin-bottom: 5px;
  transition: background-color 800ms;
  background-color: #aaa;
}
button.menu:hover .menu__item--1,
button.menu:hover .menu__item--2,
button.menu:hover .menu__item--3 {
  background-color: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
}
/* links */
li.link {
  outline: none;
  text-decoration: none;
  position: relative;
  font-size: 3.2em;
  line-height: 1em;
  font-weight: 900;
  overflow: hidden;
  color: #777;
  margin-bottom: 0.3em;
  font-family: var(--title-font);
}
.left-aligned li.link {
  font-size: 1em;
}

.left-aligned.categories {
  padding: 0 !important;
  height: 100%;
  font-size: 1rem !important;
  position: relative;
}
.left-aligned.categories:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  height: 1px;
  width: 80%;
  background-color: #d6d6d6;
}
li.link a {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 5px;
  overflow: hidden;
  transition: color 0.5s;
}
li.link a:hover {
  color: #fff;
}
.left-aligned li.link a:hover {
  color: #333;
}

.left-aligned.categories ul {
  width: 30em;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
}
.left-aligned.categories ul li {
  font-size: 1.2em;
}
.left-aligned.categories ul li a {
  transition: color 800ms;
}

/* Preloader */

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9000;
  background-color: #333;
  color: #ccc;
  top: 0;
  right: 0;
}

#preloader .txt {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

#preloader .txt-perc {
  opacity: 1;
  margin: 0 0 4em 0;
  max-width: 90%;
  text-align: right;
  font-size: 1.2em;
}

#preloader .progress {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 auto 15px auto;
}

#preloader .progress span {
  display: block;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
}

#preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.is-loading {
  overflow: hidden;
}

/* main css */
.pad-l-10 {
  padding-left: 20rem !important;
}
.main-container {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fefefe;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}
.main-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2em 0;
  text-align: center;
  z-index: 1000;
  width: 150px;
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); */
}
.main-menu.black {
  background-color: #333;
}
.main-menu-top h1 a {
  display: block;
}
.main-menu-top h1 a img {
  max-width: 100%;
}
.main-menu.black .main-menu-top h1 a img {
  -webkit-filter: invert(1);
  filter: invert(1);
}
.main-menu-btm {
  display: flex;
  flex-direction: column;
}
.main-menu-btm > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 2em;
  font-size: 0.9em;
}
.main-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 1;
  overflow: hidden;
}
.main-content-top {
  position: relative;
  min-height: 100vw;
  min-width: 100vh;
  overflow-y: auto;
  transform: rotate(90deg) translateX(100vh);
  transform-origin: top right;
  overflow-x: hidden;
  overflow-y: scroll;
  position: absolute;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.main-content-wrapper {
  display: flex;
  flex-direction: row;
  transform: rotate(-90deg) translateY(-100vh);
  transform-origin: top right;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100vh;
  padding-left: 250px;
  overflow: hidden;
  flex-grow: 1;
  flex-shrink: 1;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
.galleries .main-content-wrapper {
  height: calc(100vh - var(--main-bottom-height));
}
.main-content-top::-webkit-scrollbar {
  display: none;
}
.main-content-wrapper > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 0 10rem 3rem;
  width: auto;
  flex-grow: 1;
}
.galleries .main-content-wrapper > div {
  padding: 0 10rem;
}
.archive .main-content-wrapper > div {
  padding: 20h 10rem;
}
.main-content-wrapper > .content,
.main-content-wrapper > .centered {
  justify-content: center;
}
.hamidreza-bani .main-content-wrapper > .content {
  justify-content: flex-end;
}
.hamidreza-bani .main-content-wrapper > .content p {
  max-width: 500px;
  min-width: 300px;
}
.hamidreza-bani .main-content-wrapper > .content div.page-header {
  display: none;
}
.hamidreza-bani .main-content-wrapper div.page-header {
  position: absolute;
  top: 6rem;
}
.hamidreza-bani .main-content-wrapper > div:not(.cp) > div:nth-child(2) {
  margin-right: 10vw;
}
.articleBody {
  width: 400px;
}
.hamidreza-bani .articleBody {
  width: auto;
  text-align: justify;
}
.galleries .articleBody {
  text-align: justify;
}
.main-content-wrapper .first-module {
  justify-content: center;
  padding: 3rem;
  padding-right: 10vw;
}
.main-content-wrapper .header-first {
  justify-content: flex-end;
}
.first-module .texts-first {
  color: #666;
  font-size: 1.1em;
  margin-right: 20vw !important;
}
.main-content-wrapper > div .left-aligned {
  text-align: left;
  padding: 0 10vw 0 5vw;
  font-size: 2.8em;
  line-height: 2em;
}
.main-content-wrapper > div.left-aligned {
  padding: 5vh 10vw 3rem 3rem;
  justify-content: center;
}
.main-content-wrapper > .tours-home {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-height: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 1fr 1fr 1fr;
  border-left: 1px solid #d6d6d6;
  border-right: 1px solid #d6d6d6;
  padding: 0;
}
.tours-home > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  position: relative;
  border-bottom: 1px solid #d6d6d6;
  width: 450px;
  overflow: hidden;
}
.tours-home > a:nth-child(2n-1) {
  border-left: 1px solid #d6d6d6;
}
.tours-home > a.more-tours:after {
  background: url(../img/bg-cross.svg) 50% 50% no-repeat;
  background-size: 100% 100%;
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  right: -1px;
  bottom: -1px;
  z-index: 5;
}
.tours-home > a.more-tours::before {
  content: "مشاهده همه موارد";
  position: absolute;
  left: -1px;
  top: -1px;
  right: -1px;
  bottom: -1px;
  background-color: #fefefe;
  border: 1px solid #d6d6d6;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 500ms;
  color: #999;
  font-size: 1.5em;
}
.tours-home > a.more-tours:hover::before {
  opacity: 0.9;
}
.tours-home > a figure { 
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 4em);
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  overflow: hidden;
  padding: 1em 1em 0;
  max-height: 100%;
}
.tours-home > a figure img {
  width: 100%;
  margin: 0 auto;
  -webkit-filter: grayscale(60%);
  filter: grayscale(60%);
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  display: block;
  transition: all 400ms;
}
.tours-home > a:hover figure img {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}
.tours-home > a h3 {
  padding: 0.8em 0.5em;
  transition: color 0.4s;
  text-align: center;
  font-weight: 700;
}
.tours-home > a:hover h3 {
  color: var(--primary-color);
}
.tours-home > a div {
  color: #ccc;
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5em;
}
.tours-home > a .effect {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 1.3em;
  color: #999;
  opacity: 0;
  transition: opacity 0.3s;
}
.tours-home > a .effect:after {
  background: url(../img/bg-cross.svg) 50% 50% no-repeat #fefefe;
  background-size: 100% 100%;
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  right: -1px;
  bottom: -1px;
  border: 1px solid #d6d6d6;
  z-index: 1;
}

.main-content-wrapper h1 {
  font-size: 10vh;
  line-height: 1em;
  z-index: 110;
  color: #444;
  margin-bottom: 10px;
}
.seperate-gallery span {
  margin-bottom: 10px;
}
.texts-first p,
.texts-first h3 {
  padding: 2em 1rem 1em;
  text-align: left;
  width: 450px;
}
.texts-first h3 {
  padding: 2rem 1rem 0;
  font-size: 2em;
}
.texts-first .nav-links {
  width: 450px;
  flex-direction: row-reverse;
  padding: 0 1rem;
  margin-top: 5em;
}
.texts-first .nav-links li {
  width: 20px;
  margin-left: 0.5em;
}
figure.effect-lily {
  position: relative;
  height: 100%;
  width: 40em;
  z-index: 100;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
figure.effect-tour {
  position: relative;
}

figure.effect-lily.large {
  width: 42vw;
  min-width: 450px;
}
figure.effect-lily.small {
  width: 40em;
}
figure.effect-lily.huge {
  width: 80vw;
}
figure.effect-tour figcaption {
  color: #333;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

figure.effect-lily figcaption,
figure.effect-lily figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
figure.effect-lily figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
figure.effect-lily > img,
figure.effect-lily > a img {
  position: relative;
  -o-object-fit: cover;
  object-fit: cover;
  width: auto !important;
  height: auto !important;
  min-height: 100%;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
  min-width: 100%;
  transition: all 800ms;
}
figure.effect-tour figcaption > div {
  position: absolute;
  bottom: 0;
  top: 0;
  right: 0;
  left: 0;
  padding: 2em;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
figure.effect-tour div a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;;
}
figure.effect-tour div img {
  opacity: 0.7;
  transition: all 800ms;
  max-width: 100px;
}
.img-block.effect-tour img.tour-icon {
  opacity: 0.9;
  transition: all 800ms;
  max-width: 70px !important;
  position: absolute;
  min-width: 0 !important;
  min-height: 0 !important;
}
.tours-home figure.effect-tour div img {
  max-width: 70px;
}
.img-block.effect-tour:hover img.tour-icon{
  opacity: 0;
}
figure.effect-tour:hover img {
  opacity: 1;
}
figure.effect-tour:hover img {
  -webkit-filter: grayscale(40%);
  filter: grayscale(40%);
}
.img-block.effect-tour div.tour-overlay {
  opacity: 0;
  transition: all 800ms;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  justify-content: center;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.5em;
  color: #333;
  line-height: 1.5em;
}
.img-block.effect-tour:hover div.tour-overlay {
  opacity: 1;
}
.full {
  padding: 0 !important;
}
.main-content-wrapper .cp {
  justify-content: space-between;
  padding: 6rem 10rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: max-content;
}
.galleries .main-content-wrapper .cp {
  padding: 0 10rem 0 2rem;
  height: 80vh;
}
.fullpage .cp {
  display: none !important;
}
.fullpage .main-content-wrapper > .content {
  padding: 0 !important;
}
.main-content-wrapper .cp ul li {
  width: 20px;
}
.main-content-wrapper h2 {
  font-size: 2em;
  color: #666;
  margin-bottom: 1em;
}
.hamidreza-bani .main-content-wrapper h2 {
  font-weight: 200;
  min-width: 120px;
  color: #aaa;
  font-size: 1.3em;
  margin-bottom: 0;
}
.main-content-wrapper .content ul li {
  list-style: circle;
  list-style-position: inside;
  margin-bottom: 0.5em;
}
.main-content-btm {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: var(--main-bottom-height);
  position: absolute;
  left: 0;
  right: 150px;
  bottom: 0;
  padding: 0 5em;
  align-items: center;
  border-top: 1px solid #eee;
}
.the-tour .main-content-btm,
.the-tour .custom,
.the-tour .main-content-wrapper > div:nth-child(2) {
  display: none;
}
.the-tour iframe {
  margin: 0 !important;
}
#returnToursLink {
  position: fixed;
  bottom: 20px;
  right: 30px;
  display: inline-block;
  padding: 0.5em 1em;
  background-color: rgba(255, 255, 255, 0.6);
  color: #000;
  border-radius: 5px;
  font-size: 14px;
  transition: all 800ms;
}
#returnToursLink:hover {
  background-color: rgba(255, 255, 255, 1);
}
.main-content-btm > div {
  margin-left: 1em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.main-content-btm h3 {
  margin-left: 2em;
  color: #aaa;
}
.main-content-btm ul li {
  font-size: 1.2em;
}
.main-content-btm ul li.current a {
  cursor: default;
  color: #666;
  font-weight: bold;
}
/* Overlay style */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 900;
}
/* Menu style */
.overlay nav {
  text-align: center;
  position: relative;
  height: 100%;
}

.overlay nav > ul {
  list-style: none;
  padding: 0 150px 0 0;
  margin: 0 auto;
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  place-items: center;
}

.overlay nav > ul > li {
  display: flex;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  margin-bottom: 0;
  border-left: 1px solid #ddd;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.5em;
  position: relative;
}
.overlay ul li ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 500ms;
  position: absolute;
  top: calc(50% + 20px);
  right: 0;
  left: 0;
  align-items: center;
  cursor: pointer;
}
.overlay ul li ul li {
  font-size: 0.8em;
  margin: 0.5em;
}
.overlay nav > ul > li > a,
.overlay nav > ul > li > span {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: all 500ms;
  color: #333;
}
.overlay nav > ul > li > a:hover,
.overlay nav > ul > li > span:hover {
  background-color: #f7f7f7;
}
.overlay ul li:hover ul {
  opacity: 1;
  visibility: visible;
}
.overlay-contentpush {
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateX(calc(100% - 150px));
  transition: transform 0.7s, visibility 0s 0.7s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.overlay-contentpush.open {
  visibility: visible;
  transform: translateX(0%);
  transition: transform 0.7s;
}

@media screen and (max-height: 30.5em) {
  .overlay nav {
    height: 70%;
    font-size: 34px;
  }
  .overlay ul li {
    min-height: 34px;
  }
}
.scrollProgress {
  flex-grow: 1;
  position: relative;
  border-top: 1px solid #ccc;
}
.scrollProgress::before {
  content: "";
  width: 100%;
  border-top: 1px solid #444;
  position: absolute;
  right: 0;
  top: -1px;
  transform: scaleX(var(--progress));
  transform-origin: 100% 0;
  will-change: transform;
}

/* 404 */

#canvas404 {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.caps {
  z-index: 2;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-animation: as 8s linear infinite;
  animation: as 8s linear infinite;
}

.caps img {
  display: block;
  width: 100%;
  height: 100%;
}

@-webkit-keyframes as {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  20% {
    opacity: 0.1;
  }
  30% {
    opacity: 0.5;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  55% {
    opacity: 0;
  }
  55% {
    opacity: 0;
  }
}

@keyframes as {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  20% {
    opacity: 0.1;
  }
  30% {
    opacity: 0.5;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  55% {
    opacity: 0;
  }
  55% {
    opacity: 0;
  }
}

.frame404 {
  z-index: 3;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 12+ */ /* IE10+ */
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 19%,
    rgba(0, 0, 0, 0.9) 100%
  ); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#00000000', endColorstr = '#e6000000', GradientType = 1); /* IE6-9 fallback on horizontal gradient */
}

.frame404 div {
  position: absolute;
  left: 0;
  top: -20%;
  width: 100%;
  height: 20%;
  background-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  -webkit-animation: asd 12s linear infinite;
  animation: asd 12s linear infinite;
}

.frame404 div:nth-child(1) {
  -webkit-animation-delay: 0;
  animation-delay: 0;
}

.frame404 div:nth-child(2) {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}

.frame404 div:nth-child(3) {
  -webkit-animation-delay: 8s;
  animation-delay: 8s;
}

@-webkit-keyframes asd {
  0% {
    top: -20%;
  }
  100% {
    top: 100%;
  }
}

@keyframes asd {
  0% {
    top: -20%;
  }
  100% {
    top: 100%;
  }
}

h1.h404 {
  z-index: 3;
  position: absolute;
  font: bold 200px/200px Arial, sans-serif;
  left: 50%;
  top: 40%;
  margin-top: -100px;
  width: 100%;
  margin-left: -50%;
  height: 200px;
  text-align: center;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  -webkit-animation: asdd 2s linear infinite;
  animation: asdd 2s linear infinite;
}
a.a404 {
  z-index: 100;
  font-size: 2em;
  font-family: var(--context-font);
  margin-top: 0;
  position: absolute;
  bottom: 15%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 500ms;
  right: calc(50% - 30px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}
a.a404 svg {
  fill: rgba(255, 255, 255, 0.4);
  height: 30px;
  width: 30px;
  transition: fill 500ms;
}
a.a404:hover {
  background-color: rgba(0, 0, 0, 0.7);
  border: 3px solid rgba(255, 255, 255, 0.6);
}
a.a404:hover svg {
  fill: #ccc;
}
@-webkit-keyframes asdd {
  0% {
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  }
  33% {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  }
  66% {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  100% {
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  }
}

@keyframes asdd {
  0% {
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  }
  33% {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  }
  66% {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  100% {
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  }
}

.jd-simple-contact-description {
  color: #999 !important;
  margin-bottom: 3em;
  font-size: 1.2em;
}
.jd-simple-contact-description-title {
  font-size: 2.8em;
  color: #666;
  margin-bottom: 1em;
  line-height: 1.5em;
}
form .form-group,
.jdscf-submit-btn {
  display: flex;
  flex-direction: row;
  border: 1px solid #d6d6d6;
  float: left;
  width: 100% !important;
}
.jdscf-col-md-12 .form-group,
.jdscf-submit-btn {
  border-top: 0 none;
}
.jdscf-col-md-6:first-child .form-group {
  border-left: 0;
}
form .form-group.half {
  width: 50%;
}
form .form-group.last {
  border-left: 0;
}
form .form-group label {
  padding: 0 2em;
  height: 32px;
  line-height: 32px;
  color: #999;
}
form .form-group input,
form .form-group textarea,
.jdscf-submit-btn .btn {
  padding: 0.4em 1em;
  border: 0;
  color: #444;
  outline: 0;
  font-size: 0.9em;
  flex-grow: 1;
}
.jdscf-submit-btn .btn {
  width: 100%;
}
form .form-group textarea {
  padding: 1em 0.5em;
  min-height: 90px;
  resize: none;
}
.jd-simple-contact-form .jdscf-col-xl,
.jd-simple-contact-form .jdscf-col-xl-auto,
.jd-simple-contact-form .jdscf-col-xl-12,
.jd-simple-contact-form .jdscf-col-xl-11,
.jd-simple-contact-form .jdscf-col-xl-10,
.jd-simple-contact-form .jdscf-col-xl-9,
.jd-simple-contact-form .jdscf-col-xl-8,
.jd-simple-contact-form .jdscf-col-xl-7,
.jd-simple-contact-form .jdscf-col-xl-6,
.jd-simple-contact-form .jdscf-col-xl-5,
.jd-simple-contact-form .jdscf-col-xl-4,
.jd-simple-contact-form .jdscf-col-xl-3,
.jd-simple-contact-form .jdscf-col-xl-2,
.jd-simple-contact-form .jdscf-col-xl-1,
.jd-simple-contact-form .jdscf-col-lg,
.jd-simple-contact-form .jdscf-col-lg-auto,
.jd-simple-contact-form .jdscf-col-lg-12,
.jd-simple-contact-form .jdscf-col-lg-11,
.jd-simple-contact-form .jdscf-col-lg-10,
.jd-simple-contact-form .jdscf-col-lg-9,
.jd-simple-contact-form .jdscf-col-lg-8,
.jd-simple-contact-form .jdscf-col-lg-7,
.jd-simple-contact-form .jdscf-col-lg-6,
.jd-simple-contact-form .jdscf-col-lg-5,
.jd-simple-contact-form .jdscf-col-lg-4,
.jd-simple-contact-form .jdscf-col-lg-3,
.jd-simple-contact-form .jdscf-col-lg-2,
.jd-simple-contact-form .jdscf-col-lg-1,
.jd-simple-contact-form .jdscf-col-md,
.jd-simple-contact-form .jdscf-col-md-auto,
.jd-simple-contact-form .jdscf-col-md-12,
.jd-simple-contact-form .jdscf-col-md-11,
.jd-simple-contact-form .jdscf-col-md-10,
.jd-simple-contact-form .jdscf-col-md-9,
.jd-simple-contact-form .jdscf-col-md-8,
.jd-simple-contact-form .jdscf-col-md-7,
.jd-simple-contact-form .jdscf-col-md-6,
.jd-simple-contact-form .jdscf-col-md-5,
.jd-simple-contact-form .jdscf-col-md-4,
.jd-simple-contact-form .jdscf-col-md-3,
.jd-simple-contact-form .jdscf-col-md-2,
.jd-simple-contact-form .jdscf-col-md-1,
.jd-simple-contact-form .jdscf-col-sm,
.jd-simple-contact-form .jdscf-col-sm-auto,
.jd-simple-contact-form .jdscf-col-sm-12,
.jd-simple-contact-form .jdscf-col-sm-11,
.jd-simple-contact-form .jdscf-col-sm-10,
.jd-simple-contact-form .jdscf-col-sm-9,
.jd-simple-contact-form .jdscf-col-sm-8,
.jd-simple-contact-form .jdscf-col-sm-7,
.jd-simple-contact-form .jdscf-col-sm-6,
.jd-simple-contact-form .jdscf-col-sm-5,
.jd-simple-contact-form .jdscf-col-sm-4,
.jd-simple-contact-form .jdscf-col-sm-3,
.jd-simple-contact-form .jdscf-col-sm-2,
.jd-simple-contact-form .jdscf-col-sm-1,
.jd-simple-contact-form .jdscf-col,
.jd-simple-contact-form .jdscf-col-auto,
.jd-simple-contact-form .jdscf-col-12,
.jd-simple-contact-form .jdscf-col-11,
.jd-simple-contact-form .jdscf-col-10,
.jd-simple-contact-form .jdscf-col-9,
.jd-simple-contact-form .jdscf-col-8,
.jd-simple-contact-form .jdscf-col-7,
.jd-simple-contact-form .jdscf-col-6,
.jd-simple-contact-form .jdscf-col-5,
.jd-simple-contact-form .jdscf-col-4,
.jd-simple-contact-form .jdscf-col-3,
.jd-simple-contact-form .jdscf-col-2,
.jd-simple-contact-form .jdscf-col-1,
.jd-simple-contact-form .jdscf-col-xl::before,
.jd-simple-contact-form .jdscf-col-xl-auto::before,
.jd-simple-contact-form .jdscf-col-xl-12::before,
.jd-simple-contact-form .jdscf-col-xl-11::before,
.jd-simple-contact-form .jdscf-col-xl-10::before,
.jd-simple-contact-form .jdscf-col-xl-9::before,
.jd-simple-contact-form .jdscf-col-xl-8::before,
.jd-simple-contact-form .jdscf-col-xl-7::before,
.jd-simple-contact-form .jdscf-col-xl-6::before,
.jd-simple-contact-form .jdscf-col-xl-5::before,
.jd-simple-contact-form .jdscf-col-xl-4::before,
.jd-simple-contact-form .jdscf-col-xl-3::before,
.jd-simple-contact-form .jdscf-col-xl-2::before,
.jd-simple-contact-form .jdscf-col-xl-1::before,
.jd-simple-contact-form .jdscf-col-lg::before,
.jd-simple-contact-form .jdscf-col-lg-auto::before,
.jd-simple-contact-form .jdscf-col-lg-12::before,
.jd-simple-contact-form .jdscf-col-lg-11::before,
.jd-simple-contact-form .jdscf-col-lg-10::before,
.jd-simple-contact-form .jdscf-col-lg-9::before,
.jd-simple-contact-form .jdscf-col-lg-8::before,
.jd-simple-contact-form .jdscf-col-lg-7::before,
.jd-simple-contact-form .jdscf-col-lg-6::before,
.jd-simple-contact-form .jdscf-col-lg-5::before,
.jd-simple-contact-form .jdscf-col-lg-4::before,
.jd-simple-contact-form .jdscf-col-lg-3::before,
.jd-simple-contact-form .jdscf-col-lg-2::before,
.jd-simple-contact-form .jdscf-col-lg-1::before,
.jd-simple-contact-form .jdscf-col-md::before,
.jd-simple-contact-form .jdscf-col-md-auto::before,
.jd-simple-contact-form .jdscf-col-md-12::before,
.jd-simple-contact-form .jdscf-col-md-11::before,
.jd-simple-contact-form .jdscf-col-md-10::before,
.jd-simple-contact-form .jdscf-col-md-9::before,
.jd-simple-contact-form .jdscf-col-md-8::before,
.jd-simple-contact-form .jdscf-col-md-7::before,
.jd-simple-contact-form .jdscf-col-md-6::before,
.jd-simple-contact-form .jdscf-col-md-5::before,
.jd-simple-contact-form .jdscf-col-md-4::before,
.jd-simple-contact-form .jdscf-col-md-3::before,
.jd-simple-contact-form .jdscf-col-md-2::before,
.jd-simple-contact-form .jdscf-col-md-1::before,
.jd-simple-contact-form .jdscf-col-sm::before,
.jd-simple-contact-form .jdscf-col-sm-auto::before,
.jd-simple-contact-form .jdscf-col-sm-12::before,
.jd-simple-contact-form .jdscf-col-sm-11::before,
.jd-simple-contact-form .jdscf-col-sm-10::before,
.jd-simple-contact-form .jdscf-col-sm-9::before,
.jd-simple-contact-form .jdscf-col-sm-8::before,
.jd-simple-contact-form .jdscf-col-sm-7::before,
.jd-simple-contact-form .jdscf-col-sm-6::before,
.jd-simple-contact-form .jdscf-col-sm-5::before,
.jd-simple-contact-form .jdscf-col-sm-4::before,
.jd-simple-contact-form .jdscf-col-sm-3::before,
.jd-simple-contact-form .jdscf-col-sm-2::before,
.jd-simple-contact-form .jdscf-col-sm-1::before,
.jd-simple-contact-form .jdscf-col::before,
.jd-simple-contact-form .jdscf-col-auto::before,
.jd-simple-contact-form .jdscf-col-12::before,
.jd-simple-contact-form .jdscf-col-11::before,
.jd-simple-contact-form .jdscf-col-10::before,
.jd-simple-contact-form .jdscf-col-9::before,
.jd-simple-contact-form .jdscf-col-8::before,
.jd-simple-contact-form .jdscf-col-7::before,
.jd-simple-contact-form .jdscf-col-6::before,
.jd-simple-contact-form .jdscf-col-5::before,
.jd-simple-contact-form .jdscf-col-4::before,
.jd-simple-contact-form .jdscf-col-3::before,
.jd-simple-contact-form .jdscf-col-2::before,
.jd-simple-contact-form .jdscf-col-1::before,
.jd-simple-contact-form .jdscf-col-xl::after,
.jd-simple-contact-form .jdscf-col-xl-auto::after,
.jd-simple-contact-form .jdscf-col-xl-12::after,
.jd-simple-contact-form .jdscf-col-xl-11::after,
.jd-simple-contact-form .jdscf-col-xl-10::after,
.jd-simple-contact-form .jdscf-col-xl-9::after,
.jd-simple-contact-form .jdscf-col-xl-8::after,
.jd-simple-contact-form .jdscf-col-xl-7::after,
.jd-simple-contact-form .jdscf-col-xl-6::after,
.jd-simple-contact-form .jdscf-col-xl-5::after,
.jd-simple-contact-form .jdscf-col-xl-4::after,
.jd-simple-contact-form .jdscf-col-xl-3::after,
.jd-simple-contact-form .jdscf-col-xl-2::after,
.jd-simple-contact-form .jdscf-col-xl-1::after,
.jd-simple-contact-form .jdscf-col-lg::after,
.jd-simple-contact-form .jdscf-col-lg-auto::after,
.jd-simple-contact-form .jdscf-col-lg-12::after,
.jd-simple-contact-form .jdscf-col-lg-11::after,
.jd-simple-contact-form .jdscf-col-lg-10::after,
.jd-simple-contact-form .jdscf-col-lg-9::after,
.jd-simple-contact-form .jdscf-col-lg-8::after,
.jd-simple-contact-form .jdscf-col-lg-7::after,
.jd-simple-contact-form .jdscf-col-lg-6::after,
.jd-simple-contact-form .jdscf-col-lg-5::after,
.jd-simple-contact-form .jdscf-col-lg-4::after,
.jd-simple-contact-form .jdscf-col-lg-3::after,
.jd-simple-contact-form .jdscf-col-lg-2::after,
.jd-simple-contact-form .jdscf-col-lg-1::after,
.jd-simple-contact-form .jdscf-col-md::after,
.jd-simple-contact-form .jdscf-col-md-auto::after,
.jd-simple-contact-form .jdscf-col-md-12::after,
.jd-simple-contact-form .jdscf-col-md-11::after,
.jd-simple-contact-form .jdscf-col-md-10::after,
.jd-simple-contact-form .jdscf-col-md-9::after,
.jd-simple-contact-form .jdscf-col-md-8::after,
.jd-simple-contact-form .jdscf-col-md-7::after,
.jd-simple-contact-form .jdscf-col-md-6::after,
.jd-simple-contact-form .jdscf-col-md-5::after,
.jd-simple-contact-form .jdscf-col-md-4::after,
.jd-simple-contact-form .jdscf-col-md-3::after,
.jd-simple-contact-form .jdscf-col-md-2::after,
.jd-simple-contact-form .jdscf-col-md-1::after,
.jd-simple-contact-form .jdscf-col-sm::after,
.jd-simple-contact-form .jdscf-col-sm-auto::after,
.jd-simple-contact-form .jdscf-col-sm-12::after,
.jd-simple-contact-form .jdscf-col-sm-11::after,
.jd-simple-contact-form .jdscf-col-sm-10::after,
.jd-simple-contact-form .jdscf-col-sm-9::after,
.jd-simple-contact-form .jdscf-col-sm-8::after,
.jd-simple-contact-form .jdscf-col-sm-7::after,
.jd-simple-contact-form .jdscf-col-sm-6::after,
.jd-simple-contact-form .jdscf-col-sm-5::after,
.jd-simple-contact-form .jdscf-col-sm-4::after,
.jd-simple-contact-form .jdscf-col-sm-3::after,
.jd-simple-contact-form .jdscf-col-sm-2::after,
.jd-simple-contact-form .jdscf-col-sm-1::after,
.jd-simple-contact-form .jdscf-col::after,
.jd-simple-contact-form .jdscf-col-auto::after,
.jd-simple-contact-form .jdscf-col-12::after,
.jd-simple-contact-form .jdscf-col-11::after,
.jd-simple-contact-form .jdscf-col-10::after,
.jd-simple-contact-form .jdscf-col-9::after,
.jd-simple-contact-form .jdscf-col-8::after,
.jd-simple-contact-form .jdscf-col-7::after,
.jd-simple-contact-form .jdscf-col-6::after,
.jd-simple-contact-form .jdscf-col-5::after,
.jd-simple-contact-form .jdscf-col-4::after,
.jd-simple-contact-form .jdscf-col-3::after,
.jd-simple-contact-form .jdscf-col-2::after,
.jd-simple-contact-form .jdscf-col-1::after {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.btn {
  background-color: #fefefe;
  transition: all 0.5s;
  cursor: pointer;
  height: 30px;
  color: #999 !important;
  font-family: var(--context-font);
}
.btn:hover {
  background-color: #666;
  color: #eee !important;
}
.jd-simple-contact-form .list-unstyled {
  padding: 0 0.6em !important;
  background-color: #999;
  color: #eee;
  text-align: center;
  align-self: flex-end;
}
.jd-simple-contact-form {
  width: 650px !important;
}
.jd-simple-contact-form .jdscf-row {
  margin: 0 !important;
}
.jd-simple-contact-form .simple-contact-form-loader {
  top: -20px !important;
  height: 110% !important;
  z-index: 800 !important;
  background: rgba(255, 255, 255, 0.8) !important;
}
.jd-simple-contact-form .simple-contact-form-loader .loading {
  color: #333 !important;
}
.gallery-grid-light > div:last-child {
  display: none;
}
.jd-simple-contact-form .d-block {
  display: auto !important;
}
.jd-simple-contact-form small.text-danger {
  color: #333 !important;
}

/* gallery */
h1.displayname,
div.text {
  display: none;
}
.eventgallery-tiles-list {
  display: flex;
  width: 100%;
}
.eventgallery-thumbnails,
.event div.thumbnails,
.mod-eventgallery-event div.thumbnails,
.ph-items {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column dense;
  grid-gap: 5px;
  width: auto;
  align-content: flex-start;
  justify-content: space-between;
  height: 80vh !important;
}
.archive .eventgallery-thumbnails {
  grid-template-rows: 1fr;
  height: 60vh !important;
  grid-gap: 1rem;
}
.thumbnails .thumbnail-container {
  background: #efefef;
  flex-grow: 0;
  width: auto !important;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 1em !important;
  float: none;
  top: auto !important;
  left: auto !important;
  position: relative !important;
  overflow: hidden;
  padding: 0 !important;
  height: 100% !important;
}
.eventgallery-tiles-list .eventgallery-tile .event-thumbnails,
.eventgallery-tiles-list .eventgallery-tile .wrapper {
  width: 100%;
  height: 100%;
  border: 0 none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.thumbnails .thumbnail-container .content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 500ms;
  padding: 1em;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.thumbnails .thumbnail-container:hover .content {
  opacity: 1;
}
.thumbnails .thumbnail-container .content h2 {
  font-size: 1.5em;
  color: #333;
  line-height: 1.5em;
  margin-bottom: 0;
}
.thumbnails .thumbnail-container .content p {
  line-height: 1.5em;
}
.thumbnails .thumbnail-container:nth-child(6n-3) {
  width: 30vh !important;
}
.thumbnails .thumbnail-container:nth-child(6n-2) {
  width: 30vh !important;
}
.org .thumbnails .thumbnail-container:nth-child(2n) {
  width: 55vh !important;
}
.org .thumbnails .thumbnail-container:nth-child(2n-1) {
  width: 55vh !important;
}
.org .thumbnails .thumbnail-container:nth-child(3n) {
  grid-row-start: 1;
  grid-row-end: 3;
  width: 64vh !important;
  max-width: 64vh;
}
.virtualtours .img-block {
  height: 100%;
  min-height:250px;
  overflow: hidden;
  width: 460px;
  position: relative;
}
.virtualtours .img-block a {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.virtualtours .img-block a img {
  max-width: 100%;
  object-fit: cover;
  max-height: 100%;
  min-width: 100%;
  min-height: 100%;
}
.virtualtours .thumbnails .thumbnail-container:nth-child(n) {
  height: calc(50% - 10px) !important;
  width: 400px !important;
}
.archive .thumbnails .thumbnail-container {
  height: 100% !important;
  width: 60vh !important;
}
.thumbnails .thumbnail-container a {
  display: flex !important;
  width: 100%;
  height: 100%;
  justify-content: center;
}
.thumbnails .thumbnail-container a img {
  -o-object-fit: cover;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  max-height: 100%;
  opacity: 1;
  transition: opacity 500ms;
  width: auto !important;
  background-position: 100% 100% !important;
}
.archive .thumbnails .thumbnail-container a img {
  background-position: 50% 50% !important;
}
.thumbnails .thumbnail-container:hover a img {
  opacity: 0.1;
}
.pswp__caption__center .background {
  align-items: center !important;
}
iframe.full {
  width: 100vw;
  max-width: 100%;
}
.hideAll iframe.full {
  width:100%;
  height:100% !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0
}
.TheBody #titleBar,
.TheBody #autorotateToggle {
  display: none !important;
}
#event {
  width: 100%;
}
/* 
.scrollbar-track {
  display: none !important;
} */

.fade-in {
  opacity: 0;
  transition: all 1600ms !important;
}
.fade-in.appear {
  opacity: 1;
}
.from-left,
.from-right,
.eventgallery-tile {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 900ms;
}
.from-right {
  transform: translateX(50px);
}
.from-left.appear,
.from-right.appear,
.eventgallery-tile.appear {
  transform: translateX(0px);
  opacity: 1;
}
.from-btm,
.from-top {
  transform: translateY(50px);
  visibility: hidden;
  opacity: 0;
  transition: all 1600ms;
}
.from-top {
  transform: translateY(-50px);
}
.from-top.appear,
.from-btm.appear {
  visibility: visible;
  transform: translateY(0px);
  opacity: 1;
}
.delayed-1 {
  transition-delay: 100ms !important;
}
.delayed-2 {
  transition-delay: 200ms !important;
}
.delayed-3 {
  transition-delay: 300ms !important;
}
.delayed-4 {
  transition-delay: 400ms !important;
}
.delayed-5 {
  transition-delay: 500ms !important;
}
.delayed-6 {
  transition-delay: 600ms !important;
}
.delayed-7 {
  transition-delay: 700ms !important;
}
.delayed-8 {
  transition-delay: 800ms !important;
}
.ph-items {
  margin: 0;
}
.virtual-tours .main-content-wrapper {
  align-items: center;
}
.virtual-tours .main-content-wrapper > div:nth-child(2) {
  padding: 0;
  height: 80vh;
  width: 60vh;
  margin: 0 10px;
}
.virtual-tours .main-content-wrapper .content {
  padding: 0 0 0 10rem;
}
.virtual-tours .main-content-wrapper iframe {
  margin: 0 5px;
  width: 60vh;
}
#backtotop {
  letter-spacing: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100px;
  transition: opacity 500ms;
}
#backtotop:hover {
  opacity: 1;
}

.seperate-gallery {
  font-size: 10vh;
  line-height: 1em;
  z-index: 200;
  color: #444;
  justify-content: flex-end !important;
  padding: 0 20vw 0 0 !important;
  left: 10px;
  font-weight: bold;
  font-family: var(--title-font);
  white-space: nowrap;
}
.os_fancybox-is-open .os_fancybox-bg {
  background-color: #fff !important;
  opacity: 0.92;
}
.full > .full {
  height: 100%;
}
.eventgallery-tiles-list .eventgallery-tile img {
  border-radius: 0 !important;
}

@media screen and (min-width: 650px) {
  .thumbnails .thumbnail-container a img {
    height: auto !important;
  }
}

@media screen and (max-width: 650px) {
  figure.effect-lily.large, .full figure.effect-lily {
    width: auto !important;
    max-height: 90vh;
  }
  .ph-items {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row dense;
    height: auto !important;
    width: 100%;
  }
  .main-content-wrapper h2 {
    margin-top: 2em;
  }
  .virtualtours .img-block {
    width: auto;
  }
  #backtotop {
    display: none;
  }
  .virtual-tours .main-content-wrapper iframe {
    margin: 0;
    width: 100%;
  }
  .overlay ul li ul {
    opacity: 1;
    visibility: visible;
  }
  .main-content-wrapper > div.seperate-gallery,
  .main-content-wrapper h1 {
    margin: 0 !important;
    font-size: 3em;
    text-align: center;
  }
  .main-content-wrapper > div.seperate-gallery {
    padding: 2em 0 0 !important;
  }
  .left-aligned.categories:before {
    top: 10%;
    left: 50%;
    height: 80%;
    width: 1px;
    background-color: #d6d6d6;
  }
  .tours-home > a.more-tours::before {
    opacity: 1 !important;
  }
  .main-content-wrapper .header-first {
    justify-content: flex-end;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  figure.effect-lily.huge {
    width: 100%;
  }
  .left-aligned.categories ul {
    width: auto;
    flex-direction: row;
  }
  .left-aligned.categories ul li {
    margin: 10px;
  }
  body {
    overflow: auto;
  }
  .main-container {
    flex-direction: column;
  }
  .main-menu {
    width: 100%;
    flex-direction: row;
    padding: 0;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
  .main-content {
    padding-top: 80px;
  }
  .main-menu-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
    align-items: center;
  }
  .overlay nav > ul {
    padding: 80px 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
  }
  .overlay nav > ul li {
    border-left: 0 none;
    border-bottom: 1px solid #ddd;
  }
  .overlay-contentpush {
    transform: translateY(-100vh);
  }
  .main-menu-top h1 a img {
    width: 100px;
  }
  button.menu {
    margin-top: 0;
    height: 80px;
  }
  .main-content-top {
    transform: none;
    min-width: 0;
    width: 100%;
  }
  .main-content-wrapper {
    transform: none;
    flex-direction: column;
    padding: 0 15px;
    height: auto;
  }
  .fullpage .main-content-wrapper {
    padding: 0;
  }
  .main-content-wrapper > div,
  .main-content-wrapper > iframe.full {
    padding: 3em 0 !important;
    min-width: 0;
    height: auto;
    margin-bottom: 3em;
    overflow: hidden;
    width: 100%;
    align-items: center;
  }
  .virtual-tours .main-content-wrapper > div:nth-child(2) {
    margin: 0;
    width: 100% !important;
  }
  .main-content-wrapper > iframe.full {
    height: 80vh !important;
    width: 100%;
  }
  .hamidreza-bani .main-content-wrapper div.page-header {
    position: relative;
    top: auto;
  }
  .hamidreza-bani .main-content-wrapper > div:not(.cp) > div:nth-child(2) {
    margin-right: 0 !important;
  }
  .main-content-wrapper > .tours-home,
  .jd-simple-contact-form {
    width: 100% !important;
  }
  .main-content-wrapper > .tours-home {
    grid-template-columns: 1fr;
    padding: 0 !important;
  }
  .tours-home > a {
    padding: 2em 0;
    width: auto;
  }
  .tours-home > a:first-child,
  .tours-home > a:nth-child(2) {
    border-top: 1px solid #d6d6d6;
  }
  /* .tours-home a:nth-child(2n-1) {
    border-left: 0 none;
  } */
  .texts-first p,
  .texts-first h3 {
    text-align: justify;
    padding: 2em 0;
    width: 100%;
  }
  .texts-first h3 {
    text-align: center;
  }
  .texts-first .nav-links {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
  .hamidreza-bani .main-content-wrapper h2 {
    margin-bottom: 2em;
  }
  .main-content-wrapper > div .left-aligned {
    text-align: right;
    padding: 0;
  }
  .jdscf-col-md-6:first-child .form-group {
    border-left: 1px solid #d6d6d6;
    border-bottom: 0 none;
  }
  .main-content-btm,
  .main-menu-btm {
    display: none;
  }
  .os-cat-tab-images > div,
  .ph-items {
    -webkit-writing-mode: initial;
    -ms-writing-mode: initial;
    writing-mode: initial;
    height: auto;
    flex-direction: column;
  }
  .thumbnails .thumbnail-container:nth-child(6n-5),
  .thumbnails .thumbnail-container:nth-child(6n-4),
  .thumbnails .thumbnail-container:nth-child(6n-3),
  .thumbnails .thumbnail-container:nth-child(6n-2),
  .thumbnails .thumbnail-container:nth-child(6n-1),
  .thumbnails .thumbnail-container:nth-child(6n) {
    height: auto !important;
    width: 100% !important;
  }
  .thumbnails .thumbnail-container a img {
    width: 100% !important;
  }
  .org .thumbnails .thumbnail-container:nth-child {
    width: 100%;
    height: auto !important;
  }
  .galleries .main-content-wrapper { 
    height: auto !important;
  }
  .archive .os-cat-tab-images > div {
    height: auto;
  }
  .articleBody {
    width: 100%;
  }
  .fullpage .main-content-wrapper > .content iframe {
    width: 100% !important;
    height: calc(100vh - 80px) !important;
  }
  .main-content-wrapper .cp {
    width: 100%;
    margin-top: 50px;
    height: auto !important;
  }
  .main-content-wrapper .cp div:nth-child(2) {
    align-self: flex-end;
    justify-self: flex-end;
    transform: rotate(-90deg);
  }
  .main-content-wrapper .first-module {
    width: 100%;
  }
  .eventgallery-tiles-list .eventgallery-tiles {
    height: auto !important;
    grid-template-rows: auto !important;
    grid-template-columns: 1fr;
    grid-auto-flow: unset !important;
    width: 100%;
    grid-gap: 10px;
    display: flex;
    flex-direction: column;
  }
  .org .thumbnails .thumbnail-container:nth-child(n) {
    width: 100% !important;
    max-width: 100% !important;
  }
  .main-content-wrapper > .tours-home > a {
    min-height: 100px;
  }
  .jd-simple-contact-description-title {
    text-align: center;
  }
}
@media screen and (max-width: 450px) {

  .tours-home > a:nth-child(2) {
    border-top: 0 none;
  }
  .tours-home > a:nth-child(2n-1) {
    border-left: 0 none;
  }
}
.hideAll .main-menu,
.hideAll .cp,
.hideAll .content,
.hideAll .main-container,
.hideAll .overlay  {
  display: none !important;
  visibility: hidden !important;
}