:root 
{
  --main-color:#3B4C77;
  /* --main-color:#0e61a9; */
}

.h1, h1 
{
  font-size: calc(1rem + 1.3vw);
}

html, body 
{
    height: 100%;
    /* --bs-body-font-family: 'Questrial','Nanum Gothic', sans-serif, Arial; */
    --bs-body-font-family: 'Questrial', sans-serif, Arial;
}


img 
{
  pointer-events: none
}

/* Global */
.center
{
  width: auto;
  margin: 0 auto 0 auto;
}

.col
{
  min-width:320px;
}

.hdem
{
  unicode-bidi: bidi-override; 
  direction: rtl;
  white-space: nowrap;
  /*display: inline; */
}

.nowrap
{
  white-space: nowrap;
}

#page 
{  
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 20px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "head"
    "main"
    "foot";
}

#page > header 
{
  grid-area: head;
}
   
#page > main 
{
  grid-area: main;
}
  
#page > footer 
{
  grid-area: foot;
  background-color: var(--main-color);
}

  /* .content
  {
    width: 90%;
    max-width:1200px;
    margin: 0 auto 0 auto;
  } */

  /* Header */
#header 
{  
  display: flex;
  flex-direction: row;
  padding-top: 20px;
  justify-content:space-between;
}


#header-navi 
{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  /* align-items:flex-end; */
}

 
#logo
{
    width:100%;
    max-height: 80px;
    height:auto;
}

#phone
{
  text-align: right;
  padding-right:0.5rem; 
}


.dropdown-menu[data-bs-popper]
{
  padding:0.5rem;

}

.dropdown-menu 
{    
  display: inherit;
  transform:  scaleY(0); 
  transition: all 0.35s ease-out;
  transform-origin: top;
  left: 0;
  height: 0!important;
  padding:0;
}

.show.dropdown-menu 
{
  display: inherit;
  transform:  scaleY(1); 
  height: 240px!important;
} 

a.dropdown-item
{
  color: var(--main-color);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}


/* body */
#hero
{
    background-color: var(--main-color);
    color:white;
    padding: 30px 0 30px 0;
}

.body
{
  padding-top: 40px;
  padding-bottom: 40px;
} 

.text-spacer
{
  height: 2rem;
}

span.title  
{
  font-size:1.125rem;
  font-weight:700;
  color: var(--main-color);
}

/* Home */
#lighthouse .container
{
  display: flex;
  flex-direction: column;
  text-align: right;
  align-items: flex-end;
  max-width:380px;
}

@media (max-width: 380px) 
{
  #lighthouse .container
  {
    zoom: 75%;
  }
}

#lighthouse .rows
{
  display:inline-flex;
  position:relative;
  align-items: center;
}

/* .scale-down
{
  zoom: 75%;
} */

#lighthouse a
{
  text-decoration: none;
}


/* @media (hover: hover)
{ */
#lighthouse a:not(.android):hover .lighthouse-banner-red,  
#lighthouse a:not(.android):hover .lighthouse-banner-grey
{
  right: 0;
  width: 100%;
} 

#lighthouse a:not(.android):hover .lighthouse-title-red
{
  color: #f0f0f0;
}

#lighthouse a:not(.android):hover .lighthouse-title-grey
{
  color: #d82028;
}
/* } */


#lighthouse a:focus .lighthouse-banner-red,  
#lighthouse a:focus .lighthouse-banner-grey
{
  right: 0;
  width: 100%;
}

#lighthouse a:focus .lighthouse-title-red
{
  color: #f0f0f0;
}

#lighthouse a:focus .lighthouse-title-grey
{
  color: #d82028;
}

.lighthouse-title-red 
{
  color: #bd1c23;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 2px 8px 2px 8px;
  text-align: right;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
}

.lighthouse-title-grey
{
  color: #808080;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 2px 8px 2px 8px;
  text-align: right;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
}

.lighthouse-banner-red
{
  background-color: #d82028;
  width:0;
  height:100%;
  position:absolute;
  top:0;
  right:75px;
  z-index: -1;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
}

.lighthouse-banner-grey
{
  background-color: #d0d0d0;
  width:0;
  height:100%;
  position:absolute;
  top:0;
  right:75px;
  z-index: -1;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
}


  /* Team */
.staff
{
  max-width:  400px;
  min-width:  150px;
  padding: 0 55px 70px 55px;
  /* position: relative; */
}

@media (max-width: 480px) 
{
  .staff
  {
    padding: 0 25px 70px 25px;
  }
}

.staff-spacer
{
  height: 1rem;
}

/* #staff-header
{
  color:#fff;
  background-color: var(--main-color);
  padding: 5px;
  height: auto;
}  */

#staff-footer
{
  font-size: 0.8rem;
}

.service img
{
  max-width:100%;
}

.staff img
{
  width: 100%;
}

.staff-name
{
 font-size: 1.1rem;
 color: var(--main-color);
}

/* Footer */
#footer
{
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
}

#footer .col
{
  min-width:inherit;
}

#footer .company
{
  font-size: 1.125rem;
  white-space: nowrap;
}

#footer .title
{
  color:#fff;
  font-weight: normal;
  font-size: 1.125rem;
  white-space: nowrap;
}

#footer a
{
  color:#bbb;
  text-decoration: none;
}

#footer a:hover
{
  color:#fff;
}

.copyright p
{
  font-size: 0.7rem;
}


@media (min-width: 481px) 
{
  .copyright
  {
    text-align: right!important;
  }
  #footer .phone
  {
    margin-block-end:0px;
  }
  }
@media (max-width: 480px) 
{
  .copyright
  {
    padding-top:20px;
    text-align: center!important;
  }
  .copyright p 
  {
    margin-block-end:0;
  }

  #footer .phone
  {
    margin-block-end:35px;
  }
}

/*Datenschutz*/
#datenschutz .title
{
  font-size: 1.2rem;
  color:var(--main-color);
}

#datenschutz .subtitle
{
  font-size: 1.1rem;
  color:var(--main-color);
}

#datenschutz a
{
  color:var(--main-color);
  opacity: 0.9;
}

#datenschutz a:hover
{
  opacity:1;
}

/* Bootstrap*/
.container-fluid
{
  padding-right: 0;
}

.navbar-light .navbar-nav .nav-link
{
  color:var(--main-color);
}
.navbar-light .navbar-nav .nav-link:hover, .dropdown-item:hover
{
  background-color: #3B4C77;
  color:#fff;
}

/* Right slide in menu*/
.navbar-nav .nav-link
{
  padding-left:0.5rem;
  padding-right:0.5rem;
}
