/* 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.nslider
{
    position:absolute;
    top:0;
    left:0;
    z-index:0;
    opacity:0;
    transition:opacity 0.7s;

    background:#fff
}
#page-history .flexslider.nslider
{
    height:100%

}
.nslider .slides,.nslider .slides li
{
    height:100%
}
/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin:0; padding: 0; position: relative; zoom: 1;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* 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 */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a{
	top: 0%;
    width:18px;
    height:28px;
	background-position: center center;
	opacity: 1;
    background:none;
    position:absolute;
        top:calc(50% - 14px);

        z-index:10

	
}
.flex-direction-nav .flex-next
{
    right:30px;
}
 .flex-direction-nav .flex-prev
 {
     left:30px;
 }
/******************************************/

.flex-direction-nav .flex-next:after {
    width:20px;
    height:20px;
    border-right:4px solid #fff;
    border-bottom:4px solid #fff;
    content:'';
    display:block;
    position:absolute;
    right:5px;
    top:50%;
     	transform: translateY(-50%) rotate(-45deg);


}
 .flex-direction-nav .flex-prev::after{
    width: 20px;
    height:20px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    content: '';
    display: block;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);


}
/* Control Nav */
#page-home  .flexslider
{
    padding-bottom:30px;
}
#page-home .flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: 0;

  text-align: center;
}
#page-home .flex-control-nav li {
  margin: 0 5px;
  display: inline-block;
  zoom: 1;
  *display: inline;
  line-height:12px;
}
#page-home .flex-control-paging li a {
  width: 10px;
  height: 10px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#page-home .flex-control-paging li a:hover {
  background: #41a190;
  background: rgba(0, 0, 0, 0.7);
}
#page-home .flex-control-paging li a.flex-active {
  background: #41a190;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.for-m .flex-control-nav ,.nslider   .flex-control-nav 
{
 opacity:0;
 width:0;
 height:0 ;
 overflow:hidden
}
@media screen and (max-width : 1000px) {
    .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;
   
}

    .flex-direction-nav .flex-next {
        top: 0;
        right:0;
    }

    .flex-direction-nav .flex-prev {
              top: 0;
              left:auto;
          right: 35px;
    }
    .buildingslider ,#team .flexslider
    {
        padding-top:33px
    }
}