/* viensla.fr — look volontairement basique, style sites de rencontres 2000s */

body {
  margin: 0;
  background: #c9d6e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect fill='%23b8c8dc' width='2' height='2'/%3E%3C/svg%3E");
  color: #111;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

a {
  color: #003399;
}

a:visited {
  color: #660066;
}

.shell {
  width: 920px;
  max-width: 100%;
  margin: 12px auto;
  border: 1px solid #003366;
  background: #fff;
}

.header {
  background: linear-gradient(#003399, #001a66);
  color: #fff;
  padding: 14px 16px 10px;
  border-bottom: 3px solid #ff9900;
}

.cover {
  margin: -16px -18px 16px;
  border-bottom: 3px solid #ff9900;
  line-height: 0;
  overflow: hidden;
  max-height: 280px;
}

.cover img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border: 0;
}

.hint {
  color: #556;
  font-size: 11px;
  margin-top: -4px;
}

.brand a {
  color: #fff;
  text-decoration: none;
  font-family: "Comic Sans MS", "Trebuchet MS", Verdana, sans-serif;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #000;
}

.tagline {
  color: #ffcc66;
  font-size: 12px;
  margin-top: 2px;
}

.nav {
  background: #e8eef8;
  border-bottom: 1px solid #99aacc;
  padding: 8px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 1em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15em 1em;
}

.nav .who {
  margin-inline-start: auto;
  color: #333;
  white-space: nowrap;
}

.lang {
  white-space: nowrap;
}

.lang a.on {
  font-weight: bold;
  text-decoration: underline;
}

.content {
  padding: 16px 18px 24px;
  min-height: 320px;
  vertical-align: top;
}

.footer {
  background: #e8eef8;
  border-top: 1px solid #99aacc;
  padding: 8px 12px;
  color: #555;
  font-size: 11px;
  text-align: center;
}

h1 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #003399;
  border-bottom: 1px solid #ccd6e8;
  padding-bottom: 4px;
}

h2 {
  font-size: 15px;
  color: #003366;
  margin: 0 0 8px;
}

.box {
  border: 1px solid #99aacc;
  background: #f7f9fc;
  width: 320px;
}

.box th {
  background: #003399;
  color: #fff;
  text-align: left;
  font-weight: bold;
}

.form td {
  vertical-align: top;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input:not([type]),
select,
textarea {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  border: 1px solid #6688aa;
  padding: 3px 5px;
  background: #fff;
}

button,
input[type="submit"] {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  background: #003399;
  color: #fff;
  border: 1px solid #001a66;
  padding: 4px 12px;
  cursor: pointer;
}

button:hover {
  background: #0044cc;
}

.search label {
  margin-right: 10px;
  white-space: nowrap;
}

.search {
  background: #f0f4fa;
  border: 1px solid #99aacc;
  padding: 8px;
  margin-bottom: 12px;
}

.list {
  border-collapse: collapse;
  border: 1px solid #99aacc;
}

.list th,
.list td {
  border-bottom: 1px solid #ccd6e8;
  vertical-align: top;
}

.list .head th {
  background: #003399;
  color: #fff;
  text-align: left;
}

.list tr.unread td {
  background: #fff8e0;
  font-weight: bold;
}

.list tr:nth-child(even) td {
  background: #f7f9fc;
}

.list tr.unread:nth-child(even) td {
  background: #fff3cc;
}

.thumb img,
.photo img,
.form img {
  border: 1px solid #669;
  background: #eee;
  object-fit: cover;
}

.nophoto {
  width: 80px;
  height: 80px;
  background: #dde3ee;
  border: 1px dashed #99aacc;
  color: #667;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
}

.nophoto.big {
  width: 200px;
  height: 200px;
  font-size: 14px;
}

.profile {
  width: 100%;
  border: 1px solid #99aacc;
  background: #fafbfe;
}

.desc,
.msg {
  background: #fff;
  border: 1px solid #ccd6e8;
  padding: 10px;
  white-space: pre-wrap;
}

.thread {
  margin: 12px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  border: 0;
}

.thread-item {
  padding: 12px 14px;
  border: 1px solid #ccd6e8;
  background: #f7f9fc;
}

.thread-item.mine {
  background: #eef4ff;
  border-color: #b8c8e4;
}

.thread-meta {
  color: #445;
  font-size: 12px;
  margin-bottom: 8px;
}

.thread-subject {
  font-weight: bold;
  margin-bottom: 6px;
}

.thread-body {
  white-space: pre-wrap;
  line-height: 1.45;
}

.reply-box {
  margin-top: 12px;
  padding-top: 4px;
}

.flash {
  padding: 8px 10px;
  margin: 0 0 12px;
  border: 1px solid;
}

.flash.ok {
  background: #e6ffe6;
  border-color: #66aa66;
  color: #060;
}

.flash.err {
  background: #ffe6e6;
  border-color: #cc6666;
  color: #600;
}

.errors {
  color: #900;
}

.pager {
  margin-top: 12px;
}

.pager a {
  margin: 0 8px;
}

.member-map {
  width: 100%;
  max-width: 420px;
  height: 220px;
  border: 1px solid #99a;
  background: #e8eef5;
}

@media (max-width: 940px) {
  .shell {
    width: auto;
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .nav .who {
    margin-inline-start: 0;
    flex-basis: 100%;
  }

  .search label {
    display: block;
    margin: 4px 0;
  }
}
