/*   #FFA500 = jaune
   
   https://www.amp-what.com/
   */

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for Firefox */
html {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

body {
  background-color: rgba(255, 100, 100, 0);
  color: black;
  /*background-color: #0F0F0F;*/
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  position: relative;
  width: 100%;
  z-index: 100;
}

/* NAVIGATION BAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999;
}

.main {
  margin-top: 120px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 150px;
  position: relative;
  max-width: 100%;
  z-index: 50;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #0f0f0f;
}

li {
  float: left;
}

li a,
.dropbtn {
  display: inline-block;
  color: #FFA500;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover,
.dropdown:hover .dropbtn {
  color: #3282B4;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #323232;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.dropdown-content-lang {
  display: none;
  position: fixed;
  background-color: #323232;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.dropdown-content a {
  color: #FFA500;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content-lang a {
  color: #FFA500;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  /*background-color: #f1f1f1;*/
  color: #3282B4;
}

.dropdown-content-lang a:hover {
  /*background-color: #f1f1f1;*/
  color: #3282B4;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropdown-content-lang {
  display: block;
}

.radioplayer {
  position: absolute;
  bottom: 0px;
  width: 100%;
  min-height: 150px;
  z-index: 100;
}

.responsive-img {
  width: 95%;
  max-width: 600px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3,
p,
tr {
  font-family: "Segoe UI", Arial, sans-serif;
}

p a,
td a {
  color: #3282B4;
  text-decoration: none;
}

p a:hover {
  color: #3282B4;
}

/* changelog news */
.changedate {
  opacity: 0.4;
}

/* LIENS EXTERNES
  chrome android (safari aussi?) ignore VS15 => sans rotation, sans VS15 (au cas où il est pas ignoré)   */
a[href^="http"]:after {
  content: "\01f517";
  vertical-align: super;
  font-size: x-small;
  line-height: normal;
}

.footnote {
  font-size: 75%;
}

/* COMMENT BOX */
#hcb_form_name {
  background-color: #0f0f0f !important;
}

#hcb_form_content {
  background-color: #0f0f0f !important;
}

#HCB_comment_box .submit {
  background: none;
  /* Clear twitter bootstrap style. */
  color: white !important;
}

#hcb_form_name,
#hcb_form_content {
  color: #FFA500 !important;
}

::placeholder {
  color: #FFA500 !important;
}

.admin-link,
.home-desc,
#hcb_msg {
  display: none;
}

#HCB_comment_box h3 {
  margin-top: auto;
}

.author-name {
  font-size: 0.9em;
}

.hcb-comment-body {
  font-size: 0.8em !important;
}

.history-iframe {
  position: relative;
  margin: 0;
  max-height: 100%;
  background: url(/images/spinner_100px.svg) center center no-repeat;
  z-index: 1;
}

/* MEDIA QUERIES => responsive design */

@media only screen and (min-width: 400px) {
  div.main {
    position: relative;
    margin-top: 56px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px !important;
    margin-bottom: 215px;
    max-width: 100%;
    z-index: 100;
  }
  .history-iframe {
    max-height: 340px;
  }
}

/* for pixel 8, iphone... above 400px */
@media only screen and (min-width: 412px) {
  div.main {
    margin-top: 76px;
  }
}

@media only screen and (min-width: 768px) {
  div.main {
    margin-top: 56px;
  }
  .responsive-img {
    max-width: 600px;
    display: inline;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  body {
    font-size: 1.5em;
  }

  /* margin right of content */
  p,
  hr,
  #HCB_comment_box {
    margin-right: 50%;
  }

  /* TWO COLUMN TEXT+IMG DESIGN */

  .container {
    width: 100%;
    /*max-width: 60rem; original style! */
    max-width: 50%;
    padding-left: 10px;
    /* 960 */
    /* margin: 0 auto; disabled to avoid centering*/
  }

  .item {
    width: 100%;
    overflow: hidden;
    margin-bottom: 5rem;
    /* 80 */
  }

  .item {
    color: #666;
  }

  .item__info,
  .item__img {
    width: 50%;
    float: left;
  }

  .item:nth-child(even) .item__info {
    float: right;
    padding-left: 1.25rem;
    /* 20 */
  }

  .item:nth-child(even) .item__img {
    padding-right: 1.25rem;
    /* 20 */
  }

  .item:nth-child(odd) .item__info {
    padding-right: 1.25rem;
    /* 20 */
  }

  .item:nth-child(odd) .item__img {
    padding-left: 1.25rem;
    /* 20 */
  }

  .item h3 {
    font-weight: 700;
    font-size: 1.875rem;
    /* 30 */
    margin-bottom: 0.625rem;
    color: #3282B4;
    margin-top: 0 !important;
    text-align: center;
    /* 10 */
  }

  .page-title {
    width: 50%;
    text-align: center;
    margin-bottom: 10px;
  }

  .page-title-divider {
    margin-bottom: 20px;
  }

  .item-subtitle {
    font-size: smaller;
    opacity: 0.85
  }

  .item p {
    line-height: 1.625rem;
    /* 26 */
  }

  .item-text {
    margin-right: 0 !important;
  }

  .item-text-summary {
    font-weight: bold;
  }


  .item-text-favorites {
    margin-right: 0 !important;
  }

  .item-text-similar {
    margin-right: 0 !important;
  }

  /* blockquote styling */
  blockquote {
    font-size: smaller;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    padding-left: 15px;
    border-left: 3px solid #999999;
  }

  /* margin right of content */
  .history-iframe {
    margin-right: 50% !important;
  }

  /* LIENS EXTERNES \00fe0e après icône lien => transforme en texte pour appliquer propriétés CSS
    display: inline-block; => nécessaire pour pouvoir utiliser transform: rotate
   */
  a[href^="http"]:after {
    content: "\01f517\00fe0e";
    font-family: monospace;
    font-size: smaller;
    display: inline-block;
    transform: rotate(-45deg);
  }
}

/* HUGE SCREENS */
@media only screen and (min-width: 2000px) {

  p,
  hr {
    margin-right: 40%;
  }

  .container {
    max-width: 60%;
  }

  .page-title {
    width: 60%;
  }

  .history-iframe {
    margin-right: 40% !important;
  }
}