/*
Theme Name: Grow IT Theme
Version: 1.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize

--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css

2.0 Header, Footer and Home page styles

--------------------------------------------------------------*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  /* background: linear-gradient(180deg, #001033 11.53%, #00419d 100%); */
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  /* temporary fix on an ugly horizontal scrollbar */
  overflow-x: auto;
}

/* Sections
	 ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

body {
  /* margin: 0.67em 0; */
  font-size: 18px;
}

h1 {
  font-size: 56px;
  line-height: 1;
}

h2 {
  font-size: 48px;
  line-height: 1;
}

h3 {
  font-size: 32px;
  line-height: 1.5;
}

h4 {
  font-size: 24px;
  line-height: 1.5;
}

h5 {
  font-size: 20px;
  line-height: 1.5;
}

/* Grouping content
	 ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

/*--------------------------------------------------------------
2.0 General
--------------------------------------------------------------*/

.button {
  background: linear-gradient(135deg, #337aff 0%, #0057cd 100%);
  padding: 12px 32px;
  border-radius: 24px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

/*--------------------------------------------------------------
3.0 Header, Footer
--------------------------------------------------------------*/

/* HEADER */

/* FOOTER */

/*--------------------------------------------------------------
4.0 Home page styles
--------------------------------------------------------------*/

/* SECTION HERO */

/* LINK BUTTON */

/* ROUNDED ICONS SECTION */

.icon-img {
  background: radial-gradient(
    51.75% 51.75% at 66.28% 30.65%,
    #337aff 0%,
    #0057cd 100%
  );
  width: fit-content;
  padding: 1rem;
  border-radius: 50%;
  margin: 0;
}

.icon-img img {
  width: 40px;
}

.icon-content {
  text-align: center;
  margin-top: 1rem;
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: 28px;
}

/* SECTION ABOUT */
.button-green {
  display: inline-flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  margin-top: 30px;
  background: linear-gradient(135deg, #3ab234 0%, #008244 100%);
}

.button-green:hover {
  box-shadow: 0px 1px 18px 0px rgba(0, 0, 0, 0.12),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 3px 5px -1px rgba(0, 0, 0, 0.02);
}

/*--------------------------------------
                ARTICLE INFO
---------------------------------------*/

.main-apply .article-info {
  margin-top: 3rem;
}

.main-apply .article-info h3 {
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 28px;
}

.main-apply .article-info p {
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.main-apply .article-info ol {
  list-style-type: auto;
  padding-left: 20px;
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.main-apply .article-info ul {
  list-style: initial;
  padding-left: 20px;
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* info-single -------------------------*/

.info-single img {
  width: 2.5rem;
  margin-bottom: -1.5rem;
  margin-left: -2rem;
}

.info-single p {
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-left: 1rem;
}

.info-single h4 {
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
  margin-bottom: 1rem;
  margin-left: 15px;
}

/*---------- LECTURERS SECTION --------*/
.main-apply .LecturersSection-background {
  background: #f5f6ff;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.main-apply .LecturersSection {
  padding: 2rem 0;
}

.main-apply .LecturersSection h2 {
  margin-top: 5rem;
  margin-bottom: 5rem;
  text-align: center;
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 32px;
}

/* LECTURERS STYLES RELATED with the function changes */
.main-apply .Lecturers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.main-apply .Lecturer-single {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.main-apply .imgWithElements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: calc(50% - 20px);
  box-sizing: border-box;
  margin-bottom: 5rem;
  justify-items: end;
}

@media (max-width: 1300px) {
  .main-apply .imgWithElements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: calc(90% - 20px);
    box-sizing: border-box;
    margin-bottom: 5rem;
  }
}

@media (max-width: 767px) {
  .main-apply .imgWithElements {
    display: block;
    width: calc(50% - 20px);
    box-sizing: border-box;
    margin-bottom: 5rem;
  }
}

.main-apply .Lecturer-single-content {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
}

@media only screen and (max-width: 1030px) {
  .main-apply .imgWithElements {
    width: 100%;
  }
}
.main-apply .imgWithElements.full-width {
  float: none;
  width: 80%;
}
@media (max-width: 1023px) {
  .main-apply .imgWithElements.full-width {
    width: 100%;
  }
}

.main-apply .Lecturer-single .Lecturer-single-content .Lecturer-single-title {
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 28px;
  margin-bottom: 1rem;
}

.main-apply .Lecturer-single .Lecturer-single-text {
  font-family: Nunito Sans 12pt ExtraLight;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  float: left;
}

/*---------- -----------------------------------
                   LENDING FORM
 --------------------------------------------------*/

.main-apply .section-content .note {
  color: #7e7e7e;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 2rem;
}

.main-apply .section-content .note span {
  font-weight: bold;
}

.main-apply .section-content .form {
  display: flex;
  background: #d9e2ff;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-bottom: 2rem;
  border-radius: 24px;
  padding-bottom: 2rem;
  justify-content: space-around;
}

@media (max-width: 1030px) {
  .main-apply .section-content .form {
    flex-direction: column;
    padding-left: 2rem;
    padding-right: 2rem;
    align-items: center;
  }
}

.main-apply .section-content h2 {
  margin-bottom: 2rem;
}

@media (max-width: 1030px) {
  .main-apply .section-content h2 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.main-apply .section-content .form label {
  color: var(--black-black-10, #000);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.main-apply .section-content form input {
  border-radius: 8px;
  display: inline-flex;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  align-items: center;
  padding-left: 16px;
  margin-top: 10px;
}

.main-apply .section-content .form textarea {
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 10px;
  height: 10rem;
  flex-shrink: 0;
  width: 85%;
}

@media (max-width: 1030px) {
  .main-apply .section-content .form textarea {
    width: 100%;
    padding: 16px 20px;
  }
}

.main-apply .section-content .form .form-row label {
  margin: 0 20px;
}

.main-apply .section-content form .form-row input {
  width: 85%;
}

@media (max-width: 1030px) {
  .main-apply .section-content .form .form-row input {
    width: 100%;
  }
}

.main-apply
  .section-content
  form
  .form-radio
  .wpcf7-radio
  .wpcf7-list-item
  label {
  display: flex;
  font-weight: normal;
  font-size: 30px;
}

.main-apply .section-content .form .buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
}

.main-apply .section-content .form .buttons p,
.main-apply .section-content .form a {
  color: #00419d;
}
.apply-form input[type="submit"]:hover {
  cursor: pointer;
  background: linear-gradient(135deg, #337aff 40.2%, #146feb 100%);
  box-shadow: 0px 1px 18px 0px rgba(0, 0, 0, 0.12),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 3px 5px -1px rgba(0, 0, 0, 0.02);
}

.main-apply .section-content .form input[type="checkbox"] {
  margin-left: -1em;
}

@media (max-width: 1030px) {
  .main-apply .section-content .form .form-file .file-button {
    margin-bottom: 1rem;
  }
}

.main-apply .section-content form input[type="file"]::before {
  content: "Прикачи файл";
  display: block;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  text-shadow: 1px 1px #fff;
  font-weight: 700;
  font-size: 10pt;
  text-align: center;
  border: 1px solid #00419d;
  padding: 12px 32px;
  gap: 12px;
  border-radius: 24px;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 0px;
}

.main-apply .section-content form input[type="file"] {
  width: 100%;
  position: relative;
  padding: 50px 0 5px 0;
  min-height: 70px;
  text-align: left;
}

.main-apply
  .section-content
  form
  input[type="file"]::-webkit-file-upload-button {
  visibility: hidden;
}

.main-apply .section-content form input[type="file"]::file-selector-button {
  opacity: 0;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  position: absolute;
  top: -5000;
}

.main-apply .section-content form .wpcf7-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  gap: 12px;
  border-radius: 24px;
  box-shadow: 0px 1px 18px 0px rgba(0, 0, 0, 0.12),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 3px 5px -1px rgba(0, 0, 0, 0.02);
  background: linear-gradient(135deg, #3ab234 0%, #008244 100%);
}
.main-apply .section-content form .wpcf7-submit:hover {
  background: linear-gradient(135deg, #3ab234 36.08%, #079853 100%);
  /* Elev 6dp */
  box-shadow: 0px 1px 18px 0px rgba(0, 0, 0, 0.12),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 3px 5px -1px rgba(0, 0, 0, 0.02);
}

.main-apply .section-content form .wpcf7-submit {
  color: white;
}

.main-apply .section-content form .wpcf7-response-output {
  background-color: #b8f36d;
  border-color: #1eb12d;
  border-radius: 8px;
  padding: 20px 0;
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.main-apply .section-background svg {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/*--------------------------------------------------------------
5.0 Single post styles
--------------------------------------------------------------*/

.main-single .section-title {
  background: #337aff;
  padding: 120px 0;
  text-align: center;
}

.main-single .section-title h1 {
  color: #ffffff;
}

.main-single .section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Toggle menu display */
#menu-toggle:not(:checked) ~ #menu {
  visibility: hidden;
  opacity: 0;
}

#menu-toggle:not(:checked) ~ #menu > div {
  visibility: hidden;
  right: -100%;
}

/* Toggle menu display */
#menu-toggle:checked ~ #menu {
  visibility: visible;
  opacity: 1 !important;
}
#menu-toggle:checked ~ #menu > div {
  visibility: visible;
  right: 0;
}

/* Transform into 'X': rotate the top and bottom lines ------------------*/

nav:has(#menu-toggle:checked) #nav-y-bars .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

nav:has(#menu-toggle:checked) #nav-y-bars .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

nav:has(#menu-toggle:checked) #nav-y-bars .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}

/*  */

.full-width-bg:before {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  top: 0;
  left: 0;
  z-index: -1;
  position: absolute;
  height: 100%;
}

/* --------------------
     Articles Single
------------------- */
.single-article ul {
  padding-left: 20px;
  list-style: initial;
}

.single-article ol {
  padding-left: 20px;
  list-style-type: auto;
}

.single-article p {
  margin-bottom: 1rem;
}

.single-article h3 {
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
}

.my-round::before {
  content: "";
  float: left;
  padding-top: 100%;
  /* This maintains the 1:1 aspect ratio */
}

.my-round::after {
  content: "";
  display: block;
  clear: both;
}

/* contact-form submit btn */
.apply-form input[type="submit"] {
  border-radius: 24px;
  background: var(
    --Gradients-Blue-50---70,
    linear-gradient(135deg, #337aff 0%, #0057cd 100%)
  );
  box-shadow: 0px 1px 18px 0px rgba(0, 0, 0, 0.12),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 3px 5px -1px rgba(0, 0, 0, 0.02);
  display: inline-flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Testimonials */
.swiper-container {
  overflow: hidden;
  z-index: 1;
  height: auto;
}
.content img {
  margin-right: 20px;
  height: 150px;
  max-width: 150px;
  border-radius: 50%;
}
.swiper-slide {
  margin-right: 1rem;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 24px;
  z-index: 9999;
}

/* target the active bullet */
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #a6bcff;
  opacity: 1;
  width: 16px;
  height: 16px;
}

/* target all bullets */
span.swiper-pagination-bullet {
  background-color: #a6bcff;
  width: 16px;
  height: 16px;
  gap: 24px;
}
.swiper-button-next:after {
  color: #a6bcff;
}
@media (max-width: 1024px) {
  .swiper-button-next:after {
    display: none;
  }
}
.swiper-button-prev:after {
  color: #a6bcff;
}
@media (max-width: 1024px) {
  .swiper-button-prev:after {
    display: none;
  }
}
