/* Flexslider - Remove margin, padding, border, make fullwidth */
.flexslider {margin:0 auto; background: none; border: none; position: relative;-webkit-border-radius: 0;-moz-border-radius: 0;
    -o-border-radius: 0;border-radius: 0;-webkit-box-shadow: none;-moz-box-shadow: none;-o-box-shadow: none;box-shadow: none;}
ul.slides li>.container {width:100%; padding:0;}
ul.slides li{overflow: hidden;}


.flexslider {
    height: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    overflow: hidden;
    box-shadow: none;
}
.flex-viewport { height: 100%; }
.flex-control-nav { bottom: 20px; }
.flex-direction-nav a { height:55px;}
.flex-direction-nav a:before{color:#fff;}



/* CUSTOM CSS FOR CHARITIES SECTION*/
#charities .slide_text .title{ font-size: 2em;padding-bottom:40px;}
#charities .slide_text .caption{ padding-left:40px;padding-right:40px;}
#charities .slide_text{background-color:#9D171F; padding: 50px; color:#fff;}
#charities .slide_image_right, #charities  .slide_image_left{
    height:500px;background-repeat: no-repeat;background-size: cover;
}
@media only screen and (min-width: 992px) {
    #charities .slide_image_right{
        box-shadow: 0 0 0 0 white, 0 0 0 0 white, inset 20px 0 15px -4px #9D171F, 0 0 0 0 white ;
    }
    #charities .slide_image_left{
        box-shadow: 0 0 0 0 white, 0 0 0 0 white, 0 0 0 0 white, inset -20px 0 15px -4px #9D171F;
    }
}
@media only screen and (max-width: 991px) {
    #charities .slide_image_right{
        box-shadow:  inset  0 20px 15px -4px #9D171F, 0 0 0 0 white,0 0 0 0 white, 0 0 0 0 white ;
    }
    #charities .slide_image_left{
        box-shadow: 0 0 0 0 white, inset 0 -20px 15px -4px #9D171F ,0 0 0 0 white, 0 0 0 0 white ;
    }
}

/* CUSTOM CSS FOR TEAMS/VIDEOS SECTION*/
#teams .slide_image,#videos .slide_image{
    background-repeat: no-repeat;
    background-position: center;
    min-height:200px;
}
#teams .carousel li ,#videos{padding: 15px;}
#teams .flex-direction-nav a ,#videos .flex-direction-nav a { height: 55px;width: 55px;border-radius: 55px; background-color:#404040;}
#teams .flex-direction-nav  a.flex-next:before ,#videos .flex-direction-nav  a.flex-next:before{padding-right: 13px;color:#fff;}
#teams .carousel .flex-active-slide img ,#videos .carousel .flex-active-slide img{ box-shadow:0px 0px 5px 5px #ccc}
@media only screen and (max-width:991px){
    #teams .flex-direction-nav a ,#videos .flex-direction-nav a{ top:auto;bottom: 0px; transform: scale(0.6);background-color:#ccc;}
}