/*
Theme Name:     Schoolyland Theme
Theme URI:      https://schoolyland.co.il/
Template:       kadence
Author:         סקולילנד
Author URI:     https://schoolyland.co.il/
Description:    התבנית הקלאסית של סקולילנד.
Version:        2
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
/* הצללה להדר */
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container):not(.item-hidden-above), #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner  {
    box-shadow: 0px 0px 25px 5px #00000024;
}

h2.widget-title {
    display: none !important;
}
.learndash-course-grid .thumbnail.button-disabled,
.learndash-course-grid .items-wrapper .grid-2 .content .button.button-disabled{
    position: relative;
}
.learndash-course-grid .thumbnail.button-disabled::after,
.learndash-course-grid .items-wrapper .grid-2 .content .button.button-disabled::after{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    background-color: #00000084;
    z-index: 1;
}
body .learndash-course-grid .items-wrapper .grid-2 .content .author .name,
body .learndash-course-grid .items-wrapper .grid-2 .content .author .avatar{
    display: none;
}

.header-points-wrap{
    position: fixed;
    top: 127px;
    left: 0;
    padding: 0 15px;
    background-color: #de5857;
    color: #fff;
    text-align: center;
    font-size: 80%;
    font-weight: 400;
}
.header-points-wrap b::before{
    content: '';
    display: block;
    width: 39px;
    height: 31px;
    margin: 5px auto 0 auto;
    background-image: url(images/money.png);
    background-size: contain;
}
.header-points-wrap div{
    line-height: 100%;
    margin-bottom: 5px;
}
body .gb-points-products ul.gb-points-products-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
body .gb-points-products ul.gb-points-products-list > li.gb-points-product{
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    flex-grow: 1;
    overflow: hidden;
    flex-basis: calc(25% - 10px);
}
body .gb-points-products ul.gb-points-products-list > li.gb-points-product .gb-points-product-image{
    border-radius: 10px;
    overflow: hidden;
    height:20%;
}
body .gb-points-products ul.gb-points-products-list > li.gb-points-product .gb-points-product-image img{
    max-width: unset;
    width: 100%;
}
body .gb-points-products ul.gb-points-products-list > li.gb-points-product .gb-points-product-content{
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 80%;
}
li.gb-points-product .gb-points-product-content .gb-points-product-title{
    flex-basis: 35px;
    margin-bottom: 0;
}
li.gb-points-product .gb-points-product-content .gb-points-product-points{
    flex-basis: 8%;
}
li.gb-points-product .gb-points-product-content .gb-points-product-description{
    flex-basis: 135px;
    font-size: 80%;
}
li.gb-points-product .gb-points-product-content .gb-points-product-button-wrap{
    flex-basis: 40px;
    overflow: hidden;
}
.type-gbweb-pp a.gb-points-product-button,
li.gb-points-product .gb-points-product-content .gb-points-product-button-wrap a{
    padding: 4px 25px 6px 25px;
    border-radius: 5px 5px 5px 5px;
    border: 2px none transparent;
    box-shadow: 0 0 0 -7px rgba(0, 0, 0, 0);
    background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn);
    font-size: 1.125rem;
    line-height: 1.6;
    display: inline-block;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
}
.type-gbweb-pp a.gb-points-product-button:hover,
li.gb-points-product .gb-points-product-content .gb-points-product-button-wrap a:hover{
    box-shadow: 0 15px 25px -7px rgba(0, 0, 0, 0.1);
    color: var(--global-palette-btn-hover);
    background: var(--global-palette-btn-bg-hover);
}
.gb-points-products-message{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.gb-points-products-message .gb-points-products-message-win{
    position: relative;
    background-color: #FFFFFF;
    padding: 10px;
}
.gb-points-products-message .gb-points-products-message-win a:hover,
.gb-points-products-message .gb-points-products-message-win a{
    position: absolute;
    top: 5px;
    right: 5px;
    color: #FF0000;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}
body .single-content .gb-my-products-list{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.gb-my-product-name h4 a{
    font-weight: 400;
    font-size: 20px;
}
.ld-achievements-points{
    box-shadow: 0 0 10px 0 #00000012;
    background-color: #fff;
    margin: 20px 0 !important;
    padding: 30px 10px;
}
.ld-achievements-points .ld-achievements-points-label{
    color: transparent;
    display: inline-block;
    position: relative;
}
.ld-achievements-points span{
    font-weight: bold;
}
.ld-achievements-points .ld-achievements-points-label::before{
    content: '';
    display: inline-block;
    background-image: url(images/money.png);
    background-size: contain;
    width: 39px;
    height: 31px;
    margin-right: 10px;
    vertical-align: middle;
    position: absolute;
}
.ld-achievements-points .ld-achievements-points-label::after{
    content: 'הנקודות שלי למימוש באתר:';
    display: inline-block;
    font-weight: bold;
    color: #3B3B3B;
}
.wp-block-group.has-background.top-banner{
    padding: 0;
}
.wp-block-group.has-background.top-banner > .wp-block-columns,
.wp-block-group.has-background.top-banner > .wp-block-columns .wp-block-columns{
    padding: 0;
    margin: 0;
}
.wp-block-group.has-background.top-banner > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width: 100%;
}
.wp-block-group.has-background.top-banner .top-banner-content{
    max-width: 600px;
}
.wp-block-group.has-background.top-banner figure{
    margin: 0;
    padding: 0;
}
.site-width{
    max-width: var(--global-content-width);
    margin: 0 auto;
}
.gb-community-learning-archive-list{
    gap: 40px;
    justify-content: center;
}
.gb-community-learning-archive-list li{
    flex-basis: calc((100% / 5) - 20px);
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 15px 4px #0000001A;
}
.gb-community-learning-archive-list figure.user-image{
    margin: 0 auto;
    text-align: center;
}
.gb-community-learning-archive-list figure img{
    margin: 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}
.links-wrap{
    display: inline-flex;
    gap: 20px;
    margin: 0 auto;
}
.links-wrap > a{
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    background-color: #3B3B3B;
    padding: 0;
}
.links-wrap > a img{
    margin: 30% auto;
    max-width: none;
}

.links-wrap > a.user-mail:hover{
    background-color: #DC5A56;
}
.links-wrap > a.user-tel:hover{
    background-color: #27AAA5;
}
.gb-community-learning-archive-list li h4{
    margin: 10px 0;
}
.gb-community-learning-archive .section-title{
    margin:40px 0 20px 0;
    text-align: center;
}
.gb-community-learning-archive select{
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px 4px #0000001A;
}
.centered{
    text-align: center;
}
.gb-community-learning-archive #filter-wrap{
    text-align: center;
    margin-bottom: 40px;
}
.gb-community-learning .options-container form.options-container{
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.gb-content-wrap .gb-community-learning > .section-title{
    display: none;
}
.gb-community-learning-archive-list li.last-li{
    flex-basis: 100%;
}
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) #btn-join,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .btn-join{
    padding: 6px 30px;
    border-radius: 5px;
}
.ld-course-status-action.gbweb{
    flex-direction: column;
}
.gbweb-row.gb-botton-wrap{
    justify-content: space-between;
}
#main-header .header-button2.button-size-custom{
    padding: 4px 20px 6px 20px;
}
@media only screen and (max-width : 530px){
    .gbweb-popup-wrapper form {
        width: 95%;
        font-size: 90%;
    }
    .gbweb-popup-wrapper form .school-other{
        font-size: 80%;
    }

    body .gb-points-products ul.gb-points-products-list{
        display: flex;
        flex-direction: column;
    }
}



