:root {
  --green1: #427f77;
  --green2: #094239;
  --green3: #002623;

  --main1: var(--green2);
  --main2: #eeeeee;
  --main3: #988561;

  --circle: 500px;

  --tringle: 300px;
  --tringleMargin: 200px;

  --transNew1: all 0.6s cubic-bezier(0.65, -0.01, 0, 0.92);
}

#header {
  box-shadow: 0 0 20px 0px #00000057;
}

.newnavbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
@media only screen and (min-width: 991px) {
  .newnavbar > *,
  .newnavbar > .offcanvas {
    width: calc(100% / 3) !important;
    flex-grow: unset !important;
    display: flex;
    justify-content: center;
  }
}
.newnavbar > *:first-child {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  justify-content: center;
  color: #444;
}
.newnavbar > *:first-child > *:first-child {
  font-size: 118% !important;
  color: var(--green2);
}
.glow-effect {
  position: relative;
  z-index: -1;
}

.glow-effect:before,
.glow-effect:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.glow-effect:after {
  background: linear-gradient(
    0deg,
    /* rgb(12 100 86) 0%, */ rgba(9, 66, 57, 0) 40%,
    rgba(9, 66, 57, 0) 60%,
    rgb(12 100 86 / 44%) 100%
  );
}
.glow-effect .devider {
  transform: scale(-1);
  position: absolute;
  bottom: 0;
}
.glow-effect .devider path {
  fill: rgb(12 100 86);
}
.navbar-toggler {
  border: 0;
}

.glow-effect > div {
  position: relative;
  min-height: 450px;
  height: 50vh;
}
.glow-effect > div img {
  object-fit: cover;
  object-position: 50%;
  width: 100%;
  height: 100%;
}
.alert-danger,
.alert-wrapper .alert-danger {
  display: none !important;
}
html,
body {
  font-family: "itf Qomra Arabic", sans-serif !important;
}

body {
  direction: rtl;
  overflow-x: hidden;
  background: var(--main2);
}

html,
body,
.dialog-off-canvas-main-canvas,
#page-wrapper {
  height: 100%;
}
#customModal {
  position: fixed;
  overflow: hidden;
  z-index: 999;
  inset-block: 0;
  inset-inline: 0 auto;
  background: linear-gradient(45deg, #e4e4e4, #d8d8d8);
  color: var(--main2);
  width: 0;
  transition: width 0.75s cubic-bezier(0.69, 0.07, 0.22, 0.93);
}

#customModal.open {
  width: 100%;
}
#customModal > * {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.69, 0.07, 0.22, 0.93);
}
#customModal.open > * {
  transition-delay: 1s;
  opacity: 1;
  color: var(--main2);
}
.classNo {
  font-size: 200%;
  color: var(--main3);
}
.classSub {
  font-size: 160%;
  color: #383838;
}
.noStyle {
  width: 50px;
  height: 50px;
}
.noStyle,
.noStyle:hover,
.noStyle:focus,
.noStyle:focus-within {
  background: none;
  border: 0;
  box-shadow: none;
}

.classVidsContent {
  margin: 0;
  padding: 0;
  margin-top: 20px;
}
.classVidsContent li {
  list-style-type: none;
  margin-bottom: 18px;
}
.tt {
  position: absolute;
  width: var(--tringle);
  height: var(--tringle);
  z-index: 9999;
  transform: rotate(45deg);
}
.t1 {
  top: calc(-1 * var(--tringleMargin));
  bottom: auto;
  inset-inline: calc(-1 * var(--tringleMargin)) auto;
}
.t2 {
  top: auto;
  bottom: calc(-1 * var(--tringleMargin));
  inset-inline: auto calc(-1 * var(--tringleMargin));
}
.t1:before,
.t1::after,
.t2:before,
.t2:after {
  content: "";
  width: 300px;
  height: 300px;
  background-color: #094239;
  display: flex;
  position: absolute;
  opacity: 0.5;
}
.t1:before {
  top: -15px;
  inset-inline: auto -15px;
}
.t2:before {
  top: -15px;
  inset-inline: auto -15px;
}
#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

#page:before {
  /* content: "";
    position: absolute;
    width: var(--circle);
    height: var(--circle);
    border: 24px solid #2326371c;
    border-radius: 800px;
    top: calc((var(--circle) / 2) * -1);
    left: calc((var(--circle) / 2) * -1); */
}

i,
a,
a:hover,
a:focus {
  text-decoration: none;
  transition: all 0.25s;
  color: var(--green1);
}

.newBg {
  background: url(../imgs/bg1.svg);
  height: 60vh;
  /* width: 50vw; */
  position: fixed;
  inset: 0;
  opacity: 0.5;
}

.newBg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    143deg,
    rgba(238, 238, 238, 0.7) 0%,
    rgba(238, 238, 238, 1) 40%
  );
  /* background-size: 80%; */
}

ul,
li,
.item-list ul,
.item-list ul li {
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.site-footer {
  margin-block: auto 0;
  padding: 0px 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  color: #ffffff9e;
}

.site-footer svg path {
  fill: var(--main1);
}

.the-footer {
  background: var(--main1);
  padding-block: 10px;
}

.nav-item a {
  font-weight: 500;
}

.nav-item.active a {
  color: var(--main1) !important;
}

.navbar-brand {
  /* width: 110px; */
}

.navbar-brand img {
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  width: unset;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  /* justify-content: space-between; */
}
.navbar-brand img {
  width: 100px !important;
}
.navbar-brand > span {
  display: flex;
  flex-direction: column;
}
.navbar-brand {
  display: flex;
  justify-content: center;
}

.navbar-brand img {
  /* width: 100%; */
  margin-inline: 10px;
}

.navbar-brand > span > span:first-child {
  font-size: 82%;
  color: #111;
}

.navbar-brand > span > span:last-child {
  font-size: 82%;
  color: #232637;
}

.classes .row {
  display: flex;
  justify-content: flex-start;
}

.classes .row > div {
  width: calc((100% / 3) - 0px);
  padding-right: 12px;
  padding-left: 12px;
  margin-bottom: 20px;
}

.per-class {
  display: flex;
  border: 1px solid var(--main1);
  justify-content: flex-start;
  color: #333;
  font-weight: 500;
  border-radius: 5px;
  height: 100%;
}

.per-class:hover {
  color: #333;
  background: #ffffff94;
}

.per-class .icon {
  width: 66px;
  /* height: 60px; */
  background: url(../imgs/books.svg);
  background-size: 78%;
  background-repeat: no-repeat;
  background-position: 50%;
  opacity: 0.7;
  display: flex;
}

.per-class .title {
  display: flex;
  flex-grow: 1;
  padding: 10px;
  flex-direction: column;
  font-size: 15px;
  justify-content: center;
}

.per-class .title > span:first-child {
  font-size: 20px;
  margin-bottom: 2px;
  color: var(--main3);
}

#page-wrapper {
  position: relative;
  z-index: 1;
  /* overflow-x: hidden; */
}

.syria {
  width: 30%;
  position: absolute;
  left: 0;
}

.syria path {
  fill: #000;
  opacity: 0.1;
}

.top-svg {
  position: absolute;
  inset: 0;
  bottom: auto;
  transform: scale(-1);
  opacity: 0.16;
  width: 100%;
  z-index: 2;
}

.cr {
  text-align: center;
}

.type-h {
  text-align: center;
  font-size: 26px;
  margin-top: 20px;
  color: var(--main3);
}

/*views-exposed-form*/
.views-exposed-form .d-flex {
  width: 100%;
}

.js-form-item-type label,
.js-form-item-field-type-target-id label {
  display: none !important;
}

.views-exposed-form .js-form-item {
  width: 100%;
  background: transparent;
}

.views-exposed-form .bef-links {
  border-radius: 4px;
  background: transparent;
  border: 0;
  margin-bottom: 15px;
}

.views-exposed-form .bef-links ul {
  padding: 0;
  display: flex;
  font-size: 22px;
  justify-content: center;
}

.views-exposed-form .bef-links ul li {
  list-style-type: none;
  margin-inline: 15px;
  font-size: 20px;
}

.nav-item a,
.views-exposed-form .bef-links ul li a {
  position: relative;
}

.nav-item a:before,
.views-exposed-form .bef-links ul li a:before {
  position: absolute;
  content: "";
  height: 2px;
  right: 0;
  bottom: -10px;
  width: 100%;
  background: var(--main3);
  transition: all 0.25s cubic-bezier(0.42, 0, 0.29, 0.99);
}

.views-exposed-form .bef-links ul li a:hover:before {
  width: 0%;
}

.nav-item:not(:last-child) {
  margin-inline-end: 15px;
}

.nav-item a {
  padding-inline: 0 !important;
}

.nav-item a:before {
  width: 0;
  bottom: -1px !important;
}

.nav-item a.is-active {
  color: var(--main1);
}

.nav-item a:hover:before,
.nav-item a.is-active:before {
  width: 100%;
}

.bef-link--selected {
  color: var(--main1);
}

.bef-link--selected:before {
  height: 2px !important;
  border-bottom: 2px dashed var(--main1);
  background: #ffffff00 !important;
}

.views-exposed-form .bef-links ul li:first-child {
  /* display: none; */
}

.per-link svg {
  width: 30px;
  height: auto;
}

.field--name-field-book-title {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--green2);
}

.per-link {
  display: flex;
  margin-block: 6px;
  align-items: center;
  font-size: 15px;
}

.per-link span {
  position: relative;
  display: inline-flex;
}

.per-link span:before {
  content: "";
  position: absolute;
  height: 2px;
  right: 0;
  bottom: -3px;
  background: var(--main1);
  width: 10px;
  transition: all 0.3s cubic-bezier(0.42, 0, 0.16, 1);
}

.per-link:hover span:before {
  width: 100%;
}

.view-get-general-type .views-field-field-type > div,
.view-get-profession .views-field-field-profession > div,
h1.title {
  font-size: 22px;
  margin-top: 40px;
  margin-inline-start: 12px;
  position: relative;
  padding-inline-start: 40px;
}

.view-get-general-type .views-field-field-type > div:before,
.view-get-profession .views-field-field-profession > div:before,
h1.title:before {
  content: "";
  height: 2px;
  width: 30px;
  background: var(--main1);
  position: absolute;
  top: 15px;
  right: 0px;
}

.view-get-general-type .views-field-field-type > div,
.view-get-profession .views-field-field-profession > div {
  margin-bottom: -35px;
  font-weight: 500;
  color: var(--main3);
}

.view-get-profession .views-field-field-profession > div:before {
  background: var(--main3);
}

.per-link svg {
  margin-inline-end: 8px;
  /* border-radius: 200px; */
  /* padding: 5px; */
}

.field--name-field-book {
  display: flex;
  flex-wrap: wrap;
}

.field--name-field-book > div {
  width: calc(100% / 3);
}

.field--name-field-book > div > div {
  margin: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  height: calc(100% - 24px);
  border: 1px solid var(--main1);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.paragraph--type--book > svg {
  position: absolute;
  width: 20%;
  left: 0;
  bottom: 0;
  transition: all 0.2s cubic-bezier(0.42, 0, 0.18, 0.96);
}

.paragraph--type--book:hover > svg {
  width: 30%;
}

.corner path {
  fill: var(--main1);
  opacity: 0.1;
}

.corner path:first-child {
  opacity: 0.2;
}

.home-views {
  min-height: 200px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
}

.home-views .views-row {
  display: flex;
  width: 100% !important;
  justify-content: center;
  margin-block: auto !important;
}

.home-views .views-row a {
  min-width: 280px;
  margin-inline: 8px;
}

.home-views .views-row a span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.classes.view-display-id-page_2 .views-exposed-form > div {
  /* background: #ffffff85; */
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding-block: 20px 10px;
}

.classes.view-display-id-page_2 .views-exposed-form > div > div {
  width: calc((100% / 3) - 80px);
  padding-inline: 10px;
}

.classes.view-display-id-page_2 .views-exposed-form > div > div:last-child {
  width: 180px;
}

.classes.view-display-id-page_2 .views-exposed-form > div > div label {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.classes.view-display-id-page_2 .views-exposed-form > div > div button,
.classes.view-display-id-page_2 .views-exposed-form > div > div select {
  border: 2px dashed var(--main1);
  justify-content: flex-start;
  color: #333;
  height: 56px;
  font-weight: 500;
  border-radius: 5px;
  background-color: transparent;
  width: 100%;
  transition: all 0.15s linear;
}

.classes.view-display-id-page_2 .views-exposed-form > div > div select {
  font-size: 18px;
  color: var(--main3);
}

.classes.view-display-id-page_2 .views-exposed-form > div > div button {
  height: 56px;
  font-size: 18px;
  color: var(--main3);
}

.classes.view-display-id-page_2 .views-exposed-form > div > div select:hover,
.classes.view-display-id-page_2 .views-exposed-form > div > div button:hover {
  background-color: #fff;
}

.form-select:focus {
  box-shadow: none;
}

@media only screen and (min-width: 992px) {
  .offcanvas-body {
    display: flex;
    justify-content: flex-end;
  }
}

@media only screen and (max-width: 991px) {
  :root {
    --circle: 350px;
  }

  .offcanvas {
    background: var(--main2);
    position: fixed;
  }

  .offcanvas:before {
    content: "";
    position: absolute;
    width: var(--circle);
    height: var(--circle);
    border: 24px solid #2326371c;
    border-radius: 800px;
    bottom: calc((var(--circle) / 2) * -1);
    right: calc((var(--circle) / 2) * -1);
    opacity: 0.2;
  }

  .offcanvas:after {
    content: "";
    position: absolute;
    width: var(--circle);
    height: var(--circle);
    border: 24px solid #2326371c;
    border-radius: 800px;
    top: calc((var(--circle) / 2) * -1);
    left: calc((var(--circle) / 2) * -1);
    opacity: 0.2;
  }

  #page:before {
    border: 22px solid #2326371c;
  }

  .classes .row > div,
  .field--name-field-book > div {
    width: calc(100% / 2);
  }

  h1.title {
    margin-top: 25px;
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div {
    width: calc((100% / 2) - 70px);
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:last-child {
    width: 140px;
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:first-child {
    padding-inline-start: 0;
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:nth-child(2) {
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:last-child {
    padding-inline-end: 0;
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --circle: 300px;
  }

  .type-h {
    font-size: 24px;
  }

  #page:before {
    border: 20px solid #2326371c;
  }

  .home-views {
    min-height: 10px;
    padding-top: 10px;
  }

  .home-views .views-row {
    flex-direction: column;
    min-height: 40vh;
  }

  .home-views .views-row a {
    margin-block: 10px;
  }

  .per-class .icon {
    width: 60px;
  }

  .views-exposed-form .bef-links {
    padding-inline: 0;
    margin-bottom: 0;
  }

  .views-exposed-form .bef-links ul {
    font-size: 18px;
    overflow-x: scroll;
    width: 100%;
    flex-wrap: nowrap;
    /* background: red; */
    min-height: 55px;
    justify-content: flex-start;
  }

  .views-exposed-form .bef-links ul li,
  .views-exposed-form .bef-links ul li a {
    width: auto;
    display: inline-block;
    width: max-content;
  }
  .view-get-general-type .views-field-field-type > div,
  .view-get-profession .views-field-field-profession > div,
  h1.title {
    margin-top: 20px;
  }
  h1.title {
    font-size: 20px;
    text-align: center;
  }
  #block-ecurricula-pagetitle h1.title {
    text-align: right !important;
    margin-top: 42px;
  }
  .field--name-field-book-title,
  .per-class .title > span:first-child {
    font-size: 18px;
  }

  .field--name-field-book-title {
    text-align: center;
  }

  .per-class .title,
  .per-link {
    font-size: 16px;
  }

  .classes .row > div,
  .field--name-field-book > div {
    width: calc(100% / 1);
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div {
    width: 100%;
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:last-child {
    width: 100%;
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:first-child {
    padding-inline: 0;
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:nth-child(2) {
    padding-inline: 0;
  }

  .classes.view-display-id-page_2 .views-exposed-form > div > div:last-child {
    padding-inline: 0;
  }

  .navbar-brand {
    width: 60px;
  }

  .navbar-brand > span {
    font-size: 80%;
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --tringle: 200px;
    --tringleMargin: 200px;
  }
  .t2 {
    bottom: -150px;
    inset-inline: auto -130px;
  }
}
@media only screen and (max-width: 767px) {
  :root {
    --tringleMargin: 210px;
  }
}
.book-gen {
  display: flex;
  padding: 14px 18px;
  background: #ffffff2b;
  margin-block: 8px;
  border-radius: 10px;
  border: 2px solid var(--green1);
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: all 0.53s;
  display: flex;
  align-items: center;
}
.book-gen:before {
  content: "";
  width: 0%;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #4a151e;
  transition: var(--transNew1);
}
.book-gen:hover {
  color: #e8e0d0;
  border-color: #4a151e;
}
.book-gen:hover:before {
  width: 100%;
}
.book-gen .cus-icon {
  width: 30px;
  height: 30px;
  background: url(../imgs/download.svg);
  filter: invert(0%);
  transition: filter 0.15s;
  margin-inline-end: 10px;
}
.book-gen:hover .cus-icon {
  filter: invert(100%);
}

.view-subject-name {
  font-size: 160%;
  font-weight: 500;
  border-inline-start: 4px solid;
  padding-inline: 10px 5px;
  color: #6b1f2a;
  margin-bottom: 20px;
}
#main {
  padding-block: 25px;
}
.svg-container {
  transform: translate(0, 2px);
}

.region-newblocks {
  transform: translate(0, -70px);
  margin-bottom: -50px;
}
.gen-blocks {
  display: flex;
  justify-content: space-between;
  background: #eeeeee;
  padding: 0 20px 10px 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px #00000030;
  position: relative;
  z-index: 5;
}
.gen-blocks a,
.gen-blocks .new-block {
  display: flex;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid var(--main3);
  width: calc(100% / 5 - 12px);
  height: 100px;
  color: #fff;
  align-items: center;
  margin-block: 20px 12px;
  font-size: 126%;
  overflow: hidden;
  position: relative;
}
.cccc > div > .gen-blocks .new-block {
  width: calc(100%);
}
.gen-blocks a .title,
.gen-blocks .new-block .title {
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}
.gen-blocks a:hover .title,
.gen-blocks .new-block:hover .title {
  transform: translate(-10px, 0);
}
.gen-blocks a:before,
.gen-blocks .new-block:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../imgs/bg1.svg);
  background-position: 50% 50%;
  background-size: 360px;
  opacity: 0.1;
  transition: all 1s;
}
.gen-blocks a:hover:before,
.gen-blocks .new-block:hover:before {
  background-position: 100% 50%;
}
.gen-blocks a .icon-block,
.gen-blocks .new-block .icon-block {
  background: url(../imgs/bg1.svg);
}
.gen-blocks a:nth-child(3):before,
.gen-blocks .new-block:nth-child(3):before {
  opacity: 0.4;
}
.gen-blocks a:nth-child(4):before,
.gen-blocks .new-block:nth-child(4):before {
  opacity: 0.05;
}
.gen-blocks a:first-child,
.cccc > div:first-child > .gen-blocks .new-block {
  border-color: #006657;
  background: linear-gradient(45deg, #006657, #054239);
}
.gen-blocks a:nth-child(2),
.cccc > div:nth-child(2) > .gen-blocks .new-block {
  border-color: #640112;
  background: linear-gradient(45deg, #640112, #4a151e);
}
.gen-blocks a:nth-child(3),
.cccc > div:nth-child(3) > .gen-blocks .new-block {
  border-color: #d4c19f;
  background: linear-gradient(45deg, #d4c19f, #988561);
}
.gen-blocks a:nth-child(4),
.cccc > div:nth-child(4) > .gen-blocks .new-block {
  border-color: #535252;
  background: linear-gradient(45deg, #535252, #161616);
}
.gen-blocks a:nth-child(5),
.cccc > div:nth-child(5) > .gen-blocks .new-block {
  border-color: #c6c6c6;
  color: #535252;
  background: linear-gradient(45deg, #fff, #17534521);
}
.gen-blocks a .block-icon,
.gen-blocks .new-block .block-icon {
  position: absolute;
  z-index: 1;
  width: 50px;
  height: 50px;
  inset-block: auto 10px;
  inset-inline: auto 10px;
  opacity: 0.7;
  transition: all 0.3s linear;
}
.gen-blocks a .block-icon img,
.gen-blocks .new-block .block-icon img {
  background-size: contain;
}
.gen-blocks a:hover .block-icon,
.gen-blocks .new-block:hover .block-icon {
  width: 60px;
  height: 60px;
}
.gen-blocks a:nth-child(4) .block-icon,
.gen-blocks .new-block:nth-child(4) .block-icon {
  width: 40px;
  height: 40px;
}
.gen-blocks a:hover:nth-child(4) .block-icon,
.gen-blocks .new-block:hover:nth-child(4) .block-icon {
  width: 56px;
  height: 56px;
}
.gen-blocks a:first-child .block-icon,
.cccc > div:first-child > .gen-blocks .new-block .block-icon {
  background: url(../imgs/books-svgrepo-com.svg);
}
.gen-blocks a:nth-child(2) .block-icon,
.cccc > div:nth-child(2) > .gen-blocks .new-block .block-icon {
  background: url(../imgs/elearning-education-learn-svgrepo-com.svg);
}
.gen-blocks a:nth-child(3) .block-icon,
.cccc > div:nth-child(3) > .gen-blocks .new-block .block-icon {
  background: url(../imgs/creative-learning-svgrepo-com.svg);
}
.gen-blocks a:nth-child(4) .block-icon,
.cccc > div:nth-child(4) > .gen-blocks .new-block .block-icon {
  background: url(../imgs/lab.svg);
  background-size: contain;
}
.gen-blocks a:nth-child(5) .block-icon,
.cccc > div:nth-child(5) > .gen-blocks .new-block .block-icon {
  background: url(../imgs/interative-curr.svg);
  background-size: contain;
}

/* view-subjects */

.view-subjects a {
  display: flex;
  /* padding-block: 10px; */
  padding-inline: 10px;
  font-size: 120%;
  font-weight: 500;
  border-inline-start: 4px solid #6b1f2a;
  padding-inline: 10px 5px;
  color: var(--green1);
  margin-bottom: 20px;
}
.view-subjects a:hover {
  border-color: var(--green1);
  color: #222;
}

.view-new-classes-list {
  padding-inline-start: 10px;
}

/* .view-new-classes-list a */
.view-new-classes-list,
.view-new-classes {
  /* margin-block: 40px; */
}
/* .view-new-classes-list a,
.view-new-classes a { */
.view-new-classes-list a {
  display: flex;
  border: 1px solid var(--main1);
  justify-content: flex-start;
  color: var(--green2);
  font-weight: 500;
  border-radius: 5px;
  height: 100%;
  margin-bottom: 20px;
  height: 66px;
  align-items: center;
  border-color: #550d19;
  background: #b9a77a14;
  position: relative;
  transition: var(--transNew1);
}
.view-new-classes-list a .q-icon,
.view-new-classes a .q-icon {
  width: 66px;
  height: 60px;
  background: url(../imgs/books.svg);
  background-size: 78%;
  background-repeat: no-repeat;
  background-position: 50%;
  opacity: 0.6;
  display: flex;
  transition: var(--transNew1);
}
.view-new-classes-list a:hover,
.view-new-classes a:hover {
  color: #fffbf1;
}
.view-new-classes-list a:hover .q-icon,
.view-new-classes a:hover .q-icon {
  filter: invert();
}
.view-new-classes-list a:before,
.view-new-classes a:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(45deg, #006657, #054239);
  transition: var(--transNew1);
}
.view-new-classes-list a:hover:before,
.view-new-classes a:hover:before {
  content: "";
  height: 100%;
  width: 100%;
}

.view-new-classes a .q-icon {
  background: url(../imgs/book-new-3.svg);
  height: 48px;
  background-position: 50%;
  background-repeat: no-repeat;
}
.curricula,
.pdf-book {
  display: flex;
  border: 1px solid var(--main1);
  justify-content: space-between;
  color: var(--green2);
  font-weight: 500;
  border-radius: 5px;
  height: 100%;
  margin-bottom: 20px;
  height: 86px;
  align-items: center;
  border-color: #550d19;
  background: #b9a77a14;
  position: relative;
  transition: var(--transNew1);
  flex-direction: column;
  padding-block: 12px 0;
}
.linkss {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.linkss a {
  padding: 8px 10px;
  width: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  background: #00000014;
}
.linkss a:first-child {
  border-inline-end: 1px solid #00000030;
}
.linkss a:hover {
  color: #540e1a;
}
.link-ico {
  display: inline-flex;
  background-image: url(../imgs/download-icon.svg);
  width: 20px;
  height: 20px;
  background-size: contain;
  margin-inline-end: 3px;
  opacity: 0.7;
}
.linkss a {
  justify-content: center;
}
.linkss a:last-child .link-ico {
  background-image: url(../imgs/book-icon.svg);
}
.linkss a:before {
  display: none;
}

.curricula {
  font-size: 140%;
  margin-bottom: 0px;
  height: 100px;
  justify-content: center;
  padding-block: 12px;
}
/* view-latest-vids */
.view-latest-vids {
  /* margin-top: 70px; */
}
.view-latest-vids .views-field-nothing a {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  justify-content: flex-end;
  margin-block: 4px 8px;
  /* box-shadow: 0 0 12px #00000024; */
  border: 1px solid #cfcfcf;
}

.view-latest-vids a .img {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 200px;
}
.view-latest-vids a .play {
  background: url(../imgs/play.svg);
  height: 60px;
  width: 60px;
  position: absolute;
  /* inset: 0; */
  z-index: 5;
  /* background: red; */
  left: calc(50% - 30px);
  top: calc(50% - 40px);
  background-size: contain;
  /* filter: invert(1); */
  transition: var(--transNew1);
}

.view-latest-vids a:hover .play {
  height: 80px;
  width: 80px;
  left: calc(50% - 40px);
  top: calc(50% - 50px);
}
.view-latest-vids a .img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.view-latest-vids a .title {
  padding: 10px;
  text-align: center;
  position: relative;
  z-index: 2;
  color: #eeeeee;
  font-size: 110%;
  transition: var(--transNew1);
  background: #582327;
}
.view-latest-vids a:hover .title {
  color: #b9a77a;
}
.view-latest-vids a .img:before,
.view-latest-vids a .img:after {
  content: "";
  bottom: 0;
  inset-inline: 0;
  height: 60%;
  background: linear-gradient(#427f7700, var(--green1));
  position: absolute;
  z-index: 1;
  transition: var(--transNew1);
}
.view-latest-vids a .img:after {
  background: #00000049;
  height: 100%;
}
.view-latest-vids a:hover .img:before {
  height: 90%;
}

.view-latest-vids.suple a .play {
  background-image: url(../imgs/link2.svg) !important;
  width: 50px;
  height: 50px;
  left: calc(50% - 25px);
  top: calc(50% - 40px);
  opacity: 0.9;
}
.view-latest-vids.suple a:hover .play {
  width: 60px;
  height: 60px;
  left: calc(50% - 30px);
  top: calc(50% - 45px);
}
.view-latest-vids.suple a .title {
  background: var(--green2);
}
.view-latest-vids.suple a:hover .title {
  background: var(--green1);
  color: #fff;
}

@media only screen and (max-width: 991px) {
  .gen-blocks {
    flex-wrap: wrap;
    padding-top: 10px;
  }
  .gen-blocks > * {
    width: calc(100% / 2 - 8px) !important;
    margin-block: 8px !important;
  }
  .newnavbar {
    justify-content: unset;
  }
  .newnavbar > * {
    width: unset;
  }

  .newnavbar > *:nth-child(2) {
    order: -101;
  }
  .newnavbar > *:last-child-child {
    order: 10;
  }
  .newnavbar > .navbar-toggler {
    margin-inline: auto 0;
  }
  .newnavbar img {
    width: 80px !important;
  }
}
@media only screen and (max-width: 767px) {
  .gen-blocks > * {
    width: calc(100% / 1 - 0px) !important;
    margin-block: 8px !important;
  }
  .newnavbar img {
    width: 70px !important;
  }
  .newnavbar > *:first-child {
    font-size: 85%;
  }
}

.new-select-design .views-exposed-form > div {
  /* background: #ffffff85; */
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding-block: 20px 10px;
}

.new-select-design .views-exposed-form > div > div {
  width: calc((100% / 3) - 80px);
  padding-inline: 10px;
}
.new-select-design .views-exposed-form > div > div:last-child {
  width: 180px;
}

.new-select-design .views-exposed-form > div > div label {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.new-select-design .views-exposed-form > div > div button,
.new-select-design .views-exposed-form > div > div select {
  border: 2px solid var(--main1);
  justify-content: flex-start;
  color: #333;
  height: 56px;
  font-weight: 500;
  border-radius: 5px;
  background-color: transparent;
  width: 100%;
  transition: all 0.15s linear;
}

.new-select-design .views-exposed-form > div > div select {
  font-size: 18px;
  color: var(--main3);
}

.new-select-design .views-exposed-form > div > div button {
  height: 56px;
  font-size: 18px;
  color: #e5e0d7;
  background: var(--green2);
}
.new-select-design .views-exposed-form > div > div button:hover {
  background: var(--green1) !important;
}

.new-select-design .views-exposed-form > div > div select:hover,
.new-select-design .views-exposed-form > div > div button:hover {
  background-color: #fff;
}

.form-select:focus {
  box-shadow: none;
}
/**********************/
.view-latest-vids .interactive-book {
  height: 160px;
  background: #e5dfd3;
  transition: all 0.75s linear;
  transition-delay: 0.25s;
}
.view-latest-vids .interactive-book .icon {
  width: 70px;
  height: 70px;
  left: calc(50% - 35px);
  top: calc(50% - 60px);
  background: url(../imgs/interactive.svg);
  background-size: contain;
  position: absolute;
  opacity: 0.7;
  transition: filter 0.25s linear;
  transition-delay: 0.4s;
}

.view-latest-vids .interactive-book .title {
  background: var(--green1);
}
.view-latest-vids .interactive-book:before {
  content: "";
  width: 300px;
  height: 300px;
  border-radius: 500px;
  background: var(--green2);
  position: absolute;
  bottom: -150px;
  left: calc(50% - 150px);
  transform: scale(0);
  transition: all 1.25s cubic-bezier(0.59, 0.02, 0.4, 1);
}
.view-latest-vids .interactive-book:hover:before {
  transform: scale(2);
}

.view-latest-vids .interactive-book:hover .title {
  color: #fff;
  background-color: #582327;
}

.view-latest-vids .interactive-book:hover .icon {
  filter: invert(1);
}
.region-newblocks > *:not(:first-child) {
  margin-top: 70px;
}
.region-newblocks > * h2 {
  text-align: center;
  color: var(--green2);
  margin-bottom: 20px;
  font-size: 180%;
}
.view-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.view-footer a {
  display: inline-flex;
  border: 0;
  height: unset;
  color: #ffffff;
  padding-block: 5px;
  width: 100px;
  background: var(--main3);
  align-items: center;
  border-radius: 50px;
  position: relative;
  overflow: visible;
}
.view-footer a:hover {
  background: #582327;
}
.view-footer a:before,
.view-footer a:after {
  content: "";
  height: 2px;
  width: 100px;
  background: #582327;
  top: 16px;
  position: absolute;
}
.view-footer a:before {
  inset-inline: -116px auto;
}
.view-footer a:after {
  inset-inline: 116px auto;
}
.show-all {
  justify-content: center;
}
.class-info {
  font-size: 120%;
}
.inner-title {
  display: flex;
  /* border-inline-start: 5px solid #570b18; */
  font-size: 180%;
  justify-content: center;
}
.inner-title > span {
  background: #015c4e24;
  display: flex;
  padding-inline: 20px;
  padding-block: 12px 8px;
  border-radius: 12px;
  min-width: 230px;
  justify-content: center;
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  column-gap: 8px;
}
.pagination .page-item > * {
  border-radius: 8px !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  background: #baab8f;
  border-color: #baab8f;
  color: var(--main2);
}
.pagination .page-item.active > * {
  background: var(--green2);
  border-color: var(--green2);
  color: var(--main2);
}
.pagination .page-item > a:hover {
  background: #582327;
}

/***********/
.controls-info > button {
  padding: 4px 8px 0px 8px;
  font-size: 110%;
}
.controls-info > *:nth-child(2) {
  margin-inline-start: 0 !important;
}
.controls-info > *:last-child {
  margin-inline-end: 0 !important;
}
.container-video {
  padding-inline: 0 !important;
}
.container-video h1 {
  padding-inline: 15px;
}
@media only screen and (max-width: 575px) {
  .new-select-design form > div {
    flex-direction: column;
    padding-top: 0 !important;
  }
  .new-select-design form > div > * {
    width: 100% !important;
  }
  .pagination > *:nth-child(6),
  .pagination > *:nth-child(7) {
    display: none !important;
  }
}
