/*
 Theme Name: LSAlloys
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Varbouk
 Author URI: https://bee-green.eco
 Template: Divi
 Version: 1.0.0
*/

/** Vars */
:root {
  --bee-primary: #325352;
  --bee-secondary: #bdcac5;
  --bee-primary-rgb: 50, 83, 82;
  --bee-secondary-rgb: 189, 202, 197;
}

/** A11y */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/** Scrollbar */
html {
  scrollbar-color: var(--bee-primary) var(--bee-secondary);
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 6px;
  height: 8px;
  background-color: var(--bee-secondary);
}

html::-webkit-scrollbar-thumb {
  background: var(--bee-primary);
}

/** Typography */
html:not(.et-tb-html) body,
html:not(.et-tb-html) .et_pb_column_1_2 .et_quote_content blockquote cite,
html:not(.et-tb-html) .et_pb_column_1_2 .et_link_content a.et_link_main_url,
html:not(.et-tb-html) .et_pb_column_1_3 .et_quote_content blockquote cite,
html:not(.et-tb-html) .et_pb_column_3_8 .et_quote_content blockquote cite,
html:not(.et-tb-html) .et_pb_column_1_4 .et_quote_content blockquote cite,
html:not(.et-tb-html) .et_pb_blog_grid .et_quote_content blockquote cite,
html:not(.et-tb-html) .et_pb_column_1_3 .et_link_content a.et_link_main_url,
html:not(.et-tb-html) .et_pb_column_3_8 .et_link_content a.et_link_main_url,
html:not(.et-tb-html) .et_pb_column_1_4 .et_link_content a.et_link_main_url,
html:not(.et-tb-html) .et_pb_blog_grid .et_link_content a.et_link_main_url,
html:not(.et-tb-html) body .et_pb_bg_layout_light .et_pb_post p,
html:not(.et-tb-html) body .et_pb_bg_layout_dark .et_pb_post p {
  font-size: calc(1rem + 0.21vw); /* 20px */
  font-size: calc(1rem + 0.2627vw); /* 21px */
}

h1,
h1.et_pb_contact_main_title,
.et_pb_title_container h1,
h2,
.product .related h2,
.et_pb_column_1_2 .et_quote_content blockquote p,
h3,
h4,
h5,
h6 {
  padding-bottom: 0;
  margin-bottom: 0.5em;
}

h1,
h1.et_pb_contact_main_title,
.et_pb_title_container h1 {
  font-size: 3.0476em !important; /* 64px */
}

h2,
.product .related h2,
.et_pb_column_1_2 .et_quote_content blockquote p {
  font-size: 2.2857em !important; /* 48px */
}

h3,
.bee-h3 h2 {
  font-size: 1.7143em !important; /* 36px */
}

h4 {
  font-size: 1.3333em !important; /* 28px */
}

h5 {
  font-size: 1.1423em !important; /* 24px */
}

h6 {
  font-size: 1em !important; /* 21px */
}

.et_pb_text p {
  padding-bottom: 0;
  margin-bottom: 1em;
}

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

.et_pb_text strong {
  font-weight: 400;
}

.et_pb_text ul {
  padding-bottom: 0;
  margin-bottom: 1em;
}

.et_pb_text ul:last-child {
  margin-bottom: 0;
}

.et_pb_text li {
  list-style: square;
}

.et-menu li {
  font-size: inherit;
}

.et_pb_module.et_pb_heading,
.et_pb_module.et_pb_post_title {
  margin-bottom: 0 !important;
}

/** Header */
#main-header {
  box-shadow: 0 1px 0 rgba(189, 202, 197, 0.5);
}

@media screen and (min-width: 980.5px) {
  #main-header .logo_container {
    transform: translateY(0.15em);
  }
}

#top-menu li a {
  font-weight: 300 !important;
}

/** Headings */
.bee-heading-line h1::before,
.bee-heading-line h2::before {
  content: '';
  display: inline-block;
  width: 15%;
  border-bottom: 7px solid var(--bee-secondary);
  position: absolute;
  top: 0.75em;
  left: -2px;
  transform: translateX(-100%);
}

.bee-heading-line h2::before {
  top: 0.7em;
  border-bottom-width: 6px;
}

/** Links & buttons */
a:not(.et_pb_button) {
  text-decoration: underline solid rgba(var(--bee-primary-rgb), 0.4);
  text-underline-offset: 0.15em;
  transition:
    color 0.25s ease-out,
    opacity 0.25s ease-out,
    text-decoration 0.25s ease-out,
    text-underline-offset 0.25s ease-out;
}

a:not(.et_pb_button):hover,
a:not(.et_pb_button):focus,
a:not(.et_pb_button):focus-visible,
a:not(.et_pb_button):focus-within {
  outline: none;
  text-decoration: underline solid rgba(var(--bee-primary-rgb), 0);
  text-underline-offset: 0.075em;
}

/** Flexible width containers */
.container,
.et_pb_row,
.et_pb_fullwidth_header .et_pb_fullwidth_header_container {
  width: 90.095%;
  max-width: none;
}

/** Specialties */
body:not(.home) .et_section_specialty {
  padding: 2.4762% 0 !important;
}

body:not(.home) .et_section_specialty > .et_pb_row {
  padding: 0 !important;
}

body:not(.home) .et_section_specialty > .et_pb_row > .et_pb_column {
  padding: 2.77% 0 !important;
  margin-bottom: 0 !important;
}

body:not(.home) .et_section_specialty .et_pb_column .et_pb_row_inner {
  padding: 0 !important;
}

@media (max-width: 479px) {
  body:not(.home) .et_section_specialty .et_pb_column {
    margin-bottom: 4.9525% !important;
  }

  body:not(.home) .et_section_specialty .et_pb_column:last-child {
    margin-bottom: 0 !important;
  }
}

/** Specialties, custom size columns */
.et_section_specialty .bee-cols-1_3-2_3 .et_pb_column:first-child {
  width: 29.4533% !important;
}

.et_section_specialty .bee-cols-1_3-2_3 .et_pb_column:last-child {
  width: 58.9065% !important;
}

@media (max-width: 479px) {
  .et_section_specialty .bee-cols-1_3-2_3 .et_pb_column:first-child,
  .et_section_specialty .bee-cols-1_3-2_3 .et_pb_column:last-child {
    width: 100% !important;
  }
}

/** Full width section */
.et_pb_row.bee-fullwidth {
  background-image: radial-gradient(ellipse at 50% 25%, #fff 0%, rgba(255, 255, 255, 0) 100%) !important;
}

@media screen and (min-width: 980.5px) {
  .et_pb_row.bee-fullwidth {
    background-image: radial-gradient(ellipse at 25% 50%, #fff 0%, rgba(255, 255, 255, 0) 100%) !important;
  }
}

.et_pb_row.bee-fullwidth .et_pb_column.et_pb_column_1_2:last-child {
  min-height: 31vw !important;
}

@media (max-width: 980px) {
  .et_pb_row.bee-fullwidth .et_pb_column.et_pb_column_1_2:last-child {
    display: block !important;
    margin-left: -5.5%;
    margin-right: -5.5% !important;
    width: 111% !important;
    min-height: 50vw !important;
    background-position: center 60%;
  }
}

@media screen and (min-width: 980.5px) {
  .et_pb_row.bee-fullwidth {
    width: 100%;
  }

  .et_pb_row.bee-fullwidth .et_pb_column.et_pb_column_1_2 {
    width: 47.525%;
  }

  .et_pb_row.bee-fullwidth .et_pb_column.et_pb_column_1_2:first-child {
    width: 45.05%;
    padding-left: 4.95%;
    margin-right: 4.95%;
  }

  .et_pb_row.bee-fullwidth .et_pb_column.et_pb_column_1_2:last-child {
    width: 50%;
  }
}

/** Key numbers */
.bee-numbers {
  font-size: 1.25em;
  line-height: 1;
}

.bee-numbers strong {
  display: block;
  font-family: 'Andada Pro', Georgia, 'Times New Roman', serif;
  font-size: 1.5em;
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 1;
}

@media screen and (min-width: 1480px) {
  .bee-numbers strong {
    font-size: 2em;
  }
}

.bee-numbers strong::before,
.bee-numbers strong::after {
  content: '';
  display: inline-block;
  width: 1em;
  border-bottom: 3.5px solid var(--bee-secondary);
}

.bee-numbers strong::before {
  transform: translateX(-0.1em);
}

.bee-numbers strong::after {
  transform: translateX(0.22em);
}

.bee-numbers strong span {
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
}

/** Front page products */
.bee-front-products h2::before {
  border-bottom-color: #fff;
}

@media only screen and (max-width: 1200px) {
  .bee-front-products {
    background-position: right 35% bottom 0 !important;
  }

  .bee-front-products > .et_pb_row > .et_pb_column:first-child {
    width: 63%;
  }

  .bee-front-products > .et_pb_row > .et_pb_column:last-child {
    width: 31.5%;
  }
}

@media only screen and (max-width: 980px) {
  .bee-front-products {
    background-position: right 20% bottom 0 !important;
  }

  .bee-front-products .et_pb_row_inner.et_pb_equal_columns .et_pb_column {
    display: flex;
    align-items: flex-end;
    margin-bottom: 1em;
  }

  .bee-front-products .et_pb_row_inner.et_pb_equal_columns .et_pb_column .et_pb_image {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
    width: 3em;
    height: 2em;
    padding-right: 1em;
  }

  .bee-front-products .et_pb_row_inner.et_pb_equal_columns .et_pb_column .et_pb_text {
    flex-grow: 1;
    text-align: left !important;
  }
}

@media only screen and (max-width: 767px) {
  .bee-front-products {
    background-position: right 30% bottom 0 !important;
  }

  .bee-front-products .et_pb_text .et_pb_text_inner {
    max-width: 50%;
  }

  .bee-front-products .et_pb_button {
    background-color: #cfb994;
  }
}

/** Footer */
footer.et-l--footer a {
  color: var(--bee-secondary);
}

footer.et-l--footer a:not(.et_pb_button) {
  text-decoration-color: rgba(var(--bee-secondary-rgb), 0.4);
}

footer.et-l--footer a:not(.et_pb_button):hover,
footer.et-l--footer a:not(.et_pb_button):focus,
footer.et-l--footer a:not(.et_pb_button):focus-visible,
footer.et-l--footer a:not(.et_pb_button):focus-within {
  text-decoration-color: rgba(var(--bee-secondary-rgb), 0);
}

footer.et-l--footer a:hover,
footer.et-l--footer a:focus {
  opacity: 0.8;
}

.bee-footer-copy {
  font-size: 0.7619em;
}

.bee-footer-copy .et_pb_row {
  display: flex;
}

@media (max-width: 980px) {
  .bee-footer-copy .et_pb_column {
    margin-bottom: 0;
  }
}

/** Speciality - equalized heights */
@media (min-width: 980.5px) {
  .bee-equalized-speciality > .et_pb_row {
    display: flex;
  }

  .bee-equalized-speciality > .et_pb_row > .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .bee-equalized-speciality > .et_pb_row > .et_pb_column > .et_pb_image,
  .bee-equalized-speciality > .et_pb_row > .et_pb_column > .et_pb_image > .et_pb_image_wrap {
    height: 100%;
  }

  .bee-equalized-speciality > .et_pb_row > .et_pb_column > .et_pb_image img {
    height: 100%;
    object-fit: cover;
  }
}
