/* GeneraSon - compléments au thème (titres, formulaire de contact, accueil)
   Chargé sur toutes les pages après css/colors/orange.css */

/* Titre principal de page : h1 avec l'apparence des anciens titres h2 / h3 */
#page-title h1.gs-h2 { font-size: 24px; line-height: 30px; font-weight: normal; padding: 19px 0 35px 0; }
#page-title h1.gs-h3 { font-size: 18px; line-height: 34px; }

/* Liens téléphone : même couleur que le texte autour */
a.gs-tel { color: inherit; }

/* Formulaire de contact */
#gs-contact .gs-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
#gs-contact .gs-row .field { flex: 1 1 200px; }
#gs-contact .gs-row .field input, #gs-contact .gs-row .field select { width: 100%; box-sizing: border-box; }
#gs-contact input[type="tel"] { border: 1px solid #d8d8d8; padding: 10px 11px; outline: none; font: 14px "Open Sans", sans-serif; color: #888; margin: 0; max-width: 100%; display: block; background: #fff; box-shadow: 0 1px 1px 0 rgba(180,180,180,.1); }
#gs-contact input[type="tel"]:focus { border-color: #bbb; }
#gs-contact .gs-row .field input, #gs-contact .gs-row .field select { margin-bottom: 15px; }
#gs-contact select { padding: 0 8px; color: #888; font: 14px "Open Sans", sans-serif; height: 41px; }
#gs-contact input[type="submit"] { width: auto; padding: 9px 18px; border: 0; background: #fa5b0f; color: #fff; font: bold 14px "Open Sans", sans-serif; cursor: pointer; float: left; -webkit-appearance: none; }
#gs-contact input[type="submit"]:hover { background: #888; }
#gs-contact input[type="submit"]:disabled { opacity: .6; cursor: default; }
#gs-contact .gs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#gs-contact .gs-err { display: none; color: #c0392b; font-weight: 600; margin: 0 0 12px 0; }
#gs-contact .gs-ts { margin: 4px 0 14px 0; }
.gs-contact-infos { margin: 0 0 20px 0; line-height: 24px; }
.gs-contact-infos i { color: #fa5b0f; width: 18px; }

/* Accueil : atouts et références */
.gs-atouts { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0 30px 0; }
.gs-atout { flex: 1 1 170px; display: flex; flex-direction: column; border: 1px solid #e9e9e9; border-top: 3px solid #fa5b0f; padding: 18px 18px 8px 18px; background: #fff; }
.gs-atout .button { margin-top: auto; align-self: flex-start; }
.gs-atout h4 { margin: 0 0 8px 0; line-height: 24px; }
.gs-atout p { margin: 0 0 12px 0; font-size: 13px; line-height: 21px; }
.gs-atout img { max-width: 70px; height: auto; display: block; margin: 0 0 8px 0; }
.gs-atout .button { margin-bottom: 10px; }
.gs-refs { background: #f6f6f6; border-left: 3px solid #fa5b0f; padding: 18px 22px; margin: 0 0 30px 0; }
.gs-refs p { margin: 0 0 8px 0; line-height: 22px; }
.gs-refs p:last-child { margin: 0; }
.gs-zone { font-size: 13px; color: #888; margin: -10px 0 30px 0; }
@media only screen and (max-width: 767px) {
	.gs-atout { flex-basis: 100%; }
	#gs-contact .gs-row .field { flex-basis: 100%; }
}

/* Choix de la langue FR | EN */
#contact-details li.gs-lang { font-weight: 600; }
#contact-details li.gs-lang a { color: #fa5b0f; }
#contact-details li.gs-lang span { color: #ccc; margin: 0 3px; }
ul.gs-lang-float { position: absolute; top: 12px; right: 16px; margin: 0; list-style: none; z-index: 50; font: 600 13px "Open Sans", sans-serif; }
ul.gs-lang-float a { color: #fa5b0f; }
ul.gs-lang-float span { color: #ccc; margin: 0 3px; }
/* Accueil : choix de la langue avec drapeaux */
#contact-details li.gs-lang-home { display: block; text-align: right; font-size: 14px; border: none; margin: -8px 0 8px 0; padding: 0; }
@media only screen and (max-width: 767px) { #contact-details li.gs-lang-home { text-align: center; margin: 0 0 8px 0; } }
#contact-details li.gs-lang-home img.gs-flag { display: inline-block; width: 21px; height: 14px; max-width: none; vertical-align: -2px; margin: 0 3px 0 0; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
#contact-details li.gs-lang-home img.gs-flag-gb { width: 28px; }
#logo img.gs-logo-en { width: 360px; max-width: 100%; height: auto; }
#contact-details li.gs-lang-home a, #contact-details li.gs-lang-home strong { white-space: nowrap; }
#contact-details li.gs-lang-home + li { border: none; margin-left: 0; padding-left: 0; }
/* Correctifs HTML (fix_html.py) : page courante en double dans les menus, ancien <font size="2"> */
a.gs-current { background: #fa5b0f !important; color: #fff !important; }
.gs-small { font-size: small; }
.links-list-alt li.gs-sep { display: block; height: 3px; width: 100px; background: #fa5b0f; margin-bottom: -2px; list-style: none; }
.gs-center { text-align: center; } .gs-center img { margin-left: auto; margin-right: auto; }
/* Backline : tri par marque (blbuild/backline_filter.py + js/backline.js) */
.gs-filters { margin: 0 0 18px; }
.gs-filters a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; border: 1px solid #e0e0e0; color: #777; font-size: 13px; border-radius: 3px; }
.gs-filters a:hover, .gs-filters a.gs-fon { background: #fa5b0f; border-color: #fa5b0f; color: #fff; }
.gs-blres { display: none; }
/* Menu principal à 8 entrées : resserré sur les écrans moyens pour rester sur une ligne */
@media only screen and (min-width: 768px) and (max-width: 1119px) { #navigation #nav > li > a { padding: 17px 14px; } }
@media only screen and (min-width: 768px) and (max-width: 959px) { #navigation #nav > li > a { padding: 17px 8px; font-size: 13px; } }
@media only screen and (min-width: 768px) and (max-width: 859px) { #navigation #nav > li > a { padding: 17px 6px; font-size: 12px; } }
