h2.word-break{
  word-wrap: break-word;
  hyphens: auto;
}

@font-face {
    font-family: "Source Sans 3";
    src: url('../fonts/SourceSans3-VariableFont_wght.ttf') format('truetype');
}

.uk-navbar-nav > li:hover > a::before, .uk-navbar-nav > li > a.uk-open::before, .uk-navbar-nav > li > a:focus::before,
.uk-navbar-nav > li.uk-active > a::before  {
  background-color: #90301b !important;
  background-image: url("");
  height: 2px;
}

.uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a.uk-open, .uk-navbar-nav > li > a:focus {
  color: #90301b;
  outline: 0;
}

.uk-navbar-nav > li.uk-active > a {
  color: #90301b !important;
}

.slider-bg-image{
  height: 200px;
  background-size: cover;
  background-position: center;
}

.uk-navbar-nav > li > a::before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  bottom: 25px;
  height: 10px;
  background-color: transparent;
  transition: unset;
    transition-property: all;
  transition-property: background-color,border-color,box-shadow,height,left,right,opacity;
  left: 25px;
  right: 25px;
  background-color: transparent !important;
  background-size: auto;
}

*, p {
  color: #000;
}

h2{
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 50px;
}

h4{
  font-weight: 600;
  font-size: 30px;
}


/* Startseite */

.tm-header .uk-logo img{
  max-width: 300px;
}

.parent-pageid-27 .uk-active.uk-parent{
  display: block;
}

#ceramico-start-boxen .uk-card div.uk-margin-top{
  display: none !important
}

#ceramico-start-boxen .el-content.uk-button{
  width: 100%;
  margin-bottom: 20px;
}

#ceramico-start-boxen .el-image{
  display: block;
  margin: auto;
}

.uk-section-primary {
  background: rgba(247,166,0,0.3);
}

.ceramico-box.uk-section-primary{
  max-width: 1280px;
  margin: auto;
  padding: 40px;
}

.ceramico-button-overlay .uk-button.uk-button-default{
  background-color: #90301b;
  color: #fff;
  border: 2px solid #90301b;
  padding: 6px 15px;
  width: 219px;
}

.cr-button{
  width: 85% !important;
}

/* HEADER */

.hero > .uk-background-cover {
  height: 335px;
}

body.home .hero > .uk-background-cover {
  height: 450px;
}
/* 
body.home .header-zoom + div {
  padding-top: 55px;
} */

.tm-header + * > .uk-section-xlarge{
  padding: 110px 0;
}

.tm-header{
    padding: 40px 0 20px 0;
}

/* NAVBAR */
.uk-navbar-item.uk-logo {
  max-width: 230px;
}

.uk-navbar-dropdown-nav li:hover::marker {
    content: "– ";
    display: inline-block;
    font-size: inherit;
    color: #c8c8c8;
}


/* HOME - OVERLAYS */
.ceramico-overlay-image .uk-position-bottom-center{
    z-index: 2;
}
.ceramico-overlay-image .ceramico-custom-overlay{
    z-index: 1;
}

.ceramico-overlay-image-headline{
    font-weight: 400;
    margin-top: 15px;
}
.ceramico-overlay-image .el-title{
    display: none;
}

.ceramico-overlay-image .el-content > p:first-of-type{
    text-align: center;
}

.ceramico-overlay-image .el-content > p:first-of-type img{
    max-height: 50px;
}

.ceramico-overlay-image .ceramico-hide-on-overlay{
    opacity: 1;
    transition: opacity 0.2s linear;
}

.ceramico-overlay-image:hover .ceramico-hide-on-overlay{
    opacity: 0;
    transition: opacity 0.2s linear;
}

/* HOME SLIDESHOW */
.ceramico-home-slideshow .el-slidenav{
    background: transparent;
}

.ceramico-home-slideshow .uk-position-cover{
    max-width: 1200px;
    width: 80%;
    margin: 0 auto;
}

.ceramico-home-slideshow .el-slidenav:hover,
.ceramico-home-slideshow .el-slidenav:focus{
    background: transparent;
    color: #fabf3a;
}

/* BEREICHE */
.ceramico-area-row .uk-tile{
    cursor: pointer;
}

/* KONTAKT BANNER */
.ceramico-contact-banner{
    padding: 40px 0
}
.ceramico-contact-banner .uk-button{
    background: rgba(255,255,255, 1);
    color: #000;
}

.ceramico-contact-banner .uk-button:hover{
    background: rgba(255,255,255, 0.9);
    color: #000;
}

.grey-box {
  height: 100%;
  padding: 20px 50px;
  background: rgba(133, 122, 121, 0.1);
}

.margin-bottom{
  margin-bottom: 110px !important;
}

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

/* Ceramico Kurse */
.ceramico-course-filter-wrapper .ceramico-course-container{
    border-top: 2px solid #fabf3a;
    padding: 30px 0;
}

.ceramico-course-container p{
    line-height: 30px;
}

.ceramico-course-container .uk-h3{
    font-weight: 300;
}

.ceramico-course-filter-wrapper{
    margin-top: -40px;
}

.ceramico-filter-nav .uk-button-primary{
    color: #fff;
}

.ceramico-filter-nav .uk-button-primary:hover{
    color: #fff;
}


.ceramico-footer{
  background: #857A79;
}

.ceramico-footer * {
  color: #ffffff !important;
}

.ceramico-footer a,
.ceramico-footer a:hover,
.ceramico-footer a:active,
.ceramico-footer a:focus{
  color: #ffffff;
}

.info-footer a,
.info-footer a:active,
.info-footer a:hover,
.info-footer a:focus{
	color: #857A79 !important;
}

.info-footer li:nth-of-type(-n+2) a::after {
    content: '|';
    font-weight: bold;
    margin: 0 5px;
}


#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
  background-color: #857A79;
  border-top: 1px solid #857A79;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-settings-btn{
  color: #ffffff;
}

@media (min-width: 960px) {
  .uk-section {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .content-abstand.uk-section {
    padding-top: 110px;
    padding-bottom: 30px;
  }

  .info-footer.uk-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

}


@media screen and (max-width: 920px) {
  .ceramico-course-filter-wrapper{
    margin-top: 30px;
  }
}

@media screen and (max-width: 824px) {

    .uk-subnav {
      display: block;
      flex-wrap: wrap;
      align-items: center;
      margin-left: -20px;
      padding: 0;
      list-style: none;
    }

    .uk-subnav > * {
      flex: none;
      padding-left: 20px;
      position: relative;
      margin-bottom: 20px;
    }
}

@media screen and (max-width: 640px) {

    .uk-navbar-item.uk-logo{
        max-width: 250px;
    }

    .uk-heading-2xlarge{
        font-size: 45px;
        line-height: 45px;
    }
    .uk-heading-xlarge{
        font-size: 40px;
        line-height: 45px;
    }

    .ceramico-overlay-image > .el-container{
        min-height: 500px !important;
    }

    .uk-container{
        padding-left: 30px;
        padding-right: 30px;
    }

    .ceramico-footer{
        text-align: center;
    }

    .ceramico-footer .ceramico-social-icons{
        text-align: left;
        display: flex;
        justify-content: center;
    }

    .ceramico-footer .ceramico-logo{
        max-width: 250px;
        margin:auto;
    }

    .ceramico-footer .uk-nav li > a{
        justify-content:center;
    }

    .ceramico-kontakt-grid .uk-grid-stack{
        text-align: center;
    }
    .ceramico-kontakt-grid .uk-width-1-4{
        width: 100%;
    }
}

@media screen and (max-width: 534px) {
  .uk-grid > .el-item{
    width: 100% !important;
  }

  .uk-grid > .el-item a.uk-button{
    width: 100% !important;
  }

  *{
    hyphens: auto;
    word-wrap: break-word;
  }
}



@media screen and (max-width: 460px) {
    .uk-navbar-item.uk-logo{
        max-width: 200px;
    }

    *{
      hyphens: auto;
      word-wrap: break-word;
    }
}



@media screen and (-webkit-min-device-pixel-ratio:0) {
  html{
    font-weight: 400;
  }

  h2{
    font-weight: 600;
  }

  h4{
    font-weight: 550;
  }

  .uk-button {
    font-weight: 550;
  }

  .info-footer li:nth-of-type(-n+2) a::after {
    font-weight: 550;
  }
}


.nf-form-content .list-select-wrap .nf-field-element > div, .nf-form-content input:not([type="button"]), .nf-form-content textarea {
  background: #ffffff !important;
  border: 1px solid #90301b !important;
  border-radius: 0;
  box-shadow: none;
  color: #000000 !important;
  transition: all .5s;
}

.nf-form-content .submit-container input:not([type="button"]){
  background: #90301b !important;
  border: 0px solid #90301b !important;
  border-radius: 0;
  box-shadow: none;
  color: #ffffff !important;
  transition: all .5s;
}

.uk-subnav-pill > * > a {
  background-color: #ffffff;
  border: 1px solid #90301b;
  color: #90301b;
  padding: 15px 30px;
}

.uk-subnav-pill > * > :first-child {
  padding: 5px 10px;
  background: 0 0;
  color: #90301b;
  padding: 15px 30px;
}

.uk-subnav-pill > * > a:hover,
.uk-subnav-pill > * > a:focus,
.uk-subnav-pill > * > a:active{
  background-color: #90301b;
  border: 1px solid #90301b;
  color: #ffffff;
}

.uk-subnav-pill > .uk-active > a {
  background-color: #90301b;
  border: 1px solid #90301b;
  color: #ffffff;
}

.header-zoom{
    overflow: hidden;
}

.header-zoom .uk-background-cover {
  transform: scale(1);
  animation: scaleUp 60s ease infinite alternate;;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}


@media screen AND ( max-width: 767px ) {

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  .ceramico-button-overlay .uk-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 4px 12px;
  }

  .ceramico-button-overlay .uk-panel > * {
    max-width: 100%;
    max-height: 100%;
  }
}