/*
 * customisations to jQuery FlexSlider v2.6.0
 *
 */

/* Young's CSS Start */
.slider-caption > h2 {
   font-family:ycdsb_black_font;
    color: white;
}
.flex-pauseplay a {
    color: azure !important;
}
.flex-control-paging li a {
    background: azure !important;
}
/* Young's CSS end */


.flexslider .slides > article {
  display: none;
  -webkit-backface-visibility: hidden;
}

.no-js .flexslider .slides > article {
  display: inline;
  -webkit-backface-visibility: visible;
}

.slides > article,
.slide-image {
    height: 250px;
}
.slider-caption {
    color: white;
   /* color: #1a1a1a; */
    /* width: inherit; */
    padding: 15px;
  /*  font-size: 0.75em; */
    position: relative; 
   /* bottom: 72px; */
    /* height: 228px; */
  /*  height: 6em; */
    /* width: 330px; */
    /* line-height: 1; */
   /* background-color: rgba(255, 255, 255, 0.85); */
   /* background: rgba(255, 255, 255, 0.85); */
    overflow: hidden;
    
    background: rgb(0,115,251);
background: linear-gradient(142deg, rgba(0,115,251,1) 0%, rgba(0,2,65,1) 100%);
    font-family:ycdsb_ARCHIVO-THIN_font;
}
/*
.slider-caption h2 {
    margin-bottom: 0;
    font-size: 1.25em;
}
*/
.flex-pauseplay a {
    box-shadow: none;
 /*   bottom: -10%; */
/*    left: initial;*/
    height: 25px;
}

.flex-pauseplay a:before {
    font-size: 100%;
}

.flex-control-nav {
   /* bottom: -10%; */
    text-align: right;
    z-index: 1000;
}

.flex-control-paging li a {
   /* color: #fff; */
    text-indent: 0;
    padding-top: 5px;
    overflow: hidden;
}

/**
 * Media Queries
 */

/**
 * >= 710px
 */
/*
@media screen and (min-width: 44.375em) {
    .slides > article,
    .slide-image {
        height: 300px;
    }
    
    .flex-control-nav {
       bottom: -20%;
    }
}
*/

/**
 * >= 783px
 */

@media screen and (min-width: 48.9375em) {

}


/**
 * >= 910px
 */

@media screen and (min-width: 56.875em) {
    .flex-pauseplay a {
        left: initial;
    }
}


/**
 * >= 985px
 */

@media screen and (min-width: 61.5625em) {
 /*   .flexslider {
        margin: 0 0 20px;
    }
    */
    .slide-image {
        width: 65%;
        float: left;
    }
    
    .slider-caption {
        width: 35%;
        float: left;
        top: 0;
     /*   font-size: 0.9em; */
        height: 100%;
/*        background-color: rgba(0, 0, 0, 0.8);*/
       /* background: #f0f0f0; */
        padding: 1.5em;
        
    }
    
  /*  .no-js .slider-caption {
        background: #ffffff;
    } */
 /*
    .slider-caption h2 {
        font-size: 1.75em;
    }
   */ 
    /* styles for '...' */ 
    .slider-caption p {
      /* hide text if it more than N lines  */
      overflow: hidden;
      /* for set '...' in absolute position */
      position: relative; 
      /* use this value to count block height */
  /*    line-height: 1.35em; */
      /* max-height = line-height * lines max number */
      max-height: 7.9em; 
      /* fix problem when last visible word doesn't adjoin right side  */
      /*text-align: justify;*/

      /* */
      margin-right: -1em;
      padding-right: 1em;
    }
    
  /*  .no-js .slider-caption p:after {
        background: #ffffff;
    }
    */
    .flex-control-nav {
     /*   bottom: 2%; */
        right: 2%;
        text-align: right;
  
    }
    
    .flex-pauseplay a {
        box-shadow: none;
     /*   bottom: 2%; */
        /*right: 30%;*/
	left: 67%;
        height: 25px;
        z-index: 200;
    }
}


/**
 * >= 1200px
 */
/*
@media screen and (min-width: 75em) {
    .slides > article,
    .slide-image {
        height: 325px;
    }
}
*/

/* Responsive Design */
@media only screen and (max-width: 424px) {
    .flexslider {
        min-height: 395px;
        padding-bottom: 2%;
                            border: none;
                    margin: 0px 0px 30px 0px !important;
    }
.slides > article, .slide-image {
    height: 235px;
}
            .flexslider > ol {
display: none;
}
    .slider-caption > h2 {

    padding-bottom: 3%;
        line-height: 105%;
                        font-size: 100%;
    
}
    .slider-caption {
        height: 175px;
           line-height: 100%;
    }
            .flex-pauseplay a {
        bottom: 4%;
    }
    .flex-control-nav {
        bottom: 3%;
           display: none;
    }
    .flex-pauseplay {
        display: none;
    }
}
@media (min-width: 425px) and (max-width: 767px) {
        .flexslider {
        min-height: 430px;
            padding-bottom: 2%;
                                border: none;
                    margin: 0px !important;
    }
.slides > article, .slide-image {
    height: 250px;
}   
            .flexslider > ol {
display: none;
}
    .slider-caption > h2 {
    padding-bottom: 3%;
           line-height: 105%;
}
        .slider-caption {
        height: 170px;
               line-height: 100%;
    }
        .flex-pauseplay a {
        bottom: 4%;
    }
        .flex-control-nav {
        bottom: 3%;
           display: none;
    }
    .flex-pauseplay {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 782px) {
        .flexslider {
        min-height: 530px;
            padding-bottom: 20%;
                                border: none;
                    margin: 0px !important;
    }
.slides > article, .slide-image {
    height: 496px;
}
            .flexslider > ol {
display: none;
}
    .slider-caption > h2 {
    padding-bottom: 3%;
           line-height: 105%;
}
        .slider-caption {
        height: 140px;
               line-height: 100%;
    }
        .flex-pauseplay a {
        bottom: 5%;
    }
        .flex-control-nav {
        bottom: 3%;
           display: none;
    }
    .flex-pauseplay {
        display: none;
    }
}
@media (min-width: 783px) and (max-width: 909px) {
        .flexslider {
        min-height: 621px;
            padding-bottom: 2%;
                                border: none;
                   margin: 0px 0px 50px 0px !important;
    }
.slides > article, .slide-image {
    height: 496px;
}
            .flexslider > ol {
display: none;
}
    .slider-caption > h2 {

    padding-bottom: 0%;
}
        .slider-caption {
        height: 155px;
    }
        .flex-pauseplay a {
        bottom: 4%;
    }
        .flex-control-nav {
        bottom: 4%;
            display: none;
    }
    .flex-pauseplay {
        display: none;
    }
}
@media (min-width: 910px) and (max-width: 1024px) {
            .flexslider {
                  min-height: 540px;
padding-bottom: 2%;
                                    border: none;
                    margin: 0px !important;
    }
.slides > article, .slide-image {
    height: 350px;
}.slider-caption > h2 {
    padding-bottom: 2%;
            font-size: 200%;
        line-height: 105%;
}
        .flex-pauseplay a {
        bottom: 5%;
    }
        .flex-control-nav {
        bottom: 5%;

           display: none;
    }
    .flex-pauseplay {
        display: none;
    }
}
@media (min-width: 1025px) and (max-width: 1199px) {
            .flexslider {
                  min-height: 475px;
padding-bottom: 2%;
                                    border: none;
                    margin: 0px !important;
    }
  .slides > article, .slide-image {
    height: 496px;
}   
    .slider-caption > h2 {
    padding-bottom: 5%;
                font-size: 250%;
        line-height: 105%;
}
        .flex-pauseplay a {
        bottom: 10%;
    }
        .flex-control-nav {
        bottom: 10%;
    }
}
	
@media (min-width: 1200px) {
            .flexslider {
                  min-height: 475px;
padding-bottom: 2%;
                    border: none;
                    margin: 0px !important;
    }
.slides > article, .slide-image {
    height: 496px;
}

    .slider-caption > h2 {
    padding-bottom: 5%;
        font-size: 300%;
        line-height: 100%;
}
    .flex-pauseplay a {
        bottom: 10%;
    }
        .flex-control-nav {
        bottom: 10%;
    }
}