/**
 * @file
 * Views Styling
 */
/* Media Queries*/
#block-views-slideshow-overlay-tabs-slides {
  position: relative;
  margin-bottom: 0; }

.flexslider {
  height: 100%;
  margin-bottom: 0; }

.flex-nav-container {
  float: none;
  margin-bottom: 0; }

li.slide {
  max-height: 525px;
  overflow: hidden;
  position: relative; }

.flex-direction-nav .flex-next {
  right: 0; }

.front #above_content {
  background: #FFFFFF;
  padding: 0;
  border-bottom: 1px solid #EAEAEA; }

/* Slideshow with text pager - Use view: 'slideshow overlay tabs' and pass the view class as an argument
* @include slideshow-text(view-slideshow-overlay-tabs);
*/
/* Slideshow with text right 
@include slideshow-textright(view-slideshow-overlay-tabs);
*/
/* 
* Slideshow with dotted pager*/
.view-slideshow-overlay-tabs .flex-caption {
  bottom: 30px;
  left: 0px;
  position: absolute;
  text-align: center;
  width: 100%; }
.view-slideshow-overlay-tabs p, .view-slideshow-overlay-tabs h2 {
  margin: 0; }
.view-slideshow-overlay-tabs .pager-list {
  bottom: 0;
  position: absolute;
  right: 20px; }
  .view-slideshow-overlay-tabs .pager-list li {
    background-color: #b2b2be;
    border-radius: 0;
    display: block;
    float: left;
    height: 10px;
    margin-right: 10px;
    text-indent: -9999px;
    width: 10px; }
    .view-slideshow-overlay-tabs .pager-list li.flex-active {
      background-color: #34343D; }

.front #above_content .max-width-container {
  max-width: 100% !important;
  overflow: hidden;
  *zoom: 1;
  overflow: visible;
  position: relative; }

.flexslider {
  margin: 0;
  background: #fff;
  border: none;
  position: relative;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  zoom: 1; }

.view-slideshow-overlay-tabs .pager-list {
  bottom: 0;
  position: absolute;
  left: 20px;
  right: auto;
  z-index: 2; }
  .view-slideshow-overlay-tabs .pager-list ul {
    padding: 15px 20px 20px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    background: url("../images/white-bg.png") left top repeat; }

.view-slideshow-overlay-tabs .pager-list li {
  background-color: #FFF;
  border-radius: 20px;
  height: 12px;
  width: 12px; }

.view-slideshow-overlay-tabs .pager-list li.flex-active {
  background-color: #e2583e;
  height: 15px;
  width: 15px;
  position: relative;
  top: -2px; }

.view-slideshow-overlay-tabs .flex-caption {
  text-align: left; }

.view-slideshow-overlay-tabs p {
  line-height: 1em;
  font-family: "roboto_condensedregular", Helvetica, Arial, "Nimbus Sans L", sans-serif;
  text-shadow: 0px 2px 3px white; }

.view-slideshow-overlay-tabs h2, .view-slideshow-overlay-tabs h3, .view-slideshow-overlay-tabs h1 {
  line-height: 1em;
  font-family: "roboto_condensedbold", Helvetica, Arial, "Nimbus Sans L", sans-serif;
  text-shadow: 0px 2px 3px white;
  margin-bottom: 15px; }

.grid-within-grid a {
  background-color: #5770ee;
  display: block;
  border-radius: 40px;
  color: #FFFFFF;
  font-family: "roboto_condensedbold", Helvetica, Arial, "Nimbus Sans L", sans-serif;
  font-size: 35px;
  text-transform: uppercase;
  text-align: center;
  padding: 15px 30px;
  margin: 20px 10px 0;
  text-shadow: 0 0 4px #3B4A94;
  box-shadow: inset 0 0 4px #3B4A94; }
  .grid-within-grid a:hover {
    background-color: #34343D; }

/* Slideshow with text pager - Use view: 'slideshow overlay tabs' and pass the view class as an argument
 @include slideshow-full-image-text-pager-right-max-height(view-slideshow-overlay-tabs);
.block-views-slideshow-overlay-tabs-slides h2.block-title{text-align: right;}

#above_content{
	padding:0;
	box-sizing: border-box;
	}
.front #above_content .max-width-container{
	max-width:100% !important;
@include clearfix;
overflow:visible;
position: relative;}


.flexslider {
  background: #fff;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(0,0,0,.2);
  -webkit-box-shadow: 0 0 0 rgba(0,0,0,.2);
  -moz-box-shadow: 0 0 0 rgba(0,0,0,.2);
  -o-box-shadow: 0 0 0 rgba(0,0,0,.2);
}

.view-slideshow-overlay-tabs .skin-default {padding:0;}

.view-slideshow-overlay-tabs .skin-default {
	border-bottom: $border-solid;
	max-height: 525px;
	float: none;
}

.view-slideshow-overlay-tabs{
  font-family: $helvetica;
  color:#FFF;
  h1, h2, h3, h4, h5, h6{font-family: $times;}
  .flex-caption{
  	text-shadow: -1px 1px 5px #000;
    p, a{
      display: inline;
      line-height: 1.25em;
      font-family: $times;
      font-style: italic;
      font-weight: bold;
    }
    .slide-link{
      display: block;
     padding: 0;
     a{padding:5px;}
    }
    h1,h2,h3,h4,h5{
     display: block;
     line-height: 1em;
     margin-bottom: 0;
    }
  }
  .view-header{
    padding:10px;
  }
  .pager-footer{
    background: transparent url("../images/pink-bg.png") repeat left top;
    padding:2px 10px;
    a:hover{color:#b70b76;}
    h3{margin-bottom: -5px;}
  }
  .view-slideshow-overlay-tabs{  
    font-family:$helvetica;  
    max-height: 530px;
		overflow: hidden;
    padding:0; 
    top:15px; 
    background: transparent url("../images/white-bg.png") repeat left top;
		border-radius: 8px 8px 0 0;
		border: 1px solid red;  
    h1, h2, h3, h4, h5, h6{font-family: $helvetica;}
    a{color:#FFF;}
    ul{
      margin:0;
      padding:0 10px;
    }
    li{
      display: inline-block;
      padding: 0 5px;
      font-size: 1.8em;
      @include clearfix;
      &:first-child{border-top: none;}
      &.flex-active{
        a{
          color:$orange;
          &:hover{color:#000;}
        }
      }
      .flexislide-thumb-wrapper{
        float: left;
        margin-right:10px;
        clear: left;
        }
    }
  }
}
.view-carousel{
  position: relative;
  .flex-control-nav {
    text-align: left;
    bottom: 0px;
    left: 10px;
  }
}

.view-slideshow-overlay-tabs .view-footer{
	padding:0 10px;
}

.apply-now{
	background-color: $orange;
	padding:10px;
	width: 100%;
	display: block;
	text-align: center;
	font-size: 1.7em;
	text-shadow: -1px 1px 0px #8E5114;
	text-transform: uppercase;
	box-sizing: border-box;
	border-radius: 8px;
	&:hover{
		-webkit-filter: grayscale(50%);
		filter: gray;
	}
}


.front #above_content_front {
  overflow: hidden;
}

#above_content_front .max-width-container {
overflow: hidden;
overflow: visible;
position: relative;
}
.view-header {
	h3{
		font-size: 2.5em;
		text-transform: uppercase;
		line-height: 1em;
		margin-top: 5px;
	}
	p{
		font-family: $times;
		font-style: italic;
		font-size: 1.5em;
		margin-bottom: 0;
		}
}

.flex-caption h2{
	text-transform: uppercase;
}*/
/*
 * Gallery
 */
#content .view-gallery img {
  padding: 0; }

#block-views-gallery-block .view-gallery {
  border-bottom: none;
  padding-bottom: 0; }

#block-views-gallery-block-1 .view-gallery {
  border-top: none; }

.view-gallery {
  padding: 10px;
  background: #F3F3F3;
  border: 1px solid #EAEAEA; }
  .view-gallery .caption {
    display: none;
    font-size: 13px;
    font-style: italic;
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: transparent url("../images/black-bg.png") repeat left top;
    color: #FFF; }
  .view-gallery .flex-active-slide:hover .caption {
    display: block !important; }
  .view-gallery .wrapper {
    padding: 8px;
    box-shadow: inset 0 0 10px #c8c8c8; }
  .view-gallery .gallery-list ul {
    margin: 0;
    padding: 0; }
  .view-gallery .gallery-list li {
    display: inline-block;
    border: 1px solid #FFF;
    line-height: 0;
    width: 10%;
    border-radius: 4px;
    box-shadow: 0 0 8px #CCCCCC inset;
    padding: 5px; }
    .view-gallery .gallery-list li.flex-active img {
      border-radius: 4px;
      opacity: 1; }
    .view-gallery .gallery-list li.flex-active {
      border: 1px solid #444444; }

#block-views-gallery-block {
  margin: 20px 0 0; }

#block-views-gallery-block-1 {
  margin: 0; }

.slide .flex-caption {
  opacity: 0;
  transition: opacity .75s .35s ease-in;
  -ms-transition: opacity .75s .35s ease-in;
  -moz-transition: opacity .75s .35s ease-in;
  -webkit-transition: opacity .75s .35s ease-in; }

li.flex-active-slide .flex-caption {
  opacity: 1;
  transition: opacity .75s .35s ease-out;
  -ms-transition: opacity .75s .35s ease-out;
  -moz-transition: opacity .75s .35s ease-out;
  -webkit-transition: opacity .75s .35s ease-out; }

.gradient-top {
  position: absolute;
  top: 0;
  height: 30px;
  z-index: 1;
  width: 100%;
  -webkit-box-shadow: inset 0 30px 30px -30px rgba(184, 179, 179, 0.8);
  -moz-box-shadow: inset 0 30px 30px -30px rgba(184, 179, 179, 0.8);
  box-shadow: inset 0 30px 20px -30px rgba(184, 179, 179, 0.8); }

.gradient-bottom {
  position: absolute;
  bottom: 0;
  height: 30px;
  z-index: 1;
  width: 100%;
  -webkit-box-shadow: inset 0 -30px 30px -30px rgba(184, 179, 179, 0.8);
  -moz-box-shadow: inset 0 -30px 30px -30px rgba(184, 179, 179, 0.8);
  box-shadow: inset 0 -30px 30px -30px rgba(184, 179, 179, 0.8); }

@media all and (max-width: 960px) {
  .grid-within-grid a {
    font-size: 22px;
    padding: 10px 5px; } }
@media all and (max-width: 725px) {
  .view-slideshow-overlay-tabs p {
    display: none; }

  .grid-within-grid a {
    display: none; }

  #footer #block-menu-block-4 {
    margin: 0;
    padding-left: 0; }

  #footer #block-block-9 .partner {
    background-size: 90% !important;
    width: 30%; } }
