﻿/* ============================================================
   Maryland Custom Marble - Site-Wide Stylesheet
   ============================================================ */

/* ============================================================
   1. GLOBAL PAGE SETTINGS
   ============================================================ */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
    margin: 6px 0 0 0;
    background: #FFFFFF url("images/MarbleBacklight.gif");
    color: #000000;
    font-family: "Times New Roman", Times, serif;
}
a:link { color: #996600; }
a:visited { color: #666666; }
a:active { color: #336600; }
img { max-width: 100%; }

/* ============================================================
   2. TOP BANNER AND TOP BUTTON BAR
   ============================================================ */

.mcm-top { width: 100%; }
.mcm-banner-link {
    display: block;
    width: 604px;
    margin-left: 245px;
}
.mcm-banner {
    display: block;
    width: 604px;
    height: 65px;
    margin: 0;
    border: 0;
}
.mcm-top-buttons {
    width: 450px;
    margin: 8px 0 12px 327px;
    border-collapse: collapse;
}
.mcm-top-buttons td {
    width: 150px;
    height: 35px;
    padding: 4px;
    text-align: center;
    vertical-align: top;
}
.mcm-top-buttons img {
    display: block;
    width: 150px;
    height: 30px;
    border: 0;
}

/* ============================================================
   3. MAIN DESKTOP PAGE LAYOUT
   ============================================================ */

.mcm-page {
    width: 1080px;
    border-collapse: collapse;
}
.mcm-left {
    width: 205px;
    padding: 0;
    vertical-align: top;
}
.mcm-left-inner {
    width: 190px;
    text-align: center;
}
.mcm-left-inner p { margin: 14px 0; }
.mcm-left-products {
    width: 150px;
    height: 30px;
    border: 0;
}
.mcm-left-color {
    font-size: 18px;
    color: #5C5C5C;
}
.mcm-left-color a { color: #5C5C5C; }
.mcm-main-gap { width: 26px; }
.mcm-main {
    width: 780px;
    padding: 12px 18px 32px 0;
    vertical-align: top;
}

/* ============================================================
   4. MAIN CONTENT TEXT AND HEADINGS
   ============================================================ */

.mcm-main h1 {
    margin: 14px 0 18px 0;
    color: #666666;
    font-family: "Times New Roman", Times, serif;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
}
.mcm-main h2 {
	margin: 22px 0 12px 0;
	color: #6A6A6A;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	font-size: 20px;
}
.mcm-main p, .mcm-main li {
    font-size: 16px;
    line-height: 1.42;
}
.mcm-intro {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

/* ============================================================
   5. PRODUCT TABLES, VANITY BOWLS AND IMAGE CAPTIONS
   ============================================================ */

.product-photo-table,
.product-detail-table,

.bowl-style-table {
    border-collapse: collapse;
}
.bowl-style-table a img {
    transition: outline 0.15s ease;
}

.bowl-style-table a:hover img {
    outline: 2px solid #0B7B26;
    outline-offset: 3px;
}


.product-photo-table {
    width: 750px;
    margin: 0 0 18px 0;
}
.product-photo-table td {
    padding: 8px;
    text-align: center;
    vertical-align: top;
}
.product-detail-table {
    width: 800px;
    margin: 0 0 18px 0;
}
.product-detail-table td {
    padding: 10px;
    vertical-align: top;
}
.product-options {
    margin: 0;
    padding-left: 22px;
}
.product-options li { margin-bottom: 6px; }
.bowl-style-table {
    width: 750px;
    border: 1px solid #888;
}
.bowl-style-table td {
    width: 25%;
    padding: 10px;
    text-align: center;
    vertical-align: top;
    border: 1px solid #AAA;
}
.image-caption {
    margin: 6px 0 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

/* ============================================================
   6. FOOTER
   ============================================================ */

.mcm-footer {
    width: 1080px;
    border-collapse: collapse;
    color: #5C5C5C;
}
.mcm-footer td {
    padding: 4px 8px;
    vertical-align: top;
}
.mcm-footer-company {
    margin: 18px 0;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}
.mcm-footer-heading {
    margin: 8px 0;
    text-align: center;
    font-size: 18px;
    text-decoration: underline;
}
.mcm-footer-links {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
.mcm-copyright {
    width: 1080px;
    text-align: center;
    font-size: 13px;
}

/* ============================================================
   7. CONVERTED HOME, COUNTERTOP AND SHOWER BASE PAGES
   ============================================================ */

.home-main-content { margin-left: 0; }
.home-main-content table { max-width: 100%; }
.home-main-content img { max-width: 100%; height: auto; }
.home-section-heading { font-family: Arial, Helvetica, sans-serif; }
.counter-main { width: 925px; }
.counter-content { width: 925px; margin: 0; }
.counter-feature-text { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.35; }
.counter-feature-text p { margin-top: 0; margin-bottom: 11px; }
.counter-image-caption { font-family: Arial, Helvetica, sans-serif; font-size: 14px; text-align: center; }
.counter-links { font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; font-style: italic; }
.counter-links a { margin-right: 35px; }
.shower-base-main { width: 830px; }
.shower-main-content { width: 100%; min-width: 0; }

/* ============================================================
   8. PHONE / NARROW-SCREEN LAYOUT
   ============================================================ */

@media screen and (max-width: 700px) {
    body {
        margin: 0;
        background-image: none;
    }
    .mcm-banner-link {
        width: calc(100% - 20px);
        margin: 8px 10px;
    }
    .mcm-banner {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .mcm-top-buttons {
        width: calc(100% - 16px);
        margin: 4px 8px 12px 8px;
    }
    .mcm-top-buttons td {
        width: 33.333%;
        padding: 2px;
    }
    .mcm-top-buttons img {
        width: 100%;
        height: auto;
    }
    .mcm-page, .mcm-footer {
        width: 100%;
        display: block;
    }
    .mcm-page > tbody,
    .mcm-page > tbody > tr,
    .mcm-page > tbody > tr > td,
    .mcm-footer > tbody,
    .mcm-footer > tbody > tr,
    .mcm-footer > tbody > tr > td {
        display: block;
        width: 100% !important;
    }
    .mcm-left {
        padding: 6px 12px 12px 12px;
    }
    .mcm-left-inner { width: 100%; }
    .mcm-left-inner p { margin: 8px 0; }
    .mcm-left-inner a {
        display: inline-block;
        margin: 4px 8px;
    }
    .mcm-main-gap { display: none !important; }
    .mcm-main {
        width: 100%;
        padding: 12px 16px 24px 16px;
    }
    .product-photo-table,
    .product-detail-table,
    .bowl-style-table {
        width: 100%;
        display: block;
    }
    .product-photo-table > tbody,
    .product-photo-table > tbody > tr,
    .product-photo-table > tbody > tr > td,
    .product-detail-table > tbody,
    .product-detail-table > tbody > tr,
    .product-detail-table > tbody > tr > td,
    .bowl-style-table > tbody,
    .bowl-style-table > tbody > tr,
    .bowl-style-table > tbody > tr > td {
        display: block;
        width: 100% !important;
    }
    .product-photo-table td,
    .product-detail-table td,
    .bowl-style-table td {
        margin-bottom: 14px;
    }
    .mcm-footer td { text-align: center; }
    .mcm-copyright {
        width: 100%;
        padding: 0 10px 18px 10px;
    }

    /* Converted Home, Countertop and Shower Base pages */
.home-main-content,.counter-main,.counter-content,.shower-base-main,.shower-main-content { width:100% !important; margin-left:0; }
 .home-main-content table,.counter-main table,.shower-main-content table { width:100% !important; max-width:100%; }
}

/* ============================================================
   CUSTOM SHOWER BASE STYLE GUIDE
   ============================================================ */

.shower-style-main {
    width: 820px;
}

.shower-style-quote {
    margin: 18px 0 22px 0;
    text-align: right;
    font-size: 18px;
    font-weight: bold;
}

.shower-style-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 12px;
    width: 820px;
    max-width: 100%;
}

.shower-style-card {
    min-height: 190px;
    padding: 8px 4px;
    text-align: center;
}

.shower-style-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.shower-style-card img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.shower-style-card p {
    margin: 6px 0 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.25;
}

/* Tablet / narrow-screen style-guide layout */
@media screen and (max-width: 700px) {
    .shower-style-main {
        width: 100%;
    }

    .shower-style-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 8px;
    }

    .shower-style-card {
        min-height: 0;
    }

    .shower-style-card a {
        min-height: 0;
    }
}

/* Very narrow phones */
@media screen and (max-width: 420px) {
    .shower-style-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   9. CUSTOM SHOWER BASE MEASURING GUIDE
   ============================================================ */

.shower-measure-main { width: 830px; }
.shower-measure-callout {
    margin: 0 0 18px 0;
    padding: 12px 16px;
    border: 1px solid #B8B8B8;
    background: rgba(255,255,255,0.55);
}
.shower-measure-callout p { margin: 5px 0; }
.shower-measure-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0 0 18px 0;
    padding: 10px 0;
    border-top: 1px solid #C8C8C8;
    border-bottom: 1px solid #C8C8C8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}
.shower-measure-note { margin-bottom: 24px; }
.shower-measure-section { margin: 0 0 30px 0; }
.shower-measure-section h2 { margin-bottom: 6px; }
.shower-measure-section-links { margin-top: 0; }
.shower-measure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    align-items: start;
}
.shower-measure-card {
    text-align: center;
    min-width: 0;
}
.shower-measure-card img {
    display: inline-block;
    height: auto;
    border: 0;
}
.shower-measure-card a:hover img {
    outline: 2px solid #0B7B26;
    outline-offset: 3px;
}
.shower-measure-stack {
    display: grid;
    gap: 20px;
}

@media screen and (max-width: 700px) {
    .shower-measure-main { width: 100% !important; }
    .shower-measure-links { display: block; }
    .shower-measure-links a {
        display: block;
        margin: 7px 0;
    }
    .shower-measure-grid { grid-template-columns: 1fr; }
}


