@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.css');

:root {
  --color-primary: #337ab7;
  --color-secondary: #86b7fe;
  --color-light: #f2f2f2;
  --color-gray: #ced4da;
  --color-dark: #212121;
  --color-white: #ffffff;
  --color-error: #e2442f;
  --color-warning-def: #ffc900;
  --color-back-warning: #fcf8e3;
  --color-text-warning: #8a6d3b;
  --color-info: #02a2b9;
  /* --color-success: #1ba345; */
  --color-success: #d1e7dd;
  --color-input: #00d1b2;
  --border-radius: 5px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
}

html,
body {
  height: 100%;
}

img {
  max-width: 100%;
}
input,
button,
textarea {
  font: inherit;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
textarea:focus {
  outline: 0;
  box-shadow:  0 0 0 0.125rem rgb(0 209 178 / 25%);
  border: solid 1px var(--color-input);
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.125rem rgb(238, 57, 76, 25%);
}
body {
  font-family: 'Dosis', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 2.2rem;
  /* line-height: 1.5; */
}

h2 {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: .8rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem;
}

.header {
  border-bottom: solid 1px var(--color-light);
}

.header .container {
  display: flex;
  align-items: center;
  gap:1rem;
  
}

.nav {
	display:flex;
	gap:1rem;
	align-items: center;
	justify-content: center;
	flex-basis: 100%;
}



.nav a:nth-last-child(2) {
	margin-left: auto;
	font-weight: bold;
} 


.logo {
  padding: 0.5rem;
  background-color: var(--color-primary);
  text-decoration: none;
  color: var(--color-white);
  font-weight: bold;
  text-transform: uppercase;
}
.logo:hover {
  text-decoration: none;
}
/* feature */
.feature {
  display: flex;
  justify-content: space-between;
}
.feature-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-content .cta {
  margin-top: 1rem;
  align-self: flex-start;
}
.feature-image {
  width: 50%;
  height: auto;
}

/* form */

.card {
  border: solid 1px var(--color-light);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: rgb(11 43 158 / 15%) 0px 6px 20px -6px;
  min-width: 400px;
}

/* form */
form > * {
  display: block;
  margin-bottom: 0.5rem;
}

form > input[type='submit'],
form > button {
  margin: 1rem 0;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

hr {
  height: 1px;
  border: none;
  background-color: var(--color-light);
}

input[type='text'],
input[type='email'],
input[type='password'],
textarea {
  border-radius: var(--border-radius);
  border: solid 1px var(--color-gray);
  /* width: 100%; */
  padding: 0.25rem 0.75rem;
}

textarea {
  max-height: 7rem;
}

/* Task list */

.tasks {
  list-style: none;
  width: 100%;
  max-width: 450px;
}

.tasks li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: solid 1px var(--color-dark);
  padding: 0.5rem 0;
}
.tasks li:last-of-type {
  border-bottom: none;
}

.task-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.task-controls a {
  color: var(--color-dark);
}

/* task detail */

.task {
  margin-bottom: auto;
}

.badge {
  font-size: 0.5rem;
  padding: 0.25rem 1rem;
  color: var(--color-white);
  border-radius: 2rem;
  align-self: flex-start;
}

.badge-completed {
  background-color: var(--color-success);
}

.badge-pending {
  background-color: var(--color-warning-def);
}

.completed {
  text-decoration: line-through;
}

.completed:hover {
  text-decoration: line-through;
}

.btn {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  border: solid 1px var(--color-white);
  color: var(--color-dark);
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  min-width: 6rem;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
}
.btn-outline {
  border: solid 1px var(--color-primary);
}

.btn-primary {
  border: solid 1px var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* footer */

.footer {
  margin-top: auto; /* stick to bottom */
  /* padding: 0.5rem 0 0.2rem 0; */
  border-top: solid 1px var(--color-light);
}
.footer p {
  text-align: left;
  margin: 0.1rem 0 0.1rem 0.5rem;
}

/* alert */
 .alert {
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
}

.alert-error {
  background-color: var(--color-error);
  color: var(--color-light);
}

.alert-warning {
  background-color: var(--color-back-warning);
  color: var(--color-text-warning);
}
/*
.alert-info {
  background-color: var(--color-info);
  color: var(--color-light);
}

.alert-success {
  background-color: var(--color-success);
  color: var(--color-light);
} */

/* utilities */
.text-center {
  text-align: center;
}

.error {
  color: var(--color-error);
}

.full-width {
  width: 100%;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.caps {
  text-transform: uppercase;
}

.not-visible {
  display: none;
}

/***/

.errorlist {
	color: red;
	list-style-type: none;
}

.lk-news-alert {
  line-height: 1em;
  padding-top: 1em;
  padding-bottom: 1em;
}

.lk-header {
  max-width: 95vw;
}

.lk-login {
	row-gap: 4vh;
}

form > label {
  font-weight: bold;
}

.warn-login {
  max-width: 550px;
  padding: 15px;
  margin: 0 auto;
}

main:has(> div > div.lk-login) {
  background-color: #eee;
}

.lk-cgu-checkbox-wrapper label {
    display: flex;
    align-items: center;
}
.lk-cgu-checkbox-wrapper input[type="checkbox"] {
    margin-right: 0.5rem;
}

.lor-lang {
  border: none;
  background-color: transparent;
}

.lor-img {
  margin-left: -10px;
  margin-top: -14px;
  max-height: 95px;
}

.menu-bar-text {
  padding-top: 4px;
  margin-left: -4px;
}

.menu-bar-text > small {
  color: #2883a3;
}

main:has(> div.sidebar) {
  display: flex;
  height: 100%;
  overflow-y: hidden;
}

.sidebar {
  background-color: #f5f5f5;
  border-right: 1px solid #eee;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  padding: .6em .6em;
}

.nav-sidebar {
  justify-content: left;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 0 min-content;
  gap: 0;
  margin-bottom: .6em;
}

.nav-sidebar > li {
  flex-shrink: 0;
  padding-right: .5em;
}

.nav-sidebar > li:hover {
  background-color: #eee;
}

.nav-sidebar > li.active {
  background-color: #428bca;
}

.nav-sidebar > li.unavailable > a {
  color: lightgray;
}

.nav-sidebar > li.active > a {
  color: #fff;
}

.nav-sidebar > li > a {
  padding-right: .2em;
  padding-left: .2em;
  text-decoration: none;
}

.nav-sidebar > li > a > i {
  margin-right: .3em;
}

.page {
  margin-left: 1em;
  padding-right: .8em;
  padding-left: .8em;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.lk-page-title {
  color: #2883a3;
  text-align: center;
  text-transform: uppercase;
  margin-top: .5rem;
  margin-bottom: 2rem;
}

.lk-subtitle {
  color: #2883a3;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.lk-form {
  max-width: 650px;
  margin: 0 auto; /* center on parent */
}

.lk-form > form > div > fieldset > legend {
  font-size: inherit;
  font-weight: bold;
}

.lk-form > form > div > select {
	padding-left: .5em;
	padding-right: .5em;
}

.lk-form > form > div > input {
  display: inline-block;
  margin-right: 10px;
}

.lk-form > form > div > textarea {
  display: inline-block;
  margin-right: 10px;
}

.lk-form > form > div > label {
  display: inline;
  margin-right: 5px;
  font-weight: bold;
}

/* text input full line */
.lk-form > form > div:has(input.lk-form-input-flex-full-line)  {
    display: flex;
    align-items: baseline;
}
.lk-form > form > div:has(input.lk-form-input-flex-full-line) > label  {
     margin-right: 10px;
}
.lk-form-input-flex-full-line {
  flex: 1;               /* Take up remaining space */
  min-width: 0;         /* Prevent overflow */
}

/* textarea full line */
.lk-form > form > div:has(textarea.lk-form-textarea-flex-full-line)  {
  display: flex;
  align-items: baseline;
}
.lk-form > form > div:has(textarea.lk-form-textarea-flex-full-line) > label  {
  margin-right: 10px;
}
.lk-form-textarea-flex-full-line {
  flex: 1;               /* Take up remaining space */
  min-width: 0;         /* Prevent overflow */
}

/* utilities */

.lk-no-margin-bottom {
  margin-bottom: 0;
}

.lk-text-blue {
  color: #0056b3;
}


/* generic for lists */

.file-row {
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center items */
    gap: 10px; /* Optional: adds space between items */
}

.title-row {
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center items */
    gap: 10px; /* Optional: adds space between items */
    padding-top: 0;
    padding-bottom: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.file-name {
    flex: 1; /* Takes up remaining space */
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides overflow */
    text-overflow: ellipsis; /* Adds ellipsis if text overflows */
}

.file-date {
    width: 120px; /* Fixed width for date */
    text-align: center;
}

.file-size {
    width: 80px;
    text-align: center;
}

.file-version {
    width: 120px;
    text-align: center;
}

.file-products {
    width: 200px;
    text-align: center;
}


/* generic for verion selector */

.selector-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.button-group {
  display: inline-flex;
  gap: 0; /* Remove gap between buttons */
  border: 1px solid #ccc; /* Optional: border around the whole group */
  border-radius: 4px; /* Optional: rounded corners */
  overflow: hidden; /* Ensures child borders don't overflow */
}

.selector-button {
  flex: 1; /* Makes all buttons equal width */
  padding: 8px 16px;
  background-color: #f8f9fa;
  border: none;
  border-right: 1px solid #ccc; /* Right border for each button */
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping */
  text-align: center;
  transition: background-color 0.2s;
}

.selector-button:last-child {
  border-right: none; /* Remove right border from last button */
}

.selector-button:hover {
  background-color: #e9ecef;
}

.selector-button.active {
  background-color: #007bff;
  color: white;
}

/* misc pages */

.lk-page-account {
  max-width: 950px;
}

.lk-saas-id {
  margin-bottom: 2rem;
}

.lk-gistools-level-info {
   margin-top: 2rem;
}

.lk-gistools-level-container {
  display: flex;
  justify-content: center; /* Espace entre les colonnes */
  align-items: stretch;
  margin: 20px;
  gap: 0.8rem;
}

.lk-gistools-level-column {
  display: flex;
  flex-direction: column; /* Aligner les éléments en colonne */
  align-items: center; /* Centrer les éléments horizontalement */
  text-align: center; /* Centrer le texte */
  padding-left: 1em;
  padding-right: 1em;
  max-width: 250px;
}

.lk-gistools-level-image {
    max-width: 100%; /* S'assurer que l'image ne dépasse pas la largeur de la colonne */
    height: auto; /* Garder les proportions de l'image */
    margin-bottom: 10px; /* Espace entre l'image et le bouton */
}

.lk-gistools-level-button {
    padding: 10px 20px; /* Espacement interne du bouton */
    background-color: #007BFF; /* Couleur de fond du bouton */
    color: white; /* Couleur du texte */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    cursor: pointer; /* Changer le curseur au survol */
    flex-grow: 1;
    width: 100%;
    max-width: 150px;
}

.lk-gistools-level-button:hover {
    background-color: #0056b3; /* Couleur de fond au survol */
    color: white; /* Couleur du texte */
    text-decoration: none;
}


/* online docs */

.lk-page-onlinedocs {
  max-width: 650px;
}

.lk-onlinedocs-prod-image {
  width: 1.7em;
  margin-right: .8em;
}

.lk-page-brocs {
  max-width: 900px;
}

.lk-broc-cat {
  margin-bottom: 2em;
}

.lk-page-yourfiles {
  max-width: 700px;
}

.lk-yourfiles-list {
  margin-top: 2em;
  margin-left: .8em;
}

.lk-page-licenses-lks {
  max-width: 700px;
}

.lk-page-contact {
  max-width: 700px;
}

.lk-contact-upload-file {
  font-size: 0.9em;
}

.lk_progress_container {
  padding: 0 0 .5em 0; /* t r b l */
}

/* subscription page */
.lk-subscription-page {
  max-width: 900px;
}

.lk-subscription-button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 1em;
  font-size: larger;
  font-weight: bolder;
}

.lk-subscription-button:hover {
  background-color: #0056b3;
  color: white;
  text-decoration: none;
}

div:has(> a.lk-subscription-button) {
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.lk-page-subscription-subscribe{
  max-width: 900px;
}

.lk-gistools-plan-container {
  border: 1. black;
}

.lk-gistools-plan-title {
  color: #0056b3;
}

.lk-subscription-plan-title {
  text-align: center;
  color: #0056b3;
  margin-top: 1.2em;
  margin-bottom: 1.5em;
}

.lk-gistools-plan-container {
  display: flex;
  justify-content: center; /* Espace entre les colonnes */
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 1.5em;
}

.lk-gistools-plan-column {
  display: flex;
  flex-direction: column; /* Aligner les éléments en colonne */
  flex-grow: 1; /* Permet aux colonnes de croître (avec un align-items: stretch; sur le container flex) */
  align-items: center; /* Centrer les éléments horizontalement */
  text-align: center; /* Centrer le texte */
  max-width: 225px;
  background: #f5f5f5;
  padding: .2em 0.5em;
  box-sizing: border-box;
  border: 2px solid #3498db; /* Couleur et épaisseur de la bordure */
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.lk-gistools-plan-column-selected {
  /* background: white;
  box-shadow: 10px -10px 10px rgba(170, 1, 1, 0.5); */
  border: 4px solid #3498db; /* Couleur et épaisseur de la bordure */
  background: rgb(230, 255, 250);
}
/* 
.lk-gistools-plan-column:hover {
  background: lightblue;
  box-shadow: 10px -10px 10px rgba(1, 1, 170, 0.5);
} */

.lk-gistools-plan-footnotes {
  margin: 0 auto; /* center on parent */
  margin-top: 2em;
  margin-bottom: 2em;
  padding-left: 1em;
}

/* download page */

.lk-page-downloads {
  max-width: 850px;
}

.lk-setup-list {
  margin-left: 0;
  margin-top: 4em;
}
/* 
.lk-setup-platform {
  margin-left: 0;
  margin-bottom: 2em;
} */

.lk-softs-list {
  margin-top: 2em;
}

.lk-release-notes-list {
  margin-left: 0;
  margin-top: 2em;
  max-width: 700px;
}

.lk-release-row {
  border: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.lk-docs-setup-list {
  margin-left: 0;
  margin-top: 2em;
  max-width: 700px;
}

.lk-docs-pdf-list {
  margin-left: 0;
  margin-top: 2em;
  max-width: 700px;
}

.lk-docs-fulldocs_pdf {
  margin-top: 1em;
}

.lk-docs-docs_pdf {
  margin-top: 1em;
}

.lk-doc-pdf-product-img {
  margin-left: 0.2em;
  margin-right: 0.2em;
  width: 1.5em;
}

/* release notes */

.lk-release-notes {
  margin-left: 2em;
  max-width: 900px;
}

.lk-release-notes-table {
  margin-top: 1em;
}

.lk-release-notes-product {
  margin-left: .5em;
  margin-bottom: 1em;
}

.lk-release-notes-type {
  margin-top: .7em;
  margin-left: 1em;
}

.lk-release-note-item-list {
  list-style-type: square;
  padding-left: 2em;
  font-size: .9rem;
  margin-bottom: 1.5em;
}

/* licenses */

.lk-form > form > div:has(div.lk-lic-product) {
  margin-right: 10px;
  display: flex;
  align-items: baseline;
}

.lk-form > form > div:has(div.lk-lic-product) > label {
  margin-right: 10px;
}

.lk-lic-product {
  flex: 1;               /* Take up remaining space */
  min-width: 0;         /* Prevent overflow */
  line-height: 1em;
  /* padding-left: 1em; */
}

/* Show LKGT only for V9 */
.lk-form div:has(> label > input.lk-lic-product[value="LKGT"]) {
  display: none;
}
.lk-form:has(label > input[value="9"]:checked) div:has(> label > input.lk-lic-product[value="LKGT"]) {
  display: block;
}

.lk-form > form > div:has(div.version-choice) {
  margin-right: 10px;
  display: flex;
  align-items: baseline;
}

.lk-form > form > div:has(div.version-choice) > label {
  margin-right: 10px;
}

.version-choice {
  /* outside flex */
  flex: 1;               /* Take up remaining space */
  min-width: 0;         /* Prevent overflow */
  /* inside flex */
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.version-choice input[type="radio"] {
  display: none; /* Hide the native radio buttons */
}

/* Style the label to look like a button */
.version-choice label {
  /* padding: 2px 8px; */
  padding: 2px 12px;
  /* margin: 5px; */
  margin: 0;
  /*border: 2px solid #007bff;*/
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  background-color: white;
  /* color: #007bff; */
  transition: all 0.2s ease;
}

/* Style for when the radio is checked */
.version-choice input[type="radio"]:checked + label,
.version-choice label:has(input[type="radio"]:checked) {
  /* background-color: #007bff; */
  background-color: black;
  color: white;
  /* border-color: #0056b3; */
  /* border-color: gray; */
  font-weight: bold;
}

/* subscribe page */

.lk-subscribe-options-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  line-height: 1.25;
}

.lk-subscribe-option-item {
  margin: 10px;
  text-align: center;
}

.lk-subscribe-option-item > input:not(:checked) + div > label > img {
  opacity: .5;
}

 /* Masquer les boutons radio par défaut *//* .lk-subscribe-option-radio {
    display: none;
}
*/

.lk-subscribe-option-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    /* border: 2px solid transparent;
    border-radius: 5px;
    padding: 10px;
    transition: border-color 0.3s; */
}

/* .lk-subscribe-option-item:checked label {
    border-color: blue;
} */


.lk-subscribe-option-item label img {
    max-width: 100px;
    height: auto;
}

.lk-subscribe-option-item label div {
    text-align: center;
    word-wrap: break-word;
}

/* responsive */

@media (max-width: 576px) {
  .header > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  .brand {
    order: 1;
  }
  .card {
    max-width: 360px;
  }
  .feature {
    flex-direction: column;
  }
  .feature-content,
  .feature-image {
    width: 100%;
  }

  .feature-image {
    order: 1;
  }
  .feature-content {
    order: 2;
    text-align: center;
  }
  .feature-content .cta {
    align-self: center;
  }
}
