
* {
  font-family: Vazirmatn, "Vazirmatn FD", serif;
  box-sizing: border-box;
  padding: 0;
  margin: 0;

}

a {
  color: #333;
}

.description {
  width: 80%;
  margin: 50px auto;
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
megamenu.js STYLE STARTS HERE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: #e9e9e9;
}

.menu-mobile {
  display: none;
  padding: 20px;

  &:after {
    content: "\f394";
    font-family: Vazirmatn;
    font-size: 2.5rem;
    padding: 0;
    float: right;
    position: relative;
    top: 50%;
    transform: translateY(-25%);
  }
}

.menu-dropdown-icon {
  &:before {
    content: "\f489";
    font-family: Vazirmatn;
    display: none;
    cursor: pointer;
    float: right;
    padding: 1.5em 2em;
    background: #fff;
    color: #333;
  }
}

.menu {
  .nav-img {
    img {
      max-width: 100%;
      height: 400px;
      width: 446px;
    }

    .img-title {
      background-color: white;
      color: black;
      width: 100%;
      text-align: center;
      display: block;
      margin: auto;


    }
  }

  > ul {
    margin: 0 auto;
    width: 100%;
    list-style: none;
    padding: 0;
    position: relative;
    //position: relative;
    /* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    .left-flo{
      float: left;
    }
    &:before,
    &:after {
      content: "";
      display: table;
    }

    &:after {
      clear: both;
    }

    > li {
      float: right;
      background: #e9e9e9;
      padding: 0;
      margin: 0;

      a {
        text-decoration: none;
        padding: 1em 3em;
        display: block;
        transition: 333ms;

        &:hover {
          color: black;
        }
      }

      &:hover {
        background: #f0f0f0;
      }

      > ul {
        display: none;
        width: 100%;
        background: #f0f0f0;
        padding: 20px;
        position: absolute;
        z-index: 99;
        left: 0;
        margin: 0;
        list-style: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;

        &:before,
        &:after {
          content: "";
          display: table;
        }

        &:after {
          clear: both;
        }

        > li {
          margin: 0;
          padding-bottom: 0;
          list-style: none;
          width: 25%;
          background: none;
          float: left;

          a {
            color: #777;
            padding: .2em 0;
            width: 95%;
            display: block;
            border-bottom: 1px solid #ccc;
          }

          > ul {
            display: block;
            padding: 0;
            margin: 10px 0 0;
            list-style: none;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;

            &:before,
            &:after {
              content: "";
              display: table;
            }

            &:after {
              clear: both;
            }

            > li {
              float: left;
              width: 100%;
              padding: 10px 0;
              margin: 0;
              font-size: .8em;

              a {
                border: 0;
              }
            }
          }
        }

        &.normal-sub {
          width: 300px;
          left: auto;
          padding: 10px 20px;

          > li {
            width: 100%;

            a {
              border: 0;
              padding: 1em 0;
            }
          }
        }
      }
    }
  }
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 959px) {
  .menu-container {
    width: 100%;
  }
  .menu-mobile {
    display: block;
  }
  .menu-dropdown-icon {
    &:before {
      display: block;
    }
  }
  .menu {
    > ul {
      display: none;

      > li {
        width: 100%;
        float: none;
        display: block;

        a {
          padding: 1.5em;
          width: 100%;
          display: block;
        }

        > ul {
          position: relative;

          &.normal-sub {
            width: 100%;
          }

          > li {
            float: none;
            width: 100%;
            margin-top: 20px;

            &:first-child {
              margin: 0;
            }

            > ul {
              position: relative;

              > li {
                float: none;
              }
            }
          }
        }
      }
    }

    .show-on-mobile {
      display: block;
    }
  }
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile Navbar None Display Image
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media only screen and (max-width: 959px) {
  .menu {
    .nav-img {
      img {
       display: none;
      }
      .img-title{
        display: none;
      }
    }
  }
}