@import url("./default.css");
@import url("https://gists.rawgit.com/mfd/09b70eb47474836f25a21660282ce0fd/raw/e06a670afcb2b861ed2ac4a1ef752d062ef6b46b/Gilroy.css");

/* main styles  */

/* header section starts */
header {
  width: 100%;
  height: var(--s-header-height);
  box-shadow: var(--s-main-header-box-shadow);
  background: var(--s-offer-content-background) !important;
  position: relative;
  z-index: 10;
}

header .nav-links {
  display: flex;
  position: relative;
}

header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .nav-links li {
  margin: 0 40px;
  height: 100%;
}

header .nav-links li a {
  color: #fff !important;
}

header .nav-links li:last-child {
  margin-right: 0;
}

header .nav-links li a.active {
  opacity: 1;
  position: relative;
}

header .nav-links li a.active::after {
  content: "";
  width: 100%;
  height: 3px;
  background: var(--s-main-color);
  position: absolute;
  left: 0;
  top: 100%;
  border-radius: 4px;
  transition: all 350ms;
}

header .nav-links li a {
  text-decoration: none;
  color: #000;
  font-size: 17px;
  font-weight: 500;
  opacity: 0.7;
  transition: all 300ms;
}

header .nav-links li a:hover {
  opacity: 1;
}

header #move {
  height: 3px;
  position: absolute;
  top: 100%;
  background: var(--s-main-color);
  border-radius: 4px;
  transition: all 350ms;
  opacity: 0.9;
}

/* header sectuion ends */

/* main section starts */

main {
  height: calc(100vh - var(--s-header-height));
  background: var(--s-main-background);
  position: relative;
  overflow: hidden;
}

main .container .context {
  width: 700px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  max-height: 625px;
  height: 100%;
}

main .absolute.img {
  position: absolute;
}

/* .shadow {
    position: absolute;
    width: 200px;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 1);
    box-shadow: 10px 0 20px 10px rgba(255, 255, 255, 1)
} */

main .messages {
  top: 50%;
  z-index: 5;
  overflow: visible;
}

main .messages .message {
  display: flex;
  align-items: center;
  position: relative;
}

main .messages .message img {
  position: relative;
  z-index: 2;
}

main .messages .message p {
  padding: 10px 25px;
  background: #fff;
  border-radius: 10px;
  margin-left: -20px;
  position: relative;
  z-index: 1;
}

.modal-container {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}



.modal-container .modal {
  width: 500px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  max-width: 500px;
  max-height: 100vh;
}

.modal-container .content {
  padding: 30px;
}

.modal-container .content p {
  margin-bottom: 10px;
}

.modal-container .content b span {
  display: inline-block;
  font-size: 30px;
  margin-bottom: 20px;
}

/* main section ends */

/* why we section starts */

#whywe {
  background: var(--s-offer-content-background);
  padding-top: 50px;
  color: #fff;
}

#whywe .cards .card {
  width: 500px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  cursor: default;
}

.cards .card > span {
  display: inline-block;
  max-width: 400px;
  font-size: 30px;
  font-weight: 400;
  transition: all 200ms;
}

#whywe .cards .card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--s-offer-content-offer-background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: 250ms;
}

#whywe .cards .card .icon img {
  width: 35px;
}

#whywe .card:hover .icon {
  background: var(--s-main-color);
}

/* #whyWe section ends */

#courses {
  width: 100%;
  padding-top: 50px;
  background: linear-gradient(to bottom, #fff, #e8e8e8);
  padding-bottom: 100px;
}

#courses .cards {
  position: relative;
  z-index: 11;
}

#courses .cards .btn.default {
  padding: 10px 25px !important;
}

#courses .container::after {
  left: 50%;
  transform: translateX(-50%);
  color: #1a1a1a !important;
  opacity: 0.05;
  z-index: -1;
}

#courses .cards .card {
  max-width: 300px !important;
  display: flex;
  align-items: center;
  flex-direction: column;
  cursor: default;
  overflow: hidden;
  cursor: pointer;
  background: #fff !important;
  border-radius: 15px;
  padding-bottom: 25px;
  transition: 250ms;
  min-height: 330px;
  margin-right: 20px;
}

img {
  transition: all 350ms;
}

#courses .cards .card:hover .img.top.header img {
  transform: scale(1.1);
}

#courses .card ._title {
  font-size: 27px;
  font-weight: bold;
  position: relative;
  margin-top: 10px;
}

#courses .card ._title::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 30px;
  height: 1px;
  transition: 450ms;
  background: var(--s-main-color);
}

#courses .card:hover ._title::after {
  width: 100px;
}

#courses .cards .content {
  width: 90%;
  float: right;
  margin-top: 20px;
}

#courses .card .content ._descripton {
  max-width: 200px;
}

#results {
  background: #e8e8e8 !important;
}

#results .container::after {
  top: -20px;
}

#results .cards {
  margin-top: 40px;
}

#results .cards .card.item {
  display: flex;
  cursor: pointer;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  align-items: center;
  margin-right: 20px;
}

#results .cards .card img {
  width: 250px;
  transition: all 200ms;
}

#results .cards .card p:not(.name) {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

#results .score {
  margin-left: 30px;
}

#results .score p {
  display: block !important;
}

#results .card .score p:not(.name) span:not(.marked) {
  opacity: 0.7;
}

#results .card .score p {
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

#results .card .score p.name {
  font-size: 30px;
}

.score .name {
  font-weight: bold;
  font-size: 24px;
}

#results .card[no] .band-score {
  margin-top: 10px;
  margin-bottom: 0 !important;
}

.score .band-score {
  margin-top: 55px;
  font-weight: bold;
}

.score .band-score span {
  font-size: 30px;
}

#teachers {
  background: var(--s-offer-content-background);
  padding-top: 50px;
  color: #fff;
  padding-bottom: 50px;
}

#teachers.dark {
  background: #fff;
  color: #000 !important;
  padding-bottom: 0 !important;
}

#teachers.dark .card .content {
  background: var(--s-offer-content-offer-background) !important;
  color: #fff !important;
}

#teachers > .container {
  display: flex;
  align-items: center;
}

#teachers .cards .card img {
  height: 290px;
}

#teachers .cards .card .content {
  background: #fff;
  color: #000;
  padding: 10px;
}

#about-us .splide__slide {
  max-height: 400px;
}

#teachers .cards .name {
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#teachers .cards .name .fas {
  cursor: pointer;
  transition: 200ms;
  transform: rotate(0);
}

#teachers .cards .name .fas.rotate {
  transform: rotate(-180deg);
}

#teachers .cards .card ._hidden {
  margin-top: 10px;
  word-wrap: break-word;
}

#teachers .card {
  width: 300px;
  margin: 0 auto;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-right: 20px;
}

#teachers .cards :not(.name) {
  font-size: 20px;
}

#teachers .img {
  position: relative;
}

#teachers .img .share {
  position: absolute;
  bottom: 10px;
  left: 8px;
}

#teachers .card img {
  max-height: 300px;
  transition: 250ms;
}

#teachers .card .img {
  border: 6px solid #fff;
  border-bottom: none;
}

#teachers .card:hover img {
  transform: scale(1.1);
}

#about-us .pupils .pupil-card {
  width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  height: auto;
  margin-right: 10px;
}

#about-us .pupil-card .top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#about-us .pupil-card .img {
  margin-right: 20px;
  border-radius: 50%;
  overflow: hidden;
}

.share .icon {
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 200ms;
}

.icon a {
  color: #000;
}

.share .hidden .icon {
  margin-left: 10px;
}

.share .hidden {
  transition: all 250ms;
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.share .hidden.open {
  opacity: 1;
  width: 200px;
}

.share .icon:hover {
  background: var(--s-main-color);
  color: #fff;
}

#about-us {
  padding-top: 100px;
}

#about-us .container {
  position: relative;
}

#faq {
  padding-top: 50px;
  padding-bottom: 150px;
}

#faq .row {
  width: 100%;
  justify-content: space-between;
}

#faq .row .col {
  width: 49%;
  padding: 0;
}

#faq ul li span.question {
  font-size: 30px;
  cursor: pointer;
}

#faq .hidden {
  font-size: 20px;
}

#faq ul li:first-child {
  border-radius: 0px 5px 0px 0px;
}

#faq ul li:last-child {
  border-radius: 0px 0px 5px 0px;
}

#faq li > div {
  display: flex;
  justify-content: space-between;
}

#faq ul {
  background: #fff;
}

#faq li span[button].collapse {
  cursor: pointer;
  font-size: 30px;
  user-select: none;
}

#faq li span[button].collapse::after {
  content: "+";
}

#faq li {
  position: relative;
  border-left: 1px solid #000;
  padding: 15px 20px;
  transition: 250ms;
}

#faq li.active {
  border-left: 1px solid var(--s-main-color);
}

#faq li.active span.question {
  color: var(--s-main-color);
}

#faq li.active span[button].collapse {
  color: var(--s-main-color);
}

#faq li.active span[button].collapse::after {
  content: "-";
}

#contact {
  padding-bottom: 100px;
  background-color: #fff !important;
  /* background-color: red; */
}

#contact .contact-container {
  width: 80%;
  margin: 20px auto;
  max-width: 1000px;
  transition: 250ms;
}

#contact .row {
  justify-content: flex-end;
}

#contact .contact-container .col[data-form="info"] {
  background: var(--s-main-color);
  display: flex;
  flex-direction: column;
  color: #fff;
  width: 40%;
}

#contact form {
  width: 100%;
}

#contact .absolute.img > div {
  width: 70px;
  height: 70px;
  background: var(--s-offer-content-background);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 3px;
}

#contact .absolute.img,
#contact .absolute.img * {
  transition: 1000ms;
}

#contact .absolute.img._ {
  right: -70px !important;
}

#contact .absolute.img._ span::after {
  content: "\f0e0" !important;
}

#contact form > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

#contact .contact-container .col#col {
  background: #fff;
  width: 60%;
}

#contact .contact-container .col#col.hide {
  display: none !important;
}

#contact .contact-container .col {
  padding: 90px 35px 50px 20px;
}

:is(#contact, form) input,
textarea {
  border: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--s-offer-content-background);
  width: 47%;
  font-size: 18px;
} 

.fa-handshake::after {
  /* content: "Bакансия"; */
  position: absolute;
  font-size: 13px;
  transform: translateX(-50%);
  bottom: 0;
  left: 50%;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

:is(#contact, form) textarea {
  width: 100%;
}

#footer {
  background: var(--s-offer-content-background);
  padding-top: 25px;
  color: #fff;
}

#footer ul li:not(:last-child) {
  margin-bottom: 10px;
}

#footer li a {
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
  position: relative;
}

#footer li a::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  left: -20px;
  top: calc(50% - 5px / 2);
  transition: 250ms;
}

#footer li:hover a::after {
  left: -10px;
  opacity: 0.9;
}

:is(#contact, #footer) p .fas {
  margin-right: 20px;
}

:is(#footer, #contact) p a {
  color: #fff;
  text-decoration: none;
  transition: 200ms;
}

:is(#footer, #contact) p {
  margin-bottom: 15px;
}

#footer li a:hover {
  opacity: 1;
}

#footer li._title span {
  font-size: 20px;
  color: #fff;
}

:is(#footer, #contact) .icon {
  font-size: 18px;
  width: 30px;
  height: 30px;
  outline: 1px solid transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 250ms;
}

:is(#footer, #contact) .icon:hover {
  outline: 1px solid gray;
}

:is(#footer, #contact) .icon:not(:first-child) {
  margin-left: 10px;
}

@media screen and (max-width: 2000px) {
  .message[d] {
    left: 550px !important;
  }

  .message[c] {
    left: 50px !important;
    top: -70px !important;
  }

  [_-scope-_="UdPWaRitrM"] {
    left: 580px !important;
  }
}

@media screen and (max-height: 700px) {
  .absolute.img[m] img {
    width: 1200px !important;
  }
}

@media screen and (max-width: 1600px) {
  .message[c] {
    left: -200px !important;
    top: 100px !important;
  }

  .message[a] {
    left: -300px !important;
  }

  .message[d] {
    left: 350px !important;
  }

  [_-scope-_="UdPWaRitrM"] {
    left: 250px !important;
  }
}

@media screen and (max-width: 1400px) {
  header .nav-links li {
    margin: 0 20px !important;
  }
}
@media screen and (max-width: 1300px) {
  #teachers .cards.splide {
    width: 600px !important;
  }
}

@media screen and (max-width: 1124px) {
  .message[c] {
    left: -200px !important;
    top: 100px !important;
  }

  .message[a] {
    left: -350px !important;
    top: -300px !important;
  }

  .message[d] {
    left: 150px !important;
  }

  header .burger {
    display: block !important;
  }

  header .nav-links li {
    margin: 0 10px !important;
  }

  header .nav-links {
    position: absolute !important;
    top: 100px !important;
    width: 100vw !important;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    left: -6% !important;
    z-index: 15;
    background: #fff;
  }

  header .nav-links li a {
    color: #000 !important;
  }

  header .nav-links li:hover a {
    border-bottom: 2px solid var(--s-main-color);
  }

  header .nav-links li {
    padding: 10px;
  }

  header #move {
    display: none;
  }
}

@media screen and (max-width: 1300px) and (min-width: 768px) {
  #teachers .title span {
    width: 300px !important;
  }

  #teachers .container {
    justify-content: space-between !important;
  }
}

@media screen and (max-width: 991px) {
  #teachers .cards.splide {
    width: 500px !important;
  }

  #faq ul li span.question {
    font-size: 24px !important;
  }

  #footer .row {
    flex-direction: column;
  }

  #footer .row .col:not(:last-child) {
    margin-bottom: 20px;
  }

  :is(#contact, #footer) p .fas {
    margin-right: 13px;
  }
}

@media screen and (max-width: 768px) {
  .tab {
    margin-top: 10px !important; 
  }
  #splide2 .flickity-enabled.is-draggable .flickity-viewport {
    height: 270px !important;
  }
  .sm-light {
    color: var(--s-main-color) !important;
  }
  .flickity-button {
    display: none !important;
  }

  .pupil-card {
    width: 100% !important;
  }

  .message[c] {
    left: 0px !important;
    top: 40px !important;
  }

  .message[a] {
    left: -350px !important;
    top: -300px !important;
  }

  .message[d] {
    right: 0 !important;
    left: 240px !important;
  }

  .owl-item.active {
    display: flex;
  }

  #results .cards .card p:not(.name) {
    display: block !important;
    font-size: 18px !important;
  }

  #results .cards .card p:not(.name) .marked {
    margin-left: 10%;
  }

  #results .cards .card.item {
    max-width: 400px !important;
  }
    
    
#results .flickity-viewport {
    height: 260px !important;
}
 #results .cards .card.item .score {
    padding: 0 !important;
 }
  #results .cards .card.item {
    padding-right: 15px !important;
  }

  #results .cards .card p {
    margin-bottom: 10px;
  }

  #results .card .band-score {
    margin-top: 10px;
    margin-bottom: 0 !important;
  }

  main > .container::after {
    top: 0 !important;
  }

  .message[d] {
    left: 0px !important;
  }

  #contact form > div {
    flex-direction: column;
    margin-bottom: 0 !important;
  }

  #contact form > div input {
    width: 100%;
    margin-bottom: 7px;
  }

  .cards .card > span {
    max-width: 250px;
  }

  #results .cards .card img {
    width: 150px !important;
  }

  .row .col {
    width: 100% !important;
  }

  #faq {
    margin-bottom: 50px !important;
  }

  #faq ul li span.question {
    font-size: 20px !important;
  }

  #results .cards .card .score p {
    font-size: 20px;
    width: 100%;
  }

  #teachers .cards {
    width: 100% !important;
    margin-top: 20px;
  }

  .container .title {
    font-size: 30px !important;
  }

  #contact .title.right {
    text-align: right;
  }

  #contact .absolute.img {
    top: -52px !important;
    left: -10px !important;
  }

  .container .title > span {
    width: 100% !important;
  }

  .cards .card > span {
    font-size: 20px;
  }

  .text.big {
    font-size: 30px !important;
  }

  #teachers {
    padding: 40px 0 !important;
  }

  #whywe .cards .card {
    margin-bottom: 40px !important;
  }

  #courses .cards .card {
    margin: 0 auto !important;
  }
}

@media screen and (max-width: 360px) {
  #whywe .cards .card {
    flex-direction: column;
    text-align: center;
  }
  #results .cards .card img {
    width: 200px !important;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  #results .score {
    margin-left: 0 !important;
    width: 100%;
  }

  #results .cards .card {
    max-height: none !important;
  }

  #teachers .card .name {
    padding-right: 20px;
  }

  #results .cards .card p:not(.name) {
    display: flex !important;
    justify-content: space-between;
  }

  #results .cards .card p:not(.name) .marked {
    margin-left: 0 !important;
  }

  #results .cards .card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

.grid-item {
  min-width: 300px;
  width: 400px;
  height: 300px;
  float: left;
  transform: translateZ(0);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: all 0.35s ease-in-out;
}

.grid-item:hover {
  cursor: pointer;
}

.grid-item.item-opened {
  position: absolute;
  border: 3px solid #e8e8e8;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(2, 2);
  z-index: 50 !important;
}

#about-us .pupil-card .top img {
  width: 50px;
  height: 50px;
}
@media screen and (max-height: 500px) {
    body > main {
        min-height: 220vh;
    }
}

:is(#splide2, #splide5) .flickity-button {
  display: none !important;
}

#splide3 .flickity-page-dots .dot {
  background: #fff;
}

#splide3 .flickity-page-dots .dot.is-selected {
  background: var(--s-main-color);
}

#teachers .flickity-viewport {
    height: 350px !important;
}

#teachers .flickity-viewport:not(.closed) {
  height: 776px !important;
}

#about-us .flickity-viewport {
  height: 290px !important;
}

#results .cards .card.item .score {
    padding: 5px 8px 0 0;
}

.modal-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  padding: 20px;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.3);
}

.modal-alert .alert-box {
  display: inline-block;
  border-radius: 15px;
  padding: 20px;
  background: linear-gradient(to right, #00e6414c, #00c8533d);
  color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  transform: translateX(-150%);
  transition: 350ms;
  opacity: 0;
  position: relative;
  font-size: 40px;
}

.modal-alert.show {
  display: flex;
}

.modal-alert.show .alert-box {
  transform: translateX(0);
  opacity: 1;
}