/* CUSTOM FONTS LOADING */

@font-face {

  font-family: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Cond Light'),
       local('OpenSans-CondensedLight'),
       url(../fonts/open-sans-condensed.woff2) format('woff2'),
       url(../fonts/open-sans-condensed.woff) format('woff');

}

/* DEFAULT STYLES */

@media all {

  /* FONTS */

  html,body {
    height: 100%;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to top, #4db6ac, #f8f9fa);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .upload {
    position: relative;
    width: 375px;
    min-height: 350px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* padding-bottom: 20px; */
    background: #fff;
    /* -webkit-animation: fadeup .5s .5s ease both; */
            animation: fadeup .5s .5s ease both;
    /* -webkit-transform: translateY(20px); */
            transform: translateY(20px);
  }

  .upload .upload-files header {
    background:  #4db6ac;
    /* background :rgb(146, 124, 13); */
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
  }

  .upload .upload-files header p {
    color: #fff;
    font-size: 40px;
    margin: 0;
    padding: 10px 5px;

  }

  .upload .upload-files header p i {
    font-size: 30px;
  }

  .upload .upload-files header p .up {
    font-weight: bold;
  }

  .upload .upload-files header p .load {
    display: inline-block;
    font-weight: 100;
    margin-left: -8px;
  }

  #content p {
    text-align: justify;
  }

  /* COLORS */

  body {
    background-color: rgb(230, 230, 230);
  }

  .color-black,
  body,
  #header-nav-list>li>a {
    color: rgb(51, 51, 51);
  }

  .bg-color-black,
  #header-nav-list>li>a:hover {
    background-color: rgb(51, 51, 51);
  }

  .border-color-black,
  #header-nav-list>li,
  #slideshow-slides {
    border-color: rgb(51, 51, 51);
  }

  .color-white,
  #header-nav-list>li:hover>a {
    color: rgb(255, 255, 255);
  }

  .bg-color-white,
  #wrapper {
    background-color: rgb(255, 255, 255);
  }

  .color-primary {
    color: rgb(245, 218, 85);
  }

  .bg-color-primary,
  #footer,
  .sidebar-section-title {
    background-color: rgb(245, 218, 85);
  }

  .border-color-primary,
  .sidebar-section-content {
    border-color: rgb(245, 218, 85);
  }

  .color-secondary,
  a,
  #content-title {
    color: rgb(35, 82, 124);
  }

  /* VARIOUS GRAPHICS */

  a {
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }

  ul {
    list-style-type: circle;
  }

  #wrapper {
    box-shadow: 0 5px 5px rgb(150,150,150), 0 -5px 5px rgb(150,150,150);
  }

  #content-title {
    text-shadow: 2px 2px 2px rgb(200,200,200);
  }

  /* GENERAL POSITIONING */

  * {
    box-sizing: border-box;
  }

  img {
    vertical-align: middle;
  }

  h1:first-child,
  h2:first-child,
  h3:first-child,
  h4:first-child,
  h5:first-child,
  h6:first-child,
  p:first-child,
  ul:first-child,
  figure:first-child {
    margin-top: 0;
  }

  h1:last-child,
  p:last-child,
  ul:last-child,
  figure:last-child {
    margin-bottom: 0;
  }

  figure {
    margin-left: 0;
    margin-right: 0;
  }

  textarea {
    min-height: 100px;
    resize: vertical;
    width: 100%;
  }

  .hide {
    display: none;
  }

  .menu-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
  }

  .menu-list>li {
    min-width: 36px;
    text-align: center;
  }

  .pagination {
    justify-content: center;
  }

  .pagination>li {
    padding-left: 5px;
    padding-right: 5px;
    margin: 0 8px;
  }

  /* SPECIFIC POSITIONING */

  #wrapper {
    max-width: 960px;
    margin: 0 auto 30px auto;
  }

  /* Header */

  #header {
    /* margin-top: -30px; */
    align-items: center;
    display: flex;
    justify-content: space-between;
    /* padding: 10px 10px 2px 10px; */
  }

  #header-title {
    padding: 16px 25px;
    border-top-width: 20px;
    border-bottom-width: 60px;
    border-radius: 50px;
    font-size: x-large;
  }

  #header-bloc-title{
    display: flex;
    align-items: center;
  }

  #header-nav-list>li {
    padding: 0;
    border-left-width: 1px;
    border-left-style: solid;
  }

  #header-nav-list>li>a {
    display: block;
    padding: 5px 10px;
  }

  #header-nav-list>li:first-child {
    border-left: none;
  }

  #header-nav-list ul {
    display: none;
  }

  /* Content */

  #content-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 10px;
  }

  #content {
    max-width: 700px;
    width: 100%;
  }

  #sidebar {
    margin-left: 60px;
    width: 200px;
  }

  .sidebar-section {
    margin: 10px 0;
  }

  .sidebar-section-title {
    display: block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: normal;
    margin-bottom: 0;
  }

  .sidebar-section-title,
  .sidebar-section-content {
    padding: 5px;
  }

  .sidebar-section-content {
    border-style: solid;
    border-width: 1px;
  }

  #search-form .sidebar-section-content {
    display: flex;
    flex-direction: column;
  }

  .sidebar-section-list {
    padding-left: 20px;
  }

  #footer {
    bottom: 0;
    height: 30px;
    padding-bottom: 5px;
    padding-top: 5px;
    position: fixed;
    text-align: center;
    width: 100%;
  }

  #slideUpload {
    /* background-color: rgba(124, 207, 117, 0.274); */
    bottom: 40px;
    height: 100px;
    padding-bottom: 5px;
    padding-top: 5px;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: scroll;
    width: 100%;
  }

}

/* GENERAL RESPONSIVE STYLES */

@media all and (max-width: 959px) {

  img:not(#slideshow img),
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

}

/* STYLES FOR MEDIUM SCREENS (PORTRAIT MINI TABLET, LANSCAPE PHABLET AND BELOW) */

@media all and (max-width: 759px) {

  #header-title {
    animation: none;
  }

  #content-wrapper {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
    margin-left: 0;
  }

}

/* STYLES FOR SMALL SCREENS (PHONES) */

@media all and (max-width: 559px) {

 #slideUpload {
      display: none;
 }

  #header {
      flex-direction: column;
  }

  .news-article {
      align-items: center;
      flex-direction: column;
  }

}

@media all and (max-height: 400px) {

  #slideUpload {
       display: none;
  }

}

/* STYLES WHEN PRINTING */

@media print {

  * {
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
    color: black !important;
  }

}

.logoodeis {
  display: flex;
  /* flex-wrap: wrap; */
  /* align-items: center; */
  justify-content: center;
}

/* bouton selection image*/

.label-file {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 10px;
  cursor: pointer;
  color: #00b1ca;
  font-weight: bold;
  animation-name: bounce;
}

.input-file {
  display: none;
}

