/*
Theme Name: Zakra Child Theme
Theme URI: http://themegrill.com/themes/zakra/
Description: Child Theme for Zakra
Author: ThemeGrill
Author URI: http://themegrill.com
Template: zakra
Version: 1.0
*/

ul {
  list-style: disc;
}
a {
  transition: all 0.2s ease-out !important;
}

/* buttons */
a.button:hover,
a.elementor-button:hover,
.tg-header-button-wrap a:hover,
.everest-forms button[type="submit"]:hover {
  box-shadow: inset 0 0 0 100px rgb(144 221 240 / 20%);
}

.banner-button a.elementor-button:hover {
  box-shadow: inset 0 0 0 100px rgb(255 255 100 / 30%);
}
.btn-w-175 a {
  width: 175px !important;
}
.btn-w-150 a {
  width: 150px !important;
}
.btn-w-216 a {
  width: 216px !important;
}
/* no box shadow, used for transparent buttons */
.primary-box-shadow .elementor-button:hover {
  box-shadow: none !important;
}
/* form button to match sign up button */
.everest-forms button[type="submit"] {
  padding: 12px 30px !important;
  width: 118px !important;
  margin: 10px 0px !important;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid var(--e-global-color-primary) !important;
}

/* layout */
.max-w-1900 {
  max-width: 1900px;
}
.m-auto {
  margin: auto;
}

/* unions page */
.unions-wrapper img {
  width: auto;
  height: 120px;
  object-fit: contain;
}
.unions-wrapper section > div {
  flex-wrap: nowrap !important;
  gap: 50px;
}
.unions-wrapper section .elementor-column > .elementor-element-populated {
  transition: all 0.5s !important;
}
.unions-wrapper section .elementor-column:hover > .elementor-element-populated {
  transform: translateY(-5px);
}
.unions-wrapper .elementor-widget:not(.elementor-widget-image):not(.unions-link-wrapper) {
  z-index: 1;
}
.unions-link-wrapper {
  position: absolute;
  top: 0;
  height: 100%;
}
.unions-link-wrapper * {
  display: block;
  height: 100%;
  opacity: 0;
}
@media (max-width: 1024px) {
  .unions-wrapper section > div {
    gap: 30px;
  }
  .bys-btn .elementor-button {
    width: 155px !important;
  }
}
@media (max-width: 767px) {
  .unions-wrapper section > div {
    flex-wrap: wrap !important;
  }
}

/* build skills page square boxes */
.square-box-container .elementor-container {
  gap: 30px;
}
.square-box:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
@media (max-width: 1024px) {
  .square-box-container .elementor-container {
    flex-wrap: nowrap;
  }
}
/* skillplan banner */
.skillplan-banner img {
  width: auto;
  height: 20px;
  margin: 10px 0 40px;
}
@media (min-width: 1025px) {
  .skillplan-banner {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  .skillplan-banner img {
    margin: 0;
  }
}

/* email link */
.email-anchor {
  color: #2567ff !important;
  position: relative;
  display: inline-block;
}
.email-anchor::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  height: 1px;
  width: 0;
  background-color: #2567ff;
  transition: width 0.3s, color 0.5s, transform 0.2s;
}
.email-anchor:hover::after {
  width: 100%;
}

/* homepage learn more link */
a.watch-video-play {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--e-global-color-secondary) !important;
  cursor: pointer;
}
a.watch-video-play:hover {
  text-decoration: underline !important;
}
.watch-video-play a {
  cursor: pointer;
}

/* homepage portrait image */
#portrait-photo img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: top center;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: 1.33s all ease;
}
#portrait-photo img.unveil {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* ============================================================ */

/* trade popup */
.mfp-bg {
  z-index: 10000 !important;
}
.mfp-wrap {
  z-index: 10001 !important;
}
.mfp-container {
  padding: 0 !important;
}
.ec-modal-popup-box {
  width: 50%;
  max-width: 1200px !important;
  border-radius: 10px;
}
.mfp-close-btn-in .mfp-close {
  color: #fff !important;
}
.modal-container {
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
  color: var(--e-global-color-text);
}
.modal-container a.modal-close,
.modal-container .trade-desc .col-lg-12 {
  display: none;
}
.modal-container h2,
.modal-container h3,
.modal-container .wage-text {
  font-weight: 600;
}
.modal-container h2,
.modal-container h3 {
  margin-bottom: 15px;
  overflow-wrap: normal;
}
.modal-container h2 {
  font-size: 24px;
  line-height: 26px;
}
.modal-container h3 {
  font-size: 20px;
  line-height: 24px;
  color: var(--e-global-color-74fecc4d);
}
.modal-container ul {
  margin-bottom: 0;
}
.modal-container .list-item-spacing {
  margin-bottom: 12px;
}
.modal-container .modal-bg {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center top;
  padding: 24px;
  display: flex;
  flex-flow: row wrap;
  align-content: flex-end;
  box-shadow: inset 100vw 100vh 0 rgb(0 63 83 / 70%);
}
@media (max-width: 767px) {
  .ec-modal-popup-box {
    width: 80%;
  }
  .modal-container .modal-bg {
    height: 160px;
  }
}
.modal-container .job-text,
.modal-container .wage-text {
  display: block;
  color: #fff;
}
.modal-container .wage-text {
  width: 100%;
  font-size: 24px;
  line-height: 1;
}
.modal-container .trade-desc {
  padding: 39px 24px 0px;
  display: flex;
  flex-wrap: wrap;
}
.modal-container .col-lg-6 {
  width: 100%;
  margin-bottom: 15px;
}
.modal-container .col-lg-6:first-child {
  padding-bottom: 15px;
}
@media (min-width: 480px) {
  .modal-container h2 {
    font-size: 28px;
    line-height: 30px;
  }
  .modal-container h3 {
    font-size: 22px;
    line-height: 26px;
  }
}
@media (min-width: 768px) {
  .modal-container {
    font-size: 14px;
    line-height: 20px;
  }
  .modal-container h2 {
    font-size: 32px;
    line-height: 34px;
  }
  .modal-container h3 {
    font-size: 24px;
    line-height: 28px;
  }
}
@media (min-width: 992px) {
  .modal-container .col-lg-6 {
    max-width: 50%;
  }
  .modal-container .col-lg-6 {
    padding-left: 15px;
  }
  .modal-container .col-lg-6:first-child {
    padding-left: 0;
    padding-right: 15px;
  }
}
@media (min-width: 1025px) {
  .modal-container {
    font-size: 16px;
    line-height: 24px;
  }
  .modal-container h2 {
    font-size: 36px;
    line-height: 38px;
  }
  .modal-container h3 {
    font-size: 26px;
    line-height: 30px;
  }
}
.trade-modal-button {
  font-size: 14px !important;
  font-weight: 600;
  background-color: var(--e-global-color-primary) !important;
  border-radius: 50px !important;
  padding: 12px 22px !important;
  float: right;
  margin: 0 24px 39px 0;
}
.trade-modal-button span {
  color: var(--e-global-color-fae5bbd);
}
.trade-modal-button:hover,
.trade-modal-button:focus {
  box-shadow: inset 0 0 0 100px rgb(144 221 240 / 20%);
}

/* ============================================================ */

/* explore trades section */
.trade-cards .elementor-section .elementor-container {
  justify-content: space-between;
}
.trade-card,
.trade-card .elementor-widget-container,
.trade-card .ec-service-box-wrapper {
  height: 100%;
}
.trade-card .ec-service-box {
  box-shadow: 0 3px 6px rgb(0 0 0 / 5%);
}
.trade-card .ec-service-box:hover {
  box-shadow: 0 6px 6px rgb(0 0 0 / 10%);
}
.trade-card .ec-icon {
  height: 140px;
}

/* trade slider */
.trade-slider .swiper-wrapper {
  align-items: stretch !important;
  padding-top: 3px;
}
.trade-slider .swiper-slide {
  height: auto;
}
.trade-slider .swiper-slide:hover {
  background-color: var(--e-global-color-secondary);
  box-shadow: 0px 6px 6px rgb(0 0 0 / 0.1) !important;
}
.trade-slider .swiper-slide:hover .ec-title {
  color: var(--e-global-color-7f29d40) !important;
}
.trade-slider .swiper-slide img {
  max-width: 140px;
  max-height: 140px;
}
.trade-slider .ec-caption {
  padding: 20px 0 !important;
}
.trade-slider .ec-nav {
  order: 0;
  margin: 20px 0 -20px;
}

/* both */
.trade-card .ec-service-box,
.trade-slider .swiper-slide {
  cursor: pointer;
}
.trade-card .ec-service-box,
.trade-card .ec-title,
.trade-slider .swiper-slide,
.trade-slider .ec-title {
  transition: all 0.2s ease-out;
}
.trade-card img,
.trade-slider img {
  filter: hue-rotate(-45deg);
}
.trade-card .ec-service-box,
.trade-slider .ec-slide {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.trade-card .ec-service-box-content,
.trade-slider .ec-caption {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
