/* style.css*/

body,h1,h2,h3,h4,h5 {
  text-align: center;
  margin: 5px 5px 5px 5px;
  padding: 5px 5px 5px 5px;
  color: #003366; 
  font-family: "Calibri", sans-serif;
  }

/* Header/logo Title */
.contact {
  position: fixed;
  top: 0px;
  z-index: 1000;
  width: 100%;
  height: 30px;
  text-align: center;
  background-color: white;
  color: #003366;
  font-size: 15px; 
}

.logo {
  /*float: left;*/
  height: 20px;
  width: 30px;
  float: left;
  vertical-align: midle;
}
  
  nav {
    position: fixed;
    background-color: white;
    color: #003366;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 10px;
    width: 100%;
    top: 30px;
    z-index: 1000;
  }
  
/*.logo {
    font-size: 1.5rem;
  }
*/  
  ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
  
  ul li {
    margin-left: 20px;
  }
  
  ul li a {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.5s;
  }
  
  ul li a:hover {
    color: #cc0000;
    font-size: 20px;
    font-weight: bold;
  }
  
  .checkbtn {
    font-size: 30px;
    color: #003366;
    cursor: pointer;
    display: none;
  }
  
  #check {
    display: none;
  }
  
  @media (max-width: 1080px) {
    .checkbtn {
      display: block;
      order: 1;
      margin-right: 20px;
    }
  
    ul {
      position: fixed;
      top: 80px;
      right: -100%;
      background-color: #aaa;
      opacity: 0.8;
      width: 100%;
   /* height: 100vh; */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      transition: all 0.9s;      
    }
  
    ul li {
      margin: 5px 20px;
    }
  
    ul li a {
      font-size: 15px;
      color: #cc0000;
      font-weight: bold;
    }
   
    ul li a:hover {
    color: #003366;
    font-size: 20px;
    font-weight: bold;
    }
  
    #check:checked ~ ul {
      right: 0px;
      display: block;
      text-align: center;
    }
  }
  
/* Slideshow */
#slideset_1, #slideset_2, #slideset_3 {width: calc(100% - 20px); margin: 10px 10px; padding-top: 56.25%; border-radius: 5px; overflow: hidden; position: relative; z-index: 1;}


#slideset_1 > div {visibility: hidden; animation: autoplay1 60s infinite; position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: cover;}
#slideset_2 > div {visibility: hidden; animation: autoplay1 64s infinite; position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: cover;}
#slideset_3 > div {visibility: hidden; animation: autoplay1 64s infinite; position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: cover;}

#slideset_1 img, #slideset_2 img, #slideset_3 img {width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit;}

#slideset_1 h1, #slideset_2 h1, #slideset_3 h1 {position: absolute; top: 10px; left: 10px; font-size: 15px; margin: 0; padding: 0;}
  
@keyframes autoplay1 {
  0% {visibility: visible; z-index: 1;}
  33.33% {visibility: hidden; z-index: 0;}
} 

@keyframes autoplay2 {
  0% {opacity: 0; z-index: 0;}
  1.5% {opacity: 1; z-index: 1;}
  98.5 {opacity: 1; z-index: 1;}
  100% {opacity: 0; z-index: 0;} 
}

@keyframes autoplay3 {
  0% {opacity: 0; z-index: 0;}
  2% {opacity: 1; z-index: 1;}
  98 {opacity: 1; z-index: 1;}
  100% {opacity: 0; z-index: 0;} 
}

#slideset_1 > *:nth-child(1) {animation-delay: 0s}
#slideset_1 > *:nth-child(2) {animation-delay: 4s}
#slideset_1 > *:nth-child(3) {animation-delay: 8s}
#slideset_1 > *:nth-child(4) {animation-delay: 12s}
#slideset_1 > *:nth-child(5) {animation-delay: 16s}
#slideset_1 > *:nth-child(6) {animation-delay: 20s}
#slideset_1 > *:nth-child(7) {animation-delay: 24s}
#slideset_1 > *:nth-child(8) {animation-delay: 28s}
#slideset_1 > *:nth-child(9) {animation-delay: 32s}
#slideset_1 > *:nth-child(10) {animation-delay: 36s}
#slideset_1 > *:nth-child(11) {animation-delay: 40s}
#slideset_1 > *:nth-child(12) {animation-delay: 44s}
#slideset_1 > *:nth-child(13) {animation-delay: 48s}
#slideset_1 > *:nth-child(14) {animation-delay: 52s}
#slideset_1 > *:nth-child(15) {animation-delay: 56s}

#slideset_2 > *:nth-child(1) {animation-delay: 0s}
#slideset_2 > *:nth-child(2) {animation-delay: 4s}
#slideset_2 > *:nth-child(3) {animation-delay: 8s}
#slideset_2 > *:nth-child(4) {animation-delay: 12s}
#slideset_2 > *:nth-child(5) {animation-delay: 16s}
#slideset_2 > *:nth-child(6) {animation-delay: 20s}
#slideset_2 > *:nth-child(7) {animation-delay: 24s}
#slideset_2 > *:nth-child(8) {animation-delay: 28s}
#slideset_2 > *:nth-child(9) {animation-delay: 32s}
#slideset_2 > *:nth-child(10) {animation-delay: 36s}
#slideset_2 > *:nth-child(11) {animation-delay: 40s}
#slideset_2 > *:nth-child(12) {animation-delay: 44s}
#slideset_2 > *:nth-child(13) {animation-delay: 48s}
#slideset_2 > *:nth-child(14) {animation-delay: 52s}
#slideset_2 > *:nth-child(15) {animation-delay: 56s}
#slideset_2 > *:nth-child(16) {animation-delay: 60s}

#slideset_3 > *:nth-child(1) {animation-delay: 0s}
#slideset_3 > *:nth-child(2) {animation-delay: 4s}
#slideset_3 > *:nth-child(3) {animation-delay: 8s}
#slideset_3 > *:nth-child(4) {animation-delay: 12s}
#slideset_3 > *:nth-child(5) {animation-delay: 16s}
#slideset_3 > *:nth-child(6) {animation-delay: 20s}
#slideset_3 > *:nth-child(7) {animation-delay: 24s}
#slideset_3 > *:nth-child(8) {animation-delay: 28s}
#slideset_3 > *:nth-child(9) {animation-delay: 32s}
#slideset_3 > *:nth-child(10) {animation-delay: 36s}
#slideset_3 > *:nth-child(11) {animation-delay: 40s}
#slideset_3 > *:nth-child(12) {animation-delay: 44s}
#slideset_3 > *:nth-child(13) {animation-delay: 48s}
#slideset_3 > *:nth-child(14) {animation-delay: 52s}
#slideset_3 > *:nth-child(15) {animation-delay: 56s}
#slideset_3 > *:nth-child(16) {animation-delay: 60s}

#pause1, #pause2, #pause3 {display: none}

#pause1 ~ * [for=pause1] .paused, #pause2 ~ * [for=pause2] .paused, #pause3 ~ * [for=pause3] .paused {display: none}
#pause1 ~ * [for=pause1] .running, #pause2 ~ * [for=pause2] .running, #pause3 ~ * [for=pause3] .running {display: inline}

#pause1:checked ~ * [for=pause1] .paused, #pause2:checked ~ * [for=pause2] .paused, #pause3:checked ~ * [for=pause3] .paused {display: inline}
#pause1:checked ~ * [for=pause1] .running, #pause2:checked ~ * [for=pause2] .running, #pause3:checked ~ * [for=pause3] .running {display: none}

#pause1:checked ~ #slideset_1 > div, #pause2:checked ~ #slideset_2 > div, #pause3:checked ~ #slideset_3 > div {animation-play-state: paused}

/*
#slideshow {
  text-align: center;
  overflow: hidden;
  width: 728px;
  height: 410;
  margin: 0 auto;
}

.slide-wrapper {
  width: 2912px;
  -webkit-animation: slide 32s ease infinite;
}

.slide {
  width: 728px;
  height: 410;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.slide:nth-child(1) {
  background-image: url("i3SIXTY2_1.jpeg")";
}

.slide:nth-child(2) {
  background-image: url("i3SIXTY2_2.jpeg");
}

.slide:nth-child(3) {
  background-image: url("i3SIXTY2_3.jpeg");
}

.slide:nth-child(4) {
  background-image: url("i3SIXTY2_4.jpeg");
}

.slide-number {
  color: #000;
  text-align: center;
  font-size: 10em;
}

@-webkit-keyframes slide {
  20% {margin-left: 0px;}
  30% {margin-left: -728px;}
  50% {margin-left: -728px;}
  60% {margin-left: -1456px;}
  70% {margin-left: -1456px;}
  80% {margin-left: -2184px;}
  90% {margin-left: -2184px;}
}
*/




/* ----------------------------------------------------- */

.content {
  backface-visibility: hidden;
  overflow: hidden;
}
.content > div {
  display: none;
  padding: 5px 5px 5px 5px;
}
input {
  display: none;
}
label {
  display: inline-block;
  background: #f2f2f2;
  color: #003366;
  width: 120px;
  height: auto;
  padding: 1px 15px 1px 15px; 
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: all .3s ease-out 0.1s;
}
label:hover {
  color: #cc0000;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
input:checked + label {
  background: #ccOOOO;
  color: #cc0000;
  opacity: 0.7;
  border-bottom: 2px solid;
}

#tab-1:checked ~ .content #content-1,
#tab-2:checked ~ .content #content-2,
#tab-3:checked ~ .content #content-3,
#tab-4:checked ~ .content #content-4 {
  display: block;
  animation-name: inUp;
  animation-timing-function: ease-in-out;
  animation-duration: .6s;
}

@media screen and (max-width: 400px) { label {padding: 5px 5px;} }

@keyframes inUp {
  0%{
    opacity: 0;
    transform: translateY(100px)
  }
    90%{
    transform: translateY(-10px)
  }
  100% {
    opacity: 1;
    transform: translateY(0)
  }
}









/* Scrolling to position */
#home {
      scroll-margin-top: 80px;
      padding-top: 90px
  }
#products {
      scroll-margin-top: 80px;
      padding-top: 90px
  }
#services {
      scroll-margin-top: 80px;
      padding-top: 90px
  }
#address {
      scroll-margin-top: 80px;
      padding-top: 90px
  }
  
/* Style the container section */
.container {
  display: block;
  border-radius: 5px;
  background-color: #f2f2f2;
  margin: 5px 5px 5px 5px;
  padding: 5px 5px 5px 5px;
}
.flex-container {
  display: flex;
  justify-content: space-between;
}
.flex-container > div {
  width: 100%;
  margin: 5px 5px 5px 5px;
  padding: 5px 5px 5px 5px;
  text-align: center;
}
/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 1080px) {
  .flex-container {
    flex-direction: column;
  }
}

/* Style the footer section */
.footer {
  display: block;
  width: 100%;
  height: 30px;
  color: #CC0000;
  background-color: white;
  font-size: 15px;
  text-align: center;
}