/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
  position: relative;
  margin: 0 auto 0px;
  padding: 0;
  height: 100%;
}

/** THEME
===================================*/

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: 3vh;
  width: 100%;
  z-index: 8000;
}

ul.bxslider {
  padding: 0;
  margin: 0;
  height: 100%;
}

.bxslider li {
  width: 100vw;
  transform: rotate(0.0001deg);
  height: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
  min-height: 50px;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

/* PAGER */

.bx-controls-direction {
  display: none;
}

.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 20px;
  display: flex;
  display: none;
  justify-content: flex-end;
  align-items: center;
  right: 30px;
  bottom: 30px;
  position: absolute;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: #ececec;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #b1b1b1;
}



/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 10px;
  background: url(images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
  right: 40px;
  background: url(images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
  background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
  background-position: -43px 0;
}

@media screen and (min-width: 1920px) {
  .bx-wrapper .bx-prev {
    left: 20%;
    background: url(images/controls.png) no-repeat 0 -32px;
  }

  .bx-wrapper .bx-next {
    right: 20%;
    background: url(images/controls.png) no-repeat -43px -32px;
  }

  .bx-wrapper .bx-prev:hover {
    background-position: 0 0;
  }

  .bx-wrapper .bx-next:hover {
    background-position: -43px 0;
  }
}

@media screen and (max-width: 1120px) {
  .bx-wrapper .bx-prev {
    left: 10px;
    background: url(images/controls.png) no-repeat 0 -32px;
  }

  .bx-wrapper .bx-next {
    right: 40px;
    background: url(images/controls.png) no-repeat -43px -32px;
  }

  .bx-wrapper .bx-prev:hover {
    background-position: 0 0;
  }

  .bx-wrapper .bx-next:hover {
    background-position: -43px 0;
  }
}

@media screen and (max-width: 1024px) {
  li.slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .facility-bxslider li.slide {
    display: block;
  }
}

@media screen and (max-width: 559px) {}


@media all and (max-width: 640px) and (-ms-high-contrast: none) {
  #image-block .main-text img {
    width: 30%;
  }
}