/* The Sims Seasons - fan site with an early-2000s feel. Built for 1024x768. */

/* season colors */
.summer { background-color: #f2b705; }
.autumn { background-color: #d9661f; }
.winter { background-color: #5b9bd5; }
.spring { background-color: #6cb33f; }

body {
  margin: 0;
  padding: 12px 0 20px 0;
  background: #c9d6ec;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 15px;
  color: #111;
}
a         { color: #1f3fa8; }
a:visited { color: #5a3a91; }
a:hover   { color: #d9661f; }
p { margin: 0 0 8px 0; }
.fr { float: right; margin: 0 0 6px 10px; }
.fl { float: left;  margin: 0 10px 0 0; }
.small { font-size: 11px; line-height: 14px; }
.tiny  { font-size: 10px; line-height: 12px; color: #666; }

#page {
  width: 970px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #1c2f6b;
}

/* ================= header ================= */
#header {
  position: relative;
  height: 172px;
  overflow: hidden;
  background: #1c2f6b;
}
#header .band {
  float: left;
  position: relative;
  width: 242px;
  height: 172px;
  border-right: 1px solid rgba(255,255,255,.5);
  box-shadow: inset 0 -40px 60px rgba(0,0,0,.12), inset 0 30px 40px rgba(255,255,255,.18);
}
#header .band:last-of-type { width: 243px; border-right: 0; }
#header .band img {
  position: absolute;
  left: 20px;
  bottom: 22px;
  height: 90px;
  opacity: .35;
}
#header .band span {
  position: absolute;
  left: 12px;
  bottom: 6px;
  font-family: "Benguiat", Georgia, serif;
  font-size: 15px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0,0,0,.35);
}

/* the logo, as on the installer and the startup splash (rendered from promo/splash/seasons_splash.svg) */
#logo {
  position: absolute;
  left: 376px;
  top: 7px;
}
#logo img { display: block; border: 0; }


#group {
  position: absolute;
  right: 26px;
  top: 6px;
}

/* ================= thin strip under the header ================= */
#panel {
  height: 18px;
  background: linear-gradient(#2f4a99, #1c2f6b);
  border-top: 2px solid #8fb0ea;
  border-bottom: 1px solid #0e1a42;
}
#panel .note {
  float: right;
  margin-right: 10px;
  line-height: 18px;
  font-size: 10px;
  color: #8fb0ea;
}

/* ================= left nav ================= */
#nav {
  position: relative;
  float: left;
  width: 172px;
  padding: 4px 0 10px 0;
}
#nav a {
  position: relative;
  display: block;
  height: 44px;
  margin-bottom: 8px;
  text-decoration: none;
}
#nav .badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;                /* the icon sits on top of its label bar */
  width: 40px;
  height: 40px;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #1c2f6b, 2px 3px 0 1px rgba(28,47,107,.3);
}
#nav .badge img { width: 28px; height: 28px; margin-top: 6px; object-fit: contain; }
#nav .badge.home { background: #1c2f6b; }
#nav .badge .pb {
  display: inline-block;
  width: 14px;
  height: 28px;
  margin-top: 6px;
  background: linear-gradient(90deg, #4fd12a, #a8f060 48%, #239a16 52%, #5fe03a);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
#nav .label {
  position: absolute;
  left: 20px;                /* starts under the middle of the icon */
  top: 9px;
  right: 0;
  height: 24px;
  padding-left: 32px;
  line-height: 25px;
  font-family: "Benguiat", Georgia, serif;
  font-size: 13px;
  color: #1c2f6b;
  white-space: nowrap;
  background: #eef3fb;
  border: 1px solid #8fa6d6;
  border-left: 0;
  border-radius: 0 12px 12px 0;
}
#nav a:hover .label { background: linear-gradient(#fff2a8, #f2b705); border-color: #c9a000; }
#nav a.on .label { color: #fff; background: linear-gradient(#2f4a99, #1c2f6b); border-color: #0e1a42; }
#nav a:hover .badge { transform: rotate(-8deg); }

/* ================= body ================= */
#body { overflow: hidden; zoom: 1; padding: 14px; }
.clr { clear: both; height: 0; overflow: hidden; font-size: 0; line-height: 0; }
#main { float: left; display: inline; width: 494px; margin-left: 12px; }   /* display:inline: IE6 double-margin fix */
#side { float: right; width: 248px; }

.intro {
  padding: 10px 12px 4px 12px;
  margin-bottom: 14px;
  background: #fffdf4;
  border: 1px dashed #c9b25a;
}
.intro h1 {
  margin: 0 0 6px 0;
  font-family: "Benguiat", Georgia, serif;
  font-size: 19px;
  font-weight: normal;
  color: #1c2f6b;
}

.section { margin-bottom: 18px; overflow: hidden; zoom: 1; }
.shead {
  position: relative;
  height: 24px;
  margin-bottom: 8px;
  border-bottom: 3px solid;
  background: none !important;
}
.shead span {
  float: left;
  height: 24px;
  padding: 0 14px;
  line-height: 25px;
  font-family: "Benguiat", Georgia, serif;
  font-size: 15px;
  color: #fff;
  border-radius: 8px 8px 0 0;
}
.shead.summer { border-color: #f2b705; } .shead.summer span { background: #f2b705; color: #3d2a00; }
.shead.autumn { border-color: #d9661f; } .shead.autumn span { background: #d9661f; }
.shead.winter { border-color: #5b9bd5; } .shead.winter span { background: #5b9bd5; }
.shead.spring { border-color: #6cb33f; } .shead.spring span { background: #6cb33f; }
.shead.all    { border-image: linear-gradient(90deg, #f2b705 25%, #d9661f 25% 50%, #5b9bd5 50% 75%, #6cb33f 75%) 1; }
.shead.all span { background: #1c2f6b; }

.new {
  float: left;
  margin: 5px 0 0 6px;
  padding: 0 4px;
  font-style: normal;
  font-size: 9px;
  line-height: 13px;
  font-weight: bold;
  color: #fff;
  background: #d62400;
}

/* weather */
table.weather { width: 502px; margin: 0 -4px 6px -4px; }
table.weather td {
  width: 25%;
  vertical-align: top;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 14px;
  color: #fff;
  border-radius: 6px;
}
table.weather td.summer { color: #3d2a00; }
table.weather td b { display: block; font-family: "Benguiat", Georgia, serif; font-weight: normal; font-size: 15px; line-height: 20px; }

/* objects */
.price { font-weight: bold; color: #2e7d1e; }

/* objects page */
#main.wide { width: 756px; }
.intro h1 .new { float: none; display: inline-block; vertical-align: 4px; margin-left: 4px; }
.catnav { font-weight: bold; line-height: 18px; }
.catnav .n { font-weight: normal; color: #666; }
.objgrid { overflow: hidden; margin: 0 -3px; }
.obj {
  float: left;
  display: inline;
  width: 135px;            /* 145 x 148 outside, without box-sizing (IE6) */
  height: 143px;
  margin: 0 3px 6px 3px;
  padding: 4px 4px 0 4px;
  text-align: center;
  background: #f4f7fc;
  border: 1px solid #d6deef;
}
.obj .pic { height: 92px; line-height: 92px; }
.obj .pic img { vertical-align: middle; }
.obj .nm { height: 28px; overflow: hidden; font-size: 11px; line-height: 13px; margin-top: 2px; }
.obj .price { font-size: 11px; }
.obj:hover { border-color: #f2b705; }
.totop { text-align: right; font-size: 11px; margin: 2px 0 0 0; }

.more-btn {
  display: inline-block;
  padding: 3px 14px;
  font-weight: bold;
  color: #1c2f6b !important;
  text-decoration: none;
  background: linear-gradient(#fff2a8, #f2b705);
  border: 1px solid #1c2f6b;
  border-radius: 11px;
}
.more-btn:hover { background: linear-gradient(#fff8cc, #ffcf30); }

.tipbox {
  overflow: hidden;
  clear: both;
  padding: 8px;
  background: #eef4fc;
  border: 1px solid #5b9bd5;
}

table.list { width: 100%; border-collapse: collapse; }
table.list td { padding: 4px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
table.list td.k { width: 60px; font-weight: bold; color: #fff; text-align: center; }
table.list td.k.summer { color: #3d2a00; }

table.careers { width: 100%; border-collapse: collapse; border: 1px solid #6cb33f; }
table.careers th { padding: 3px 6px; text-align: left; color: #fff; background: #6cb33f; }
table.careers td { padding: 3px 6px; }
table.careers tr.alt td { background: #f1f8ea; }
table.careers td:last-child, table.careers th:last-child { text-align: right; }
table.careers td:last-child { font-weight: bold; }

/* ================= sidebar ================= */
#getmanual {
  display: block;
  position: relative;
  margin-bottom: 12px;
  padding: 10px 10px 10px 48px;
  color: #1c2f6b;
  text-decoration: none;
  background: linear-gradient(#fff2a8, #f2b705);
  border: 2px solid #1c2f6b;
  border-radius: 12px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 2px 2px 0 rgba(28,47,107,.3);
}
#getmanual b { display: block; font-size: 15px; line-height: 18px; }
#getmanual small { font-size: 11px; }
#getmanual:hover { background: linear-gradient(#fff8cc, #ffcf30); }
#getmanual .pb {
  position: absolute;
  left: 16px;
  top: 8px;
  width: 18px;
  height: 34px;
  background: linear-gradient(90deg, #4fd12a, #a8f060 48%, #239a16 52%, #5fe03a);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.widget {
  margin-bottom: 12px;
  padding: 0 8px 6px 8px;
  overflow: hidden;
  background: #f4f7fc;
  border: 1px solid #8fa6d6;
}
.whead {
  margin: 0 -8px 8px -8px;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(#2f4a99, #1c2f6b);
}
.widget ul { margin: 0 0 4px 0; padding-left: 18px; list-style: square; }
.widget li { font-size: 11px; line-height: 15px; }

table.calendar { width: 100%; margin-bottom: 4px; }
table.calendar th { width: 26px; height: 20px; font-size: 10px; color: #fff; border-radius: 3px; }
table.calendar th.summer { color: #3d2a00; }
table.calendar td {
  height: 20px;
  text-align: center;
  font-size: 10px;
  background: #fff;
  border: 1px solid #d6deef;
}
table.calendar td.h { background: #ffe680; font-weight: bold; }
table.calendar td.snow { background: #dcecff; font-weight: bold; }
.legend { font-size: 10px; margin-bottom: 4px; }
.legend span { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; border: 1px solid #aaa; }
.legend .h { background: #ffe680; }
.legend .snow { background: #dcecff; }

table.facts { width: 100%; border-collapse: collapse; margin-bottom: 2px; }
table.facts td { padding: 2px 0; font-size: 11px; border-bottom: 1px dotted #b8c6e3; }
table.facts td:last-child { text-align: right; font-weight: bold; color: #1c2f6b; }

/* ================= footer ================= */
#footer {
  padding: 10px 10px 8px 10px;
  text-align: center;
  font-size: 11px;
  color: #c9d6ec;
  background: #1c2f6b;
}
#footer a { color: #fff; font-weight: bold; }
#footer p { margin: 6px 0 0 0; font-size: 10px; line-height: 12px; color: #8fb0ea; }

/* ================= header: the winter silhouette sits right of the logo ================= */
#header .band.winter img { left: auto; right: 22px; }

/* ================= shared content bits ================= */
#main h3 { margin: 10px 0 4px 0; font-size: 13px; color: #1c2f6b; }
#main ol { margin: 0 0 8px 0; padding-left: 22px; }
#main ol li { margin-bottom: 4px; }
code {
  display: inline-block;
  margin: 2px 0;
  padding: 1px 5px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  background: #f4f7fc;
  border: 1px solid #b8c6e3;
}
.key {
  padding: 0 4px;
  font-size: 10px;
  font-weight: bold;
  background: #eef3fb;
  border: 1px solid #8fa6d6;
  border-radius: 3px;
}
dl.terms { margin: 0 0 8px 0; }
dl.terms dt { font-weight: bold; color: #1c2f6b; }
dl.terms dd { margin: 0 0 6px 14px; }
.shots { text-align: center; margin: 0 0 6px 10px; }
.shots img { display: block; margin: 0 auto 4px auto; border: 2px solid #1c2f6b; }
.shots p { width: 110px; margin: 0 auto; font-size: 10px; line-height: 12px; font-style: italic; color: #555; }
.shots img + img { margin-top: 4px; }
.warnbox {
  margin-bottom: 8px;
  padding: 8px 10px;
  background: #fff4e6;
  border: 1px solid #d9661f;
  border-left: 6px solid #d9661f;
}
ol.steps li::marker { font-weight: bold; color: #d9661f; }

/* the three editions the expansion installs on */
table.editions { width: 502px; margin: 0 -4px 6px -4px; }
table.editions td {
  width: 33%;
  padding: 8px 6px;
  text-align: center;
  vertical-align: top;
  background: #eef3fb;
  border: 1px solid #8fa6d6;
  border-radius: 8px;
}
table.editions b { display: block; color: #1c2f6b; font-size: 12px; line-height: 15px; }
table.editions span { display: block; margin-top: 3px; font-size: 10px; line-height: 12px; color: #666; }

/* home page feature boxes */
table.features { width: 100%; border-collapse: separate; border-spacing: 0 0; }
table.features td { width: 50%; vertical-align: top; padding: 0 0 16px 0; }
table.features td.l { padding-right: 14px; }
table.features p { min-height: 45px; _height: 45px; }

/* ================= BIG download button ================= */
.bigdownload {
  display: block;
  position: relative;
  margin: 0 0 18px 0;
  padding: 14px 16px 14px 74px;
  color: #fff !important;
  text-decoration: none;
  background: linear-gradient(#5ccd2c, #2e8f12);
  border: 3px solid #1c2f6b;
  border-radius: 16px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.45), 3px 4px 0 rgba(28,47,107,.35);
}
.bigdownload b {
  display: block;
  font-family: "Benguiat", Georgia, serif;
  font-weight: normal;
  font-size: 27px;
  line-height: 32px;
  text-shadow: 2px 2px 0 #1c5a0a;
}
.bigdownload small { font-size: 11px; color: #e8ffd8; }
.bigdownload:hover { background: linear-gradient(#78e548, #3aa81a); }
.bigdownload .pb {
  position: absolute;
  left: 24px;
  top: 10px;
  width: 30px;
  height: 56px;
  background: linear-gradient(90deg, #fff2a8, #ffffff 48%, #f2b705 52%, #ffe066);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
#getgame {
  display: block;
  margin-bottom: 4px;
  padding: 10px 10px 9px 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(#5ccd2c, #2e8f12);
  border: 2px solid #1c2f6b;
  border-radius: 12px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 2px 2px 0 rgba(28,47,107,.3);
}
#getgame b { display: block; font-family: "Benguiat", Georgia, serif; font-weight: normal; font-size: 24px; line-height: 28px; text-shadow: 2px 2px 0 #1c5a0a; }
#getgame small { font-size: 11px; color: #e8ffd8; }
#getgame:hover { background: linear-gradient(#78e548, #3aa81a); }
#getold {
  display: block;
  margin-bottom: 4px;
  padding: 5px 10px 5px 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(#5ccd2c, #2e8f12);
  border: 2px solid #1c2f6b;
  border-radius: 10px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 2px 2px 0 rgba(28,47,107,.3);
}
#getold b { display: block; font-family: "Benguiat", Georgia, serif; font-weight: normal; font-size: 16px; line-height: 20px; text-shadow: 1px 1px 0 #1c5a0a; }
#getold small { font-size: 11px; color: #e8ffd8; }
#getold:hover { background: linear-gradient(#78e548, #3aa81a); }
.sidelink { text-align: center; font-size: 11px; font-weight: bold; margin-bottom: 12px; }

/* career ladders, two per row */
.ladders { overflow: hidden; margin: 0 -4px; }
.ladder { float: left; display: inline; width: 239px; margin: 0 4px 10px 4px; border: 1px solid #d9661f; }
.ladder .lhead { padding: 3px 6px; color: #fff; background: #d9661f; }
.ladder .lhead span { float: right; font-size: 10px; }
.ladder table { width: 100%; border-collapse: collapse; font-size: 11px; line-height: 14px; }
.ladder td { padding: 2px 4px; }
.ladder tr.alt td { background: #fbefe6; }
.ladder td.n { width: 14px; text-align: right; color: #999; }
.ladder td.h { white-space: nowrap; color: #555; }
.ladder td.s { text-align: right; font-weight: bold; color: #2e7d1e; }
#main ul { margin: 0 0 8px 0; padding-left: 18px; }
#main ul li { margin-bottom: 3px; }

/* numbered points with a round season-colored number */
.numsteps p { position: relative; min-height: 28px; _height: 28px; margin: 0 0 8px 0; padding: 5px 0 0 40px; }
.numsteps .num {
  position: absolute;
  left: 3px;               /* room for the ring, or the section's overflow cuts it off */
  top: 3px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-family: "Benguiat", Georgia, serif;
  font-size: 14px;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #1c2f6b;
}
.numsteps .num.summer { color: #3d2a00; }

/* ================= baked images (see tools/build_site.py) =================
   Everything IE6 can't draw (web font, gradients, round corners, shadows, alpha PNGs) is rendered in Chrome
   and saved as plain images. Links get a two-state sprite: normal on the left, hover on the right. */
img.bk { display: block; border: 0; }
a.bk { display: block; overflow: hidden; background-repeat: no-repeat; background-position: 0 0; text-decoration: none; }
a.bk:hover { background-position: 100% 0; }
a.bk span { position: absolute; left: -9999px; }
#hdr { display: block; }

/* screenshots page: three 240 x 180 thumbnails a row */
.gallery { overflow: hidden; zoom: 1; margin: 0 -4px; }
.gallery .shot { float: left; display: inline; width: 244px; margin: 0 4px 10px 4px; text-align: center; }
.gallery img { display: block; border: 2px solid #1c2f6b; }
.gallery a:hover img { border-color: #f2b705; }
.gallery p { margin: 3px 0 0 0; font-size: 11px; }
.soon { padding: 40px 0; text-align: center; font-size: 14px; font-weight: bold; color: #1c2f6b; }
.homeshots { overflow: hidden; zoom: 1; }
.homeshots a { float: left; display: inline; margin-right: 4px; }
.homeshots img { display: block; border: 2px solid #1c2f6b; }
.homeshots a:hover img { border-color: #f2b705; }
