/* Les Enchères du Canal — th_enchere template (generated recovery CSS) */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  background: #f5f5f5;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

body.loaded {
  visibility: visible;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #b5121b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75em;
  font-weight: 600;
  line-height: 1.25;
  color: #222;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.15rem; }

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}

.clear {
  clear: both;
}

.root {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
}

/* ---- Header ---- */

header.h1 {
  background: #fff;
  border-bottom: 3px solid #b5121b;
}

header.h1.sticky-enabled {
  position: sticky;
  top: 0;
  z-index: 1000;
}

section.top {
  background: #2a2a2a;
  color: #ddd;
  font-size: 0.85rem;
}

section.top > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
}

section.top nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

section.top nav a {
  color: #ddd;
}

section.top nav a:hover {
  color: #fff;
  text-decoration: none;
}

section.top select#top-nav {
  display: none;
}

section.main-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 0.75rem;
}

p.title {
  flex: 0 0 auto;
  margin: 0;
  min-width: 180px;
  min-height: 48px;
}

p.title a {
  display: inline-block;
  color: #b5121b;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.2;
  max-width: 260px;
}

p.title a:hover {
  text-decoration: none;
  color: #8f0e16;
}

nav.social {
  margin-left: auto;
}

nav.social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

nav.social li {
  font-size: 0;
}

nav.social a.facebook,
nav.social a.instagram {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #444;
  border-radius: 3px;
}

nav.mainmenu {
  flex: 1 1 100%;
  border-top: 1px solid #eee;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

nav.mainmenu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

nav.mainmenu > ul > li {
  position: relative;
}

nav.mainmenu > ul > li > a {
  display: block;
  padding: 0.65rem 1rem;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

nav.mainmenu > ul > li > a:hover,
nav.mainmenu > ul > li.current-menu-item > a {
  color: #b5121b;
  text-decoration: none;
  background: #fafafa;
}

nav.mainmenu ul ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

nav.mainmenu li:hover > ul {
  display: block;
}

nav.mainmenu ul ul a {
  display: block;
  padding: 0.5rem 1rem;
  color: #444;
  font-weight: 400;
  text-transform: none;
}

nav.mainmenu select.select {
  display: none;
}

/* ---- Color theme ---- */

body.color-red a,
body.color-red .button {
  --accent: #b5121b;
}

body.color-red h2 > span,
body.color-red h3 > span,
body.color-red h4 > span {
  border-bottom: 2px solid #b5121b;
  padding-bottom: 0.15em;
}

/* ---- Slider (homepage) ---- */

section.slider {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

section.slider1 {
  min-height: 320px;
}

section.slider1 article {
  display: block;
  min-height: 320px;
  padding: 4rem 2rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(181, 18, 27, 0.85), rgba(40, 40, 40, 0.9)),
    #444 center / cover no-repeat;
}

section.slider1 article:nth-child(1) {
  background-image: linear-gradient(135deg, rgba(181, 18, 27, 0.82), rgba(30, 30, 30, 0.88));
}

section.slider1 article:nth-child(2) {
  background-image: linear-gradient(135deg, rgba(50, 50, 50, 0.85), rgba(181, 18, 27, 0.75));
}

section.slider1 article:nth-child(3) {
  background-image: linear-gradient(135deg, rgba(181, 18, 27, 0.7), rgba(60, 60, 60, 0.9));
}

section.slider1 h3 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 300;
  max-width: 640px;
}

section.slider1 p {
  max-width: 560px;
  font-size: 1.05rem;
}

section.slider-box {
  margin: 1rem 0;
}

/* ---- Breadcrumb ---- */

section.breadcrumb {
  background: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.9rem;
}

section.breadcrumb.p07 {
  padding: 0.65rem 1.25rem;
}

section.breadcrumb p {
  margin: 0;
  max-width: 1200px;
}

section.breadcrumb a {
  color: #666;
}

section.breadcrumb a:hover {
  color: #b5121b;
}

/* ---- Main content ---- */

section.content {
  padding: 1.5rem 1.25rem 2rem;
}

section.content.contact {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

article.main {
  min-width: 0;
}

aside {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  padding: 1rem;
  font-size: 0.95rem;
}

aside h2 span,
aside h3 span {
  font-size: 1rem;
}

section.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

section.columns > h2 {
  flex: 1 1 100%;
}

article.col2,
section.col2 {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 280px;
}

article.col3,
.col3 {
  flex: 0 0 120px;
  max-width: 120px;
}

article.col23,
.col23 {
  flex: 1 1 calc(100% - 140px);
  min-width: 200px;
}

article.col4,
.col4 {
  flex: 1 1 calc(25% - 1.125rem);
  min-width: 200px;
}

section.col2.latest {
  flex: 1 1 calc(50% - 0.75rem);
}

article.post {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

article.post h2,
article.post h3 {
  font-size: 1.05rem;
}

p.post-meta {
  color: #777;
  font-size: 0.9rem;
}

p.post-meta span {
  color: #555;
}

.popular-objects article.col4 {
  text-align: center;
  padding: 0.75rem;
  border: 1px solid #eee;
  background: #fafafa;
}

.popular-objects article.col4 h3 {
  font-size: 0.95rem;
}

.popular-objects article.col4 p {
  color: #666;
  font-size: 0.85rem;
}

.columns.related.content-slider {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

/* ---- Images ---- */

div.img {
  overflow: hidden;
  background: #eee;
  min-height: 80px;
}

div.img a {
  display: block;
}

span.img-border {
  display: block;
  min-height: 120px;
  background: #e8e8e8 center / cover no-repeat;
  border: 1px solid #ddd;
  overflow: hidden;
}

span.img-border img,
article.col3 img,
div.img img,
.popular-objects img,
.hp-services img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 90px;
  object-fit: cover;
}

article.col3 a {
  display: block;
}

article.col3 img {
  min-height: 90px;
  max-height: 120px;
}

.hp-services img {
  width: 48px;
  height: 48px;
  min-height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

div.video {
  min-height: 180px;
  background: #222;
}

/* ---- Homepage services ---- */

ul.hp-services {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

ul.hp-services > li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eee;
}

ul.hp-services > li > a {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: #b5121b center / 32px no-repeat;
  border-radius: 4px;
  text-indent: -9999px;
  overflow: hidden;
}

ul.hp-services > li:nth-child(1) > a { background-color: #b5121b; }
ul.hp-services > li:nth-child(2) > a { background-color: #8f0e16; }
ul.hp-services > li:nth-child(3) > a { background-color: #c41e3a; }
ul.hp-services > li:nth-child(4) > a { background-color: #a01018; }
ul.hp-services > li:nth-child(5) > a { background-color: #d42030; }

ul.hp-services h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

ul.hp-services p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* ---- Buttons ---- */

a.button,
input.button,
button.button,
input[type="submit"] {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: 3px;
  background: #b5121b;
  color: #fff !important;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

a.button:hover,
input.button:hover,
input[type="submit"]:hover {
  background: #8f0e16;
  text-decoration: none;
}

a.action.go {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ---- Forms ---- */

form.form1,
form.contact-form {
  max-width: 640px;
}

form.form1 p,
form.contact-form p {
  margin-bottom: 1rem;
}

form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

span.rouge {
  color: #b5121b;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea,
form select {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font: inherit;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form input[type="submit"] {
  margin-top: 0.5rem;
}

div.input {
  margin-top: 0.35rem;
}

/* ---- Portfolio sidebar ---- */

section.portfolio article.website .img {
  margin-bottom: 0.5rem;
}

/* ---- Footer ---- */

footer {
  background: #2a2a2a;
  color: #ccc;
  font-size: 0.9rem;
}

footer section.bottom {
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

footer section.bottom p {
  margin: 0;
  flex: 1 1 60%;
}

footer a {
  color: #ddd;
}

footer a:hover {
  color: #fff;
}

footer nav.social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

a.go-top {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background: #f0f0f0;
  color: #666;
  font-size: 0.85rem;
  border-top: 1px solid #e0e0e0;
}

a.go-top:hover {
  background: #e8e8e8;
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  section.content.contact {
    grid-template-columns: 1fr;
  }

  article.col4,
  .col4 {
    flex: 1 1 calc(50% - 0.75rem);
  }

  nav.mainmenu > ul {
    display: none;
  }

  nav.mainmenu select.select,
  section.top select#top-nav {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.5rem;
  }
}

@media (max-width: 600px) {
  article.col2,
  section.col2,
  article.col4,
  .col4 {
    flex: 1 1 100%;
  }

  section.columns {
    flex-direction: column;
  }

  article.col3,
  .col3 {
    flex: 1 1 100%;
    max-width: none;
  }

  section.slider1 article {
    padding: 2.5rem 1.25rem;
    min-height: 240px;
  }

  section.slider1 h3 {
    font-size: 1.35rem;
  }
}
