body{
  margin: 0px;
  padding:0px;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

html {
  height: 100%;
  overflow-x:hidden;
}

a{
    outline: none;
}

.presentazione{
  padding:0;
  background:url('../img/back4.jpg') no-repeat fixed center top;
  font-family:'Lobster', 'sans-serif';
  background-size:cover;
}

/* ICON BAR AND TOGGLER */
.icon-bar {
	width: 22px;
	height: 2px;
	background-color: rgb(12, 102, 90);
	display: block;
	transition: all 0.2s;
	margin-top: 4px
}

/*REMOVE CLICK BORDER ON HAMBURGER ICON */
.navbar-toggler {
  border: none;
  background: transparent !important;
}

/* TOGGLER ANIMATION */
.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}


.testimonial {
  box-shadow: 2px 5px 5px 2px #d4d4d4;
}

p{
  display:inline;
}

.navbar-toggler{
  border: none;
  outline: none;
  padding:0;
  background: none;
}

.logoJPG{
  user-select: none;
}


.nav-link:hover{
  color:black;

}

.nav-link:after{
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: black;
  transition: width .3s;
}

.nav-link:hover:after{
  width: 100%;
  transition: width .3s;
}


.over-h{
  overflow-x: hidden;
}

.carsHr:before { /* Not really supposed to work, but does */
  display: block;
  content: "";
  height: 30px;
  margin-top: -31px;
  border-style: solid;
  border-color: black;
  border-width: 0 0 1px 0;
  border-radius: 20px;
}
.carsHr{
  overflow: visible; /* For IE */
  height: 30px;
  border-style: solid;
  border-color: black;
  border-width: 1px 0 0 0;
  border-radius: 20px;
}


.firstContainer{
  width: 100%;
  background:#dcdcdc;
  margin-top: 10%;
  padding: 4em 0 2em;
  transform:skewY(-1.5deg);
  margin-top: 80px;
}

.firstContainer .row {
  transform:skewY(1.5deg);
}




@media only screen and (max-width: 767px){
  .car-keys{
    width: 100%
  }
  .map{
    width: 100%;
  }
  .logoJPG{
    width: 250px;
  }

  .phoneTitle{
    margin-top:20%;
    font-size: 45px;
  }
  #loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
    text-align: center;
  }

  #loading-image {
    position: absolute;
    top: 40%;
    left: 45%;
    z-index: 100;
  }

  .firstContainer{
    margin-bottom:15%;
    padding:30px;
  }

  .map{
    height: 250px;
    margin-bottom: 20%;
  }

  .insertForm{
    margin-top:5%;
    margin-left:10%;
    margin-right:10%;
    margin-bottom:20%;
  }
  .presentazione{
    height: 400px;
    margin-bottom:20%;
  }

  #lightGallery{
    margin-top:0 !important
  }

  .fix{
    margin-bottom:2%
  }


}

@media only screen and (min-width: 768px){
  .car-keys{
    width: 100%
  }

  .logoJPG{
    width: 300px;
  }

  .phoneTitle{
    font-size: 35px;
  }

  .insertForm{
    margin-top:5%;
    margin-left:15%;
    margin-right:15%;
    margin-bottom:20%;
  }

  #loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
    text-align: center;
  }

  #loading-image {
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 100;
  }
}

@media only screen and (min-width: 1025px){
  .logoJPG{
    width: 300px;
  }

  .presentazione{
    height: 600px
  }

  .phoneTitle{
    font-size: 35px;
  }

  #loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
    text-align: center;
  }

  #loading-image {
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 100;
  }

  .insertForm{
    margin-top:5%;
    margin-bottom:20%;
  }

  .logo{
    margin-left:2%
    width: 420px;
  }

  .logoJPG{
    width: 420px;
  }

  .
{
    height: 600px;
  }
  .f, .s{
    margin-bottom:0;
  }
}



a {
  color: black;
  display:inline-block;
}

a:hover{
  color:red;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display:inline-block;
  margin: 40px 8px 10px 8px;
  color: #cccccc;
}



/* STRUCTURE */

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px;
  margin-top:10%
}

#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
}

#formFooter {
  background-color: #f6f6f6;
  border-top: 1px solid #dce8f1;
  padding: 25px;
  text-align: center;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}



/* TABS */

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/

input[type=button], input[type=submit], input[type=reset]  {
  background-color: #56baed;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 40px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover  {
  background-color: #39ace7;
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[id=login], input[id=password] {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

input[id=login], input[id=password]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[id=login], input[id=password]:placeholder {
  color: #cccccc;
}





/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}


.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #56baed;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after{
  width: 100%;
}



/* OTHERS */

*:focus {
  outline: none;
}


footer {
  position: relative;
  height: 65px;
  bottom: 0;
  width: 100%;
  background-color: #212529;
  color: #fff;
  align-items: center;
  justify-content: center;
}

footer p{
  margin-bottom:0;
}

p.copyright {
  position: absolute;
  width: 100%;
  color: #fff;
  font-size: 0.9em;
  text-align: center;
  bottom:0;
}

.card{
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
