html {
    height: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    line-height: 1.3;
}

h1 {font-size: 18px;color: #b61918;font-weight: 800;}
h1#titolo-errore {font-size: 25px;}
a {text-decoration: none;}
div {box-sizing: border-box;}


.d-flex {display: -ms-flexbox!important;display: flex!important;}
.flex-column {-ms-flex-direction: column!important;flex-direction: column!important;}
.align-items-center {-ms-flex-align: center!important;align-items: center!important;}
.justify-content-center {-ms-flex-pack: center!important;justify-content: center!important;}
.no-gutter {padding-right: 0; padding-left: 0;}
.row {display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap;}

.wrapperLogin {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


.pannelloLogin{
	height: auto;
	width: 800px;
	box-shadow: 0 15px 70px -8px rgba(0,0,0,0.22);
	border-radius: 5px;
	margin-top: auto;
}

.colonnaSx, .colonnaDx {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 30px 50px;
    min-height: 400px;
}

.colonnaSx {
    display: flex;
    flex-direction: column;
    background-origin: padding-box;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.colonnaDx {
    background-color: #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    flex-direction: column;
}

#wrapperSlogan {
    font-size: 16px;
    font-weight: 300;
    margin-top: auto;
    margin-bottom: auto;
}

.errore_accesso {
    color:red;
    margin:10px 0px 10px 0px;
    text-align:center;
}

.logoApp {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #444;
    font-size: xx-large;
    font-style: italic;
    font-weight: bold;
}

#container_form label {color:#333;font-size:14px;font-weight: 600;}
#container_form dt {margin-top:10px;}
#container_form dd {margin:0px;}
#container_form input[type="text"], #container_form input[type="password"] {
	width: 100%;
    height: 40px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size:16px;
    padding: 0 20px;
}

#container_form input:focus {
    border: 1px solid #66afe9;outline: none;
}

.btn {
    text-align: center;
    display: block;
    padding: 0 20px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    -webkit-transition: color .1s linear .1s;
    transition: color .1s linear .1s;
    line-height: 35px;
    z-index: 1;
    border: 1px solid transparent;
    height: 35px;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
}

.login {
    margin-top: 20px;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.login:hover {
    background-color: #499949;
    border-color: #4cae4c;
}

.pulsantiAccessori {
    margin-top: 30px;
}

.pulsanteRound {text-align:center;margin-top:10px;}
.pulsanteRound a {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.pulsanteRound a:hover {
    background-color: #204d74;
    border-color: #122b40;
}

#footer {
	margin-top: auto;
    margin-bottom: 20px;
}


.container_testoPiede {
    text-align: center;
    font-size: 12px;
    max-width: 800px;
}

.container_testoPiede a {
    color: #333;
}

/*********************************/
/******** MEDIA QUERY ***********/
/*******************************/

@media (max-width: 992px) { 
	.pannelloLogin {width: 400px;}
	.colonnaSx {display: none;}
	.colonnaDx{-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;border-radius: 5px;padding: 0;}
    #wrapperColonna {padding: 30px 50px;}
	.container_testoPiede {max-width: 600px;}
}

@media (max-width: 767px) { 
	.pannelloLogin {width: 320px;}
    #wrapperColonna {padding: 30px 30px;}
	.container_testoPiede {max-width: 300px;}
}

@media only screen 
and (min-device-width : 411px) 
and (max-device-width : 823px) 

and (orientation : landscape) { 
	#wrapperLogin {position:relative;}
	.container_testoPiede {margin-top:50px;}
}

@media (max-height: 769px) { 
	#container_form  dl {margin:0px;}
	#container_form input[type="text"], #container_form input[type="password"] {height: 35px;}
	.container_testoPiede {font-size:9px; margin-top:10px;}
	#footer {margin-bottom:20px;}
}

