@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
    font-family: 'Livorno';
    src: url('../font/livornaboldwebfont.eot') format('eot'),
         url('../font/livornaboldwebfont.woff') format('woff'),
         url('../font/livornaboldwebfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html,
body {
  font-family: "Noto Sans Hebrew";
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
a{
  text-decoration: none;
}
body{
  padding-top: 56px;
  background-color: #E2E6EE;
}
.bg0 {
  background-color: #E2E6EE;
}
.bg2 {
    background-color: #4E679E;
  }
.bg3 {
  background-color: #EEE8DB;
}
/*לוח שנה*/
#today{
	background-color: #E2E6EE;
}
@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller .nav {
  color: rgba(255, 255, 255, .75);
}

.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-scroller .nav-link:hover {
  color: #007bff;
}

.nav-scroller .active {
  font-weight: 500;
  color: #343a40;
}

.bg-purple {
  background-color: #6f42c1;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

  .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }

  .b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
  }

  .bi {
    vertical-align: -.125em;
    fill: currentColor;
  }

  .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
  }

  .nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
  }

  .bd-mode-toggle {
    z-index: 1500;
  }

  .bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
  }
  .navbar, .navbar-collapse{
    background-color: #E2E6EE;
  }
  .nav-link{
    color: #1C3C79;
    font-size: 16px;
    font-weight:bold;
	padding-bottom:0;
  }
.navbar-toggler-icon{
    color: #0D4597;
}
.calander p{
    color: #5A95E5;
    font-size: 20px;
    font-weight:bold;
    text-align: center;
}
.calander th{
    color: #5A95E5;
    font-size: 16px;
    font-weight:bold;
    text-align: center;
    padding: 0.2rem;
}
.calander td{
    color: #5A95E5;
    font-size: 12px;
    padding: 0.2rem;
}
.calander td .heb{
    color: #0D4597;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
}
#navbarsExampleDefault{
    padding-top: 31px;
}
.nav-item{
    padding-top: 8px;
}
.color1{
    color:#1C3C79 !important;
}
.color2{
    color:#0D4597 !important;
}
.color3{
    color:#FFD98F !important;
}
.color4{
  color: #FDB812 !important;
}
.size22{
    font-size: 22px;
}
.size0-9{
    font-size: 0.9rem;
}
.size0-8{
    font-size: 0.8rem;
}
.size1-0{
    font-size: 1rem;
}
.size1-2{
    font-size: 1.2rem;
}
.size1-5{
    font-size: 1.5rem;
}
.size1-8{
    font-size: 1.8rem;
}
.size2-0{
    font-size: 2rem;
}
.size2-2{
  font-size: 2.2rem;
}
.size2-5{
  font-size: 2.5rem;
}
.about p, h1{
	color:#0D4597;
}
.about h2,.homepage h1{
	color: #FDB812 !important;
	font-size: 1.8rem;
	font-weight:bold;
}
.text-justify{
	text-align:justify !important;
}
/*דף בית ערכים*/
.hpsaying {
  display: flex;
  text-align: center; 
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.hpsaying > div{
  border: 1px solid #1C3C79;
  background-color:#E2E6EE;
}
@media all and (min-width: 800px) {
  .hpsaying > * {
    flex: 1 13%;
  }
}
@media all and (max-width: 799px) {
  .hpsaying > * {
    flex: 1 24%;
  }
}
.hpsaying .title1, hpsaying .title1 a{
  background-color:#1C3C79;
  color: #E2E6EE;
  padding:5px;
  font-weight:bold;
}
.hpsaying .content1{  
  color:#1C3C79;
  background-color:#E2E6EE;
  padding:5px;
}
.mainpage{
  background-color: #FDB812;
  width:100%;
}
.mainpage:hover{
  background-color: #FDB812;
  width:100%;
}
.hpmedia {
  display: flex;
  text-align: center; 
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.hpmedia > .btn{
  border: 1px solid #1C3C79;
  color:#E2E6EE;
  background-color:#1C3C79;
  padding: 75px 5px;
  font-weight: bold;
  font-size: 1.2rem;
  
}
@media all and (min-width: 800px) {
  .hpmedia > * {
    flex: 1 19%;
  }
}
@media all and (max-width: 799px) {
  .hpmedia > * {
    flex: 1 25%;
  }
}

.hpmedia .btn:hover{
  color:#1C3C79;
  background-color:#E2E6EE;

  
}
.mainpagedonate, .mainpagedonate:hover{
  background-color: #FDB812;
  width:100%;
  max-width: 400px;
  margin: 20px 0;
}
/*דף ארצות*/
.lands {
  display: flex;
  text-align: center; 
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
 
  gap: .7rem;
}
@media all and (min-width: 800px) {
  .lands > * {
    flex: 1 18%;
  }
}
@media all and (max-width: 799px) {
  .lands > * {
    flex: 1 20%;
  }
}
.lands .content1, .lands .content1 a{
  color:#FFF;
   padding:10px;
  background-color:#8696B8;
}
.letters {
  display: flex;
  text-align: center; 
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}
.letters > * {
  flex: 1 7.5%;
}
.letters .content1{
  color:#FDB812;
  padding-bottom:7px;
  padding-top:7px;
  background-color:#034DA1;
}
.letters .content1 a{
  color:#FDB812;
  background-color:#034DA1;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
}
#imgchacam{
  text-align: center;
  height: 250px;
}
#imgchacam img{
  max-height: 250px;
  width:auto;
}
/*דף ערכים*/
.saying_type {
  display: flex;
  text-align: center; 
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.saying_type > div, .saying_type7 > div{
  border: 0;
  background-color:#C2C3DD;
}
.saying_type > * {
  flex: 1 32%;
}
.saying_type .title1, .saying_type7 .title1 {
  color:#FFF;
  background-color:#44519A;
  padding:5px;
  text-align: center;
}
.saying_type .content1, .saying_type7 .content1{  
  color: #1C3C79;
  padding:5px;
  text-align: justify;
}
/*דף משפטי חכמים*/
.sentences {
  position: relative;
}
.sentences img{
  position: absolute;
  top:30%;
  left:-5px;
}
.sentences .content1{
  color:#FFF;
  background-color:#8696B8;
}
.sentences .link1{
  text-align: left;
}
.sentences .link1 a{
  color:#FFF;
}
.morePages{
  text-align: center;
}
.morePages a{
  color:#1C3C79;
}
.keywords .title1{
  background-color:#8696B8;
  display: inline-block;
  width: 16%;
  min-width: 100px;
  text-align: center;
}
.keywords .title1 a{
  color:#FFF;

}
.keywords .letter{
	color: #FFF;
    background-color: #1C3C79;
    text-align: center;
    height: 41px;
    margin-top: 8px;
    padding-top: 7px;
    width: 4%;
    margin-left: 4%;
}
#mc_embed_signup{
	clear:all;
}
#mc_embed_signup .form-control, #hp-subscribe-form .form-control{
	border: 1px solid #1D3C7A;
}
#mc_embed_signup .button, #hp-subscribe-form .button{
	color:#FFF;
	background:#1D3C7A;
	width:100%;
}
/*דף חודשים*/
.MonthHebs {
  display: flex;
  text-align: center; 
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.MonthHebs > div{
  border: 0;
  background-color:#44519A;
}
@media all and (min-width: 800px) {
  .MonthHebs > * {
    flex: 1 20%;
  }
}
@media all and (max-width: 799px) {
  .MonthHebs > * {
    flex: 1 24%;
  }
}
.MonthHebs .title1 a {
  color:#FFF;
  background-color:#44519A;
  padding:5px;
  text-align: center;
}
.MonthHebs .content1 a{  
  color: #1C3C79;
  padding:5px;
  text-align: center;
}
/*footer*/
footer h3{
  padding: 0;
  margin: 0;
}
.search-container {
  background-color: #FFF;
  position: relative;
  padding: 3px;
}
.search-box {
  background-color: transparent;
  outline: none;
  height: 35px;
  font-size: 15px;
  border: 0;
  width: 100%;
}
.search-button {
  position: absolute;
  right: 4px;
  top: 4px;

  border-radius: 50%;
  border: 0;

  width: 35px;
  height: 35px;
  outline: 0;
}
.Livorno {
    font-family: 'Livorno';
	line-height: 115%;
}
.saying_text_link, .content_text_link{
	cursor:pointer;
}
.read_more{
	display: none; /* Start hidden */
	padding: 10px;
	border: 1px solid #ddd;
}
.saying_text{
	text-align:justify;
}
.saying_source{
	text-align:right;
	font-size: 0.9rem;
}
.highlight {
	background-color: yellow;
	font-weight: bold;
}
.custom-prev-icon {
  display: inline-block;
  width: 33px;
  height: 33px;
  background-size: contain;
  background-color: #0D4597; /* Desired color */
  -webkit-mask: url('../assets/img/caret-left-fill.svg') no-repeat center;
  mask: url('../assets/img/caret-left-fill.svg') no-repeat center;
  -webkit-mask-size: cover;
  mask-size: cover;

}
.custom-next-icon{
  display: inline-block;
  width: 33px;
  height: 33px;
   background-size: contain;
  background-color: #0D4597; /* Desired color */
  -webkit-mask: url('../assets/img/caret-right-fill.svg') no-repeat center;
  mask: url('../assets/img/caret-right-fill.svg') no-repeat center;
  -webkit-mask-size: cover;
  mask-size: cover;
}
.buttoncarousel{
	border:0;
	background-color:transparent;
	padding:0;
}