/* CSS Stylesheet für die Gästebuchseite */
/* von groß nach klein aufgebaut */

#content h6{
    font-weight: normal;
}

.linkhinweis {
	color: white;
}

#hinweis {
	font-style: italic;
	font-size: 100%;
}

#haftung {
	font-size: 100%;
	line-height: 30px;
	font-style: italic;
	text-decoration: underline;
}       

.tabelle { 
    width: 98%;
    margin-left: 5px;
    display: -ms-grid;
    display: grid;    
    -ms-grid-columns: 25% 16% 59%;
    grid-template-columns: 25% 16% 59%;
    -ms-grid-rows: 50px minmax(50px, max-content) 1fr;
    grid-template-rows: 50px minmax(50px, max-content) auto;
    border: rgb(214,198,147) ridge medium; 
}

.partner_bild {      
    -ms-grid-column: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 4;
    grid-row: 1 / 4;
    -ms-grid-row-align: center;               /* Workaround für IE vertikales zentrieren, da align-self ignoriert wird */
    align-self: center;
    -ms-grid-column-align: center;            /* Workaround für IE horizontales zentrieren, da justify-self ignoriert wird */
    justify-self: center; 
}

.partner_bild_quer {
    width: 280px;
    padding: 15px;
}

.partner_bild_hoch {   
    width: 220px;
    padding: 15px;
}

.header {      
    padding-left: 15px;
    font-size: 140%;
    font-style: italic;
    font-weight: bold;
}

.inhalt {           
    padding-left: 15px;
    font-size: 120%;
    color: rgb(255,255,205);
}

.name {        
    display: flex;
    align-items: center; 
    border: rgba(214,198,147, .50) ridge medium; 
    border-width: 0 3px 3px 3px;
    -ms-grid-column: 2;
    grid-column: 2 / 3;
    -ms-grid-row: 1;
    grid-row: 1 / 2;
}

.name_inhalt {       
    display: flex;
    align-items: center;
    border: rgba(214,198,147, .50) ridge medium; 
    border-width: 0 0 3px 0;
    -ms-grid-column: 3;
    grid-column: 3 / 4;
    -ms-grid-row: 1;
    grid-row: 1 / 2;
}

.seite {       
    display: flex;
    align-items: center; 
    border: rgba(214,198,147, .50) ridge medium; 
    border-width: 0 3px 3px 3px;
    -ms-grid-column: 2;
    grid-column: 2 / 3;
    -ms-grid-row: 2;
    grid-row: 2 / 3;
}

.seite_inhalt  {      
    display: flex;
    align-items: center;
    border: rgba(214,198,147, .50) ridge medium; 
    border-width: 0 0 3px 0;
    font-weight: bold;
    font-style: italic;
/*     color: rgb(255,255,205);   */
    -ms-grid-column: 3;
    grid-column: 3 / 4;
    -ms-grid-row: 2;
    grid-row: 2 / 3;
}

a {
    color: rgb(255,255,205);    
}

.beschreibung {       
    display: flex;
    align-items: center;  
    border: rgba(214,198,147, .50) ridge medium; 
    border-width: 0 3px 0 3px;
    -ms-grid-column: 2;
    grid-column: 2 / 3;
    -ms-grid-row: 3;
    grid-row: 3 / 4;
    line-height: 240%;
}

.beschreibung_inhalt  {        
    display: flex;
    align-items: center;    
    border: rgba(214,198,147, .50) ridge medium; 
    border-width: 0;
    -ms-grid-column: 3;
    grid-column: 3 / 4;
    -ms-grid-row: 3;
    grid-row: 3 / 4;
    font-size: 120%;
    line-height: 130%;
    color: rgb(255,255,205);
    padding: 10px 50px 10px 15px;    
    line-height: 140%;
}

/* ------------------------------------------------------------------------------------------------------ */
/* Stylesheet bis 1700px*/
@media only screen and (max-width: 1700px) {

    .tabelle {
        -ms-grid-columns: 25% 18% 57%;
        grid-template-columns: 25% 18% 57%;    
        -ms-grid-rows: 50px 50px 1fr;
        grid-template-rows: 50px 50px auto;
    }

    .partner_bild_quer {
        width: 240px;
    }

    .partner_bild_hoch {
        width: 180px;
    }
}

/* ------------------------------------------------------------------------------------------------------ */
/* Stylesheet bis 1400px Ipad quer*/
@media only screen and (max-width: 1400px) {

    .tabelle {   
        -ms-grid-columns: 25% 18% 57%;
        grid-template-columns: 25% 18% 57%;    
        -ms-grid-rows: 50px 50px 1fr;
        grid-template-rows: 50px 50px auto;
    }

    .partner_bild_quer {
        width: 230px;
    }
    
    .partner_bild_hoch {
        width: 180px;
    }
    
    .header {
        padding-left: 10px;
        font-size: 140%;
    }
    
    .inhalt {
        padding-left: 10px;
        font-size: 120%;
    }
    
    .beschreibung_inhalt  {
        font-size: 120%;
        padding: 10px 30px 10px 10px;
        line-height: 130%;
    }        
}

/* ------------------------------------------------------------------------------------------------------ */
/* Stylesheet bis 1200px Ipad hoch*/
@media only screen and (max-width: 1200px) {

    .tabelle {
        -ms-grid-columns: 25% 20% 55%;
        grid-template-columns: 25% 20% 55%;    
        -ms-grid-rows: 50px 50px 1fr;
        grid-template-rows: 50px 50px auto;
    }

    .partner_bild_quer {
        width: 200px;
    }

    .partner_bild_hoch {
        width: 160px;
    }

    .header {
        padding-left: 10px;
        font-size: 130%;
    }

    .inhalt {
        padding-left: 10px;
        font-size: 110%;
    }

    .beschreibung_inhalt  {
        font-size: 110%;
        padding: 10px 30px 10px 10px;
    }
}

/* ------------------------------------------------------------------------------------------------------ */
/* Stylesheet bis 1000px */
@media only screen and (max-width: 1000px) {

    .tabelle {
        -ms-grid-columns: 25% 22% 53%;
        grid-template-columns: 25% 22% 53%; 
        -ms-grid-rows: 50px 50px 1fr;
        grid-template-rows: 50px 50px auto;
    }

    .partner_bild_quer {
        width: 180px;
    }

    .partner_bild_hoch {
        width: 170px;
    }
}

/* ------------------------------------------------------------------------------------------------------ */
/* Stylesheet bis 900px */
@media only screen and (max-width: 900px) {

    .tabelle {
        -ms-grid-columns: 25% 24% 51%;
        grid-template-columns: 25% 24% 51%;    
        -ms-grid-rows: 40px 40px 1fr;
        grid-template-rows: 40px 40px auto;
    }

    .partner_bild_quer {
        width: 140px;
    }

    .partner_bild_hoch {
        width: 140px;
    }

    .header {
        padding-left: 5px;
        font-size: 110%;
    }

    .inhalt {
        padding-left: 5px;
        font-size: 100%;
    }

    .beschreibung_inhalt  {
        font-size: 100%;
        padding: 10px 30px 10px 5px;
    }
}

/* ------------------------------------------------------------------------------------------------------ */
/* Stylesheet bis 700px mobile */
@media only screen and (max-width: 700px) {
    
    .tabelle {
        width: 98%;    
        margin-right: 0;
        margin-left: 0;
        margin: auto;     
        display: -ms-grid;
        display: grid;        
        -ms-grid-columns: 25% 1fr;
        grid-template-columns: 25% 1fr;            
        -ms-grid-rows: auto 40px minmax(40px, max-content) 40px 1fr;
        grid-template-rows: auto 40px minmax(40px, max-content) 40px auto;    
    }
    
    .partner_bild {        
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        grid-column: 1 / 3;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        grid-row: 1 / 2;
    }
    
    .partner_bild_quer {
        width: 220px;  
    }
    
    .partner_bild_hoch {
        width: 200px;
    }
    
    .header {
        padding-left: 5px;
        font-size: 110%;
    }
    
    .inhalt {
        padding-left: 5px;
        font-size: 100%;
    }
    
    .name {
        display: flex;
        align-items: center;
        border-width: 3px 3px 3px 0;
        -ms-grid-column: 1;
        grid-column: 1 / 2;
        -ms-grid-row: 2;
        grid-row: 2 / 3;
    }
    
    .name_inhalt {
        display: flex;
        align-items: center;
        border-width: 3px 0 3px 0;
        -ms-grid-column: 2;
        grid-column: 2 / 3;
        -ms-grid-row: 2;
        grid-row: 2 / 3;
    }
    
    .seite {
        display: flex;
        align-items: center;
        border-width: 0 3px 3px 0;
        -ms-grid-column: 1;
        grid-column: 1 / 2;
        -ms-grid-row: 3;
        grid-row: 3 / 4;
    }
    
    .seite_inhalt  {
        display: flex;
        align-items: center;
        border-width: 0 0 3px 0;
        font-weight: bold;
        font-style: italic;
        -ms-grid-column: 2;
        grid-column: 2 / 3;
        -ms-grid-row: 3;
        grid-row: 3 / 4;
        padding-top: 5px;
        padding-bottom: 5px;        
    }
    
    .beschreibung {
        display: flex;
        align-items: center;
        border-width: 0 0 0 0;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        grid-column: 1 / 3;
        -ms-grid-row: 4;
        grid-row: 4 / 5;    
    }
    
    .beschreibung_inhalt  {
        border-width: 0;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        grid-column: 1 / 3;
        -ms-grid-row: 5;
        grid-row: 5 / 6;
        font-size: 100%;
        line-height: 130%;
        color: rgb(255,255,205);
        padding: 0px 15px 10px 5px;       
    }
}

/* ------------------------------------------------------------------------------------------------------ */
/* Stylesheet bis 600 - 700px mobile Bilder größer */
@media only screen and (min-width: 600px) and (max-width: 700px){

    .partner_bild_quer {
        width: 300px;
    }

    .partner_bild_hoch {
        width: 250px;
    }    
}    