.owebo-body {
  min-width: 980px;
}

/* @media all and (width: 980px) {
  .owebo-body .layout-container {
    overflow-x: hidden;
  }
} */

@keyframes showLazyImg { from { opacity: 0; } to { opacity: 1; } }

img[data-loaded="true"], [data-loaded="true"] img { 
  animation-name: showLazyImg; animation-duration: 0.4s; animation-fill-mode: both; 
}

@media all and (min-width: 980px) {
  .owebo-body {
    overflow-x: hidden;
  }
}
@media all and (min-width: 768px) {
  .owebo-body > .dialog-off-canvas-main-canvas {
    overflow-x: hidden;
  }
}

ow-container {
  position: relative;
}

ow-section,
.ow-section {
  display: block;
  height: 100%;
  position: relative;
}

.region {
  position: relative;
  width: 100%;
}
.region.header {
  z-index: 10000;
}
.block {
  position: absolute;
  left: 50%;
  box-sizing: border-box;
  border-top-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-right-width: 0px;
  border-color: rgba(0,0,0,0);
  z-index: 100;
}
ow-app .block {
  overflow: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span, p span {
  display: inline;
}

iframe {
  border: none;
}

.text .underline {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 980px) {
  .region {
    margin: -1px 0;
  }
}
@media (max-width: 979px) {
  .owebo-body {
    min-width: inherit;
  }

  .region:not(.mobile-manual-mode) {
    height: auto !important;
    padding: 20px;
  }

  .region:not(.mobile-manual-mode) .block {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-left: auto !important;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .region:not(.mobile-manual-mode) .block:last-child {
    margin-bottom: 0;
  }
  .region:not(.mobile-manual-mode) .block:not(.button):not(.shape):not(.video):not(.image):not(.socialframe):not(.webpage) {
    width: auto !important;
  }
  .region:not(.mobile-manual-mode) .block:not(.button):not(.shape):not(.video):not(.image):not(.map):not(.socialframe):not(.webpage):not(.carousel) {
    height: auto !important;
  }

  .region:not(.mobile-manual-mode) .owebo-body .text a {
    display: inline;
  }

  .region:not(.mobile-manual-mode) .text>* {
    width: 100%;
  }
  .region .text>* {
    word-break: break-word;
  }
  .region .text a {
    display: inline !important;
  }
  .main-container .region:not(.mobile-manual-mode) .text a {
    white-space: unset;
  }
  .region:not(.mobile-manual-mode) .button,
  .region:not(.mobile-manual-mode) .map,
  .region:not(.mobile-manual-mode) .socialframe,
  .region:not(.mobile-manual-mode) .webpage {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
  }
  .region:not(.mobile-manual-mode) .button a {
    display: flex !important;
    white-space: normal !important;
  }
  .region:not(.mobile-manual-mode) .image,
  .region:not(.mobile-manual-mode) .shape {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .region:not(.mobile-manual-mode) .block form {
    width: 100%;
  }
  .region:not(.mobile-manual-mode) .carousel {
    max-height: 300px !important;
  }
  .region.mobile-manual-mode .contact-form>form {
    width: 100%;
  }

  /* Mobile gallery */
  .nGY2 .nGY2Gallery {
    margin: 0;
    width: 100%;
  }
}
@media (max-width: 979px) {
  .main-container .carousel-indicators li { width: 10px; }
  .main-container .carousel-indicators li.active { width: 12px; }
}
