/***********floating popout css**********/
body {
  overflow-x: hidden !important; /* Hide horizontal scrollbar */
  overflow-y: auto; /* Allow vertical scrolling */
}

.form-container {
    position: fixed; /* Keep the container fixed */
    top: 40vh; /* Adjust as needed, 30% from the top for example */
    right: 20px; /* Distance from the right */
    background-color: transparent;
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack buttons vertically */
    gap: 20px; /* Space between buttons */
    z-index: 10; /* Ensure it's above other content */
	right:-178px;
}

.form-container button.btn.trigger, .form-container2 button.btn.trigger, .form-container button.btn.link {
	display: inline-block;
    cursor: pointer;
    transform: rotate(-90deg);
    transform-origin: left;
    font-size: 14px;
    margin: 68px 30px;
    background-color: #F0F0F0 !Important;
    width: max-content;
    text-align: center;
	font-weight: bold;
	color: #012545;
	height: 30px;

}
@media only screen and (max-width: 479px) {
    .form-container button.btn.trigger, .form-container2 button.btn.trigger, .form-container button.btn.link {
	display:none;
	}
}
/***
.form-container2{
  width: 400px;
  height: 200px;
  margin: 25px;
  padding: 1%;
  background-color: transparent !Important;
  display:flex;
  position: fixed;
  top: 50%;
  right: -383px;
  z-index:10;
  
}
.form-container3{
  width: 400px;
  height: 200px;
  margin: 25px;
  padding: 1%;
  background-color: transparent !Important;
  display:flex;
  position: fixed;
  top: 70%;
  right: -383px;
  z-index:10;  
}
.popout.form {
    margin-left: -300px;
}
/*********button styling***/
button h5 {
    margin-bottom: 0px !important;
    line-height: 1 !important;
}
button.btn.trigger {
    padding: 5px 15px;
}
button.btn.link.second-button {
    padding: 5px 15px;
}
/**form-slide{
  float: left;
  width: 280px;
  display: block;
  margin: 0 auto;
}

.slideOut{
	transition-duration: 1.33s;
	-webkit-transition-timing-function: ease-in-out; /* Safari and Chrome
    transition-timing-function: ease-in-out;
}

.slideIn{
	transition-duration: 1.33s;
	-webkit-transition-timing-function: ease-in-out; /* Safari and Chrome 
    transition-timing-function: ease-in-out;
}

.popOut{
  transform: translateX(-78%);
  
}

.moveIn{
  transform: translateX(0);
}
#click-engineer h5, #click h5, #lit-building-locator h5   {
    display: inline-block;
    cursor: pointer;
    transform: rotate(-90deg);
    transform-origin: left;
    font-size: 14px;
    margin: 166px 10px;
    background-color: #f0f0f0;
    color: #333;
    width: 185px;
    text-align: center;
	font-weight: bold;
	color: #012545;
	height: 30px;
}

#lit-building-locator-container {
    margin-bottom: 10px; /* Space between buttons, adjust as necessary 
}
**/

div#form-contact {
    padding-left: 135px;
	width: 400px;
}
/*****************modal CSS***************/
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --clr-main: #d75b4c;
  --clr-dark: #333;
  --clr-neutral: #fff;
  --clr-light: #fff;
}

body {
  min-height: 90vh;
  font-size: 1.125em;
  line-height: 1.6;
  color: var(--clr-body);
  background: var(--clr-neutral);
  overflow-x: hidden;
  text-align: left;
}

.modal-contact {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem 2.5rem;
  width: 30em;
  border-radius: 0.5rem;
}
.close-button {
  float: right;
  width: 1.5rem;
  font-size: 1.2em;
  line-height: 1;
  padding: 0 .2em .15em;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  background-color: var(--clr-neutral);
  color: var(--clr-dark);
  transition: color 0.12s ease-in-out;
}
.close-button:hover {
  color: var(--clr-main);
}
.show-modal-contact {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
  z-index: 1000;
}