/* Custom CSS for Cookschool */

/*-------------------------HOLDING PAGE-----------------------------*/

#module-137 .uk-margin {
  margin-left: 30px;
}

.uk-navbar {
  height: 125px !important;
}

.uk-hr,
hr {
  border-top: 2px solid #77755f21;
}

.uk-navbar-toggle {
  display: none;
}

.tm-header {
  display: none;
}

.green {
  color: #567e30;
}

.red {
  color: #842746;
}

.tm-header-mobile {
  display: none;
}

/*------------------------------------------------------*/

/* toolbar */
.tm-toolbar-default {
  background: #f9f6f3 url("toolbar-texture.png") center / cover no-repeat;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #1b1b1b;
  border-bottom: 1px solid #e4e3e0;
  font-size: 12px;
}

.tm-toolbar-default a {
  color: #1b1b1b;
  font-weight: 400;
  transition: color 0.2s ease-in-out;
}

.tm-toolbar-default a:hover {
  color: #494948;
}

.tm-toolbar .uk-container {
  max-width: 1600px;
  height: 30px;
}

/* #module-139 {
  width: 155%;
} */
#module-139 .uk-width-1-1 {
  width: 435px;
}
#module-139 .uk-width-2-5\@m {
  width: 100px;
}

/* Hero */

/* 1. Ensure the parent holds the absolute positioned pseudo-element */
.hero {
  position: relative;
}

/* 2. Add the textures over the YOOtheme background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0; /* Shorthand for top: 0, bottom: 0, left: 0, right: 0 */
  z-index: 1; /* Puts the textures above the YOOtheme background */
  pointer-events: none; /* Crucial: lets users click 'through' the texture to any buttons/links below */

  /* Stack the two textures */
  background-image: url("top-texture.svg"), url("bottom-texture.svg");

  /* Stick one to the top, one to the bottom */
  background-position:
    top center,
    bottom center;

  /* Stretch them across the full width, height adapts automatically */
  background-size:
    100% auto,
    100% auto;

  background-repeat: no-repeat, no-repeat;
}

/* 3. Ensure your text/content sits on top of the textures */
.hero > * {
  position: relative;
  z-index: 2;
}

/* Hompage */
.content-bg-padding {
  padding-top: 100px;
  padding-bottom: 100px;
  padding-right: 160px;
}

.uk-card-default {
  background: #f9f6f3 url("cream-texture.png") repeat;
}

.cream-texture {
  background: #5a583e url("cream-texture.png") repeat;
}

.home-slider .uk-h3 {
  color: #fff !important;
}

.home-slider .el-link {
  color: #fff !important;
}
