/* ---------------------------------------------------
    Main style
----------------------------------------------------- */

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 0px 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    /*z-index: 1;*/
    /*max-height: 11rem;*/
    /*margin-bottom: 40px;*/
}

.navbar-btn {
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

.header__menu--img {
    display: none;
    visibility: hidden;
}

#headerMenu {
    background-color: transparent;
    visibility: hidden;
}

#sidebar {
    width: 25%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 999;
    background: #ebe9dd;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -25%;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #494f8d;
    height: 150px;
    align-items: center;
    justify-content: space-around;
    /* background-image: url('../img/logo-EP-Liseuse.svg');
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat; */
}

#sidebar .sidebar-fleche {width: 4vw;max-width: 44px;margin-right: 15px;}

#sidebar .sidebar-logo {
    width: 70%;
}

#sidebar .sidebar-header h3 {
    font-size: 20px;
    text-transform: uppercase;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
  padding: 5px;
      font-size: 12px;
      display: block;
      font-family: Roboto;
}

#sidebar ul li a:hover {
/*    color: #7386D5;
    background: #fff;*/
}

.category_filters:last-child li:last-child {
    margin-top: 1rem;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebarCollapse {
    width: 4rem;
    height: 4rem;
    background: transparent;
    position: absolute;
    z-index: 2;
    left: 27%;
}

#sidebarCollapse.opened {
    /*left: 0;*/
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #494f8d;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}

#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.opened span {
    transform: none;
    opacity: 1;
    margin: .75rem auto;
}

label.mr-2:hover {
    color: #fff;
    background-color: #484f8d;
}

.navbar-collapse .category_filters input[type="radio"] {
    display: inline-block;
    position: relative;
    width: 100%;
    -webkit-appearance: checkbox;
    -moz-appearance: none;
    appearance: none;
    top: 25px;
    opacity: 0;
}

.navbar-collapse .category_filters li {
    /*display: grid;*/
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    SEARCH & FILTERS
----------------------------------------------------- */

#sidebar .input-group {
    margin: 20px 0px;
    border-radius: none;
}

#sidebar .input-group-text,
#navbarSupportedContent .input-group-text {
    background: #494f8d;
    color: white;
}

#sidebar .input-group input {
    border: 1px solid #bdbdbd;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

#sidebar-filters h4 {
    font-size: 20px;
    color: #000000;
    font-family: 'Zilla Slab', serif;
}

.category_filters {
    list-style: none;
    flex-wrap: wrap;
    width: 75%;
}

form#search_liseuse {
    display: flex;
}

.search-holder.input-group {
    display: block;
    width: 100%;
    position: relative;
}

.category_filters label {
  display: inline-block;
      color: #484f8d;
      margin-bottom: .5rem;
      border: 1px solid #484f8d;
      /* padding: 0px 10px; */
      padding: 0;
      font-size: 12px;
      background: white;
      text-transform: uppercase;
}

#sidebar ul.category_filters label a {
  padding: 5px 12px;
}

.category_filters input[type="radio"] {
    display: none;
    position: absolute;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.category_filters input[type="radio"]:checked+label {
    background: #484f8d;
    -webkit-animation-name: blink;
    animation-name: blink;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    border-color: #484f8d;
    color: #ffffff;
}

.category_filters input[type="radio"]:checked+label:after {
    background: #484f8d;
}

.category_filters input[type="radio"]:checked+label:before {
    width: 20px;
    height: 20px;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 75%;
    min-height: 100%;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content.active {
    width: 100%;
}

#content .nav {}

#results {
    position: absolute;
    z-index: 0;
    top: 4rem;
    height: 100%;
}

.box__preview img {
    max-width: 100%;
}

.box__title {
    text-transform: uppercase;
    font-size: 1rem;
    color: #484f8d;
}

#msg p,
p::before,
p::after {
    display: inline-block;
    vertical-align: middle;
    color: black;
}

#msg p:before {
    height: .4rem;
    width: 2rem;
    background: #494f8d;
    content: "";
    margin-right: 1rem;
}
