/*
Theme Name: Happy Faces
Theme URI: https://happyfaces.creatievevrienden.nl/
Author: CreatieveVrienden
Author URI: https://www.creatievevrienden.nl/
Description: Maatwerk WordPress theme op basis van de originele Happy Faces WebsiteBaker website.
Version: 1.0.4
Text Domain: happyfaces
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background: #fdb813 url("assets/images/bg_website_HappyFaces.gif") top center no-repeat;
  overflow-x: hidden;
}

a,
a:link,
a:active {
  color: #8d3895;
  text-decoration: none;
}

a:visited,
a:hover {
  color: #8d3895;
  text-decoration: underline;
}

p {
  line-height: 1.35;
  color: #000;
  margin: 0;
  padding: 0;
}

#content p {
  margin: 0 0 16px;
}

#content p:empty {
  min-height: 16px;
  margin: 0;
}

img,
td,
tr {
  margin: 0;
  padding: 0;
  border: 0;
}

#center {
  width: 100%;
}

#wrapper {
  width: 990px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
}

#header {
  width: 990px;
  height: 540px;
  float: left;
}

#slider_box {
  width: 990px;
  height: auto;
  float: left;
  position: relative;
}

.socialbox {
  width: 200px;
  height: 50px;
  padding-top: 10px;
  float: right;
  font-size: 12px;
  color: #ed008c;
}

.socialbox a,
.socialbox a:link,
.socialbox a:active,
.socialbox a:visited,
.socialbox a:hover {
  color: #ec008c;
  text-decoration: none;
  line-height: 26px;
}

#logo {
  width: 260px;
  height: 420px;
  position: absolute;
  top: 110px;
  left: 15px;
  z-index: 2;
}

#logo a {
  display: block;
  position: relative;
  width: 220px;
  height: 416px;
  text-decoration: none;
}

#logo img {
  display: block;
  width: 207px;
  height: 210px;
  object-fit: cover;
  object-position: top center;
}

#logo a::before,
#logo a::after {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  white-space: pre-line;
}

#logo a::before {
  top: 212px;
  left: 8px;
  width: 122px;
  height: 122px;
  padding: 16px;
  background: #b783c2;
  content: "Professionele,\Ahuiselijke en\Aliefdevolle\Aopvang";
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.08;
}

#logo a::after {
  top: 322px;
  left: 130px;
  width: 88px;
  height: 88px;
  padding: 12px;
  background: #fdb813;
  content: "Ruime\A openings-\A tijden tot\A 18.30 uur";
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.05;
}

#schrijf_in {
  width: 214px;
  height: 221px;
  position: absolute;
  top: 340px;
  left: 710px;
  z-index: 3;
}

#slider {
  width: 805px;
  height: 500px;
  position: absolute;
  top: 0;
  left: 245px;
  z-index: 0;
  overflow: hidden;
}

#slideShow,
.hf-slider-fallback {
  width: 805px;
  height: 500px;
}

.hf-slider-fallback {
  display: block;
  background: url("assets/slider/images/Slider_header1.png") center top / cover no-repeat;
}

#menu {
  width: 965px;
  height: 40px;
  position: relative;
  top: 235px;
  left: 0;
  z-index: 101;
}

.menu-toggle {
  display: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

ul.menu-top {
  float: right;
  margin: 0;
  padding: 0 9px;
  list-style: none;
  width: auto;
  min-height: 40px;
  background-color: #fdb813;
  border-radius: 10px;
  text-align: right;
}

ul.menu-top li {
  display: inline;
  float: left;
  position: relative;
}

ul.menu-top li a {
  display: block;
  font-size: 17px;
  line-height: 41px;
  color: #fff;
  text-decoration: none;
  text-transform: lowercase;
  margin: 0 5px;
  padding: 0 5px;
}

ul.menu-top .current-menu-item > a,
ul.menu-top .current-menu-ancestor > a,
ul.menu-top li:hover > a {
  color: #8d3895;
  text-decoration: none;
}

ul.menu-top ul {
  display: none;
}

ul.menu-top li:hover > ul,
ul.menu-top li:focus-within > ul {
  position: absolute;
  display: block;
  width: max-content;
  min-width: 180px;
  height: auto;
  margin-top: -2px;
  padding: 2px 2px 4px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 1px #8d3895;
  z-index: 200;
}

ul.menu-top li ul li {
  display: block;
  float: none;
  text-align: left;
  width: auto;
}

ul.menu-top li ul li a {
  color: #8d3895;
  text-decoration: none;
  font-size: 13px;
  line-height: 26px;
  margin-bottom: 1px;
}

ul.menu-top li ul li:hover > a {
  color: #fff;
  text-decoration: none;
  background-color: #fdb813;
  border-radius: 5px;
}

#content {
  width: 560px;
  height: auto;
  margin: 20px 0 50px 25px;
  padding: 30px;
  float: left;
  background-color: #fff;
  border-radius: 10px;
}

#content a,
#content a:link,
#content a:active {
  color: #8d3895;
  text-decoration: none;
  font-weight: 700;
}

#content a:visited,
#content a:hover {
  color: #8d3895;
  text-decoration: underline;
}

#content h1 {
  font-size: 22px;
  font-weight: 400;
  color: #8d3895;
  margin: 0 0 15px;
  padding: 0;
}

#content h2 {
  font-size: 18px;
  color: #8d3895;
  margin: 18px 0 8px;
}

#content img {
  max-width: 100%;
  height: auto;
  padding: 15px;
}

#content table {
  width: 100%;
  max-width: 100%;
}

#nieuwsbox {
  width: 305px;
  margin-right: 20px;
  height: auto;
  float: right;
}

#nieuwsblok {
  width: 280px;
  height: auto;
  padding: 25px;
  float: left;
  background-color: #8d3895;
  border-radius: 10px;
}

#nieuwsblok_img {
  width: 280px;
  height: 25px;
  float: left;
  background: url("assets/images/bottom_img_nieuwsblok.png") top left no-repeat;
}

#nieuwsblok p {
  font-weight: 400;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: normal;
}

#nieuwsblok h1 {
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  padding: 0;
}

#nieuwsblok h2 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 15px 0 5px;
  padding: 0;
}

#nieuwsblok a,
#nieuwsblok a:hover {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  text-decoration: none;
}

.lijntje {
  margin-top: 10px;
  padding: 0;
  border-top: 3px dotted #ec008c;
}

#footer_box {
  width: auto;
  height: auto;
  clear: both;
}

#footer_img {
  width: 650px;
  height: 25px;
  margin-left: 0;
  background: url("assets/images/top_img_footer.png") bottom right no-repeat;
}

#footer {
  width: 620px;
  height: auto;
  margin: 0 0 50px 25px;
  padding: 30px 0 30px 30px;
  color: #fff;
  float: left;
  background-color: #8d3895;
  border-radius: 10px;
}

.footerbox1 {
  width: 250px;
  height: auto;
  float: left;
}

.footerbox2 {
  width: 245px;
  height: auto;
  margin-left: 15px;
  float: left;
}

.footerbox3 {
  width: 60px;
  height: auto;
  margin: 35px 0 0;
  float: left;
}

#footer p {
  color: #fff;
  margin: 0;
  padding: 0;
}

#footer h1 {
  font-size: 14px;
  color: #fdb813;
  margin: 0 0 5px;
  padding: 0;
}

#footer a,
#footer a:hover {
  color: #fdb813;
}

#footer .footer-phone,
#footer .footer-phone a,
#footer .footer-phone a:hover {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

#CreatieveVrienden {
  clear: both;
  width: 990px;
  margin: 0 auto;
  padding: 0 0 20px 25px;
  font-size: 11px;
}

select,
textarea {
  border-radius: 5px;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"],
input[type="reset"],
input[type="file"],
input[type="button"] {
  margin: 2px;
  padding: 2px;
  border-radius: 5px;
  border: 1px #fdb813 solid;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
  cursor: pointer;
  color: #fff;
  background-color: #8d3895;
}

#content .gform_wrapper {
  margin-top: 18px;
}

#content .gform_wrapper .gfield_label,
#content .gform_wrapper legend.gfield_label {
  color: #000;
  font-weight: 400;
}

#content .gform_wrapper .gsection_title {
  color: #8d3895;
  font-size: 18px;
  font-weight: 700;
}

#content .gform_wrapper input[type="text"],
#content .gform_wrapper input[type="email"],
#content .gform_wrapper input[type="tel"],
#content .gform_wrapper input[type="url"],
#content .gform_wrapper input[type="number"],
#content .gform_wrapper textarea,
#content .gform_wrapper select {
  border: 1px solid #fdb813;
  border-radius: 5px;
  padding: 5px;
}

#content .gform_wrapper .gform_button {
  cursor: pointer;
  color: #fff;
  background-color: #8d3895;
  border: 1px solid #fdb813;
  border-radius: 5px;
  padding: 5px 14px;
}

.news-list article {
  margin: 0 0 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid #eee;
}

.news-list article:last-child {
  border-bottom: 0;
}

@media (max-width: 1020px) {
  #wrapper,
  #header,
  #slider_box,
  #CreatieveVrienden {
    width: 100%;
  }

  #wrapper {
    padding: 0 15px;
  }

  #slider {
    left: 185px;
    width: calc(100% - 185px);
  }

  #menu {
    width: 100%;
  }

  #content {
    width: calc(100% - 330px);
  }

  #nieuwsbox {
    margin-right: 15px;
  }
}

@media (max-width: 760px) {
  body {
    background-image: none;
  }

  #wrapper {
    padding: 0 12px;
  }

  #header {
    height: auto;
    min-height: 340px;
    float: none;
  }

  #slider_box {
    min-height: 300px;
    float: none;
    overflow: visible;
  }

  .socialbox {
    display: none;
  }

  #logo {
    top: 16px;
    left: 10px;
    width: 158px;
    height: auto;
    padding: 12px 11px 10px;
    border: 1px solid rgba(253, 184, 19, .4);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 26px rgba(85, 39, 90, .18);
    transform: none;
    z-index: 5;
  }

  #logo img {
    display: block;
    width: 136px;
    height: 126px;
    object-fit: cover;
    object-position: top center;
  }

  #logo a {
    display: flex;
    position: static;
    flex-direction: column;
    align-items: center;
    width: auto;
    height: auto;
    text-decoration: none;
  }

  #logo a::before {
    display: none;
  }

  #logo a::after {
    position: static;
    display: block;
    width: 128px;
    height: auto;
    margin-top: 10px;
    padding: 8px 7px 9px;
    border-radius: 4px;
    background: #b783c2;
    color: #fff;
    content: "Professionele, huiselijke en liefdevolle opvang";
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  #schrijf_in {
    top: 158px;
    left: auto;
    right: 12px;
    width: 138px;
    height: 138px;
    transform: none;
    z-index: 5;
  }

  #schrijf_in a {
    display: block;
    position: relative;
    width: 138px;
    height: 138px;
    text-decoration: none;
  }

  #schrijf_in img {
    display: none;
  }

  #schrijf_in a::before,
  #schrijf_in a::after {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    white-space: pre-line;
  }

  #schrijf_in a::before {
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border: 3px solid #8d3895;
    background: #fff;
    color: #8d3895;
    content: "SCHRIJF\A UW KIND\A IN";
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.05;
    z-index: 2;
  }

  #schrijf_in a::after {
    left: 0;
    bottom: 0;
    width: 105px;
    height: 105px;
    padding: 13px;
    background: #ec008c;
    color: #fff;
    content: "Één van de\A voordeligste\A kinderdag-\A verblijven!";
    font-family: "Quicksand", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
  }

  #slider {
    width: calc(100% - 88px);
    height: 210px;
    top: 54px;
    left: 88px;
    border-radius: 0 0 0 48px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(85, 39, 90, .18);
    opacity: 1;
  }

  #slideShow,
  .hf-slider-fallback {
    width: 100%;
    height: 210px;
  }

  .hf-slider-fallback {
    background-position: 43% center;
  }

  #menu {
    top: 0;
    height: auto;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    margin: 0 0 8px auto;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: #fdb813;
    cursor: pointer;
  }

  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    content: "";
  }

  .menu-toggle-bars {
    position: relative;
  }

  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    position: absolute;
    left: 0;
  }

  .menu-toggle-bars::before {
    top: -8px;
  }

  .menu-toggle-bars::after {
    top: 8px;
  }

  ul.menu-top {
    float: none;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 6px;
  }

  #menu.is-open ul.menu-top {
    display: flex;
  }

  ul.menu-top li a {
    font-size: 15px;
    line-height: 30px;
  }

  ul.menu-top li:hover > ul,
  ul.menu-top li:focus-within > ul {
    position: static;
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  #content,
  #nieuwsbox {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #content {
    padding: 22px;
    margin-top: 20px;
  }

  #nieuwsblok,
  #nieuwsblok_img {
    width: 100%;
  }

  .footerbox1,
  .footerbox2,
  .footerbox3 {
    float: none;
    width: auto;
    margin-left: 0;
  }

  #footer_img {
    display: none;
  }

  #footer {
    float: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 28px;
    padding: 24px 22px;
    overflow: hidden;
    background-color: #8d3895;
  }

  .footerbox1 {
    float: none;
    width: auto;
  }

  .footerbox2 {
    float: none;
    width: auto;
    margin-left: 0;
  }

  .footerbox3 {
    float: none;
    width: 60px;
    margin: 0;
  }

  #footer p {
    line-height: 1.45;
  }

  #footer p:empty,
  #footer p:has(> br:only-child) {
    display: none;
  }
}
