/*
Theme Name: Spielgruppe Balgach
Version: 1.0
Theme URI: https://www.spielgruppe-balgach.ch
Description: Template für Homepage Spielgruppe Balgach
Author: Marcel Hutter
*/

@font-face {
    font-family: 'NunitoLight';
    src: url("fonts/Nunito-Light.ttf");
}

@font-face {
    font-family: 'NunitoRegular';
    src: url("fonts/Nunito-Regular.ttf");
}

@font-face {
    font-family: 'BalooBhaina';
    src: url("fonts/BalooBhaina.ttf");
}

@font-face {
    font-family: 'PermanentMarker-Regular';
    src: url("fonts/PermanentMarker-Regular.ttf");
}

/**********/

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: #fdfdfa;
    font-family: NunitoLight;
}

main{
    margin-top: 15px;
    margin-bottom: 0.6rem;/*old 2rem*/
}

h1{
    /*margin-top: 1.6rem;*/
    font-family: PermanentMarker-Regular;
    text-transform: uppercase;
    margin-top: 1.8rem;
    margin-bottom: 0rem;
    color: #555555;
    /*text-shadow: 0.3rem 0.3rem 0.5rem #ed1c24;*/
    text-shadow: 1px 1px 2px #ed1c24, 0 0 1.5rem #ffc466, 0 0 0.2rem #ffc466;
    text-align: center;
}

h2, h3, h4, h5, h6{
    font-family: NunitoRegular;
}

h2{
    margin-top: 1.0rem;
    color: #444444;
}

/*h1+h2{
    margin-top: 0.6rem
}*/

.frontpage p{
    float: left;
    vertical-align: top;
}

.frontpage img{
    float: left;
    margin-right: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 0.4rem;
    width: 7.5rem;
}

.mainTitleSmall{
    margin-top: 1rem;
    font-size: 1.4rem;
}

.mainTitleMedium{
    font-size: 2.2rem;
}

header{
    height: 6.8rem;
}

p{
    margin-bottom: 0.7rem;
}

.top-bar-section ul li a{
    font-family: NunitoRegular;
}

.logo_zauberstrahl_header{
    height: 5.7rem;
    margin-top: 10px;
    float: left;
}

.logo_zauberstrahl_header_small{
    height: 60px;
    margin-top: 1.2rem;
    float: left;
}

.logo_ameisehuffa_header{
    height: 5.7rem;
    margin-top: 10px;
    float: right;
}

.logo_ameisehuffa_header_small{
    height: 60px;
    margin-top: 1.2rem;
    float: right;
}

/*.logo_zauberstrahl_frontp{
    height: 120px;
    margin-top: 10px;
    margin-right: 1.2rem;
    margin-bottom: 1rem;
    float: left;
}

.logo_zauberstrahl_frontp_small{
    height: 120px;
    margin-top: 10px;
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
    float: left;
}

.logo_ameisehuffa_frontp{
    height: 120px;
    margin-top: 10px;
    margin-right: 1.2rem;
    margin-bottom: 1rem;
    float: left;
}

.logo_ameisehuffa_frontp_small{
    height: 120px;
    margin-top: 10px;
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
    float: left;
}

.logoSmall{
    height: 70px;
    margin-top: 15px;
}*/

.titelBild{
    margin-top: 1.6rem;
    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: 6.2rem;
    margin-top: 15px;
    width: 100%;
    box-shadow: 10px 10px 30px #555555;
    opacity: 1.0;
}

.titelBildSmallContainer{
    padding-left: 0px;
    padding-right: 0px;
}

.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: #36a610;
    margin-top: 1rem;
}

.sidebar h3:first-child{
    font-family: BalooBhaina;
    color: #36a610;
}

.sidebar_2{
    margin-top: 5.15rem;
    margin-bottom: 3rem;/*old 10px*/
}

.sidebar_2 p{
    font-weight: bold;
}

.sidebar_2 h3{
    font-family: BalooBhaina;
    color: #36a610;
    margin-top: 1rem;
}

.sidebar_2 h3:first-child{
    font-family: BalooBhaina;
    color: #36a610;
}

/*Sidebar Galerie*/
.sidebar_gal{
    margin-top: 8rem;
    margin-bottom: 10px;
}

.sidebar_gal p{
    font-weight: bold;
}

.sidebar_gal h3{
    font-family: BalooBhaina;
    color: #36a610;
    margin-top: 1rem;
}

.sidebar_gal h3:first-child{
    font-family: BalooBhaina;
    color: #36a610;
}
/*end Sidebar Galerie*/

.sidebarSmall{
    margin-top: 0px;
    margin-bottom: 0.6rem;/*old 3.4rem*/
}

.sidebarSmall p{
    font-weight: bold;
}

.sidebarSmall h3{
    font-family: BalooBhaina;
    color: #36a610;
    margin-top: 1rem;
}

.sidebarSmall h3:first-child{
    font-family: BalooBhaina;
    color: #36a610;
}

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);
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    right: 0;
}

.footer_title{
    font-size: 1.4rem;
    color: #36a610;
    font-family: BalooBhaina;
}

/*.footer_bottom{
    background-color: #fdfdfa;
    border: none;
}*/

.impressum {
    text-decoration: none;
    float: right;
    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>div>p{
    margin-bottom: 0.0rem;
}

.left-submenu{
    height: 400px;
}

/*Styling Google Maps Karten und Youtube Filme*/
.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%;
}
figure.wp-block-video > video{
    overflow: hidden;
    width: 100%;
    height: 100%;
}
/*Ende Styling Google Maps Karten und Youtube Filme*/

/*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 #444444;
    background-color: #444444;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.output-box-header p{
    color: #36a610;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0px;
}

.output-box-content{
    border: 1px solid #444444;
    background-color: rgba(245, 245, 231, 0.95);
    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: 2px solid #36a610;
    border-radius: 0.3rem;
    /*background-color: #fbfbf5;*/
    font-size: 1rem;
    color: #333333;
}
.wpcf7-form-control.wpcf7-submit:hover{
    border: 2px solid #36a610;
    background-color: #36a610;
    color:#ffffff;
}
/*Ende Sendebutton Formular*/

/*font-site Kontaktformular*/
section main div form p>label{
    font-size: 1rem;
}
/*end font-site Kontaktformular*/

/*Download button*/
section main div.button-links p a{
    color: #333333;
    border: 2px solid #36a610;
    border-radius: 0.3rem;
    padding: 0.2rem 0.5rem;
}
section main div.button-links p a:hover{
    background-color: #36a610;
    border: 2px solid #36a610;
    color: #ffffff;
}
section main div.button-links p a:visited{
    border: 2px solid #36a610;
    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*/