html {
  scroll-behavior: smooth;
}

body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;}
body, html {
  height: 100%;
  color: #4d4d4d;
  line-height: 1.8;
}

/* Static Parallax Effect */
.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4 {
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.bgimg-1 {
  background-image: url('/images/topbanner.webp');
  height: 100vh;
}
.bgimg-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), url('/images/topbannerczv.webp');
  height: 100vh;
}
.bgimg-3 {
  background-image: url("/images/kids_camp.webp");
  min-height: 100vh;
}
.bgimg-4 {
  background-image: url("/images/2024-trening-wide.webp");
  min-height: 100vh;
}

.w3-wide {letter-spacing: 10px;}
.w3-hover-opacity {cursor: pointer;}
.w3-modal {padding-top: 10vh !important;}
.w3-table td {vertical-align: middle;}

.redbg {background-color: red;}
.whitetext {color: white;}
.callToCamp {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), url('/images/flag.webp');
  background-position: top;
  background-attachment: fixed;
  background-size: cover;
  color: white;
}
.registerform {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)), url('/images/kids_camp.webp');
  background-position: left;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}
.innershadow {
  -webkit-box-shadow: inset 0px 0px 20px 5px rgba(0,0,0,0.5);
  -moz-box-shadow: inset 0px 0px 20px 5px rgba(0,0,0,0.5);
  box-shadow: inset 0px 0px 20px 5px rgba(0,0,0,0.5);
}
.contactl {margin: 0 0 0 0;}
.contact0 {padding: 0; margin: 0;}
.minmain {
  min-height: 100vh;
}
.minmainmax {
  min-height: 130vh;
}
.show {
  display: block;
}
.hide {
  display: none;
}

.messagePage {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-shadow {
  box-shadow: inset rgba(255, 0, 0, 0.5) 0px 0px 40px 0px, rgba(255, 0, 0, 0.3) 0px 30px 100px -24px;
}

.custombg1 {
  color: red;
  font-size: large;
  text-shadow: white 0 0 1px, white 0 0 1px, white 0 0 1px, white 0 0 1px, white 0 0 1px, white 0 0 2px, white 0 0 2px, white 0 0 2px, white 0 0 3px, white 0 0 3px, white 0 0 5px, white 0 0 10px;
  background-image: url('/images/stripebg.jpg');
  background-position: center;
}

@media only screen and (max-device-width: 1000px) {
  .bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: scroll;
    min-height: 400px;
  }
}

/* TIMELINE */
/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: rgba(255, 0, 0, 0);
  border-top: 5px solid red;
  border-radius: 10px 10px 10px 10px;
  padding: 35px 0 25px 0;
}
/* Vertical ruler */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: rgb(255,0,0);
  background: -moz-linear-gradient(180deg, rgba(251,0,0,1) 0%, rgba(255,0,0,1) 55%, rgba(252,70,70,0) 65%);
  background: -webkit-linear-gradient(180deg, rgba(251,0,0,1) 0%, rgba(255,0,0,1) 55%, rgba(252,70,70,0) 65%);
  background: linear-gradient(180deg, rgba(251,0,0,1) 0%, rgba(255,0,0,1) 55%, rgba(252,70,70,0) 65%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fb3f3f",endColorstr="#fc4646",GradientType=1);
  background-position: center;
  background-attachment: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}
/* Content container  */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
/* Circles */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: white;
  border: 4px solid #ff0000cd;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}
/* Container to the left */
.left {
  left: 0;
  text-align: center;
}
/* Container to the right */
.right {
  left: 50%;
  text-align: center;
}
/* Pointing right */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid red;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent red;
}
/* Pointing left */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid red;
  border-width: 10px 10px 10px 0;
  border-color: transparent red transparent transparent;
}
/* Fix the circle for containers on the right side */
.right::after {
  left: -13px;
}
/* Content */
.content {
  padding: 20px 30px;
  background-color: rgba(255, 0, 0, 0.95);
  position: relative;
  border-radius: 6px;
  color: white;
  box-shadow: 2px 2px 12px grey;
}
/* Responsive adjustments */
@media screen and (max-width: 800px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }
  /* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  /* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid red;
    border-width: 10px 10px 10px 0;
    border-color: transparent red transparent transparent;
  }
  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 18px;
  }
  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

/* TOGGLE SWITCH */
div.btn-container{
  vertical-align: middle;
  text-align: center;
}
.btn-color-mode-switch{
  display: inline-block;
  margin: 0px;
  position: relative;
}
.btn-color-mode-switch > label.btn-color-mode-switch-inner{
  margin: 0px;
  width: 160px;
  height: 30px;
  background: #E0E0E0;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;
  display: block;
}
.btn-color-mode-switch > label.btn-color-mode-switch-inner:before{
  content: attr(data-on);
  position: absolute;
  font-size: 12px;
  font-weight: 500;
  top: 5px;
  right: 20px;

}
.btn-color-mode-switch > label.btn-color-mode-switch-inner:after{
  content: attr(data-off);
  width: 80px;
  height: 26px;
  background: #fff;
  border-radius: 26px;
  position: absolute;
  left: 2px;
  top: 2px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 6px -2px #111;
  padding: 0px;
}
.btn-color-mode-switch > .alert{
  display: none;
  background: #FF9800;
  border: none;
  color: #fff;
}
.btn-color-mode-switch input[type="checkbox"]{
  cursor: pointer;
  width: 60px;
  height: 25px;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 1;
  margin: 0px;
}
.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner{
  background: #151515;
  color: #fff;
  box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 0.5) inset;
}
.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:after{
  content: attr(data-on);
  left: 78px;
  background: #3c3c3c;
  box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 0.34) inset;
}
.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:before{
  content: attr(data-off);
  right: auto;
  left: 30px;
}
.btn-color-mode-switch input[type="checkbox"]:checked ~ .alert{
  display: block;
}