
/* ----------------------------------------- */
/* --------------- SlideShow --------------- */

.slideshow-container {
  border:3px solid #fc8803;
  width:95%;
  height:400px;
  position: relative;
  display: block;
  align-items: center;/*Put element in center*/
  margin:0 auto;
  margin-bottom: 1%;
}

.slide{
  display: flex;
  flex-direction: row;
  background-color: #fc8803;
}
.slide > div{
  width:100%;
  margin:0;
  font-size: 18px;
}
.slide .imageContainer{
  width:65%;
  height:400px;
  position: relative;
  background-color: #fc8803;
}
.slide .imageContainer img{
  width:100%;
  height:400px;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 2em;
  transition: 0.6s ease;
  user-select: none;
}

.next {
      right:0; 
      border-radius: 0 40% 40% 0; 
}
.prev{
  border-radius:40% 0 0 40% ; 
}


/* Caption text */
.slide .text {
  text-align: justify;
  background-color: #fc8803;
  width:35%;
  height:400px;
  color:black;
  font-size: 1em;
  vertical-align: text-bottom;
  position: relative;
  display: inline-block;
  margin:0;
  padding:0;
}
.slide .text h1{
  text-align: center;
  font-size: 1.7em;
  color:white;
  line-height: 1.5em;
  box-sizing: border-box;
  word-wrap: normal;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  position: relative;
  padding-right:3%;
  padding-left:3%;
  top: 30%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.slide .text h2{
  text-align: center;
  box-sizing: border-box;
  position: absolute;
  font-size: 1.3em;
  bottom:13%;
  padding-right:3%;
  padding-left:3%;
  right:0;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color:white;
  word-wrap: normal;
}

@media screen and (max-width:700px) {
    /* Caption text */
  .slide{
    display: flex;
    flex-direction: row;
    word-wrap: break-word;
  }
  .slide .imageContainer{
    width:100%;
    height:400px;
    border-radius:0;
  }
  .slide .imageContainer img{
    border-radius:0;
    vertical-align: middle;
    height:400px;
    width:100%;
  }
  .slide .text{
    position: absolute;
    height:150px;
    width:100%;
    align-self: flex-end;
    background-color: transparent;
    word-break: break-all;
    bottom:0;
    justify-content:center;
    align-items: center;
  }
  .slide .text h1{
    display: none;
    font-size: 1em;
  }

  .slide .text h2{
    text-align: center;
    box-sizing: border-box;
    position: absolute;
    bottom:13%;
    padding-right:3%;
    padding-left:3%;
    right:0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color:white;
    word-wrap: normal;
  }

}


/* --------------- SlideShow --------------- */
/* ----------------------------------------- */


/*-- ------------------------------------------- --*/
/*-- ----------- Home First Section ----------- --*/
.news-container{
  width:95%;
  margin:auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  align-items: space-around;
}
.news-container .news-card {
  width: 29%;
  height:auto;
  position: relative;
  margin: 0 auto;
  background:hsla(0, 0%, 58%, 0.86);
  margin:2%;
  box-sizing: border-box;
  border:5px solid hsla(0, 0%, 98%, 0.97);
}
.news-container .news-card .news-tumb {
  width:100%;
  height: 200px;
  margin:auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border:none;
}

.news-container .news-card:hover{
  background: hsla(0, 0%, 58%, 0.86);
  border:5px solid hsla(0, 0%, 58%, 0.86);
}
.news-container .news-card .news-tumb a{
  width:100%;
  height: 200px;
  margin:auto;
  display: flex;
  align-content: center;
  justify-content: center;
  background: white;
}
.news-container .news-card .news-tumb img {
  display: block;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
  object-fit:cover;
}

.news-container .news-card .news-details p a {
  display: block;
  color:white;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}

.news-container .news-card .news-details p a:hover {
color: white;
border:none;
}

@media screen and (max-width: 1080px) {
  .news-container{
      margin:auto;
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      box-sizing: border-box;
      align-content: space-around;
      justify-content: center;
    }
    
  .news-container .news-card{
        box-sizing: border-box;
        width:30%;
        height:auto;
        margin:1%;
        text-align: center;
  }
}
@media screen and (max-width: 870px) {
  .news-container{
    flex-direction: row;
      margin:auto;
      display: flex;
      flex-wrap: wrap;
      box-sizing: border-box;
      align-content: space-around;
      justify-content: center;
    }
    
  .news-container .news-card{
        box-sizing: border-box;
        width:40%;
        height:auto;
        margin:1%;
        text-align: center;
  }

}
@media screen and (max-width: 1080px) {
  .news-container{
      margin:auto;
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      box-sizing: border-box;
      align-content: space-around;
      justify-content: center;
    }
    
  .news-container .news-card{
        box-sizing: border-box;
        width:50%;
        height:auto;
        margin:1%;
        text-align: center;
  }

}
@media screen and  (max-width: 460px) {
  .news-container{
      margin:auto;
      display: flex;
      flex-wrap: wrap;
      box-sizing: border-box;
      align-content: space-around;
      justify-content: center;
    }
    
  .news-container .news-card{
      box-sizing: border-box;
      width:80%;
      margin:2%;
      text-align: center;
    }
}
@media screen and  (max-width: 220px) {
  .news-container{
      display: none;
    }
}


/*-- ------------------------------------------- --*/
/*-- ----------- Home First Section ----------- --*/


/*-- ------------------------------------------- --*/
/*-- ----------- Home Second Section ----------- --*/
.hr {
  width:95%;
  margin:auto;
  align-items: center;
  display: flex;
  text-align: center;
  color:white;
  margin-top:3%;
  text-transform: uppercase;
}

.hr::before,
.hr::after {
  border-top: .0625em solid darkgray;
  content: "";
  flex: 1;
  margin: 0 .6em;
}
.HomeBrands{
  padding:2px;
  box-sizing: border-box;
  display: flex;
  width:95%;
  margin:0 auto;
  justify-content: space-around;
  align-items: space-around;
  margin-bottom: 1%;
  margin-top:1%;
}
.HomeBrands > div{
  background-color: white;
  padding: 0;
  margin: 0;
  width: 14%;
  height:135px;
  box-sizing: border-box;
  position: relative;
}

.HomeBrands img{
  width:100%;
  height:135px;
}

.HomeBrands a img:hover {
  box-shadow: 0 0 3px 3px rgba(0, 140, 186, 0.5);
}

@media screen and (max-width: 1080px) {
  .HomeBrands{
      margin:auto;
      display: flex;
      flex-wrap: wrap;
      box-sizing: border-box;
      align-content: space-between;
      justify-content: center;
    }
    
    .HomeBrands div{
        box-sizing: border-box;
        min-width:135px;
        min-height:135px;
        margin:1%;
        text-align: center;
    }
}

@media screen and  (max-width: 650px) {
  .HomeBrands{
      margin:auto;
      display: flex;
      flex-wrap: wrap;
      box-sizing: border-box;
      align-content: space-between;
      justify-content: center;
    }
    
  .HomeBrands div{
      box-sizing: border-box;
      min-width:135px;
      min-height:135px;
      margin:1%;
      text-align: center;
      transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    }
}
@media screen and  (max-width: 460px) {
  .HomeBrands{
      margin:auto;
      display: flex;
      flex-wrap: wrap;
      box-sizing: border-box;
      align-content: space-between;
      justify-content: center;
    }
    
  .HomeBrands div{
      box-sizing: border-box;
      min-width:135px;
      min-height:135px;
      margin:2%;
      text-align: center;
    }
}
@media screen and  (max-width: 220px) {
  .HomeBrands{
      display: none;
    }
}
/*-- ------------------------------------------- --*/
/*-- ----------- Home Second Section ----------- --*/