/**
 * Styles for Fusion : Masthead
*/

.fsn-masthead .masthead-container {
  margin-left:-15px;
  margin-right:-15px;
  position:relative;
}
.fsn-masthead .masthead-container.masthead-small {
  height:30vh;
}
.fsn-masthead .masthead-container.masthead-medium {
  height:50vh;
}
.fsn-masthead .masthead-container.masthead-large {
  height:70vh;
}
.fsn-masthead .masthead-container.masthead-full {
  height:100vh;
}
.fsn-masthead .masthead-item  {
  display: -ms-flexbox;
  display:-webkit-flex;
  display:flex;
  -ms-flex-align: center;
  -webkit-align-items:center;
  align-items:center;
}
.fsn-masthead .masthead-item  {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
}
.fsn-masthead .masthead-item-media  {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  overflow:hidden;
}
.fsn-masthead .masthead-item-image,
.fsn-masthead .masthead-item-video  {
  display:block;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.fsn-masthead .masthead-item-overlay  {
  display:block;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0, 0, 0, 0.3);
}
.fsn-masthead .masthead-item-content  {
  position:relative;
  z-index:2;
  width:100%;
  padding-left:48px;
  padding-right:48px;
  color:#fff;
}
.fsn-masthead .masthead-item-headline,
.fsn-masthead .masthead-item-subheadline  {
  display:block;
  margin-bottom:10px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color:inherit;
}
.fsn-masthead .masthead-item-headline {
  margin-top:0;
  font-size:36px;
}
.fsn-masthead .masthead-item-logo {
  max-width:100%;
  height:auto;
}
.fsn-masthead .masthead-item-logo + .masthead-item-headline {
  margin-top:30px;
}
.fsn-masthead .masthead-item-subheadline  {
  font-size:24px;
}
.fsn-masthead .masthead-item-button {
  margin-top:30px;
}
.fsn-masthead .masthead-item-button:first-child {
  margin-top:0;
}
.fsn-masthead .masthead-item-video-pause,
.fsn-masthead .masthead-slider-pause  {
  position:absolute;
  bottom:15px;
  left:15px;
  z-index:11;
  display: block;
  width:48px;
  height:48px;
  margin:0;
  padding:0;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  border:0;
  border-radius:0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background:url('images/baseline-pause.svg') no-repeat center center;
  background-size:contain;
}
.fsn-masthead .masthead-item-video-pause.paused,
.fsn-masthead .masthead-slider-pause.paused  {
  background-image:url('images/baseline-play_arrow.svg');
}

@media (min-width: 768px) {
  .fsn-masthead .masthead-container {
    margin-left:auto;
    margin-right:auto;
  }
  .fsn-masthead .masthead-item-content  {
    padding-left:8.33333333%;
    padding-right:8.33333333%;
  }
}

/**
 * Slider
 */

/*Begin base styles adapted from flexslider.css*/
.masthead-slider,
.masthead-slider .masthead-slides {
  zoom: 1;
}
.masthead-slider .masthead-slides img {
  -moz-user-select: none;
}
.masthead-slides,
.masthead-slides > li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.masthead-slider .masthead-slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.masthead-slider .masthead-slides > li:first-child {
  display: block;
}
.masthead-slider .masthead-slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .masthead-slider .masthead-slides {
  display: block;
}
* html .masthead-slider .masthead-slides {
  height: 1%;
}
/*End base styles adapted from flexslider.css*/

.fsn-masthead .masthead-slider  {
  overflow:hidden;
}
.fsn-masthead .masthead-slider,
.fsn-masthead .masthead-slides,
.fsn-masthead .masthead-slides > li {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
}
.fsn-masthead .masthead-slides > li	{
  -moz-transition:opacity 0.6s ease 0.6s !important;
  -webkit-transition:opacity 0.6s ease 0.6s !important;
  transition:opacity 0.6s ease 0.6s !important;
}
.fsn-masthead .masthead-slides > li.flex-active-slide	{
  -moz-transition-delay:0s !important;
  -webkit-transition-delay:0s !important;
  transition-delay:0s !important;
}

/**
 * Slider Controls
 */

.fsn-masthead .flex-direction-nav a	{
  width:48px;
  height:48px;
  margin-top:-24px;
  text-shadow:none;
  opacity:0.6;
}
.fsn-masthead .flex-direction-nav a:before	{
  text-shadow:none;
  width:48px;
  height:48px;
  background-repeat:no-repeat;
  background-position:center center;
}
.fsn-masthead .flex-direction-nav .flex-prev	{
  left:0px;
}
.fsn-masthead .masthead-slider:hover .flex-direction-nav .flex-prev	{
  left:0px;
  opacity:0.6;
}
.fsn-masthead .flex-direction-nav .flex-next	{
  right:0px;
}
.fsn-masthead .masthead-slider:hover .flex-direction-nav .flex-next	{
  right:0px;
  opacity:0.6;
}
.fsn-masthead .masthead-slider:hover .flex-direction-nav .flex-prev:hover,
.fsn-masthead .masthead-slider:hover .flex-direction-nav .flex-next:hover	{
  opacity:1;
}
.fsn-masthead .flex-direction-nav a.flex-prev:before	{
  content:'';
  background-image:url('images/baseline-chevron_left.svg');
}
.fsn-masthead .flex-direction-nav a.flex-next:before	{
  content:'';
  background-image:url('images/baseline-chevron_right.svg');
}
.fsn-masthead .flex-control-nav {
  bottom:20px;
  z-index:10;
}
.fsn-masthead .flex-control-nav li	{
  margin:0 5px;
}
.fsn-masthead .flex-control-paging li a	{
  width:20px;
  height:20px;
  background:rgba(255, 255, 255, 0.6);
  border:transparent;
  box-shadow:none;
}
.fsn-masthead .flex-control-paging li a:hover	{
  background:rgba(255, 255, 255, 0.8);
}
.fsn-masthead .flex-control-paging li a.flex-active	{
  background:#ffffff;
}

@media (min-width: 768px) {
  .fsn-masthead .flex-direction-nav .flex-prev	{
    left:30px;
  }
  .fsn-masthead .masthead-slider:hover .flex-direction-nav .flex-prev	{
    left:30px;
  }
  .fsn-masthead .flex-direction-nav .flex-next	{
    right:30px;
  }
  .fsn-masthead .masthead-slider:hover .flex-direction-nav .flex-next	{
    right:30px;
  }
  .fsn-masthead .flex-control-nav {
    bottom:40px;
  }
}

/**
 * Ken Burns Effect
 */

@media (min-width: 768px) {
  .masthead-container.kenburns .animating-visible img.masthead-item-image,
  .masthead-container.kenburns > .masthead-item.image img.masthead-item-image	{
    animation:kenburns 30s cubic-bezier(0, 0, .80, .90) infinite alternate;
  }
}

@keyframes kenburns	{
	0%	{
		transform:scale3d(1, 1, 1);
	}
	100% {
		transform:scale3d(1.2,1.2,1);
		transform-origin:(50%, 50%);
	}
}
