/*----- General Formating -----*/

body, html {
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  color: #3e6884;
}
 
a:active, a:focus {outline: none;}
 
.flex-container-row {
  display: flex;
  flex-direction: row;
}
.flex-item {
  flex-grow: 1;
  flex-shrink: 1;
}
.flex-item:nth-of-type(1) {
  min-width: 300px;
  flex-basis: 300px;
}
.flex-item:nth-of-type(2) {
    flex-basis: 1220px;
}

figure.left {
  margin-left: 0px;
}
figure img {
  max-height: 720px;
  max-width: 539px;
  width: 100%;
}
/*------------------------------*/
 
 
/*----- Logo -----*/
.brand {
  float: left;
  padding: 0.5em 1em 0 1.5em;
}
/*----------------*/
div.langbox {
  position: absolute;
  right: 20px;
  top: 30px;
  display: inline-flex;
}
div.langbox>div.langlabel {
  margin-top: auto;
  margin-right: 1rem;  
}
div.langbox>div>select.langselection {
  min-width: 8rem;
  font-size: 1.1rem;   
}
 
/*---- Menu ------*/
nav {
  margin: 0 auto;
  padding: 41px 0px 5px;
  width: 100%;
  height: 140px;
  text-align: right;
  position: relative;
  background: rgba(248, 248, 248, 1.0);
  border-bottom: 1px solid #cd8f78;
  z-index: 5000;
}

nav a.navbar-brand {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-style: italic;
  font-size: 3em;
  color: #3e6884;
  line-height: 20px;
  text-decoration: none;
}
nav a.navbar-brand span {
  color: #cd8f78;
}

nav ul {
  margin: 0;
  padding: 100px 0 0 0;
}

nav ul li {
  list-style: none;
  margin: 0;
  display: inline;
}

nav ul li a {
  position: relative;
  padding: 0 0 0.5em 0;
  display: inline-block;
  color: #cd8f78;
  text-decoration: none;
  text-transform: uppercase;
}

nav ul.menu li a:hover {
  color: #03405f;
  border-bottom: 2px solid #03405f;
}
/*----------------*/
nav#menu.smallheader>div.langbox {
  display: none;
}

/*----- smallheader Menu -----*/
nav#menu.smallheader {
  position: fixed;
  top: 0;
  padding: 0;
  height: 120px;
}
nav#menu.smallheader ul {
  padding: 64px 0 0 0;
}			
nav#menu.smallheader .brand {
  margin-top: 22px;
}			
nav#menu.smallheader .brand img {
  margin-top: 0em;
  height: 5em;
}		
nav#menu.smallheader a {
  padding: 1em 0;
}	
/*--------------------------------------*/
.tooltip {
  position: relative;
    /*display: inline-block;*/
  width: 100%;
  background-image: url("/img/InfoIcon.png");
  background-repeat: no-repeat;
  background-position: calc(80% + 50px) 0; /*calc(100% - 0.4em);*/
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 40%;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 15px;
  padding: 1em;
  position: absolute;
  z-index: 1;
  top: -2em; /*bottom: 3em;*/
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
.tooltip div.legend {
    width: 80%;
    margin: 0;
    display: flex;
    align-items: end;
}
/*--------------------------------------*/
div.abschnittsanker {
  position:relative;
  top:-150px;
}
/*--------------------------------------*/
div.alert {
    color: red;
}
div.messageok {
    color: green;
}
dialog {
  border: 3px solid #3e6884;
  border-radius: 15px;
  color: #3e6884;
}
dialog button.closedlg {
  font-size: 1.0em;
  background: rgba(205, 143, 120, 1.0);
  color: rgba(248, 248, 248, 1.0);
  margin: 5px 0;
  padding: 1rem 1rem;
  border-style: solid;
  border-width: 1px;
  border-color: #6f3c29;
  border-radius: 15px;
  width: 100%;
}
form.formuser {
  margin-top: 0.8rem;
  border-top: solid 1px black; 
  border-bottom: solid 1px black; 
  padding: 0.8rem 0px;  
}
div.underformular {
  margin-top: 1rem;   
}
/*----- Content Sections -----*/
.abschnitte {
  font-size: 1.1rem;
}
.abschnitte ul {
    margin-top: 0.1em;
    padding-left: 1em;
}
.welcomeabschnitt {
  font-size: 1.75rem;
}
.userview {
  font-size: 1.1rem;
}
div.input-group {
    margin-bottom: 1.0em;
}
div.input-group span.email-in-formular {
    font-size: 0.9em;
}
div.comming-group {
}
div.cancel-group {
    color: #7ca2bb;
}
.userinput {
    font-size: 1.0em;
}
input.reginput {
    width:15em;
}
input.reg-number:in-range {
    /*background-color: rgb(0 255 0 / 0.25);*/
}
input.reg-number:out-of-range {
    background-color: rgb(255 0 0 / 0.25);
    border: medium solid red;
}

#Cancellation {
    accent-color: rgba(205, 143, 120, 1.0);
}
#Celebration {
    accent-color: rgba(205, 143, 120, 1.0);
}
#Ceremony {
    accent-color: rgba(205, 143, 120, 1.0);
}
.registerinput {
    color: rgba(205, 143, 120, 1.0);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(205, 143, 120, 1.0);
    margin-bottom: 0.4em;
    font-family: inherit;
}
.reg-number {
  width: 3em;
}
.reg-text {
  width: 80%;
}
input.readonly {
    color: #3e6884;
    border-style: solid;
    border-width: 1px;
    border-color: #a3c0d3;
}
button.userbutton {
    font-size: 1.0em;
    background: rgba(205, 143, 120, 1.0);
    color: rgba(248, 248, 248, 1.0);
    margin: 5px 0;
    padding: 1rem 1rem;
    border-style: solid;
    border-width: 1px;
    border-color: #6f3c29;
    border-radius: 15px;
}
form#picupload {
    font-size: 0.8em;
    border: 1px solid #3e6884;
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
form#picupload label {
    grid-column: 1;
    margin-top: auto;
    margin-bottom: auto;
}
form#picupload button {
    grid-column: 1;
    margin-top: 2em;
}    
input[type=file] {
    margin: 10px;
    padding:5px 15px; 
    font-size: 1.0em;
    line-height: 2em;
    background: rgba(205, 143, 120, 1.0);
    color: rgba(248, 248, 248, 1.0);
    border-style: solid;
    border-width: 1px;
    border-color: #6f3c29;
    border-radius: 15px;
}
.ThumbsOfUploadedPics img {
    margin-right: 5px;
}

#abschnitt0, #abschnitt1, #abschnitt2, #abschnitt3, #abschnitt4, #abschnitt5 {
  min-height: 100%;
  width: 100%;
}
#abschnitt0 {
  color: #3e6884;
  background: rgba(205, 143, 120, 0.0);
}
#main.smallheader #abschnitt0 {
  margin-top: 150px;
}
#abschnitt1 {
  color: #3e6884;
  background: rgba(205, 143, 120, 0.1);
}
#abschnitt2 {
  color: #3e6884;
  background: rgba(205, 143, 120, 0.2);
}
#abschnitt3 {	
  color: #3e6884;
  background: rgba(205, 143, 120, 0.3);
}
#abschnitt4 {
  color: #3e6884;
  background: rgba(205, 143, 120, 0.4);
}	
#abschnitt5 {
  color: #3e6884;
  background: rgba(205, 143, 120, 0.5);
}
#abschnitt1 a:link, a:visited, a:hover, a:active {
  color: #6f3c29;
}
#abschnitt4 a {
  color: #6f3c29;
}
#abschnitt0 .content,
#abschnitt1 .content,
#abschnitt2 .content,
#abschnitt3 .content,
#abschnitt4 .content,
#abschnitt5 .content {
  padding: 1.5em 1.5em 3em 1.5em;
  border-bottom: 1px solid #cd8f78;
  line-height: 1.5;
}
/*--------------------------------------*/
div.greeting {
  margin-top: 4vh;
}
/*--------------------------------------*/
.content h2 {
  color: #cd8f78;
}
.content a:link, a:visited {
  color: #6f3c29;
}

footer {
  font-size: 1.2em;
  color: #fff;
  background: rgba(205, 143, 120, 1.0);
}	
footer .content {
  padding: 1.0em 1.5em 1.2em 1.5em;
}
footer a {
  text-decoration: none;
  color: rgba(248, 248, 248, 1.0);
}
/*--------------------------------------*/
/*------- spezifisches Styling ---------*/
table.schedule {
  font-size: 1.1rem;
  border-collapse: collapse;
  width: 99%;
}
table.schedule tr {
  color: #3e6884;
  background: #f6efed;
  border: none;
  border-top: #cd8f78 1px solid;
  border-bottom: #cd8f78 1px solid;
}
table.schedule td {
  text-align: left;
  vertical-align: top;
  padding: 1rem 1rem 1rem;
}
table.schedule td.borderbottomhell {
  border-bottom: #ebd1c7 1px solid;
}
table.schedule td ul {
    margin-top: 0.1em;
    padding-left: 1em;
}
table.schedule td:nth-child(3) {
  width: 25%;
}
p.eventdescription {
    margin-top: 0;
    margin-bottom: 0.2em;    
}
p.eventdescriptioninfo {
    margin-top: 0;
    font-size: 0.85em;
}
/*--------------------------------------*/
table.hotel {
  font-size: 1.1rem;
  border-collapse: collapse;
  width: 100%;
}
table.hotel tr {
  color: #3e6884;
  background: #f6efed;
  border: none;
  border-top: #cd8f78 1px solid;
  border-bottom: #cd8f78 1px solid;
}
table.hotel td {
  text-align: left;
  vertical-align: top;
  padding: 1rem 1rem 1rem;
}
table.hotel td:nth-child(1) {
  font-size: 1.1rem;
}
table.hotel td div.homepagelink {
  margin-top: 0.2em;
  font-size: 0.9em;
  line-height: 0.9em;
}
table.hotel td:nth-child(1) div.homepagelink a:link, a:visited {
  text-decoration: none;
  font-size: 0.9rem;
  color: #6f3c29; 
}
table.hotel td:nth-child(1) div.homepagelink a:hover, a:active {
  color: white;
}
table.hotel td:nth-child(1) a:link, a:visited {
  text-decoration: none;
  font-size: 0.9rem;
  color: #6f3c29; 
}
table.hotel td:nth-child(1) a:hover, a:active {
  color: white;
}
table.hotel td:nth-child(2) {
  width: 25%;
}
div.navilink>a:link, 
div.navilink>a:visited {
/*table.hotel td:nth-child(2)>a:link,
table.hotel td:nth-child(2)>a:visited {*/
  background: rgba(205, 143, 120, 1.0);
  color: rgba(248, 248, 248, 1.0);
  margin: 5px 0;
  padding: 1rem 1rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-style: solid;
  border-width: 1px;
  border-color: #6f3c29;
  border-radius: 15px;
  font-size: 0.9rem;
}
div.navilink>a:hover, 
div.navilink>a:active {
/*table.hotel td:nth-child(2)>a:hover,
table.hotel td:nth-child(2)>a:active {*/
  border-color: rgba(248, 248, 248, 1.0);
  color: #6f3c29;
}
div.messagecenter {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/*--------------------------------------*/
/*---------- Media Queries -------------*/
@media screen and (max-width: 1950px) {
  div.abschnitte {
    font-size: 1.1rem;
  }
  div.welcomeabschnitt {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 1610px) {
  div.welcomeabschnitt {
    font-size: 1.2rem;
  }
  nav#menu.smallheader .brand {
    margin-top: 16px;
  }
}
@media screen and (max-width: 1450px) {
  div.welcomeabschnitt {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 1300px) {
  div.welcomeabschnitt {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 1100px) {
  div.abschnitte {
    font-size: 1.0rem;
  }
  div.welcomeabschnitt {
    font-size: 1.0rem;
  }
  .reg-text {
    width: 90%;
  }  
  .tooltip div.legend {
    height: 52px;
  }
}

/*--------------------------------------*/
/* war erst 961px ist entsprechend den Texten (hier Menü) anzupassen */
@media screen and (min-width: 1001px) {
  nav a#nav-m,
  nav a.close {
    display: none;
  }
  nav #menu.smallheader ul {
    margin-top: 2.25em;
  }	
  nav ul li {
    margin: 0 30px 0 0;
  }
  div.abschnitte>.smallheader {
    position:relative;
    top:-100px !important;
  }
}
 
/*--------------------------------------*/
/* war erst 960px ist entsprechend den Texten (hier Menü) anzupassen */
@media screen and (max-width: 1000px) {
  /*Formatierung Mobiles Menue*/
  div.langbox {
    right: 120px;
    top: 20px;
  }
  nav ul {
    top: 70px;
    position: absolute;
    background: #ccc;
    width: 100%;
    left: -100%;
 
    list-style-type:none;
    margin: 0;
    padding: 0;
 
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
  }
  nav#menu.smallheader .brand {
    margin-top: 2px;
  }			
  nav#menu.smallheader ul {
    top: 51px;
  }
  nav ul li{
    display: block;
    text-align: left;
    padding: 0em 0.5em;
    border-bottom: 1px solid #fff;
    font-size: 0.8em;
  }
  nav ul li a {
    color: #555;
    padding: 1em 0;
  }
  nav ul.menu li a:hover {
    border-bottom: 0;
  }
 
  /*Hamburger-Icon*/
  nav a#nav-m img,
  nav a.close img {
    width: 40px;
    height: auto;
    margin-right: 2em;
  }
  nav > .close,
  nav a#nav-m:target {
    display: none;
  }
  nav a:target ~ ul,
  nav a:target ~ .close {
    display: inline-block;
  }
  nav nav#menu.smallheader a:target ~ .close {	
    margin-top: -14px;
  }
  nav a:target ~ .close {
    /*position: absolute;*/
    margin-left: -40px;
  }
  nav a:target ~ ul {
    left: 0;
  }
  .brand {
    padding: 12px 0px 0px 12px;
    font-size: 1rem;
  }
  nav {
    padding-top: 14px;
    height: 50px;
  }
  nav#menu.smallheader {
    height: 50px;
  }
  #abschnitt0 .content,
  #abschnitt1 .content,
  #abschnitt2 .content,
  #abschnitt3 .content,
  #abschnitt4 .content,
  #abschnitt5 .content {
    padding: 10px 1.0px 10px 10px;
  }
  div.abschnittsanker {
    top:30px;
  }
  div.abschnitte>.smallheader {
    position:relative;
    top:-50px !important;
  }
  .flex-container-row {
    max-height:none;
  }
  figure img {
    /*+++width: auto;+++*/
  }
  .flex-item:nth-of-type(2) {
    min-width: auto;
  }
  div.greeting {
    margin-top: 0;
    margin-right: 5px;
    max-width: none;
  }
  table.schedule td ul {
      font-size: 0.8em;
  }
}
/*--------------------------------------*/
@media screen and (max-width: 850px) {
  form#picupload {
    grid-template-columns: unset;
  }
}
/*--------------------------------------*/
@media screen and (max-width: 720px) {
  div.langbox {
    right: 40px;
    top: 70px;
  }    
  .reg-text {
    width: 98%;
  }  
  div.input-group legend {
      width: 85%;
  }
  .tooltip {
    background-position: calc(85% + 45px) 2px;
  }
}

/*--------------------------------------*/
@media screen and (max-width: 600px) {
  div.langbox {
    right: 20px;
  }    
  .brand {
    font-size: 0.9rem;
  }
  nav a.navbar-brand {
    font-size: 2.0em;
  }
  nav a#nav-m img, nav a.close img {
    margin-right: 1em;
  }
  div.abschnittsanker {
    top:30px;
  }
  .flex-container-row {
    flex-direction: column;
  }
  .flex-item:nth-of-type(2) {
    flex-basis: unset;
  }
  figure {
    margin-block-start: 10px;
    margin-block-end: 10px;
  }
  .content h2 {
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 0;
    margin-block-end: 0;
  }
  table.schedule {
    font-size: 0.8rem;
  }
  table.schedule td {
    padding: 10px 10px 10px;
  }
  table.hotel td {
    padding: 10px 10px 10px;
  }
  div.navilink>a:link, div.navilink>a:visited {
    padding: 10px 10px;  
  }
}
/*--------------------------------------*/




