@charset "UTF-8";
/* CSS Document */

body {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	background-color: #CCC;
	background-image:url(../images/joia_background2.jpg)
}
.imageTOP {
	vertical-align: top;
	float: none;
	padding-top: 0px;
}
h2 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.25em;
    color: #09F;
    margin-bottom: 5px;
    padding-bottom: 0px;
    text-align: left;
    margin-top: 5px;
}
td {
	font-family: Verdana, Geneva, sans-serif;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
}

h3 {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1em;
	color: #09F;
	margin-top: 0px;
}
.footer {
	font-size: 0.75em;
}
.oneColFixCtrHdr #container {
	width: 909px; /* the auto margins (in conjunction with a width) center the page */
	border: 20px solid #FFF;
	text-align: left;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	background-color: #FFF;
	border-radius: 25px;
	-moz-border-radius: 15px;
}
.oneColFixCtrHdr #header {
	padding: 0 10px 0 00px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	background-color: #FFF;
}
.oneColFixCtrHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.oneColFixCtrHdr #mainContent {
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background: #FFFFFF;
}
.oneColFixCtrHdr #footer {
	padding: 0 10px;
	background-color: #CCC;
}
.oneColFixCtrHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

.imageHeader {
	padding-bottom: 10px;
	padding-top: 15px;
}

.imageSalesSheet {
	padding: 10px;
	margin: 10px;
}
.textLEFT {
	text-indent: 0px;
	padding-left: 15px;
	float: none;
}
.textFLOATLEFT {
	float: left;
}
.imageRIGHT {
	float: right;
	margin-top: 0px;
	padding: 20px;
}
.imageHISTORY {
	text-align: left;
	padding: 0 5px 10px 0px;
}

a {
	color: #09F;
	text-decoration: none;
}
a:hover {
    border-bottom-color: #09F;
    border-bottom: solid;
    border-bottom-width: 2px;
    text-align: center;
}
h1 {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 2em;
	font-style: normal;
	color: #09F;
	text-transform: capitalize;
}
.italic {
	font-style: italic;
}
.bold {
	font-weight: bold;
}
.oneColFixCtrHdr #container .textLEFT #FlashID2 {
	background-position: center;
}
.imageLEFT {
	float: left;
	text-align: left;
	padding: 10px;
	margin: 0px;
	vertical-align: text-top;
}
#roundedCorner {
	border: 2px solid;
	-moz-border-radius: 15px;
	border-radius: 15px;
}
.videoRIGHT {
	float: right;
	border-radius: 25px;
	-moz-border-radius: 15px;
}

.music {
	font-family: Verdana, Geneva, sans-serif;
	text-align: left;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 15px;
	padding-top: 20px;
	padding-right: 5px;
	padding-bottom: 6px;
	padding-left: 20px;
	border-collapse: collapse;
	color: #000;
	vertical-align: top;
}
.music th {
	background-color: #09F;
	font-size: 1em;
	padding-left: 15px;
	font-weight: bold;
	text-transform: uppercase;
	padding-top: 4px;
	font-style: normal;
}
.music td {
	font-size: 1em;
	padding-top: 6px;
	padding-right: 5px;
	padding-bottom: 6px;
	padding-left: 10px;
	border: 2px solid #09F;
}

.sidebar {
	width: 250px;
	float: right;
	background-color: #FFF;
	border: 2px solid #F63;
	margin: 10px;
	text-align: center;
	border-radius: 25px;
	-moz-border-radius: 15px;
	vertical-align: text-top;
}


.sidebar h2 {
	color: #FFF;
	background-color: #F63;
	margin-top: 0;
	padding: 5px;
	border: 2px solid #F63;
	border-radius: 25px;
	-moz-border-radius: 15px;
}

.sidebar p {
	border-bottom: 2px #F63;

}

.topbar {
	background-color: #FFF;
	border: 2px solid #F63;
	margin: 10px;
	text-align: center;
	border-radius: 25px;
	-moz-border-radius: 15px;
	vertical-align: text-top;
	padding-bottom: 10px;
}

.topbar h2 {
	color: #FFF;
	background-color: #F63;
	margin-top: 0;
	padding: 5px;
	border: 2px solid #F63;
	border-radius: 25px;
	-moz-border-radius: 15px;
}

.listen {
	vertical-align: bottom;
	float: left;
	clear: left;
}

.models {
	padding-top: 0px;
	text-align: left;
	vertical-align: top;
	border-collapse: collapse;
}


.models th {
    background-color: #1c75bc;
    color: #FFF;
}

.boobams th {
    background-color: #00a0af;
    color: #FFF;
}

.boobams td {
    padding: 10px 10px 10px 5px;
    vertical-align: top;
    border: 2px solid #00a0af;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
} 

.models td {
    padding: 10px 10px 10px 5px;
    vertical-align: top;
    border: 2px solid #09F;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
} 

.models h2 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.25em;
    color: #FFF;
    margin-bottom: 5px;
    padding-bottom: 0px;
    text-align: center;
    margin-top: 5px;
}

.models p2 {
	font-family: Verdana, Geneva, sans-serif;
	font-size: .75em;
	margin-top: 0px;
	line-height: 0.5cm;

}

.tableEducation {
	text-align: left;
	vertical-align: top;
	padding-top: 10px;
	margin-top: 0px;
}
.tableHOME {
	text-align: left;
	vertical-align: top;
	margin: 0;
	padding: 0px;
}
#sidebar {
	color: #000;
	background-color: #FC0;
	text-align: center;
	padding: 10px;
	border-radius: 25px;
	margin: 10px;
	font-weight: bold;
}


/* MOBILE DRAFT 2: desktop styles above remain unchanged; mobile styles only below. */
@media screen and (max-width: 768px) {
  *, *::before, *::after { box-sizing: border-box; }
  body { text-align:left; background-image:none; background-color:#eee; font-size:16px; line-height:1.45; }
  .oneColFixCtrHdr #container { width:100%; max-width:100%; border:0; border-radius:0; margin:0 auto; padding:0; background:#fff; }
  .oneColFixCtrHdr #header { padding:0; }
  #header p { margin:6px 8px 10px; font-size:.78rem; line-height:1.5; text-align:center; }
  #header img { display:block; width:100%; max-width:100%; height:auto; }
  h1 { font-size:1.45rem; line-height:1.25; margin:.7em 8px; }
  h2 { font-size:1.15rem; line-height:1.35; }
  h3 { font-size:1rem; line-height:1.35; }
  .textLEFT { padding-left:0; text-indent:0; }
  .oneColFixCtrHdr #mainContent, #mainContent { padding:0 10px; }
  #container { overflow-wrap:anywhere; }
  #container img { max-width:100%; height:auto; }
  #container > p { margin-left:8px; margin-right:8px; }
  #container > p img, #container img[width="900"] { display:block; width:100%; max-width:100%; height:auto; }

  table.models { width:100% !important; max-width:100%; table-layout:auto; border-collapse:collapse; }
  /* Keep non-product rows (section headings, banners, cart controls) stacked normally. */
  .models th, .models td { max-width:100%; overflow-wrap:anywhere; }
  .models th { display:block; width:100% !important; padding:9px 10px; }
  .models th[colspan] { padding:10px 8px; }
  .models th h2 { font-size:1rem; line-height:1.35; margin:4px 0; }
  .models th p { margin:5px 0 !important; line-height:1.35; }
  .models th p[style*="36px"] { font-size:1.35rem !important; line-height:1.2 !important; }
  .models th p[style*="20px"] { font-size:1.05rem !important; }
  .models th p[style*="16px"] { font-size:.9rem !important; }
  .models th p[style*="14px"] { font-size:.82rem !important; }
  .models th form { max-width:100%; }
  .models input[type="text"] { width:100%; max-width:100%; }
  .models input[type="image"] { max-width:100%; height:auto; }

  /* Mobile product cards: image, description, model number, price/form in a readable order. */
  .models tr:has(td img) { display:grid; grid-template-columns:minmax(0,1fr); width:100%; border:1px solid #09f; margin:0 0 12px; }
  .models tr:has(td img) > td { display:block; width:100% !important; max-width:100%; border:0; border-bottom:1px solid #09f; padding:10px; }
  .models tr:has(td img) > td:last-child { border-bottom:0; }
  .models tr:has(td img) > td:first-child { text-align:center; background:#fff; }
  .models tr:has(td img) > td:first-child img { display:block; width:auto !important; max-width:100%; height:auto !important; max-height:360px; margin:0 auto; }
  .models tr:has(td img) > td:nth-child(2)::before { content:"DESCRIPTION"; display:block; font-size:.75rem; font-weight:bold; color:#555; margin-bottom:5px; letter-spacing:.04em; }
  .models tr:has(td img) > td:nth-child(3)::before { content:"MODEL #"; display:block; font-size:.75rem; font-weight:bold; color:#555; margin-bottom:4px; letter-spacing:.04em; }
  .models tr:has(td img) > td:nth-child(4)::before { content:"RETAIL PRICE"; display:block; font-size:.75rem; font-weight:bold; color:#555; margin-bottom:4px; letter-spacing:.04em; }
  .models tr:has(td img) > td:nth-child(2) { font-size:1rem; line-height:1.5; }
  .models tr:has(td img) > td:nth-child(3) { font-weight:600; font-size:1rem; }
  .models tr:has(td img) > td:nth-child(4) { font-size:1.05rem; }
  .models td p { margin:.55em 0; }
  .models td form table { width:100%; max-width:100%; }
  .models td form table td { display:table-cell; width:auto !important; padding:3px 0; border:0; }
  .models td form input[type="text"] { font-size:1rem; padding:8px; }
  .models td form input[type="image"] { display:block; max-width:100%; height:auto; margin-top:8px; }
  .models tr:not(:has(td img)) td { display:block; width:100% !important; padding:8px 10px; }
  .sidebar, .topbar { float:none; width:auto; max-width:100%; margin:8px; }
  .imageLEFT, .imageRIGHT, .textFLOATLEFT, .videoRIGHT { float:none; display:block; margin:8px auto; max-width:100%; }
  .imageLEFT, .imageRIGHT { padding:4px; }
  .imageSalesSheet { padding:4px; margin:4px; }
}


/* DRAFT 3: targeted corrections based on today's mobile review. Desktop rules above are untouched. */
@media screen and (max-width: 768px) {
  /* Hide the repeated desktop column-label rows; script marks these rows, labels are placed on product cells below. */
  .models tr.mobile-column-headings { display:none !important; }
  /* Keep product cards stacked and ensure the card's cells are not constrained by desktop column widths. */
  .models tr:has(td img) { grid-template-columns: minmax(0,1fr) !important; }
  .models tr:has(td img) > td { min-width:0; width:100% !important; }
  .models tr:has(td img) > td:nth-child(2)::before { content:"DESCRIPTION"; }
  .models tr:has(td img) > td:nth-child(3)::before { content:"MODEL #"; }
  .models tr:has(td img) > td:nth-child(4)::before { content:"RETAIL PRICE"; }
  .models tr:has(td img) > td:nth-child(2)::before,
  .models tr:has(td img) > td:nth-child(3)::before,
  .models tr:has(td img) > td:nth-child(4)::before { display:block; font-size:.75rem; font-weight:700; color:#555; margin-bottom:5px; letter-spacing:.04em; }
  /* Images and nested forms must stay within the phone viewport. */
  .models tr:has(td img) > td:first-child img { max-width:100% !important; }
  .models td form, .models td form table, .models td form input[type=text] { max-width:100% !important; }
  .models td form input[type=text] { width:100% !important; }
  .models td form input[type=image] { width:auto !important; max-width:100%; }
}


/* DRAFT 4 — stronger mobile product-card layout correction.
   Desktop styles and the desktop breakpoint behavior are preserved above.
   Mobile: product table rows with product images become single-column cards. */
@media screen and (max-width: 768px) {
  /* Avoid fixed table sizing/column widths carrying into the mobile layout. */
  table.models {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  table.models > tbody { display: block !important; width: 100% !important; }
  table.models tr:has(td img) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 1px solid #09f !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: visible !important;
  }
  table.models tr:has(td img) > td {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #d6e8f7 !important;
    text-align: left !important;
    vertical-align: top !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
  }
  table.models tr:has(td img) > td:last-child { border-bottom: 0 !important; }
  table.models tr:has(td img) > td:first-child {
    text-align: center !important;
    padding: 12px !important;
    background: #fafafa !important;
  }
  table.models tr:has(td img) > td:first-child img {
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 340px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }
  table.models tr:has(td img) > td:nth-child(2)::before {
    content: "DESCRIPTION" !important;
    display: block !important;
    color: #1c75bc !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    margin: 0 0 5px !important;
  }
  table.models tr:has(td img) > td:nth-child(3)::before {
    content: "MODEL NUMBER" !important;
    display: block !important;
    color: #1c75bc !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    margin: 0 0 5px !important;
  }
  table.models tr:has(td img) > td:nth-child(4)::before {
    content: "RETAIL PRICE" !important;
    display: block !important;
    color: #1c75bc !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    margin: 0 0 5px !important;
  }
  table.models tr:has(td img) > td:nth-child(2) { font-size: 1.05rem !important; line-height: 1.45 !important; }
  table.models tr:has(td img) > td:nth-child(3) { font-size: 1rem !important; font-weight: 700 !important; }
  table.models tr:has(td img) > td:nth-child(4) { font-size: 1rem !important; line-height: 1.45 !important; }
  table.models tr:has(td img) > td:nth-child(4) p { margin: .45em 0 !important; }
  table.models tr:has(td img) > td:nth-child(4) form { width: 100% !important; max-width: 100% !important; }
  table.models tr:has(td img) > td:nth-child(4) form table { display: table !important; width: 100% !important; max-width: 100% !important; }
  table.models tr:has(td img) > td:nth-child(4) form table tr { display: table-row !important; border: 0 !important; margin: 0 !important; }
  table.models tr:has(td img) > td:nth-child(4) form table td { display: table-cell !important; width: auto !important; border: 0 !important; padding: 3px 0 !important; }
  table.models tr:has(td img) > td:nth-child(4) form input[type="text"] { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; padding: 8px !important; font-size: 1rem !important; }
  table.models tr:has(td img) > td:nth-child(4) form input[type="image"] { display: block !important; width: auto !important; max-width: 100% !important; height: auto !important; margin-top: 8px !important; }
  /* Non-product table rows such as banners and section headings remain full-width. */
  table.models tr:not(:has(td img)) { display: block !important; width: 100% !important; max-width: 100% !important; }
  table.models tr:not(:has(td img)) > th,
  table.models tr:not(:has(td img)) > td { display: block !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
}

/* DRAFT 4.4 — mobile spacing refinement only. Desktop rules are unchanged. */
@media screen and (max-width: 768px) {
  /* Slightly reduce the vertical footprint of each product card. */
  table.models tr:has(td img) { margin-bottom: 10px !important; }
  table.models tr:has(td img) > td { padding: 8px 10px !important; }
  table.models tr:has(td img) > td:first-child { padding: 8px !important; }
  /* Tighter description and purchase-detail rhythm, without making text tiny. */
  table.models tr:has(td img) > td:nth-child(2) { font-size: 1.05rem !important; line-height: 1.45 !important; }
  table.models tr:has(td img) > td:nth-child(4) { line-height: 1.35 !important; }
  table.models tr:has(td img) > td:nth-child(4) p { margin: .3em 0 !important; }
  /* Label spacing */
  table.models tr:has(td img) > td:nth-child(2)::before,
  table.models tr:has(td img) > td:nth-child(3)::before,
  table.models tr:has(td img) > td:nth-child(4)::before { margin-bottom: 3px !important; }
  /* Referral field and button: keep comfortable tap targets, reduce excess gap. */
  table.models tr:has(td img) > td:nth-child(4) form input[type="text"] { padding: 7px !important; }
  table.models tr:has(td img) > td:nth-child(4) form input[type="image"] { margin-top: 6px !important; }
}


/* DRAFT 4.6 — product-section refinement only. Header and introductory area retain Draft 4.4 styling. */
@media screen and (max-width: 768px) {
  /* Tighten the product cards without shrinking the product photography. */
  table.models tr:has(td img) { margin-bottom: 8px !important; }
  table.models tr:has(td img) > td { padding: 7px 9px !important; }
  table.models tr:has(td img) > td:first-child { padding: 6px !important; }
  table.models tr:has(td img) > td:first-child img { max-height: 360px !important; }
  /* Description: slightly comfortable type size, with compact paragraph spacing. */
  table.models tr:has(td img) > td:nth-child(2) { font-size: 1.03rem !important; line-height: 1.42 !important; }
  table.models tr:has(td img) > td:nth-child(2) p { margin: .32em 0 !important; }
  /* Model number and price areas use less vertical padding. */
  table.models tr:has(td img) > td:nth-child(3) { font-size: 1rem !important; line-height: 1.3 !important; }
  table.models tr:has(td img) > td:nth-child(4) { font-size: 1rem !important; line-height: 1.32 !important; }
  table.models tr:has(td img) > td:nth-child(4) p { margin: .25em 0 !important; }
  table.models tr:has(td img) > td:nth-child(2)::before,
  table.models tr:has(td img) > td:nth-child(3)::before,
  table.models tr:has(td img) > td:nth-child(4)::before { margin-bottom: 2px !important; }
  table.models tr:has(td img) > td:nth-child(4) form input[type="text"] { padding: 7px !important; }
  table.models tr:has(td img) > td:nth-child(4) form input[type="image"] { margin-top: 5px !important; }
}


/* DRAFT 4.9 — mobile viewport width correction (final override). */
@media screen and (max-width: 768px) {
  html, body { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; }
  .oneColFixCtrHdr, .oneColFixCtrHdr #container, #container, #header, #mainContent { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; margin-left: 0 !important; margin-right: 0 !important; }
  .oneColFixCtrHdr #container { border-width: 0 !important; padding: 0 !important; }
  #container, #mainContent, #header, #container * { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
  #container img, #container video, #container iframe { height: auto !important; max-width: 100% !important; }
  table, table.models, table.models > tbody, table.models tr, table.models td, table.models th { max-width: 100% !important; }
  table.models { width: 100% !important; }
}


/* DRAFT 4.11 — reduce only the white padding around product photos. Image size is unchanged. */
@media screen and (max-width: 768px) {
  table.models tr:has(td img) > td:first-child { padding: 2px !important; }
}
