html {
  scroll-behavior: smooth;
}

html, body {
      margin: 0;
      padding: 0;
      width: 100%;
	direction: rtl;	
}

body {
     font-family: 'Rubik', sans-serif;
}

p{font-size: 1.2em; line-height: 1.5em;}
h1, h2, h3, h4, h5{font-family: 'Rubik', sans-serif;}

a{color: #000; font-weight: 400; font-size: 1.2em;text-decoration: underline;letter-spacing: 2px;}
a:hover{color: #000; }

button{
    background-color: #fff0;
color: #fff;
border: 0px;}

/*section{padding: 80px;}*/
	
	
*, *:before, *:after{
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}


header {
      height: 600px;
      background: url("../img/Header.jpg")no-repeat 50% 50%;
      background-size: cover;
}

#galleryCarousel .carousel-item {
    width: 33.3333%;
    float: left;
}
#galleryCarousel .carousel-inner {
    display: flex;
    flex-wrap: nowrap;
}

/* Change navbar styling on scroll */
.navbar.active {
    background: #000;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}





@media(max-width: 786px) {
header {
      width: 100%;
      height: 450px;
      background: url("../img/home-bg-top-md.jpg")no-repeat top left;
}
}

@media(max-width: 480px) {
header {
      width: 100%;
      height: 450px;
      background: url("../img/home-bg-top-sm.jpg")no-repeat top right;
}

}

	
	header a{color:#fff;}

	
.btn {
    padding: .5rem 2.75rem;
    border-radius: 0;
    letter-spacing: 2px;
    font-size: 1.1em;
}
	
/*.content {
      width: 94%;
      margin: 4em auto;
      font-size: 20px;
      line-height: 30px;
      text-align: justify;
}*/

.logo {
      line-height: 60px;
      /*position: fixed;*/
      float: left;
      margin: 0px 25px;
      color: #fff;
      font-weight: bold;
      font-size: 20px;
      letter-spacing: 2px;
	width: 40%;
	position: relative;
	z-index: 2;
}
	
	.logo img {width: 15%;}
.w-100 {
    width: 100%!important;
    height: auto;
}

nav {
      position: fixed;
      width: 100%;
      line-height: 40px;
}

.nav-link {
    padding: .3rem 1rem;
}

	.navbar-brand{
    padding-top: 1rem;
    padding-bottom: .3125rem;
     margin-right: -0.5rem;/*margin-right: 1rem; */
	position: relative;
	z-index: 2;}

#navbarNav {
    justify-content: flex-end;
}

.navbar-brand img{width: 95%;}
	
/*nav ul {
      line-height: 40px;
      list-style: none;
      background: rgba(0, 0, 0, 0);
      overflow: hidden;
      color: #fff;
      padding: 0;
      text-align: right;
      margin: 0;
      padding-right: 40px;
      transition: 1s;
}*/

nav.black  {
      background: #000000ad;
	position: fixed;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

nav ul li {
      display: inline-block;
      padding: 16px 15px;
}

nav ul li a, nav ul li a:focus, nav ul li a:visited, nav ul li a:active {
      text-decoration: none;
      color: #fff;
      font-size: 18px;
	letter-spacing: 1px;
	font-weight: 600;
}
nav ul li a:hover{color: hsl(0deg 0% 100% / 66%);}
nav ul li:last-child a{border: 1px solid #fff;}

.subHdr{letter-spacing: 2px; font-weight: 600;}

/*.menu-icon {
      line-height: 40px;
      width: 100%;
      background: #000;
      text-align: right;
      box-sizing: border-box;
      padding: 12px 20px;
      cursor: pointer;
      color: #fff;
      display: none;
}*/
	
	
		
	
	.headerTxt{/* padding-top: 8%;
    margin-top: 0;
    position: absolute;
    top: 0;
    background-color: #000000c4;*/}

	.headerTxt h1{ font-size: 2.5em;
    color: #fff;
    letter-spacing: 1px; font-weight: 600;}
	
	.headerTxt p{font-size: 1.1em; letter-spacing: 1px;}
	
	
	#about .img1{border-top: 15px #3e7f34 solid; /*width: 90%;*/}
	#about .img2{ /*   width: 110%;*/
    position: relative;
    /*margin-top: 0;
    margin-right: 0;*/
    border-top: 15px #ffbf37 solid;
    border-left: 15px #ffbf37 solid;}
	
	#about .des{position: relative;
    display: inline-block;
    background-color: #34497d;
    padding: 15px 0;
    margin-right: -5%;
    margin-top: -6%;
    height: 110px;
    color: #fff;
    border-top: 7px #34497d solid;
    border-bottom: 7px #34497d solid;
width: 80%;}
	
	#about .des h4{font-size: 1.3em;
		font-weight: 600;}
	
	#counter{/*background-color: #78347a;*/}
#counter .container{background-color: #335186;}
#counter h2{/*background-color: #78347a;
    padding: 20px;*/color:#fff;}
#counter .container-fluid{ /*border-top: 8px solid #78347a;*/}
#counter .numBox{/*border-left:2px solid #000;*/ padding: 0 20px;/*border-top: 2px solid #000*/;}
#counter .numBox:last-child{border-left:0px solid #fff;}
	#counter .highlight {
    color:  /*#78347a*/#fff;
    padding: 10px 0;
		letter-spacing: 2px;
    font-weight: 400;
    display: block;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 44px;
    line-height: 1.2em;}
	
	
    #counter .milestone-details {
    font-weight: 400;
    font-size: 18px;
	color: /*#78347a*/#fff;}
	
	
/*#act a{background-color: #34497d; padding: 1.05em 1.6em;color: #fff; display: inline-block;}*/
.scholarship h3, .mentor h3, .center h3, .shabbos h3{font-size:1.5em;font-weight: 600;letter-spacing: 2px;}
.scholarship a, .mentor a, .center a, .shabbos a{font-weight: 400;letter-spacing: 1px;}
.scholarship img, .mentor img, .center img, .shabbos img{margin-bottom: 15px;}

.scholarship img{/*border-top: 15px #ffbf37 solid; border-right: 15px #ffbf37 solid;*/padding-left:2%;}
.mentor img{/*border-bottom: 15px #ffbf37 solid; border-left: 15px #ffbf37 solid;*/padding-right:2%;}
.center img{/*border-top: 15px #ffbf37 solid; border-right: 15px #ffbf37 solid;*/padding-left:2%;}
.shabbos img{ /*border-bottom: 15px #ffbf37 solid;border-left: 15px #ffbf37 solid;*/padding-right:2%;}

#act a{font-weight: 400;font-size: 1em;letter-spacing: 1px;text-decoration: underline}
#act .card{border:0px;}
#act .card-body{padding: 0;}
.scholImg{border-left: 15px solid #f37125;}
.mentorImg{border-left: 15px solid #085996;}
.shabbosImg{border-left: 15px solid #ffc215;}



	/*counter section*/
	
.milestone-counter {
    margin: 10px 40px; 
    text-align: center;
}
.stat {
   margin:10px auto;
}
.highlight {
   color: /*#78347a*/#fff;
   padding:20px 0;
   font-weight:bold;
   display:block;
   overflow:hidden;
   margin-bottom:0;
   font-size:48px;
}
.stat i {
	color:  /*#78347a*/#fff;
}
.milestone-details {
   font-weight:bold;
   font-size:18px;
   color:#fff;
}
	

#video{/*background-color: #397b36;*/}
#video h2{font-weight: 400; }
.embed-responsive {
    border-top: 15px solid #397b36;
	border-bottom: 15px solid #397b36;}


	
	.content {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: auto;
  overflow: hidden;
		border-left:15px solid #dc6b3b;
}

.content .content-overlay {
  background: rgba(0,0,0,0.7);
  position: absolute;
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay{
  opacity: 1;
}

.content-image{
  width: 100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h3{
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.content-details p{
  color: #fff;
  font-size: 0.8em;
}
	
	.fadeIn-bottom{
  top: 80%;
}
	
	

	/* gallery */
	
	#pics .container-fluid{padding: 0 0.7em;}

	
	#pics h2{ /*background-color: #fbb822;
        display: inline;*/
       padding: 14px;
    position: inherit;
    z-index: 2;
    font-size: 2em;
    letter-spacing: 1px;
    background: #335186;
    color: #fff;
    display: inline-block;
    /*margin-right: -3%;*/
}

	
	a.img-caption {
    margin: 0 0 40px;
    display: block;
		z-index: 0;
}

.img-caption img {
    position: relative;
	height: 400px;
}

.img-caption figure {
    /*box-sizing: content-box;*/
    overflow: hidden;
    position: relative;
	height: 400px;
}

.img-caption figcaption {
    background: rgba(0, 0, 0, .4);
    position: absolute;
    /*box-sizing: content-box;*/
    padding: 114% 15px 0;
    bottom: 0;
    display: block;
    width: 100%;
	height: 100%;
    -webkit-transition: background-color .2s ease-in-out, padding-top .2s;
    -moz-transition: background-color .2s ease-in-out, padding-top .2s;
    -ms-transition: background-color .2s ease-in-out, padding-top .2s;
    -o-transition: background-color .2s ease-in-out, padding-top .2s;
    transition: background-color .2s ease-in-out, padding-top .2s;
}

.img-caption:hover figcaption {
    background: rgba(0, 0, 0, 0);
	padding: 90% 25px 0;
}

.img-caption figcaption h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: 400;
    line-height: 24px;
	text-align: center;
    background-color: #335186;
    display: inline-block;
    padding: 10px 18px;
}

.mega .img-caption figcaption h4 {
    font-size: 14px;
    line-height: 20px;
	text-align: center;
}

.mega .img-caption figcaption span {
    font-size: 14px;
    line-height: 14px;
}

.mega .img-caption figcaption {
    padding: 10px 0
}

.img-caption figcaption span {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    display: inline-block;
    position: relative;
    opacity: 0;
    max-height: 0;
    padding: 10px 18px;
	text-align:left;
	background-color: #335186;
    -webkit-transition: max-height .2s ease-in-out, opacity .2s ease-in-out, padding .2s ease-in-out;
    -moz-transition: max-height .2s ease-in-out, opacity .2s ease-in-out, padding .2s ease-in-out;
    -ms-transition: max-height .2s ease-in-out, opacity .2s ease-in-out, padding .2s ease-in-out;
    -o-transition: max-height .2s ease-in-out, opacity .2s ease-in-out, padding .2s ease-in-out;
    transition: max-height .2s ease-in-out, opacity .2s ease-in-out, padding .2s ease-in-out
}

.img-caption:hover figcaption span {
    max-height: 50px;
    opacity: 1;
    padding: 5px 0 15px
}

/* more prog text 

.panel-title{font-size: 1em;display: inline-block;}

.panel-heading a:after {
    font-family: "Font Awesome 5 pro";
    content:"\f13a";
    float: left;
	margin:0 5px;
}
.panel-heading a.collapsed:after {
    content:"\f139";
	margin:0 5px;
}
*/


#blogCarousel .carousel-indicators{bottom:auto; top:110%;}




/* testimonials */

#tes {height: 640px; min-height:580px; background-color: #fcb838;}	
#tes .card {
    position: relative;
    border: solid 1px #212121;
    padding: 25px 40px 15px 45px;
    margin-top: 20px;
    background-color: #212121;
    border-radius: 10px;
    color: #fff
}
#tes p.post {text-align: center;}
#tes .post-txt {
    font-size: 0.9em;
    margin-bottom: 0;
	
}

#tes .quote-img {
    position: absolute;
    top: 32px;
    left: 25px;
    width: 30px;
    height: 30px;
}

#tes .nice-img {
    width: 20px;
    height: 25px;
    margin-bottom: 7px;
}

#tes .arrow-down {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 20px solid #212121;
    margin-right: 25px;
}

#tes .fit-image {
    width: 100%;
    object-fit: cover;
}

#tes .profile-pic {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    left: 50%;
   margin-top: 5px;
    margin-left: -35px;
}

#tes .profile-name {
    position: relative;
    font-size: 18px;
    margin-top: 12%; 
    /*right: 2%;*/
    color: #222222;
	line-height: 1.3em;
	text-align: center;
	letter-spacing: 1px;
}

#tes .carousel-control-next, #tes .carousel-control-prev {
    color: #000;
	width:2.3%;}

#tes .carousel-control-next {
    left: 50%;
}

#tes .carousel-control-prev {
    right: 50%;
}

#tes .carousel-control-next, #tes .carousel-control-prev {
    position: absolute;
    top: 105%;}




	
/* donate*/	

	#donate{background-image: url("../img/bg-donate.jpg"); background-size: cover;}
	.donateBox{background-color: #fff;}

	#donate .btn-secondary {
    color: #fff;
    background-color: #e67237;
    border-color: #e67237;
}
	
.btn-secondary {
    color: #fff;
    background-color: #e67237;
    border-color: #e67237;
}
	
	/* footer */


 footer  {
     overflow: hidden;
     background-color: #000;
     color: #fff !important;
     margin-bottom: 0;
     padding-bottom: 0;
	 letter-spacing: 1.5px;
 }
	footer ul{line-height: 1.7em;}
	footer ul a, footer ul a:focus, footer ul a:visited{color: #fff; font-size: 1.1em;text-decoration: none;letter-spacing: 0px;}
	footer ul a:hover{color: hsl(0deg 0% 100% / 66%); }


 small {
     font-size: calc(12px + (15 - 12) * ((100vw - 360px) / (1600 - 360))) !important
 }

 .bold-text {
     color: #989c9e !important
 }

 .mt-55 {
     margin-top: calc(50px + (60 - 50) * ((100vw - 360px) / (1600 - 360))) !important
 }

 footer h3 {
     font-size: calc(34px + (40 - 34) * ((100vw - 360px) / (1600 - 360))) !important
 }
	
	footer h5 {
     font-weight: 600;
		letter-spacing: 1px;
 }


 .social {
     font-size: 21px !important
 }

 .rights {
     font-size: calc(12px + (12 - 10) * ((100vw - 360px) / (1600 - 360))) !important
 }
	
header.donate {
      width: 100%;
      height: auto;
      background: #000;
}

header a, header a:visited{text-decoration: none;}





@media  (min-width: 1200px)  {
	
	.img-caption figcaption {
	padding: 100% 15px 0;}
	
	}

@media  (max-width: 1200px) and (min-width: 992px)  {
	
	.img-caption figcaption {
	padding: 116% 15px 0;}
	
	}


	
@media (max-width: 992px) and (min-width: 786px)  {
.img-caption figcaption {
	padding: 85% 15px 0;}
	
	}

@media  (min-width: 1500px)  {
	
	.img-caption figcaption {
	padding: 80% 15px 0;}
	
	}

@media(max-width: 992px) {
headerTxt h1 {
	font-size: 2.2em;}	
	}

@media(max-width: 786px) {

      .logo {
            position: fixed;
            top: 0;
            margin-top: 0;
      }
	
	.navbar-brand img{width: 75%;}

      nav ul {
            /*max-height: 0px;*/
            background-color: #000;
      }

      nav.black ul {
            background-color: #000;
      }

      /*.showing {
            max-height: 25em;
      }
*/
      nav ul li {
            /*box-sizing: border-box;*/
            width: 100%;
            padding: 24px;
            text-align: center;
      }

      .menu-icon {
            display: block;
      }
	a{font-size: 1em;}
	.headerTxt h1{ font-size: 1.5em;}
	
	#about .des h4 {font-size: 1.2em;}
	
		#pics h2{
    margin-right: 0;
}
	
	
	.img-caption figcaption {
    padding: 54% 15px 0;
}


.img-caption figcaption h4 {
    font-size: 16px;
    padding: 5px 18px;
	}
	
	
	#tes {height: 660px; min-height:660px; background-color: #fcb838;}
	#tes .profile-pic {
    width: 45px;
		height: 45px;}

} 

.modal-header .close {
    margin: 0;
}



/*donate */


