.firstSect {
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: calc(100% - 120px) 50px;
  padding: 80px 0;
  padding-top: 0;
  padding-bottom: 20px;
  position: relative;
}

.firstSect .sectTitle {
  text-align: left;
}

.firstSectProfessor {
  text-align: center;
}

.firstSectProfessor img:last-child {
  display: none;
}

.firstSect .sectTitle span {
  font-size: 30px;
  line-height: 0;
}

.firstSect ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.firstSect ul li {
  /* font-size: 18px; */
  font-weight: 500;
  font-size: 15px;
    padding-left: 25px;
    padding-top: 5px;
    padding-bottom: 3px;
  position: relative;
}

.firstSect ul li::before {
  content: "";
  width: 16px;
    height: 16px;
    top: 50%;
    margin-top: -8px;
  display: block;
  position: absolute;
  background-image: url("../img/firstSect/yellowCheckLi.svg");
  background-size: cover;
  left: 0;
}
.firstSectPromo--predmet{
  font-size: 16px;
}
.firstSectPromo {
  margin: 10px 0;
  line-height: 25px;
  color: #404040;
  font-family: "Open Sans";
}

.firstSectPromo a {
  font-weight: 700;
  text-decoration: underline;
}

.firstSect .btnYellow {
  margin-bottom: 10px;
  max-width: 100%;
  font-size: 10px;
  letter-spacing: 0.5px;
  max-width: 390px;
}
.firstSect .btnYellow.av-small-button {
  padding: 14px;
  line-height: 23px;
}

.btnTransparent {
  text-align: center;
  text-decoration: none;
  padding: 6px 20px;
  font-size: 10px;
  letter-spacing: 0.5px;
  border-radius: 40px;
  border: 2px solid transparent;
  transition: color .23s ease, background-color .23s ease;
  display: block;
  font-family: "AvantGardeCTT";
  font-weight: 700;
  text-transform: uppercase;
  width: 100%;
  max-width: 390px;
  -webkit-transition: color .23s ease, background-color .23s ease;
  -moz-transition: color .23s ease, background-color .23s ease;
  -ms-transition: color .23s ease, background-color .23s ease;
  -o-transition: color .23s ease, background-color .23s ease;
  margin-bottom: 10px;
}

.btnTransparent.blueBord {
  color: #357FDD;
  border-color: #579FFB;
}

.btnTransparent.blueBord:hover {
  color: #fff;
  background-color: #579FFB;
}

.btnTransparent.orangeBord {
  color: #DF8500;
  border-color: #FF9901;
}

.btnTransparent.orangeBord:hover {
  color: #fff;
  background-color: #FF9901;
}

.yaRatingNew {
  margin-bottom: 20px;
}

.yaRatingNew .yaHref {
  display: flex;
  align-items: center;
}

.yaRatingNew .yaHref div {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.yaRatingNew .yaHref img {
  max-width: 125px;
}

.yaRatingNew p {
  color: #404040;
  margin: 25px 0 10px;
}
.yaRatingNew.lobnya p{
    padding: 5px 10px;
    border-radius: 2px;
    background-color: #ffec00;
    display: inline-block;
}
.yaRatingNew span {
  font-family: "AvantGardeCTT";
  color: #181818;
  font-weight: 700;
  font-size: 14px;
  margin-left: 8px;
}

/*circle 1*/

.FSbublic1 {
  position: absolute;
  top: 9%;
  left: 0;
}

/*circle 2*/

.FSbublic2 {
  position: absolute;
  top: -7%;
  left: -35px;
  display: none;
}
.nsk-zapis .marquiz__container{
    text-align: left;
}
.nsk-zapis .marquiz__button{
    width: 100%;
    max-width: 390px;
}
@media (min-width:768px) {
  .firstSect .contain {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .firstSectCont {
    grid-row-start: 1;
  }

  .firstSect .btnYellow {
    margin: 0 0 10px;
  }

  .firstSectProfessor img:first-child {
    display: none;
  }

  .firstSectProfessor img:last-child {
    display: inline-block;
    padding-left: 40px;
  }

  .FSbublic1 {
    display: none;
  }
}

@media (min-width:992px) {
  .firstSect .contain {
    grid-template-columns: 2fr 3fr;
  }
  .firstSectPromo {
    max-width: 550px;
  }
}

@media (min-width:1200px) {
    .nsk-zapis{
        width: 100%;
    }
    .nsk-zapis .marquiz__button{
        max-width: 100%;
    }

  .firstSect .sectTitle {
    margin-top: 50px;
    font-size: 40px;
    line-height: 45px;
  }
  .firstSectPromo--predmet {
      font-size: 20px;
      line-height: 40px;
  }
  .firstSectCont .sectTitle.sectTitle--predmet,
  .page-template-front-page .firstSect .sectTitle,
  .page-template-front-page-ege .firstSect .sectTitle,
  .page-template-front-page-oge .firstSect .sectTitle {
    font-size: 47px;
    line-height: 62px;
  }
  .firstSectBtns {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 90%;
  }
  .firstSect .btnYellow {
    padding: 15px;
    max-width: 100%;
    font-size: 14px;
    line-height: 32px;
    margin-bottom: 20px;
  }
  .btnTransparent {
    padding: 13px;
    font-size: 14px;
    max-width: 48%;
    line-height: 32px;
    border-width: 3px;
  }
  .yaRatingNew p {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 20px;
  }
    .yaRatingNew.lobnya p{
            font-size: 15px;
    }
  .yaRatingNew .yaHref img {
    max-width: 100%;
  }
  .yaRatingNew span {
    font-size: 20px;
  }
}

@media (min-width:1600px) {
  .FSbublic2 {
    display: block;
  }
}

@media (min-width:1700px) {
  .FSbublic2 {
    top: -7%;
    left: 0;
  }
}
