#slider {
  margin: 0 auto;
}
#slider input {
  display: none;
}
#slide1:checked ~ #slides .inner {
  margin-left: 0;
}
#slide2:checked ~ #slides .inner {
  margin-left: -100%;
}
#slide3:checked ~ #slides .inner {
  margin-left: -200%;
}
#slide4:checked ~ #slides .inner {
  margin-left: -300%;
}
#slide5:checked ~ #slides .inner {
  margin-left: -400%;
}
#container {
  width: 100%;
  overflow: hidden;
}
.article img {
  width: 100%;
}
#slides .inner {
  width: 500%;
  line-height: 0;
}
#slides .article {
  width: 20%;
  float: left;
}
#commands {
  margin: -20% 0 0 0;
  width: 100%;
  height: 50px;
}
#commands label {
  display: none;
  width: 60px;
  height: 60px;
  opacity: 1;
}
#commands label:hover {
  opacity: 0.8;
}
#active {
  position: relative;
  z-index: 5;
  margin: 16% 0 0;
  text-align: center;
}
#active label {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #bbb;
}
#active label:hover {
  background: #333;
  border-color: #777 !important;
}
#slider svg {
  width: 60px !important;
  height: 60px !important;
}
#slide1:checked ~ #commands label:nth-child(2),
#slide2:checked ~ #commands label:nth-child(3),
#slide3:checked ~ #commands label:nth-child(4),
#slide4:checked ~ #commands label:nth-child(5),
#slide5:checked ~ #commands label:nth-child(1) {
  float: right;
  margin: 20px 12px 0 0;
  display: block;
  background-size: contain;
  cursor: pointer;
}
#slide1:checked ~ #commands label:nth-child(5),
#slide2:checked ~ #commands label:nth-child(1),
#slide3:checked ~ #commands label:nth-child(2),
#slide4:checked ~ #commands label:nth-child(3),
#slide5:checked ~ #commands label:nth-child(4) {
  float: left;
  margin: 20px 0 0 12px;
  display: block;
  background-size: contain;
  cursor: pointer;
}
#slide1:checked ~ #active label:nth-child(1),
#slide2:checked ~ #active label:nth-child(2),
#slide3:checked ~ #active label:nth-child(3),
#slide4:checked ~ #active label:nth-child(4),
#slide5:checked ~ #active label:nth-child(5) {
  background: #000;
  opacity: 0.6;
  border-color: #fff !important;
  border: 2px solid #fff;
}
#slide1:checked ~ #commands label:nth-child(2) svg:nth-child(2) {
  display: none;
}
#slide3:checked ~ #commands label:nth-child(2) svg:nth-child(1) {
  display: none;
}
.caption-slider {
  line-height: 20px;
  margin: 0 0 -150%;
  position: absolute;
  padding-left: calc(50vw - 300px);
  padding-top: 200px;
  opacity: 0;
  color: #fff;
  text-transform: none;
  text-align: left;
  font-size: 18px;
}
.caption-slider .bar {
  font-size: 45px;
  line-height: 55px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  padding: 30px 30px 35px 30px;
  background: rgb(0 0 0 / 30%);
  border-radius: 6px;
  opacity: 1;
}
.caption-slider .bar h1 {
  padding: 0;
  margin: 0;
}
.article:nth-child(1) .caption-slider {
  padding-left: calc(50vw - 540px);
  padding-top: 170px;
}
#slides {
  position: relative;
  padding: 0;
  border: 0;
  margin: 0;
  background: #fff;
  background: -webkit-linear-gradient(#fff, #fff 20%, #eee 80%, #ddd);
  background: -moz-linear-gradient(#fff, #fff 20%, #eee 80%, #ddd);
  background: -ms-linear-gradient(#fff, #fff 20%, #eee 80%, #ddd);
  background: -o-linear-gradient(#fff, #fff 20%, #eee 80%, #ddd);
  background: linear-gradient(#fff, #fff 20%, #eee 80%, #ddd);
  -webkit-border-radius: 0px 0px 0px 0px;
  -moz-border-radius: 0px 0px 0px 0px;
  border-radius: 0px 0px 0px 0px;
}
#slides .inner {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -ms-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -o-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -webkit-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
  -ms-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
  -o-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
  transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}
#slider {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
#commands label {
  -webkit-transform: translateZ(0);
  -webkit-transition: opacity 0.2s ease-out;
  -moz-transition: opacity 0.2s ease-out;
  -o-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
}
#slide1:checked ~ #slides .article:nth-child(1) .caption-slider,
#slide2:checked ~ #slides .article:nth-child(2) .caption-slider,
#slide3:checked ~ #slides .article:nth-child(3) .caption-slider,
#slide4:checked ~ #slides .article:nth-child(4) .caption-slider,
#slide5:checked ~ #slides .article:nth-child(5) .caption-slider {
  opacity: 1;
  -webkit-transition: all 1s ease-out 0.6s;
  -moz-transition: all 1s ease-out 0.6s;
  -o-transition: all 1s ease-out 0.6s;
  transition: all 1s ease-out 0.6s;
}
#commands,
#commands label,
#slides,
#active,
#active label {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
#slider {
  max-width: 100%;
  height: 600px;
}
.moduletable_banner .custom_banner.has-image1 {
  position: relative;
}
.moduletable_banner p {
  padding: 0px;
  margin: 0px 0px 1px 0px;
  line-height: 0.9em;
}
.moduletable_banner h1,
.moduletable_banner h2,
.moduletable_banner h3,
.moduletable_banner h4 {
  margin: 0px 0px 10px 0px;
}
.moduletable_banner .custom_banner.has-image1 .con_style1 {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding: 55px 35px;
  -moz-transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  -ms-transition-duration: 0.4s;
  transition-duration: 0.4s;
  -webkit-transition-property: all;
  -ms-transition-property: all;
  -o-transition-property: all;
  -moz-transition-property: all;
  transition-property: all;
}
.moduletable_banner .con_style1 {
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
}
.con_style1 {
  float: left;
}
.moduletable_banner .con_style1 a {
  color: #ffffff !important;
}
.moduletable_banner .con_style1 a {
  text-decoration: none !important;
}
.moduletable_banner .con_style1:hover {
  background-color: rgba(0, 0, 0, 0.65);
  color: #ffffff;
}

.container-fluid .trk.main-hello {
  padding: 20px 0 !important;
}
.main-hello h2 {
  text-align: center;
}
.main-hello ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}
.main-hello ul li:nth-child(1) {
  width: 200px;
}
.main-hello ul li:nth-child(2) {
  width: 225px;
}
.main-hello ul li:nth-child(3) {
  width: 215px;
}
.main-hello ul li:nth-child(4) {
  width: 220px;
}
.main-hello ul li:nth-child(5) {
  width: 250px;
}
.main-hello ul li:nth-child(6) {
  width: 260px;
}
.main-hello ul li:nth-child(7) {
  width: 280px;
}
.main-hello blockquote {
  background: #f3f3f3;
  padding: 20px;
  text-align: center;
  font-style: italic;
  border-radius: 10px;
}
.main-hello blockquote + p {
  text-align: center;
}
@media (min-width: 768px) {
  .common-home .container-fluid .row #content .row {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .main-hello ul li {
    margin: 5px 10px;
    padding: 5px;
    background: #f3f3f3;
    text-align: center;
    border-radius: 10px;
  }
}
@media (min-width: 1025px) and (max-width: 1500px) {
  .common-home .container-fluid .row #content .row {
    width: 95%;
  }
  #slider {
    height: 400px;
  }
  .caption-slider {
    padding-left: calc(50vw - 340px);
    padding-top: 110px;
  }
  #commands {
    height: 30px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .common-home .container-fluid .row #content .row {
    width: 95%;
  }
  .common-home .product-layout {
    width: 31%;
  }
  .common-home .container {
    width: 100%;
  }
  #slider {
    height: 280px;
  }
  .caption-slider {
    padding-left: calc(50vw - 340px);
    padding-top: 70px;
  }
  #commands {
    height: 10px;
  }
  .caption-slider .bar {
    font-size: 35px;
    line-height: 40px;
    padding: 15px 25px 20px 25px;
  }
}
@media (max-width: 667px) {
  #content {
    padding: 0;
  }
  .common-home .product-layout {
    width: 100%;
  }
  #slider #commands {
    margin: -150px 0 0 0%;
    width: 100%;
    height: 70px;
  }
  #slider #active {
    margin: 16%;
    display: flex;
    justify-content: center;
  }
  #slider #active label {
    margin: 0 2px;
  }
  #slider #slides {
    padding: 0px 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
  #slider #commands label {
    -moz-transform: scale(0.7);
    -webkit-transform: scale(0.7);
    -o-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
  }
  #slider {
    height: 255px;
  }
  #content.col-sm-12 > div + h3 + .row {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
  }
  .trk .moduletable_banner img {
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
    display: block;
  }
  .moduletable_banner .custom_banner.has-image1 .con_style1 {
    max-width: 380px;
    margin: 0 auto;
  }
  .caption-slider .bar {
    padding: 50px 30px 35px 30px;
    margin-top: -1px;
    border-radius: 0px;
  }
  .article:nth-child(2) .caption-slider .bar,
  .article:nth-child(3) .caption-slider .bar {
    padding: 100px 30px 35px 30px;
  }
  .caption-slider {
    position: absolute;
    z-index: 1000000 !important;
    font-size: 16px !important;
    height: 100vh !important;
    width: 100vw !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    margin: 0 !important;
  }
  .caption-slider .bar h1 {
    font-size: 16px;
    line-height: 20px;
  }
  .caption-slider .bar {
    font-size: 16px;
    line-height: 20px;
    height: 100%;
    width: 100%;
  }
  #slide1:checked ~ #commands label:nth-child(2),
  #slide2:checked ~ #commands label:nth-child(3),
  #slide3:checked ~ #commands label:nth-child(4),
  #slide4:checked ~ #commands label:nth-child(5),
  #slide5:checked ~ #commands label:nth-child(1) {
    margin: 70px 12px 0 0;
  }
  #slide1:checked ~ #commands label:nth-child(5),
  #slide2:checked ~ #commands label:nth-child(1),
  #slide3:checked ~ #commands label:nth-child(2),
  #slide4:checked ~ #commands label:nth-child(3),
  #slide5:checked ~ #commands label:nth-child(4) {
    margin: 70px 0 0 12px;
  }
  .container-fluid .trk.main-hello {
    padding: 0px 0 !important;
  }
  .main-hello h2 {
    line-height: 30px;
  }
  .main-hello ul {
    list-style: none;
    padding: 0;
  }
  .main-hello ul li {
    width: 100% !important;
    text-align: center !important;
    font-weight: 600;
    line-height: 24px;
  }
  .main-hello blockquote {
    margin: 0;
  }
  .main-hello blockquote + p {
    margin-bottom: 5px;
  }
  .moduletable_banner .custom_banner.has-image1 {
    margin-bottom: 10px;
  }
}
