/* Wrapper del form */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
html, body {
    width: auto;
    height: auto;
    /*border:2px solid red;*/
    overflow-X: hidden;
    /*font-family: 'Titillium Web', sans-serif !important;*/
}
body .login form,
span, 
p, 
input, h1, h2,h3,h4,h5,h6 { 
    font-family: 'Titillium Web', sans-serif !important;
}
.login input.password-input, input[type="password"] {
    font-family: Consolas, Monaco, monospace !important;
}
.dashicons, .dashicons-before:before{
    font-family: dashicons !important;
}
#login.custom form#registerform, 
#login.custom form#lostpasswordform {
     border-color: #aeb9be !important;
}
#login.custom form#registerform {
    padding: 24px 0px 46px 0px;
}

body.login #login.custom {
    max-width: 1024px !important;
    width: 100%;
    margin: 0 auto;
}
#login.custom form#registerform .section_ {
    /*background:#4444; */
    padding:5px 20px
}
#login.custom .not_associated, 
#login.custom #campi_associata {
    background: #e0e0e0 !important;
}
h1,h2,h3,h4,h5,h6,input, select, span, label {
    color: #004388 !important;
}
#login.custom .section_fer, 
#login.custom #campi_fer {
    background: #6fbc87;
    /*color: #fff !important;*/
    color: #2b3766 !important;
}
#login.custom .section_fgas,
#login.custom #campi_fgas {
    background: #004388;
    color: #fff !important;
}
.section_fer h1, .section_fer h2, .section_fer h3, .section_fer h4, .section_fer h5, .section_fer h6,
.section_fer input, .section_fer select, .section_fer span, .section_fer label,
#campi_fer h1, #campi_fer h2, #campi_fer h3, #campi_fer h4, #campi_fer h5, #campi_fer h6,
#campi_fer span, #campi_fer label {
     color: #2b3766 !important;

}

.section_fgas h1, .section_fgas h2, .section_fgas h3, .section_fgas h4, .section_fgas h5, .section_fgas h6,
.section_fgas input, .section_fgas select, .section_fgas span, .section_fgas label,
#campi_fgas h1, #campi_fgas h2, #campi_fgas h3, #campi_fgas h4, #campi_fgas h5, #campi_fgas h6,
#campi_fgas span, #campi_fgas label {
    color: #fff !important;
}

body #login.custom  form#registerform input[type="date"] {
    /*padding:0 10px;*/
    padding-top:2px !important;
    padding-bottom: 2px !important;
    font-family: 'Titillium Web', sans-serif;
}
#login.custom form#registerform input[type="date"], 
#login.custom form#registerform input[type="text"],
#login.custom form#registerform input[type="email"],
body #login.custom form#registerform input[type="number"],
#login.custom form#registerform select {
    font-size: 18px !important;
    padding: 6px 16px !important;
    border-color: #C8D5DC !important;
    border-width: 1px 1px 1px 1px !important;
    border-radius: 0px 0px 0px 0px !important;
    font-family: 'Titillium Web', sans-serif !important;
}

.select2-container .select2-selection--single {
    height: auto;
    height: 40px !important;
    
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
}
.select2-container--default .select2-selection--single{
     border-color: #C8D5DC !important;
     border-radius: 0px 0px 0px 0px;
}
#login.custom form#registerform input.error, 
#login.custom form#registerform select.error, 
#login.custom form#registerform .select2-selection.error {
    border: 2px solid red !important;
    background-color: #ffe5e5 !important;
}

#login.custom form#registerform .titolo-dati-utente {
    margin-bottom: 20px;
}

#login.custom form#registerform #user_login {
    pointer-events: none;
}
.login-action-register #login form#registerform .button.wp-hide-pw {
    top: 26px !important;
}
#login form#loginform .button.wp-hide-pw {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
body.wp-core-ui #login.custom #registerform select {
    font-size: 18px;
    width: 100% !important;
    max-width: unset;
    min-height: unset;
    line-height: 24px;
    font-family: 'Titillium Web', sans-serif;
}

/* Nascondi il campo username "user_login" */
#registerform p:nth-child(1) {
    /*visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;*/
}
form#registerform button.show-password,
form#registerform button.show-password:focus,
form#registerform button.show-password:focus-visible,
form#registerform button.show-password span {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
body.login #login.custom p.submit {
    padding-right: 20px;
}
body.login #login.custom .submit input[type="submit"] {
    padding-right: 50px !important;
    padding-left: 50px !important;

}





/* LOGIN CUSTOMIZER CSS */

body.login div#login h1.wp-login-logo a {
    /*background-size: 100% !important;
    width: 100%;*/
}

/* Your custom CSS goes here */
/* Custom CSS for Material Template */

#login form#loginform,
#login form#lostpasswordform{
    border: 1px solid #aeb9be  !important;
	box-shadow: none !important;
}
#login form#loginform .input,
#login form#lostpasswordform .input {
	border-bottom: 1px solid #C8D5DC;	
}
body.login #login .submit input[type="submit"] {
    border-radius: 20px !important;
    color: #fff !important;
    text-transform:uppercase;
    text-shadow: none;
    border:1px solid transparent;
}
body.login #login .submit input[type="submit"]:hover {
    background-color: transparent !important;
    color: #004388 !important;
    border: 1px solid #004388 !important;
}

.login #nav, .login #nav a, .login #backtoblog a, .login .privacy-policy-page-link a{
    color: #41c1e2;
}
/*.bar {
	position: relative;
	display: block;
	width: 100%;
}
.bar:before, .bar:after {
	content: "";
	height: 1px; 
	width: 0;
	bottom: 15px; 
	position: absolute;
	background: #000; 
	transition: all 0.2s ease;
}
.bar:before { left: 50%; }
.bar:after { right: 50%; }

input:focus ~ .bar:before, input:focus ~ .bar:after { width: 50%; }
*/
#login form .submit .button {
	box-shadow: none;
    text-shadow: none;
	border-radius:8px;
}
#login form .submit .button:hover, #login form .submit .button:focus {
	color: #373737;
}
/* register form */
.login-action-register #login {
	max-width:600px; 
	width:auto;
	padding:0 10px;
}
.login-action-register #login .button.wp-hide-pw:focus{
	outline:none;
	border-color: unset;
	box-shadow: unset;
	background:none;
	color:unset;
}
.login-action-register .button, .wp-core-ui .button-secondary {
	outline:none;
	border-color: unset;
	box-shadow: unset;
	background:none;
	color:unset;
}
.login-action-register #login form#loginform .input, 
/*#login form#registerform .input,*/
#login form#lostpasswordform .input {
	padding:0;	
}
.login-action-register #login .button.wp-hide-pw {
	top:20px;
}

.login-action-register form .input, .login input[type="password"], .login input[type="text"] {
	padding:0;
	min-height:unset;
}
.message.register {
	visibility:hidden; height:0;
}

.login-action-register #login form#loginform label, 
#login form#registerform label, 
#login form#lostpasswordform label{
	width:100% !important;
    font-family: 'Titillium Web', sans-serif;
}
/*#login #registerform {height:auto !important}*/
.logincust-reg-pass-wrap {
	position:relative;
}
/* hide text confirmation mail */
#reg_passmail{
	display:none;
}
.login .button.wp-hide-pw .dashicons {
	top:0px !important;
}
/* rp form */
.login-action-rp #login {
	max-width:600px; 
	width:auto;
	padding:0 10px;
}
.login-action-rp #login .wp-pwd .bar {
	display:none;	
}
.login-action-rp #login .submit.reset-pass-submit button {
	width:auto;	
}
/*  login-action-lostpassword */
.login-action-lostpassword #login {
	max-width:600px;
	width:auto;
	padding:0 10px;
}
.login-action-lostpassword #login #wp-submit {
	width:auto;	
}
body.login {
	background-attachment: fixed;
}
.login-action-register #login {
	padding-bottom: 30px;
}
#registerform input {
	outline:none;
}
body.login div#login h1 a {
	margin-bottom:0;
	margin-top:30px;
}
#loginform .wdm-links .wdm-register .register_ancor_style {
	color:#9b9b9b !important;
	text-decoration: none !important;
}
#loginform .wdm-links .wdm-register .register_ancor_style:hover {
	text-decoration: underline !important;
}
#login form .submit .button {
  /*border-radius: 0px !important;
	text-transform:uppercase;
	font-weight:bold;
	padding:0 25px;	*/
}
/* switch */
   /* Forza stile switch anche se tema lo rovina */
   body .form-switch .form-check-input {
    --bs-form-switch-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e) !important;
    width: 2em !important;
    margin-left: -2.5em !important;
    background-image: var(--bs-form-switch-bg) !important;
    background-position: left center !important;
    border-radius: 2em !important;
    transition: background-position .15s ease-in-out !important;
    }
    body .form-check .form-check-input {
        float: left !important;
        /*margin-left: -1.5em !important;*/
    }
    body .form-check-input {
        --bs-form-check-bg: var(--bs-body-bg) !important;
        flex-shrink: 0 !important;
        width: 1em !important;
        height: 1em !important;
        margin-top: .25em !important;
        vertical-align: top !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-color: var(--bs-form-check-bg) !important;
        background-image: var(--bs-form-check-bg-image) !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
        border: var(--bs-border-width) solid var(--bs-border-color) !important;
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    body .form-switch .form-check-input:checked {
        background-position: right center !important;
        --bs-form-switch-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e) !important;
    }
    body .form-check-input:checked[type=checkbox] {
        --bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e) !important;
    }
    body .form-check-input:checked {
        background-color: #0d6efd !important;
        border-color: #0d6efd !important;
    }
    body .form-switch input[type=checkbox]:checked::before {
        content: unset;
        margin: unset;
        height: unset;
        width: unset;
    }
    body .form-switch {
        /*padding-left: inherit;*/
    }
    body .form-check-input.check-standard {
        width: 1.5em !important;
        height: 1.5em !important;
    }
     body input[type=checkbox].form-check-input.check-standard:checked::before {
        content:'';
     }


