/*
Theme name: Shablul
Author: Tomer Nestel
Version: 1.0

*/

html {
    box-sizing: border-box;
    font-size: 62.5%;

}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit
}

body {
    direction: rtl;
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;

}

.phone {
  width: 60px;
  height: 60px;
  border: 1px solid  #516652;
  background-color: #fff;
  border-radius: 100px;
  position: fixed;
  right: 10px;
  bottom: 20px;
  z-index: 10;
  display: none;
}

@media screen and (max-width: 500px) {
  .phone {
    display: block;
  }
}

.icon--phone {
  display: inline-block;
  width: 27px;
  height: 27px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% ,-50%);
  
  
}

.header__logo-box {
    text-align: center;
    margin-bottom: 1rem;
}

.logo {
    width: 150px;
    height: auto;
}

.header__content {
    padding: 10rem 0;
    background-image: url('http://www.shablultoilets.com/img/shablul-2.jpg');
    background-position: 40% 15%;
    background-repeat: no-repeat;
    height: 60rem;
    text-align: center;
}

.header__h1 {
    font-size: 4.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
}

@media screen and (max-width: 800px) {
  .header__h1 {
  padding: 0 1rem;
}
}

.h1--sub {
    font-size: 3.2rem;
    font-weight: 100;
    display: block;
    margin-bottom: 4rem; 
}

.btn:link, .btn:visited {
    padding: 15px 25px;
    display: inline-block;
    font-size: 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn--red, .btn--red:visited {
    color: #fff;
    background-color: #BF5873;
}

.btn:hover.btn--red {
    background-color: #93475F;
}

.btn--green, .btn--green:visited {
  color: #fff;
  background-color: #5A9488;
}

.btn:hover.btn--green {
  background-color: #304d47;
}

.header__phone {
    margin-top:40px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.header__icon {
    width: 12px;
    height: auto;
    margin-left: 10px;
}

.main {
    padding: 0rem 0;
}

.features {
    display: flex;
    padding: 7rem 0;
    width: 90%;
    margin: 0 auto;
    justify-content: center;
}

@media screen and (max-width: 800px) {
    .features {
        flex-direction: column;
    }
}

.features__item {
    text-align: center;
    padding: 0 3rem;
    flex: 1;
}

@media screen and (max-width: 800px) {
    .features__item:not(:last-child) {
        margin-bottom: 6rem;
    }
}
.features__item__icon {
  margin-bottom: 2rem;
}

.features__icon {
  width: auto;
  max-height: 30px;
}

.features__h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.features__text {
    font-size: 1.6rem;
}

.main__row {
    display: flex;
    padding: 2rem 4rem;
    flex-direction: row-reverse;
}

.main__row:not(:last-child) {
    margin-bottom: 10rem;
}

@media screen and (max-width: 900px) {
  .main__row {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  
  .main__row:not(:last-child) {
    margin-bottom: 7rem;
}
}

.img {
    max-width: 100%;
    display: block;
}

.main__row__text-box {
    align-self: center;
    padding: 0 5rem;
    width: 90%;
}

@media screen and (max-width: 900px) {
  .main__row__text-box {
    align-self: initial;
    padding: 0;
    width: 100%;
}
}

.main__row__h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.main__row__text {
    font-size: 1.6rem;
    line-height: 1.5;
}

.reverse__row {
    flex-direction: row;
}

@media screen and (max-width: 900px) {


.reverse__row {
  flex-direction: column;
}
}

figcaption {
    font-size: 1.4rem;
}

.main__row__item:not(:last-child) {
    margin-left: 5rem;
}

@media screen and (max-width: 900px) {
  .main__row__item:not(:last-child) {
    margin-left: 0;
  }
}

@media screen and (max-width: 900px) {
.main__row__image-box {
  margin-bottom: 2rem;
}
}

/*  slideshow */


/* Slideshow container */
.slideshow-container {
    max-width: 65rem;
    position: relative;
    margin: auto;
    direction: ltr;
    
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #8DB38F;
    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 */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: #516652;
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 18px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    font-weight: 700;
  }

  .slider__h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #8DB38F;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #665546;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

  .contact {
    margin-top: 5rem;
    padding: 7rem 0;
    background-color: #ECE4B7;
    text-align:center;
  }

  .contact__h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }

  .contact__details {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
  }

  .contact__phone {
    margin-left: 1rem;
  }

  .contact__link:link, .contact__link:visited {
    text-decoration: none;
    font-size: 1.4rem;
    color: #000;
    transition: all .2s;
  }

  .slash {
   margin-left: 1rem;
  }

  .contact__link:hover {
    color: #516652;
  }

  .footer {
    text-align: center;
    padding: 1rem 0;
  }