﻿/* Global Styles */
body {
  background-color: #f2f2f2; 
  margin: 0;
  padding: 0;
  padding-top: 50px;
 }

.sectionwrapper {
  margin: 20px auto 60px auto;
  max-width: 1200px; 
}

@media (max-width: 488px) {
	.sectionwrapper { 
		margin-top: 80px; 
		padding: 0 4px; 
	}
	.section {
	}
}

.section {
  padding: 25px 15px; 
  margin: 0 auto; 
  background-color: White; 
  border-radius: 0 0 10px 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle grey shadow */
  transition: box-shadow 0.3s ease; /* Smooth transition for hover effect */
}
.section:hover {
    box-shadow: 0 4px 12px rgba(255, 235, 0, 0.3); /* Yellowish shadow */
}
.section h3 {
  font-size: 1.5rem;
  margin-top: ;
  color: #333;
}

.section img {
	padding: 2px; 
}

.section li {
  margin-bottom: 15px;
  font-size: 1rem;
}


/* Typography */
h1 {
  font-family: Verdana, Georgia, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 180%;
  text-align: center;
}

h3 {
}

p {
  font-family: Calibri, Helvetica, sans-serif;
  text-align: justify;
}

li {
  font-family: Calibri;
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 200%;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 auto;
  padding: 8px; 
  background-color: #2849a9;
  border-radius: 10px 10px 0 0; 
}


/* Product List */
div.productlist {
  flex-basis: 13.5%;
  margin: 6px 2px;
  box-sizing: border-box;
}

div.productlist p {
  text-align: center;
  text-decoration: none;
  color: Navy;
  font-family: Tahoma;
  font-size: 90%;
}

div.productlist img {
  border-radius: 10px;
  border: 0px solid #a6a6a6;
  -moz-box-shadow: 4px 4px 4px silver;
  -webkit-box-shadow: 4px 4px 4px silver;
  box-shadow: 4px 4px 4px silver;
  -moz-border-radius: 25%;
  -webkit-border-radius: 25%;
  height: 85px;
  width: 120px; 
  max-width: ;
  margin: auto;
  padding: 1px; 
}

div.productlist a,
div.productlistcontainer a {
  text-decoration: none;
}

div.productlistcontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Navigation */
header {
  background-color: #1e3a8a;
  padding: 2px;
  display: flex;
  border-bottom: 1px solid #2849a9;
position: fixed; 
top: 0; 
left: 0; 
right: 0; 
align-items: center; 
justify-content: center; 
z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
}
div.logo-plate {
  display: flex;
  justify-content: center;    /* horizontal centering */
  align-items: center;        /* vertical centering */
  max-width: 290px;
  width: 100vw;
  aspect-ratio: 7 / 1;
  padding: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.3) inset;
  background-image:
    linear-gradient(transparent 90%),
    linear-gradient(135deg, rgba(0, 0, 100, 0.25) 0%, transparent 50%),
    url('https://americansignassociation.com/images/logos/logo-background.jpg');
  background-size:
    200% 100%,  /* moving shine */
    auto,
    cover;
  animation: shine 8s linear infinite;
}
p.company-name {
  color: white;
  font-size: 130%;
  letter-spacing: -1px; 
  font-weight: 900;
  font-family: Georgia; 
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 120, 0.9);
  background: rgba(0, 0, 40, 0.35);
  width: 100%;
  padding: 6px 0;
  line-height: 1; 
  margin: 0; 
}

nav {
  background-color: #1e3a8a;
  border-radius: 5px;
}

.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navbar li {
  position: relative;
  flex: 1 1 auto;
  min-width: 120px;
  font-weight: bold;
  background-color: ;
 }

.navbar li a {
  display: block;
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

.navbar li a:hover {
  background-color: #5a83ff;
}
		
.highlight {
  background-color: #ff6600;
  color: white;
  font-weight: bold;
}

.highlight a {
  background-color: #ff6600;
  color: white;
  font-weight: bold;
}

/* Dropdown always stays absolute to avoid resizing navbar */
.navbar li ul {
  display: none;
  position: absolute;
  background-color: #1e3a8a;
  list-style-type: none;
  margin: 0;
  padding: 0;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.navbar li:hover > ul {
  display: block;
}

/* Collapsible Menu */
.collapsible {
  background-color: transparent;
  cursor: pointer;
  padding: 8px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
}

.content {
  padding: 0 30px;
  margin: 0 20px;
  display: none;
  overflow: hidden;
  background-color: transparent;
  text-align: center;
  font-family: Calibri;
}

.quote {
  margin: 15px 20px;
  background-color: #EBE0CC;
  padding: 10px 15px;
  font-style: italic;
  text-align: justify;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.image-container img {
  margin: 15px;
  max-width: 45vw;
  box-sizing: border-box;
}

.image-row p {
  text-align: center; 
}

.image-row img {
  height: 200px;
  width: auto;
  max-width: 100%; 
  margin: ;
  padding: 2px;
  justify-content: ;
}

@media (min-width: 801px) { /* If the screen is wider than this then the following styles apply */
#CallNowSideButton {
    position:fixed;
    top:0px;
    right: 0px;
    padding:0px;
    margin:0px;
    width: 40px;
    height:200px;
    background:#19be00;
    border-radius: 0px 0px 0px 25px;
	z-index: 3; 
}
#CallNowSideButton p {
    color: white;
    margin: 110px 0px 0px 0px;
    font-family:Tahoma; 
    font-size:120%; 
	font-weight: Bold; 
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);
}
#CallNowMobileButton
{
    display: none;  
	z-index: 100; 
}
.show-if-wider {
    display: inline-block; width: 100%; 
}
}


@media (max-width: 800px) {

  #CallNowMobileButton {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 100%;
    border-radius: 0;
    background-color: Blue;
    border-top: 2px solid Yellow; 
    position: fixed;
	bottom: 0; 
    margin: 0; 
    z-index: 2;
  }

  #CallNowMobileButton p {
    text-align: center;
    margin: 0;
    color: White;
    text-shadow: 1px 1px 1px Yellow; 
    font-size: 130%;
    font-family: Calibri;
    font-weight: bold;
    line-height: 90%;
  }

  .show-if-wider {
    display: none;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    flex-direction: row;
    justify-content: center;
  }

  .navbar li a {
    padding: 5px;
  }

  .navbar li ul {
    position: absolute;
    top: 100%;
    left: 0;
  }
}

img.rounded {
	border-radius: 10px; 
	margin: 5px; 
	max-width: 50%; 
}

/* Force long email addresses and similar strings to wrap */
a[href^="mailto:"],
.email,
/* or target the specific element containing the email */
.your-email-container {
    word-break: break-all;        /* or break-word in older browsers */
    overflow-wrap: anywhere;      /* modern browsers */
    word-wrap: break-word;        /* older browsers */
}

