body.template-king .site-header {
    background: #000;
}
body.template-king .navbar {
    max-width: 960px;
    background-color: #000!important;
    margin: 0 auto;
    padding: 0;
}
body.template-king .navbar img.logo {
    max-width: 155px;
    height: auto;
}

body.template-king {
    font-family: Roboto,"Helvetica Neue",sans-serif;
    color: #333;
    font-weight: 400;
    font-style: normal;
    line-height: 20px;
    /* layout fisso: header + footer ancorati, main scorrevole */
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

body.template-king main.main {
    flex: 1 1 auto;
    overflow-y: auto;
}

body.template-king .site-footer {
    flex-shrink: 0;
}

body.template-king input{
    font-size: 1rem!important;
    color: #333!important;
}

body.template-king .brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

body.template-king .autel-hero {
    text-align: left;
    padding: 1rem 2rem;    
}
body.template-king .container {
    width: 100%;
}

body.template-king .autel-main {
    max-width: 960px;
    margin: 0 auto;
}
 body.template-king label {
    font-size: 1rem;
    color: #333;
 }

 body.template-king .switch {
    display: flex;    
    margin-bottom:1rem;
    align-items: center;
 }
 body.template-king .switch p {
    margin-bottom: 0px;
 }
 body.template-king .switch label .lever {
    margin: 0 5px 0 0px;
 }

 /* messaggi di errore validazione */
 body.template-king .king-field-error {
    display: block;
    font-size: .78rem;
    color: #c62828;
    margin-top: .2rem;
 }

 /* bottone conferma */
 body.template-king .btn.king-btn {
    background-color: #337ab7;
    text-transform: none;
    
 }
 body.template-king .btn.king-btn:hover,
 body.template-king .btn.king-btn:focus {
    background-color: #2a6496;
 }

 /* switch: colore "valid" quando attivo */
 body.template-king .switch label input[type=checkbox]:checked + .lever {
    background-color: #a5d6a7; /* green lighten-3 — sfondo lever attivo */
 }
 body.template-king .switch label input[type=checkbox]:checked + .lever::after {
    background-color: #4caf50; /* green — stesso colore del campo "valid" */
 }