

/* ------------------------- ALLGEMEINES -------------------------- */
h1 {
    font-size: 26px;
    margin-bottom: 1rem;
    line-height: 30px;
}
h2 {
    font-size: 20px;
}

h2, h3 {
    margin-bottom: 1rem;    
}

.screenreader {
    font-size: 15px;
    padding: 0;
    margin: 0;
}

.inline {
    display: inline;
}
.inlineblock {
    display: inline-block;
} 

.cursor {
    cursor: pointer;
} 
 
                                                         /* Breiten */
.fullsize {
    width: 100%;
    box-sizing: border-box;
}                                                        
                                                          /* Listen */

ul {
    list-style-position: inside;
}

                                                        /* Tabellen */
                                                        
table {
    border-collapse: collapse;
}                                                     

.table_responsive tr {
    padding: 5px 0px;
}

.table_responsive td {
    padding-right: 5px;
}

@media (max-width: 575px)
{
    .table_responsive tr, .table_responsive td {
        display: block;
        text-align: left;
    }       
}  

.table_padding td {
    padding-right: 25px;
}


.table_border th,
.table_border td {
    border: solid black 1px;
    padding: 5px;
}      

@media (min-width: 576px)
{
    .smartphone {
        display: none;
    }
}

@media (max-width: 575px)
{
    .desktop {
        display: none !important;
    }
}

.block {
    display: block;
    margin: 0px;
    width: 100%;
    padding: 5px; 
    box-sizing: border-box;   
}

                                                       /* Schriften */
.bold {
    font-weight: bold;
}
.italic {
    font-style: italic;
}
.underline {
    text-decoration: underline;
}                                                       
.smaller {
    font-size: smaller;
}
.smallest {
    font-size: 11px;
}
.larger {
    font-size: 20px;
    font-weight: bold;
    line-height: 25px;
}
                                                    /* Seitenanzahl */
.seitenanzahl {
    width: 100%;
    text-align: center;
} 

@media (max-width: 600px)
{
    .seitenwechsel_desktop {
        display: none;
    }
   .seitenwechsel_smartphone {
       font-size: 1.5rem;
   } 
}
    

                                                      /* Textfelder */
.titel {
    width: 30%;
}
@media (max-width: 1050px)
{
    .titel {
        width: auto;
    }
}
.textfeld {
    width: 100%;
} 
.button_bbcode {
    margin-top: 10px;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 10px;
}
.buttons_bbcode {
    display: inline-block;
}
@media (max-width: 390px)
{
    .buttons_bbcode {
        display: inline;
    }
}

.fake_button {
  display: inline-block;
  padding: 5px 10px;
  cursor: pointer;
  border: solid #808080 1px;
  background-color: #FAFAFA;
  border-radius: 5px;
  font-size: 13px;
}
.fake_button:hover {
  background-color: #D2D2D2;
}
                                                       /* Fieldsets */
legend {
    font-weight: bold;
}                                                                   

                                                           /* Boxen */ 
.border {    
    border: 1px solid black;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}                                                    
                                                          /* Balken */
.balken_haupt {
    border: 1px solid black;
    width: 400px;
    height: 15px;
    float:left;
    margin-right: 10px;
}                                                          
                                                          
.balken_div {
    border: 1px solid black;
    width: 400px;
    height: 15px;
    margin-right: 5px;
}
@media (max-width: 575px)
{
    .balken_haupt, .balken_div {
        width: 200px;
    }
}                                                       
.balken {
    height: 15px;
}
.balken_end {
    border-right: 1px solid black;
    height: 15px;
}

                                              /* Disziplinen-Balken */
.table_koennen {
    margin-top: 10px;
}                                        
.table_koennen td {
    padding-right: 10px;
    padding-top: 5px;
}

.table_koennen_grundlagen td {
    padding-bottom: 20px;
}
                                           
@media (min-width: 1131px)
{
    .table_koennen_zweizeilig {
        display: none;
    }
}

@media (max-width: 1130px)
{
    .table_koennen_einzeilig {
        display: none
    }
}

/* ---------------------- Filter-Interface ------------------------ */
.flexbox {
    display: flex;
    flex-wrap: wrap;
}
.flexbox_item {
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;   
}
                                                    /* Pferdefilter */  
.flexbox_item_filter_einer {
    width: 100%;
}

.flexbox_item_filter_zweier {
    width: 50%;
}
@media (max-width: 880px)
{
    .flexbox_item_filter_zweier {
        width: 100%;
    }
}

.flexbox_item_filter_dreier {
    width: 33.33%;
}
@media (max-width: 1400px)
{
    .flexbox_item_filter_dreier {
        width: 100%;
    }
}

.flexbox_item_filter_vierer {
    width: 25%;
}
@media (max-width: 1800px)
{
    .flexbox_item_filter_vierer {
        width: 50%;
    }
}
@media (max-width: 650px)
{
    .flexbox_item_filter_vierer {
        width: 100%;
    }
}

.flexbox_item_filter_eindrittel {
    width: 40%;
}
@media (max-width: 1400px)
{
    .flexbox_item_filter_eindrittel {
        width: 100%;
    }
}

.flexbox_item_filter_zweidrittel {
    width: 60%;
}
@media (max-width: 1400px)
{
    .flexbox_item_filter_zweidrittel {
        width: 100%;
    }
}

.flexbox_item_filter_einer_justify {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.flexbox_item_flex {
  flex-basis: 25%;
}
@media (max-width: 1400px)
{
    .flexbox_item_flex {
        flex-basis: 33%;
    }
}
@media (max-width: 880px)
{
    .flexbox_item_flex {
        flex-basis: 50%;
    }
}
@media (max-width: 620px)
{
    .flexbox_item_flex {
        flex-basis: 100%;
    }
}

.flexbox_item_filter_mini {
    width: 50%;   
}

.select_50 {
    width: 50%;
    max-width: 120px;
}
                                                       /* ZG-Filter */
.flexbox_item_zg {
    width: 33.33%;
}
@media (max-width: 1400px)
{
    .flexbox_item_zg {
        width: 50%;
    }
}
@media (max-width: 620px)
{
    .flexbox_item_zg {
        width: 100%;        
    }
}
                                                     /* Stallfilter */
.flexbox_item_stall_schmal {
    width: 33.33%;
}
.flexbox_item_stall_breit {
    width: 66.66%;
}
@media (max-width: 1130px)
{
    .flexbox_item_stall_schmal, .flexbox_item_stall_breit {
        width: 100%;
    }
}
                                                  /* Erbkrankheiten */
.flexbox_item_ekh {
    border: solid 1px black;
    width: 9.09%;
    margin-bottom: 0px;
}
@media (max-width: 1400px)
{
    .flexbox_item_ekh {
        width: 20%;
    }
    .flexbox_item_ekh2 {
        width: 16.66%;
    }    
}
@media (max-width: 530px)
{
    .flexbox_item_ekh {
        width: 25%;
    }
    .flexbox_item_ekh3 {
        width: 33.33%;
    }
}
@media (max-width: 400px)
{
    .flexbox_item_ekh {
        width: 33.33%;
    }
    .flexbox_item_ekh4 {
        width: 50%;        
    }
}                                            
                                                        /* Farbgene */
.flexbox_item_farbgen {
    border: solid 1px black;
    width: 16.66%;
    margin-bottom: 0px;
}
@media (max-width: 1450px)
{
    .flexbox_item_farbgen {
        width: 25%;
    }
}
@media (max-width: 650px)
{
    .flexbox_item_farbgen {
        width: 33.33%;
    }
}
@media (max-width: 510px)
{
    .flexbox_item_farbgen {
        width: 50%;
    }
}
@media (max-width: 370px)
{
    .flexbox_item_farbgen {
        width: 100%;
        text-align: left;
        border: none;
        background-color: transparent;
        padding: 5px 0 0 0;
    }

    .flexbox_item_farbgen br {
        display: none;
    }
}

/*------------------------- steckbrief.php ------------------------ */
.navi_steckbrief, .navi_steckbrief_extern {
    float: left;
    border: solid 1px black;
    font-weight: bold;
    text-align: center;
    font-size: larger;
    box-sizing: border-box;
}

.navi_steckbrief {
    width: 16.66%;
}
@media (max-width: 850px)
{
    .navi_steckbrief {
        width: 33.33%;
    }
}
@media (max-width: 420px)
{
    .navi_steckbrief {
        width: 50%;
    }
}

.navi_steckbrief_extern {
    width: 25%;
}
@media (max-width: 550px)
{
    .navi_steckbrief_extern {
        width: 50%;
    }
}
/*----------------------- faehigkeiten.php ------------------------ */
.navi_faehigkeiten {
    float: left;
    border: solid 1px black;
    font-weight: bold;
    width: 16.66%;
    text-align: center;
    box-sizing: border-box;
}
@media (max-width: 1200px)
{
    .navi_faehigkeiten {
        width: 25%;
    }
}
@media (max-width: 550px)
{
    .navi_faehigkeiten {
        width: 33.33%;
    }
}
@media (max-width: 450px)
{
    .navi_faehigkeiten {
        width: 50%;
    }
}

/* ------------------------ startseite.php ------------------------ */
.startseite_boxen_links {
    flex-grow: 2;
}

.startseite_boxen_rechts {
    flex-grow: 1;
}

.startseite_boxen {
    border: solid black 1px;
    padding: 10px;
    margin: 20px 20px 0px 20px;
}

.startseite_boxen ul {
    padding: 20px;
}

@media (max-width: 700px)
{
    .startseite_boxen {
        margin: 20px 0 0 0;
    }
}
/* ---------------------- Pferdebild groß ------------------------- */                                                                  
.stallbild_hintergrund {
    clip: rect(0px, 1090px, 436px, 0px);
}
.stallbild_hintergrund_mobil {
    width: 575px;
    height: auto;
}

.stallbild_rechts {
    margin-left: 0px;
    clip: rect(0px, 1090px, 436px, 900px);
}

.bildprofil_gesamt {  
    display: none;
    height: 440px;  
    transform-origin: top left;
    transform: scale(1.0);                
}    
.bildprofil_bild {
    position: absolute;
    z-index: 1;
    margin-left: 60px;
    margin-top: -35px;
    transform-origin: top left;
    transform: scale(1.4);  
}

#map_stall, #map_stall_mobil {
    z-index: 3;
}

#map_stall_rechts {
    z-index: 4;
}

@media (min-width: 576px)
{
    .stallbild_hintergrund_mobil, .stallbild_mobil {
        display: none;
    }
}

@media (max-width: 575px)
{
    .stallbild_hintergrund, .stallbild_links, .stallbild_rechts {
        display: none !important;
    }
    
    .bildprofil_bild {
        margin-left: 0px;
        margin-top: -25px;
        transform: scale(1.35);
    }
}

.putzplatz_gesamt {
    display: none;    
    transform-origin: top left;
    transform: scale(1.0);    
} 

.hintergrund_putzplatz {
    clip: rect(0px, 841px, 512px, 0px);
    overflow: hidden;
}

.putzplatz_interface, .shop_interface {
    margin-top: 550px;
}

.putzplatz_interface div {
    padding-right: 30px;
    padding-bottom: 20px;
}

.putzplatz_flexitem {
    width: 25%;
    box-sizing: border-box;
}

@media (max-width: 1500px)
{
    .putzplatz_flexitem {
        width: 50%;
    }
}

@media (max-width: 550px)
{
    .putzplatz_flexitem {
        width: 100%;
    }
}

.putzplatz_bild {
    position: absolute;
    z-index: 1;
    margin-left: -100px;
    margin-top: 0px;
    transform-origin: top left;
    transform: scale(1.4);
}

@media (min-width: 651px)
{
    .hintergrund_putzplatz_mobil {
        display: none;
    }
}

@media (max-width: 650px)
{
    .hintergrund_putzplatz {
        display: none !important;
    }
}

.farbauswahl img {
    padding: 5px;
}

.farbauswahl div {
    margin-right: 30px;
    margin-bottom: 20px;
}

.shop_menue {
    border: solid 1px black;
    font-weight: bold;
    text-align: center;
    width: 20%;
    box-sizing: border-box;
    cursor: pointer;
}

@media (max-width: 650px)
{
    .shop_menue {
        width: 33.3%;
    }
}

@media (max-width: 450px)
{
    .shop_menue {
        width: 50%;
    }
}

/* ----------------------- nachrichten.php ------------------------ */
.nachrichten_boxen {
    float: left;
    width: 45%;
    border: solid black 1px;
    padding: 10px;
    height: 200px;
    margin: 0 10px 10px 0;
}

@media (max-width: 1500px)
{
    .nachrichten_boxen {
        width: 40%;
    }
}

@media (max-width: 1120px)
{
    .nachrichten_boxen {
        width: 95%;
        height: auto;
    }
}

.nachrichten_checkbox {
    width: 10px;
}

@media (max-width: 450px)
{
    .nachrichten_modformular {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ---------------------- mitgliedschaft.php ---------------------- */
#sparschwein {
    float:left; 
    margin-right: 10%;
}

@media (max-width: 760px)
{
    #sparschwein {
        margin-right: auto;
    }
}


/* ------------------------ mitglied.php -------------------------- */
.mitglied_pferde, .mitglied_pferde_tot {
    float: left;
    width: 30%;
    margin-top: 10px;
    box-sizing: border-box;
}
.mitglied_pferde  {
    border-right: 1px solid black;
    margin-right: 4%;
}
@media (max-width: 575px)
{
    .mitglied_pferde, .mitglied_pferde_tot {
        width: 100%;
        border-right: none;
        border-top : 1px solid black;
        margin-right: auto;
        float: none;
        padding-top: 10px;
    }
}

/* ------------------------ Reiterbild ---------------------------- */
.reiterbild_div {
    float: left;
    width: 220px;
    height: 450px;
}

.reiterbild_arbeiter_div {
    float: left;
    width: 200px;
    height: 520px;
}

/* ---------------------- apotheke.php ---------------------------- */   
@media (max-width: 575px)
{
    .apotheke_grafik {
        width: 100px;
        height: 100px;
    }
}     

/* ------------------------- faq.php ------------------------------ */
.faq_zeile {
    margin-left: 30px;
}

/*---------------------- kleinanzeigen.php ------------------------ */
.navi_flohmarkt {
    float: left;
    border: solid 1px black;
    font-weight: bold;
    width: 12.5%;
    text-align: center;
    box-sizing: border-box;
}
@media (max-width: 1550px)
{
    .navi_flohmarkt {
        width: 25%;
    }
}
@media (max-width: 550px)
{
    .navi_flohmarkt {
        width: 50%;
    }
}

/* -------------------------- REITER ------------------------------ */

#index_reiterbild {
    position: absolute;
    z-index: 1;
    width: 100px;
    overflow: hidden;
}
#index_reiterbild > * {
    position: absolute;
    z-index: 1;
    margin-left: -50px;
}     
.index_reiterbild_kind {
    width: 120px;
    margin-left: -25px !important;
}   


/* ---------------------------- BILDER ---------------------------- */                                                                      
.miniaturbild {            
    margin-right: 210px;
    margin-bottom: 150px;
    position: relative;
}                           
.miniaturbild_img {                                                   
    position: absolute;
    z-index: 1;
    height: 140px;
}       
.table_tack {
    height: 300px; 
    width: 500px;
    box-sizing: border-box;    
}
@media (max-width: 575px)
{
    .table_tack {
        width: 100%;
    }
}
.bild_tack {
    height: 100%;
    width: auto;
}                                                                                                                                                                                            


/* ---------------------------- PFERDE ---------------------------- */
                                                        
.boxentuer img {
    transition: transform 1s;
}
.boxentuer img:hover {
    transform: translate(175px, 0px);
}                                                          
.pferde_filter {
    display: inline-block;
    margin-right: 20px;
}                
.pferde_bild {
    float: left;
    width: 25%;
    height: 210px;
    padding-bottom: 10px;
    padding-right: 15px;
    position: relative;
    box-sizing: border-box;        
}

.scale {
    transform-origin: top left;
    transform: scale(1.0);
} 

@media (max-width: 1650px)
{
    .scale {
        transform: scale(0.9);
    }
    .pferde_bild {
        height: 190px;
    }        
}

@media (max-width: 1550px)
{
    .scale {
        transform: scale(0.8);
    }    
    .pferde_bild {
        height: 170px;
    }
}

@media (max-width: 1440px)
{
    .scale {
        transform: scale(1.0);
    }
    .pferde_bild {
        width: 33%;
        height: 210px;
    }
}

@media (max-width: 1350px)
{
    .scale {
        transform: scale(0.9);
    }
    .pferde_bild {
        height: 190px;
    }
}

@media (max-width: 1150px)
{
    .scale {
        transform: scale(0.8);
    }
    .pferde_bild {
        height: 170px;
    }
}

@media (max-width: 1023px)
{
    .scale {
        transform: scale(1.0);
    }
    .pferde_bild {
        height: 210px;
    }
}

@media (max-width: 950px)
{
    .scale {
        transform: scale(0.9);
    }
    .pferde_bild {
        height: 190px;
    }
}

@media (max-width: 850px)
{
    .scale {
        transform: scale(0.8);
    }
    .pferde_bild {
        height: 170px;
    }
}

@media (max-width: 760px)
{
    .scale {
        transform: scale(1.0);
    }
    .pferde_bild {
        width: 50%;
        height: 210px;
    }
}

@media (max-width: 574px)
{
    .scale {
        transform: scale(0.9);
    }
    .pferde_bild {
        height: 190px;
    }
}

@media (max-width: 530px)
{
    .scale {
        transform: scale(0.8);
    }
    .pferde_bild {
        height: 170px;
    }
}

@media (max-width: 480px)
{
    .scale {
        transform: scale(0.7);
    }
    .pferde_bild {
        height: 150px;
    }
}

@media (max-width: 425px)
{
    .scale {
        transform: scale(0.6);
    }
    .pferde_bild {
        height: 130px;
    }
}

@media (max-width: 375px)
{
    .scale {
        transform: scale(0.55);
    }
    .pferde_bild {
        height: 120px;
    }
}

@media (max-width: 360px)
{
    .scale {
        transform: scale(1.0);
    }
    .pferde_bild {
        width: 100%;
        height: 210px;
    }
}
                     
.pferde_bild_pferd {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
}
.pferde_bild_sonstiges {
    position: absolute;
    z-index: 1;
    height: 175px;
}                        

.steckbrief_statusbild {
    padding: 5px;
}

.steckbrief_statusbild img {
    vertical-align: middle;
}                      

#stammbaum td {
    padding: 20px 50px 20px 0px;
}                        


/* -------------------------- BIBLIOTHEK -------------------------- */
.bib_links {
    float: left;
    width: 45%;
    border-right: 1px solid black;
    margin-right: 20px;
}   
@media (max-width: 600px) {
    .bib_links {
        width: 90%;
        border-right: none;
    }
    .bib_links hr {
        margin-left: -20px;
    }    
}
   
.bib_rechts hr {
    margin-left: -20px;
} 
.bib {
    padding: 20px;
}                     
.bib ul {
    padding-left: 0px;
    margin-left: 20px;
}
@media (max-width: 600px) {
    .bib img {
        width: auto;
        max-width: 100%;
    }
}

/* ------------------ AUSRUESTUNG und FRISIEREN ------------------- */
.farbfelder {
    display: inline-block;
}   
        
.farbfeld {
    margin: -2px;
    height: 18px;    
}

.farbfeld_gross {

    height: 24px;
}

.radio_none {
    display: none;
}             


/* ------------------ HENGSTSTATION | ZG-PROFIL ------------------- */
.fremdhengste_stuten {
    border-left: 1px solid black;
    padding-left: 10px;
}
.fremdhengste_daten {
    border-right: 1px solid black;
    padding: 0 10px;
}
.fremdhengste_anforderungen {
    border-top: 1px solid black;
    text-align: center;
}
.fremdhengste_feld {
    border-top: 2px solid black;
}

/* ------------------------ familie.php --------------------------- */
.familie_flexbox {
    display:flex;
    flex-wrap: wrap;
}

.reiterbild_flexbox {
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: solid 1px black;
}

.reiterbild_familie {
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.reiterbild_erwachsen {
    width: 200px;
    height: 435px;
}
.reiterbild_kind {
    width: 200px;
    height: 350px;
}
.reiterbild_kleinkind {
    width: 200px;
    height: 255px;
}
.reiterbild_baby {
    width: 200px;
    height: 75px;
}
.reiterbild_baby img {
    width: 150px;
}
.reiterbild_dating {
    width: 250px;
    height: 435px;
}


/* ------------------------ stallkarte.php ------------------------ */
.stallkarte_auswahl div {
    max-width: 25%;
}
.stallkarte_auswahl img {
    max-width: 100%;
}
.stallkarte_div {
    margin: 0 auto auto 0;
    padding: 0;
    transform-origin: top left;
    transform: scale(1);
    height: 800px;
}                                                           
.stallkarte_div img {
    position: absolute;
    z-index: 1;
}
                                                                    

/* -------------------------- thread.php -------------------------- */
.thread_daumen {
    float: right;
    height: 20px;
}                       /*


/* ------------------------- umkleide.php ------------------------- */
#umkleide_reiterbild {
    width: 190px;
    height: 423px;
    float: left;
}
#umkleide_reiterbild img {
    position: absolute;
    z-index: 1;
    margin-left: -35px;
} 

.umkleide_felder {
    height: 120px;
    width: 120px;
    overflow: hidden;
    position: relative;
    float: left;
}

.umkleide_felder img {
    margin-left: -40px;
    position: absolute;
}

#feld6, #feld7, #feld8, #feld9, #haare_blondpink, #haare_regenbogen, #haare_schwarzrot, #haare_schwarzpink, #haare_schwarzgruen, #haare_schwarzblau, #haare_blau {
    display: none;
}

#umkleide_geschlecht label {
    padding-right: 20px;
}

.umkleide_shirt {
    padding-top: 60px;
}

.umkleide_hose, .umkleide_schuhe {
    padding-top: 30px;
}

.umkleide_menue {
    border: solid 1px black;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

#hauptplusfarbe {
    width: 260px;
}

#umkleide_haarfarbe {
    padding-left: 30px;
}

#umkleide_haarfarbe img {
    float: left;
}

/* ---------------------- rassegruendung.php ---------------------- */
.select_50px {
    width: 50px;
}