/* TEMPLATES

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

*/

/* back to top link */
#back-top {
  background-color: white;
  color: black;
  border-color: black;
}

@font-face {
  font-family: 'Cookie';
  font-style: normal;
  font-weight: normal;
  src: local(''),
       url('../fonts/cookie-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/cookie-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/cookie-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/cookie-v21-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
}

h1 {
  font-family: "Cookie";
  font-style: italic;
  font-size: 3em;
  margin: 0;
  line-height:0.8em;
  text-align: center;
}

h2 {
  font-family: "Cookie";
  font-style: italic;
  font-size: 2em;
  margin: 0;
  text-align: center;
}

h3 {
  font-family: "Cookie";
  font-style: italic;
  font-size: 1.5em;
  margin: 0;
  text-align: center;
}
  
h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2em;
  margin: 0;
  text-align: center;
}

h5 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  margin: 0;
  text-align: center;
  line-height: 2em;
}

p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  @media only screen and (max-width: 600px) {
    font-size: 1.1em;
  }
}

.no-underline {
  text-decoration: none;
}

/* ################## Tabelleneigenschaften generell ####################*/
.centerTable {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* nth-child(1) = the first td in each tr */
td:nth-child(1) {
  width: 40%;
  text-align: left;
  vertical-align: top;
  line-height: 1em;
  }

/* the second */
td:nth-child(2) {
  width: 60%;
  text-align: left;
  vertical-align: top;
  line-height: 1em;
}


/* ########################################################## */


/* ################# Page Header ##################### */
/* Page Header deaktivieren */
.page-header{
    display:none;
}


/* Header Overlay NONE */
.container-banner .banner-overlay .overlay {
  background: none;
}

/* on the home page, set the background colour of the header to transparent and make it fixed */

.isHome {
  background: url(/images/Remel/backgrounds/bgRemel.jpg) no-repeat center center fixed #fff !important;  
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.isHome .container-header {
  background-color: black; /* transparent */
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.5s;
}

.remellogo {   /* Logo Farbe weiss, hyperlink ohne Unterstrich */
  p {
    color: white;
    font-family: "Cookie";
    font-style: italic;
    font-weight: bold;
    font-size: 50px;
    @media only screen and (max-width: 600px) {
      font-size: 40px;
    }
  }
    
  a:link {
    color: white;
    background-color: transparent;
    text-decoration: none;
  }
  a:visited {
    color: white;
    background-color: transparent;
    text-decoration: none;
  }

  a:hover {
    color: white;
    background-color: transparent;
    text-decoration: none;
  }

  a:active {
    color: white;
    background-color: transparent;
    text-decoration: none;
  }
}

.allPages {
  background: url(/images/Remel/backgrounds/bgRemel.jpg) no-repeat center center fixed #fff !important;  
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.allPages .container-header {
  background-color: black;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.5s;
}

/* set the background colour of the header on regular pages and when the page has scrolled */
.container-header,
.container-header.scrolled {
  background-color: black;
  background-image: unset;
}


/* remove the margin from the module containing the logo */
.mod-custom p {
  margin: 0;
}

/* ########################################################## */

/* Box um Text der Frontseite */
div.bgHome {
  
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  
  padding-top: 50px;
  padding-bottom: 20px;
  padding-right: 90px;
  padding-left: 90px;

  @media only screen and (max-width: 600px) {
    width: 90%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  background-color: rgba(255, 255, 255, 0.7);
}


/* Header zentrieren */
.container-nav {
    justify-content: center !important;
}
