/* carousel */

.compo-carousel .row {
  margin-top: 0px;
}
.bs-slider {
  overflow: hidden;
  max-height: 700px;
  position: relative;
  background: white;
}
.bs-slider:hover {
  /*cursor: -moz-grab;
  cursor: -webkit-grab;*/
}
.bs-slider:active {
  /*cursor: -moz-grabbing;
  cursor: -webkit-grabbing;*/
}
.bs-slider .bs-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 109, 149, 0);
}
.bs-slider > .carousel-inner > .item > img,
.bs-slider > .carousel-inner > .item > a > img {
  margin: auto;
  width: 100% !important;
}
/********************
*****Slide effect
**********************/

.fade {
  opacity: 1;
}
.fade .item {
  top: 0;
  z-index: 1;
  opacity: 0;
  width: 100%;
  position: absolute;
  left: 0 !important;
  display: block !important;
  -webkit-transition: opacity ease-in-out 1s;
  -moz-transition: opacity ease-in-out 1s;
  -ms-transition: opacity ease-in-out 1s;
  -o-transition: opacity ease-in-out 1s;
  transition: opacity ease-in-out 1s;
}
.fade .item:first-child {
  top: auto;
  position: relative;
}
.fade .item.active {
  opacity: 1;
  z-index: 2;
  -webkit-transition: opacity ease-in-out 1s;
  -moz-transition: opacity ease-in-out 1s;
  -ms-transition: opacity ease-in-out 1s;
  -o-transition: opacity ease-in-out 1s;
  transition: opacity ease-in-out 1s;
}
/*---------- LEFT/RIGHT ROUND CONTROL ----------*/

.control-round .carousel-control {
  opacity: 0;
  width: 45px;
  height: 45px;
  z-index: 100;
  color: white;
  display: block;
  font-size: 24px;
  cursor: pointer;
  overflow: hidden;
  line-height: 43px;
  text-shadow: none;
  position: absolute;
  font-weight: normal;
  background: transparent;
  -webkit-border-radius: 100px;
  border-radius: 100px;
}
.control-round:hover .carousel-control {
  opacity: 1;
}
.control-round .carousel-control.left {
  left: 1%;
}
.control-round .carousel-control.right {
  right: 1%;
}
.control-round .carousel-control.left:hover,
.control-round .carousel-control.right:hover {
  color: #fdfdfd;
  background: rgba(0, 0, 0, 0.5);
  border: 0px transparent;
}
.control-round .carousel-control.left > span:nth-child(1) {
  left: 45%;
}
.control-round .carousel-control.right > span:nth-child(1) {
  right: 45%;
}
/*---------- INDICATORS CONTROL ----------*/

.indicators-line > .carousel-indicators {
  right: 45%;
  bottom: 3%;
  left: auto;
  width: 90%;
  height: 20px;
  font-size: 0;
  overflow-x: auto;
  text-align: right;
  overflow-y: hidden;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 1px;
  white-space: nowrap;
}
.indicators-line > .carousel-indicators li {
  padding: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #9e9e9e;
  text-indent: 0;
  overflow: hidden;
  text-align: left;
  position: relative;
  letter-spacing: 1px;
  background: #9e9e9e;
  -webkit-font-smoothing: antialiased;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin-right: 5px;
  -webkit-transition: all 0.5s cubic-bezier(0.22, 0.81, 0.01, 0.99);
  transition: all 0.5s cubic-bezier(0.22, 0.81, 0.01, 0.99);
  z-index: 10;
  cursor: pointer;
}
.indicators-line > .carousel-indicators li:last-child {
  margin-right: 0;
}
.indicators-line > .carousel-indicators .active {
  margin: 1px 5px 1px 1px;
  box-shadow: 0 0 0 2px white;
  background-color: transparent;
  position: relative;
  -webkit-transition: box-shadow 0.3s ease;
  -moz-transition: box-shadow 0.3s ease;
  -o-transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
.indicators-line > .carousel-indicators .active:before {
  transform: scale(0.5);
  background-color: white;
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
/*---------- SLIDE CAPTION ----------*/

.slide-text {
  left: 0;
  bottom: 1%;
  right: 0;
  margin: auto;
  padding: 10px;
  position: absolute;
  text-align: left;
  padding: 10px 85px;
}
.slide_style_left {
  text-align: left !important;
}
.slide_style_right {
  text-align: right !important;
}
.slide_style_center {
  text-align: center !important;
}
.slide_style_top {
  top: 1%;
}
.slide_style_middle {
  bottom: 25%;
}
.slide-text > h1 {
  padding: 0;
  color: white;
  font-size: 70px;
  font-style: normal;
  margin-bottom: 30px;
  letter-spacing: 1px;
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
.slide-text > p {
  padding: 0;
  color: white;
  font-size: 25px;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: 1px;
  -webkit-animation-delay: 1.1s;
  animation-delay: 1.1s;
}
.slide-text > a:hover,
.slide-text > a:active {
  color: white;
  background: #222222;
  -webkit-transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
  transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
}
/*------------------------------------------------------*/

/* RESPONSIVE
/*------------------------------------------------------*/

@media (max-width: 991px) {
  .slide-text h1 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 20px;
  }
  .slide-text > p {
    font-size: 18px;
  }
}
/*---------- MEDIA 480px ----------*/

@media (max-width: 768px) {
  .slide-text {
    padding: 10px 50px;
  }
  .slide-text h1 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 10px;
  }
  .slide-text > p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  .control-round .carousel-control {
    display: none;
  }
}
@media (max-width: 480px) {
  .slide-text {
    padding: 10px 30px;
  }
  .slide-text h1 {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 5px;
  }
  .slide-text > p {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 10px;
  }
  .indicators-line > .carousel-indicators {
    display: none;
  }
}

/* image link grid */

.link-image-box {
    color: white;
    position: relative;
    float: left;
    overflow: hidden;
    background-color: white;
    color: white;
    text-align: center;
    width: 100%;
    margin-bottom:30px;
    height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
}

@media (max-width: 768px) {

    .link-image-box  {
    }
}

.link-image-box * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.link-image-box img {
    /*max-width: 100%;*/
    width:auto !important;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    vertical-align: top;
    opacity: 1;
    height:100%;
    display:block;
}

@media (max-width: 991px) {

    .link-image-box  img {
        height:auto;
    }
}

.link-image-box .figcaption {
    display:block;
    position: absolute;
    padding: 0px;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
}
.link-image-box h4,
.link-image-box p {
    margin: 0;
    padding: 0;
}
.link-image-box h4 {
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 100;
    font-size: 1.8em;
    width: 100%;
    background-color: #808080;
    color: white;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    font-size: 16pt;
}
.link-image-box p {
    position:absolute;
    bottom:0;
    background-color: rgba(255, 255, 255, 0.79);
    /*display: inline-block;*/
    width: 100%;
    font-weight: 300;
    /*margin-top: -10px;
    margin-bottom: 20px;*/
    line-height: 1.7em;
    font-size: 16pt;
    color: black;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}
.link-image-box a {
    position absolute;
    width:100%;
    height:100%;
    display: inline-block;
    text-decoration: none;
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    /*padding: 10px 20px;
    border: 1px solid white;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8em;
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
    opacity: 0;*/
}
.link-image-box a:hover {
    /*background-color: rgba(0, 0, 0, 0.2);*/
}

.link-image-box:hover img,
.link-image-box.hover img {
    /*opacity: 0;*/
    -webkit-transform: scale(1);
    transform: scale(1);
}
.link-image-box:hover a,
.link-image-box.hover a {
    /*-webkit-transform: translateY(0);
    transform: translateY(0);
opacity: 1;*/
}