/*
 Theme Name:   Divi Child
 Theme URI:    http://www.barrydesign.ie/source/Divi-child/
 Description:  Divi Child Theme
 Author:       Krzysztof Siczek
 Author URI:   https://www.barrydesign.ie
 Template:     Divi
 Version:      2.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Divi-child
*/

@import url("../Divi/style.css");

:root {
  --green: #124517;
  --white: #ffffff;
  --gray: #242424;
  --red: #cf2d2d;
  --lightGrey: #3F42501A;
}

.body {
  margin: 0;
  padding: 0;
  font-weight: 300;
}

.site__logo {
  width: auto;
  float: left;
  padding: 16px 0 16px 0;
}

#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after{
  top: unset !important;
}

#et-top-navigation {
  padding: 0 !important;
}

header#main-header {
  height: 120px;
  display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.flex-footer{
    display: flex;
    gap: 2em;
}

@media screen and (max-width: 567px) {
	.flex-footer{
    display: flex;
    flex-direction: column;
    gap: 0;
}
}


@media screen and (max-width: 981px) {
  .flex-center {
    flex-direction: column;
  }
}

.menu--center {
  margin-bottom: 0 !important;
}

.nav li li {
  width: 100%;
}

p.center {
  text-align: center;
}

.highlight-grey {
  color: var(--gray);
}

#et-top-navigation {
  height: 100px;
  display: flex;
  align-items: center;
}

#top-menu li li a{
  width: 100% !important;
}

.nav li ul{
  width: 300px !important;
}

@media screen and (max-width: 981px) {
  #et-top-navigation {
    display: flex !important;
    height: 75px;
  }

  #et-top-navigation .mobile_menu_bar {
    padding-bottom: 0 !important;
  }

  .et_mobile_menu {
    top: 75px;
  }

  img#logo {
    height: 75px !important;
    max-height: 75%;
  }
}

@media screen and (min-width: 982px) {
  ul#top-menu li a {
    padding: 0.75em 1em !important;
  }

  ul#top-menu li a:hover, #top-menu li.current_page_item>a{
    background-color: var(--lightGrey);
    border-radius: 8px;
    color: var(--green);
  }
}

@media screen and (max-width: 1150px) {
#top-menu li a  {
    font-size: 14px !important;
}
}

@media screen and (min-width: 982px) and (max-width: 1050px) {
#top-menu li a  {
    font-size: 12px !important;
}
}



/* Slider */

#main-slider .et_pb_text_overlay_wrapper {
    width: 100%;
}

.et_pb_slides .et_pb_slider_container_inner{
	display:flex;
}

.et_pb_slide_description{
    padding: 4% 8% 20% 8%;
}

/* #main-slider .et_pb_slide_description {
  padding-top: 1em;
} */

/* Contact form */

.contact-form {
  padding: 1.75em;
  background: #F7F7F7;
  border: 1px solid #1e293b;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  color: #e2e8f0;
  font-family: 'Open Sans', sans-serif;
}

.contact-form__title {
  font-family: 'Open Sans', sans-serif;
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  color: #1E1E1E;
  border-bottom: 1px solid #F7F7F7;
  padding-bottom: 0.75rem;
}

.contact-form__field {
  margin-bottom: 1.2rem;
}

.contact-form__label-text {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  font-size: 12px;
  color: #1E1E1E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 0.75em !important;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: #e2e8f0;
  background: #fff;
  border: 1px solid #334155;
  border-radius: 6px;
  box-sizing: border-box;
  transition: 
    border-color .2s ease,
    box-shadow .2s ease;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #64748b;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56,189,248,0.2);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .captcha-image {
  padding: 10px;
  display: inline-block;
  font-size: 1rem;
  color: #1E1E1E;
  text-align: center;
  border: 1px solid #334155;
  border-radius: 6px;
  background: #fff;
}

.contact-form__footer {
  margin-top: 1.5rem;
}

.contact-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0.75em 1.5em;
  border: 1px solid #38bdf8;
  margin-top: 1.5em;
  background: #3588be;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 
    transform .15s ease,
    box-shadow .15s ease,
    opacity .15s ease;
}

.contact-form__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(56,189,248,0.25);
}

.contact-form__button:active {
  transform: translateY(0);
  box-shadow: none;
}

.contact-form__button:focus-visible {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(56,189,248,0.3);
}

@media screen and (max-width: 981px) {

  .contact-form {
    padding: 1.25em;
  }

  .contact-form__input,
  .contact-form__textarea {
    font-size: 15px;
  }

}

/* Footer */

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75em;
}

.footer-nav li {
  margin: 0;
  padding: 0;
}

.footer-nav a {
font-family: Open Sans;
font-weight: 400;
font-style: normal;
font-size: 16px;
line-height: 160%;
color: #1E1E1E;
text-decoration: none;
}

.footer-nav a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-nav a {
    font-size: 16px;
  }

  .footer-nav ul {
    gap: 1em;
  }
}

/** Desktop **/
@media (min-width: 981px){
.col-width .et_pb_gallery_item {
width: 50% !important;
clear: none !important;
}
}
 
/** Tablet **/
@media (max-width: 980px){
.col-width .et_pb_gallery_item {
width: 50% !important;
clear: none !important;
}
}
 
/** Small Tablet and Large Phone **/
@media (max-width: 767px){
.col-width .et_pb_gallery_item {
width: 50% !important;
clear: none !important;
}
}
 
/** Phone **/
@media (max-width: 479px){
.col-width .et_pb_gallery_item {
width: 100% !important; /*two columns*/
clear: none !important;
}
}
