/*
Theme Name: Erica Bertola
Author: Marzia Martinelli
Author URI: http://www.trapstudio.it/
Version: 1.0
Text Domain: ericabertola
*/

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;500;700&family=Neucha&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oregano&display=swap");

body {
    font-family: "Dosis", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    overflow-x: hidden;
}

@media screen and (min-width: 1024px) {
    body {
        font-size: 20px;
    }
}

* {
    box-sizing: border-box;
}

a,
a:hover {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Neucha", cursive;
    font-size: inherit;
    line-height: 1.1;
    font-weight: 600;
    margin: 0;
}

p:first-of-type {
    margin-top: 0;
}

p:last-of-type {
    margin-bottom: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

figure {
    margin: 0;
}

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

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

iframe {
    max-width: 100%;
}

.l-container {
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (min-width: 1024px) {
    .l-container {
        width: 100%;
        max-width: 1400px;
        padding-left: 30px;
        padding-right: 30px;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 1280px) {
    .l-container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media screen and (min-width: 1280px) {
    .l-container--left {
        padding-left: 110px;
    }
}

.l-mobile-flex {
    display: flex;
}

.l-mobile-grid {
    display: grid;
}

.alignleft {
    display: block;
    margin-bottom: 10px;
}

.alignright {
    display: block;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.error404 .c-page-header,
.error404 .c-content__text {
    text-align: center;
}

/*TYPOGRAPHY*/
.t-title1 {
    font-size: 50px;
}

@media screen and (min-width: 1024px) {
    .t-title1 {
        font-size: 80px;
    }
}

.t-title2 {
    font-size: 30px;
}

@media screen and (min-width: 1024px) {
    .t-title2 {
        font-size: 34px;
    }
}

.t-title3 {
    font-size: 22px;
}

@media screen and (min-width: 1024px) {
    .t-title3 {
        font-size: 26px;
    }
}

.t-title4 {
    font-size: 18px;
}

@media screen and (min-width: 1024px) {
    .t-title4 {
        font-size: 20px;
    }
}

.t-lead1 {
    font-family: "Dosis", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
}

@media screen and (min-width: 1024px) {
    .t-lead1 {
        font-size: 22px;
    }
}

.t-lead2 {
    font-family: "Dosis", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

.l-mobile-flex {
    display: flex;
}

.l-mobile-grid {
    display: grid;
}

/*COMPONENTS*/
.c-button {
    background-color: #4db5a4;
    padding: 8px 20px;
    display: inline-block;
    vertical-align: center;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Neucha", cursive;
    font-weight: 700;
    color: #fff;
    outline: none;
    border: none;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-button:hover {
    color: #fff;
    background-color: #1d7567;
}

.c-link {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    color: #4db5a4;
}

.c-content-block {
    padding: 30px 0;
}

/*HEADER*/
.c-site-header {
    position: relative;
    font-size: 0;
    padding: 15px 0;
}

.c-site-header__bg {
    position: absolute;
    right: -180px;
    height: 180px;
    width: 540px;
    background-size: contain;
    background-repeat: no-repeat;
    top: -20px;
}

.c-site-header .c-logo {
    display: inline-block;
    text-align: center;
    position: relative;
    z-index: 10;
    font-size: 50px;
}

.c-site-header .c-logo svg {
    width: 70px;
    display: block;
}

.c-site-header .c-logo svg path {
    fill: #fff !important;
}

.c-toggle {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 5px 8px;
    z-index: 10;
}

.j-menu-open .c-toggle {
    position: fixed;
}

.c-toggle__item {
    display: block;
    width: 30px;
    border-top: 3px solid #fff;
    border-radius: 10px;
    margin: 6px 0 6px auto;
    transition: 0.4s ease;
}

.c-toggle__item:nth-of-type(2) {
    width: 24px;
    margin-left: 0;
}

.j-menu-open .c-toggle__item {
    opacity: 0;
    border-color: #fff;
}

.j-menu-open .c-toggle__item:first-of-type {
    opacity: 1;
    transform: rotate(-45deg) translate(-6px, 6px);
}

.j-menu-open .c-toggle__item:last-of-type {
    opacity: 1;
    transform: rotate(45deg) translate(-6px, -6px);
}

.c-site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100%;
    overflow: auto;
    transition: all 0.3s ease;
    z-index: 9;
    text-align: center;
    background-color: #4db5a4;
}

.j-menu-open .c-site-nav {
    bottom: 0;
}

@media screen and (max-width: 1023px) {
    .c-site-nav__menu:first-of-type {
        margin-top: 80px;
    }
}

.c-site-nav__menu li {
    color: #fff;
    font-size: 22px;
}

.c-site-nav__menu li a {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    position: relative;
    margin: 0 auto;
}

.c-site-nav__menu li a::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 5px;
    right: 100%;
    height: 3px;
    background-color: #fff;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-site-nav__menu li.current-menu-item a::after,
.c-site-nav__menu li:hover a::after {
    right: 20px;
}

/*LAYOUT*/
body.j-menu-open {
    overflow: hidden;
}

.c-hero {
    padding: 100px 0;
    position: relative;
    margin-bottom: 30px;
}

.home .c-hero {
    height: 520px;
}

.c-hero__figure img,
.c-hero__figure video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.c-hero__text {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
}

.c-hero__grid {
    display: grid;
    grid-template-columns: repeat(5, 180px);
    grid-template-rows: repeat(5, 180px);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    transform: rotate(45deg);
    position: absolute;
    z-index: -1;
}

.c-hero__grid figure {
    overflow: hidden;
}

.c-hero__grid figure img,
.c-hero__grid figure video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    transform: rotate(-45deg) scale(1.4);
    display: block;
}

.c-hero__grid :first-child {
    grid-area: 1 / 1 / 2 / 2;
}

.c-hero__grid :nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.c-hero__grid :nth-child(3) {
    grid-area: 1 / 3 / 2 / 4;
}

.c-hero__grid :nth-child(4) {
    grid-area: 1 / 4 / 2 / 5;
}

.c-hero__grid :nth-child(5) {
    grid-area: 1 / 5 / 2 / 6;
}

.c-hero__grid :nth-child(6) {
    grid-area: 2 / 1 / 3 / 2;
}

.c-hero__grid :nth-child(7) {
    grid-area: 3 / 1 / 4 / 2;
}

.c-hero__grid :nth-child(8) {
    grid-area: 4 / 1 / 5 / 2;
}

.c-hero__grid :nth-child(9) {
    grid-area: 5 / 1 / 6 / 2;
}

.c-hero__grid :nth-child(10) {
    grid-area: 5 / 2 / 6 / 3;
}

.c-hero__grid :nth-child(11) {
    grid-area: 5 / 3 / 6 / 4;
}

.c-hero__grid :nth-child(12) {
    grid-area: 5 / 4 / 6 / 5;
}

.c-hero__grid :nth-child(13) {
    grid-area: 5 / 5 / 6 / 6;
}

.c-hero__grid :nth-child(14) {
    grid-area: 4 / 5 / 5 / 6;
}

.c-hero__grid :nth-child(15) {
    grid-area: 3 / 5 / 4 / 6;
}

.c-hero__grid :nth-child(16) {
    grid-area: 2 / 5 / 3 / 6;
}

.c-hero__grid :nth-child(17) {
    grid-area: 2 / 2 / 5 / 5;
}

.c-hero__lead {
    max-width: 500px;
}

/*C-ABOUT*/
.c-about {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.c-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.c-presentation {
    position: relative;
    z-index: 2;
    outline: none;
}

.c-presentation__figure {
    height: 100vw;
}

.c-presentation__figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.c-presentation__text {
    padding: 20px;
}

.c-presentation__title {
    margin-bottom: 20px;
}

.c-presentation__button {
    margin-top: 20px;
}

.j-slider-news .slick-arrow {
    position: absolute;
    top: 25%;
    color: #4db5a4;
    background-color: transparent;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    font-size: 25px;
    border: none;
    outline: none;
}

.j-slider-news .slick-next {
    right: 10px;
}

.j-slider-news .slick-prev {
    left: 10px;
}

.c-item {
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    margin-top: -30px;
}

.c-item .c-item__bg {
    position: absolute;
    left: -70px;
    top: 35px;
    right: -40px;
}

.c-item h2,
.c-item p {
    position: relative;
}

.c-news {
    padding: 30px 0;
}

.c-archive {
    grid-gap: 32px;
}

.c-card {
    display: block;
    background-color: #fff;
}

.c-card:hover .c-card__figure img {
    transform: scale(1.2);
}

.c-card:hover .c-card__link,
.c-card:hover .c-card__title {
    color: #1d7567;
}

.c-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-card__figure {
    height: 150px;
    margin-bottom: 20px;
    overflow: hidden;
}

.c-card__figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    display: block;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-card__title {
    color: #4db5a4;
    margin-bottom: 20px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-board {
    position: relative;
    padding: 30px 0;
}

.c-board__content {
    max-width: 1200px;
    margin: 0 auto;
}

.c-board__figure {
    margin-bottom: 30px;
}

.c-board__figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.c-board__title {
    margin-bottom: 30px;
}

/*C-TITLE*/
.c-title {
    position: relative;
}

.c-title span {
    display: block;
    position: absolute;
    left: -30px;
    top: -15px;
    z-index: -1;
    opacity: 0.6;
}

.c-title span svg {
    width: 100px;
    height: 100px;
}

/*CURRICULUM*/
.c-curriculum {
    padding: 30px 0;
    position: relative;
}

.c-curriculum .c-lines {
    position: absolute;
    top: 0;
    right: -80px;
    opacity: 0.2;
    transform: rotate(90deg);
}

.c-curriculum__title {
    margin-bottom: 30px;
}

.c-curriculum__figure {
    margin: 20px -20px;
}

.c-curriculum__figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.c-curriculum-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 20px;
}

.c-curriculum-item__year {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff842c;
    color: #fff;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}

/*PARTNER*/
.c-partners {
    padding: 30px 0;
}

.c-partners__title {
    margin-bottom: 30px;
}

.c-partners-grid {
    align-items: center;
    grid-gap: 20px;
    margin-top: 30px;
}

.c-partner-logo {
    display: block;
    text-align: center;
    height: 80px;
}

.c-partner-logo img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    font-family: 'object-fit: contain;';
}

/*REVIEWS*/
.c-board--reviews .c-board__text {
    position: relative;
}

.c-board--reviews .c-board__text .c-lines {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    opacity: 0.2;
    right: -150px;
}

.c-review {
    font-style: italic;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.c-reviews-slider {
    padding-bottom: 30px;
}

.c-reviews-slider .c-review {
    outline: none;
}

.c-reviews-slider .slick-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.c-reviews-slider .slick-dots li {
    display: inline-block;
    vertical-align: top;
    margin-right: 8px;
}

.c-reviews-slider .slick-dots li button {
    width: 9px;
    height: 9px;
    background-color: #4db5a4;
    font-size: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.c-reviews-slider .slick-dots .slick-active button {
    background-color: #2e6e64;
}

.c-map {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.c-map iframe {
    width: 100%;
    height: 100%;
}

.c-contact-item {
    position: relative;
}

.c-contact-item>div {
    margin-bottom: 30px;
}

.c-contact-item .c-lines {
    position: absolute;
    top: -130px;
    right: -130px;
    opacity: 0.2;
    transform: rotate(90deg);
}

@media screen and (max-width: 1023px) {
    .c-contact-item .c-lines {
        top: 0;
    }
}

.c-contact-item__title {
    margin-bottom: 20px;
}

.c-contact__list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    z-index: 2;
}

.c-contact__list li a {
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-contact__list li a:hover {
    color: #4db5a4;
}

.c-contact__list li .icon {
    position: absolute;
    left: 0;
    top: 6px;
    color: #4db5a4;
}

/*FORM*/
.c-form {
    background-color: #fff;
}

.c-form-field {
    margin-bottom: 16px;
}

.c-form-field label {
    display: block;
    color: #1e1e1e;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.c-form-field input,
.c-textarea {
    display: block;
    width: 100%;
    height: 40px;
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    padding: 10px;
    border: 1px solid #4db5a4;
    outline: none;
}

.c-form-field input:valid {
    border-color: #4db5a4;
}

.c-textarea {
    height: 200px;
    resize: none;
}

.c-form__footer {
    text-align: center;
}

.c-services--horizontal {
    margin-top: 30px;
}

.c-service {
    display: inline-block;
    outline: none;
    position: relative;
    overflow: hidden;
    padding-right: 16px;
    padding-bottom: 16px;
}

.c-service:last-of-type {
    margin-right: 0;
}

.c-service--horizontal {
    display: block;
}

.c-service__figure {
    opacity: 0.4;
    position: relative;
    min-height: 500px;
    box-shadow: 7px 6px 19px -4px rgba(0, 0, 0, 0.38);
}

.c-service__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.c-service__title {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 40px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    z-index: 2;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-service__link {
    position: absolute;
    bottom: 32px;
    right: 32px;
    margin: 0;
    z-index: 2;
    transition-delay: 0.15s;
}

.c-service__hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 16px;
    bottom: 16px;
    transform: translateY(-100%);
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    z-index: 1;
}

.c-service__hover img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.c-service__hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.c-service:hover .c-service__title,
.c-service:hover .c-service__link {
    color: #fff;
}

.c-service:hover .c-service__hover {
    transform: translateY(0);
}

.c-service--horizontal {
    display: block;
    margin-bottom: 10px;
}

.c-service--horizontal .c-service__figure {
    min-height: 0;
    width: 100%;
    height: 250px;
}

.c-service--horizontal .c-service__title {
    max-height: 220px;
    text-align: right;
    font-size: 30px;
}

.c-service--horizontal .c-service__text {
    position: absolute;
    top: 20px;
    right: 40px;
    max-width: 50%;
    z-index: 2;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-service--horizontal:hover .c-service__text {
    color: #fff;
}

.j-slider-service {
    margin-top: 30px;
}

.j-slider-service .slick-arrow {
    position: absolute;
    top: 50%;
    color: #4db5a4;
    background-color: transparent;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    font-size: 25px;
    border: none;
    outline: none;
}

.j-slider-service .slick-next {
    right: -20px;
}

.j-slider-service .slick-prev {
    left: -20px;
}

.c-post {
    padding: 50px 0;
    background-size: cover;
    position: relative;
}

.c-post:before,
.c-post:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%);
}

.c-post:before {
    bottom: calc(100% - 50px);
}

.c-post:after {
    top: calc(100% - 50px);
    transform: rotate(180deg);
}

.c-post article {
    max-width: 800px;
    margin: 0 auto;
}

/*CF7*/
.wpcf7 form .wpcf7-response-output {
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 8px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #1d7567;
}

/*FOOTER*/

.c-site-footer {
    padding: 30px 0;
    text-align: center;
}

.c-site-footer__bg {
    display: block;
}

.c-site-footer__bg svg {
    width: 100vw;
}

.c-site-footer__content>* {
    font-size: 12px;
}

.c-site-footer__menu li a {
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-site-footer__menu li a:hover {
    color: #4db5a4;
}

.c-site-footer__social>* {
    margin: 0 10px;
    font-size: 22px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

.c-site-footer__social>*:hover {
    color: #4db5a4;
}

.c-post-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.c-post-content p+h2,
.c-post-content ul+h2 {
    margin-top: 30px;
}

.c-post-content p {
    margin: 10px 0;
}

.c-post-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.c-post-content ul li::before {
    content: "•";
    color: #4db5a4;
    display: inline-block;
    vertical-align: top;
    margin-right: 8px;
    position: absolute;
    top: 0;
    left: 0;
}

.c-post-content ul ul {
    padding-left: 20px;
}

.c-post-content ul ul li::before {
    color: #4d5eb5;
}

.c-post-content a:not(.c-button) {
  color:#4db5a4;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.c-post-content a:not(.c-button):hover {
  color: #1d7567;
}

.wp-block-embed-youtube .embed-responsive {
    position: relative;
    padding-bottom: 56.25%;
}

.wp-block-embed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

/*UTILITY*/
.u-desktop {
    display: none !important;
}

.u-flex-middle {
    align-items: center;
}

.u-flex-center {
    justify-content: center;
}

.u-flex-between {
    justify-content: space-between;
}

.u-flex-reverse {
    flex-direction: row-reverse;
}

.u-flex-05 {
    flex: 0.5;
}

.u-flex-15 {
    flex: 1.5;
}

.u-flex-1 {
    flex: 1;
}

.u-flex-2 {
    flex: 2;
}

.u-flex-3 {
    flex: 3;
}

.u-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.u-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.u-grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media screen and (min-width: 345px) {
    .c-item {
        margin-left: 10px;
    }

    .c-service--horizontal {
        padding-left: 16px;
    }

    .c-service--horizontal .c-service__title {
        left: 32px;
    }
}

@media screen and (min-width: 480px) {
    .c-item {
        margin-left: 30px;
    }
}

@media screen and (max-width: 479px) {
    .c-hero {
        padding: 60px 0;
        height: 360px;
        padding-left: 0;
    }

    .c-hero__grid {
        grid-template-columns: repeat(5, 100px);
        grid-template-rows: repeat(5, 100px);
        left: -190px;
    }
}

@media screen and (max-width: 767px) {
    .c-board__triangle:after {
        content: "";
        left: 50%;
        transform: rotate(-20deg) translate(-62%, -25%);
    }

    .c-card {
        margin-bottom: 50px;
    }

    .c-card__link {
        margin-top: 20px !important;
    }

    .c-hero+.c-content-block--item {
        padding-top: 0;
    }

    .home .c-hero__text {
        margin-top: 160px;
    }

    body:not(.home) .c-hero {
        height: 340px;
    }

    body:not(.home) .c-hero__figure {
        height: 100%;
    }

    body:not(.home) .c-hero__text {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .j-slider-service .c-service {
        margin-left: 16px;
    }

    .c-partners-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 768px) {
    .alignleft {
        margin-right: 10px;
        float: left;
        clear: left;
    }

    .alignright {
        margin-left: 10px;
        float: right;
        clear: right;
    }

    .l-tablet-flex {
        display: flex;
    }

    .l-tablet-grid {
        display: grid;
    }

    .c-hero {
        padding-left: 50%;
    }

    .c-hero__grid {
        grid-template-columns: repeat(5, 120px);
        grid-template-rows: repeat(5, 120px);
        left: -340px;
        top: -230px;
    }

    .c-hero__figure {
        position: absolute;
        left: 0;
        top: -100px;
        width: 60vw;
        height: 60vw;
        border-radius: 50%;
        overflow: hidden;
        transform: translate(-25%, -25%);
        max-width: 850px;
        max-height: 850px;
        z-index: 1;
    }

    .c-board,
    .c-curriculum,
    .c-partners,
    .c-news {
        padding: 60px 0;
    }

    .c-board__figure {
        width: 300px;
        height: 100%;
        margin-bottom: 0;
        margin-top: 90px;
        margin-right: 6%;
        position: sticky;
        top: 90px;
        flex: 0.8 !important;
    }


    .c-curriculum__figure {
        margin: 0 50px;
    }

    .c-curriculum__content {
        flex: 1.5;
    }

    .c-partners__header p {
        max-width: 50%;
    }

    .c-reviews {
        max-width: 550px;
    }

    .c-review {
        font-size: 22px;
    }

    .c-contacts {
        margin-top: 100px;
    }

    .c-contact-item {
        padding-bottom: 200px;
        position: relative;
        padding-right: 30px;
    }

    .c-contact-item::after {
        content: "";
        position: absolute;
        left: -170px;
        top: -50px;
        bottom: 160px;
        right: 0;
        border: 10px solid #4db5a4;
    }

    .c-contact-form {
        margin-left: 80px;
    }

    .c-contact-form .l-grid {
        grid-gap: 0 16px;
    }

    .l-tablet-flex .c-text {
        margin-left: 100px;
    }

    .c-service--horizontal {
        margin-bottom: 20px;
    }

    .c-service--horizontal .c-service__title {
        font-size: 40px;
    }

    .c-service--horizontal .c-service__text {
        font-size: 26px;
    }

    .c-services--horizontal {
        margin-top: 100px;
    }

    /*C-TITLE*/
    .c-title {
        font-size: 45px;
    }

    .c-title span {
        left: -60px;
        top: -15px;
    }

    .c-title span svg {
        width: 150px;
        height: 150px;
    }

    .c-title--right {
        text-align: right;
    }

    .c-title--right span {
        left: auto;
        right: -60px;
    }

    .c-map {
        padding-top: 100px;
        margin-right: 30px;
    }

    .c-services {
        justify-content: center;
    }

    .c-service__figure {
        width: 160px;
    }

    .c-card {
        padding-bottom: 30px;
        position: relative;
    }

    .c-card__link {
        position: absolute;
        left: 0;
        bottom: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    body:not(.home) .l-main {
        padding-top: 100px;
    }
}

@media screen and (max-width: 1023px) {
    .l-page {
        overflow: hidden;
    }
    .c-site-header {
        position: fixed;
        font-size: 0;
        padding: 15px 0;
        right: 0;
        left: 0;
        top: 0;
        z-index: 9;
    }

    .c-site-header .c-logo {
        position: fixed;
        right: 60px;
        top: 4px;
    }

    .c-site-header .c-logo svg {
        width: 50px;
    }

    .c-site-header__bg {
        width: 210px;
        right: -60px;
        top: -11px;
        height: 70px;
    }

    body:not(.home) .c-hero {
        padding-top: 0;
        padding-bottom: 0;
    }

    .c-site-footer__bg {
        margin-bottom: -40px;
        margin-top: -40px;
    }

    .c-site-footer__social {
        margin-bottom: 10px;
    }

    .c-card__figure {
        height: 100px;
    }
}

@media screen and (min-width: 1024px) {
    .l-flex {
        display: flex;
    }

    .l-grid {
        display: grid;
    }

    /*COMPONENTS*/
    .c-content-block {
        padding: 60px 0;
    }

    .c-content-block--item {
        padding-top: 100px;
    }

    /*HEADER*/
    .c-site-header__bg {
        right: -60px;
        height: 210px;
        width: 630px;
        top: -50px;
    }

    .c-site-header__bg svg {
        width: 600px;
    }

    .c-toggle {
        display: none;
    }

    .c-site-nav {
        position: relative;
        left: auto;
        right: auto;
        background-color: transparent;
        overflow: hidden;
        transition: none;
        justify-content: flex-end;
    }

    .c-site-nav__menu {
        display: inline-block;
        vertical-align: top;
        margin-top: 0;
    }

    .c-site-nav__menu li {
        display: inline-block;
        vertical-align: top;
        font-size: 20px;
        font-weight: 700;
    }

    .c-site-nav__menu li:last-of-type a {
        padding-right: 0;
    }

    .c-site-nav__menu li.current-menu-item:last-of-type a::after,
    .c-site-nav__menu li:last-of-type:hover a::after {
        right: 0;
    }

    body.j-menu-open {
        overflow: initial;
    }

    .c-hero {
        margin-bottom: 0;
    }

    .c-hero__grid {
        grid-template-columns: repeat(5, 150px);
        grid-template-rows: repeat(5, 150px);
        left: -390px;
        top: -320px;
    }

    .c-hero__text {
        padding: 0;
    }

    /*C-ABOUT*/
    .c-presentation {
        display: flex !important;
    }

    .c-presentation__text {
        padding: 30px 100px;
        max-width: 600px;
    }

    .c-presentation__figure {
        height: 50vw;
    }

    .u-flex-reverse .c-presentation__text {
        margin: 0 0 0 auto;
    }

    .c-presentation__title {
        margin-bottom: 30px;
    }

    .j-slider-news .slick-arrow {
        top: 50%;
    }

    .c-card__text {
        font-size: 18px;
    }

    .c-item {
        width: 420px;
    }

    .c-item.u-sticky {
        position: sticky;
        top: 40px;
    }

    .c-item .c-item__bg {
        left: -100px;
        top: 10px;
        right: 0;
    }

    .c-item h2,
    .c-item p {
        max-width: 360px;
    }

    .l-flex .c-text {
        margin-left: 100px;
    }

    .c-board--reviews .c-board__text .c-lines {
        left: -280px;
        top: 30%;
        right: auto;
    }

    .c-map {
        margin-right: 50px;
        margin-bottom: 0;
    }

    .c-contact-item {
        padding-left: 50px;
    }

    .c-contact-item .c-title {
        margin-left: -50px;
    }

    .c-contact-form {
        margin-left: 50px;
    }

    .c-services {
        justify-content: flex-end;
    }

    .c-service__figure {
        width: 200px;
    }

    .c-post {
        padding: 100px 0;
    }

    .c-post:before,
    .c-post:after {
        height: 100px;
    }

    .c-post:before {
        bottom: calc(100% - 100px);
    }

    .c-post:after {
        top: calc(100% - 100px);
        transform: rotate(180deg);
    }

    .c-post-content h2 {
        font-size: 36px;
        margin-left: -70px;
        margin-bottom: 30px;
    }

    .c-post-content p+h2,
    .c-post-content ul+h2 {
        margin-top: 50px;
    }

    .c-post-content p {
        margin: 20px 0;
    }

    .c-site-footer__content>* {
        flex: 1;
    }

    .c-site-footer__meta {
        text-align: right;
    }

    .c-site-footer__menu li {
        margin-right: 5px;
    }

    .c-site-footer__menu li:not(:last-of-type)::after {
        content: "|";
        margin-left: 5px;
    }

    .u-desktop {
        display: block !important;
    }
}

@media screen and (min-width: 1190px) {
    .l-desktop-flex {
        display: flex;
        justify-content: space-between;
    }

    .c-service__figure {
        width: 160px;
    }
}

@media screen and (min-width: 1280px) {
    .c-site-header__bg {
        right: -20px;
    }

    .c-hero__grid {
        grid-template-columns: repeat(5, 160px);
        grid-template-rows: repeat(5, 160px);
        left: -310px;
        top: -370px;
    }

    .c-title {
        margin-left: -50px;
    }

    .c-title--right {
        margin-right: -50px;
        margin-left: 0;
    }

    .c-news {
        margin-top: 50px;
    }
}

@media screen and (max-width: 1399px) {
    body:not(.home) .c-hero {
        min-height: 35vw;
    }
}

@media screen and (min-width: 1400px) {
    .c-site-header__bg {
        right: calc((100% - 1430px) / 2);
    }

    body:not(.home) .c-hero {
        height: 550px;
        padding-top: 140px;
    }
}

@media screen and (min-width: 1500px) {
    .c-hero__grid {
        grid-template-columns: repeat(5, 180px);
        grid-template-rows: repeat(5, 180px);
        left: -340px;
        top: -390px;
    }

    .c-hero__figure {
        transform: translate(-10%, -20%);
    }
}

@media screen and (min-width: 1800px) {
    .c-hero__grid {
        left: -220px;
    }
}

@media screen and (min-width: 2400px) {
    .c-hero__grid {
        grid-template-columns: repeat(5, 200px);
        grid-template-rows: repeat(5, 200px);
    }
}