Current File : /home/kelaby89/public_html/software/cam-price-calculator/styles.css |
/* Basic styles to ensure compatibility with Elementor */
.container {
max-width: 800px;
margin: auto;
padding: 20px;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
}
.image-container img {
width: 100%;
max-width: 400px;
height: auto;
}
form {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 400px;
}
label, input, select, button {
width: 100%;
margin-bottom: 10px;
}
button {
cursor: pointer;
}
#results {
margin-top: 20px;
}
/* Modal styles */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
padding-top: 60px;
}
.modal-content {
background-color: #fefefe;
margin: 5% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
max-width: 500px; /* Make sure the modal doesn't get too large */
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}