/* Custom CSS for Keisar Chairs Landing Page */

body {
  font-family: 'Open Sans', sans-serif;
  direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

.navbar-custom {
  padding: 25px 0 33px;
  background-color: #000000;
}

.navbar-custom::after {
  content: "";
  display: block;
  background-image: url(../images/line-color.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 18px;
  position: absolute;
  bottom: -10px;
}

.navbar-custom .navbar-logo {
  display: inline-block;
  margin: 0 111px 0 0;
  z-index: 1;
}

.navbar-custom .navbar-logo img {
  width: 200px;
}

.navbar-custom a.navbar-phone {
  font-size: 25px;
  line-height: 35px;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  text-decoration: none;
  z-index: 1;
  position: relative;
  direction: ltr;
  padding-bottom: 5px;
}

.navbar-custom a.navbar-phone i {
  transform: rotate(90deg);
  margin: 0 10px 0 0;
}

.navbar-custom a.navbar-phone::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  border-bottom: 2px solid #c21a1e;
  transition: all 0.5s ease;
}

.navbar-custom a.navbar-phone:hover::after {
  width: 100%;
}

.banner img {
  display: inline-block;
  width: 100%;
  margin-top: -6%;
  z-index: 0;
}

.banner .small {
  display: none;
}

.banner h2 {
  font-size: 50px;
  line-height: 60px;
  text-align: center;
  color: #c21a1e;
  width: 55%;
  display: table;
  margin: 0 auto;
}

.banner p {
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
  text-align: center;
  color: #282828;
  margin: 0px;
}

.banner p:last-child {
  margin-bottom: 44px;
}

.banner p span {
  display: inline-block;
  position: relative;
}

.banner p span:after, .contactbox h2 span:after {
  content: "";
  position: absolute;
  background-image: url(../images/yellow-strike.png);
  background-size: 111%;
  background-repeat: no-repeat;
  width: 111%;
  right: 0;
  bottom: 0;
  height: 5px;
}

.infobox1, .infobox2, .infobox3, .infobox4, .infobox5, .infobox6, .infobox7 {
  display: block;
  margin-right: 111px;
  text-align: right;
}

.infobox1 p {
  font-size: 26px;
  line-height: 36px;
  color: #282828;
  margin: 0;
}

.infobox1 p:last-child, .infobox2 p:last-child, .infobox3 p:last-child {
  margin-bottom: 33px;
}

.infobox2 h3, .infobox2 p, .infobox3 h3, .infobox3 p, .infobox4 h3, .infobox4 p, .infobox5 h3, .infobox5 p, .infobox6 h3, .infobox6 p, .infobox7 h3 {
  font-size: 28px;
  line-height: 32px;
  color: #282828;
  margin: 0;
}

.infobox2 p, .infobox3 p, .infobox4 p, .infobox5 p, .infobox6 p {
  font-size: 22px;
}

.greystipe {
  padding: 22px 0 40px;
  background-color: #555555;
  position: relative;
}

.greystipe::after {
  content: "";
  display: block;
  background-image: url(../images/line-color.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 18px;
  position: absolute;
  bottom: -10px;
}

.contactbox h2 {
  font-size: 34px;
  line-height: 44px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 22px;
}

.contactbox h2 span {
  display: inline-block;
  position: relative;
}

.contactbox h4 {
  font-size: 26px;
  line-height: 36px;
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  margin: 0;
}

.contactbox h4.callus {
  margin-bottom: 13px;
}

.contactbox h4 a {
  display: inline-block;  
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.contactbox h4 a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  border-bottom: 2px solid #f9d300; /*#e97800*/
  transition: all 0.5s ease;
}

.contactbox h4 a:hover::after {
  width: 100%;
}

form.contactform {
  text-align: center;
}

.contactform .submitbtn {
  font-size: 25px;
  line-height: 25px;
  font-weight: 700;
  color: #ffffff;
  background-color: #e97800;
  height: 40px;
  border: none;
  border-radius: 10px;
  padding: 4px 15px;
  margin: 0 10px 0 0;
  cursor: pointer;
  outline: none;
}

.contactform .submitbtn i {
  margin-right: 10px;
}

.contactform .txtfield {
  font-size: 18px;
  line-height: 36px;
  font-weight: 500;
  color: #555555;
  border: none;
  border-radius: 10px;
  padding: 2px 10px;
  margin: 0 10px 0 0;
  outline: none;
}

.contactform .txtfield::placeholder {
  color: #aeaeae;
  font-weight: 300;
}

.bgchair {
  background-image: url(../images/bg-keisar-chairs.jpg);
  background-size: cover;
  background-position: 66% 100%;
  padding-top: 44px;
}

ul.list {
  color: #e97800;
  padding-right: 20px;
  margin: 0;
}

.fourchairs {
  display: table;
  width: 85%;
  margin: 10px auto;
}

.fourchairs img {
  width: 100%;
}

section#five {
  padding: 33px 0;
}

.infobox5 li:last-child {
  margin-bottom: 55px;
}

.infobox6 li:last-child {
  margin-bottom: 33px;
}

.infobox7 h3 {
    margin-bottom: 22px;
}

.infobox7 .pink, .infobox7 .violet, .infobox7 .blue {
  display: block;
  width: 29%;
  float: left;
  height: 175px;
  border: 10px solid #a23171;
  padding: 30px 10px 0;
  text-align: center;
  margin: 0 30px 0 0;
}

.infobox7 .violet {
  width: 36.5%;
  border: 10px solid #5e70ba;
}

.infobox7 .blue {
  width: 28.4%;
  border: 10px solid #4eb2b2;
  margin: 0;
}

.infobox7 h4, .infobox7 p {
  font-size: 26px;
  line-height: 32px;
  margin: 0;
}

.pink h4 {
  color: #a23171;
}

.violet h4 {
  color: #5e70ba;
}

.blue h4 {
  color: #4eb2b2;
}

.infobox7 p {
  color: #282828; 
}

.comfortchair {
  display: table;
  width: 85%;
  margin: -10px auto;
}

.comfortchair img {
  width: 100%;
}

.threelines p {
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  text-align: center;
  color: #282828;
  margin: 0;
}

.footer {
  padding: 66px 0 15px;
}

.comfortimg {
  text-align: center;
}

.comfortimg img {
  display: inline-block;
}

.footerchairs img {
  width: 100%;
}

hr#footerhr {
  margin: 22px 0;
  border-top: 1px solid rgba(0,0,0,.2);
}

.footertxt p {
  font-size: 22px;
  line-height: 32px;
  text-align: center;
  color: #282828;
  margin-bottom: 10px;
}

.footertxt p a {
  display: inline-block;
  color: #282828;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.footertxt p a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  border-bottom: 2px solid #e97800;
  transition: all 0.5s ease;
}

.footertxt p a:hover::after {
  width: 100%;
}

/*---------------------------Media Queries---------------------------*/

@media (max-width: 1024px) and (min-width: 992px) {
  .navbar-custom a.navbar-phone {
    font-size: 22px;
    line-height: 32px;
    padding-bottom: 4px;
  }

  .navbar-custom a.navbar-phone::after {
    width: 100%;
  }

  .contactbox h4 a::after {
    width: 100%;
  }

  .fourchairs {
    width: 70%;
  }

  .bgchair {
    background-position: 77% 100%;
  }

  .infobox7 .pink, .infobox7 .violet {
    margin: 0 24px 0 0;
  }

  .footertxt p a::after {
    width: 100%;
  }
}

@media all and (max-width: 991px) {
  .navbar-custom .navbar-logo {
    margin: 0;
  }

  .navbar-custom a.navbar-phone {
    padding-bottom: 3px;
  }

  .navbar-custom a.navbar-phone::after {
    width: 100%;
  }

  .banner .large {
    display: none;
  }

  .banner .small {
    display: unset;
  }

  .banner h2 {
    font-size: 44px;
    line-height: 54px;
    width: 77%;
  }

  .banner p {
    font-size: 30px;
    line-height: 40px;
  }

  .infobox1, .infobox2, .infobox3, .infobox4, .infobox5, .infobox6, .infobox7 {
    margin-right: 0;
  }

  .infobox1 p {
    font-size: 24px;
    line-height: 34px;
  }

  .infobox1 p:last-child, .infobox2 p:last-child, .infobox3 p:last-child {
    margin-bottom: 22px;
  }

  .infobox2 h3, .infobox2 p, .infobox3 h3, .infobox3 p, .infobox4 h3, .infobox4 p, .infobox5 h3, .infobox5 p, .infobox6 h3, .infobox6 p, .infobox7 h3 {
    font-size: 26px;
    line-height: 36px;
  }

  .infobox2 p, .infobox3 p, .infobox4 p, .infobox5 p, .infobox6 p {
    font-size: 22px;
  }

  .contactbox h2 {
    font-size: 32px;
    line-height: 42px;
  }

  .contactbox h4 {
    font-size: 24px;
    line-height: 34px;
  }

  .contactbox h4 a::after {
    width: 100%;
  }

  .contactbox h4.callus {
    margin-bottom: 33px;
  }

  .contactform .txtfield {
    width: 77%;
    display: table;
    margin: 22px auto;
  }

  .fourchairs {
    width: 100%;
  }

  .infobox7 .pink, .infobox7 .violet {
    margin: 0 21px 0 0;
  }

  .infobox7 h4, .infobox7 p {
    font-size: 22px;
    line-height: 32px;
  }

  .comfortchair {
    width: 100%;
    margin: 0 auto;
  }

  .threelines p {
    font-size: 28px;
    line-height: 38px;
  }

  .comfortimg img {
    width: 44%;
  }

  .footer {
    padding: 55px 0 22px;
  }

  .footerchairs img {
    display: none;
  }

  .footerchairs {
    width: 100%;
    height: 500px;
    background-image: url(../images/footer-keisar-chairs.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  hr#footerhr {
    margin: 22px 0;
  }

  .footertxt p a::after {
    width: 100%;
  }
}

@media all and (min-width: 768px) and (max-width: 991px) {
  .banner img {
    margin-top: -6%;
  }
}

@media all and (max-width: 768px) {
  .infobox7 h3 {
    text-align: center;
  }

  .infobox7 .pink, .infobox7 .violet, .infobox7 .blue {
    display: table !important;
    width: 66% !important;
    float: none !important;
    margin: 0 auto 11px !important;
  }
}

@media all and (min-width: 576px) and (max-width: 767px) {
  .footerchairs {
    height: 440px;
  }
}

@media all and (min-width: 481px) and (max-width: 575px) {
  .footerchairs {
    height: 375px;
  }
}

@media all and (max-width: 480px) {
  .navbar-custom .navbar-logo img {
    width: 150px;
  }

  .navbar-custom {
    padding: 25px 0;
  }

  .navbar-custom::after {
    height: 11px;
  }

  .navbar-custom a.navbar-phone {
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 2px;
  }

  .banner h2 {
    font-size: 32px;
    line-height: 42px;
    width: 100%;
  }

  .banner p {
    font-size: 22px;
    line-height: 32px;
  }

  .infobox1 p, .infobox2 h3, .infobox3 h3, .infobox4 h3, .infobox5 h3, .infobox6 h3, .infobox7 h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .infobox2 p, .infobox3 p, .infobox4 p, .infobox5 p, .infobox6 p, .contactbox h4 {
    font-size: 18px;
    line-height: 28px;
  }

  .contactbox h2 {
    font-size: 30px;
    line-height: 40px;
  }

  .contactform .txtfield {
    width: 88%;
  }

  .contactform .submitbtn {
    font-size: 22px;
    line-height: 22px;
  }

  .infobox5 li:last-child {
    margin-bottom: 33px;
  }

  section#five {
    padding: 22px 0;
  }

  .infobox7 .pink, .infobox7 .violet, .infobox7 .blue {
    height: 160px;
  }

  .infobox7 h4, .infobox7 p {
    font-size: 18px;
    line-height: 28px;
  }

  .threelines p {
    font-size: 22px;
    line-height: 32px;
  }

  .greystipe::after {
    height: 11px;
  }

  .footer {
    padding: 44px 0 22px;
  }

  .comfortimg img {
    width: 55%;
  }

  .footerchairs {
    height: 270px;
  }

  .footertxt p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 0px;
  }
}

@media all and (max-width: 375px) {
  .navbar-custom a.navbar-phone {
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 1px;
  }

  .footerchairs {
    height: 240px;
  }
}

@media all and (max-width: 360px) {
  .navbar-custom .navbar-logo img {
    width: 125px;
  }

  .banner img {
    margin-top: -8%;
  }

  .banner h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .banner p, .threelines p {
    font-size: 20px;
    line-height: 30px;
  }

  .infobox1 p, .infobox2 h3, .infobox3 h3, .infobox4 h3, .infobox5 h3, .infobox6 h3, .infobox7 h3 {
    font-size: 18px;
    line-height: 28px;
  }

  .infobox2 p, .infobox3 p, .infobox4 p, .infobox5 p, .infobox6 p, .contactbox h4 {
    font-size: 16px;
    line-height: 26px;
  }

  .contactbox h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .contactform .txtfield {
    font-size: 16px;
    line-height: 32px;
  }

  .contactform .submitbtn {
    font-size: 20px;
    line-height: 20px;
  }

  .infobox7 .pink, .infobox7 .violet, .infobox7 .blue {
    height: 140px;
    border-width: 7px;
    padding: 20px 10px 0;
  }

  .infobox7 h4, .infobox7 p {
      font-size: 16px;
      line-height: 26px;
  }

  .footerchairs {
    height: 230px;
  }

  .footertxt p {
    font-size: 14px;
    line-height: 24px;
    margin: 0 10px;
  }
}

@media all and (max-width: 320px) {
  .navbar-custom a.navbar-phone {
    font-size: 14px;
    line-height: 24px;
    padding-bottom: 0px;
  }

  .footerchairs {
    height: 205px;
  }
}