/*
Theme Name: StadProfil
Theme URI: stadtprofil-fuerth.de
Author: pbcitchavd
Author URI: pbconsult.de
Description: Es ist ein Theme für StadtProfil
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: StadtProfil

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

*/

@font-face {
    font-family: "Graphik-Light";
    src: url("./fonts/Graphik-Light-Web.woff") format("woff"),
    url("./fonts/Graphik-Light-Web.woff2") format("woff2");
}

@font-face {
    font-family: "Graphik-Regular";
    src: url("./fonts/Graphik-Regular-Web.woff") format("woff"),
    url("./fonts/Graphik-Regular-Web.woff2") format("woff2");
}

@font-face {
    font-family: "Graphik-Medium";
    src: url("./fonts/Graphik-Medium-Web.woff") format("woff"),
    url("./fonts/Graphik-Medium-Web.woff2") format("woff2");
}

@font-face {
    font-family: "Graphik-Semibold";
    src: url("./fonts/Graphik-Semibold-Web.woff") format("woff"),
    url("./fonts/Graphik-Semibold-Web.woff2") format("woff2");
}

:root {
    --pbc-blue: #02192A;
    --pbc-sky-blue: #ECFEFF;
    --pbc-sky-blue-light:#F0FBFC;
    --pbc-grey-blue: #8b97a0;
    --pbc-grey: #707070;
    --pbc-grey-border: #DFDFE0;
    --pbc-grey-light: #B9B9B9;
    --pbc-font-regular: Graphik-Regular;
    --pbc-font-light: Graphik-Light;
    --pbc-font-medium: Graphik-Medium;
    --pbc-font-semibold: Graphik-Semibold;
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--pbc-font-regular), Sans-Serif;
    font-weight: unset!important;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: 1.8rem;
}

body {
    font-family: var(--pbc-font-regular), Sans-Serif;
    color: var(--pbc-blue);

}

.wrapper h3.gf_progressbar_title {
    opacity: 0!important;
}

.mt-1 {
    margin-top: 0.5rem!important;
}

.mtn-1 {
    margin-top: -0.5rem!important;
}

.mtn-2 {
    margin-top: -1.0rem!important;
}

.mtn-3 {
    margin-top: -1.5rem!important;
}

.mtn-4 {
    margin-top: -2.0rem!important;
}

.text-medium {
    font-family: var(--pbc-font-medium)!important;
}

.wrapper input {
    font-family: var(--pbc-font-regular)!important;
}

.wrapper input[type="checkbox"] {
    margin-top: 1px!important;
    margin-right: 6px!important;
}

/** setze alle einstellungen zurueck
.maincontent li[class^='gchoice'] input[type="radio"] {
    height: 0;
    position: absolute;
    width: 0;
    cursor: pointer;
}

.maincontent li[class^='gchoice'] input[type="radio"]:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #eee;
    border-radius: 50px;
    border: 1px solid var(--pbc-sky-blue-light);
}

.maincontent gfield_radio li input[type="radio"]:checked input[type="radio"]:after {
    background-color: var(--pbc-blue);
}

.maincontent li[class^='gchoice']:hover input[type="radio"]:after {
    background-color: var(--pbc-sky-blue-light)
}

.maincontent .gfield_radio li label {
    cursor: pointer;
    padding-left: 35px!important;
}
*/

/**
:todo hiet ein Test
 */

.gform_wrapper.gf_browser_chrome .gfield_radio li input[type="radio"] {
    margin-top: 0!important;
    margin-right: 10px!important;
}

.wrapper p, label,  option {
    font-size: 1.313rem!important;
    line-height: 1.8rem!important;
    letter-spacing: -0.063rem!important;
    margin: .875rem 0;
}

.wrapper select {
    font-size: 1.313rem!important;
    line-height: 1.8rem!important;
    letter-spacing: -0.063rem!important;
}

.wrapper h3 {
    font-size: 1.75rem;
    margin: 1.5rem 0;
    font-family: var(--pbc-font-medium);
    line-height: 2.25rem;
}



.wrapper h2 {
    font-size: 2rem;
    margin: 1.7rem 0;
    font-family: var(--pbc-font-medium);
    line-height: 2.5rem;
}



/**
 :todo checkbox-confirm
 */

.wrapper .checkbox-confirm  label.gfield_label {
    display: none;
}

.wrapper .checkbox-confirm div.ginput_container_checkbox {
    margin-top: 43px!important;
}

.wrapper .confirm p {
    font-family: var(--pbc-font-medium)!important;
}

.wrapper .confirm h3 {
    margin: 2.5rem 0 1.5rem 0!important;
}

.wrapper h6 {
    font-size: 0.875rem;
}

.wrapper .header-text {
    font-family: var(--pbc-font-light);
    font-size: 2.975rem;
    line-height: 3.5rem;
    margin: 1.5rem 0;
    letter-spacing: -3px;
}

.wrapper {
    margin: 0 auto;
    max-width: 980px;

}

header, footer {

}

.maincontent,
.marginalie,
.mainnav {
    box-sizing: border-box;
    margin: 0;
    padding: 0.5rem;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.mainnav {
    flex: 1;
}

.maincontent {
    flex: 2 1 440px;
    -moz-box-flex: 2 1 440px;
    -webkit-flex: 2 1 440px;
    -ms-flex: 2 1 440px;
}

.marginalie {
    flex: 1 1 auto;
    -moz-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
}

footer {
    clear: both;
}

/***
    GRAVITY FORM CSS
 */


/***
    button
 */

.button.gform_button, .button{
    background: var(--pbc-blue);
    color: var(--pbc-sky-blue-light);
    border: none;
    border-radius: 50px;
    padding: .3rem 0.875rem .38rem;
}

@media only screen and (max-width: 641px) {
    .gform_page_footer .button.gform_button, .button{
        background: var(--pbc-blue);
        color: var(--pbc-sky-blue-light);
        border: none;
        border-radius: 50px;
        padding: .3rem 0.875rem .38rem;
    }
}

@media only screen and (max-width: 540px){
    .maincontent {
        min-width:  220px;
        max-width: 411px;
    }


    .gform_body {
        max-width: 375px;
    }

    .wrapper .header-text {
        font-size: 1.7875rem;
    }
}


@media only screen and (max-width: 380px){

    .wrapper {
        min-width: 300px;
    }
}

/***
    Progressbar
 */

.gform_wrapper .gf_progressbar{
    padding: 1px!important;
    box-shadow: inset 0 0 1px 1px rgb(0 0 0 / 30%)!important;
}

.gform_wrapper .gf_progressbar_percentage {
    border-radius: 80px!important;
    font-size: 0px!important;
    height: 10px!important;
    position: absolute!important;
}

.gform_wrapper .gf_progressbar_percentage span{
    display: none!important;
}

.gform_wrapper .gf_progressbar:after {
    height: 10px!important;
    margin-top: 0px!important;
    background-color: var(--pbc-sky-blue-light)!important;
    box-shadow: inset 0 0 2px 2px rgb(0 0 0 / 5%)!important;
    border-radius: 30px!important;
}



/***
    Font Style
 */
label.gfield_label {
    font-family: var(--pbc-font-medium)!important;
    font-size: 1.313rem!important;
    line-height: 1.8rem!important;
}

.home .gform_heading h3.gform_title {
    font-size: 33px;
    display: none;
}


.gfield_description {
    font-size: 0.975rem!important;
}






