/*
Theme Name: shahab-mehranfar
Description:
Version: 1.0
Author: Sepideh Davoodi
*/


@import url("https://fonts.googleapis.com/css2?family=Merriweather&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+P+One&display=swap');

@font-face {
  font-family: 'Dangrek';
  src: url(./fonts/Dangrek/Dangrek-Regular.ttf);
}
@font-face {
  font-family: 'Mulish';
  src: url(./fonts/Mulish/static/Mulish-Bold.ttf);
}

@font-face {
  font-family: 'vazir';
  src: url(./fonts/vazir-font-v16.1.0/Vazir.eot); /* IE9 Compat Modes */
  src:   url(./fonts/vazir-font-v16.1.0/Vazir.woff2) format('woff2'), /* Super Modern Browsers */
         url(./fonts/vazir-font-v16.1.0/Vazir.woff) format('woff'), /* Pretty Modern Browsers */
         url(./fonts/vazir-font-v16.1.0/Vazir)  format('truetype'), /* Safari, Android, iOS */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* direction: ltr; */
}

* {

  -webkit-touch-callout: none;
  /* iOS Safari */

  -webkit-user-select: none;
  /* Safari */

  -khtml-user-select: none;
  /* Konqueror HTML */

  -moz-user-select: none;
  /* Old versions of Firefox */

  -ms-user-select: none;
  /* Internet Explorer/Edge */

  user-select: none;
  /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */

}

/* Main Styling */
html,
body {
      font-family: "sans-serif", Arial, Helvetica;
background:whitesmoke;

  /*font-family: "Gill Sans", sans-serif, Arial, Helvetica;*/
  /* font-family: "Times New Roman", Times, serif; */
}

a {
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 2rem;

}

/* menu */
.header {
  color: white;
  border-style: solid;
  border-color: rgb(13, 189, 205) white white white;

  border-width: 1px 0 0 0;
  /* padding-left: 1.5em; */
  background: rgba(3, 3, 3, 0.6);
  width: 100%;
  position: absolute;
  top: 2%;
    padding: 20px 0 20px 0px;

}
.header.header-public{
  background:#00953B;
  top: 0;

}

.navbar {

  display: flex;
  justify-content: center;
  align-items: center;
font-family: "Mochiy Pop P One", sans-serif;

}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.menu li {
  list-style: none;
}

.menu li a {
  display: block;
  text-decoration: none;
  font-size: 1rem;
  color: #1c2022;
  padding: 1em 1.5em;
  color: white;
  transition: 300ms all ease-in-out;
}


/* setting links */
.menu>li:hover>a,
.submenu>li:hover>a {
  /*background-color: hsla(0, 0%, 100%, 0.05);*/
  color: rgb(118, 228, 189);
}

/*.menu>li:hover>a {*/
/*  background-color: hsla(0, 0%, 0%, 0.95);*/
/*}*/
/* Reveal Submenu */
.menu>li:hover>a+.submenu,
.submenu>li:hover>a+.submenu {
  opacity: 1;
  transform: scaleY(1);
}

/* Modify Arrow direction */
.menu>li:hover>a>.arrow,
.submenu>li:hover>a>.arrow {
  transform: rotate(225deg);
}

@media only screen and (max-width: 964px) {
  .hamburger {
    width: 2em;
    height: 0.25em;
    display: block;
    background: white;
    position: relative;
    cursor: pointer;
    transition: 0.2s transform ease-in-out;

  }

  .hamburger::after,
  .hamburger::before {
    content: '';
    position: absolute;
    left: 0;
    background: inherit;
    width: inherit;
    height: inherit;
    transition: 0.2s transform ease-in-out;
  }

  .hamburger::after {
    top: 0.65em;
  }

  .hamburger::before {
    bottom: 0.65em;
  }

  .close::after,
  .close::before {
    top: 0;
    transition: 0.2s transform ease-in-out;
  }

  .close {
    transform: rotate(45deg);
  }

  .close::after {
    transform: rotate(-90deg);
  }

  /* Positioning Menu */
  .header {
    /* position: relative; */
    position: absolute;
    top: 0;
    padding: 1.5em 2em;
  }

  .navbar {
    align-items: center;
    justify-content: flex-end;
    margin-top: 0px;
    background: rgba(3, 3, 3, 0);

  }

  .menu {
    flex-flow: column;
    position: absolute;
    top: 3.36em;
    left: 0;
    right: 0;
    height: 100vh;
    background: white;
    /* hide the menu initially
      */
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top center;
    transition: 200ms transform cubic-bezier(.36, .4, .42, 1.48) 100ms,
      100ms opacity ease-in-out;
    z-index: 2;

  }

  /* menu & submenu links styling */
  .menu>li>a {
    font-size: 1.2rem;
    color: #1c2022;
    font-family: cursive;
  }

  /* Reveal Submenu - Reset the position to relative*/
  .menu>li:hover>a+.submenu,
  .submenu>li:hover>a+.submenu {
    position: relative;
  }

  /* Reveal Menu */
  input[type='checkbox']:checked+.menu {
    position: absolute;
    opacity: 1;
    transform: scaleY(1);
  }
}

/*********************************/

#showcase {
  background-color: rgba(26, 26, 26, 0.9136904761904762);
  /* For browsers that do not support gradients */
  background-image: linear-gradient(315deg, #000000 0%, #7f8c8d 74%);
  height: 100vh;
}
/* add shode*/
#showcase #showcase-content {
  display: flex;
    /*  position: absolute;*/
    /*bottom: 0;*/
}

#showcase #showcase-content img {
  display: flex;
  position: absolute;
  /*position:relative;*/
  bottom: 0;
  flex-wrap: wrap;
  width: 35%;
  height: auto;

}

#text-home {
  position: absolute;
  top: 36%;
  right: 7%;
  width: 36%;
  display: flex;
  font-variant-caps: small-caps;
  text-align: left;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 2%;
  border-width: 4mm;
  border-style: solid;
  border-image:
    linear-gradient(to left,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0)) 1;
/*font-family:'Lilita_One';*/
font-family:'Dangrek';
font-weight:bold;
font-size:1.2rem;
}


/****************************************************/
#section1 {
  display: flex;
  background: #e6e6e3;
  justify-content: space-evenly;
  flex-direction: row;
}

#section1 .container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px 0;
  padding: 1rem;
  /*add*/
}

#section1 .container .card {
  position: relative;
  min-width: 314px;
  height: 340px;

  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 20px;

  transition: 0.5s;
}

#section1 .container .card:nth-child(1) .box .content a {
  background: black;
}

#section1 .container .card:nth-child(2) .box .content a {
  background: black;
}

#section1 .container .card:nth-child(3) .box .content a {
  background: black;
}

#section1 .container .card .box {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #2a2b2f;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: 0.5s;
}

#section1 .container .card .box:hover {
  transform: translateY(-50px);
}

#section1 .container .card .box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

#section1 .container .card .box .content {
  padding: 20px;
  text-align: center;
  margin-top: 76px;
}

#section1 .container .card .box .content h2 {
  position: absolute;
  top: -10px;
  right: 30px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
}

#section1 .container .card .box .content img {
  width: 70%;
  height: auto;
  position: absolute;
  top: -27px;
  right: 42px;
}

#section1 .container .card .box .content h3 {
  font-size: 1.8rem;
  color: #fff;
  z-index: 1;
  transition: 0.5s;
  margin-bottom: 15px;
}

#section1 .container .card .box .content p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  transition: 0.5s;
}

#section1 .container .card .box .content a {
  position: relative;
  display: inline-block;
  padding: 17px 20px;
  background: black;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}

#section1 .container .card .box .content a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  background: #fff;
  color: #000;
}

/*   section2 contact me    */




/*  footer */
.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 30px 30px 20px 30px;
  color: rgb(224, 224, 224);
  background: #212122 !important;
  border-top: 1px solid white;
  width: 100%;
}
footer.footer-public{
  background: #23085A !important;

  border-top: 10px solid #00953b;

}

.footer>* {
  flex: 1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2em;
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.5rem;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 15px;
  font-weight: 400;
}

.nav__title {
  font-weight: 800;
  font-size: 17px;
}

.footer address {
  font-style: normal;
  color: #999;
}


.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
  flex-flow: row wrap;
}

.footer__nav>* {
  flex: 1 50%;
  margin-right: 1.25em;
}

.nav__ul a {
  color: #d8d8d8;
;
}

.nav__ul--extra {
  column-count: 1;
  column-gap: 1.25em;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  color: #999;
  
    align-items: center;
    flex-direction: column-reverse;
    align-content: space-around;
}

.legal__links {
  display: flex;
  align-items: center;
      /*border-top: solid 2px #919191ab;*/
}

.heart {
  color: #2f2f2f;
}

.nav__item .about {
  color: #999;

}


.first_sec {
  display: flex;
}

.footer_menu {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-content: flex-end;
  flex-wrap: wrap;
}

@media screen and (min-width: 24.375em) {
  .legal .legal__links {
    margin-left: auto;
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav>* {
    flex: 1;
  }

  .nav__item--extra {
    flex-grow: 2;
  }

  .footer__addr {
    flex: 1 0px;
  }

  .footer__nav {
    flex: 2 0px;
  }
}

/* social media*/

.social_media ul {
  position: absolute;
  display: flex;
  margin: 0;
  padding: 0;
}

.social_media ul li {
  list-style: none;
  margin: 0 30px;
}

.social_media ul li a .fab,
.social_media ul li a .fas {
  font-size: 40px;
  color: #262626;
  line-height: 60px;
  transition: .5s;
  padding-right: 14px;
}

.social_media ul li a span {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 30px;
  color: #262626;
  letter-spacing: 4px;
  transition: .5s;
}

.social_media ul li a {
  text-decoration: none;
  display: absolute;
  display: block;
  width: 60px;
  height: 60px;
  background: #fff;
  text-align: left;
  padding-left: 12px;
  transform: rotate(-30deg) skew(25deg) translate(0, 0);
  transition: .5s;
  box-shadow: -20px 20px 10px rgba(0, 0, 0, .5);
}

.social_media ul li a:before {
  content: '';
  position: absolute;
  top: 10px;
  left: -20px;
  height: 100%;
  width: 20px;
  background: #b1b1b1;
  transform: .5s;
  transform: rotate(0deg) skewY(-45deg);
}

.social_media ul li a:after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -10px;
  height: 20px;
  width: 100%;
  background: #b1b1b1;
  transform: .5s;
  transform: rotate(0deg) skewX(-45deg);
}

.social_media ul li a:hover {
  transform: rotate(-30deg) skew(25deg) translate(20px, -15px);
  box-shadow: -50px 50px 50px rgba(0, 0, 0, .5);
}

.social_media ul li:hover .fab,
.social_media ul li:hover .fas {
  color: #fff;
}

.social_media ul li:hover span {
  color: #fff;
}

.social_media ul li:hover:nth-child(1) a {
  background: #4c34b3;
}

.social_media ul li:hover:nth-child(1) a:before {
  background: #6d4aff;
}

.social_media ul li:hover:nth-child(1) a:after {
  background: #e2dbff;
}

.social_media ul li:hover:nth-child(2) a {
  background: #036dae;
}

.social_media ul li:hover:nth-child(2) a:before {
  background: #036dae;
}

.social_media ul li:hover:nth-child(2) a:after {
  background: #347ba7;
}

.social_media ul li:hover:nth-child(3) a {
  background: #0ac55e;
}

.social_media ul li:hover:nth-child(3) a:before {
  background: #0ac55e;
}

.social_media ul li:hover:nth-child(3) a:after {
  background: #40c67c;
}

.social_media ul li:hover:nth-child(4) a {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  ;

}

.social_media ul li:hover:nth-child(4) a:before {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  ;
}

.social_media ul li:hover:nth-child(4) a:after {
  background: #e46880;

}

.social_media ul li:hover:nth-child(5) a {
  background: #359dda;
}

.social_media ul li:hover:nth-child(5) a:before {
  background: #359dda;
}

.social_media ul li:hover:nth-child(5) a:after {
  background: #44a6de;
}

/* arrow */

#section07 a {
  padding-top: 80px;
}

#section07 a span {
  position: absolute;
  top: calc(100vh - 80px);
  left: calc(50% - 14px);
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 4px solid #242422;
  border-bottom: 4px solid #242422;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb07 2s infinite;
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}

#section07 a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

#section07 a span:nth-of-type(2) {
  top: calc(100vh - 100px);
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}

#section07 a span:nth-of-type(3) {
  top: calc(100vh - 116px);
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}

@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes sdb07 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}


/*  **********  page high school  *******    */

section#p-high-school{
  margin-top: 14%;
}

#p-high-school .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 9%;
  margin-bottom: 6%;
  align-items: center;
  padding: 1rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  background: white;

}

#p-high-school .items {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: right;
  direction: rtl;
  padding: 1rem;
}

#p-high-school .items .item {
  padding: 1rem;
}

#p-high-school .items .item p {
  line-height: 1.5rem;
  text-align: justify;
    font-family: 'vazir';

}

#p-high-school .items .item h2 {
  padding-bottom: 1rem;
  text-shadow: rgba(125, 13, 216, 0.821) 1px 0 10px;
    font-family: 'vazir';
}




/*    high        */

@font-face {
  font-family: 'Rocher';
  src: url(./fonts/RocherColorGX.woff2);
}

#p-high-school h1 {
  font-family: 'Rocher';
  font-size: 3rem;

  margin: 0;
text-align: center;

}


@font-palette-values --Purples {
  font-family: Rocher;
  base-palette: 6;
}

.purples {
  font-palette: --Purples;
}

/*     book high school      */




#p-high-school .book-high {
  display: flex;
  justify-content: space-between;
  /*flex-wrap: wrap;*/
  width: 100%;
  height: 10rem;
  background: white;
  margin: 9%;
  align-content: space-around;
  align-items: center;
  padding: 1rem;
  border-radius: 7px;
  position: relative;
  font-family: cursive;
}

#p-high-school .book-high img {
  width: 30%;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

#p-high-school #bh1 {
  margin-top: 13%;
  border-left: 5px solid rgb(0, 176, 32);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#p-high-school #bh2 {
  border-left: 5px solid rgb(210, 0, 0);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#p-high-school #bh3 {
  border-left: 5px solid rgb(25, 65, 210);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#p-high-school #bh4 {
  margin-bottom: 21%;

  border-left: 5px solid rgb(158, 1, 147);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.book-high .high-book-text {
  flex: 1;
}

.book-high .high-book-text h2 {
  padding-bottom: 10px;
  font-size: 30px;
}

.book-high .high-book-text p {
  font-size: 20px;
      font-family: 'vazir';
}



.login-high-book {
  display: flex;
  padding: 0.5vw 1.5vw 0.70vw;
  border-radius: 3px;
  margin: 8px 8px 8px 0;
  color: #fbdedb;
  background-color: #fbdedb;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  font-family: cursive;
  font-weight: 800;
  font-size: .85em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  -webkit-box-shadow: 0em -0.3rem 0em rgba(0, 0, 0, 0.5) inset;
  -moz-box-shadow: 0em -0.3rem 0em rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0em -0.3rem 0em rgba(0, 0, 0, 0.1) inset;
}

#btn1 {
  background: rgb(0, 164, 30);
  border: 3px solid rgb(0, 176, 32);
}

#btn2 {
  background: rgb(210, 0, 0);
  border: 3px solid rgb(210, 0, 0);

}

#btn3 {
  background: rgb(25, 65, 210);
  border: 3px solid rgb(25, 65, 210);
}

#btn4 {
  background: rgb(158, 1, 147);
  border: 3px solid rgb(158, 1, 147);
}

.login-high-book:hover,
.login-high-book:focus {
  opacity: 0.8;
}

.login-high-book:active {
  -webkit-transform: scale(0.80);
  -moz-transform: scale(0.80);
  -ms-transform: scale(0.80);
  -o-transform: scale(0.80);
  transform: scale(0.80);
}





/* vision 123 **/
.vision {

  padding: 16% 10% 10% 10%;
  display: block;
  justify-content: center;
  color: rgba(0, 0, 0, .87);
  font-family: cursive, 'Roboto', sans-serif;
  background: white;
}

.vision .accordion {
  margin: auto;
  width: 80%;
}

.vision .accordion input {
  display: none;
}

.vision .box {
  position: relative;
  background: white;
  height: 64px;
  transition: all .15s ease-in-out;
}

.vision .box::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .24);
}

.vision header.one {
  background: rgb(0, 164, 30);
  z-index: 1;
  cursor: initial;
  box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px -2px rgba(0, 0, 0, .12), 0 2px 4px -4px rgba(0, 0, 0, .24);
}

.vision header.two {
  background: rgb(210, 0, 0);
  z-index: 1;
  cursor: initial;
  box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px -2px rgba(0, 0, 0, .12), 0 2px 4px -4px rgba(0, 0, 0, .24);
}

.vision header.three {
  background: rgb(25, 65, 210);
  z-index: 1;
  cursor: initial;
  box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px -2px rgba(0, 0, 0, .12), 0 2px 4px -4px rgba(0, 0, 0, .24);
}

.vision header.four {
  background: rgb(158, 1, 147);
  z-index: 1;
  cursor: initial;
  box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px -2px rgba(0, 0, 0, .12), 0 2px 4px -4px rgba(0, 0, 0, .24);
}

.vision header .box-title {
  margin: 0;
  font-weight: normal;
  font-size: 16pt;
  color: white;
  cursor: initial;
}

.vision .box-title {
  width: calc(100% - 40px);
  height: 64px;
  line-height: 64px;
  padding: 0 20px;
  display: inline-block;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.vision .box-content {
  width: calc(100% - 40px);
  padding: 30px 20px;
  font-size: 11pt;
  color: rgba(0, 0, 0, .54);
  display: none;
}

.vision .box-close {
  position: absolute;
  height: 64px;
  width: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}

input:checked+.box {
  height: auto;
  margin: 16px 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
}

input:checked+.box .box-title {
  border-bottom: 1px solid rgba(0, 0, 0, .18);
}

input:checked+.box .box-content,
input:checked+.box .box-close {
  display: inline-block;
}

.arrows section .box-title {
  padding-left: 44px;
  width: calc(100% - 64px);
}

.arrows section .box-title:before {
  position: absolute;
  display: block;
  content: '\203a';
  font-size: 18pt;
  left: 20px;
  top: -2px;
  transition: transform .15s ease-in-out;
  color: rgba(0, 0, 0, .54);
}

input:checked+section.box .box-title:before {
  transform: rotate(90deg);
}


.vision .box-content ul {
  list-style-type: none;
  font-size: 20px;
}

.vision .box-content ul li {
  padding: 1rem;
  border-bottom: 1px solid rgba(53, 53, 53, 0.325);
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.vision .fa-eye:hover {
  color: rgb(0, 164, 30);
}


/* single post ************************************/
#single-post-section {
  display: flex;
  margin-top: 40px;


}
#single-post-section #single-post {
  flex-basis: 100%;
  /*border-top: 1px solid rgb(13, 189, 205);*/
  border-top: 10px solid #EBEFF0;
  margin: 9% 2% 6% 2%;
  padding: 2rem;
  line-height: 2rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  background: white;


}

#single-post-section #single-post h1,
#single-post h2,
#single-post h3,
#single-post h4,
#single-post p {
  /*padding-bottom: 10px;*/
    margin-bottom: 10px;

}
#single-post-section #single-post p{
  text-align: justify;
    font-size: 18px;

}

#single-post-section #single-post h1 {
  text-align: center;
  font-size: 35px;
}

/*#single-post-section #single-post img {*/
/*  height: auto;*/
/*  width: 100%;*/
/*  object-fit: fill;*/
/*  max-width: 100% !important;*/
/*    border-radius: 0 0 50px 0;*/

/*}*/
#single-post-section #single-post figure.thumb-single img{
  border-radius: 0 0 50px 0;
  height: auto;
  width: 100%;
  object-fit: fill;
  max-width: 100% !important;
}

#single-post-section .sidebar {

  flex-basis: 33%;
  margin: 9% 2% 6% 1%;
  height: 50%;
}

.sidebar #related-post {
  /*box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;*/
  padding: 2rem;
  align-items: center;
  background: white;
  height: 50%;
  /*border-top: 10px solid #EBEFF0;*/
border: 10px solid #EBEFF0;
    border-radius: 40px 0px 40px 0px;
}



#single-post-section .sidebar h4 {
  text-align: center;
  border-bottom: 2px solid black;
}

#single-post-section .sidebar ul {
  margin: 0;
  list-style-type: none;
}

#single-post-section .sidebar ul li {
  display: flex;
  align-items: center;
  vertical-align: middle;
  line-height: 35px;
  border-bottom: 1px solid #9b9b9b;
}

#single-post-section .sidebar ul li a {
  display: flex;
  align-items: center;
  font-size: 15px;
  text-align: left;
  line-height: 25px;
  font-family: cursive;
  padding: 2px;
  flex: 1;
}

#single-post-section .sidebar #related-post img {
  width: 110px;
  height: 65px;
  object-fit: cover;
  margin: 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.sidebar #online-courses {
  padding-bottom: 2rem;
  align-items: center;
  border: 10px solid #EBEFF0;

  background: white;
  height: 50%;
  margin-bottom: 7%;
  border-radius: 0 40px 0 40px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
aside.sidebar #online-courses img{
width: 100%;
border-radius: 0 33px 0 0;
padding-bottom: 25px;
}
aside.sidebar #online-courses a h3{
  padding-left: 14px;
color: #000;

}

/* comment ************************************/
.comment-single .wrapper {
  width: 66.5%;
  background: rgba(0, 0, 0, 0.8);
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  float: left;
  margin-left: 2%;
  margin-bottom: 3%;
}


.comment-single .contact-form {
  display: flex;
  font-family: cursive;

}

.comment-single .input-fields {
  display: flex;
  flex-direction: column;
  margin-right: 4%;

}

.comment-single .input-fields,
.msg {
  width: 48%;
}

.comment-single .input-fields .input,
.msg textarea {
  margin: 10px 0;
  background: transparent;
  border: 0px;
  border-bottom: 2px solid #c5ecfd;
  padding: 10px;
  color: #c5ecfd;
  width: 100%;
  font-family: cursive;

}

.comment-single .msg textarea {
  height: 212px;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #c5ecfd;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #c5ecfd;
}

:-ms-input-placeholder {
  /* IE 10+ */
  color: #c5ecfd;
}

.comment-single .btn {
  background: rgb(13, 189, 205);
  text-align: center;
  padding: 15px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}

/*  test comment -------------------------------------------------------------------- */

#comments {
  display: flex;
  width: 66.5%;
  flex-direction: column;
  margin-top: 10px;
  direction: ltr;
  text-align: left;
  margin-left: 2%;
  margin-bottom: 3%;
}

.comment-list {
  list-style: none;
  width: 100%;
  float: right;
  margin: 20px 0;
}

/*-------------------------------------------------------------------------------
  17.Comment Section Styling
-------------------------------------------------------------------------------*/
#respond h3,
.comments-title {
  color: black;
  padding: 20px;
  font-size: 20px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  margin: 30px 0;
}

#commentform .comment-notes {
  margin-bottom: 20px;
}

#commentform label {
  display: block;
}

#commentform input[type="text"],
#commentform input[type="url"],
#commentform input[type="email"],
#commentform textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
  width: 100%;
  background-color: #f8f8f8;
  padding: 7px 10px;
  font-size: 18px;
}

#commentform input[type="submit"] {
  line-height: 38px;
  border-radius: 4px;
  padding: 0 20px;
  background-color: #fdb813;
  color: black;
  font-weight: bold;
  font-size: 16px;
  border: 0;
  position: relative;
  transition: all 0.4s;
  cursor: pointer;
}

#commentform input[type="submit"]:hover {
  background-color: #6e551a;
  color: white;
}

.comment-body .comment-author {
  float: left;
  width: 30%;
}

.comment-body .comment-author .fn {
  display: block;
  margin-top: 10px;
}

.comment-body {
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid #cccccc85;
  padding: 30px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 25px rgba(0, 0, 0, .05);
}

.comment {
  margin-bottom: 30px;
}

.comment-list,
.children {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.comment-list>li:first-child {
  border-top: 0;
  padding-top: 0;
}

.comment {
  border-top: 1px solid #ccc;
  padding-top: 30px;
  position: relative;
}

.children .comment {
  border-top: 0;
}

.comment .children {
  border-top: 1px dotted #5e666b;
  border-left: 1px dotted #5e666b;
  padding-top: 10px;
  padding-left: 10px;
}

.children {
  margin-left: 100px;
}

.children img {
  max-width: 75px;
  height: auto;
}

.children .fn {
  font-size: 12px;
}

.says {
  display: none;
}

.comment-metadata {
  margin-left: 30%;
}

.comment-metadata a {
  color: #5e666b;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.comment-reply-link {
  position: absolute;
  top: 15px;
  right: 0;
  font-size: 12px;
  color: #1a3794;
}

/* --------------------------------- Start Contact Me--------------------------------------- */
#contact-me {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
      margin-top: 6%;
}

#contact-me .container {
  width: 85%;
  background: #fff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#contact-me .container .contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#contact-me .container .contact-content .left-side {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}

.contact-content .left-side::before {
  content: '';
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}

.contact-content .left-side .details {
  margin: 14px;
  text-align: center;
}

.contact-content .left-side .details i {
  font-size: 30px;
  color: rgb(13, 189, 205);
  margin-bottom: 10px;
}

.contact-content .left-side .details .topic {
  font-size: 18px;
  font-weight: 500;
}

.contact-content .left-side .details .text-one,
.contact-content .left-side .details .text-two {
  font-size: 14px;
  color: #afafb6;
}

#contact-me .container .contact-content .right-side {
  width: 75%;
  margin-left: 75px;
}

.contact-content .right-side .topic-text {
  font-size: 23px;
  font-weight: 600;
  color: rgb(13, 189, 205);
}

.wpcf7-form p {
  height: 50px;
  width: 100%;
  margin: 12px 0;

}

.wpcf7-form p input,
.wpcf7-form p textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #F0F1F8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
      text-align: left;
}

.wpcf7-form p input::placeholder {
  color: rgba(57, 57, 57, 0.6);
  opacity: 1;
  /* Firefox */
  text-align: left;
}

.wpcf7-form p textarea::placeholder {
  color: rgba(57, 57, 57, 0.6);
  opacity: 1;
  /* Firefox */
  text-align: left;

}

.wpcf7-form p input:-ms-input-placeholder,
.wpcf7-form p textarea:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: rgba(57, 57, 57, 0.6);
  text-align: left;

}

.wpcf7-form p input::-ms-input-placeholder,
.wpcf7-form p textarea::-ms-input-placeholder {
  /* Microsoft Edge */
  color: rgba(57, 57, 57, 0.6);
  text-align: left;

}

.wpcf7-form p:nth-child(4) {
  min-height: 110px;

}

.wpcf7-form p .wpcf7-textarea {
  padding-top: 6px;

}

.wpcf7-form p:nth-child(5) {
  display: inline-block;
  margin-top: 12px;
}

.wpcf7-form p:nth-child(5) input[type="submit"] {
  color: #fff;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgb(13, 189, 205);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-form p:nth-child(5) input[type="submit"]:hover {
  background: rgb(90, 230, 243);

}

.phone .media-one ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.phone .media-one ul li {
  padding: 0.60rem;
}

.phone .media-one i {
  font-size: 20px !important;
}

.phone .media-one .fa-telegram:hover,
.phone .media-one .fa-telegram:focus {
  color: #16a7eb;
  transform: scale(1.1);

}

.phone .media-one .fa-whatsapp:hover,
.phone .media-one .fa-whatsapp:focus {
  color: #0db11e;
  transform: scale(1.1);

}

.phone .media-one .fa-linkedin-in:hover,
.phone .media-one .fa-linkedin-in:focus {
  color: #053fc4;
  transform: scale(1.1);

}

.phone .media-one .fa-comment:hover,
.phone .media-one .fa-comment:focus {
  color: #ff9009;
  transform: scale(1.1);

}

.phone .media-one .fa-instagram:hover,
.phone .media-one .fa-instagram:focus {
  color: #f326f3;
  transform: scale(1.1);
}

@media (max-width: 950px) {
  #contact-me .container {
    width: 90%;
    padding: 30px 40px 40px 35px;
  }

  #contact-me .container .contact-content .right-side {
    width: 75%;
    margin-left: 55px;
  }
}

@media (max-width: 820px) {
  #contact-me .container {
    margin: 40px 0;
    height: 100%;
  }

  #contact-me .container .contact-content {
    flex-direction: column-reverse;
  }

  #contact-me .container .contact-content .left-side {
    width: 100%;
    flex-direction: row;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }

  #contact-me .container .contact-content .left-side::before {
    display: none;
  }

  #contact-me .container .contact-content .right-side {
    width: 100%;
    margin-left: 0;
  }
}

/* ------------------------------ End Contact Me ----------------------------------- */


/* ------------------------------ start table ---------------------------------------*/

.wp-block-table {
  border: 2px solid rgb(29 29 29);
  border-radius: 10px 10px 0 0;
}

.wp-block-table table {
  width: 100%;
  border: 2px solid rgb(13, 189, 205);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border-collapse: collapse;

}

.wp-block-table>table>thead {
  background: #207140;
  color: white;

}

.wp-block-table td,
.wp-block-table th {
  border: 2px solid;
  padding: 0.5em;
  /*text-align: center;*/

}

.wp-block-table th {
  border-radius: 10px 10px 0 0;
  text-align: center;

}

.wp-block-table td {
  color: #2b2d42;
}
/* add bullet list for table*/
.wp-block-table ul li {
  margin-left: 26px;
}
/* ------------------------------ End table ---------------------------------------- */
/* ------------------------------- Start Writingcorrection ------------------------- */

.writingcorrection {
  display: flex;
  flex-direction: column;
  margin: 170px 2% 3% 2%;
  background-color: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  line-height: 2.25rem;
  font-family: 'vazir';
}

#image_header_wr {
  width: 100%;
  height: auto;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}


.button_for_change_page {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;
}


/* CSS */
.button-35 {
  align-items: center;
  background-color: firebrick;
  box-shadow: transparent 0 0 0 3px, rgba(18, 18, 18, .1) 0 6px 20px;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  margin: 0;
  outline: none;
  padding: 1rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s, -webkit-box-shadow .2s;
  white-space: nowrap;
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-35:hover {
  box-shadow: #121212 0 0 0 3px, transparent 0 0 0 0;
}








.parttwo_wr {
  display: flex;
  margin: 5%;
  align-items: center;
}

#image_parttwo {
  width: 30%;
  height: auto;
  margin-right: 3px;
}

.content_parttwo {
  display: flex;
  flex-direction: column;
  text-align: right;
  margin-left: 3px;
  direction: rtl;

}

.content_parttwo.en {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-right: 3px;
  direction: ltr;
}

.content_parttwo p {
  font-size: 19px;
}

.content_parttwo h2 {
  border-bottom: outset;
  width: 64%;

}

.content_parttwo #parag_parttwo {
  padding-top: 2%;
}

.content_partthree {
  display: flex;
  flex-direction: column;
  direction: rtl;
  margin: 5%;
}

.content_partthree.en {
  display: flex;
  flex-direction: column;
  direction: ltr;
  margin: 7%;
}

.content_partthree #list_part3 {
  padding-top: 2%;
  margin-right: 1%;
  font-size: 19px;
}

.content_partthree #text_part3 {
  direction: ltr;
}

.content_partthree h2 {
  border-bottom: outset;
  width: 50%;
}

.sample_partthree {
  border-top: 2px dotted black;
  margin-top: 3%;
  padding-top: 3%;
}

.sample_partthree h2 {
  border: none;
}

.sample_writting_download {
  display: flex;
  flex-direction: row;
  font-size: 30px;
  text-align: center;
}

.button-65 {
  appearance: none;
  backface-visibility: hidden;
  background-color: #2f80ed;
  border-radius: 10px;
  border-style: none;
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  height: 50px;
  letter-spacing: normal;
  line-height: 1.5;
  outline: none;
  overflow: hidden;
  padding: 14px 30px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: top;
  white-space: nowrap;
}

.button-65:hover {
  background-color: #1366d6;
  box-shadow: rgba(0, 0, 0, .05) 0 5px 30px, rgba(0, 0, 0, .05) 0 1px 4px;
  opacity: 1;
  transform: translateY(0);
  transition-duration: .35s;
}

.button-65:hover:after {
  opacity: .5;
}

.button-65:active {
  box-shadow: rgba(0, 0, 0, .1) 0 3px 6px 0, rgba(0, 0, 0, .1) 0 0 10px 0, rgba(0, 0, 0, .1) 0 1px 4px -1px;
  transform: translateY(2px);
  transition-duration: .35s;
}

.button-65:active:after {
  opacity: 1;
}

.sam-wr-left {
  padding: 10px;
  flex: 100%;
  border: 2px solid black;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

.sam-wr-center {
  padding: 10px;
  flex: 100%;
  border: 2px solid black;
  color: #000000d9;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}


.sam-wr-right {
  padding: 10px;
  flex: 100%;
  border: 2px solid black;
  color: #000000d9;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}


.send-writting {
  display: flex;
  flex-direction: column;
  direction: rtl;
  margin: 5%;
  font-family:'Mulish','vazir' !important;

}

.send-writting.en {
  direction: ltr;
}

div.send-writting.en h2 {
  border-left: 7px solid firebrick;
  border-right: 0px;

}

.send-writting span {
  font-weight: bold;
  font-size: 20px;
}

/*  table   */
.writingcorrection table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

.writingcorrection table caption {
  font-size: 2em;
  margin: .5em 0 .75em;
  font-weight: bold;
  color: darkred;
}

.writingcorrection table tr {
  /* background-color: #f8f8f8; */
  border: 1px solid #ddd;
  padding: .35em;
}

.writingcorrection table th,
.writingcorrection table td {
  padding: .625em;
  text-align: center;
}

.writingcorrection table th {
  font-size: 1.3em;
  /* letter-spacing: .1em; */
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: 3px solid rgba(10, 10, 10, 0.14);
}
.writingcorrection table td {

  background-color: rgba(0, 0, 0, 0.01);
  border: 3px solid rgba(10, 10, 10, 0.14);
}
.writingcorrection thead{
  border: 4px solid rgba(10, 10, 10, 0.14);

}

@media screen and (max-width: 600px) {
 .writingcorrection table {
    border: 0;
  }

 .writingcorrection table caption {
    font-size: 1.3em;
  }

 .writingcorrection table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .writingcorrection table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }

 .writingcorrection table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }

 .writingcorrection table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

 .writingcorrection table td:last-child {
    border-bottom: 0;
  }
}


div.send-writting h2 {
  border-right: 7px solid firebrick;
  padding: 1%;
  background-color: gainsboro;
}

div.text_for_payment {

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
  font-size: 21px;
  font-weight: 800;
  text-align: center;
}


/* ------------------------- End Writingcorrection --------------------------------- */

/* ----------------------------------- Start lang switcher ------------------------- */
.lang-item {
  display: inline;
  list-style: none;
}

#access img {
  margin-bottom: 0px;
}

/* ----------------------------------- End lang switcher --------------------------- */

/* -------------------------------- Start 404 Page --------------------------------- */

.notfound.container {
  display: block;
  text-align: center;
  margin-top: 20%;
  margin-bottom: 20%;
  /* height: 50vh; */
}

.four1 {
  animation: swing ease-in-out 1.5s infinite alternate;
  display: inline-block;
}

.zero {
  animation: swing2 ease-in-out 1.5s infinite alternate;
  display: inline-block;
}

.four2 {
  animation: swing3 ease-in-out 1.5s infinite alternate;
  display: inline-block;
}

@keyframes swing {
  0% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(-3deg);
  }
}

@keyframes swing2 {
  0% {
    transform: rotate(-3deg);
  }

  100% {
    transform: rotate(3deg);
  }
}

@keyframes swing3 {
  0% {
    transform: rotate(-3deg);
  }

  100% {
    transform: rotate(8deg);
  }
}

.notfound h1 {
  font-family: 'Fjalla One';
  text-align: center;
  color: #666;
}

/* --------------------------------End 404 Page -------------------------------------*/
/* ----------------------- Start General English ----------------------------------- */
.cards {
  display: flex;
  flex-direction: row;
  gap: 50px;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  min-height: 100vh;
  padding: 7rem 7% 6% 7%;
}

.cards .white {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  background-color: white;
}

.cards .blue {
  background-color: #1111;
}

.cards .green {
  background-color: #1111;
}

.cards .card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 170px;
  width: 50%;
  color: rgb(30, 30, 30);
  cursor: pointer;
  transition: 400ms;
  flex: 40%;

}

.cards .card p.tip {
  font-size: 2em;
  font-weight: 800;
}

.cards .card hr {
  background: linear-gradient(to right, #b10000, #b10000, #ffff 70%);
  height: 6px;
  width: 100%;
  border: none;
}

.cards .card a {
  color: black;
}

.cards .card a:hover {
  color: rgba(0, 0, 0, 0.712);
}

.cards .card p.second-text {
  font-size: 1em;
  font-weight: 700;
  color: #00000080;
}

.cards .card:hover {
  transform: scale(1.1, 1.1);
}

.cards:hover>.card:not(:hover) {
  transform: scale(0.9, 0.9);
}

@media (max-width: 800px) {
  .cards .card {
    flex: 100%;

  }
}

/* ----------------------- End General English ----------------------------------- */


/* ------------------------------ Start Comming Soon ------------------------------*/
#comming_soon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  height: 100vh;
  padding: 0 30px;
}

svg {
  width: 120px;
}

.logo {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  width: 100px;
  margin: auto;
}

/* ------------------------------ End Comming Soon ------------------------------*/
/* ------------------------------ Start Grammar ------------------------------*/
.mainGr {
  width: 100%;
  min-height: 100vh;
}

.mainGr .container {
  position: relative;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0px 3px 6px 0px rgba(140, 149, 159, 0.15);
  /* Need to play around with z-index more with backgrounds*/
  z-index: 0;
  margin-top: 160px;
  margin-bottom: 160px;
  padding-top: 43px;
      background-color: white;
        padding-bottom: 90px;


}

.mainGr .container h1 {
  font-size: 3rem;
  text-align: center;
  position: absolute;
  top: 10px;
    font-family: Rocher;

}

.mainGr .container .card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 100px 0 38px 0;
}

.mainGr .container .card:nth-child(odd) {
  flex-direction: row;
}

.mainGr .container .card:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.mainGr .container .card .imgBx {
  position: relative;
  left: 25px;
  width: 300px;
  height: 300px;
  background: #ff0;
  z-index: 1;
}

.mainGr .container .card:nth-child(even) .imgBx {
  left: -25px;
}

.mainGr .container .card .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mainGr .container .card .contentBx {
  position: relative;
  right: 25px;
  width: 600px;
  height: 250px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 60px 20px 100px;
}

.mainGr .container .card:nth-child(even) .contentBx {
  right: -25px;
  padding: 20px 100px 20px 60px;
}

.mainGr .container .card .contentBx:before {
  content: '';
  position: absolute;
  top: -50px;
  bottom: -50px;
  left: 0;
  right: 0;
  background: #000;
  z-index: -1;
}

.mainGr .container .card .contentBx h2 {
  font-size: 35px;
  color: #f5e504;
}

.mainGr .container .card .contentBx p {
  margin-top: 10px;
  color: #f5e504;
  font-size: 20px;
}

.mainGr .container .card .contentBx a {
  display: inline-block;
  margin-top: 15px;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border: 1px solid #fff;
}

@media (max-width: 1000px) {
  .mainGr .container .card {
    flex-direction: column;
    max-width: 350px;
    margin-left: 15px;
    margin-right: 15px;

  }

  .mainGr .container .card .imgBx {
    width: 100%;
    height: 250px;
    left: 0;
  }

  .mainGr .container .card .contentBx {
    width: 100%;
    height: auto;
    right: 0;
    padding: 30px;
    text-align: center;
  }

  .mainGr .container .card .contentBx:before {
    top: 0;
    bottom: 0;
  }

  .mainGr .container .card:nth-child(even) .imgBx {
    left: 0;
  }

  .mainGr .container .card:nth-child(even) .contentBx {
    right: 0;
    padding: 30px;
  }

  .mainGr .container {

    margin-top: 20%;

  }
}

/* ------------------------------ End Grammar ------------------------------*/

/* ----------------- Start Tooltip Start-Lesson-Single-Page --------------- */

.tooltip {
  --r: 30px; /* control the radius */
  --h: 50px; /* control the height of the tail */
  --p: 30%;  /* control the position of the tail */

  padding: var(--r);
  border-bottom: var(--h) solid #0000;
  --m:
    /* adjust the angles of the 1st conic-gradient to control the shape */
    conic-gradient(from 30deg at var(--p) 100%,#0000,#000 1deg 30deg,#0000 31deg)
     0 100%/100% calc(100% - var(--r)) no-repeat,
    conic-gradient(at calc(var(--r)/2) calc(var(--r)/2),#000 270deg,#0000 0)
     0 0/calc(100% - var(--r)/2) calc(100% - var(--r)/2) padding-box,
    radial-gradient(50% 50%,#000 98%,#0000) 
     0 0/var(--r) var(--r) space padding-box;
  -webkit-mask: var(--m);
          mask: var(--m);
  
    
  /* margin: 50px auto; */
  margin: 50px auto 50px 0;
  max-width: 350px;
  font-size: 30px;
  background: linear-gradient(135deg,#00f1fe57,rgb(239 239 239 / 37%)) border-box;
  color: #000;
  font-weight: 900;
}

/* ----------------- End Tooltip Start-Lesson-Single-Page --------------- */

/* ----------------------- Start Button Block Editor---------------------------*/
.wp-block-buttons{
  /* float: left; */
  margin: 35px 0 35px 0;
}

/* ----------------------- End Button Block Editor---------------------------*/
/* ------------------------ Start Arrow Exercise --------------------------- */
.patharrow{
  background: #1f974b;
    display: inline-block;
    padding: 20px;
    padding-right: 20px;
    font-size: 1.8em;
    max-width: 350px;
    position: relative;
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%);
    color: white;
    font-weight: 900;
    margin: 25px auto;
    border-bottom: solid 3px rgba(0, 0, 0, 0.3);
  /* background:red;
  display: inline-block;
  padding: 10px;
  padding-right:20px;
  font-size: 1.8em;
  max-width: 200px;
  position: relative;
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%); */
}

/* ------------------------ End Arrow Exercise --------------------------- */
/* ---------------------- Start Box Check -------------------------------- */

#markcheck {
  content: "\2611";
}

/* ---------------------- End Box Check -------------------------------- */

/* ----------------------------------- start paginate ------------------------- */
.mainGr .container .wrapper{
  position: absolute;
  bottom: 0;
    width: 100%;
  background: rgba(35, 8, 90, 0.15);
}
.page-numbers,
.page-numbers li a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.page-numbers li { 
  /*background-color:  #23085a; */
  margin: 1px;  
}

.page-numbers a {
  font-weight: 300;
  padding-top: 1px;
  text-decoration:none;  
  /*border: 1px solid rgba(0,0,0,.25);*/
  border-left-width: 0;
  min-width:44px;
  min-height:44px;
  /*color: rgba(255,255,255,.85);  */
  box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,.35);
}
.page-numbers span{
  font-weight: 300;
  padding-top: 1px;
  text-decoration:none;  
  /*border: 1px solid rgba(0,0,0,.25);*/
    border-radius: 50%;

  border-left-width: 0;
  min-width:44px;
  min-height:44px;
  /* color: rgba(255,255,255,.85);   */
 color: #ffffff;
  box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,.35);
  background-color: #00953B;
}
.page-numbers li:not([class*="current"]) a:hover { 
  background-color: rgba(255,255,255,.2);
  border-top-color: rgba(0,0,0,.35);
  border-bottom-color: rgba(0,0,0,.5);
}

.page-numbers li:not([class*="current"]) a:focus,
.page-numbers li:not([class*="current"]) a:active {
  box-shadow: 0px 0px 10px 1px rgba(0,0,0,.25);
  border-left-width:1px;
}

.page-numbers li:first-of-type a {
  border-left-width: 1px;
}

.page-numbers li:first-of-type span,
.page-numbers li:last-of-type span,
.page-numbers li:nth-of-type(2) span,
.page-numbers li:nth-last-of-type(2) span { 
  /* screen readers only */
  /*position: absolute;*/
  top: -9999px;
  left: -9999px;
}

.page-numbers li:first-child a::before,
.page-numbers li:last-child a::after,
.page-numbers li:nth-of-type(2) a::before,
.page-numbers li:nth-last-of-type(2) a::after {  
  display: inline-block;
  font-family: Fontawesome;  
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
}

/* .page-numbers li:first-child a::before,
.page-numbers li:last-child a::after { content: "\f100"; } */
/* \f104 */
/* .page-numbers li:nth-of-type(2) a::before,
.page-numbers li:nth-last-of-type(2) a::after { content: "<"; } */

.page-numbers li:last-child a::after,
.page-numbers li:nth-last-of-type(2) a::after { transform: rotate(180deg); }

.page-numbers li.current a { 
  padding-top:.25em;
  color: rgba(255,255,255,1);
  background-color: rgba(255,255,255,.15);
  box-shadow: inset 0px 2px 1px 0px rgba(0,0,0,.25);
  cursor: default;
  pointer-events: none;
}

@media only screen and ( max-width: 64.063em ) {  
  .page-numbers li:first-child,
  .page-numbers li:last-child {
    /* screen readers only */
    /*position: absolute;*/
    top: -9999px;
    left: -9999px;
  }

  .page-numbers li:nth-of-type(2) a { border-left-width: 1px; }

}

@media only screen and ( max-width: 40.063em ) {  
  .page-numbers li {
    /* screen readers only */
    /*position: absolute;*/
    top: -9999px;
    left: -9999px;
  }

  .page-numbers li.current,
  .page-numbers li:first-of-type,
  .page-numbers li:last-of-type,
  .page-numbers li:nth-of-type(2),
  .page-numbers li:nth-last-of-type(2){
    position: initial;
    top: initial;
    left: initial;
  }

  .page-numbers li:nth-of-type(2) a { border-left-width: 0; }

}

@media only screen and ( max-width: 30.063em ) {  
  
  h1 { font-size: 1.35em !important; }
  
  .page-numbers li:first-child,
  .page-numbers li:last-child {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .page-numbers li:nth-of-type(2) a { border-left-width: 1px; }
  .page-numbers li:nth-of-type(2) a::before,
.page-numbers li:nth-last-of-type(2) a::after { content: "<"; }

}

@media only screen and ( max-width: 15.063em ) {  /* For watches? */
  
  .page-numbers li { width: 50%;}
  
  .page-numbers li.current { 
    order: 2;
    width: 100%;
    border-left-width: 1px;
      
  }  
  .page-numbers li:nth-of-type(2) a::before,
  .page-numbers li:nth-last-of-type(2) a::after { content: "<"; }
}


/* -------------------------------- end paginate ------------------------------- */
/* ------------------------------- reading ------------------------------------- */

.reading-content {
  margin-top: 14%;

  /* min-height: 100vh; */
  padding: 20px;
  display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.reading-content img {
  height: 350px;
  /* height: auto; */
  /* max-width: 100%; */
  width: 100%;

  transform: scale(1.0);
  transition: transform 0.4s ease;
  /* flex: 49%; */
/* padding: 1vw; */
padding: 0.2vw;

}

.img-box {
  box-sizing: content-box;
  /* margin: 10px; */
  /* height: 250px; */
  /* height: auto;
  width: 100%; */
  overflow: hidden;
  display: inline-block;
  color: white;
  position: relative;
  /* background-color: white; */
  flex: 49%;
  margin:0.5px;
  
  filter: grayscale(100%);
  opacity: 0.9;
  width: 49%;
  height: 350px;
}

.reading-content .caption {
  position: absolute;
  bottom: 5px;
  left: 20px;
  /* bottom: 50%;
  left: 40%; */
  opacity: 0.0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
  /* height: 250px; */
  height: 100%;
  width: 100%;
  /* background-color:rgba(0, 0, 0, 0.6); */
  position: absolute;
  top: 0;
  left: 0;
 
/*   transition: background-color 0.3s ease; */
}

.img-box:hover img { 
  /* transform: scale(1.1); */
}
.img-box:hover{
  filter: grayscale(0%);
  opacity: 1;

}
.img-box:hover .transparent-box {
  /* background-color:rgba(0, 0, 0, 0); */

}

.img-box:hover .caption {
  transform: translateY(-20px);
  opacity: 1.0;
}

.img-box:hover {
  cursor: pointer;
}
.reading-content .caption > p:nth-child(1) {
  font-size: 1.75em;
  font-weight: 900;
}
.reading-content .caption > p:nth-child(2) {
  font-size: 0.8em;
}

.opacity-low {
  opacity: 0.5;
}

/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 800px) {
  .img-box {
    flex: 100%;
    width: 100%;
  }
  .reading-content .caption {
    bottom: 5px;
    left: 20px;
  }
  .reading-content .caption > p:nth-child(1) {
    font-size: 1.75em;
    font-weight: 900;
  }
}

/******************* tab reading**********************/
.reading-content main {
  max-width: 100%;
  margin: auto;
}

.reading-content main h1 {
  text-align: center;
  margin-top: 0;
  font-family: Rocher;
    font-size: 3rem;


}

@font-palette-values --Mint {
  font-family: Rocher;
  base-palette: 2;
}

.mint {
  font-palette: --Mint;
}

.reading-content main h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.reading-content main .tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  border-radius: 10px 10px 0 0;
}

.radiotab {
  position: absolute;
  opacity: 0;
}

.tabs .label {
  width: 100%;
  padding: 22px 20px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 23px;
  color: #7f7f7f;
  transition: background .3s, color .3s;
  border: none;
  border-radius: 0;
  text-align: center;
}

.tabs .label:hover {
  background: #d8d8d8;
}

.tabs .label:active {
  background: #ccc;  
}

.radiotab:checked + .label {
  background: #fff;
  color: #000;
  border-top: solid 2px #000;
  border-left: solid 2px #000;
  border-right: solid 2px #000;
  border-bottom: none;
}

.tabs .panel {
  display: none;
  padding: 20px 30px 30px;
  background: #fff;
  width: 100%;
  border-left: solid 2px #000;
  border-bottom: solid 2px #000;
  border-right: solid 2px #000;
}

.radiotab:checked + .label + .panel {
  display: block;
}

@media (min-width: 600px) {
  .tabs .panel {
    order: 99;
  }

  .tabs .label {
    width: 20%;
    font-size: 12px;
    border-radius: 10px 10px 0 0;
    border-bottom: solid 2px #000;
  }
  .reading-content main h2 {
    font-size: 25px;
  }
}
/* ------------------------------------- end reading -------------------------- */



























