body {
  overflow-x: hidden;
}

#mainNav {
  z-index: 100;
}

.page-section {
    padding: 3rem 0;
}

input[type="text"], textarea {
  field-sizing: content;
}

img {
  object-fit: contain;
}

.img-wrapper,
.mold {
  position: relative;
}

.img-wrapper > img {
  box-shadow: 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.img-wrapper p,
.mold p {
  position: absolute;
  background-color: #444;
  color: #eee;
  font-size: .7rem;
  line-height: 1rem;
  margin: 0!important;
  padding: 0 3px!important;
  white-space: nowrap;
  max-width: 100%;
  max-height: 1rem;
  overflow: hidden;
}

.label-tl {
  top:0;
  left: 0;
}

.label-tr {
  top:0;
  right: 0;
}

.label-bl {
  bottom:0;
  left: 0;
}

.label-br {
  bottom:0;
  right: 0;
  line-height: 2.7rem!important;
  max-height: 2.7rem!important;
  background: transparent!important;
}

.icon-stack > i:first-child {
  position: relative;
  font-size: 2.5rem!important;
  line-height: 2.5rem!important;
  color: #ddd;
}

.icon-stack > i:not(:first-child) {
  position: absolute;
  font-size: 2.0rem!important;
  line-height: 2.5rem!important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -53%);
}

.label-br .fa-check-square {
  color: #028760;
}

.label-br .fa-question-circle {
  color: #ddd;
}

.label-br .fa-circle:has(+ .fa-question-circle) {
  color: #2ca9e1;
}

.label-br .fa-ban {
  color: #ddd;
}

.label-br .fa-circle:has(+ .fa-ban) {
  color: #bb5548;
}

.faint {
  opacity: 0.7;
}

.delay {
  display: none;
}

.mold img {
  max-width: calc(100vw - 100px);
  max-height: calc(100vh - 40px);
}

.img-wrapper:hover {
  opacity: .6;
}

.mfp-container {
  padding: 0;
}

.mfp-content {
  text-align: center;
  height: 100%;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.mfp-content::before {
  content: '';
  display: inline-block;
  font-size: 0;
  height: 100%;
  vertical-align: middle;
  width: 0;
}

.mfp-content .mold {
  display: inline-block;
  vertical-align: middle;
}

.img-wrapper img {
  max-width: 100%;
  max-height: 70vh;
}

.slider .img-wrapper {
  display: block;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider {
  width: 100vw;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slick-list{
  overflow: visible;
}

.mfp-close {
  font-size: 3rem;
}

.gallery-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000;
  opacity: 0.3;
  display: flex;
  width: 4rem;
  height: 6rem;
  line-height: 3rem;
  font-size: 3rem;
  cursor: pointer;
  z-index: 1046;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover {
  opacity: 0.5;
}

.gallery-arrow-left{
  left: 1vw;
}

.gallery-arrow-left-content:before{
  content:'<';
  color: #eee;
}

.gallery-arrow-right{
  right: 1vw;
}

.gallery-arrow-right-content:before{
  content:'>';
  color: #eee;
}

#sform {
  display: flex;
  justify-content: center; 	
  height: 35px;
}

#sbox {
  width: calc(8em + 30px);
  padding: 0 15px;
  border-radius: 4px 0 0 4px;
  background: #f5f5f5;
  border: none;
  outline: 0;
}

#sbtn {
  width: 50px;
  border-radius: 0 4px 4px 0;
  background: #f5f5f5;
  border: none;
  color: #666;
  font-size: 18px;
  cursor: pointer;
}

#sbtn3:hover {
  background: #7fbfff;
  color:#fff;
}

.sul {
  list-style-type: none;
}

.sul > li:nth-child(odd) {
  background-color: #fff;
 }

.sul > li:nth-child(even) {
  background-color: #f5f5f5;
}

.sul > li:last-child {
  border-radius: 0 0 4px 4px;
}

.sul > li:hover {
  background-color: #3399ff;
  color: #fff;
}

h1, h2, h3, h4, h5, span, .h1, .h2, .h3, .h4, .h5 .card {
  color: #595959;
}

.svg-shadow {
  filter: drop-shadow(0 0.5rem 1rem #888);
}
  
.main-contents {
  min-height: calc(100vh - 75px);
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
}

.contact {
  min-height: calc(100vh - 115px);
}


@media (max-width: 575px) {
  .page-section:not(.contact) {
    padding: 0;
  }

  footer {
    display: block;
  }

  .contact ~ footer {
    display: block;
  }
}

@media (min-width: 576px) {
  .main-contents {
    min-height: calc(100vh - 75px - 30px);
  }
}

.ad {
  overflow: auto;
}

.month-item {
  cursor: pointer;
  font-size: 25px;
  line-height: 1.1;
}
.month-item:hover {
  color: #fff !important;
  background-color: #23272b !important;
  border-color: #1d2124 !important;
}

.month-item:focus, .month-item.focus {
  box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5) !important;
}

.month-item:not(:disabled):not(.disabled):active, .month-item:not(:disabled):not(.disabled).active {
  color: #fff !important;
  background-color: #1d2124 !important;
  border-color: #171a1d !important;
}

.month-item:not(:disabled):not(.disabled):active:focus, .month-item:not(:disabled):not(.disabled).active:focus {
  box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5) !important;
}

.fa-ribbon {
  color: #994b0f !important;
}

.month-control {
  background-color: #535c66;
  position: absolute;
  top: 10px;
  right: 10px;
  /* height: 50px !important;
  width: 70px !important; */
  margin: 0 !important;
  /* padding: 10px; */
  display: flex;
  justify-content: center !important;
  align-items: center !important;
}
.month {
  cursor: pointer;
  font-size: 25px;
}
.month:hover,
.month:active {
  color: lightgray !important;
}

.leaflet-popup-content-wrapper {
  background-color: #535c66;
  /* background-color: #0066a2; */
  font-size: 20px;
}

.leaflet-popup-content-wrapper .fas {
  color: white;
}
.leaflet-popup-content-wrapper .fas:hover,
.leaflet-popup-content-wrapper .fas:active {
  color: lightgray;
}

.leaflet-popup-content {
  padding: 10px 10px !important;
}

.modal-content {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

div[class*="clicked"] {
  /* filter: brightness(0.9); */
  -webkit-filter: opacity(50%);
  filter: opacity(50%);
}

.text-res {
  font-size: 24px;
  line-height: 0.98;
}

@media (min-width: 544px) {  
  .text-res {
    font-size: 24px;
    line-height: 1;
  }
}

@media (min-width: 768px) {  
  .text-res {
    font-size: 24px;
    line-height: 1;
  }
}

@media (min-width: 992px) { 
  .text-res {
    font-size: 24px;
    line-height: 0.95;
  }
}

@media (min-width: 1200px) {  
  .text-res {
    font-size: 24px;
    line-height: 0.95;
  }
}

.text-res-bigger {
  font-size: 24px;
  line-height: 0.98;
}

@media (min-width: 544px) {  
  .text-res-bigger {
    font-size: 34px;
    line-height: 1;
  }
}

@media (min-width: 768px) {  
  .text-res-bigger {
    font-size: 34px;
    line-height: 1;
  }
}

@media (min-width: 992px) { 
  .text-res-bigger {
    font-size: 34px;
    line-height: 0.95;
  }
}

.text-res-smaller {
  font-size: 16px;
  line-height: 0.98;
}

@media (min-width: 768px) {  
  .text-res-smaller {
    font-size: 18px;
    line-height: 1;
  }
}

@media (min-width: 992px) { 
  .text-res-smaller {
    font-size: 20px;
    line-height: 0.95;
  }
}

.dropdown-menu {
  right: 0;
  min-width: initial;
}

.close-times {
  font-size: 30px;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bg-darkest {
  background-color: #42484e !important;
}

@-webkit-keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border .75s linear infinite;
  animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

@-webkit-keyframes spinner-grow {
  0% {
    transform: scale(0);
  }
  50% {
    opacity: 1;
  }
}

@keyframes spinner-grow {
  0% {
    transform: scale(0);
  }
  50% {
    opacity: 1;
  }
}

.spinner-grow {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: spinner-grow .75s linear infinite;
  animation: spinner-grow .75s linear infinite;
}

.spinner-grow-sm {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 1200px) {
  .main-container {
    max-width: 1200px;
  }
}

@media (min-width: 1200px) {
  .flex-xxl-row {
    flex-direction: row !important;
  }
  .flex-xxl-column {
    flex-direction: column !important;
  }
}
