/*
Theme Name: tfloure
Theme URI: https://tfloure.ch/
Author: Timothée Floure
Author URI: https://tfloure.ch
Requires at least: 6.4
Requires PHP: 7.0
Version: 0.1
License: Proprietary
*/

/** Base **/

body {
  font-family: "inter";
  font-size: 18px;
  background-color: white;
}

/** Generic **/

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

hr {
  border-top: 1px dotted black !important;
}

main ul {
  margin-top: 0;
  list-style: square;
}

.disabled {
  pointer-events: none;
  color: grey !important;
  text-decoration: line-through !important;
}

.disabled a {
  color: grey !important;
}

blockquote {
  margin-left: 0;
  padding-left: 40px;
  border-left: 5px solid lightgray;
}

.text-center {
  text-align: center;
}

/** Layout **/

header {
  display: flex;

  img {
    width: 200px;
    margin-left: 30px;
  }

  #title {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    justify-content: end;

    h1 {
      margin-top: 0;
      margin-bottom: 0;
      font-size: 52px;
    }
  }

  ul {
    margin-top: -10px;
    padding-left: 10px;
    list-style: none;
    font-size: 24px;

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

    li:first-child {
      font-weight: bold;
      margin-right: 15px;
    }

    li {
      display: inline;
      padding: 0;
      margin: 0;
    }
  }
}

#content {
  width: 100%;
  display: flex;

  #sidebar {
    width: 200px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px dotted black;

    ul {
      padding: 0;
      margin-top: 0px;
      text-align: right;
      list-style: none;
    }

    ul a {
      font-family: sans-serif;
      text-transform: uppercase;
      text-decoration: none;
      font-weight: bold;
      /* nice green: color: #6da281; */
      color: #a24e1f;
    }

  }

  main {
    width: 800px;

    p:first-child {
      margin-top: 0;
    }
  }
}

footer .wpml-ls-statics-footer,
footer .otgs-development-site-front-end {
  display: none !important;
}


@media only screen and (max-width: 768px) {
  .responsiveness-line-break {
    display: block;
  }

  header {
    display: flex;
    flex-direction: column;
    text-align: center;

    img {
      align-self: end;
      width: 75%;
    }

    #title {
      width: 100%;

      ul {
        margin-bottom: 5px;

        li:first-child {
          margin-right: 0;
          display: inline;
          break-after: always;
        }

        li:after {
          display: block;
        }
      }
    }
  }

  #content {
    flex-direction: column;
    padding: 0 10px;
    width: calc(100% - 20px);

    #sidebar {
      padding: 0;
      margin: 20px 0 20px 0;
      border-right: none;
      border-bottom: 1px dotted black;
      width: 100%;

      ul {
        text-align: center;
      }

      ul li {
        padding-left: 5px;
        padding-right: 5px;
        display: inline;
      }
    }
  }

  main {
    width: 100% !important;
    padding: 0;
  }
}