/*
Theme Name: Kinderton
Theme URI: 
Author: PRDev
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kinderton
*/

/* reset */

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/*
ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
	padding-inline-start: var(--wp--preset--spacing--medium);
} */

div[class*="wp-block-"] figcaption {
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--font-size--x-small);
  margin-bottom: 0;
  margin-top: 20px;
  text-align: center;
}

.wp-site-blocks > * + * {
  --wp--style--block-gap: 0;
  margin-top: var(--wp--style--block-gap);
}

/* end reset */

.wp-element-button {
  transition: all 0.2s ease-in-out;
  & :hover {
    transition: all 0.2s ease-in-out;
  }
}

section.has-global-padding,
footer > .has-global-padding,
header > .has-global-padding {
  padding-left: 2rem;
  padding-right: 2rem;
}

section.wp-block-group,
footer.wp-block-group {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.img-quote {
  position: absolute;
  left: -5%;
  top: -5%;
  z-index: 0;
}

.wp-block-image img {
  vertical-align: middle;
}

.is-style-rounded img, .is-style-rounded > div {
  border-radius:24px!important;
}

hr.wp-block-separator.hr-large {
  height: 8px;
}

.image-wrap img {
  height: 100%;
  width: auto;
  max-width: 500px;
  object-fit: contain;
}

body:not(.no-js) .image-wrap {
  transition: 1s ease-out;
  transition-delay: 0.2s;
  position: relative;
  width: auto;
  height: 500px;
  overflow: hidden;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  visibility: hidden;
}

.height-300px {
  height: 360px!important;
}

body:not(.no-js) .image-wrap img {
  transform: scale(1.3);
  transition: 2s ease-out;
}

body:not(.no-js) .animating .image-wrap {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  visibility: visible;
  transform: skewY(0);
}

body:not(.no-js) .animating img {
  transform: scale(1);
  transition: 4s ease-out;
}



.entry-content {
  & li {
    margin-bottom: 1rem;
  }
}


.top-nav .wp-block-navigation-item__label {
    border: 2px solid transparent;
    padding: 10px 0px;
  }
  
  .top-nav .current-menu-item .wp-block-navigation-item__label {
    border-top: 2px solid var(--wp--preset--color--blue);
    
    padding: 10px 0px;
    background-color: var(--wp--preset--color--white);
  }
  
  .top-nav .wp-block-navigation-item:hover .wp-block-navigation-item__label {
    border-top: 2px solid var(--wp--preset--color--blue);
    color: var(--wp--preset--color--blue-aa);
  
    padding: 10px 0px;
    background-color: var(--wp--preset--color--white);
  }
  
  .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--wp--preset--color--blue-lightest);
  }  


.relative,
.relative img {
  position: relative;
}

.absolute {
  position: absolute;
}

.text-left {
  text-align:left;
} 

.left-0 {
  left: 0;
}

.top-0 {
  top: 0;
}

.top--5 {
  top: -5%;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.bottom-5 {
  bottom: 5%;
}

.mb--5 img {
  margin-bottom: -5%;
}

.mb--10 img {
  margin-bottom: -10%;
}

.z-index--, .z-index-minus {
  z-index: -9;
}

.z-index-plus img {
  z-index: 9;
}

.z-index-+ {
  z-index: 9;
}

.z-index-plus {
  z-index: 9;
}

.z-index-99 {
  z-index: 99;
}

.z-index-0 {
  z-index: 0;
}

.ar-1-1 {
  aspect-ratio: 1 / 1;
}

.ar-16-9 img {
  aspect-ratio: 16 / 9;
}

.bw img {
  mix-blend-mode: multiply;
  filter: grayscale(100%);
}

.w-full {
  width:100%;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible;
}

.is-style-default-style figure {
  border-radius: 20px;
  overflow: hidden;
}

.mw-300 {
  max-width: 300px;
}

.m-l-24 {
  margin-left: 24px;
}

.btn-ico-sb .wp-block-button__link {
  gap: 12px;
  display: flex;
 justify-content: space-between;
}

.btn-ico-c .wp-block-button__link {
  gap: 12px;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 720px) {
  .sm-hide {
    display: none !important;
  }

  .sm-p-lr-0 {
    padding-left: 0;
    padding-right: 0;
  }

  .wp-block-media-text {
    gap: 2rem;
  }

  section.wp-block-group,
  footer.wp-block-group {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .grid-block {
    width: 100%;
  }

  .sm-gap-s {
    gap:2rem;
  }

  .sm-flex-50 {
    flex-basis:50%!important;
  }

  .sm-flex-end {
    justify-content: flex-end;
  }
  
  .sm-p-lr {
      padding-left:1rem;
      padding-right:1rem;
  }

  .sm-h-auto {
    height: auto !important;
    min-height: auto !important;
  }

  .sm-h-80 {
    height:80vh;
  }

  .sm-order-1 {
    order:1;
  }

  .sm-order-2 {
    order:2;
  }

  .sm-order-3 {
    order:3;
  }

  .sm-text-center {
    text-align:center;
  }

  .sm-justify-center {
  justify-content: center;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .item-1 {
    grid-column: span 1;
    grid-row: 1;
  }
  
  .item-2 {
    grid-column: span 1;
    grid-row: 1;
  }
  
  .item-3 {
    grid-column: span 1;
    grid-row: 2;
  }
  
  .item-4 {
    grid-column: span 1;
    grid-row: 2;
  }
  
  .ico-hero {
      width:30px;
  }
  
  .sm-hero-padding-80 {
      padding-top:var(--wp--preset--spacing--80)!important;
      padding-bottom:var(--wp--preset--spacing--80)!important;
  }

  .sm-background:after {
    background: linear-gradient(180deg, rgba(242, 253, 255, 0.6) 82%, rgb(255, 255, 255) 82%);
    width:100%;
    height:100%;
    top:0;
    left:0;
    position:absolute;
    content:"";
  }

}


@media screen and (min-width: 1000px) {
  .grid-block {
    width: 23%;
    aspect-ratio: 3 / 2;
  }
}



/**/


/*
.is-layout-constrained > * {
  margin-block-start: 12px;
  margin-block-end: 0;
} */

header ul.wp-block-navigation  li .wp-block-navigation-item__content {
  color: inherit;
  padding:18px 6px;
  border:1px solid transparent;
}

header .wp-block-navigation > .wp-block-navigation-item.current-menu-item span {
  border-bottom:1px solid var(--wp--preset--color--true-blue-6);
  background-color:none;
  color:var(--wp--preset--color--true-blue-7);
 
}

header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover span {
  border-bottom:1px solid var(--wp--preset--color--true-blue-6);
  background-color:none;
  color:var(--wp--preset--color--dark-blue-base-10);
  
}

@media screen and (min-width: 760px) {

  .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
   /* background-color: var(--wp--preset--color--true-blue-4);
    border: 2px solid var(--wp--preset--color--true-blue-4);
    color:#fff; */
    border-radius: 12px;
   
}

header .wp-block-navigation ul.wp-block-navigation__submenu-container {
  overflow: hidden!important;
 /* background-color: var(--wp--preset--color--true-blue-4); 
  color:#fff;
  border: 0px solid #00000026;
  border-radius: 12px;
  padding: 0px; 

  width:auto;
  
  box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.00),
  0px 5px 4px rgba(3, 7, 18, 0.01),
  0px 11px 9px rgba(3, 7, 18, 0.01),
  0px 19px 15px rgba(3, 7, 18, 0.02),
  0px 30px 24px rgba(3, 7, 18, 0.02); */
& li:not(:last-child)  {
  border-bottom:1px solid var(--wp--preset--color--blue);
}
& li a {
  padding-top: 14px;
  padding-bottom: 7px; 
  padding-left: 16px;
  padding-right: 16px;
  width:auto;
  text-wrap: nowrap;
  color:white
}
    & li:hover {
      background-color: var(--wp--preset--color--true-blue-6);
    }
  }
}


header .wp-block-navigation ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding-top: 10px;
  padding-bottom: 10px; 
  padding-left: 18px;
  padding-right: 18px;
}


.wp-block-navigation.items-justified-right {
  --navigation-layout-justification-setting: flex-start;
  --navigation-layout-justify: flex-start;
}


.wp-element-button.wp-load-more__button {
  display:inline-flex;
  background-color: var(--wp--preset--color--coral-dark);
  border: 2px solid var(--wp--preset--color--coral-dark);
  color: var(--wp--preset--color--white);
  &:hover {
  background-color: var(--wp--preset--color--coral-darker);
  border: 2px solid var(--wp--preset--color--coral-darker);
  color: var(--wp--preset--color--white);
}
}

.sidebar ul {
  list-style-type: none;
  margin: 0;
  font-weight:60;
  padding-inline-start: 0px;

  font-size: var(--wp--preset--font-size--l-large);
  & li{
    cursor:pointer;
  }
}

.categories-post-top.taxonomy-category {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  column-gap: 3px;
}

.categories-post-top.taxonomy-category  a {
  background-color: white;
  border:2px solid var(--wp--preset--color--dark);
  border-radius:50px;
  color: var(--wp--preset--color--dark);
  padding:6px 12px;   
  font-size:14px;
 }

 .text-left a {
  text-align:left;
  padding-left:0
 }

footer.alignwide {
  max-width: 1440px!important;
  max-width: 97% !important;
}

.external-link .wp-block-button__link {
  display: flex;
    align-items: center;
    gap: 6px;
}

a:where(:not(.wp-element-button)) {
  color: #32568D;
}
