/*
Theme Name: Hello Elementor Child
Theme URL: https://elementor.com
Description: Hello Elementor Child Theme
Author: WTB
Author URL: https://www.wtb.agency
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/

:root {
  /* colors */
  --primary-color: #1d2832;
  --primary-color-transparent: #1d2832d8;
  --secondary-color: #4282c2;
  --text-color: #1d2832;
  --accent-color: #4282c2;
  --bg-color: white;
  --dark-bg-color: #1d2832;
  --text-dark-bg-color: white;
  --link-dark-bg-color: white;
  --link-dark-bg-hover-color: #4282c2;

  /* font-sizes */
  --body-font-size: 0.9rem;

  /* margin & padding */
  --x1: 8px;
  --x2: calc(2 * var(--x1));
  --x3: calc(3 * var(--x1));
  --x4: calc(4 * var(--x1));
  --x5: calc(5 * var(--x1));
  --x10: calc(10 * var(--x1));
  --x20: calc(20 * var(--x1));
  --x25: calc(25 * var(--x1));
}

/************************************************************************
GLOBAL
*************************************************************************/
body {
  font-size: var(--body-font-size);
  font-weight: 300;
}

.wtb-jtf-img-shadow .elementor-image img {
  box-shadow: 0px 0px var(--x1) 0px rgba(0, 0, 0, 0.08);
}

.wtb-jtf-spacer {
  padding: var(--x25) 0;
}

.wtb-jtf-margin-top-x2 {
  margin-top: var(--x2);
}

/************************************************************************
MAIN NAVIGATION
*************************************************************************/
.wtb-jtf-header,
.wtb-jtf-main-nav-item .elementor-nav-menu--dropdown {
  background-color: var(--primary-color-transparent);
}

.wtb-jtf-main-nav-item .elementor-nav-menu--main a.elementor-item {
  font-size: 15px;
  font-weight: 300;
  color: var(--link-dark-bg-color);
}
.wtb-jtf-main-nav-item .elementor-nav-menu--main a.elementor-item,
.wtb-jtf-main-nav-item .elementor-nav-menu--main a.elementor-sub-item,
.wtb-jtf-main-nav-item .elementor-nav-menu--dropdown a.elementor-item,
.wtb-jtf-main-nav-item .elementor-nav-menu--dropdown a.elementor-sub-item {
  color: var(--link-dark-bg-color);
}

.wtb-jtf-main-nav-item .elementor-nav-menu--main a.elementor-item:hover,
.wtb-jtf-main-nav-item .elementor-nav-menu--main a.elementor-item-active,
.wtb-jtf-main-nav-item .elementor-nav-menu--dropdown a.elementor-item:hover {
  color: var(--secondary-color);
}

.wtb-jtf-main-nav-item .elementor-nav-menu--dropdown a.elementor-item:hover,
.wtb-jtf-main-nav-item .elementor-nav-menu--dropdown a.elementor-item-active {
  background-color: var(--primary-color);
}

.sub-arrow {
  display: none;
}

/************************************************************************
SECONDARY NAVIGATION
*************************************************************************/
.wtb-jtf-secondary-nav {
  padding: var(--x4) 0;
}

@media screen and (max-width: 768px) {
  .wtb-jtf-secondary-nav {
    display: none;
  }
}

/************************************************************************
HERO SECTION / HERO TITLE
*************************************************************************/

.wtb-jtf-hero-section {
  margin-top: -116px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-left: 8%;
  padding-right: 8%;
}

.wtb-jtf-hero-title h1 {
  font-size: 5rem;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .wtb-jtf-hero-title h1 {
    font-size: 3rem;
    text-align: left;
  }
}

.wtb-jtf-hero-title.elementor-widget-heading.elementor-widget-heading
  .elementor-heading-title {
  color: var(--text-dark-bg-color);
  margin-top: 58px;
}

/************************************************************************
SECTION / SECTION TITLE
*************************************************************************/
.wtb-jtf-section {
  padding: var(--x10) 0;
}

.wtb-jtf-sub-section {
  margin-top: var(--x5);
}

.wtb-jtf-section-title h2 {
  font-size: 4rem;
}

/************************************************************************
TEXT COLORS
*************************************************************************/
.wtb-jtf-text-dark-bg {
  color: var(--text-dark-bg-color);
}

/************************************************************************
LINKS + TEXT LINKS
*************************************************************************/

a {
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

a.wtb-jtf-text-link,
.elementor a.wtb-jtf-text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

a.wtb-jtf-text-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/************************************************************************
BUTTONS LIGHT BACKGROUND
*************************************************************************/

.wtb-jtf-btn-center {
  text-align: center;
}

.wtb-jtf-btn-margin-top-x2 {
  margin-top: var(--x2);
}

.wtb-jtf-btn-light-bg
  a.elementor-button-link.elementor-button.elementor-size-md,
.wtb-jtf-btn-light-bg
  a.elementor-button-link.elementor-button.elementor-size-sm {
  display: inline-block;
  text-transform: uppercase;
  color: var(--primary-color);
  background-color: transparent;
  border-style: solid;
  border-width: 1px;
  border-color: var(--primary-color);
  border-radius: 0;
  padding: var(--x2);
  font-weight: 300;
}

.wtb-jtf-btn-light-bg
  a.elementor-button-link.elementor-button.elementor-size-md:hover,
.wtb-jtf-btn-light-bg
  a.elementor-button-link.elementor-button.elementor-size-sm:hover {
  color: var(--link-dark-bg-color);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/************************************************************************
BUTTONS DARK BACKGROUND
*************************************************************************/
.wtb-jtf-btn-dark-bg
  a.elementor-button-link.elementor-button.elementor-size-md {
  text-transform: uppercase;
  color: var(--link-dark-bg-color);
  background-color: transparent;
  border-style: solid;
  border-width: 1px;
  border-color: var(--link-dark-bg-color);
  border-radius: 0%;
  padding: var(--x2);
  font-weight: 300;
}

.wtb-jtf-btn-dark-bg
  a.elementor-button-link.elementor-button.elementor-size-md:hover {
  color: var(--link-dark-bg-color);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/************************************************************************
 BUTTONS LANGUAGE
*************************************************************************/
a.wtb-jtf-btn-language {
  color: var(--primary-color);
  font-size: 0.8rem;
  border-style: solid;
  border-width: 1px;
  border-color: var(--primary-color);
  border-radius: 50%;
  padding: 10px;
}

a.wtb-jtf-btn-language:hover {
  color: var(--link-dark-bg-color);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.wtb-jtf-resources-lang {
  margin-top: var(--x1);
}

/************************************************************************
UL & OL LISTS
*************************************************************************/
ul.wtb-jtf-ul-list li,
ol.wtb-jtf-ol-list li {
  margin-bottom: var(--x2);
  text-align: justify;
}

/************************************************************************
FOOTER
*************************************************************************/
.wtb-jtf-footer-txt,
.wtb-jtf-footer-nav-link a .elementor-icon-list-text {
  font-size: 0.8rem;
  font-weight: 300;
}

.wtb-jtf-footer-txt .elementor-text-editor {
  color: var(--text-dark-bg-color);
}

a.wtb-jtf-footer-link {
  color: var(--link-dark-bg-color);
}

a.wtb-jtf-footer-link:hover {
  color: var(--link-dark-bg-hover-color);
}

.wtb-jtf-footer-nav-link a .elementor-icon-list-text {
  color: var(--link-dark-bg-color);
}

.wtb-jtf-footer-nav-link a .elementor-icon-list-text:hover {
  color: var(--link-dark-bg-hover-color);
}

/************************************************************************
HOMEPAGE FIGURES SECTION
*************************************************************************/

.wtb-jtf-home-project-desc {
  font-size: 1.1rem;
}

.wtb-jtf-home-figures-icon .elementor-icon {
  font-size: 4rem;
}

.wtb-jtf-home-figures-number .elementor-counter-number,
.wtb-jtf-home-figures-number .elementor-counter-number-suffix {
  font-size: 3.2rem;
  padding-top: var(--x2);
}

.wtb-jtf-home-figures-description,
.wtb-jtf-home-figures-description p {
  padding: 0 8%;
  text-align: center;
}

.wtb-jtf-section-objectives {
  margin: var(--x10) 0;
  padding: var(--x20);
}

.wtb-jtf-home-objectives {
  padding-right: 46%;
}

/************************************************************************
ABOUT PAGE
*************************************************************************/

.wtb-jtf-about-figures p.elementor-icon-box-description {
  font-size: var(--x3);
}

.wtb-jtf-about-contact-email {
  margin-top: var(--x1);
}

.wtb-jtf-about-contact-address .elementor-widget-container {
  margin: var(--x1) 0 var(--x5) 0;
}

/************************************************************************
TRAINING PAGE
*************************************************************************/
.wtb-jtf-training-day {
  font-size: 48px;
}

p:last-child {
  margin-bottom: 0;
}

/************************************************************************
PARTNERSHIP PAGE
*************************************************************************/

.wtb-jtf-publication:hover .elementor-flip-box__back {
  background-color: var(--bg-color);
}

.wtb-jtf-publication
  .elementor-flip-box__back
  .elementor-flip-box__layer__description {
  color: var(--primary-color);
  font-size: 12px;
}

/************************************************************************
BLOG POST
*************************************************************************/
.wtb-jtf-hero-title-blog h1 {
  font-size: 3.2em;
  text-align: left;
  color: var(--primary-color);
}

.wtb-jtf-blog-recent-news h5 {
  color: var(--primary-color);
  font-weight: 100;
  padding-left: var(--x3);
}

.wtb-jtf-blog-recent-news ul li a {
  color: var(--primary-color);
  font-weight: 100;
}

.wtb-jtf-blog-recent-news ul li a:hover {
  color: var(--secondary-color);
}

.wtb-jtf-posts h5.elementor-post__title a {
  color: var(--primary-color);
  font-weight: 300;
}

.wtb-jtf-posts a.elementor-post__read-more {
  text-transform: uppercase;
}

.wtb-jtf-posts a.elementor-post__thumbnail__link {
  margin-bottom: var(--x2);
}

.elementor-widget-theme-post-content pre {
  text-align: center;
}

.elementor-widget-theme-post-content p {
  font-weight: 400;
}

/************************************************************************
RESOURCES PAGE
*************************************************************************/

.wtb-jtf-resources-title .elementor-text-editor p {
  text-transform: uppercase;
}

/************************************************************************
NEWS PAGE
*************************************************************************/

/* videos */

@media only screen and (max-width: 768px) {
  .wtb-jtf-news-videos
    .wtb-jtf-margin-top-x2.elementor-widget-video:nth-child(1) {
    margin-top: 0px;
  }
}

.wtb-jtf-news-videos .wtb-jtf-margin-top-x2.elementor-widget-video:nth-child(1),
.wtb-jtf-news-videos .wtb-jtf-margin-top-x2.elementor-widget-video:nth-child(2),
.wtb-jtf-news-videos
  .wtb-jtf-margin-top-x2.elementor-widget-video:nth-child(3) {
  margin-top: 0px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
}
