

.container {
    overflow: auto;
}

.wrapper {
    display: table;
    width: 100%;
    background: #FFFFFF;
}


.maincontent {
    background-image: url("img/snowbg.jpg");
    border: 2px solid #000000;
    margin: 10px 40px 30px 20px;
    min-height: 200px;
}

.maincontent .container {
    margin-top: 0px;
    position: relative;
}

.maincontent .container .row {
    padding-top: 10px;
}

.maincontent h4 {
    font-family: "Times New Roman", serif;
    color: #FFFFFF;
    letter-spacing: .2em;
    line-height: 1.3em;
} 

.maincontent .container .thumbnail {
    max-width: 175px;
}

.maincontent .container .thumbnail {
    background: none;
    border: none;
}

.maincontent .container .row {
    margin: 0px 0px 0px 0px;
}

.links .text {
    max-width: 80%;
}

.links .row {
    margin-bottom: 15px;
}

.nav.next {
    float: right;
}


.thumbs img {
    margin-top: 25px;
}

.thumbs a {
    cursor: pointer;
}

.thumbs a img{
    border: 1px solid blue;
}

.thumbs a p {
    padding-left: 20px;
}

.prime {
    color: #00A8E1;
}

.open {
    color: #6441a5;
}

/******* panel animation *******/


.ImageWrapper {
    display: block;
    overflow: hidden;
    position: relative;
}

.ContentWrapperF {
    overflow: visible !important;
}

.ContentWrapperF img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;}

.ContentWrapperF:hover img.inner {
    -webkit-transform: translateX(20%);
    -moz-transform: translateX(20%);
    -ms-transform: translateX(20%);
    -o-transform: translateX(20%);
    transform: translateX(20%);}

.ContentWrapperF .ContentF {
    position: absolute;
    background: #ffffff;
    opacity: 1;
    visibility: visible;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;left: 0;
    -webkit-transform: perspective(600px) rotateY(10deg);
    -moz-transform: perspective(600px) rotateY(10deg);
    -ms-transform: perspective(600px) rotateY(10deg);
    -o-transform: perspective(600px) rotateY(10deg);
    transform: perspective(600px) rotateY(10deg);
    -webkit-transform-origin: left center 0;
    -moz-transform-origin: left center 0;
    -ms-transform-origin: left center 0;
    -o-transform-origin: left center 0;
    transform-origin: left center 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -ms-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;}

.ContentWrapperF:hover .ContentF {
    opacity: 1;
    visibility: visible;
    -webkit-transform: perspective(600px) rotateY(-80deg);
    -moz-transform: perspective(600px) rotateY(-80deg);
    -ms-transform: perspective(600px) rotateY(-80deg);
    -o-transform: perspective(600px) rotateY(-80deg);
    transform: perspective(600px) rotateY(-80deg);}







.ImageWrapper .PStyleC {
    position: absolute;
    background: no-repeat scroll top left / 100% 100% #222222;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;left: 0;
    opacity: .8;
    -webkit-transform: perspective(600px) rotateY(10deg);
    -moz-transform: perspective(600px) rotateY(10deg);
    -ms-transform: perspective(600px) rotateY(10deg);
    -o-transform: perspective(600px) rotateY(10deg);
    transform: perspective(600px) rotateY(0deg);
    -webkit-transform-origin: left center 0;
    -moz-transform-origin: left center 0;
    -ms-transform-origin: left center 0;
    -o-transform-origin: left center 0;
    transform-origin: left center 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -ms-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;}


.ImageWrapper:hover .PStyleC {
    opacity: .5;
    visibility: visible;
    -webkit-transform: perspective(600px) rotateY(-73deg) translateX(20%) scaleX(.65);
    -moz-transform: perspective(600px) rotateY(-73deg) translateX(20%) scaleX(.65);
    -ms-transform: perspective(600px) rotateY(-73deg) translateX(20%) scaleX(.65);
    -o-transform: perspective(600px) rotateY(-73deg) translateX(20%) scaleX(.65);
    transform: perspective(600px) rotateY(-73deg) translateX(20%) scaleX(.65);
}



a.current img {
-moz-box-shadow: 0 0 15px #FF0000;
-webkit-box-shadow: 0 0 15px #FF0000;
    box-shadow: 0px 0px 15px #FF0000;
}




@keyframes bounce { 
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}
a.current img {
  animation: bounce 0.7s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}



/******** popup module *******/

{
  box-sizing: border-box;
}
 
html, body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
}
 
@media screen and (max-width: 768px) {
  html, body {
    font-size: 12px;
  }
}

 

 
.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 50, 0.8);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  -webkit-transition: .64s ease-in-out;
  -moz-transition: .64s ease-in-out;
  -ms-transition: .64s ease-in-out;
  -o-transition: .64s ease-in-out;
  transition: .64s ease-in-out;
}
.popup-inner {
  position: relative;
  bottom: -100vw;
  right: -100vh;
  display: flex;
  align-items: center;
  max-width: 800px;
  max-height: 500px;
  width: 80%;
  height: 80%;
  background-color: #fff;
  -webkit-transform: rotate(32deg);
  -moz-transform: rotate(32deg);
  -ms-transform: rotate(32deg);
  -o-transform: rotate(32deg);
  transform: rotate(32deg);
  -webkit-transition: .64s ease-in-out;
  -moz-transition: .64s ease-in-out;
  -ms-transition: .64s ease-in-out;
  -o-transition: .64s ease-in-out;
  transition: .64s ease-in-out;
}
.popupphoto {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.popupphoto img {
  width: auto;
  height: 100%;
}
.popuptext {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  height: 100%;
  padding: 1rem;
}
.popuptext h2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: .7rem;
  text-transform: uppercase;
  color: #0A0A0A;
}
.popuptext h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #0A0A0A;
}
.popuptext span {
  font-size: smaller;
}
.popuptext p {
  font-size: .875rem;
  color: #686868;
  line-height: 1.5;
}
 
.popuptext a {
    text-decoration: none;
    color:  #47BDFF;
}
.popup:target {
  visibility: visible;
  opacity: 1;
}
.popup:target .popup-inner {
  bottom: 0;
  right: 0;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.closepopup {
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 3rem;
  height: 3rem;
  font-size: .875rem;
  font-weight: 300;
  border-radius: 100%;
  background-color: green;
  z-index: 4;
  color: #FFFFFF;
  line-height: 3rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}




/****** String Lights ******/


.lightrope {
   text-align: center;
   white-space: nowrap;
   overflow: hidden;
   position: absolute;
   z-index: 1;
   margin: -15px 0 0 0;
   padding: 0;
   pointer-events: none;
   width: 100%;
}
 .lightrope li {
   position: relative;
   animation-fill-mode: both;
   animation-iteration-count: infinite;
   list-style: none;
   margin: 0;
   padding: 0;
   display: block;
   width: 12px;
   height: 28px;
   border-radius: 50%;
   margin: 20px;
   display: inline-block;
   background: rgba(0, 247, 165, 1);
   box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 1);
   animation-name: flash-1;
   animation-duration: 2s;
}
 .lightrope li:nth-child(2n+1) {
   background: rgba(0, 255, 255, 1);
   box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.5);
   animation-name: flash-2;
   animation-duration: 0.4s;
}
 .lightrope li:nth-child(4n+2) {
   background: rgba(247, 0, 148, 1);
   box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 1);
   animation-name: flash-3;
   animation-duration: 1.1s;
}
 .lightrope li:nth-child(odd) {
   animation-duration: 1.8s;
}
 .lightrope li:nth-child(3n+1) {
   animation-duration: 1.4s;
}
 .lightrope li:before {
   content: "";
   position: absolute;
   background: #222;
   width: 10px;
   height: 9.3333333333px;
   border-radius: 3px;
   top: -4.6666666667px;
   left: 1px;
}
 .lightrope li:after {
   content: "";
   top: -14px;
   left: 9px;
   position: absolute;
   width: 52px;
   height: 18.6666666667px;
   border-bottom: solid #222 2px;
   border-radius: 50%;
}
 .lightrope li:last-child:after {
   content: none;
}
 .lightrope li:first-child {
   margin-left: -40px;
}
 @keyframes flash-1 {
   0%, 100% {
     background: rgba(0, 247, 165, 1);
     box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 1);
  }
   50% {
     background: rgba(0, 247, 165, 0.4);
     box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}
 @keyframes flash-2 {
   0%, 100% {
     background: rgba(0, 255, 255, 1);
     box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 1);
  }
   50% {
     background: rgba(0, 255, 255, 0.4);
     box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}
 @keyframes flash-3 {
   0%, 100% {
     background: rgba(247, 0, 148, 1);
     box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 1);
  }
   50% {
     background: rgba(247, 0, 148, 0.4);
     box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}
 




