/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
    outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {
    margin: 0;
    padding: 0;
    position: relative;
    zoom: 1;
    height: 100%;
}

    .flexslider .slides > li {
        display: none;
        -webkit-backface-visibility: hidden;
        height: 100%;
        background-size: cover;
    }
    /* Hide the slides before the JS is loaded. Avoids image jumping */
    .flexslider .slides img {
        width: 100%;
        display: block;
    }

.flex-pauseplay span {

}

.flexslider.fullVh {
    height: calc(100vh - 260px);
    min-height: 500px;
    max-height:750px;
}

.innerslider {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #fff;
    opacity: 0;
    transition: opacity 0.6s;
    top: 0;
}

    .innerslider .slides li, .innerSlidBg {
        background-position: center;
        background-size: cover;
        height: 100%;
    }

.peopltext {
    position: absolute;
    bottom: 0;
    padding-right: 60px;
    left: -250px;
}

.name {
    font-size: 1.1em;
    position: absolute;
    top: 90px;
    font-family: 'MinionProSemibold';
    padding-right: 60px;
    left: -250px;
}
.name span
{
    display:block;
font-family: 'MinionProRegular';
}
.slides.fullh {
    height: 100%;
}

    .slides.fullh li {
        height: 100%;
    }

.fullhC img {
    position: absolute;
    width: auto !important;
    max-height: 100%;
    left: 0;
    bottom: 0;
}

#heritage .fullhC img {
    left: auto;
    right: 0;
    bottom: 0;
    top: auto;
}

.fullhC {
    height: 100%;
    position: relative;
}

    .fullhC p {
        position: absolute;
        bottom: 0;
        padding-right: 60px;
        left: -250px;
    }

#heritage .fullhC p {
    right: -310px;
    left: auto;
}
/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .slides {
    display: block;
}

* html .slides {
    height: 1%;
}

    /* No JavaScript Fallback */
    /* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
    .slides > li:first-child {
        display: block;
    }

/* FlexSlider Default Theme
*********************************/
.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    height: 100%;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

.flexslider .slides {
    zoom: 1;
    height: 100%;
}

.carousel li {
    margin-right: 5px;
}

/* Direction Nav */
.flex-direction-nav {
    *height: 0;
}

    .flex-direction-nav a {
        text-decoration: none;
        display: none;
        width: 10px;
        height: 22px;
        position: absolute;
        top: 9px;
        z-index: 10;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.3;
    }

    .flex-direction-nav .flex-next {
        display: block;
        right: 0;

    }

    .flex-direction-nav .flex-prev {
        display: block;
        left: 0;

    }

.innerslider .flex-direction-nav .flex-next {

    right: 0;
    background: none;
    width: 50%;
    height: 100%;
    cursor: url('/images/buttons/a-next.png'), auto;
}

.innerslider .flex-direction-nav .flex-prev {
    left: 0;
    background: none;
    width: 50%;
    height: 100%;
    cursor: url('/images/buttons/a-pre.png'), auto;
}

.innerslider .flex-direction-nav {
    display: block;
        position: static;
}
.innerslider .flex-direction-nav .flex-next:after,.innerslider .flex-direction-nav .flex-prev:after
{
    display:none
}

.flex-direction-nav .flex-disabled {
    opacity: 0 !important;
    filter: alpha(opacity=0);
    cursor: default;
}

.txtslider .flex-direction-nav {
    width: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.txtslider .flex-control-nav, #placeSliderImage .flex-control-nav, #peopleSliderImage .flex-control-nav {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.txtslider p {
    position: absolute;
    bottom: -3px;
    padding-right: 50px;
}

/* Control Nav */
.flex-direction-nav {
    display: none;
}

.flex-control-nav {
    width: 250px;
    position: absolute;
    top: 90px;
    left: -250px;
}

.floatleft .flex-control-nav {
    left: auto;
    right: -280px;
}

.flex-control-nav li {
    margin: 0 0 5px 0;
    display: block;
    zoom: 1;
}

.flex-control-paging li a {
    display: block;
    font-size: 1.1em;
    cursor: pointer;
    position: relative;

}

    .flex-control-paging li a:before {
        content: '';
        display: block;
        width: 0;
        height: 1px;
        background: #000;
        position: absolute;
        left: -20px;
        top: 45%;
        transform: translateY(-50%);
        transition: all 0.3s;
    }

    .flex-control-paging li a:hover {
    }

    .flex-control-paging li a.flex-active {
        font-family: 'MinionProSemibold';
        cursor: default;
    }

        .flex-control-paging li a.flex-active:before {
            width: 12px;
        }

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

    .flex-control-thumbs li {
        width: 25%;
        float: left;
        margin: 0;
    }

    .flex-control-thumbs img {
        width: 100%;
        display: block;
        opacity: .7;
        cursor: pointer;
    }

        .flex-control-thumbs img:hover {
            opacity: 1;
        }

    .flex-control-thumbs .flex-active {
        opacity: 1;
        cursor: default;
    }

    #SjbSLider,#CornerstoneSlider
    {
        padding-top:50px;
    }
.flex-direction-nav {
      display: block;
    position: absolute;
    bottom: 20px;
    left:20px;
    width:50px;
    height:28px;

}
#heritagesliderImage .flex-direction-nav {

    left: auto;
    right:20px;
}
.flex-direction-nav a{
	top: 0%;
    width:18px;
    height:28px;
	background-position: center center;
	opacity: 1;
    background:none;
    


	
}

/******************************************/

.flex-direction-nav .flex-next:after {
    width:15px;
    height:15px;
    border-right:2px solid #fff;
    border-bottom:2px solid #fff;
    content:'';
    display:block;
    position:absolute;
    right:5px;
    top:50%;
     	transform: translateY(-50%) rotate(-45deg);


}
 .flex-direction-nav .flex-prev::after{
    width: 15px;
    height:15px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
    display: block;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);


}




@media screen and (max-width : 1700px) {
    .flex-control-nav {
        top: 40px;
    }

        .flex-control-nav li {
            margin: 0 0 0px 0;
            display: block;
            zoom: 1;
        }
}

@media screen and (max-width:1000px) {

    .flexslider.fullVh {
        height: auto;
        min-height: 300px;
    }

    .fullhC img {
        position: relative;
        width: auto !important;
        max-height: 100%;
        left: auto;
        bottom: auto;
    }

    .fullhC p {
        display: block;
        margin: 15px 0;
    }

    .flex-direction-nav a {
        text-decoration: none;
        display: block;
    }

    .flex-control-nav {
        width: 100%;
        top: 0;
        left: 20px;
    }


    .flexslider.sliderimage {
        padding-top: 50px;
    }

    .flex-control-nav li {
        margin: 0 0 0px 0;
        display: block;
        zoom: 1;
        position: absolute;
        left: 0;
        top: 10px;
    }

        .flex-control-nav li a {
            opacity: 0;
        }

    .floatleft .flex-control-nav {
        left: 20px;
        right: auto;
    }

    .flex-control-nav li a.flex-active {
        opacity: 1;
    }

    .innerslider  
    .flex-direction-nav {
  
        top: -32px;
  
    }
    #peopleSliderImage.innerslider  
    .flex-direction-nav {
  
        top: 0;
  
    }
    #buildingsliderImage {
        padding-top: 50px;
    }

    .txtslider p {
        position: relative;
        bottom: 0;
        max-width: 100%;
    }

    #heritage h2, #neighborhood h2 {
        padding-left: 0;
    }

    #placeSliderImage {
        padding: 10px 0 0 0;
    }

    #peopleSliderImage li{
        padding:60px 0 0 0;
    }

    .desktop {
        display: none;
    }

    .fullhC p {
        position: relative;
        bottom: 0;
        padding-right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
    }

    #heritage .fullhC p {
        right: auto;
        left: auto;
    }
    .flex-direction-nav {

    top: 0;
    bottom:auto !important;
    right: 0 !important;
    left:auto!important;
   

}
    .flex-direction-nav .flex-next:after {

    border-right:2px solid #000;
    border-bottom:2px solid #000;



}
 .flex-direction-nav .flex-prev::after{
 
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;



}

    .innerslider {
        position: relative;
        height: auto;
        z-index: 1;
        background: #fff;
        opacity: 1;
    }

    #peopleSliderImage {
        display: none;
    }

    .innerSlidBg {
        height: 65vw;
    }

    .peopltext {
        position: relative;
        bottom: 0;
        padding-right: 0;
        padding-top: 15px;
        left: auto;
        max-width: 100%;
    }

    .name {
   
        top: 5px;
        padding-right: 0;
        left: 0;
    }

    .innerslider .flex-direction-nav {
    display: block;
        position: absolute;
}
.innerslider .flex-direction-nav .flex-next:after,.innerslider .flex-direction-nav .flex-prev:after
{
    display:block;
}
.innerslider .flex-direction-nav a {

    cursor: pointer

}
.flexslider .slides  li 
{
    display:none !important
}
.flexslider .slides li.flex-active-slide
{
    display:block !important
}
}
