body {background-color:#f2f2f2;	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: 15px;
	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-image: url('../images/sfondo-colonna.jpg');
    background-origin: padding-box;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

 #colonnaDx {
 	  background-color:#fff;
  	border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    flex-direction: column;
 }

  .errore#colonnaDx {
    display: flex;
    flex-direction: column;
 }

  .errore#colonnaDx {
  	display: flex;
  }
  
  .errore #wrapperColonna {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  #wrapperImmagineMobile {
    display: none;
    background-image: url('../images/sfondo-colonna.jpg');
    background-origin: padding-box;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
  }

  #wrapperSlogan {
  	color: #fff;
 	  font-size: 28px;
 	  line-height: 1;
 	  font-weight: 300;
    margin-top: auto;
    margin-bottom: auto;
}

.istruzioni {font-size:14px;font-weight: 600;}

#messaggio-errore {font-size:16px;font-weight: 600;margin-bottom: auto;}

#container_form label {color:#b61918;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: 15px;
    border: 1px solid #ccc;
    font-size:16px;
    padding: 0 20px;
}

#container_form input:focus {
    border: 1px solid #b61918;outline: none;
}

#login {
	width: 100%;
    margin-top: 20px;
    border-radius: 30px;
    border: 0;
    background-color: #b61918;
    color: #fff;
    height: 35px;
    font-size: 15px;
}

.pulsantiPassepartout {margin-top: 30px;}
#pulsanteHome {margin-bottom: 20px;}

.pulsanteRound {text-align:center;margin-top:10px;}
.pulsanteRound a {
  display: block;
  padding: 0 20px;
  position: relative;
  border: 1px solid #b61918;
  border-radius: 20px;
  overflow: hidden;
  -webkit-transition: color .1s linear .1s;
  transition: color .1s linear .1s;
  line-height: 35px;
  z-index:1;
  color:#b61918;
}

.pulsanteRound a:hover {
    border: 1px solid #b61918;
}

.pulsanteRound a:before {
    display: block;
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border: 1px solid #b61918;
    border-radius: inherit;
    content: '';
}

.pulsanteRound a:after {
  display: block;
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  background: #b61918;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  content: '';
  -webkit-transition: -webkit-transform .3s cubic-bezier(.645,.045,.355,1) 0s;
  transition: -webkit-transform .3s cubic-bezier(.645,.045,.355,1) 0s;
  transition: transform .3s cubic-bezier(.645,.045,.355,1) 0s;
  transition: transform .3s cubic-bezier(.645,.045,.355,1) 0s,-webkit-transform .3s cubic-bezier(.645,.045,.355,1) 0s;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  z-index: -1;
  color: #b61918;
  border-radius:20px;
}

.pulsanteRound a:hover  {
    color: #fff;
}

.pulsanteRound a:hover:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

#footer {
	margin-top: auto;
    margin-bottom: 40px;
}

#container_testoPiede {
	text-align: center;
    font-size: 12px;
    max-width: 800px;
}

/*********************************/
/******** 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: 15px;padding: 0;}
  #wrapperColonna {padding: 30px 50px;}
	#container_testoPiede {max-width: 600px;}
  #wrapperImmagineMobile {display: block;padding: 20px 30px;border-top-left-radius: 15px;border-top-right-radius: 15px;}
}

@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;}
}





