#block-block-13 .mySlides {display: none}

/* Slideshow container */
#block-block-13 .slideshow-container {
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
#block-block-13  .prev,#block-block-13  .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
#block-block-13  .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
#block-block-13 .prev {
  left: 0;
  border-radius: 0px 3px 3px 0px;
}

/* On hover, add a black background color with a little bit see-through */
#block-block-13  .prev:hover,#block-block-13 .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
#block-block-13  .text {
  color: #fff;
  position: absolute;
  bottom: 30px;
  right: 50px;
  width: 40%;
  text-align: right;
  padding: 15px;
  background: url("../images/bg-gray-70.png") repeat;
}

#block-block-13  .text p{
  padding: 10px;
  color: #fff;
}
#block-block-13  .text a{color: yellow;}
#block-block-13  .text a:hover{color: #ef4b28;}
#block-block-13  .text h4 a,#block-block-13  .text h4{color: orange;}
#block-block-13  .text ul li{
  margin-right: 20px;
  font-size: 0.9em;
  color: yellow ;
}

/* Number text (1/3 etc) */
#block-block-13  .numbertext {
  color: #999;
  font-size: 0.9em;
  padding: 8px 12px;
  position: absolute;
  top: 25px;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

#block-block-13  .active,#block-block-13  .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 750px) {
      #block-block-13 .text {
      position: relative;
      right: 0px;
      top: 0px;
      width: 100%;
      padding: 10px;
      font-size: 0.85em;
    }
    #block-block-13  .prev,#block-block-13  .next {
      position: absolute;
      top: 25%;
      padding: 10px;
      font-weight: bold;
      font-size: 13px;
    }
}
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


/* block-block-14 */
#block-block-14 {
    clear: both;
    margin: 60px 0 35px 0;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
    padding: 10px 0;
}

#block-block-14 h2 a{
    color: #fff;
    background: red;
    border-radius: 3px;
    padding: 10px 15px;
}
#block-block-14 h2 a:hover{
    color: #000;
    background: orange;
}

/*-------product---------*/
#front-product .view-content{
display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
#front-product h2{text-align: center; margin: 15px 0;}
#front-product h3{font-size: 1em;}
#front-product .views-field-field-gallery {text-align: center; border: 1px solid #efefef; border-radius: 10px;}
#front-product .views-field-field-gallery:hover {opacity: 0.8; border: 1px solid #c6c6c6;}
#front-product .views-field-title{margin-top: 5px;text-align: center; border: 1px solid #efefef; border-radius: 10px; padding: 10px 0 5px 0;}
#front-product .views-field-field-price { margin-top: 5px;}
#front-product ul{ list-style-type: none !important;text-align: center;margin: 0 auto;}
#front-product ul li a{color: #222; padding: 7px 20px;background: #ddd;border-radius: 5px; text-align: center;}
#front-product ul li a:hover{color: #fff;background: #3366ff;}

#front-about{
    width: 100%;
    height: auto;
    min-height: 250px;
    margin-top: 20px;
    background: #fff url("../images/bg-about.jpg") no-repeat top;
    background-size: auto;
    background-size: cover;
    clear: both;
    padding: 30px 0;
}
#block-block-5 h2{
    margin-bottom: 15px;
}
#block-block-5 img{
    margin-right: 20px;
    border-radius: 5px;
}

#front-news {
    clear: both;
    width: 100%;
    margin: 30px 0;
}
#front-news h2{text-align: center;}
.swiper-button-prev{
    /*right: -80px !important;*/
    display: none;
}
.swiper-button-next{
    /*left: -80px !important;*/
    display: none;
}

.view-news-front .views-field-field-image img{
    border-radius: 5px;
    transition: transform .5s;
    border: 2px solid #fff;
}
.view-news-front .views-field-field-image img:hover{
    opacity: 0.8;
}
.view-news-front .views-field-title {
    text-align: justify;
    min-height: 4em;
}
.view-news-front .views-field-title h3{
    font-size: 0.85em;
    min-height: 4em;
}
.view-news-front .views-field-body{
    text-align: justify;
    font-size: 0.7em;
}
.view-news-front .swiper-pagination-bullet {
  width: 15px !important;
  height: 15px !important;
  margin: 2px;
}
.view-news-front .views-field-created,.view-news-front .views-field-changed {font: normal 0.75em Byekan;float: left;text-align: left;color: #999;margin-top: 5px;}


#front-contact{
    width: 100%;
    height: auto;
    margin-top: 20px;
    clear: both;
    padding: 30px 0;
}
#block-block-7 {margin-top: -15px;}
#block-block-7 .content{margin: 0 auto;text-align: center;}
#block-block-7  .frtcnt{
    display: inline;
    margin-right: 10px;
    border: 1px solid #3568ff;
    border-radius: 30px;
    padding: 7px 50px 7px 10px;
    font: normal 1em Byekan;
}
#block-block-7 #address{ background: url('../images/icon-address.png') right center no-repeat; }
#block-block-7 #tel{ background: url('../images/icon-tel.png') right center no-repeat; }
#block-block-7 #cell{ background: url('../images/icon-cell.png') right center no-repeat; }

@media screen and (max-width: 640px) {
    h2{font-size: 1em;}
    #front-product .view-content{
      padding: 20px;
      grid-template-columns: repeat(1, 1fr);
      margin-bottom: 20px;
    }
    #front-product .views-field-field-gallery {text-align: center; border: 1px solid #999; border-radius: 10px;}
    #front-product .views-field-field-gallery:hover {opacity: 0.8; border: 1px solid #555;}
    #front-product .views-field-title{
        margin-top: 0px;
        margin-bottom: 20px;
        border: 1px solid #999; border-radius: 10px;
    }
    #front-about,#front-news{padding: 10px;}
    #front-about p {clear: both;width: 100%;}
    #front-about img{clear: both;width: 100%;margin-bottom: 10px;}
    #front-about h2 {margin-top: 10px;clear: both;width: 100%;}
    #block-block-7 #tel,#block-block-7 #cell,#block-block-7 #address{width: 98%;clear: both;display: block;}
    #block-block-7 .frtcnt {
      display: block;
      margin: 10px 0.5%;
      padding: 7px 40px 7px 10px;
    }
    .swiper-button-prev, .swiper-container-rtl .swiper-button-next{display: none;}

}
