/* 
Theme Name: Grainli
Theme URI: https://www.escen.de
Description: Grainli theme, based on hello-elementor child. Needs Elementor and Elementor Pro installed.
Author: Emrah Kan, Till Jonas Meyer
Author URI: https://www.escen.de
Template: hello-elementor
Version: 1.0.6
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
	Add your custom styles here
*/

body {
  font-family: "Simplon Norm", "DIN Alternate", sans-serif;
  font-size: 16px;
  line-height: 1.75em;
  letter-spacing: 0.08em;
}

h1,
h2 {
  font-family: "Krana Fat", Impact, sans-serif;
  font-weight: bold;
}

h1 {
  font-size: 80px;
}
h2 {
  font-size: 72px;
}

.elementor-kit-5 p {
  margin-bottom: 1em;
}

.teaser {
  text-align: center;
}

.teaser p {
  font-size: 24px;
  line-height: 2em;
  letter-spacing: 0.2em;
}

.elementor-heading-title {
  line-height: 1.5em;
}

.elementor-button,
.elementor-slide-button {
  color: #d46958;
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-width: 0;
}

.elementor-popup-modal {
  z-index: 99999 !important;
}

.elementor-video {
  height: 100%;
}

/* language switcher */
.elementor-widget-wpml-language-switcher
  .wpml-ls-legacy-dropdown
  > ul
  > li.wpml-ls-item
  .wpml-ls-native {
  font-size: 13px;
}

.elementor-widget-wpml-language-switcher
  .wpml-ls-legacy-dropdown
  > ul
  > li.wpml-ls-item
  > a {
  line-height: 15px;
  text-decoration: none;
}

.elementor-widget-wpml-language-switcher
  .wpml-ls-legacy-dropdown
  > ul
  > li.wpml-ls-item
  > a
  > span.wpml-ls-native {
  vertical-align: unset;
}

.elementor-widget-wpml-language-switcher
  .wpml-ls-legacy-dropdown
  > ul
  > li.wpml-ls-item
  > ul.wpml-ls-sub-menu
  a {
  text-decoration: none;
}

.elementor-widget-wpml-language-switcher .wpml-ls-legacy-dropdown {
  width: auto;
}

.grainli-header-right-col #open-search .elementor-button {
  display: block;
}

.grainli-header-social .elementor-column .elementor-widget-wrap {
  justify-content: flex-end;
}

.grainli-header-social {
  margin-top: 6px;
}

.grainli-header-right-col
  > .elementor-column-wrap
  > .elementor-widget-wrap
  > .elementor-element {
  margin: 4px 0;
}

.grainli-header-right-col > .elementor-column-wrap > .elementor-widget-wrap {
  flex-direction: row;
  justify-content: flex-end;
}

.grainli-header-menu-col {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.grainli-header-menu-col .grainli-header-menu-menu-element {
  margin-bottom: 0;
}

/* language switcher without dropdown */
.wpml-ls-statics-footer {
  margin: 0 !important;
  padding: 0 !important;
}

.wpml-ls-statics-footer ul {
  display: flex;
}

.wpml-ls-statics-footer .wpml-ls-item {
  line-height: 1;
}

.wpml-ls-statics-footer .wpml-ls-item:first-of-type {
  padding-right: 4px;
  border-right: 1px solid var(--e-global-color-primary);
}

.wpml-ls-statics-footer .wpml-ls-item:nth-of-type(2) {
  padding-left: 4px;
}

.wpml-ls-statics-footer .wpml-ls-link {
  padding: 0;
}

.wpml-ls-statics-footer .wpml-ls-native {
  font-size: 16px;
}

/* awsm job form */
.awsm-filter-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.awsm-job-single-wrap .awsm-job-form .awsm-job-form-inner h2 {
  text-align: start;
}

.awsm-job-single-wrap .awsm-job-form .awsm-job-form-inner {
  background: #c7a659;
}
.awsm-filter-wrap .awsm-job-filter-label {
  position: relative;
  font-size: 16px;
  top: -6px;
  margin-right: 6px;
}

.awsm-filter-wrap .awsm-filter-toggle {
  display: none;
}

/*CATEGORIES PAGE*/

/*Category description section*/
.products-categories-tabs-body-widget-wrap-description {
  padding: 5% !important;
  background-color: #c7a659;
}
/*Subcategory text on images*/
.products-subcategory .products-categories-tabs-head-heading-title {
  word-wrap: break-word;
}
.products-subcategories-tabs-head-image:hover {
  background-color: black;
}
.products-categories-tabs-head-title-link {
  text-decoration: none !important;
}
/*Subcategory grid images*/
.products-subcategories-tabs-head-image {
  background-color: #c7a659;
}

/*Responsive*/
@media only screen and (max-width: 767px) {
  .products-categories-tabs-body-section {
    padding: 0px !important;
  }
}

/*Products and services*/

/*PRODUCTS PAGE*/

/*Remove spaces from grids*/
.elementor-element-d9de20a .elementor-grid {
  display: inherit;
}
.elementor-element-f78ed49 .elementor-widget-wrap {
  padding: 0px !important;
}

/*Responsive*/
@media only screen and (max-width: 767px) {
  .product_detail_col_one {
    /*width: 25% !important;*/
    width: 100% !important;
  }
  .product_detail_col_two {
    /*width: 45% !important;*/
    width: 100% !important;
  }
  .product_detail_col_three {
    /*width: 29% !important;*/
    width: 100% !important;
  }
  .product_detail_col_three .elementor-column-wrap {
    /*text-align: right !important;*/
  }
  .featured_product_title .elementor-widget-container {
    margin: 0% 5% 0% 5% !important;
  }
  .featured_product_description .elementor-widget-container {
    margin: 0% 5% 0% 5% !important;
  }
  .product_grid_contact_us_link .elementor-widget-container {
    margin-left: 10%;
    padding-bottom: 25px;
  }
}
@media only screen and (max-width: 378px) {
  .product_grid_contact_us_link span {
    font-size: 11px !important;
    margin-right: 10% !important;
  }
}
@media only screen and (min-width: 379px) and (max-width: 403px) {
  .product_grid_contact_us_link span {
    font-size: 12px !important;
    margin-right: 10% !important;
  }
}
@media only screen and (min-width: 404px) and (max-width: 427px) {
  .product_grid_contact_us_link span {
    font-size: 13px !important;
    margin-right: 10% !important;
  }
}
@media only screen and (min-width: 428px) and (max-width: 452px) {
  .product_grid_contact_us_link span {
    font-size: 14px !important;
    margin-right: 10% !important;
  }
}
@media only screen and (min-width: 453px) and (max-width: 526px) {
  .product_grid_contact_us_link .elementor-heading-title {
    font-size: 15px !important;
    margin-right: 10% !important;
  }
}
@media only screen and (min-width: 527px) and (max-width: 767px) {
  .product_grid_contact_us_link .elementor-heading-title {
    font-size: 14px !important;
    margin-right: 10% !important;
  }
}

/*Single job opening page*/
.awsm-application-submit-btn {
  background-color: var(--e-global-color-accent) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 0px !important;
}
/*Responsive*/

@media screen and (max-width: 768px) {
  .elementor-element-eb1fd4a .elementor-widget-container {
    padding: 0px !important;
  }
  .awsm-job-form-inner h2 {
    font-size: 26px !important;
  }
  .awsm-job-form-group .awsm-application-submit-btn {
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .elementor-element-eb1fd4a .elementor-widget-container {
    padding: 0px 40px 0px 40px !important;
  }
  .awsm-job-form-inner h2 {
    font-size: 35px !important;
  }
  .awsm-job-form-group .awsm-application-submit-btn {
    width: 50%;
    margin: auto !important;
    display: block;
  }
}

/*BLOG*/

/*Posts archive page*/

/*Remove uppercase and underline from title and category*/
.archive-page-blog-post-title .elementor-heading-title a {
  text-transform: none !important;
  text-decoration: none;
}
.archive-page-blog-post-category a {
  text-transform: none !important;
  text-decoration: none;
  color: white;
}

/*Blog post hide text depending on resolution*/

@media (max-width: 767px) {
  .archive-page-blog-post-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 768px) and (max-width: 1380px) {
  .archive-page-blog-post-content {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 1381px) and (max-width: 1580px) {
  .archive-page-blog-post-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 1581px) and (max-width: 1780px) {
  .archive-page-blog-post-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 1781px) {
  .archive-page-blog-post-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/*Share via email and calendar shortcode icons*/

.event-share-via-email-and-calendar {
  color: white;
  font-size: 32px;
}

/*Post category image*/
.post-category-image-icon {
  display: block;
  margin: auto;
  width: 50%;
}
/*Post category dropdown menu*/
.wp_post_categories_drp_dwn .elementor-widget-container h5 {
  color: black;
  font-weight: 800;
  font-size: 25px;
  padding-bottom: 20px;
}
.wp_post_categories_drp_dwn .elementor-widget-container select {
  background-color: transparent;
  color: black;
  font-size: 20px;
  font-weight: 600;
  border: 3px solid black;
  border-radius: 5px;
}
/*Single post page social icons*/
.single_post_social_share_icons .elementor-share-btn__icon {
  justify-content: flex-start !important;
}
/*RESPONSIVE*/
@media (max-width: 767px) {
  .archive-post-col {
    width: 100% !important;
    margin: 5% !important;
  }
  .archive-post-col .elementor-widget-container {
    margin: 0% !important;
  }
  #grainli-twitter-feed .elementor-widget-container {
    margin: 0% 5% 0% 5% !important;
  }
  .follow-us-on-twitter {
    text-align: center !important;
  }
  #grainli-twitter-feed-title .elementor-heading-title {
    font-size: 50px !important;
  }
  .event-share-via-calendar {
    padding-left: 20px;
  }
  .elementor-element-e5c93f2 .elementor-element-populated {
    border-width: 0px 0px 0px 0px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  #archive-post-second-col {
    width: 66% !important;
  }
  #grainli-twitter-feed-title .elementor-heading-title {
    font-size: 45px !important;
  }
  #grainli-twitter-feed .elementor-widget-container {
    margin: 0% 5% 0% 5% !important;
  }
  .event-share-via-calendar {
    padding-left: 20px;
  }
  .wp_post_categories_drp_dwn .elementor-widget-container h5 {
    font-size: 15px !important;
  }
  .wp_post_categories_drp_dwn .elementor-widget-container select {
    background-color: transparent;
    font-size: 15px !important;
    border: 2px solid black !important;
  }
  .event-sidebar-title h1 {
    font-size: 20px !important;
  }
}

/*Events popup*/
.event-custom-post {
  display: flex;
  align-items: flex-start;
}
.event-custom-post-thumbnail {
  width: 30%;
  min-width: 150px;
}
.event-custom-post-thumbnail img {
  display: block;
  max-width: 110px;
}
.event-custom-post-title {
  color: black;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: underline;
  line-height: 1.5em;
}
.event-custom-post-date {
  color: black;
}

#event_url_link .elementor-post-info__item--type-custom {
  text-transform: initial !important;
}
#event_url_link .elementor-icon-list-item a {
  text-decoration: auto;
}

/*
 *	AWSM Job Openings support
*/

/* Job listings */
.awsm-selectric {
  border: unset;
  box-shadow: unset;
}

.awsm-selectric-items li,
.awsm-selectric-items ul,
.awsm-selectric .label {
  font-size: unset;
  color: black;
}

.awsm-selectric-items li.highlighted {
  color: black;
}

.awsm-selectric-items li:hover {
  color: black;
  background-color: var(--e-global-color-secondary);
}

.awsm-lists {
  border: none !important;
}

.awsm-lists .awsm-list-item {
  padding-bottom: 0.5rem !important;
}

.awsm-job-wrap .awsm-filter-items {
  display: flex !important;
  justify-content: center !important;
}

.awsm-job-listings .awsm-list-left-col,
.awsm-job-listings .awsm-list-right-col {
  position: relative;
}
.awsm-job-listings .awsm-list-left-col {
  width: 40%;
}
.awsm-job-listings .awsm-list-right-col {
  width: 60%;
}

.awsm-job-listings .awsm-job-item {
  padding: 2rem;
  color: #000;
  background-color: #fff;
}

.awsm-job-listings .awsm-job-item > div > * {
  line-height: 1.25;
  font-size: 1rem;
}

.awsm-job-listings .awsm-job-item a {
  font-size: inherit;
  text-decoration: none;
}

.awsm-job-listings .awsm-job-post-title a {
  text-transform: none !important;
  text-decoration: none;
  font-weight: normal !important;
}

.awsm-job-listings .awsm-job-specification-wrapper {
  display: flex;
  float: left !important;
  width: 80% !important;
  padding-bottom: 0 !important;
}

.awsm-job-listings .awsm-job-specification-item {
  /* float: left; */
  display: flex;
  width: 30%;
  margin-right: 3%;
  text-align: left;
  vertical-align: top;
}

.awsm-job-listings .awsm-job-more-container {
  text-align: right;
  font-weight: bold;
}

@media (max-width: 640px) {
  .awsm-job-listings .awsm-job-specification-wrapper {
    flex-direction: column;
    max-width: 65%;
  }
}

@media (max-width: 1024px) {
  .awsm-job-listings .awsm-job-more-container {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .awsm-job-listings .awsm-job-specification-item,
  .awsm-job-listings .awsm-list-left-col,
  .awsm-job-listings .awsm-list-right-col {
    width: 100%;
    margin-right: 0;
  }

  .awsm-job-listings .awsm-list-left-col {
    padding-bottom: 1em;
  }

  /* .awsm-job-listings .awsm-job-specification-wrapper {
		flex-direction: row;
	}*/
}

/* Job single pages */

.single-job-page-header-icons .elementor-icon-list-item {
  margin-bottom: 0.75em !important;
}
.single-job-page-header-icons .elementor-icon-list-text a {
  color: white !important;
  text-transform: capitalize;
  text-decoration: auto !important;
}

/* Job forms */
.awsm-job-form-inner {
  background: transparent;
}

/* Hide "Contact us" on rice */
/* cereals */
/* DE */
.post-3267 .product_grid_contact_us_link {
  display: none;
}

/* EN */
.post-3268 .product_grid_contact_us_link {
  display: none;
}

/* adjuncts */
/* DE */
.post-1665 .product_grid_contact_us_link {
  display: none;
}

/* EN */
.post-2567 .product_grid_contact_us_link {
  display: none;
}

.grecaptcha-badge {
  z-index: 201000;
}

/* events side popup */
.events-side-button {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  text-transform: uppercase;
  font-family: "Simplon Norm", Roboto, sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
}

.events-side-spacer:not(:last-of-type) {
  height: 30px;
}

.event-custom-post .event-custom-post-title {
  margin-bottom: 0;
}

.event-custom-post .event-custom-post-date {
  margin-bottom: 20px;
}

#recruitee-careers .rt-list__offer-title {
  font-family: "Krana Fat", Roboto, sans-serif !important;
  font-weight: 900;
  line-height: 1;
  color: var(--e-global-color-accent) !important;
}
#recruitee-careers .rt-list__offer-item:hover .rt-list__offer-title {
  text-decoration: none !important;
  color: var(--e-global-color-3c42b95) !important;
}
#recruitee-careers .rt-theme-light.rt-body {
  border-color: #ffffff !important;
  box-shadow: none !important;
}
#recruitee-careers .rt-body {
  border-radius: 0px !important;
  padding: 0px !important;
  border-width: 0px !important;
}
#recruitee-careers .rt-list__offer-item {
  padding: 2rem !important;
}
#recruitee-careers .rt-list__offer-item + .rt-list__offer-item {
  padding-top: 2rem !important;
  margin-top: 0px !important;
}
#recruitee-careers-details-container
  .rt-theme-light
  .rt-list__offer-item
  + .rt-list__offer-item,
#recruitee-careers .rt-theme-light .rt-list__offer-item + .rt-list__offer-item {
  border-color: #f2f2f2 !important;
}
.rt-icon.rt-icon-arrow-forward,
.rt-icon.rt-icon-location {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}
#recruitee-careers .rt-list__offer-item .rt-icon-arrow-forward {
  top: 50%;
  margin-top: -21px;
}
.rt-icon-arrow-forward:before {
  content: "\f178" !important;
}
.rt-icon.rt-icon-location:before {
  content: "\f3c5" !important;
}
#recruitee-careers .rt-list__offer-linkedin i,
#recruitee-careers .rt-list__offer-location i,
#recruitee-careers .rt-list__offer-remote i,
#recruitee-careers .rt-list__offer-item:hover .rt-list__offer-location,
#recruitee-careers
  .rt-list__offer-item:hover
  .rt-list__offer-title
  .rt-list__offer-department {
  opacity: 1 !important;
}
