/*
Theme Name:   Twentse Graszoden
Theme URI:    https://twentsegraszoden.nl/
Description:  Twentse Graszoden - WP
Author:       Stephan Rohaan
Author URI:   https://rohaanit.nl/
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         custom
Text Domain:  twentsegraszoden
*/

h1,
h2,
h3,
h4,
h5,
p,
a,
span,
button,
li {
  font-family: "Montserrat", sans-serif;
  word-break: keep-all;
}

/*    Big screens*/
h1 {
  /* H1 */
  font-size: 72px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 80px !important; /* 111.111% */
}
h2 {
  font-size: 54px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 60px !important; /* 111.111% */
}
h3 {
  font-size: 38px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 50px !important; /* 131.579% */
}
h4 {
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 30px !important; /* 125% */
}
h5 {
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 22px !important; /* 125% */
}
p,
a:not(.ab-item),
button {
  font-size: 14px !important;
  font-style: normal !important;
  line-height: 20px !important; /* 166.667% */
}

section.hero h1 {
  text-shadow: 4px 4px 0px #8cb910;
}

section.hero p {
  text-shadow: 0px 0px 5px black;
}

/*    Smaller screens*/
@media only screen and (max-width: 1024px) {
  h1 {
    font-size: 36px !important;
    line-height: 40px !important;
  }
  h2 {
    font-size: 32px !important;
    line-height: 36px !important;
  }
  h3 {
    font-size: 28px !important;
    line-height: 32px !important;
  }
}

/*    Smaller screens*/
@media only screen and (max-width: 480px) {
  h1 {
    font-size: 32px !important;
    line-height: 36px !important;
  }
  h2 {
    font-size: 28px !important;
    line-height: 32px !important;
  }
  h3 {
    font-size: 22px !important;
    line-height: 24px !important;
  }

  .large-word {
    font-size: 22px !important;
  }
}

.container-sm {
  margin-right: auto;
  margin-left: auto;
  width: 70%;
  max-width: 1920px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}
.container-md {
  margin-right: auto;
  margin-left: auto;
  width: 50%;
  max-width: 1920px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}
@media (max-width: 1440px) {
  .container-sm {
    width: 85%;
  }
  .container-md {
    width: 65%;
  }
}

/*Custom underline*/
.un {
  display: inline-block;
  position: relative;
}

.un:after {
  content: "";
  width: 0px;
  height: 2px;
  position: absolute;
  top: 100%;
  left: 0;
  /*background: inherit;*/
  transition: 300ms;
}

.un:hover:after {
  width: 100%;
}

.un:not(:hover):after {
  right: 0;
  left: auto;
}

/*Menu*/
.lg-menu a {
  font-size: 16px !important;
}
.lg-menu li.has-sub-menu {
  background-position: right;
}
.mobile-menu li.has-sub-menu {
  background-position: right 8px top 22px;
}

li.has-sub-menu {
  position: relative;
  padding-right: 20px;

  background-repeat: no-repeat;
}

li.has-sub-menu ul,
li.has-sub-menu li {
  background-image: unset !important;
}

/*make the menu sub-menu items drop down on mouse hover */
.lg-menu ul.sub-menu {
  opacity: 0;
  pointer-events: none;
  cursor: default;
  padding: 0 10px;

  transition: 300ms;
  background: inherit;
  position: absolute;
  min-width: 18rem;
}

ul.lg-menu li.has-sub-menu:hover > ul.sub-menu {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

/*Mobile menu*/
.mobile-menu .sub-menu {
  background: white;
}

.mobile-menu .sub-menu a {
  color: #201d1d;
}

section ul li {
  list-style: inside;
}

/* Green line under section */
section {
  position: relative;
}

section.greenline:after {
  content: " ";
  position: absolute;

  bottom: 0;
  left: 0;
  transform: translateY(50%);
  z-index: 0;

  width: 44%;
  height: 40px;

  background-image: url("assets/img/smeijers-line.png");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

/*Contact form*/

/*Style contact form*/
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea {
  border: 2px solid #201d1d;
  border-radius: 10px;

  width: 100%;
  padding: 8px 20px;
  margin-bottom: 20px;
}
.wpcf7-form input:not([type="submit"])::placeholder,
.wpcf7-form textarea::placeholder {
  color: #201d1d;
}
.wpcf7-form input[type="submit"] {
  border: 2px solid #9dbf60;
  border-radius: 50px;

  background: #9dbf60;
  font-weight: 700;
  color: white;
  transition: 300ms;

  float: right;
  cursor: pointer;

  padding: 8px 20px;
}

.wpcf7-form input[type="submit"]:hover {
  background: white;
  color: #9dbf60;
}
