/*!
Theme Name: folies-gruss-intranet
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: folies-gruss-intranet
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

folies-gruss-intranet is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;500&display=swap");
body {
  background: #FFF;
  color: #666;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 16px; }

#masthead {
  position: fixed;
  width: 400px;
  top: 0;
  left: 0;
  bottom: 0;
  background: #19266C;
  padding: 30px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-width: none; }
  #masthead::-webkit-scrollbar {
    display: none; }

#primary {
  position: relative;
  left: 400px;
  padding: 20px 50px 50px;
  width: calc( 100% - 300px );
  max-width: 900px; }

.admin-bar #masthead {
  top: 32px; }

.site-branding {
  padding: 0 20px;
  text-align: center; }
  .site-branding img {
    max-width: 180px; }

#menu-toggle-check, #nav-toggle {
  display: none; }

#primary-menu {
  list-style: none;
  padding: 0;
  margin: 30px 0 60px; }
  #primary-menu .sub-menu {
    display: none; }
  #primary-menu li {
    border-bottom: solid 1px rgba(255, 255, 255, 0.2); }
    #primary-menu li a {
      display: block;
      text-decoration: none;
      color: #FFF;
      opacity: 0.7;
      transition: all 200ms ease;
      font-size: 16px;
      padding: 6px 0 4px; }
    #primary-menu li a:hover {
      opacity: 1; }
    #primary-menu li > ul, #primary-menu li > ol {
      margin-left: 0px; }
  #primary-menu li.sep {
    margin-top: 60px; }
  #primary-menu li.small {
    border-bottom: 0; }
    #primary-menu li.small a {
      opacity: 0.5;
      font-size: 18px;
      padding: 4px 4px 2px; }
    #primary-menu li.small a:hover {
      opacity: 1; }
  #primary-menu li.current-menu-item > a {
    position: relative;
    opacity: 1;
    color: #e4d18b; }
    #primary-menu li.current-menu-item > a::before {
      color: #dbc161;
      position: absolute;
      left: 0;
      font-size: 28px;
      line-height: 32px; }
  #primary-menu li.current-menu-item .sub-menu, #primary-menu li.current-menu-ancestor .sub-menu {
    display: block; }

.entry-title {
  color: #19266C;
  border-bottom: 1px solid #19266C;
  margin-bottom: 1em; }

.entry-content a, .entry-content a:visited {
  color: #233595;
  text-decoration: none; }
  .entry-content a:hover, .entry-content a:visited:hover {
    opacity: 0.5; }
.entry-content h2 {
  color: #dbc161; }
.entry-content .wp-block-file {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-auto-rows: max-content;
  margin-bottom: 0.8em; }
  .entry-content .wp-block-file a:first-child {
    border-bottom: 1px solid #e5e5e5; }
.entry-content .wp-block-file__button, .entry-content .wp-block-file__button:visited {
  background: #19266C;
  color: #FFF !important;
  font-size: 14px; }

.wp-block-file:not(.wp-element-button) {
  font-size: 1em; }

#wppb-login-wrap, #wppb-edit-user, #select_user_to_edit_form {
  max-width: 600px; }

@media screen and (max-width: 1400px) {
  #masthead {
    width: 300px; }

  #primary {
    left: 300px;
    width: calc( 100% - 300px );
    padding: 20px 30px 50px; } }
@media screen and (max-width: 991px) {
  body {
    font-size: 16px; }

  #masthead {
    width: 250px;
    padding: 20px 20px 80px; }

  #primary {
    left: 250px;
    width: calc( 100% - 250px ); }

  .site-branding {
    padding: 0 20px; }
    .site-branding img {
      max-width: 100px; }

  #primary-menu {
    margin: 10px 0 0; }
    #primary-menu li a {
      font-size: 14px; }
    #primary-menu li.compte {
      margin-top: 40px; }
    #primary-menu li.small a {
      font-size: 14px; } }
@media screen and (max-width: 768px) {
  #masthead {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    padding: 10px;
    min-height: 75px;
    z-index: 500; }

  #primary-menu {
    padding: 20px;
    margin: 10px 0 0; }
    #primary-menu li a {
      font-size: 18px; }

  .admin-bar #masthead {
    top: 46px; }

  #primary {
    position: relative;
    left: 0;
    padding: 80px 20px 20px;
    width: 100%;
    max-width: 100%; }

  .site-branding {
    padding: 0 0;
    position: absolute;
    left: 10px;
    top: 5px;
    width: 80px; }
    .site-branding img {
      max-width: 100%; }

  #site-navigation {
    display: none;
    padding: 55px 0 20px; }

  #nav-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 20px;
    font-size: 35px;
    color: #FFF; }
    #nav-toggle .off {
      display: block; }
    #nav-toggle .on {
      display: none; }

  #menu-toggle-check:checked .off {
    display: none; }
  #menu-toggle-check:checked .on {
    display: block; }
  #menu-toggle-check:checked + #site-navigation {
    display: block; }

  .entry-content .wp-block-file {
    display: block;
    margin-bottom: 0.8em; }
    .entry-content .wp-block-file a:first-child {
      border-bottom: 0;
      margin: 10px 0 5px;
      display: block; }
    .entry-content .wp-block-file .wp-block-file__button {
      margin-left: 0; } }
