/**
 * bxSlider v4.2.5
 * Copyright 2013-2015 Steven Wanderski
 * Written while drinking Belgian ales and listening to jazz
 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */


/** VARIABLES 
===================================*/


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 0;
  *zoom: 1;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.bx-wrapper img {
  width: 100%;
  display: block;
}

.bxslider {
  margin: 0;
  padding: 0;
}

ul.bxslider {
  list-style: none;
}

.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
}


/** THEME
===================================*/

.bx-wrapper {}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -30px;
  width: 100%;
}


/* LOADER */

.bx-wrapper .bx-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2000;
}

.bx-loading,
.bx-loading:before,
.bx-loading:after {
  border-radius: 50%;
}

.bx-loading:before,
.bx-loading:after {
  position: absolute;
  content: '';
}

.bx-loading:before {
  width: 5.2em;
  height: 10.2em;
  background: #0dc5c1;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}

.bx-loading {
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.bx-loading:after {
  width: 5.2em;
  height: 10.2em;
  background: #0dc5c1;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}

@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


/* PAGER */

.bx-wrapper .bx-pager {
  position: absolute;
  bottom: 0;
  opacity: 0;
  z-index: 2000;
  width: 100%;
  text-align: center;
}

.bx-wrapper:hover .bx-pager {
  bottom: 16px;
  opacity: 1;
}

.bx-wrapper .bx-pager-item {
  display: inline;
}

.bx-wrapper .bx-pager-item a {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 8px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 100px;
  overflow: hidden;
  text-indent: -999px;
  cursor: pointer;
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: all 0.2s ease-in-out;
}

.bx-wrapper .bx-pager-item a:hover {
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  background: transparent;
  border: 2px solid #fff;
}

.bx-wrapper .bx-pager-item a.active {
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  background: transparent;
  border: 2px solid #fff;
}


/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
  font-family: 'layers-icons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bx-wrapper .bx-prev:before {
  content: "\e602";
  visibility: visible;
}

.bx-wrapper .bx-next:after {
  content: "\e600";
  visibility: visible;
}

.bx-wrapper .bx-controls-direction .bx-prev {
  left: 0;
}

.bx-wrapper .bx-controls-direction .bx-next {
  right: 0;
}

.bx-wrapper:hover .bx-controls-direction .bx-prev {
  left: 10px;
  opacity: 1;
}

.bx-wrapper:hover .bx-controls-direction .bx-next {
  right: 10px;
  opacity: 1;
}

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  visibility: hidden;
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 32px;
  line-height: 50px;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

.bx-wrapper .bx-controls-direction {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 2000;
  margin-top: -25px;
}


/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
  text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -11px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-start:focus {
  background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -44px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-auto .bx-stop:focus {
  background-position: -86px -33px;
}


/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}


/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}

.bx-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}

.bx-wrapper .copy-container {
  max-width: 1040px;
  margin: auto;
  padding: 0;
  position: relative;
}

.bx-wrapper .copy-container {
  top: auto;
  -webkit-transform: none;
  transform: none;
}

.portfolio-slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.portfolio-slide .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.portfolio-slide .copy-container {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.portfolio-slide.overlay.darken {
  background-color: rgba(0, 0, 0, 0.2);
}

.portfolio-slide.text-center .portfolio-cat {
  max-width: 745px;
  margin: 10px auto;
}

.portfolio-slide .section-title.extra .heading {
  font-size: 8rem;
  line-height: 1;
  letter-spacing: -0.5rem;
}

.portfolio-slide .section-title.extra .portfolio-cat {
  font-size: 1.8rem;
  margin-top: 1rem;
}

.portfolio-slide .section-title.large .portfolio-cat {
  font-size: 1.6rem;
}

.portfolio-slide .section-title.small .portfolio-cat {
  font-size: 1.2rem;
}
.portfolio-slide .button.btn-extra {
  font-size:2.2rem;
  padding: 10px 25px;
}

.portfolio-slide .portfolio-cat {
  color: rgba(0, 0, 0, 0.55);
  font-size: 1.4rem;
  line-height: 1.25;
}

.portfolio-slide.invert .portfolio-cat {
  color: rgba(255, 255, 255, 0.8);
}

.invert .portfolio-slide .portfolio-cat {
  color: rgba(255, 255, 255, 0.8);
}

.had-custom-height {
  overflow: hidden;
}
.portfolio-slide .buttons .button {
  color:rgba(255, 255, 255, 0.85);
}
.portfolio-slide .buttons.invert .button {
  color:rgba(0, 0, 0, 0.85);
}

.portfolio-slider.container {
  padding: 0;
  max-width: 1000px;
  transform-style: preserve-3d;
}
.portfolio-slide .section-title {
  padding: 50px;
  display: inline-block;
  margin: 30px;
  max-width: 100%;
}
@media only screen and (max-width: 769px) {
  .portfolio-slide .section-title {
    margin:0;
    padding:30px;
  }
}