/*!
 * Plugin Name: Imagined WordPress Loader custom CSS
 * Description: Include custom css as grandchild theme
 * Author:      Imagined | Robin Withaar
 * Version:     1.0
 * Text Domain: imagined
 * Tags:        style,css,theme
 */

 :root {
   --primary:      #007090;
   --secondary:    #0090C0;
   --success:      #009020;
   --warning:      #E0C000;
   --danger:       #C02020;
   --background:   #203040;
   --white:        #FFFFFF;
   --niv-orange:   #F08800;
}

body {
  font-size: 16px !important;
}

p {
  margin: 0 !important;
  padding: 0 !important;
}

h1.entry-title {
  font-size: 2.5em;
}

.site-title {
  display: none;
}

.title-area a {
  display: block;
  margin: 0 0 0 2em;
  padding: 0;
  width: 12.5em;
  height: 4.4em;
  text-decoration: none;
  border: none;
}

.logo-25 {
  display: block;
  margin: .2em 0;
  padding: 0;
  height: 4em;
}

.logo-wheel,
.logo-text {
  display: block;
  margin: .2em 0;
  padding: 0;
  height: 4em;
  float: left;
  transform: rotate(0);
  transition: transform 1s;
  transition-timing-function: ease;
}

.logo-wheel {
  margin-left: 3px;
}

.title-area a:hover .logo-wheel {
  transform: rotate(60deg);
  transition: transform 1s;
  transition-timing-function: ease;
}

.button-niv {
  margin: 1rem 0;
  padding: 1rem;
  padding-inline: 2em;
  width: 100%;
  max-width: 100%;
  font-size: 1em;
  color: #ffffff !important;
  background: #f08800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f08800;
  border-width: 1px 0;
  border-radius: 0.25em 0.25em 0.25em 0.25em;
  box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-border-radius: 0.25em 0.25em 0.25em 0.25em;
  -moz-border-radius: 0.25em 0.25em 0.25em 0.25em;
}

.genesis-nav-menu .sub-menu,
.genesis-nav-menu .sub-menu a {
  width: 200px !important;
}

.home .wp-block-buttons.alignright .wp-block-button {
  margin-left: 0;
}

.home .wp-block-button.is-style-outline,
.home .wp-block-button.is-style-outline a {
  width: 100%;
}

.home .so-widget-sow-image-grid {
  padding: 0 10vw;
  width: 100vw;
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 100vw;
}

.home .so-widget-sow-image-grid .sow-image-grid-image {
  display: block;
  margin: 5px;
  padding: 5px;
  min-width: 120px;
  max-width: 120px;
  width: 120px;
  min-height: 65px;
  max-height: 65px;
  height: 65px;
  float: left;
  background: var(--white);
}

.home .so-widget-sow-image-grid .sow-image-grid-image img {
  max-width: 100px;
  max-height: 55px;
  width: auto;
  height: 55px;
}

/** New design training overview **/
body.archive main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

body.archive .content > .entry::before {
  left: -10px;
  top: -10px;
}

body.archive .content > .entry::after {
  right: -10px;
  bottom: -10px;
}

body.archive .content .entry-content {
  padding: 0;
}

body.archive article h2.entry-title {
  font-size: 1.5rem !important;
}

body.archive article .entry-header {
  padding: 1em 0 0 !important;
  margin-bottom: .5rem !important;
}

body.archive article .entry-title {
  margin-bottom: .5rem !important;
}

body.archive article .entry-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  height: calc(100% - 125px);
}

body.archive article .entry-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

body.archive .entry, .page .content .entry.archive-entry {
  margin-bottom: 2rem;
}

.entry-footer {
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  top: 0 !important;
}

.entry-footer a {
  display: block;
  position: absolute;
  margin: 0;
  padding: 0 1em;
  min-width: max-content;
  color: var(--white);
  background-color: var(--niv-orange);
}
  
.fotobutton {
  transform: translateY(-5em);
  margin-bottom: -5em;
}

.bannerbutton {
  transform: translateY(-5.5em);
  margin-bottom: -4em;
}

.w-full a {
  width: 100%;
}

.site-footer .footer-copyright-container {
  width: 30%;
  min-width: 150px;
  max-width: unset;
  float: left;
}

.site-footer .footer-widgets {
  float: none;
  max-width: 100% !important;
}

.site-footer .footer-widgets section {
  width: 30%;
  float: right;
}

.site-footer .footer-widgets section:first-child {
  float: left;
}

.site-footer .footer-widgets section:last-child .widget-wrap {
  width: 75%;
  margin: auto;
}

.entry,
.page .content .entry.archive-entry {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Medewerkers */
.so-widget-sow-features h5 {
  font-family: Montserrat, sans-serif;
}

.so-widget-sow-features h5 .function {
  font-family: Montserrat, sans-serif;
  font-style: italic;
  font-size: .75em;
}

.so-widget-sow-features .sow-features-feature p {
  display: none;
}

.so-widget-sow-features .sow-features-feature:hover p {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1em .25em;
  height: 200px;
  background: rgba(0, 0, 0, .5);
  color: var(--white);
  font-size: .7em;
}

.so-widget-sow-features .sow-features-feature:nth-child(3n+1) p {
  margin: 0 10% 0 0;
}

.so-widget-sow-features .sow-features-feature:nth-child(3n+2) p {
  margin: 0 0 0 10%;
}

.so-widget-sow-features .sow-features-feature:nth-child(3n+3) p {
  margin: 0 0 0 10%;
}


@media only screen and (max-width: 1280px) {
  .archive.full-width-content .content {
     max-width: 900px;
  }

  .so-widget-sow-features .sow-icon-container {
     max-width: 150px;
     max-height: 150px;
  }

  .so-widget-sow-features .sow-icon-container .sow-icon-image {
     max-width: 150px;
     max-height: 150px;
  }

  .so-widget-sow-features .sow-features-feature p {
     max-width: 150px;
     max-height: 150px;
     font-size: .7em;
  }

  .so-widget-sow-features .sow-features-feature:nth-child(3n+3) p {
     margin: 0 0 0 20%;
  }
}

@media only screen and (max-width: 1023px) {
  .archive.full-width-content .content {
     max-width: 780px;
  }

  .wp-block-columns {
     flex-wrap: wrap;
  }

  .wp-block-column.entry {
     flex-basis: 100% !important;
     margin: 1em 0 !important;
  }

  .ab-block-container.alignfull .ab-container-inside {
     margin: 1em 3em;
  }

  .site-footer .footer-widgets section a {
     width: 100% !important;
  }
}

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

  h1.entry-title,
  .site-container .is-style-xl-text {
     font-size: 1.7em;
  }

  .archive.full-width-content .content {
     max-width: 522px;
  }

  body.archive main {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .site-footer .footer-copyright-container {
     width: 50%;
  }

  .site-footer .footer-widgets section:first-child {
     width: 50%;
  }

  .site-footer .footer-widgets section {
     width: 100% !important;
     text-align: center;
  }
}

@media only screen and (max-width: 520px) {
  .so-widget-sow-features .sow-features-feature p {
     margin: 0 25% !important;
  }
}

@media only screen and (max-width: 480px) {
  .archive.full-width-content .content {
     max-width: 100% !important;
  }

  .archive article {
     width: 90%;
     margin-left: 5% !important;
     margin-right: 5% !important;
  }

  .site-footer .footer-copyright-container {
     width: 100% !important;
  }

  .site-footer .footer-widgets section:first-child {
     width: 100% !important;
  }
}