#popact {
  position:fixed;
  width:100%;
  top:10%;
  bottom: 10%;
}

#popact div {
  width:900px;
  height:500px;
  margin:0 auto;
  background: rgb(220, 220, 220);
}

body {
  font-family: 'Overlock SC', cursive;
  background: rgb(124,124,124);
  padding: 0;
  margin: 0;
  /*background: pink;*/
  overflow:hidden;
}

h1 {
  font-size: 120px;
  /*color: grey;*/
  color: rgb(220,220,220);
  /*text-align: center;*/
}

#darkmode {
  background: rgb(0, 0, 0);
  color: rgb(33,33,33);
}


h1.small {
  font-size: 88px !important;
}


.ljs {
  font-size: 77px !important;
  /*color: grey;*/
  color: rgb(220,220,220);
  /*text-align: center;*/
}


img{
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}


.img_short {
  max-height: 600px;
}

/* Copyright style */
.copy {
  font-size: xx-small;
  line-height: 50%;
  color: grey;
  cursor: default;
}

/* Slideshow container */
.slideshow-container {
  position: fixed;
  /*width: 67%;*/
  width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  object-fit: contain;
  /*background-color: pink;*/
}

/* About container */
.about-container {
  position: fixed;
  /*width: 67%;*/
  width: 88%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  background-image: url(../images/about.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  z-index: -1;
  /*background-color: pink;*/
}

.underlay {
  position: fixed;
  top: 33.3%;
  left: 50%;
  transform: translate(-50%, -33.3%);
  z-index: -1;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  color: #fff;
  /*background: #000;*/
  background: rgba(0,0,0,0.4);
  z-index: 4;
  opacity: .3;
}

.prev {
  transform: translate(-80%,0%);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  transform: translate(80%,0%);
}



/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(1,1,1,0.9);
}

/* Caption text */
.text {
  position: relative;
  width: 33.30%;
  text-align: center;
  font-size: 1em;
  bottom: 2em;
  padding: 0 0 0.25em;
  color: #336699;
  background: rgba(33,33,33,.4);
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
}


.text a{
  /* color: rgb(220,220,220); */
  color: #336699;
  text-decoration: none;
  font-size: 0.8em;
}

/* title text */
.title_text {
  position: relative;
  width: 33.30%;
  text-align: center;
  font-size: 1.1em;
  /* bottom: 2em; */
  padding: 0 0 0.25em;
  /* color: grey; */
  color: #336699;
  background: rgba(33,33,33,0.4);
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
  font-variant: small-caps;
  font-weight: bold;
}

.about {
  position: relative;
  width: 77.7%;
  text-align: justify;
  font-size: 24px;
  /* top: 1.2em;
  right: 1.5em; */
  padding: 1.5em;
  margin: 3.3em;
  color: grey;
  background: rgba(33, 33, 33, 0.88);
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
  font-weight: bold;
  letter-spacing: 3px;
  border-style: double;
  font-family: 'Overlock', cursive !important;
  z-index: 1;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 750px) {
	.prev, .next,.text {font-size: 20px}
	h1 {font-size: 24px;}
	.text {width: 66%;}
	.prev {transform: translate(-50%,0%);
       background: rgba(0,0,0,0.9);}
	.next {transform: translate(50%,0%);
       background: rgba(0,0,0,0.9);}
  .about {font-size: 12px;
        letter-spacing: 1px;
        padding: 0.5em;
        margin: 0.0em;}
}

@media only screen and (max-width: 300px) {
	.prev, .next,.text, h1 {font-size: 11px}
	.text {width: 66%;}
	.prev {transform: translate(-50%,0%);
       background: rgba(0,0,0,0.9);}
	.next {transform: translate(50%,0%);
       background: rgba(0,0,0,0.9);}
  .about {font-size: 12px;
        letter-spacing: 1px;
        padding: 0.5em;
        margin: 0.0em;}
}

/* 
ADD CONTACT US Styles Below
*/

.fa {
  z-index: 10;
}

/* p {
  margin-bottom: 1.2em;
} */

.wrapper {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1em;

  &.page {
    padding: 4em 1em;

    p:first-of-type {
      font-weight: 700;
    }
  }
}

.contact {
  position: absolute;
  z-index: 102;
  top: 0px;
  left: 0;
  right: 0;
  padding: 2em;
  background: black;
  color: grey;
  transition: all .4s;
  transform: translateY(-100%);

  &.open-form {
    transform: translateY(0);
    cursor: pointer;
  }

  p {
    font-weight: 600;

    &.close {
      text-align: right;
      cursor: pointer;
    }

    &.close:hover {
      color: #336699;
    }

    &.close:active {
      color: #994733;
    }

    &.thanks {
      opacity: 0;
      transition: opacity .2s;
    }

    &.thanks.visible {
      opacity: 1;
    }
  }

  input,
  textarea {
    width: 100%;
    background: black;
    border: darkgrey solid 2px;
    border-radius: .5em;
    resize: none;
    padding: .7em 1em;
    color: grey;
    /* font-family: 'Open Sans', arial, sans-serif; */
    font-size: .65em;
    font-weight: 600;
  }

  textarea {
    font-size: .6em;
    height: 20em;
  }

  input[type="submit"] {
    width: auto;
    font-size: .8em;
    font-weight: 900;
    cursor: pointer;
  }

  input[type="submit"]:hover {
    color: #336699;
  }
  
  input[type="submit"]:active {
  color: whitesmoke;
  }
}

.open {
  cursor: pointer;
}

.open:hover,
.text a:hover {
  color: silver;
}

.open:active,
.text a:active {
  color: whitesmoke;
}

/* MENU  */

* {
  padding: 0;
  margin: 0;
}


nav {
  background-color: black;
  height: 50px;
  padding: 0 16px;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  z-index: 101;
  /* fade in checked menu */
}

nav .m-menu__checkbox {
  display: none;
}

nav label.m-menu__toggle {
  cursor: pointer;
}

nav .m-menu {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 450px;
  width: calc(100vw - 30px);
  height: 100%;
  -moz-transform: translate3d(-450px, 0, 0);
  -o-transform: translate3d(-450px, 0, 0);
  -ms-transform: translate3d(-450px, 0, 0);
  -webkit-transform: translate3d(-450px, 0, 0);
  transform: translate3d(-450px, 0, 0);
  -moz-transition: transform 0.35s;
  -o-transition: transform 0.35s;
  -webkit-transition: transform 0.35s;
  transition: transform 0.35s;
  z-index: 100;
  overflow: hidden;
  background-color: rgba(11,11,11,1);
}

nav .m-menu__overlay {
  background-color: rgba(33, 33, 33, 0.75);
  position: absolute;
  top: 0;
  width: 100%;
  bottom: 0;
  z-index: 100;
  display: none;
}

nav .m-menu__header {
  padding: 0 16px;
  height: 50px;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -ms-flex-pack: space-around;
  -webkit-align-items: center;
  align-items: center;
  border-bottom: 1px solid grey;
}

nav .m-menu__header span {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
  color: grey;
}

nav .m-menu .m-menu {
  -moz-transform: translate3d(480px, 0, 0);
  -o-transform: translate3d(480px, 0, 0);
  -ms-transform: translate3d(480px, 0, 0);
  -webkit-transform: translate3d(480px, 0, 0);
  transform: translate3d(480px, 0, 0);
}

nav .m-menu ul {
  height: 100%;
  overflow-y: auto;
}

nav .m-menu ul li a,
nav .m-menu ul li label {
  display: block;
  text-align: left;
  padding: 0 15px;
  line-height: 47px;
  text-decoration: none;
  color: grey;
  cursor: pointer;
  font-size: 1rem;
  border-bottom: 1px solid black;
  position: relative;
}

nav .m-menu ul li a:hover,
nav .m-menu ul li label:hover {
color: #336699;
}

nav .m-menu ul li a:active,
nav .m-menu ul li label:active {
  color: whitesmoke;
}

nav .m-menu ul li label.a-label__chevron::after {
  content: "";
  position: absolute;
  display: inline-block;
  height: 10px;
  width: 10px;
  border-color: grey;
  border-style: solid;
  border-width: 1px 1px 0 0;
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  margin-top: -5px;
  right: 16px;
}

nav .m-menu ul li .-invisible {
  border-bottom: 0;
}

nav .m-menu .m-menu label.m-menu__toggle {
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  border-bottom: 0;
  padding: 0;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

nav .m-menu__checkbox:checked~.m-menu__overlay {
  display: block;
}

nav .m-menu__checkbox:checked~.m-menu {
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mwrapper {
  margin: 0 auto;
  /* overflow: hidden; */
  background-color: grey;
  position: relative;
}

/* body {
  background-color: #f1f1f1;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
} */

