/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root{
    --e-global-color-primary: #4B1B0D;
    --e-global-color-secondary: #230C06;
    --e-global-color-text: #BAA056;
    --e-global-color-accent: #F5F5F5;
    --e-global-color-b: #522013;
    --e-global-color-w: #FFFFFF;
}


@font-face {
    font-family: "Asimon";
    src: url(assets/fonts/asimon-black-aaa.woff);
    src: url(assets/fonts/asimon-black-aaa.woff2);
    font-weight: 700;
}

@font-face {
    font-family: "Asimon";
    src: url(assets/fonts/asimon-bold-aaa.woff);
    src: url(assets/fonts/asimon-bold-aaa.woff2);
    font-weight: 600;
}

@font-face {
    font-family: "Asimon";
    src: url(assets/fonts/asimon-medium-aaa.woff);
    src: url(assets/fonts/asimon-medium-aaa.woff2);
    font-weight: 500;
}

@font-face {
    font-family: "Asimon";
    src: url(assets/fonts/asimon-regular-aaa.woff2);
    font-weight: 400;
}

@font-face {
    font-family: "Asimon";
    src: url(assets/fonts/asimon-light-aaa.woff);
    src: url(assets/fonts/asimon-light-aaa.woff2);
    font-weight: 300;
}

@font-face {
    font-family: "Asimon";
    src: url(assets/fonts/asimon-stencil-aaa.woff);
    src: url(assets/fonts/asimon-stencil-aaa.woff2);
    font-weight: 200;
}

body{
    font-family: 'Asimon', 'Times New Roman', Times, serif;
    background-image: url(assets/images/back.jpg);
    background-color: #ffffffb5;
    background-blend-mode: screen;
}


input, textarea {
    background-color: var(--e-global-color-accent) !important;
    border: unset !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--e-global-color-secondary);
    width: 100% !important;
    border-radius: 15px !important;
    padding: 10px 20px !important;
    height: unset !important;
}

.wp-editor-container{
    border: unset !important;
}

.bbp-footer,
.bbp-header{
    border: unset !important;
    padding: 15px 10px !important;
}

.bbp-body ul{
    padding: 15px 10px !important;
}

.bbp-reply-form,
.bbp-topic-form{
    max-width: 650px;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0px 30px 40px 0px rgba(70, 25.999999999999996, 13.999999999999998, 0.2);
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    border: 1px solid var(--e-global-color-secondary);
}

#bbp_anonymous_website,
[for="bbp_anonymous_website"]{
    display: none;
}

fieldset{
    border: unset !important;
}

#bbpress-forums fieldset.bbp-form{
    padding: 0;
    display: flex;
    gap: 20px;
}

fieldset legend{
    display: none;
}

fieldset p:last-child{
    display: none;
}

.bbp-submit-wrapper button{
    border-color: var(--e-global-color-text);
    background-color: var(--e-global-color-text);
    color: #ffffff;
    border-radius: 15px !important;
}

.bbp-submit-wrapper button:hover,
.bbp-submit-wrapper button:focus{
    border-color: var(--e-global-color-text);
    background-color: var(--e-global-color-b);
    color: #ffffff;
    border-radius: 15px !important;
}

.bbp-reply-form form::before{
    content: "הוספת תגובה";
    display: block;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
}

.bbp-topic-form form::before{
    content: "פתיחת נושא חדש";
    display: block;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
}

a {
    color: var(--e-global-color-secondary);
}

#bbpress-forums{
    overflow: visible;
}

.bbp-topics,
.forums.bbp-replies {
    border-radius: 20px;
    box-shadow: 0px 30px 40px 0px rgba(70, 25.999999999999996, 13.999999999999998, 0.2);
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer{
    background: var(--e-global-color-text);
    color: var(--e-global-color-accent) !important;
}

.bbp-topic-freshness a,
.bbp-topic-permalink{
    text-decoration: none !important;
}


#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
    background: #fff !important;
    font-size: 1rem;
}

#bbpress-forums li.bbp-body ul.forum *, #bbpress-forums li.bbp-body ul.topic * {
    color: var(--e-global-color-secondary);
}

#bbpress-forums li.bbp-footer, #bbpress-forums li.bbp-header{
    border-top: unset !important;
    font-weight: 400;
    font-size: 0.9rem;
}

.bbp-template-notice.info{
    display: none;
}

.site-branding{
    display: none !important;
}


.bbp-breadcrumb-home,
.bbp-breadcrumb-home + span,
.bbp-breadcrumb-root + span,
.bbp-breadcrumb-root{
    display: none;
}


/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #4b1b0d12; 
}
  
/* Handle */
::-webkit-scrollbar-thumb {
  background: #c2a54c59; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #4B1B0D; 
}


.bbp-topic-voice-count{
	display: none;
}


html {
    margin-top: 0 !important;
}

div#wpadminbar {
    background: #11357182;
}


:root{
  --e-global-06: #FFFDF7;
  --e-gap: 15px;
  --e-radius: 20px;
  accent-color: var(--e-global-color-primary);
}

body{
  background: var(--e-global-06);
  accent-color: var(--e-global-color-primary);
}

.text-gold{
    color: var(--e-global-color-text);
}

.pointer{
    cursor: pointer;
}

.rotate svg{
    transform: rotate(0deg) !important;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #4b1b0d12; 
}
  
/* Handle */
::-webkit-scrollbar-thumb {
  background: #c2a54c59; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #4B1B0D; 
}

@media print{

    :has(.print-content), .print-content, .print-content *{
        display: block !important;
    }

    :has(.print-image), .print-image, .print-image *{
        display: block !important;
    }

    :has(.print-title), .print-title, .print-title h2, .print-title p, .print-title div, .print-title h3{
        display: block !important;
    }

    .blog div, .blog h1, .blog h2, .blog h3, .blog h4, .blog h5, .blog h6, .blog p, .blog section{
        display: none;
        position: initial !important;
        width: initial !important;
        height: initial !important;
        overflow: initial !important;
        gap: initial !important;
        padding: initial !important;
        margin: initial !important;
        border: initial !important;
        color: initial !important;
        background: initial !important;
        min-height: initial !important;
    }

    style{
        display: none !important;
    }

    .blog .print-content,
    .blog h2{
       margin-bottom: 20px !important;
    }
    
    img{
        margin-bottom: 20px !important;
        max-height: 250px !important;
    }


}

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

    .desktop-page{
        height: 100vh;
        overflow: hidden;
    }

    .desktop-page-left{
        width: 250px !important;
    }
        
    [data-elementor-type="header"] + div{
        margin-right: 235px;
        height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        transition: 0.4s;
        border-radius: 0 50px 50px 0;
    }

    .header{
        height: 100vh;
        position: fixed;
        transition: 0.4s;
    }

    .close .header{
        width: 70px;
    }

    .close .header .menu-item span{
        display: none;
    }

    .close .header .menu-item a{
        padding: 0;
        padding-right: 10px;
    }

    .close .header .elementor-widget-nav-menu > div{
        padding-right: 10px !important;
    }

    [data-elementor-type="header"].close + div {
        margin-right: 85px;
    }

    .header::after,
    .header::before{
        content: "";
        position: absolute;
        width: 40px;
        height: 40px;
        right: 100%;
        top: -3px;
        background-image: radial-gradient(circle at 42px 40px, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40px, rgb(72 26 13) 40px);
        color: var(--e-global-06);
        transform: rotate(90deg);
    }


    .header::after{
        top: unset;
        right: calc(100% - 3px);
        bottom: 0px;
        transform: rotate(180deg);
        background-image: radial-gradient(circle at 42px 40px, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 40px, rgb(35 12 6) 40px);
    }

    .header nav a svg{
        width: 1.3rem;
        height: 1.3rem;
    }
    

    .header nav span{
        margin-bottom: -5px;
    }

    .header nav a{
        gap: 15px;
    }

    .header nav li:hover svg path{
        fill: var(--e-global-color-text);
    }


    .tax-subject .header nav li.more-content,
    .questions-template-default .header nav li.menu-item-object-questions,
    .tax-subject .header nav li.more-content,
	.single-topic .header nav li.more-content,
    .header nav li.current-menu-item {
        background: var(--e-global-06);
        border-radius: 0 15px 15px 0;
    }

    .tax-subject .header nav li.more-content a,
    .questions-template-default .header nav li.menu-item-object-questions a,
	.single-topic .header nav li.more-content a,
    .tax-subject .header nav li.more-content a{
        color: var(--e-global-color-primary) !important;
    }

    .tax-subject .header nav li.more-content svg path,
    .tax-subject .header nav li.more-content svg path,
	.single-topic .header nav li.more-content svg path,
    .questions-template-default .header nav li.menu-item-object-questions svg path,
    .header nav li.current-menu-item svg path{
        fill: var(--e-global-color-primary);
    }


    .tax-subject .header nav li.more-content::after,
	.single-topic .header nav li.more-content::after,
    .questions-template-default .header nav li.menu-item-object-questions::after,
    .header nav li.current-menu-item::after{
        content: "";
        position: absolute;
        background: url(https://app.torahb.co.il/wp-content/uploads/2024/02/Subtract.svg);
        width: 100%;
        height: 250%;
        top: -1px;
        left: 0;
        background-repeat: no-repeat;
        background-size: auto 100%;
        transform: translateY(-30%);
        z-index: -1;
    }

    .header nav li a:after,
    .header nav li a:before{
        display: none;
    }

}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}


@media screen and (min-width:1024px) {
    
    .full-screen{
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .full-size-100{
        height: 100%;
    }

    .full-size{
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }

}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}


.next-before-continer p{
    display: none;
}

.next-before-continer p:has(a){
    display: block;
}

.bbp-template-notice,
.form-allowed-tags{
	display: none !important;
}