@font-face {
  font-family: danaYad;
  src: url("fonts/dana-yad-alefalefalef/DanaYadAlefAlefAlef-Normal.woff") format("woff"), url("fonts/dana-yad-alefalefalef/DanaYadAlefAlefAlef-Normal.otf") format("otf"), url("fonts/dana-yad-alefalefalef/DanaYadAlefAlefAlef-Normal.woff") format("woff");
}
@font-face {
  font-family: 'felix007-medium-webfont';
  src: url('../app/www/fonts/felix007-medium-webfont.eot');
  /* IE9 Compat Modes */
  src: url('../app/www/fonts/felix007-medium-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../app/www/fonts/felix007-medium-webfont.woff') format('woff'), /* Pretty Modern Browsers */ url('../app/www/fonts/felix007-medium-webfont.ttf') format('truetype'), /* Safari, Android, iOS */ url('../app/www/fonts/felix007-medium-webfont.svg#svgFontName') format('svg');
  /* Legacy iOS */
}
body {
  display: block;
  direction: rtl;
  font-family: 'felix007-medium-webfont';
  text-align: right;
  margin: 0;
	      padding-bottom: 70px;;
}
body footer {
  width: 100%;
  height: 50px;
  background: #ffffff;
  margin-top: 10px;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: Arial;
	  position: fixed;
		      bottom:0;
}
body footer a {
      color: #56afc2;
    text-align: center;
    display: block;
    width: 100%;
    font-weight: bold;;
}
@media only screen and (max-width: 992px) {
  body {
    margin-top: 70px;
  }
  body footer {
    justify-content: center;
  }
  body .top-google-ad,
  body .bottom-google-ad {
    display: none;
  }
  body .google-auto-placed .adsbygoogle {
    margin: 10px auto !important;
  }
  body header {
    height: 50px;
    display: flex;
    justify-content: center;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    background: white;
    -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
  }
  body header .logo-wrapper {
    height: 100%;
  }
  body header .logo-wrapper img {
    height: 100%;
  }
  body header .logo-wrapper h1 {
    display: none;
  }
  body .mobile-menu {
    display: inline-block !important;
    cursor: pointer;
    position: absolute;
    right: 8px;
  }
  body .mobile-menu > div {
    width: 30px;
    height: 3px;
    background-color: #43b5d9;
    margin: 8px 0;
    transition: 0.4s;
  }
  body .mobile-menu.opened-menu .mobile-menu-1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
  }
  body .mobile-menu.opened-menu .mobile-menu-2 {
    opacity: 0;
  }
  body .mobile-menu.opened-menu .mobile-menu-3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }
  body .mobile-menu.opened-menu + nav {
    right: 0;
  }
  body nav {
    position: fixed;
    height: 100vh;
    box-sizing: border-box;
    background: #0881d4;
    width: 200px;
    right: -200px;
    top: 0;
    z-index: 99999;
    transition: all 0.5s linear;
    padding-top: 80px;
    overflow-y: scroll;
  }
  body nav .main-category:first-child {
    border-top: 1px solid white;
  }
  body nav .main-category.app-link-icon img {
    display: none;
  }
  body nav .main-category .main-category-title {
    display: block;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    border-bottom: 1px solid white;
  }
  body nav .main-category .sub-nav {
    max-height: 0;
    overflow: hidden;
  }
  body nav .main-category .sub-nav a {
    color: white;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  body nav .main-category.open .main-category-title {
    border-bottom-width: 3px;
  }
  body nav .main-category.open .sub-nav {
    max-height: 1400px;
  }
}
@media only screen and (min-width: 992px) {
  body {
    background: #2baec2;
  }
  body .grammar-under-title-google-ad,
  body .bottom-google-ad,
  body .top-google-ad {
    width: 80%;
    margin: auto;
    height: 120px;
  }
  body .grammar-under-title-google-ad .adsbygoogle,
  body .bottom-google-ad .adsbygoogle,
  body .top-google-ad .adsbygoogle {
    height: 100%;
    width: 100%;
  }
  body header {
    height: 50px;
    margin-bottom: 50px;
    align-items: center;
    display: flex;
    background: white;
    padding: 10px;
    position: relative;
  }
  body header .logo-wrapper {
    height: 220%;
    width: 250px;
    display: flex;
    position: relative;
    top: 50%;
    background: white;
    border-radius: 20px;
    padding: 0 20px;
  }
  body header .logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    align-self: center;
  }
  body header .logo-wrapper h1 {
    margin-right: 10px;
    color: white;
    position: absolute;
    bottom: 6px;
    right: 100%;
    overflow: visible;
    width: auto;
    white-space: nowrap;
    line-height: 0;
    font-family: danaYad;
    font-weight: 400;
  }
  body nav {
    width: 100%;
    position: relative;
    display: flex;
  }
  body nav .main-category {
    font-weight: 400;
    font-size: 25px;
    margin-left: 20px;
    padding-right: 15px;
    height: 100%;
  }
  body nav .main-category.home-link {
    display: none;
  }
  body nav .main-category.app-link-icon {
    position: absolute;
    left: 0;
  }
  body nav .main-category.app-link-icon a {
    height: 100%;
    display: block;
    border: 1px solid #125362;
    padding: 1px 8px;
  }
  body nav .main-category.app-link-icon a img {
    max-height: 100%;
  }
  body nav .main-category.app-link-icon span {
    display: none;
  }
  body nav .main-category .main-category-title {
    text-decoration: none;
    color: #298598;
    font-family: 'felix007-medium-webfont';
    line-height: 50px;
  }
  body nav .main-category.has-sub-nav:hover {
    color: #091416;
  }
  body nav .main-category.has-sub-nav:hover:after {
    content: ' ';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #f3f6f6;
    position: absolute;
    z-index: 9999999;
    margin-right: 5px;
    right: 15px;
    bottom: -2px;
  }
  body nav .main-category.has-sub-nav:hover .sub-nav {
    height: auto;
    padding: 6px 20px;
    max-height: 600px;
  }
  body nav .sub-nav {
    height: 0;
    max-height: 0;
    width: 0;
    width: 98%;
    overflow: hidden;
    position: absolute;
    top: 52px;
    background: #f3f6f6;
    z-index: 999999;
    box-sizing: border-box;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    right: 9px;
    left: 9px;
    box-shadow: 0 8px 6px -6px #3fa1b6;
    transition: max-height 0.5s ease-in-out;
  }
  body nav .sub-nav:hover {
    height: auto;
    padding: 6px 20px;
  }
  body nav .sub-nav a {
    color: #fff;
    font-family: 'felix007-medium-webfont';
    font-weight: 400;
    font-size: 14px;
    margin-left: 10px;
    line-height: 25px;
    margin-bottom: 5px;
    text-decoration: none;
    background: #56afc3;
    padding: 0px 10px;
    display: inline-block;
  }
  body nav .sub-nav a:hover {
    background: #091416;
  }
}
@media only screen and (min-width: 992px) and only screen and (min-width: 992px) {
  body header .logo-wrapper {
    height: 300%;
    width: 400px;
  }
}
