/**
 * "connie" template - Zen Cart 2.2.2 adjustments for the 2012 Connie's Gifts & Things theme.
 * Loaded after style.css and stylesheet.css (the 2012 rules, unchanged).
 * Ported 2026-11-28.
 */

/* ---------- header: logo + rotating photos (was inline styles in core tpl_header.php) ---------- */
#top_continer {float: none; position: relative; width: 1000px; height: 273px; overflow: hidden;}
#logo_container {float: none; position: relative; width: 1000px; height: 273px; z-index: auto;}
#menu_contianer {position: absolute; left: 0; top: 0; width: 628px; height: 273px; background: none; z-index: 1; float: none;}
#connieLogo {display: block; position: absolute; left: 0; top: 0; border: 0;}
#connieHeaderLinks {position: absolute; left: 10px; top: 250px; z-index: 3; margin: 0; padding: 0; white-space: nowrap;}
#connieHeaderLinks a.connieHomeLink {color: #000000;}
#conniePhotoWrapper {position: absolute; left: 426px; top: 0; width: 573px; height: 273px; z-index: 2; overflow: hidden;}
#portfolio {position: relative; list-style: none; margin: 0; padding: 0; width: 573px; height: 273px;}
#portfolio li {position: absolute; left: 0; top: 0; margin: 0; padding: 0; list-style: none; opacity: 0; transition: opacity 1s ease-in-out;}
#portfolio li.current {opacity: 1; z-index: 1;}
#portfolio img {display: block; border: 0;}

/* ---------- home: "Welcome to Our Website" + four-colour rule ---------- */
#connieWelcome {width: 740px; margin-bottom: 10px;}
#connieWelcome .connieRule {display: block; margin-top: 4px;}
.connieRule {display: block;}

/* ---------- sideboxes ---------- */
#categoriesContent {padding-left: 25px;}
#categoriesContent ul.connieCategoryList {margin: 0; padding: 0;}
.connieNewImage {width: 185px; height: 151px;}
.connieSearchButton {width: 70px;}
#searchContent a.connieAdvancedSearch {color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: underline;}

/* ---------- home "New Products For <month>" centre box ---------- */
#whatsNew .centerBoxContentsNew img {width: 234px; height: 127px; border-radius: 5px; border: 1px solid #cccccc;}
#whatsNew .centerBoxContentsNew a {color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal;}
#whatsNew .centerBoxContentsNew > span {display: none;}   /* no prices in this box on the 2012 theme */

/* ---------- product listing: 2012 heading-row font tweak ---------- */
.productListing-rowheading th {font-size: 12px; padding-bottom: 13px;}
#indexProductList #productListing {margin-top: 4px;}   /* space the 2012 theme's empty filter form left */

/* ---------- home main-page text (define page): keep centred blocks centred under the 2012 "p {justify}" rule ---------- */
#indexDefaultMainContent div[style*="text-align: center"] p,
#indexDefaultMainContent div[style*="text-align:center"] p {text-align: center;}
#indexDefaultMainContent > p {margin-bottom: 12px;}

/* ---------- product page: additional images as three small thumbnails in thirds (2012 look) ---------- */
#productAdditionalImages.image-grid {grid-template-columns: repeat(3, 1fr); justify-items: center; align-items: start;}
#productAdditionalImages.image-grid img {width: auto; height: auto; max-width: 100px; max-height: 80px; object-fit: contain; border: 0; box-shadow: none;}

/* ---------- product page: no category icon / prev-next, indented details (2012 theme) ---------- */
#productinfoBody #categoryIcon,
#productinfoBody .navNextPrevWrapper {display: none;}
#productGeneral {padding-top: 11px;}   /* the 2012 theme had a <br> above the product image */
#productDetailsList {padding-left: 50px;}

/* ---------- info pages: no Back button (2012 theme) ---------- */
#searchBody .buttonRow.back,
#conditionsBody .buttonRow.back,
#contactusBody .buttonRow.back,
#page2Body .buttonRow.back,
#aboutusBody .buttonRow.back,
#privacyBody .buttonRow.back,
#shippinginfoBody .buttonRow.back {display: none;}

/* Q112 (Russ 2026-11-28): the 2012 theme makes all links white, so listing product names and "more info" were invisible on the white listing. */
#productListing .itemTitle a:link, #productListing .itemTitle a:visited, #productListing a.moreinfoLink:link, #productListing a.moreinfoLink:visited { color: #2e6b0f; }
