/* Start Variable */
:root {
    --main-color: #ffffff;
    --second-color: #171f29;
    --third-color: #2d516b;
    --forth-color: #3e4b59;
    --fifth-color: #7b838d;
  }
  /* End Variable *//* Start Global Rules */
  * {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      padding: 0;
      margin: 0;
  }
  html {
      scroll-behavior: smooth;
  }
  body {
      background-color: var(--forth-color);
  }
  body.ar {
    font-family: 'Tajawal-Bold', sans-serif;
    font-family: 'Tajawal-Heavy', sans-serif;
    font-family: 'Tajawal-Light', sans-serif;
    font-family: 'Tajawal-Regular', sans-serif;
    font-family: 'Tajawal-Medium', sans-serif;
  }
  body.en {
    font-family: 'Gilroy-Bold', sans-serif;
    font-family: 'Gilroy-Heavy', sans-serif;
    font-family: 'Gilroy-Light', sans-serif;
    font-family: 'Gilroy-Medium', sans-serif;
    font-family: 'Gilroy-Regular', sans-serif;
  }
  ul {
      list-style: none;
  }
  .container {
      padding-left: 15px;
      padding-right: 15px;
      margin-left: auto;
      margin-right: auto;
  }

  @media (min-width: 768px) {
      .container {
          width: 750px;
      }
  }

  @media (min-width: 992px) {
      .container {
          width: 970px;
      }
  }

  @media (min-width: 1200px) {
      .container {
          width: 1170px;
      }
  }
  /* End Global Rules */
      /* Start Form Section */
      .form {
        position: relative;
        height: 740px;
        /*height: 570px;*/
        background-color: var(--forth-color);
        padding-top: 40px;
      }
      .form .container {
        margin-top: 35px;
      }

      .form p.head {
        font-weight: bold;
        text-transform: capitalize;
        color: white;
        font-size: 29px;
        text-align: center;
        /* margin-top: 40px; */
        margin-bottom: 20px;
      }
      .form iframe {
        height: 650px;
        /*margin-top: 42px;
          height: 475px;*/
      }
      @media (max-width: 515px) {
        .form iframe {
          width: 380px;
          height: 600px;
          position: relative;
          left: 50%;
          transform: translateX(-50%);
        }
      }
      @media (min-width: 515px) {
        .form iframe {
          width: 500px;
          /*height: 475px;*/
          height: 600px;
          position: relative;
          left: 50%;
          transform: translateX(-50%);
        }
      }
      @media (min-width: 768px) {
        .form iframe {
          width: 750px;
        }
      }

      @media (min-width: 992px) {
        .form iframe {
          width: 970px;
        }
      }

      @media (min-width: 1200px) {
        .form iframe {
          width: 1170px;
        }
      }


      .input_form {
          position: relative;
          /* height: 739px; */
          height: 580px;
          padding-top: 1px;
          /* background-color: bisque; */
          /* background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 5%)), url(../photos/special/iStock-1207550669.jpg); */
          background-image: linear-gradient(rgb(0 0 0 / 14%), rgb(0 0 0 / 10%)), url(../photos/special/iStock-1207550669.jpg);
          background-repeat: no-repeat;
          background-size: cover;
          background-position-x: center;
          background-position-y: bottom;
      }

      .input_form .container {}

      .input_form .box {
          /* background-color: wheat */
      }

      /*.input_form .box {
    height: 650px;
    margin-top: 42px;
    background-color: brown;*/
      /* background-image: url(/photos/special/iStock-1207550669.jpg);
    background-repeat: no-repeat;
    background-position-x: -330px;
    background-position-y: -230px;

      }

      /*
  @media (max-width: 515px) {
    .input_form .box {
      width: 380px;
      height: 600px;
      position: relative;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  @media (min-width: 515px) {
    .input_form .box {
      width: 500px;
      height: 600px;
      position: relative;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  @media (min-width: 768px) {
    .input_form .box {
      width: 750px;
    }
  }

  @media (min-width: 992px) {
    .input_form .box {
      width: 970px;
    }
  }

  @media (min-width: 1200px) {
    .input_form .box {
      width: 1170px;
    }
  } */
      .input_form .box form {
          padding: 20px;
      }

      .input_form .box .maincomponent.a .slide .a.sell.active,
      .input_form .box .maincomponent.a .slide .a.buy.active,
      .input_form .box .maincomponent.a .slide .a.tanent.active,
      .input_form .box .maincomponent.a .slide .a.renter.active {
          /* background-color: rgb(107, 107, 107); */
          background-color: #868686bf;
          border-radius: 10px;

      }

      .input_form .box .sellComp {
          display: none;
      }

      .input_form .box .buyComp {
          display: none;
      }

      .input_form .box .tanentComp {
          display: none;
      }

      .input_form .box .renterComp {
          display: none;
      }







  /* @media (max-width: 550px) { */
  @media (max-width: 991px) {
    .input_form {
        /* background-position-x: calc(50% + -28px)!important; */
        background-position-x: calc(50% + -37px)!important;
    }
      .box .component input {
    /* width: 125px; */
    width: inherit;
    padding: 7px 6px;
    border-radius: 4px;
    font-size: 12px;
      }
      .box .cont {
          display: grid;
          /* grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
          gap: 7px; */
          grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
          gap: 5px 5px;
          /* padding: 15px; */
          position: relative;
      }
      .box .component {
          /* width: 125px;
          padding: 3px 0px; */
          width: 100px;
          padding: 3px 0px;
      }
      .box .component label {
          padding-bottom: 1px;
          font-size: 14px;
          display: block;
          color: white;
          font-weight: 900;
      }
      textarea {
      overflow-y: scroll;
      width: 70%;
      height: 85px;
      padding: 5px;
      border-radius: 4px;
      }
      .componentnote {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 20px;
      font-size: 13px;
      padding: 0px 7px;
    }
      .componentnote label {
      position: relative;
      width: 20%;
      text-align: center;
      font-size: 15px;
      color: white;
      font-weight: 900;
    }
    .box button {
        cursor: pointer;
    position: absolute;
    bottom: 0;
    padding: 4px 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    border-radius: 15px;
    background-color: var(--forth-color);
    /* background-color: var(--third-color); */
    color: whitesmoke;
    border-color: #f5f5f5a1;
    font-size: 15px;
  }
  .text-danger {
          color: rgb(215, 0, 0);
          font-size: 9px;
          font-weight: bold;
      }
      .input_form .box .maincomponent.a {
          text-align: center;
          width: 220px;
          height: 42px;
          margin: auto;
          border-radius: 10px;
          background-color: #86868670;
          /* background-color: white; */
      }

      .input_form .box .maincomponent.a .slide {
          position: relative;
          /* background-color: #868686; */
          background-color: white;
          width: 220px;
          /* height: 42px; */
          display: flex;
          border-radius: 10px;
      }

      .input_form .box .maincomponent.a .slide .a {
        cursor: pointer;
          text-align: center;
          width: calc(220px/4);
          /* background-color: #86868670; */
          background-color: white;
          /* display: inline; */
          padding: 11px;
          border-radius: 10px;
          font-size: 14px;
      }
      .input_form .box .sellComp.show,
      .input_form .box .buyComp.show,
      .input_form .box .tanentComp.show,
      .input_form .box .renterComp.show {
          display: block;
          padding: 20px 10px 70px;
          /* position: relative; */
          position: absolute;
  right: 0;
  width: 220px;

      }

  }

  /* @media (min-width: 550px) { */
  @media (min-width: 991px) {
      .box .component input {
          /* width: 250px; */
          width: 195px;
          /* width: 255px; */
          padding: 10px 15px;
          border-radius: 4px;
          /* font-size: 15px; */
          font-size: 14px;
      }
      .box .cont {
          display: grid;
          /* grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); */
          grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
          gap: 20px;
          /* padding: 20px; */
          position: relative;
      }
      .box .component {
          /* width: 250px; */
          width: 195px;
      }
      .box .component label {
          padding-bottom: 2px;
          display: block;
          color: white;
          font-weight: 900;
      }
      textarea {
          overflow-y: scroll;
          width: 70%;
          height: 100px;
          padding: 5px 10px;
          resize: none;
          border-radius: 4px;
          font-size: 15px;
      }
      .componentnote {
          position: relative;
          display: flex;
          justify-content: center;
          align-items: center;
          margin-top: 30px;
      }
      .componentnote label {
          position: relative;
          width: 20%;
          text-align: left;
          font-size: 20px;
          color: white;
          font-weight: 900;
      }
      .box button {
        cursor: pointer;
          position: absolute;
          bottom: 0;
          padding: 4px 10px;
          left: 50%;
          transform: translateX(-50%);
          width: 185px;
          border-radius: 15px;
          /* background-color: var(--forth-color); */
          background-color: var(--third-color);
          color: whitesmoke;
          border-color: #f5f5f5a1;
        }
        .text-danger {
          color: rgb(205, 0, 0);
          font-size: 12px;
          font-weight: bold;

      }
      .input_form .box .maincomponent.a {
          text-align: center;
          width: 300px;
          height: 42px;
          /* margin: auto; */
          margin-left: 57%;

          border-radius: 10px;
          background-color: #86868670;
          /* background-color: white; */
      }

      .input_form .box .maincomponent.a .slide {
          position: relative;
          /* background-color: #868686; */
          background-color: white;
          width: 300px;
          height: 42px;
          display: flex;
          border-radius: 10px;
      }

      .input_form .box .maincomponent.a .slide .a {
        cursor: pointer;
          text-align: center;
          width: calc(300px/4);
          /* background-color: #86868670; */
          background-color: white;
          display: inline;
          padding: 11px;
          border-radius: 10px;
      }
      .input_form .box .sellComp.show,
      .input_form .box .buyComp.show,
      .input_form .box .tanentComp.show,
      .input_form .box .renterComp.show {
          display: block;
          padding: 20px 20px 70px;
          position: relative;
          /* right: 0; */
          width: 55%;
          margin-left: auto;
      }
  }

  @media (min-width: 1200px) {
    .box .component input {
        /* width: 250px; */
        /* width: 195px; */
        width: 245px;
        padding: 10px 15px;
        border-radius: 4px;
        /* font-size: 15px; */
        font-size: 14px;
    }
  }



