/*
 * style.css
 *
 * Theme Name: JB_Custom Theme
 * Version: 1.0
 * Author: SaJadJaf
 * Author URI: sajadjafari.com
*/

@media (min-width: 768px) {
    html, body, .main, .full-height {
        height: 100%;
    }
}

.main {

}

/* * * Sections */
.section {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.section .section-inner {
    width: 1170px;
    margin: 0 auto;
}

.section .section-inner .content {
    text-align: justify;
}
.section p.sub-title{
    color: #fff;
}
.section-white p.sub-title{
    color: #777;
}
.section-white h3.section-title{
    color: rgb(255, 159, 78); !important;
    border-bottom: 2px solid rgb(255, 159, 78) !important;
    text-shadow: none !important;
}
.full-height {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    position: relative;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    min-height: 600px;
}

/*.full-height:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}*/

.full-height .section-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.full-height h3.section-title {
    color: rgb(255, 159, 78);
    text-shadow: 0 0 10px #5F5F5F;
    text-transform: uppercase;
}

/* * * * * * * * * * * * * Top Section * * * * * * */
.section:nth-child(1) {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    background-image: url('../images/bg-section-1.jpg');
}
/* * * * * * * * * * * * * Top Section * * * * * * */
.section:nth-child(2){
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    background: url('../images/bg-section-2.png') fixed;
}
/* * * * * * * * * * * * * NewSection1 * * * * * * */
.section:nth-child(3) {
    background-size: cover;
    background-repeat: no-repeat;
}
/* * * * * * * * * * * * * Who We Are * * * * * * */
.section:nth-child(4) {
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    background: url('../images/bg-section-5.png') fixed 100% 100%;
}
/* * * * * * * * * * * * * NewSection2 * * * * * * */
.section:nth-child(5) {
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    background: url('../images/bg-section-3.jpg') fixed 100% 100%;
}
/* * * * * * * * * * * * * What We Do* * * * * * */
.section:nth-child(6){
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    background: url('../images/bg-section-2.png') fixed
}
#whatWeDo p,ul{
    color: #323232;
}
/* * * * * * * * * * * * * NewSection3 * * * * * * */
.section:nth-child(7) {
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    background: url('../images/bg-section-3.jpg') fixed 100% 100%;
}
/* * * * * * * * * * * * * How You Can Help* * * * * * */
.section:nth-child(8){
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    background: url('../images/bg-section-2.png') fixed 100% 100%;
}
/* * * * * * * * * * * * * NewSection4 * * * * * * */
.section:nth-child(9) {
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    background: url('../images/bg-section-3.jpg') fixed 100% 100%;
}
/* * * * * * * * * * * * * Apply for Funding* * * * * * */
.section:nth-child(10) {
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    background: url('../images/bg-section-5.png') fixed 100% 100%;
    color: #ffffff;
}
    /* * * * * * * * * * * * * Testimonial * * * * * * */
#testimonials {
    position: relative;
    padding: 50px;
    background-color: #f5f5f5;
    text-align: center;
    min-height: 350px;
}


#testimonials .testimonial blockquote {
    border-left: none;
    border-bottom: 1px solid #ad0000;
    text-shadow: 0 0 15px #bfbfbf;
    font-size: 24px;
    padding-bottom: 15px;
    font-weight: 100;
}

#testimonials .testimonial > span {
    font-style: italic;
    font-size: 16px;
    display: block;
    line-height: 30px;
}

#testimonials .navigation-bullets {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

#testimonials .navigation-bullets .bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin: 10px 1px;
    border-radius: 50%;
    border: 2px solid #ad0000;
}

#testimonials .navigation-bullets .bullet.active {
    background-color: #ad0000;
    border-color: #ad0000;
}

/*scroll animation style */
.os-animation{
    opacity: 0;
}
.os-animation.animated{
    opacity: 1;
}
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated.infinite {
    animation-iteration-count: infinite;
}

.animated.hinge {
    animation-duration: 2s;
}

.animated.flipOutX,
.animated.flipOutY,
.animated.bounceIn,
.animated.bounceOut {
    animation-duration: .75s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fadeIn {
    animation-name: fadeIn;
}

@keyframes pulse {
    from {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}
.pulse {
    animation-name: pulse;
}
/*scroll animation style end */

@media (max-width: 768px) {
    .section .section-inner {
        width: 100%;
        padding: 0 15px
    }

    .full-height .section-inner {
        position: relative;
        transform: translate(0, 0);
        top: 0;
        left: 0;
    }
}

@media (max-width: 767px) and (min-width: 450px) {

}

@media (max-width: 991px) and (min-width: 768px) {
    .section .section-inner {
        width: 738px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .section .section-inner {
        width: 962px;
    }
}
@media (min-width: 1200px) {

 }