/* 
/*            stilelogin.css
/* Template Name:  www.strategieperdormirebene.it
/* Version 1.0  -  Color #99CCFF BASE   - background: #E6E6E6;
/* Email:  m.anastasi@amwebdesign.tp.it
/* Developed By: http://www.amwebdesign.tp.it/
/* Release: 15 FEBBRAIO 2024
/* Author:  Anastasi Michelangelo cell. 347 4830468
-------------------------------------------------------------*/

/*      GENERAL      */
h2 {
	color: #99CCFF;
	font-size: 1.6rem;
	font-weight: 700;
}
h2 > a {color: #99CCFF;
	font-weight: 700;
}
h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: #000;
}
h4 {
	background: #FFF; margin-bottom: 25px!important;
	line-height: 1.6;
    text-align: center!important;
	color: #000;
	font-size: 1.1rem!important;
	font-weight: 600;
}
a {color: #99CCFF;
	text-decoration: none;
    background-color: transparent;
}
a:hover {
    color: #0069d9;
    text-decoration: none!important;
}
a.underline {font-size: 16px; background: #99CCFF!important; color:#000;
    font-weight: 700; padding:2px 4px;
	border-bottom: 1px solid #000;
}
a:hover.underline {color:#fff;
	border-bottom: 1px solid #0069d9;
}
p { margin-top:20px;
	font-size: 16px;
    font-weight: 700
}

label {width: 100%;
    color: #1e2022;
    font-size: 0.8rem;
}
.hidden {
	display: none !important;
}
.formid {
	margin-top:140px !important;
}
.copy.mar_top .container{
    margin-top:120px !important;
}
.copy.mar_top .container {text-align: center!important;font-size: 14px;
    font-weight: 600
}
.copy.mar_top .container a {
    color: #000 !important;
    background-color: none;
}
.copy.mar_top .container a:hover {
    background: #99CCFF!important; color:#000;
}

/*    LAYOUT  NOT-FORM SIDE    */
#non-form-side {
    position: relative;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
}	
#non-form-side .overlay{
    position: absolute;
    top: 0px; 
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #99CCFF;
    background-image: url('../img/overlay.png');
    opacity: 30%;
}

/*    ELEMENTS TEXT-RELATED  */
.nm-fs-1 {
    font-size: 0.875rem;
}
.nm-tm {
    color: #1e2022 !important;
}
.nm-fw-bd {
    font-weight: 600 !important;
}
.nm-hvr {
    transition: all 0.2s ease-in-out;
}	
	
.txtcenter{
     text-align: center!important
}

/*     USER IMAGE     */
#icon {
	text-align: center!important;
    width:25%!important;
	height: 25%!important;
}

/*     FORM INPUTS        */
.form-control {
    background: #f1f1f1;
    color: #000!important; 
    border: none;
    border-bottom: 0.18rem solid #99CCFF;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    color: #1e2022;
    padding: 0rem 2.7rem!important; 
    height: 2.5rem;
}

.form-control:focus {
    color: #1e2022;
    outline: 0;
    box-shadow: none;border-bottom: 0.18rem solid #0B5ED7;
}

.form-control::placeholder {
    color: #97a4af; font-size: 1rem!important; font-weight: 500;
    opacity: 0.5;
}

/*     ICON USER/PASSWORD ICON       */
.nm-gp-pp {
    position: absolute;
    top: 0.2rem!important;
    left: .5rem;
    background-color: transparent !important;
    color: #99CCFF;
    border: none;
    z-index: 10;
    font-size: 1.2rem;
}	

/*     CAPSLOCK  CSS   */
#caps-warning { 
   position: absolute;
   top: 49%!important;
   left: 19%!important;
   font-weight: 600;
   font-size: 1rem;
   display: none;
   color: red;
}

.nm-gp {
    position: relative;
    margin-bottom: 1.5rem;
}
.nm-mb-2 {
	margin-bottom: 2rem !important;
}

/*     FORM SWITCH SLIDER FORM        */
.nm-sw-pd {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 18px;
    margin-bottom: -0.25rem;
    margin-left: 0.5rem;
}
.nm-sw-pd input:checked + .slider {
    background-color: #00FF00;
    border: 1px solid #000;
}
.slider {
    border-radius: 34px;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #99CCFF;
    border: 1px solid #97a4af;
    transition: .4s;
}
.slider:hover {
  border: 1px solid #000;
}
.slider:before {
    position: absolute;
    content: "";
    background-color: #007bff;
    border-radius: 50%;
    transition: .4s;
    height: 14px;
    width: 14px;
    left: 1px;
    bottom: 1px;
    box-shadow: 0 1px 15px 1px rgba(52, 40, 104, 0.34);
}
.nm-sw-pd input:checked + .slider:before {
   background-color: #000;
}
.nm-sw-pd input:checked + .slider:before {
  transform: translateX(17px);
}

/*    BUTTON SUBMIT/RESET     */
.nm-hvr:hover {
    box-shadow: 5px 4px 11px rgba(0,123,255, 0.85);
}

.nm-btn-1 {background: #99CCFF; color:#111;
    display: inline-block;border: 1px solid #111;  
    width: 200px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.5rem 1.1rem;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 0.3125rem;
}
.nm-btn-1:focus,.nm-btn-1:active {
	border: none;background: #99CCFF;
}
/*  BUTTON RESET       */
.nm-btn-reset {background: #ff0000; color:#fff;
    display: inline-block;border: 1px solid #111;  
    width: 200px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.5rem 1.1rem;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 0.3125rem;
}
.nm-btn-reset:focus,.nm-btn-1:active {
	border: none; background: #ff0000; 
}
.btn-primary:not(:disabled):not(.disabled):active:focus {
	box-shadow: none;
}

/*    INVALID LOGIN    */
#login-bad {
   position: absolute;
   top: 27.3%!important;
   left: 12%!important; padding:6px 15px;
   background: #ffe7e7;
   border: 1px solid #ff0000;
   color: #c10000;
   font-size: 20px;
   font-weight: 600;
   z-index: 99999999999;
}


/*        MEDIA QUERIES   IMPORTANT !!!!!!   */
@media (min-width: 576px){
  .nm-sm-tr {
    text-align: right !important;
  }	
  .nm-mb-sm-0 {
    margin-bottom: 0rem !important;
  }
}

@media (width: 768px){
  .nm-mb-md-2 {
    margin-bottom: 3rem !important;
  }	
  .nm-vh-md-100 {
    height: 100vh;
  }	
  .nm-st-md {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #logo-container {
    position: fixed;
  }
  .copy.mar_top .container{
    margin-top:100px !important;
  }
    /*     CAPSLOCK  CSS   */
	#caps-warning {
   top: 48%!important;
   left: 33%!important;
   font-size: 0.9rem!important; 
   }
   .form-control::placeholder {
	 font-size: 0.8rem!important;
  }
   #login-bad {
   top: 50%!important;
   left: 29%!important; 
   padding:4px 8px;
   font-size: 15px!important; 
   font-weight: 500!important;
  }
  
}

@media only screen and (max-width: 1024px) and (min-width: 769px){	
   #icon {
	text-align: center!important;
    width:10%!important;
	height: 10%!important;
  }
  /*     CAPSLOCK  CSS   */
	#caps-warning {
   top: 50.3%!important;
   left: 12%!important;
   font-size: 0.9rem!important; 
   }
   .form-control::placeholder {
	 font-size: 0.8rem!important;
  }
   #login-bad {
   top: 35.5%!important;
   left: 7%!important; 
   padding:4px 8px;
   font-size: 15px!important; 
   font-weight: 500!important;
  }
    
}

@media only screen and (max-width: 1366px) and (min-width: 1025px) {
   #icon { margin-top:-50px!important;
	text-align: center!important;
    width:15%!important;
	height: 15%!important;
  }
   /*  BUTTONS   */
   .nm-btn-1 {	   
    width:150px!important;
    font-size: 1rem;
  }
   /*  BUTTON RESET       */
  .nm-btn-reset {
	width:150px!important;
    font-size: 1rem;
  }
   .formid {
	margin-top:60px !important;
   } 
  h3 {
	font-size: 1rem;
  }
  h4 {
	margin-bottom: 25px!important;
	line-height: 1.2;    
	font-size: 1rem!important;
   }
   p { margin-top:10px!important;
	font-size: 14px!important;
    font-weight: 600
  }
  .copy.mar_top .container{
    margin-top:70px !important;
  }
  .copy.mar_top .container {
	  text-align: left!important;
	  font-size: 11px!important;    
  }
  .form-control::placeholder {
	 font-size: 0.9rem!important;
  }
   /*     CAPSLOCK  CSS   */
	#caps-warning {
   top: 39%!important;
   left: 15%!important;
   font-size: 0.9rem!important; 
   }
    #login-bad {
   top: 32%!important;
   left: 13%!important; 
   padding:4px 8px;
   font-size: 15px!important; 
   font-weight: 500!important;
  }
  
}

