/* Thermal Home Exteriors, Inc. - Site Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
    background: #ffffff;
    line-height: 1.5;
}

a {
    color: #1f5fa8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Page wrapper - centered fixed-width like original */
#wrapper {
    width: 950px;
    margin: 0 auto;
    background: #ffffff;
}

/* Banner / Header */
#banner {
    width: 950px;
    height: auto;
    line-height: 0;
}

#banner img {
    display: block;
    width: 950px;
    height: auto;
}

/* Navigation */
#nav {
    background: #cccccc;
    background: linear-gradient(to bottom, #e8e8e8 0%, #c8c8c8 100%);
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    width: 950px;
    height: 36px;
}

#nav > ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    height: 36px;
}

#nav > ul > li {
    flex: 1;
    text-align: center;
    position: relative;
    border-right: 1px solid #b0b0b0;
}

#nav > ul > li:last-child {
    border-right: none;
}

#nav > ul > li > a {
    display: block;
    padding: 9px 6px;
    color: #222;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    height: 36px;
    line-height: 18px;
}

#nav > ul > li:hover > a,
#nav > ul > li.active > a {
    background: #1f5fa8;
    color: #ffffff;
    text-decoration: none;
}

/* Dropdown indicator */
.has-dropdown > a::after {
    content: " \25BE";
    font-size: 10px;
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 36px;
    left: 0;
    width: 180px;
    background: #ffffff;
    border: 1px solid #999;
    z-index: 100;
    text-align: left;
    margin: 0;
    padding: 0;
    list-style: none;
    height: auto;
}

.submenu li {
    border-bottom: 1px solid #ddd;
    flex: none;
    border-right: none;
    text-align: left;
    height: auto;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    padding: 8px 14px;
    color: #222;
    font-size: 13px;
}

.submenu a:hover {
    background: #1f5fa8;
    color: #ffffff;
    text-decoration: none;
}

#nav li:hover .submenu {
    display: block;
}

/* Main content */
#content {
    width: 950px;
    padding: 25px 20px;
    overflow: hidden;
    min-height: 380px;
}

#content h1 {
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
}

#content h2 {
    font-size: 15px;
    color: #1f5fa8;
    margin: 14px 0 8px;
}

#content p {
    margin-bottom: 12px;
    color: #333;
    text-align: justify;
}

/* Two-column home layout */
.col-left {
    float: left;
    width: 380px;
    margin-right: 25px;
}

.col-right {
    float: left;
    width: 500px;
}

.col-left img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

/* Slideshow */
.slideshow {
    position: relative;
    width: 380px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 5px;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

.slide-controls {
    text-align: center;
    margin-top: 6px;
    font-size: 12px;
    color: #555;
}

.slide-controls a {
    color: #1f5fa8;
    margin: 0 6px;
    cursor: pointer;
}

.slide-counter {
    color: #777;
    margin-left: 6px;
}

/* Trust badges row */
#badges {
    clear: both;
    width: 950px;
    text-align: center;
    padding: 20px 0 25px;
}

#badges img {
    vertical-align: middle;
    margin: 0 14px;
    border: none;
}

/* Footer */
#footer {
    clear: both;
    width: 950px;
    background: #efefef;
    border-top: 1px solid #ccc;
    padding: 14px 10px;
    text-align: center;
    font-size: 12px;
    color: #555;
}

#footer p {
    margin: 2px 0;
}

#footer a {
    color: #1f5fa8;
}

/* Services labeled image */
.services-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Lists in content */
#content ul.services-list {
    margin: 10px 0 15px 25px;
}

#content ul.services-list li {
    margin-bottom: 6px;
}

/* Forms */
.contact-form {
    max-width: 500px;
}

.contact-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #444;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #aaa;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.contact-form textarea {
    height: 120px;
}

.contact-form button {
    margin-top: 12px;
    padding: 8px 22px;
    background: #1f5fa8;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.contact-form button:hover {
    background: #16487f;
}

/* Testimonial blocks */
.testimonial {
    border-left: 4px solid #1f5fa8;
    padding: 6px 14px;
    margin-bottom: 18px;
    background: #f7f7f7;
}

.testimonial .author {
    text-align: right;
    font-style: italic;
    color: #666;
    margin-top: 6px;
}

/* Promotions box */
.promo-box {
    border: 2px dashed #1f5fa8;
    padding: 15px 20px;
    margin: 14px 0;
    background: #f7faff;
}

.promo-box h2 {
    margin-top: 0;
}

/* Clearfix */
.clear {
    clear: both;
}

/* Testimonials styling */
.testimonial-card {
    border: 1px solid #ddd;
    border-left: 4px solid #1f5fa8;
    background: #fafafa;
    padding: 12px 16px;
    margin-bottom: 14px;
}

.testimonial-card .reviewer {
    font-weight: bold;
    color: #1f5fa8;
    font-size: 13px;
    margin-bottom: 2px;
}

.testimonial-card .project {
    font-size: 12px;
    color: #555;
    font-style: italic;
    margin-bottom: 8px;
}

.testimonial-card .comments {
    color: #333;
    margin: 0;
    text-align: left;
}

.testimonials-header {
    background: #1f5fa8;
    color: #fff;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.testimonials-header h1 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.keywords {
    color: #888;
    font-size: 11px;
    margin-bottom: 14px;
    font-style: italic;
}

/* Roofing page swatches */
.swatch-table {
    width: 80%;
    border-collapse: collapse;
    margin: 12px 0 20px;
}

.swatch-table td {
    background: #f9f9f9;
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 13px;
}

.swatch-table img {
    width: 100px;
    height: 100px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #ccc;
    margin-right: 12px;
    vertical-align: middle;
    background: #ddd; /* shows when image missing */
}

.product-link {
    font-size: 12px;
    margin-top: -4px;
    margin-bottom: 8px;
}

.product-link a {
    word-break: break-all;
}

.hero-roof {
    float: right;
    width: 373px;
    height: auto;
    margin: 0 0 10px 15px;
    border: 1px solid #888;
}

.tagline-list {
    color: #555;
    font-style: italic;
}

/* Siding page style cards */
.siding-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 7px;
    margin: 12px 0 20px;
}

.siding-table td {
    background: #f9f9f9;
    padding: 12px;
    vertical-align: top;
    border: 1px solid #eee;
}

.siding-table img {
    float: left;
    width: 100px;
    height: 100px;
    margin-right: 14px;
    border: 1px solid #ccc;
    background: #ddd;
}

.siding-table .style-name {
    font-weight: bold;
    color: #1f5fa8;
    font-size: 14px;
}

.siding-table p {
    margin: 0 0 6px 0;
    overflow: hidden; /* clearfix for floated img */
}

.siding-table .more-link {
    display: inline-block;
    margin-top: 4px;
}

.hero-side {
    float: right;
    width: 394px;
    height: auto;
    margin: 0 0 10px 15px;
    border: 1px solid #888;
}

.designtool-button {
    display: inline-block;
    margin: 8px 0;
}

/* Windows page - Lansing series sections */
.headingsseries {
    font-size: 18px;
    font-weight: bold;
    color: #D39503;
    margin: 0 0 8px 0;
}

.windows-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 10px;
}

.windows-table td {
    background: #fafafa;
    padding: 14px;
    border: 1px solid #eee;
    vertical-align: top;
    overflow: hidden;
}

.windows-table img {
    float: left;
    width: 250px;
    height: auto;
    margin: 4px 14px 8px 0;
    border: 1px solid #888;
}

.windows-table p {
    margin-bottom: 8px;
}

.windows-table a {
    display: inline-block;
}

/* Promotions page */
.grayheading {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.promo-section h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 15px;
    color: #1f5fa8;
}

.promo-section h3 em {
    font-style: italic;
}

.hero-promo {
    float: right;
    width: 500px;
    height: auto;
    margin: 0 0 12px 18px;
    border: 1px solid #888;
}

.why-choose {
    clear: both;
    background: #f7faff;
    border-left: 4px solid #1f5fa8;
    padding: 10px 16px;
    margin-top: 18px;
}
