/*
 Theme Name:   Kidscool Child
 Theme URI:    https://wdtninos.wpengine.com/
 Description:  Kidscool Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     kidscool
 Version:      1.0.0
 Text Domain:  kidscool-child
*/

#header {
    background-image: linear-gradient(to bottom, #ffefe4 30%, transparent 100%);
}

@media (width < 1024px) {
    #header {
        background-image: linear-gradient(to bottom, #ffefe4 30%, #ffefe4 100%);
    }
}

#header p {
    margin-bottom: 0;
}

#topbar {
    position: absolute;
    top: 0;
    z-index: 10;
}

#header-logo {
    top: -20px;
}

@media (width < 1024px) {
    #header-logo {
    top: 0px;
}
}

.wdt-heading-holder {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.wdt-heading-holder .wdt-heading-icon-wrapper {
    width: 60px;
    height: 70px;
}

.wdt-heading-holder .wdt-heading-title-wrapper.wdt-heading-align-default-align.wdt-heading-deco-wrapper {
    width: calc(100% - 60px);
}

.wdt-heading-holder  .wdt-heading-content-wrapper {
    width: 100%;
  font-size: 1.3rem;
}

.wdt-image-box-holder.wdt-content-item-holder.wdt-column-holder.wdt-rc-template-custom-template h5 a {
    font-size: 2rem;
    font-weight: 700;
}

body.home .wdt-custom-imgbox.link-decr .wdt-content-item .wdt-content-detail-group .wdt-content-button > a {
  background-color: #eb1551;
  overflow: hidden;
  font-weight: 600;
  text-transform: uppercase;
  padding: 20px;
}

.wdt-custom-imgbox.link-decr .wdt-content-item .wdt-content-detail-group .wdt-content-button > a:after {
    background-color: transparent;
    top: auto;
    bottom: 0;
}

.wdt-custom-imgbox.link-decr .wdt-content-item:hover .wdt-content-button > a:hover::after {
    background-color: #fff;
}

.wdt-image-box-holder.wdt-content-item-holder.wdt-column-holder.wdt-rc-template-custom-template .wdt-content-description {
    font-size: 1.2rem;
    line-height: 1.2em;
}

.wdt-custom-imgbox .wdt-content-item:hover .wdt-content-detail-group  .wdt-content-description {
    color: #fff;
}

.contact-block .elementor-icon-box-icon {
    margin-top: 1.5rem;
}

.contact-block .elementor-icon-box-description a {
    color: #fff;
}


#header .wdt-header-tpl .sticky-header-active.wdt-header-top {
    display: none !important;
}

@media (width < 1025px) {
    .wdt-dark-bg .first-display {
        order: 2;
    }
    .wdt-dark-bg .wdt-custom-position {
        order: 1;
    }
    .wdt-heading-holder .wdt-heading-icon-wrapper {
        position: absolute;
        top: 0;
        left: 0;
    }
    .wdt-heading-holder .wdt-heading-title-wrapper.wdt-heading-align-default-align.wdt-heading-deco-wrapper {
        width: 100%;
    }
}

@media (width < 481px) {
    .wdt-image-box-holder.wdt-content-item-holder.wdt-column-holder.wdt-rc-template-custom-template h5 a {
        font-size: 1.4rem;
        font-weight: 700;
    }
    .wdt-image-box-holder.wdt-content-item-holder.wdt-column-holder.wdt-rc-template-custom-template .wdt-content-description {
        font-size: 1rem;
        line-height: 1.2em;
    }
    .contact-block h3 {
        margin-top: 0;
    }
}

.e-n-tab-title-text {
    display: flex;
  flex-direction: column;
}

.e-n-tab-title-text small {
    text-transform: none;
}