/*
Theme Name: Spielgruppe Altstaetten
Version: 1.0
Theme URI: https://www.spielgruppe-altstaetten.ch
Description: Template für Homepage Spielgruppe Altstaetten
Author: Marcel Hutter
*/

@font-face {
    font-family: 'NunitoLight';
    src: url("fonts/Nunito-Light.ttf");
    font-display: swap;
}

@font-face {
    font-family: 'NunitoRegular';
    src: url("fonts/Nunito-Regular.ttf");
    font-display: swap;
}

@font-face {
    font-family: 'BalooBhaina';
    src: url("fonts/BalooBhaina.ttf");
    font-display: swap;
}

/**********/

html{
    overflow-y: scroll;
    box-sizing: border-box;
}

*, *:before, *:after{
    box-sizing: inherit;
}

/**********/

/*Phone screen small landscape*/
@media screen and (min-width: 200px) and (max-width: 825px) and (orientation: landscape) {
    header {opacity: 0.05;}
    .titelBild {visibility: hidden;}
    nav {visibility: hidden;}
    aside {visibility: hidden;}
    section {visibility: hidden;}
    footer {opacity: 0.05;}
    body { background: url("images/screen_lock_rotation.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 10rem;
    }
}
/*End phone screen small landscape*/

/*Off canvas für tablet landscape ausschalten*/
@media screen and (min-width: 640px) and (max-width: 1024px) and (orientation: portrait) { 
    .contain-to-grid {
        visibility: hidden;
    }
  }
/*End Off canvas für tablet landscape ausschalten*/

body{
    background-color: #fbfbf5;
    font-family: NunitoLight;
}

main{
    margin-top: 15px;
    margin-bottom: 10px;/*old 2rem*/
}

h1, h2, h3, h4, h5, h6{
    font-family: NunitoRegular;
}

h1{
    /*margin-top: 1.6rem;*/
    margin-top: 0.8rem;
    margin-bottom: 0rem;
    color: #da0a2a;
}

h2{
    margin-top: 1.0rem;
}

h1 + h2{
    margin-top: 0.6rem
}

header{
    height: 110px;
}

p{
    margin-bottom: 0.7rem;
}

.top-bar-section ul li a{
    font-family: NunitoRegular;
}

.logo{
    height: 90px;
    margin-top: 5px;
}

.logoSmall{
    height: 70px;
    margin-top: 15px;
}

.titelBild{
    margin-top: 25px;
    width: 100%;
    box-shadow: 10px 10px 30px #555555;
    opacity: 1.0;
}

.titelBildMedium{
    margin-top: 0px;
    width: 100%;
    box-shadow: 10px 10px 30px #555555;
    opacity: 1.0;
}

.titelBildSmall{
    height: 5.6rem;
    margin-top: 15px;
    width: 100%;
    box-shadow: 10px 10px 30px #555555;
    opacity: 1.0;
}

.titelBildSmallContainer{
    padding-left: 0px;
    padding-right: 0px;
}

.headerTextLarge{
    font-family: BalooBhaina;
    font-size: 1.6rem;
    font-style: italic;
    color: #555555;
    margin-top: 48px;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.headerTextMedium{
    font-family: BalooBhaina;
    font-size: 1.2rem;
    font-style: italic;
    color: #555555;
    margin-top: 54px;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.headerTextSmall{
    font-family: BalooBhaina;
    font-size: 1.0rem;
    font-style: italic;
    color: #555555;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.headerTextRigth{
    float: right;
}

.headerTextLeft{
    float: left;
}

.tatzelwormNormal{
    height: 30px;
    margin-top: 44px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tatzelwormSmall{
    height: 25px;
    margin-top: 5px;
}

.fontSize p{
    font-size: 1.2rem;
}

.clearfix{
    clear: both;
}

/*Stretch Picture Treffpunkt auf 100%*/
.meetingPoint{
    width: 100%;
}
/*End Stretch Picture Treffpunkt auf 100%*/

.sidebar{
    margin-top: 42px;
    margin-bottom: 2.4rem;/*old 10px*/
}

.sidebar p{
    font-weight: bold;
}

.sidebar h3{
    font-family: BalooBhaina;
    color: #da0a2a;
    margin-top: 1rem;
}

.sidebar h3:first-child{
    font-family: BalooBhaina;
    color: #da0a2a;
}

.sidebar_2{
    margin-top: 5.1rem;
    margin-bottom: 3rem;/*old 10px*/
}

.sidebar_2 p{
    font-weight: bold;
}

.sidebar_2 h3{
    font-family: BalooBhaina;
    color: #da0a2a;
    margin-top: 1rem;
}

.sidebar_2 h3:first-child{
    font-family: BalooBhaina;
    color: #da0a2a;
}

/*Sidebar Galerie*/
.sidebar_gal{
    margin-top: 7.9rem;
    margin-bottom: 10px;
}

.sidebar_gal p{
    font-weight: bold;
}

.sidebar_gal h3{
    font-family: BalooBhaina;
    color: #da0a2a;
    margin-top: 1rem;
}

.sidebar_gal h3:first-child{
    font-family: BalooBhaina;
    color: #da0a2a;
}
/*end Sidebar Galerie*/

.sidebarSmall{
    margin-top: 0px;
    margin-bottom: 3.4rem;/*old 10px*/
}

.sidebarSmall p{
    font-weight: bold;
}

.sidebarSmall h3{
    font-family: BalooBhaina;
    color: #da0a2a;
    margin-top: 1rem;
}

.sidebarSmall h3:first-child{
    font-family: BalooBhaina;
    color: #da0a2a;
}

.logoSidebar{
    height: 4.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

footer{
    height: auto;
    border-top: 1px solid;
    border-color:  #555555;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    /*font-weight: bold;*/
    /*font-size: 0.9rem;*/
    /*background-color: rgba(245, 245, 231, 0.95);*/
    background-color: #f4f4e3;
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    right: 0;
}

.footer_title{
    font-size: 1.4rem;
    color: #da0a2a;
    font-family: BalooBhaina;
}

.impressum {
    text-decoration: none;
    float: right;
    font-size: 1.2rem;
}

.impressum_small {
    text-decoration: none;
    float: right;
    font-size: 1.2rem;
}

.my_sga {
    text-decoration: none;
    float: left;
    font-size: 1.2rem;
}

.my_sga_small {
    text-decoration: none;
    float: left;
    font-size: 1.2rem;
}

.datenschutz {
    text-decoration: none;
    float: right;
    font-size: 1.2rem;
}

.datenschutz_small {
    text-decoration: none;
    float: left;
    font-size: 1.2rem;
}

.tel_footer_small{
    float: left;
    margin-bottom: 0.3rem;
}

.mail_footer_small{
    float: left;
    margin-bottom: 0.3rem;
}

.footer_sga{
    margin-bottom: 5px;
}

footer>div>p{
    margin-bottom: 0.0rem;
}

.left-submenu{
    height: 400px;
}

/*Styling Google Maps Karten*/
.container-responsive{
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 56%;
    height: 0;
    overflow: hidden;
}
.container-responsive iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*Ende Styling Google Maps Karten*/

/*person box*/

.person-box{
    padding-left: 0,75rem;
    padding-right: 0.75rem;
}

.nameStyle{
    font-size: 1.05rem;
}

.columns+.columns:last-child{
    float: left;
}

.portraitName{
    margin-bottom: 1.5rem;
}
/*end person box*/

.person-portrait{
    margin-bottom: 0.5rem;
    box-shadow: 5px 5px 20px #555555;
    opacity: 0.95; 
}

.personText{
    margin-top: 1rem;
}

.personDescription{
    font-size: 1.1rem;
    font-weight: bold;
}

/*styling output box*/
.output-box{
    height: 100%;
    margin-bottom: 1.5rem;
    padding-left: 0;
    padding-right: 0;

}
.output-box-header{
    border: 1px solid #555555;
    background-color: #555555;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.output-box-header p{
    color: #9daf1d;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0px;
}

.output-box-content{
    border: 1px solid #777777;
    background-color: #f5f5e7;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.output-box-content p{
    margin-bottom: 0px;
}

.vacationTitle{
    font-size: 1.1rem;
    font-weight: bold;
}

.vacationText{
    padding-bottom: 0.4rem;
}

.vacationText:last-child{
    padding-bottom: 0rem;
}
/*end styling output box*/

/*used in template-personen*/
.hoverOpacity:hover{
    opacity: 0.4;
}
/*end used in template-personen*/

/*Sendebutton Formular*/
.wpcf7-form-control.wpcf7-submit{
    width: 6rem;
    height: 1.8rem;
    border: 1px solid #9daf1d;
    border-radius: 0.5rem;
    background-color: #fbfbf5;
    font-size: 1rem;
    color: #333333;
}
.wpcf7-form-control.wpcf7-submit:hover{
    border: 2px solid #333333;
    background-color: #f5f5e7;
    color:#9daf1d;
}
/*Ende Sendebutton Formular*/

/*Sendebutton my.sga*/
section main div form p>input{
    width: 6rem;
    height: 1.8rem;
    border: 1px solid #9daf1d;
    border-radius: 0.5rem !important;
    background-color: #fbfbf5;
    font-size: 1rem;
    color: #333333;
}
section main div form p>input:hover{
    border: 2px solid #333333;
    background-color: #f5f5e7;
    color:#9daf1d;
}
/*Ende Sendebutton my.sga*/

/*font-site "Passwort" my.sga and Kontaktformular*/
section main div form p>label{
    font-size: 1rem;
}
/*end font-site "Passwort" my.sga and Kontaktformular*/

/*Download button*/
section main div.button-links p a{
    color: #333333;
    border: 1px solid #9daf1d;
    border-radius: 0.5rem;
    padding: 0.2rem 0.5rem;
}
section main div.button-links p a:hover{
    background-color: #f5f5e7;
    border: 2px solid #333333;
    color: #9daf1d;
}
section main div.button-links p a:visited{
    border: 1px solid #9daf1d;
    color: #333333;
}
/*End Download button*/

/*Styling Galerie-Seite*/
.distTitle{/*old disttop*/
    margin-top: 0rem;/*old 1rem*/
    margin-bottom: 0rem;/*new*/
}

.ngg-galleryoverview{
    margin-top: 6px !important;
    margin-bottom: 10px !important;
}
/*Ende Styling Galerie-Seite*/

/*.top-bar li.current-menu-parent > a, .top-bar li.current-menu-ancestor > a {
    color: #9daf1d;
    background-color: #333333;
}*/

/*font size off canvas list*/
.off-canvas-list{
    font-size: 1.1rem;
    font-weight: bold;
}
.left-submenu li a{
    font-size: 1.1rem;
    font-weight: bold;
}
/*end font size off canvas list*/

/*border top first child off canvas list*/
.off-canvas-list li:first-child{
    border-top: 1px solid #d2d293;
}
/*end border top first child off canvas list*/