@font-face {
  font-family: 'binnerdregular';
  src: url('../fonts/binnern-webfont.woff2') format('woff2'),
       url('../fonts/binnern-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}
html {
  color: #222;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 16pt;
  line-height: 1.4;
}
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #222;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: center;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {
  --gradient: linear-gradient(
    85deg,
    hsl(0deg 0% 44%) 0%,
    hsl(344deg 0% 52%) 5%,
    hsl(344deg 0% 60%) 10%,
    hsl(0deg 0% 69%) 18%,
    hsl(344deg 0% 79%) 25%,
    hsl(344deg 0% 89%) 34%,
    hsl(0deg 0% 100%) 43%,
    hsl(344deg 0% 86%) 52%,
    hsl(344deg 0% 73%) 62%,
    hsl(0deg 0% 60%) 72%,
    hsl(344deg 0% 55%) 81%,
    hsl(344deg 0% 51%) 91%,
    hsl(0deg 0% 46%) 100%
  );
  
}

.libre-franklin-alcusa {
  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
header {
  padding:1em 0;
  position: relative;
}
header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
header .logo img {
  display: block;
  width: clamp(100px, 25%, 200px);
  height: auto;
  margin: 0 auto;
}
header .logo img {
  display: block;
  width: clamp(100px, 70%, 200px);
  height: auto;
  margin: 0 auto;
}
.soon {
  color: #fff;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  background: url('../img/comingsoon.webp') no-repeat center center;
  background-size: cover;
  height: 100vh;
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 2em;
  flex-direction: column;
}
.brand, .slogan {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 6vw, 3rem);
  white-space: nowrap;
}
.slogan {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin: -7px 0;
}
.alcusa-red {
  color: #cd0000;
}
.contact-item {
  padding: 10px 0;
  display: inline-block;
  font-family: "Rowdies", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 0.8em;
}
.hero h1 {
  font-family: "binnerdregular","Rowdies", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.5rem, 7vw, 3rem);
  margin: 0;
  padding: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 5px #000;
}
h1, h3, h4{
  font-family: "binnerdregular","Rowdies", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 7vw, 3rem);
  margin: 0;
  padding: 0;
  text-align: center;
  color: #333333;
}
h3 {
  font-size: clamp(1.2rem, 4vw, 2.0rem);
  padding: 0.5em 0;
}
h4 {
  font-size: clamp(1.0rem, 3vw, 1.5rem);
  padding: 0.5em 0;
}
.hero h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin: 0;
  padding: 0;
  letter-spacing: 0.7em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 5px #000;
}
.contact-form {
  background-color: #efefef;
  padding-top: 1em
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: black;
  text-decoration: underline;
  text-decoration-color: #cd0000;
}
#menubutton {
  display: block;
  position: absolute;
  top: 10px;  
  right: 10px;
  z-index: 1000;
  background-color: transparent;
  border: none;
  width: 30px;
}
.navbar {
  display: block;
  position: absolute;
  top: 50px;
  right: -100%;
  width: 100%;
  z-index: 1000;
  color: transparent;
  padding: 10px;
  text-align: center;
  background-image: linear-gradient(
    75deg,
    hsl(100deg 11% 95%) 0%,
    hsl(44deg 7% 85%) 1%,
    hsl(21deg 6% 77%) 2%,
    hsl(359deg 4% 68%) 5%,
    hsl(326deg 3% 59%) 8%,
    hsl(316deg 2% 54%) 12%,
    hsl(320deg 2% 49%) 17%,
    hsl(324deg 1% 44%) 23%,
    hsl(328deg 1% 40%) 30%,
    hsl(330deg 1% 41%) 39%,
    hsl(330deg 1% 47%) 48%,
    hsl(330deg 0% 54%) 59%,
    hsl(330deg 0% 61%) 69%,
    hsl(221deg 0% 62%) 79%,
    hsl(221deg 0% 46%) 87%,
    hsl(221deg 1% 31%) 94%,
    hsl(221deg 2% 18%) 98%,
    hsl(220deg 13% 5%) 100%
  );
  transition: right 0.5s ease-in-out;
}
.navbar.open {
  right: 0;
  transition: right 0.5s ease-in-out;
}
.navbar nav {
  display: flex;
  flex-direction: column;
  justify-content: right;
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: end;
}
.navbar nav a {
  display: block;
  margin: 10px 0;
  font-weight: 300;
  font-family: "Rowdies", sans-serif;
  font-size: 1.2em;
  color: rgb(255, 255, 255);
  border-bottom: 1px solid #fff;
}
.navbar nav a:hover {
  color: #ff6b3a;
  /* text-decoration: underline; */
}
.navbar nav a.current {
  color: black;
}
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  min-height: 25vw;
  font-size: 1em;
  text-wrap: balance;
  color: #fff;
  text-shadow: none;
}
.hero-home {
  background: url('../img/hero-home.webp') center center / cover no-repeat;
}
.hero-products {
  background: url('../img/hero-products.webp') center center / cover no-repeat;
}
.hero-portal {
  background: url('../img/hero-portal.webp') center center / cover no-repeat;
}
.hero-contact {
  background: url('../img/hero-contact.webp') center center / cover no-repeat;
}
.honeywell {
  max-width: clamp(250px,33vw,80%);
  margin: 2.5vw;
}
.fitpix {
  max-width: 100%;
}
.main {
  padding: 20px 0px;
}
.main p {
  font-size: 0.8em;
  line-height: 1.5em;
  margin: 0 auto;
  max-width: 800px;
}
.products {
  padding: 2em 0
}
.products h2 {
  font-family: "Rowdies", sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  margin: 0 auto;
  letter-spacing: normal;
  max-width: 800px;
  color: white;
  background: #cd0000;
  padding: 3px 7px;
  display: inline-block;
  min-width: 300px;
}
.products ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.products ul li {
  font-family: "Rowdies", sans-serif;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  max-width: 800px;
  background-image: var(--gradient);
  border-radius: 7px;
  padding: 2px 7px;
  color:rgb(25, 25, 25);
  max-width: 300px;
  transition: transform 0.2s;
}
.products ul a {
  text-decoration: none;
}
.products ul a>li:hover {
  color: rgb(149, 12, 12);
  transform: scale(1.15);
  transition: transform 0.2s;
}
.products p {
  text-wrap: balance;
}
.social-media {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 20px 0;
}
.social-media img {
  width: 40px;
  height: auto;
  margin: 0 10px;
}
.sent-message, .customer-message, .file-message, .edit-message, .upload-message {
  font-weight: 800;
  color: #0baa00;
  visibility: hidden;
  font-size: 15px;
}
.login-message {
  font-weight: 500;
  color: red;
  visibility: hidden;
}
#waiting {
  visibility: hidden;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  & div {
    animation: 1s linear infinite rotatearrows;
  }
}
#waiting-add, #waiting-upload, #waiting-edit {
  visibility: hidden;
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
  & svg {
    animation: 1s linear infinite rotatearrows;
  }
}
@keyframes rotatearrows {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.footer-chrome {
  color: black;
  padding: 30px 30px 0px;
  text-align: center;
  font-family: 'Rowdies', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1em;
  background-image: var(--gradient);
}
footer .logo img {
  display: block;
  width: clamp(100px, 25%, 200px);
  height: auto;
  margin: 10px auto 1em;
}
footer nav {
  margin: 15px auto;
  border-top: 3px solid #cd0000;
  padding-top: 1em;
}
footer nav a {
  display: inline-block;
  margin: 0 20px;
  font-weight: 300;
  font-family: "Rowdies", sans-serif;
  font-size: 0.9em;
  color: rgb(61, 61, 61);
}
.byline {
  font-size: 12px;
  color: rgb(100, 100, 100);
  text-align: center;
  text-shadow: none;
}

/* ======= ADMIN PAGE ======== */
.adminbox {
  background: #eae8e8;
}
.boxheader {
  font-size: 24px;
  font-family:"binnerdregular","Rowdies", sans-serif;
  background: #cd0000;
  color: white;
  padding: 10px 10px 10px 24px;
}
.boxbody {
  padding: 24px;
}
.pdfdoc {
  position: relative;
  padding-left: 14px;
}
.pdfdoc::before {
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3e%3cpath d='M181.9 256.1c-5-16-4.9-46.9-2-46.9 8.4 0 7.6 36.9 2 46.9zm-1.7 47.2c-7.7 20.2-17.3 43.3-28.4 62.7 18.3-7 39-17.2 62.9-21.9-12.7-9.6-24.9-23.4-34.5-40.8zM86.1 428.1c0 .8 13.2-5.4 34.9-40.2-6.7 6.3-29.1 24.5-34.9 40.2zM248 160h136v328c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V24C0 10.7 10.7 0 24 0h200v136c0 13.2 10.8 24 24 24zm-8 171.8c-20-12.2-33.3-29-42.7-53.8 4.5-18.5 11.6-46.6 6.2-64.2-4.7-29.4-42.4-26.5-47.8-6.8-5 18.3-.4 44.1 8.1 77-11.6 27.6-28.7 64.6-40.8 85.8-.1 0-.1.1-.2.1-27.1 13.9-73.6 44.5-54.5 68 5.6 6.9 16 10 21.5 10 17.9 0 35.7-18 61.1-61.8 25.8-8.5 54.1-19.1 79-23.2 21.7 11.8 47.1 19.5 64 19.5 29.2 0 31.2-32 19.7-43.4-13.9-13.6-54.3-9.7-73.6-7.2zM377 105L279 7c-4.5-4.5-10.6-7-17-7h-6v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-74.1 255.3c4.1-2.7-2.5-11.9-42.8-9 37.1 15.8 42.8 9 42.8 9z' fill='red'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
  position: absolute;
  left: -6px;
  top: 1px;
  padding-right: 10px;
}
td > span {
    cursor: pointer;
}
.admin label.form-label, .admin .form-control, .form-select {
  font-size: medium;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
}

.password-container {
  position: relative;
  width: 300px;
}

.password-container input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.eye-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 22px;
  height: 22px;
  fill: #666;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.eye-icon.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.eye-icon.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
table { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: smaller;
}
.admin th {
  font-family: 'Rowdies', sans-serif;
  font-weight: 500;
  font-size: smaller;
  color:#cd0000;
}
.addproperty {
  color: green;
  font-weight: 800;
  font-style: italic;
}
dialog {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: medium;
  font-weight: 300;
  width: clamp(300px, 80%, 500px);
  position: relative;
  box-shadow: 1rem 1rem 1.5rem rgba(0,0,0,0.8);
}
dialog h3 {
  font-family: 'Rowdies', sans-serif;
  font-weight: 500;
  font-size: large;
  color: #cd0000;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
#close-dialog {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  cursor: pointer;
}
dialog::part(container) {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 500px;
  margin: auto;
}
dialog::part(title) {
  font-family: 'Rowdies', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #cd0000;
}
dialog input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 25px 0;
}
dialog input[type="text"]::placeholder {
  color: #5d97f5;
  font-style: italic;
}
.dialog-footer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-top: 20px;
}
.table {  
  font-size: 0.7rem;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}
invisible {
  visibility: hidden;
}
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/*==================================================
=                Mobile First Method               =
==================================================*/

/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .followus {
    text-align: left;
    border-left: 3px solid #cd0000;
    padding-left: 20px;
    align-self: center;
  }
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  #menubutton {
    display: none;
  }
  .navbar {
    display: block;
    position:relative;
    top: 0;
    right: 0;
    width: 100%;
  }
  .navbar nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .navbar nav a {
    display: inline-block;
    margin: 0 20px;
    font-weight: 300;
    font-family: "Rowdies", sans-serif;
    font-size: 1.2em;
    color: white;
    border-bottom: none;
  }
  .navbar nav a:hover {
    color: #ff6b3a;
    text-decoration: none;
  }
  .brandcontact {
    display: flex;
    justify-content: space-between;
  } 
  .contact-item {
    font-size: 1em;
  }
  footer nav {
    margin: 0px auto;
    border-top: 0px;
    padding-top: 0px;
  }
  .social-media {
    justify-content: flex-start;
  }
  .social-media svg {
    margin-right: 100px;
  }

  .brand-block {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .brand-text {
    display: flex;
    flex-direction: column;
  }
  footer .logo img {
    width: 80%;
    max-width: 200px;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {
  
}

@media only screen and (min-width: 35em) {
  
}


@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

