/**
 *  GI style for sections
 */

/***************************************************************
 * SECTIONS background colors
 ***************************************************************/

.section-bg-white {
    background-color: #fff
}

.section-bg-grey {
    background-color: #eee;
}

.section-bg-custom {
    background-color: #0ad;
}

.section-bg-image {
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-window{
    position:relative;
}

.parallax-window > div {
    z-index: 2;
}

/***************************************************************
 * SECTIONS background layers
 ***************************************************************/

.section-layer {
    position: relative;
    z-index: 2;
}

.section-layer > div {
    z-index: 1;
}

.section-layer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/***************************************************************
 * SECTIONS background video
 ***************************************************************/

.section-bg-video {
    position: relative;
    overflow: hidden;
    min-height: 10rem;
    transform: translate3d(0, 0, 0);
}

.section-video-background {
    box-sizing: border-box;
    background: #000;
    position: fixed;
    /*top: -100%;*/
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -99;
}

iframe.ytplayer-player-inline {
    margin: 0;
}

/***************************************************************
 * TEXT & COLUMN
 ***************************************************************/
.section-text-wrapper .text__column .col-12 {
    padding: 1rem;
}

@media (max-width: 992px) {

    .order-1,.order-first {
        -ms-flex-order: 1 !important;
        order: 1 !important;
    }

    .order-2,.order-last {
        -ms-flex-order: 2 !important;
        order: 2 !important;
    }

    .order-3 {
        -ms-flex-order: 3;
        order: 3;
    }

    .order-4 {
        -ms-flex-order: 4;
        order: 4;
    }

}

/***************************************************************
 * SERVICES - Fix for LazyLoad
 ***************************************************************/
.lazy-container{
    width: 100%;
    height: 0;
    padding-bottom: 66.67%;
    position: relative;
}

.lazy-container .lazy{
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/***************************************************************
 * PRESENTATION
 ***************************************************************/

.section-presentation-wrapper .no-repeat {
    background-repeat: no-repeat;
}

.section-presentation-wrapper .cover {
    background-size: cover;
    height: 100%;
    min-height: 300px;
}

@media (min-width: 992px) {
    .section-presentation-wrapper .cover {
        min-height: initial;
    }
}

.section-presentation-wrapper .cover img {
    opacity: 0;
}

.section-presentation-wrapper .wrapper img {
    opacity: 1;
}

.section-presentation-wrapper .fullscreen.image-cover {
    max-height: 100%;
}

.section-presentation-wrapper .fullscreen.image-cover .presentation__image > div {
    height: 100%;
}

/***************************************************************
 * ACCORDION
 ***************************************************************/

.section-accordion-wrapper .card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: none;
    border-radius: 0.25rem;
}

.section-accordion-wrapper .card-block {
    flex: 1 1 auto;
    padding: 1.25rem;
}

.section-accordion-wrapper .card-title {
    margin-bottom: 0.75rem;
}

.section-accordion-wrapper .card-subtitle {
    margin-top: -0.375rem;
    margin-bottom: 0;
}

.section-accordion-wrapper .card-text:last-child {
    margin-bottom: 0;
}

.section-accordion-wrapper .card-link:hover {
    text-decoration: none;
}

.section-accordion-wrapper .card-link + .card-link {
    margin-left: 1.25rem;
}

.section-accordion-wrapper .card-header {
    padding: 0 0 0 1.25rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-left: 1px solid rgba(0, 0, 0, 0.125);
    position: relative;
    letter-spacing: -0.31em;
}

.section-accordion-wrapper .card-header:hover{
    cursor:pointer;
}

.section-accordion-wrapper .card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.section-accordion-wrapper .card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.section-accordion-wrapper .card-footer:last-child {
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.section-accordion-wrapper .accordion-title {
    display: inline-block;
    width: 100%;
    max-width: -webkit-calc(100% - 50px);
    max-width: calc(100% - 50px);
    letter-spacing: normal;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.section-accordion-wrapper .accordion-link {
    width: 50px;
    height: 50px;
    display: inline-block;
    letter-spacing: normal;
    vertical-align: middle;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    border-left: 1px solid rgba(0, 0, 0, 0.125);
    position: relative;
}

.section-accordion-wrapper .accordion-link:before {
    transition: background 0.5s;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.section-accordion-wrapper .accordion-link:hover:before,
.section-accordion-wrapper .card-header:hover:before,
.section-accordion-wrapper .active .card-header:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.125);
}

/***************************************************************
 * SLIDER
 ***************************************************************/

.section-slider-wrapper .sliderfullscreen {
    max-height: 100%;
}

.section-slider-wrapper .section__content {
    position: relative;
}

.section-slider-wrapper .section__content .bx-wrapper {
    margin: 0;
    height: 100%;
}

.section-slider-wrapper .section__content .bx-wrapper .bx-viewport {
    background: transparent;
    border: none;
    box-shadow: none;
    left: 0;
}

.section-slider-wrapper .sliderfullscreen .section__content .bx-wrapper .bx-viewport {
    height: 100% !important;
}

.section-slider-wrapper .section__content .bx-pager {
    bottom: 0;
    z-index: 11;
}

.section-slider-wrapper .section__content .bx-controls-direction a {
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
}

.section-slider-wrapper .section__content .bxslider,
.section-slider-wrapper .section__content .bxslider li {
    height: 100%;
    min-height: 300px;
}

@media (min-width: 768px) {
    .section-slider-wrapper .section__content .bxslider li {
        min-height: 50vh;
    }
}

.section-slider-wrapper .section__content > .bxslider > .slide {
    display: none;
}

.section-slider-wrapper .section__content > .bxslider > .slide:first-child {
    display: block;
}

.section-slider-wrapper .section__content .slide {
    /*
    background-position: center center;
    */
    background-repeat: no-repeat;
}

.section-slider-wrapper .section__content .slide.blender {
    background-blend-mode: multiply;
}

.section-slider-wrapper .blender .section__content .slide .section-layer::before {
    content: none;
}

.section-slider-wrapper .section__content .slider-description {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    padding: 0 55px;
    box-sizing: border-box;
}

.section-slider-wrapper .section__content .slider-description .content {
    width: 100%;
}

.section-slider-wrapper .bx-wrapper .bx-next,
.section-slider-wrapper .bx-wrapper .bx-prev {
    background: none;
    text-indent: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    margin-top: 0;
}

.section-slider-wrapper .bx-wrapper .bx-prev {
    left: 15px;
}

.section-slider-wrapper .bx-wrapper .bx-next {
    right: 15px;
}

.section-slider-wrapper .bx-wrapper .bx-prev i,
.section-slider-wrapper .bx-wrapper .bx-next i {
    font-size: 30px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: relative;
}

.section-slider-wrapper .bx-wrapper .bx-prev i:before,
.section-slider-wrapper .bx-wrapper .bx-next i:before {
    position: absolute;
    left: 50%;
    top: 50%;
}

.section-slider-wrapper .bx-wrapper .bx-next i:before {
    transform: translate(-35%, -45%);
}

.section-slider-wrapper .bx-wrapper .bx-prev i:before {
    transform: translate(-60%, -45%);
}

.section-slider-wrapper .bx-wrapper .bx-controls-direction a:hover,
.section-slider-wrapper .bx-wrapper .bx-controls-direction a:active,
.section-slider-wrapper .bx-wrapper .bx-controls-direction a:focus,
.section-slider-wrapper .bx-wrapper .bx-controls-direction a:visited {
    text-decoration: none !important;
}
.section-slider-wrapper .section__content .bxslider li.slide{
    background-size: cover !important;
}
.section-slider-wrapper .section__content .bxslider li.responsive {
    background-position-y: inherit !important;
}
@media (max-width: 990px) {
    .section-slider-wrapper .section__content .bxslider li.responsive {
        background-size: cover !important;
    }
}

@media (max-width: 480px) {
    .section-slider-wrapper .section__content .bxslider li.responsive {
        background-size: cover !important;
        background-position: bottom !important;
    }
}

/***************************************************************
 * IFRAME
 ***************************************************************/

.section-iframe-wrapper .section__wrapper {
    max-height: 100%;
}

.section-iframe-wrapper .section__wrapper iframe {
    border: none;
    margin: 0;
}

.section-iframe-wrapper .section__wrapper .display-wide iframe {
    width: 100%;
}

.section-iframe-wrapper .section__wrapper .display-4-3 {
    width: 100%;
    padding-top: 75%;
    position: relative;
}

.section-iframe-wrapper .section__wrapper .display-16-9 {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}

.section-iframe-wrapper .section__wrapper .display-4-3 iframe,
.section-iframe-wrapper .section__wrapper .display-16-9 iframe{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

/***************************************************************
 * SHOWCASE
 ***************************************************************/

.section-showcase-wrapper .wpls-logo-showcase {
    padding: 0 30px !important;
}

.section-showcase-wrapper .wpls-logo-showcase .slick-slide {
    height: auto;
}

.section-showcase-wrapper .showcase--grid .container{
    padding:0;
}

/***************************************************************
 * MAP
 ***************************************************************/

.section-map-wrapper .map .address:last-child {
    margin-bottom: 0;
}

.section-map-wrapper .map .address:hover,
.section-map-wrapper .map .address.active {
    cursor: pointer;
}

.section-map-wrapper .map-panel{
    min-height:300px;
}

.section-map-wrapper .acf-map {
    min-height: 300px;
    position: absolute !important;
}

.section-map-wrapper .fullscreen .full .acf-map {
    position: relative !important;
}
@media (max-width: 768px) {
    .section-map-wrapper .map.full {
        height: auto !important;
    }
}

/***************************************************************
 * SOCIAL SHARING POSITIONS
 ***************************************************************/
.juiz-sharing-fixed {
    position: fixed;
    top: 20%;
    left: -2px;
    z-index: 2000;
}

.juiz-sharing-inline{
    padding:0 !important;
}

.juiz-sharing-fixed.juiz_sps_links .juiz_sps_item {
    float: left !important;
    clear: both !important;
    display: inherit !important;
    text-align: center;
}

.juiz-sharing-fixed.juiz_sps_links .juiz_sps_links_list,
.juiz-sharing-fixed.juiz_sps_links .juiz_sps_item,
.juiz-sharing-fixed.juiz_sps_links .juiz_sps_item .juiz_sps_button{
    display:grid !important;
    text-align: center;
}

.juiz-sharing-fixed .juiz_sps_item a {
    text-align:center;
}
.juiz-sharing-fixed .juiz_sps_item a span{
    margin:0 auto;
    width:100%
}

.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_button:hover,
.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_button:focus {
    --link-padding: 4px !important;
}

.juiz-sharing-fixed .juiz_sps_icon {
    margin: 0 !important;
    /*padding: 0.5em 0;*/
}

.juiz-sharing-fixed .juiz_sps_icon:before {
    left: inherit !important;
    text-align: center !important;
}

.juiz-sharing-fixed .juiz_sps_network_name {
    display: none !important;
}

/***************************************************************
 * TIMELINE
 ***************************************************************/

.section-timeline-wrapper .bx-wrapper .bx-controls-direction a {
    top: 50%;
    background: none;
    overflow: hidden;
    width: 20px;
    text-indent: 0;
    height: 46px;
    margin: 0;
    transform: translateY(-50%);
    font-size: 0;
	z-index:2;
}

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

.section-timeline-wrapper .bx-wrapper .bx-controls-direction a:active,
.section-timeline-wrapper .bx-wrapper .bx-controls-direction a:focus,
.section-timeline-wrapper .bx-wrapper .bx-controls-direction a:visited {
    text-decoration: none;
}

.section-timeline-wrapper .bx-wrapper .bx-controls-direction a:after {
    font-size: 33px;
    font-family: FontAwesome;
}

.section-timeline-wrapper .bx-wrapper .bx-controls-direction a.bx-next:after {
    content: "\f054";
}

.section-timeline-wrapper .bx-wrapper .bx-controls-direction a.bx-prev:after {
    content: "\f053";
}

.section-timeline-wrapper .bx-wrapper .bx-viewport {
    border: none;
    box-shadow: none;
    height: 100% !important;
    background: transparent;
    left: 0;
}

.section-timeline-wrapper .bx-wrapper .bx-viewport:before {
    content: '';
    top: 50%;
    height: 2px;
    width: calc(100% - 30px);
    left: 15px;
    background: #353535;
    transform: translateY(-50%);
    display: block;
    position: absolute;
}

.section-timeline-wrapper .bx-wrapper .timeline-slides {
    height: 230px;
}

.timeline-slide{
    height: 100%;
}

.timeline-slide:after{
    content: '';
    display: block;
    background: #f0f0f0;
    width: 9px;
    height: 9px;
    border-radius: 6px;
    border: 2px solid #353535;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.timeline-slide:before{
    content: '';
    display: block;
    background: #353535;
    width: 2px;
    height: 30px;
    position: absolute;
    left: 50%;

}

.timeline-slide:nth-child(even):before {
    bottom: 50%;
    transform: translate(-50%, 35px);
}

.timeline-slide:nth-child(odd):before {
    top: 50%;
    transform: translate(-50%, -35px);
}

.timeline-slide:nth-child(even) .timeline-slide__wrapper {
    bottom: 0;
    position: absolute;
    width: 100%;
    /*height:70px*/
}

.timeline-slide__title {
    display: block;
    font-size: 1em;
    padding: 0;
    margin: 0;
}

.timeline-slide__header {
    font-size: 1.1rem;
    text-align: center;
}

.timeline-slide__date {
    font-size: 12px;
}

.timeline-slide__content {
    position: absolute;
    top: 100%;
    opacity: 0;
}

/***************************************************************
 * SECTION GALERIE
 ***************************************************************/
.section-gallery-container figure{
    padding-top:15px;
}
.section-gallery-container a{
    display:block;
    overflow:hidden;
    position:relative;
}

.section-gallery-container a img{
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transition: all 0.3s;
}

.section-gallery-container a:hover img{
    transition: all 0.3s;
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.section-gallery-container figcaption{
    position:absolute;
    bottom:-50px;
    width:100%;
    color:#fff;
    padding:10px;
    background: rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s;
    font-size:0.8em;
}

.section-gallery-container a:hover figcaption{
    bottom:0;
}

.masonry *{
    line-height: 0;
}

.masonry { /* Masonry container */
    -webkit-column-count: 4;
    -moz-column-count:4;
    column-count: 4;
    -webkit-column-gap: 0em;
    -moz-column-gap: 0em;
    column-gap: 0em;
    margin: 0;
    padding: 0;
    -moz-column-gap: 0;
    -webkit-column-gap: 0;
    margin-bottom:0 !important;
    line-height: 0;
}
.masonry-item {
    display: inline-block;
    background: #fff;
    padding: 0 !important;
    margin: 0 0;
    width: 100%;
    border:1px solid #fff;
    -webkit-transition:1s ease all;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}
.masonry-item img{max-width:100%;}

.masonry-item figcaption{
    line-height:1.5em;
}

@media only screen and (max-width: 320px) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media only screen and (min-width: 321px) and (max-width: 768px){
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}
@media only screen and (min-width: 769px) and (max-width: 1200px){
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
@media only screen and (min-width: 1201px) {
    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

/***************************************************************
 * SECTION PRICE
 ***************************************************************/

.price{
    border: 1px solid #E3E3E3;
}

.price-icon{
    line-height: initial;
}

.price-hover:hover{
    transition: all 0.3s;
    -moz-box-shadow: 0px 0px 20px 0px #c0c0c0;
    -webkit-box-shadow: 0px 0px 20px 0px #c0c0c0;
    -o-box-shadow: 0px 0px 20px 0px #c0c0c0;
    box-shadow: 0px 0px 20px 0px #c0c0c0;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=NaN, Strength=10);
}

/***************************************************************
 * FIX bx controls
 ***************************************************************/

.bx-wrapper .bx-controls-direction a{
    z-index:500;
}

/***************************************************************
 * FIX IFRAME Border
 ***************************************************************/
iframe{
    border:none;
}

/**************************************************************
* ARCHIVES
 ************************************************************/
.article--news .article__thumbnail{
    overflow:hidden;
}

.article--news .article__thumbnail img{
    transition: all 0.3s;
}

.article--news .article__thumbnail.hover :hover img{
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
}

.article--news--calendar .overlay{
    background-color: rgba(255,255,255,0.5);
    padding:0.5em 1em;
}

/**************************************************************
* MASONRY
 ************************************************************/
 .masonry-container {
    columns: 2;
    column-gap: 0px;
 }
 @media only screen and (min-width: 1201px) {
    .masonry-container {
    columns: 4;
 }
}
 .masonry-container .masonry-brick {
      display: inline-block;
      margin-bottom: 16px;
      position: relative;
      background-color:#ededed;
      position: relative;
    }
    .masonry-container .masonry-brick:before{
        content:'';
        position:absolute;
        width:100%;
        height:100%;
        z-index:100;
        background-color: #000;
        opacity:0.4;
        transition: all;
    }
    .masonry-container .masonry-brick:hover:before{
        opacity:0.2;
    }
      .masonry-container img {
        width: 100%;
        border-radius: 5px;
      }

      .masonry-brick__container{
        position:absolute;
        width: 100%;
        height:100%;
        top:0;
        z-index:200;
      }
      .masonry-container .masonry-brick__title h3 {
        font-size: 20px;
        margin: 0px 0px 10px 0px;
        padding: 20px;
        color:#fff;
      }
      .masonry-container .masonry-brick__author {
        font-size: 12px;
        font-weight:300;
        color:#fff;
        margin-left:15px;
      }
      .masonry-container .masonry-brick__author .posted-on{
        font-size: 16px;
        font-weight:bold;
      }
      .masonry-container .masonry-brick__author a{
        color:#fff;
      }
      .masonry-container .masonry-brick__link {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width:100%;
        height:100%;
        z-index:300;
      }
      .masonry-container .masonry-brick__body {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        padding: 30px 6px;
        color: #fff;
        display: flex;
        flex-direction: column
      }
      .masonry-container .masonry-brick__tags {
        background-color:rgba(255,255,255,.8);
        color: #333;
        border-radius:5px;
        padding: 5px 15px;
        margin-bottom: 5px;
        bottom:0;
        left:8px;
        position: absolute;
        z-index:500;
      }
 
  .mt-auto {
    margin-top:auto;
  }
  
  