/* Additions on top of the original theme (static/theme/css/style.css):
   language switcher, spec tables, contact form, search. */

/* language switcher — the theme's .language button, three of them */
.nav-tools .language a { width: auto !important; min-width: 32px !important; padding: 0 6px !important; background: #555; color: #fff !important; font-weight: normal; }
.nav-tools .language.lang-on a { background: #fdd305; color: #06030a !important; font-weight: bold; }
.nav-tools .language a:hover { background: #fdd305; color: #06030a !important; }

/* wider nav labels in zh/es need a little less padding */
.lang-es .nav a { padding: 0 9px !important; font-size: 15px; }
.lang-es .nav .layui-nav-item:has(.layui-nav-child) > a { padding-right: 24px !important; }

/* product page */
.product-sub { color: #64451d; font-size: 15px; padding: 0 0 10px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.spec-table th, .spec-table td { border: 1px solid #e3e3e3; padding: 8px 12px; color: #64451d; font-size: 15px; line-height: 1.6; text-align: left; vertical-align: top; }
.spec-table th { width: 32%; background: #faf6e4; font-weight: normal; }
.spec-table tr:nth-child(even) td { background: #fcfcfc; }
.imgbox img, .article-body img, .gywm img { max-width: 100%; height: auto; }
.gywm p, .article-body p { margin: 0 0 1em; }
.gywm { color: #64451d; font-size: 16px; line-height: 1.9; }
.article-body { color: #64451d; font-size: 16px; }

/* about page side links: mark current */
.fwxz a.now { background: #fdd305; color: #06030a; }

/* downloads */
.xiaz li a { color: #333; }
.xiaz li .dl-date { float: right; color: #999; padding-right: 10px; }

/* contact page */
.contact-info .ct-row { font-size: 18px; color: #64451d; margin: 0 0 6px; }
.contact-info .ct-row strong { display: inline-block; min-width: 110px; }
.contact-form { margin: 30px 0 0; }
.contact-form form { padding: 20px 0; max-width: 760px; }
.contact-form .cf-row { display: flex; gap: 16px; margin-bottom: 14px; }
.contact-form input, .contact-form textarea { flex: 1; width: 100%; box-sizing: border-box; border: 1px solid #ccc; border-radius: 3px; padding: 10px 12px; font-size: 14px; font-family: inherit; }
.contact-form textarea { display: block; margin-bottom: 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #fdd305; box-shadow: 0 0 0 2px rgba(253, 211, 5, .3); }
.contact-form .cf-btn { background: #fdd305; color: #06030a; border: 0; border-radius: 3px; padding: 10px 40px; font-size: 16px; cursor: pointer; }
.contact-form .cf-btn:hover { background: #06030a; color: #fdd305; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { padding: 10px 14px; margin-top: 14px; border-radius: 3px; font-size: 15px; }
.form-msg.ok { background: #eef8ea; color: #2f6b1f; border: 1px solid #cfe8c4; }
.form-msg.err { background: #fdeeee; color: #a12a2a; border: 1px solid #f3caca; }

/* search */
.search-head { font-size: 18px; color: #333; padding: 0 0 15px; }

/* footer product list can be long */
.footer dl.solution dd { white-space: nowrap; }
