/* Tres Media Group theme: additions for this CMS (2026-11-24). style.css is the TresMed2
   theme's stylesheet unchanged; this file only covers what the new CMS prints: the footer
   widget wrapper, the contact form (laid out like the old contact page's two-column table),
   search and news lists, and the standalone pages (sign in, 500, maintenance). */

/* style.css loads the home slider's background from /images/homeSlides/; it ships with the theme now */
.da-slider{background-image:url(../images/homeSlides/slidebg.png)}

/* the Footer widget's wrapper: its .entry cells sit straight in .footer, as on the old site */
.footer>.cms-widget{display:contents}

/* text pages (Black background template) */
.tmg-text{line-height:1.5em}
.tmg-text a,.tmg-contact a,.tmg-list a{color:#0c80c2}

/* the contact form: the old page's 815px box and two-column table */
.tmg-contact{margin-left:auto;margin-right:auto;width:815px;display:block}
.tmg-contact .cms-form{display:grid;grid-template-columns:max-content max-content;grid-template-rows:repeat(5,auto) 1fr;column-gap:10px;row-gap:0;justify-content:start;margin-top:0}
.tmg-contact .cms-form::before{content:"Your Information";grid-column:1;grid-row:1;color:#f78407;font-weight:bold}
.tmg-contact .cms-form::after{content:"Questions/Comments";grid-column:2;grid-row:1;color:#f78407;font-weight:bold;padding-left:10px}
.tmg-contact .cms-form-field{grid-column:1;margin:0}
.tmg-contact .cms-form-field label{display:block;font-weight:bold}
.tmg-contact .cms-form-field input{width:346px;margin:0;box-sizing:border-box}
.tmg-contact .cms-form-field-textarea{grid-column:2;grid-row:2/span 5;padding-left:10px}
.tmg-contact .cms-form-field-textarea label::before{content:"Please write a brief, descriptive summary of your question or comment.";display:block;font-weight:normal}
.tmg-contact .cms-form-field-textarea textarea{width:340px;box-sizing:border-box;font:inherit;font-size:13px}
.tmg-contact .cms-form-submit{grid-column:1;grid-row:5;justify-self:start;align-self:start;margin-top:10px}
.tmg-contact .cms-form-error{grid-column:1/-1;margin:6px 0;padding:6px 10px;border:1px solid #f78407;color:#fff}
.tmg-contact .cms-form-success{margin:20px 6px;text-align:center;font-weight:bold}

/* search and news */
.tmg-search{margin:0 0 16px}
.tmg-search input[type=search]{width:320px}
.tmg-list-item{padding:10px 0;border-bottom:1px solid #333}
.tmg-list-title{font-size:16px;font-weight:bold}
.tmg-date{color:#909090;font-size:12px;margin:2px 0 6px}
.tmg-pagination{margin-top:16px}
.tmg-pagination a,.tmg-pagination span{margin-right:16px}
.holder#black mark{background:#f78407;color:#000}
.tmg-notice{margin:0 0 12px;padding:8px 12px;border-left:3px solid #0c80c2;background:#f2f6f9;color:#000}
.tmg-notice-error{border-left-color:#c62828}

/* standalone pages: sign in, 500, maintenance */
.tmg-standalone{background:#fff}
.tmg-solo{max-width:420px;margin:60px auto;padding:0 20px;font-family:Arial,sans-serif;font-size:14px}
.tmg-solo-logo{width:100%;max-width:340px;margin-bottom:20px}
.tmg-login-form label{display:block;font-weight:bold;margin:0 0 12px}
.tmg-login-form input[type=text],.tmg-login-form input[type=password]{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:6px;font-size:14px}
.tmg-login-form button{margin-top:6px;padding:6px 18px}
