/*
 Theme Name:   Edusion Child Theme
 Theme URI:    https://themesvila.com/themes-wp/edusion/
 Description:  This is edusion Child Theme
 Author:       themes_mountain
 Author URI:   https://themeforest.net/user/themes_mountain
 Template:     edusion
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:  two-columns, right-sidebar
 Text Domain:  edusion-child
*/

@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica-Oblique.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

body, p, ul, ol, li, a, button, input, select, textarea, label, span, div {
    font-family: 'Helvetica', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica';
    font-weight: 700;
}

/* ----------------------------
   CONTACT FORM 7 - CUSTOM DESIGN
----------------------------- */

.form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 25px;
  font-family: 'Poppins', sans-serif;
  /* max-width: 900px; */
  margin: 0 auto;
}

/* ---------- FIELD GROUP WIDTHS ---------- */
.form-wrapper .width-50 {
  flex: 1 1 calc(50% - 15px);
  min-width: 280px;
}

.form-wrapper .width-100 {
    flex: 1 1 100%;
}

/* ---------- LABELS ---------- */
.form-wrapper label {
  display: block;
  font-weight: 600;
  color: #0A0A0A;
  font-size: 15px;
  margin-bottom: 8px;
}

/* ---------- INPUTS & TEXTAREA ---------- */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  color: #0A0A0A;
  background-color: #F3F3F5;
  border: #F3F3F5 1px solid;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- PLACEHOLDER ---------- */
.form-wrapper ::placeholder {
  color: #AAAAAE;
  opacity: 1;
}

/* ---------- FOCUS STATE ---------- */
.form-wrapper input:focus,
.form-wrapper textarea:focus {
  background-color: #fff;
  box-shadow: 0 0 0 2px #e60012;
}

/* ---------- SUBMIT BUTTON ---------- */
.form-wrapper input[type="submit"] {
  background-color: #e60012;
  color: #fff;
  font-weight: 600;
  border: #e60012 1px solid;
  padding: 12px 36px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
    display: flex;
    justify-content: end;
    align-items: end;
    width: auto;
    margin-left: auto;
}

.form-wrapper input[type="submit"]:hover {
  background-color: #cc0010;
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Tablets (iPad) */
@media (max-width: 991px) {
  .form-wrapper {
    gap: 18px;
  }
  .form-wrapper .width-50 {
    flex: 1 1 100%;
  }
  .form-wrapper label {
    font-size: 14px;
  }
  .form-wrapper input,
  .form-wrapper textarea {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* Mobile phones */
@media (max-width: 575px) {
  .form-wrapper {
    gap: 15px;
    padding: 0 10px;
  }
  .form-wrapper label {
    font-size: 13.5px;
  }
  .form-wrapper input,
  .form-wrapper textarea {
    font-size: 14px;
    border-radius: 6px;
  }
  .form-wrapper input[type="submit"] {
    width: 100%;
    text-align: center;
    border-radius: 30px;
    padding: 14px;
    font-size: 16px;
  }
}

/* Login.php  */
.tutor-wrap.tutor-page-wrap.post-10.page.type-page.status-publish.hentry {
    display: flex;
    padding: 10px;
}
.tutor-image-wrap {
    width: 50%;
}
.tutor-image-wrap img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .tutor-wrap.tutor-page-wrap.post-10.page.type-page.status-publish.hentry {
    flex-direction: column;
  }
  .tutor-image-wrap {
    width: 50%;
    margin: 0 auto;
  }
  .tutor-image-wrap img {
    height: auto;
    object-fit: cover;
  }  
  .tutor-login-wrap {
    margin: 200px auto 50px;
  }
}

@media (max-width: 600px) {
  .tutor-image-wrap {
    width: 90%;
  }
}
