
/* ### undo #################################################################### */

:link,:visited { text-decoration:none; }
ul,ol { list-style:none }
h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; font-weight:normal; }
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input, dl, dt, dd { margin:0; padding:0 }
img, a img,:link img,:visited img, fieldset { border:none }
img { margin:0; padding:0; vertical-align:bottom; }
address { font-style:normal }

table {	border:none; padding:0px; margin:0px; border-spacing:0px; font-size:1em;}
tr { border:none; padding:0px; margin:0px; }
td { border:none; padding:0px; margin:0px; vertical-align:top; border-spacing:0px; }


legend { display:none; }

div, p, li, a {background-repeat:no-repeat; }

/* ### reset some basic style ################################################### */

dl			{margin: 0 0 0 0;}
dl dt		{margin: 0 0 0 0;}
dl dd+dt	{margin-top: 0;}
dl dd		{margin: 0 0 0 0;}

ol			{list-style: none;}
ol li		{margin: 0 0 0 0;}
ol li ol	{margin: 0 0 0 0;}
ol li ul	{margin: 0 0 0 0;}

p			{margin-bottom: 0em;}

ul			{list-style: none;}
ul li		{margin: 0 0 0 0;}
ul li ul	{margin: 0 0 0 0; list-style: none;}
ul li ol	{margin: 0 0 0 0;}

pre			{font-size:1.2em; }

a {
    color: #fff;
}

a:hover {
    text-decoration:none;
    background-color: #faba00;
    color: #fff;
}

blockquote {font-style: italic;}

html {
    background-color: #023753;
} 

body {
    /* background: #eaebe7; */
    
    color: #fff;
    font-family: Ruda, Arial, clean, sans-serif;
    }

.warning {
    background: #9c1e3a;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.gelb {
    color: #faba00;
}

.pright {
    float: right;
    margin: 0 2vw 3vw 2vw;
}

.pcenter {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
}

.pright_b {
    float: right;
    width: 40%;
    margin-right: 19px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.pleft {
    float: left;
}



.flex {
    display: -webkit-flex;
    display: -webkit-flex-box;
    -webkit-align-items: stretch;
    -webkit-flex-wrap: wrap;
     -webkit-flex-direction: row;
     -webkit-flex-flow: row wrap;
    -webkit-justify-content: space-around;

    display: -moz-flex;
    -moz-flex-flow: row wrap;


    display: -ms-flexbox;
    -ms-flex-align: strech;
    -ms-flex-direction: row;
    -ms-flex-flow: wrap;
    -ms-flex-wrap: row-wrap;
    -ms-flex-pack: justify;
    -ms-flex-pack: distribute;


    display: flex;
    align-items:stretch;
    flex-wrap: wrap;
    justify-content:space-around;



    margin: 0 auto;
}

h1 {
    font-size: 24px;
    /* color: #023753; */
    font-weight: bold;
    margin-bottom: 15px;
}

h2 {
}

#meta {
    position: absolute;
    right: 0;
    display: block;
    top: -20px;
}

#meta ul li {
    display: inline;
    flex-direction: column;
    position: relative;
    margin-left: -1px;
    
    border: solid #fff;
    border-width: 0 1px 0 1px;
    color: #fff;
}

#meta ul li a {
    color: #fff;  
    padding: 0 8px;
}


#container {
    position: relative;
    max-width: 95%;
    margin: 0 auto 100px auto;
    text-align: center;
    /* background-color: #fff; */
    }

.headpic {
    margin-top: 12%;
}



#header a{
    width: 35%;
}

#header nav a {
    width: auto;
    color: #023753;
}

#header nav a:hover {
    background-color: #faba00;
    color: white;
}

#header li.rex-article-6 {
    border: dotted 1px #9c1e3a;
    /* width: 19%; */
}

#header li.rex-article-1 a,
#header li.rex-article-17 a,
#header li.rex-article-7 a {
    /* padding: 0.96em calc(25px + 15%) 0.96em 0.46em; */
    
    
    
}

#header li.rex-article-17 li a,
#header li.rex-article-1 li a,
#header li.rex-article-7 li a {
    padding: 5px;
}


#header img.logo {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 35%;
    max-width: 350px;
}


#navi {
    display: block;
}

nav {
    display: block;
    position: static;
     height: 50px;
/*    z-index: 100;
    vertical-align: baseline;
    font: inherit; */
}

nav ul ul li{
    z-index: 100;
}
::selection {
  color: #fff;
  background: #faba00; 
  }



article h1 {
    text-transform: uppercase;
    text-align: center;
    margin: 40px 0;
}

article h2 {
    font-size: 18px;
    /* color: #9C1E3A; */
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 20px;
}


article h3 {
  color: #fff
  font-size: 16px;
  line-height: 1.4em;
  margin: 15px 0 0px 0;
  font-weight: bolder;
 /*  text-transform: uppercase; */
  letter-spacing: 0.1em;    
}

article p {
    margin-top: 15px;
}


article table {
    margin: 10px auto 25px auto;
}


article ul li {
  margin: 0 0 5px 20px;
  list-style-type: none;
  line-height: 1.2em;
  text-indent: -14px;
  }

article ul li:before,
#footerinner ul li:before {
    /* content: "\2022"; */
    content: "\25fc";
    color: #faba00;
    font-size: 8px;
    position:relative;
    left: -3px;
    bottom: 4px;
    padding-right:8px;
}

article form span label {
    display: inline-block;
    width: 105px;
}



article form span textarea {
    width: 178px;
}

article form span button {
    color: #fff;
    background-color: #023753;
    font-family: Ruda, Arial, clean, sans-serif;
    border: none;
    padding: 5px;
    width: 204px;
}


footer {
    position: fixed;
    border: dotted 1px #fff;
    border-width: 1px 0 0 0;
    text-align: center;
    
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #023753;
}

footer span {
    display: inline-block;
    padding: 10px;
}

footer ul li a {
    display: block;
    padding: 10px;    
}



#pikto {
    flex: 0 2 29%;
    
    display: block;
    position: relative;
    max-width: 280px;
    min-width: 200px;
    margin: 0px 2% 40px 2%;
    padding-bottom: 10px;
    border-bottom: dotted 1px #aaa;
}


#pikto:hover img {
   filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
}

#piktopic img {
    display: block;
    /* position: relative; */
    width: 100%;

   /*  filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -ms-filter: grayscale(0%); */
}

#piktotext {
    display: block;
    /* height: 50%; */
    min-height: 30px;
    padding: 10px 0 0px 0;
   /*  text-align: center; */
    font-size: 0.9em;
    color: #faba00;
    background: #fff;
}

#pikto:hover a {
    color: #faba00;
}

#piktolayer {
    display: block;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
   /*  filter:alpha(opacitiy=30) */
    -webkit-transition: -webkit-opacity 1s;  
    
    opacity: 0.0;
    transition: opacity 1s; 
    -webkit-opacity: 0.0;     
}


#pikto a:hover #piktolayer, 
#anwaltimg a:hover #piktolayer,
div.anwalt a:hover #piktolayer{
     -webkit-opacity: 0.4;
    opacity: 0.40;
}


#header {
    text-align: center;
    z-index: 100;
    margin-top: 50px;
}

#header img {
    width: 100%;
}

#content {
    margin: 7% auto;
    overflow: hidden; 
    
    }
  

 
article ul {
    display: block;
    text-align: left;
    margin: 1em;
    list-style-type: circle; 
    margin: 0 0 25px 2%;
    width: 400px;
}
    }
article li {
    font-size: 1em;
    margin-bottom: .4em;
    margin-left: .75em;
    font-weight: 300; 
    }

.xform {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.xform p {
    line-height: 40px;
}

.xform label {
    display: inline-block;
    width: 170px;
}

.txt-img {
    width: 80%;
    text-align: left;
    margin: 0 auto;
}


/******************* rex_yform  ********************/

#rex-yform label {
    display: block;
}

#rex-yform button, #rex-yform input, #rex-yform textarea {
    width: 50%;
    /* height: 25px; */
    border: #faba00 1px solid;
    color: #023753;
    font-size: 16px;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    transition: all 0.5s;
}

#rex-yform input[type="checkbox"] {
    display: block;
    margin: 0 auto;
}

#rex-yform .formcheckbox label {
    display: block;
    font-size: 14px;
    line-height: 18px;
    width: 50%;
    margin: 0 auto;
}

#rex-yform img {
    display: block;
    margin: 0 auto 15px auto;
}


/************** ENDE rex_yform **************************/


.download {
    width: 50%;
    /* height: 100px; */
    margin: 0 0 20px 0;
    text-align: center;
    border: solid 1px #9c1e3a;
}

img.download {
    border: solid 1px #aaa;
}




.download-file {
    margin-bottom: 20px;
}

.download p {
    color: #555;
}

.download-hdl p{
    background-color: #9c1e3a;
    color: #fff;
}



#map {
    width: 95%;
    height: 50vh;
}

.scrollup {
    width: 40px;
    width: 0;
    height: 40px;
    height: 0;
    
    border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid #faba00;
    
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: none;
    text-indent: -9999px;
    /* background: url('../files/icon_top.gif') no-repeat;
    background-color: #000; */
    
    z-index: 999;
}

a.scrollup:hover {
    background: rgba(255,255,255,1);
}

/**************Kalender*******************/

#inserttermin {
margin-top: 60px;
    width: 100%;
    text-align: center;
}


#inserttermin span {
    display: block;
    margin-bottom: 10px;
}

#inserttermin form span input{
    width: 182px;
}

article form span button {
    color: #023753;
    background-color: #fff;
    font-family: Ruda, Arial, clean, sans-serif;
    border: none;
    padding: 5px;
    width: 183px;
}

article form span button:hover {
    background-color: #faba00;
}

#calender {
    text-align: left;
}

#calender table {
    /* width: 90%; */
    margin: 25px auto 20px auto;
    border-collapse: collapse;
    background: #fff;
    color: #023753;
}

#calender tr {
    /* border: dotted #023753;
    border-width: 0 0 1px 0; */
}

#calender th {
    border: 1px dotted #fff;
    font-weight: bold;
    
    /* color: #9c1e3a; */
}

#calender th p {
    font-weight: bold;
    /* color: #9c1e3a; */
}

#calender table p {
    line-height: 1em;
    margin: 3px 0;
}

#calender td.wochentag {
    
}

#calender td.ankunft,
#calender td.abfahrt  {
    width: 88px;
}

#calender td.bis {
    width: 36px;
    text-align: center;
    font-size: 12px;
}

#calender td.user {
    width: 100px;
    text-align: center;
}

#calender td.kommentar {
    width: 100px;
    text-align: left;
}

#calender td.monat {
    padding: 2px 0 2px 15px;
    /* background: #9c1e3a; */
    color: #fff;
    font-size: 12px;
    border: none;
    background-color: rgba(2, 55, 83, 0.5);
}

td.buchungsdatum {
    font-size: 12px;
    text-align: center;
}

a.download {
    display: block;
    width: 50px;
    margin: 50px auto 50px auto;
    border: none;
}

a.download:hover {
    background-color: transparent;
}

div.galeriepics a {
    position: relative;
    margin: 10px;
}

.galeriepics a img {
    transition: all 0.5s
}

.galeriepics a:hover img {
    opacity: 0.7;
}

.number {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(2, 55, 83, 0.5);
    width: auto;
    font-size: 9px;
}

.vorschau {
    display: block;
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s;
    
}

.vorschau:hover {
    filter: brightness(1.5);
    
}

video {
    background: #faba00;
}



@media all and (max-width: 800px) {

     #content {
        margin: 0 3%;
    }

    #preheader{
        display: none;
    }
    
    #links {
        width: 95%
    }
    
    img.pright {
        width: 20vw;
    }
    
    .pright_b {
        width: 30vw;
        margin: 0 3vw 15px 3vw;
    }
    
 
#map {
    width: 95%;
    height: 50vh;
}

 #header li.rex-article-6 {
  border: none;
  width: 100%;
  }
  
  #header li.rex-article-1 a,
#header li.rex-article-17 a,
#header li.rex-article-7 a {
    padding: 0.96em;
} 

.scrollup {
    /* width: 40px;
    height: 40px;
    position: fixed; */
    bottom: 0px;
    right: 0px;
    /* display: none;
    text-indent: -9999px;
    background: url('../files/icon_top.gif') no-repeat;
    background-color: #000; */
}


#rex-yform input,
#rex-yform button,
#rex-yform textarea {
    width: 95%;
}


}

@media all and (max-width: 500px) {
    
    h2 {
        margin-top: 20px;
    }
    
    #preheader{
        display: none;
    }

    #links {
        width: 95%
    }

    img.pright {
        width: 20vw;
    }

    #content{
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        
        -ms-flex-direction: row;
        -ms-flex-pack: center;
        -ms-flex-wrap: wrap;
        
        -webkit-flex-flow: column;
        flex-flow: column;
        -webkit-justify-content: center;
        justify-content: center;
    }
    
    #rechts {
        width: 95%;
    }
    
    div.anwalt {
        width: 95%;
    }
    
    #footerinner {
        text-align: center;
    }

    #rex-yform input {
        width: 95%;
    }
    
  

}


