/* CONTAINER STYLING */

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

.content-wrapper {
    width: 80%;
    justify-self: center;
    align-content: center;
}

.main-content {
 max-width: 1400px;
 margin: 0 0;
 padding: 20px 5%;
 justify-self: center;

}

.infoTable-content {
  flex-grow: 1;
  min-width: 0;
  margin-left: 10%;
  padding-bottom: 5%;
}

/* LOGIN BANNER STYLING */
.login-banner {
    background-color: #2c4254;
    color: white;
    min-height: 55px;
    padding: 0px 37.5px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.links {
    display: flex;
    min-height: 56px;

}

.login-banner-small {
    display: none;
}

.login-banner-small .links a {
	font-family: 'Outfit', sans-serif !important;
}

.mobile-menu {
    display: none;
}

.mobile-menu li a {
		font-family: 'Outfit', sans-serif !important;
}


.links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
  	font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: .5px;
}

.links a:first-child {
  padding-right: 20px;
  white-space: nowrap;
}

.emergency {
  padding: 10px 20px;
  width: 100%;
  white-space: nowrap;
  border-left: .5px solid #ddd;
  align-self: center;

}


.links .material-icons {
    font-size: 18px;
}


/* HEADER + LOGO */
.header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #ffffff;
  padding: 0 4%;
  border-bottom: 2px solid #e0e0e0;
}

.logoMain {
  height: 65px;
  padding: 20px 10%;
  padding-bottom: 45px;
  flex-shrink: 0;
}

.logoSmall {
  display: none;
}

.logo {
  height: 65px;
  justify-content: space-between;
}

/* TOP/SUB NAVBAR */

.sub-nav {
  padding-bottom: 20px;
  align-self: center;
}

.sub-nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0%;
  width: 100%;
}

.sub-nav-list li{
  flex-grow: 1
}

.sub-nav-list a{
  text-align: center;
  position: relative;
  text-decoration: none;
  color: #142c41;
  padding: 22px 70px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-top: 1px solid #e0e0e0;
  transition: color 0.3s ease;
}

.sub-nav-list a:hover{
  text-decoration: underline;
  background-color: #e4ebf7;
}

.sub-nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px; 
    background-color: #f0512c; 
    transform: scaleX(0); 
    transition: transform 0.3s ease-in-out;
}


.sub-nav-list a:hover::before {
    transform: scaleX(1); 
}

.sub-nav-list a.active {
    font-weight: 600; 
    color: #142c41;
    background-color:  #e4ebf7;

}

.sub-nav-list a.active::before {
    transform: scaleX(1); 
}


/* HEADER + HEADER TEXT */

.section-header {
  color: #ffffff;
}

.header-text h1{
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 30px;
  margin: 0;
  text-align: left;
  color: #142c41;
  padding: 3% 0%;
  padding-top: .5%;
}


/* SIDE NAVBAR */
.side-nav {
    width: 250px;
    flex-shrink: 0;
    z-index: 100;
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.side-nav-list a{
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #142C41;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 20px 40px;
  padding-left: 20px;
  justify-self: left;
  width: 100%;
  border: .5px solid #e0e0e0;
  transition: background-color 0.5s ease;
}

.side-nav-list a:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 60px;
  background-color: #f0512c;
  transform: scaleY(0);
  transition: transform 0.4s ease-in-out;
}

.side-nav-list a:hover{
  text-decoration: underline;
  background-color: #e4ebf7

}

.side-nav-list a.active {
    font-weight: 600; 
    background-color:  #e4ebf7;
}

.side-nav-list a:hover::before {
  transform: scaleY(1);
}

.side-nav-list a.active::before {
  transform: scaleY(1);
}

/* INFO-ROW & INFO-BOXES */
.info-row {
  display: flex;
  align-items: flex-start;
}

.action-boxes {
  display: flex;
  align-items: flex-start;
	flex-direction: row;
	gap: 10px;
}

.info-boxes {
  display: flex;
  width: 100%;
  gap: 10px;
}

.info-box {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  background-color: white;  
  padding: 10px 10px;
  
}

.info-label {
    font-size: 16px;
	  text-decoration: none;
}

.info-label a {
    font-size: 16px;
	  text-decoration: none;
		color: white;
}

#report, #report:visited, #report:hover, #report:active {
	color: white;
}

#outage, #outage:visited, #outage:hover, #outage:active {
	color: #142C41;
}

.info-value {
    padding-left: 3%;
    font-weight: bold;
}


.info-box.action-box {
    padding: 1% 5%;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;

}
.info-box.action-box.report{
    color: white;
    background-color:#142C41;
    border: 0px;
}

.info-box.action-box.report:hover{
    color: white;
    background-color:#485263;
    border: 0px;
}

.info-box.action-box.outage{
    color: #142C41;
    background-color:#ffffff;
    border: 2px solid #142C41 !important;
}

.info-box.action-box.outage:hover{
    color: #0f4b6f;
    background-color:#e4ebf7;
    border: 2px solid #485263 !important;
}

.info-box.affected-customers, .info-box.active-outages {
  color: #142c41;
  flex: 3;
  align-items: center;
  border: 1px solid #e0e0e0;
  box-shadow: inset 7px 0 0 0 #f0512c;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  justify-content: space-between;
  padding: 10px 20px;

}

/* SEARCH FIELD */
.search-container{
    position: relative;
}

.search-field {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 0px;
    border-bottom: 1.5px solid #ccc;
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Outfit' ;
}

.search-icon {
  position: absolute;
  top: 40%;
  right: 15px;
  transform: translateY(-50%);
  color: #f0512c;
  cursor: pointer;
}

/* GENERAL TABLE STYLES */
.table-container {
  padding-top: 3%;
  justify-self: center;
  width: 100%;
}

.hidden {
  display: none !important;
}

.toggle-btn {
  display: inline-block;
  width: 20px;
  cursor: pointer;
  margin-right: 8px;
  color: #142C41;
}

.sortable {
  cursor: pointer;
}


/* COUNTY TABLE STYLING */
#countyTable{
  justify-self: center;
  border-collapse: collapse;
  overflow:hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #142C41;
  width: 100%;
  table-layout: fixed;
  font-family: 'Roboto'
}

#countyTable th:nth-child(1) {
    width: 25%;
}
#countyTable th:nth-child(2) {
    width: 40%;
}
#countyTable th:nth-child(3) {
    width: 33%;
}

#countyTable th,
#countyTable td {
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

#countyTable th {
  color: #ffffff;
  background-color: #142C41;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

#countyTable th:hover {
  background-color: #2c4254;
}

#countyTable td {
  align-items: center;
}

#countyTable th:first-child,
#countyTable td:first-child {
  text-align: left;
}
#countyTable th:first-child{
  padding-left: 40px; 
}


/* SLIDE ANIMATION FOR TABLE STYLING */
.slide-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.slide-container.open {
  max-height: 5000px;
}

/* INTERIOR TOWN TABLE STYLING */
.town-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  justify-self: center;
  border-bottom: 1px solid #e0e0e0;
  margin-top: -15px;
}

.town-link {
  text-decoration: none;
  color: #008297;
  cursor: pointer;
  padding: 4px 0px;
  padding-left: 20px;
  display: inline-block;
}

.town-link:hover {
    text-decoration: underline;
}

.bg-blue {
  background-color: #142C41; 
}

.bg-blue:hover {
  background-color: #2c4254;
}

.town-table td:nth-child(1) {
    width: 20%;
}

.town-table td:nth-child(2) {
    width: 40%;
}

.town-table td:nth-child(3) {
    width: 29%;
}


/* muniDetails.html STYLING */
.header-top-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 0 0;
  padding: 1% 0;
  justify-content: space-around;
  padding-bottom: 2%;
}


.muniHeader h1{
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 30px;
  margin: 0;
  text-align: left;
  margin: 0;
  padding-bottom: 20px;
  color: #142c41;
}

.section-content {
  flex-grow: 1;
  min-width: 0;
  margin-left: 10%;
  
}
.section{
  padding: 1% 5%;
  padding-bottom: 3%;
  margin-bottom: 20px;
  border: .5px solid #e0e0e0;

}

.section-header {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  padding: 1% 5%;
  text-align: left;
  color: #142C41;
}

/* Line item styles */
.line-item {
  margin: 0 5%;
  display: flex;
  flex-direction: row;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 1%;
  color: #142C41;
  font-family: 'Roboto'
}

.line-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ccc;
}

.line-item span {
  margin-bottom: 1%;
}

/* STORM BANNER STYLING */
.storm-banner {
    background-color: #cf2f35;
    color: #ffffff;
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
}

.storm-banner.is-hidden {
    display: none;
}

.storm-banner.is-visible {
    display: block;
}

.storm-info.is-hidden {
    display: none;
}

.storm-info.is-visible {
    display: flex;
}

.storm-banner:not(.is-expanded) {
    max-height: 102px; 
}

.storm-banner.is-expanded {
    max-height: 300px; 
}

.banner-top {
    display: flex;
    justify-content: space-between;
    padding: 34px 0px;
    box-sizing: border-box;
}

.banner-title {
    display: flex;
    align-items: center;
    gap: 10%;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 27px;
    white-space: nowrap;
    
}

.toggle-banner-btn {
    background: #142C41;
    font-family: 'Roboto', sans-serif;
    border: none;
    color: white;
    border-radius: 5px;
    font-weight: 300;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    white-space: nowrap;
    align-items: center;

}

.banner-info {
    width: 90%;
    justify-self: center;
}

.banner-message {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    padding-left: 3%;
    margin-right: 40%;
		margin-top: 0px;
		margin-bottom: 0px;
}

.banner-report-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 8px 20px;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Outfit', sans-serif;
}

.banner-report-btn:hover {
    background-color: #ffffff59;
}

.banner-btn {
    background: transparent;
    border: 0px solid #ffffff;
    color: #ffffff;
    padding: 8px 20px;
    font-weight: 300;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Outfit', sans-serif;
}

.banner-btns {
  padding-top: 1%;
  padding-left: 3%;
	padding-bottom: 34px;
  display: block;
  gap: 30px;
}

.footer {
  width: 75%;
  justify-self: left;
  padding: 5% 0%;
}

.footer-header {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  padding: 0% 5%;
  text-align: left;
  color: #142C41;
}

.footer-paragraph {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 18px;
    color: #142c41;
    padding: 0% 5%;
}

/* ERROR TEXT */

.error-text-container {
  margin-top: 30%;
  background-color: #142C41;
  padding: 50px;
  color: white;
  text-align: center;
}

.error-text-container h3 {
  white-space: nowrap;
  font-size: 65px;
  margin: 0px;
}

.disclaimer-container {
  display: flex;
  align-items: flex-start;
  padding: 15px 0px 10px 10px;
  margin-bottom: -15px;
  font-size: 16px;
  color: #142c41;
  font-family: 'Outfit', sans-serif;
  font-style: italic;
}

.back-btn {
  display: inline-flex !important;
  padding: 50px;
  align-items: center;
  gap: 4px;
  text-decoration: none !important;
}

.back-btn-mobile {
  display: inline-flex !important;
	gap:  4px;
	align-items: center;
  text-decoration: none !important;
}

/*  404 ERROR PAGE  */

.error-content-wrapper {
  width: 100%;
  height: 1000px;
  justify-self: center;
  align-content: center;
  align-items: center;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(255,255,255,0) calc(100% - 200px), #ffffff 100%), url('common-error-404.jpg'); 
  
  /* background-image: url(./404ErrorBackground.jpg); */
  background-position: center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
}

.error-main-content {
 max-width: 100%;
 margin: 0 0;
 padding: 0% 0% 10% 10%;
 justify-self: left;
 align-items: center;

}

.error-page {
  min-height: 420px;
  display: flex;

}

.error-page-inner {
  max-width: 1000px;
}

.error-code {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 70px;
  line-height: 70px;
  color: #142c41;
}

.error-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  color: #142c41;
  margin-top: -40px;
}

.error-message {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: #142c41;
  max-width: 440px;
}

.error-message a {
  color: #1F6099;
  text-decoration: none !important;
}

.error-message a:hover {
  color: #0A3B66;
  text-decoration: none !important;
}