/* COMMON
--------------------------------------------------------------------------------------------------------------------------------------*/
/*
Theme Name: --
Theme URI: --
Description: --
Author: JM CHATONNIER
Version: 1.0
*/
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "Roboto", Arial, Helvetica;
  font-size: 1.2em;
  letter-spacing: 0px;
  background: no-repeat 0 0 transparent;
  background-color: #fff;
  background-size :cover;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
}
img {
  border: none;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
p {
  padding: 5px;
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: outside none none;
}
i {
  font-style: normal;
}

/*----------------------------------*\
            	modal
\*----------------------------------*/
#modal-fade {
  display: none;
  /*--masqué par défaut--*/
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  filter: alpha(opacity=60);
  opacity: 0.6;
  z-index: 9999;
}
.modal-box {
  display: none;
  float: left;
  font-size: 1.2em;
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 500px;
  z-index: 99999;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.modal-box.show {
  top: 50%;
}
.modal-header {
  background-color: #2e2e2f;
  border-bottom: 1px solid #c4c4c4;
  min-height: 20px;
  padding: 5px 40px;
  height: 116px;
}
.modal-header p {
  margin: 25px 0;
  text-align: center;
  color: #faf7f4;
  font-size: 1.1em;
}
.modal-content {
  background-color: #fff;
  padding: 30px 40px 10px;
  color: #222121;
}
.modal-content p {
  text-align: center;
}
.modal-content .title {
  text-transform: uppercase;
  font-size: 1.6em;
}
.modal-content .text {
  max-width: 300px;
  margin: 0 auto;
}
.modal-content .mag_name {
  text-transform: uppercase;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #c4c4c4;
  text-align: right;
  display: block;
  width: 20px;
  height: 20px;
}
.modal-box .close-modal:hover {
  color: #000;
}

/*----------------------------------*\
            	PAGE
\*----------------------------------*/
.wrapper {
  max-width: 1020px;
  margin: 0 auto;
}
section:before,
section:after {
  content: " ";
  display: table;
}
section:after {
  clear: both;
}
#formLogin {
  margin: 15px 0;
}
#formLogin input {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 38px;
  border: 1px solid #dadada;
  padding: 0 15px;
  margin-bottom: 10px;
}

.nav {
  max-width: 1020px;
  margin: 0 auto;
}

#formLogin button[type="submit"] {
  display: block;
  background-color: #2e2e2f;
  border: none;
  border-radius: 5px;
  height: 40px;
  line-height: 40px;
  width: 100%;
  margin: 25px 0 10px;
  color: #c5c5c5;
}
#formLogin .forgot-pswd {
  display: block;
  text-align: center;
  text-decoration: underline;
  margin: 5px 0;
}

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


/*----------------------------------*\
               HEADER
\*----------------------------------*/
img.banner-img{
  max-width: 100%;
  margin: 0 auto;
}

#nav-wrapper {
  background-color: #2e2e2f;
  /*padding: 10px 0;*/
  color: #fff;
  font-size: 1.2em;
}
#nav-wrapper ul {
  position: relative;
  /*height: 30px;*/
  line-height: 30px;
}

#nav-wrapper ul.nav-ul{
  display: inline-block;
  vertical-align: top;
}

#nav-wrapper ul.nav-ul.nav-right{
  float: right;
}
#nav-wrapper li {
  float: left;
}
#nav-wrapper li a {
  display: inline-block;
  padding: 8px 15px;
}
#nav-wrapper li a img {
  display: inline-block;
  margin: 0 7px;
  vertical-align: middle;
}

#nav-wrapper li.has-submenu {
  position: relative;
}

/*#nav-wrapper li.has-submenu:hover .submenu,
#nav-wrapper li.has-submenu:focus .submenu,*/
#nav-wrapper li.has-submenu.active .submenu{
  display: block;
}
#nav-wrapper li .submenu {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  width: 250px;
  height: auto;
  padding: 0;
  box-shadow: 0px 3px 2px 1px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  color: #2e2e2f;
  /*border-radius: 5px;*/
  overflow: hidden;
  z-index: 999;

  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
#nav-wrapper li .submenu li {
  float: none;
  padding: 10px 0px;
}

#nav-wrapper li .submenu li.active,
#nav-wrapper li .submenu li:hover,
#nav-wrapper li .submenu li:focus {
  background-color: #2e2e2f;
  color: #fff;
}
#nav-wrapper li .submenu li a {
  padding: 0 15px;
  cursor: pointer;
}
#nav-wrapper li .submenu li.active a,
#nav-wrapper li .submenu li a:hover,
#nav-wrapper li .submenu li a:focus {
  color: #fff;
}
#nav-wrapper.fixed {
  top: 0;
  width: 100%;
  z-index: 999;
}

#nav-wrapper li.li-log-info{
  padding-left: 11px;
  background-color: #505050;
}

#nav-wrapper li a#logoutLink,
#nav-wrapper li a#loginLink{
  padding-left: 0;
}

#nav-wrapper #loggedInUser .userName{
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid;
}

#nav-wrapper li.li-LanguagesList{
}
#nav-wrapper li #LanguagesList.submenu{
  width: auto;
}
#nav-wrapper .validSearchForm{
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

.SectionHeader{
  /*margin: 10px 0;*/
  background-color: lightgray;
  padding: 10px;
  color: #505050;
}
.SectionHeader span{
  padding: 0 20px ;
}

.SectionHeader span.current a{
  font-weight: bold;
}
/*----------------------------------*\
            	ACTIONS
\*----------------------------------*/

#content_actions{
  margin: 0 50px;
}

#content_actions input[type="text"],
#page_actions select,
#content_actions button{
  height: 30px;
}

#page_actions{
  max-width: 880px;
  margin: 0 auto 15px;
  padding: 0 15px;
}
#page_actions div{
  display: inline-block;
  vertical-align: bottom;
}

#page_actions .secTitle{
  font-weight: bold;
  font-size: 120%;
}

/* SEARCH */
#search_container{
}

#search_container .formSearch{
  margin: 0 auto;
  padding-top: 15px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

#search_container input[type="text"]{
  width: 80%;
  padding: 0 5px;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid;
  font-size: 110%;
}
#search_container input[type="text"]:focus {
  outline: 0;
}


/* SORT */

#sort_container{
  float: right;
}


/*----------------------------------*\
              CONTENT
\*----------------------------------*/
img#preloader {
  margin: 0 auto;
  text-align: center;
  width: 15%;
}

#content .wrapper {
  background-color: #f0f0f0;
}
.list-couv {
  padding: 20px 0;
}
.list-couv ul {
  margin: 0 30px;
}
.list-couv ul:before,
.list-couv ul:after {
  content: " ";
  display: table;
}
.list-couv ul:after {
  clear: both;
}
.list-couv li {
  position: relative;
  float: left;
  margin: 5px 7px;
  border-radius: 5px;
  overflow: hidden;
  min-height: 280px;
}
.list-couv li img{
  margin: 0 auto;
}
.list-couv li a {
  padding: 10px 15px;
  display: block;
  text-align: center;
}
.list-couv li a > span {
  text-align: center;
  display: block;
  padding: 14px 0;
}

.list-couv li a > span > span{
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.list-couv li a .ct-section{
  margin-top: 3px;
  color: #505050;
  font-size: 0.95em;
}

.list-couv li:hover a::after,
.list-couv li:focus a::after,
.list-couv li.hover a::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url('../img/ico-glass.png') no-repeat center center rgba(0, 0, 0, 0.7);
}
.list-couv li.big {
  float: left;
}
.list-couv li.big img {
  max-width: 330px;
}
.list-couv li.small {
  max-width: 178px;
}
.list-couv li.small a span {
  width: 150px;
}
.list-couv li.small img {
  display: inline;
}
.page_edition_header{
  font-size: 15px;
  margin: 10px 0;
}
.page_navigation {
  text-align: center;
  margin: 50px 0 15px;
}

.page_navigation[data-nbpage="0"],
.page_navigation[data-nbpage="1"]{
  display: none;
}
.page_navigation a,
.page_navigation .ellipse {
  display: inline-block;
  margin: 0 2px;
  background-color: #fff;
  color: #707070;
  width: 42px;
  height: 42px;
  line-height: 38px;
  text-align: center;
  border-radius: 5px;
}
.page_navigation a:hover
{
  background-color: #2e2e2f;
  color: #fff;
}
.page_navigation .previous_link {
  margin-right: 5px;
}
.page_navigation .next_link {
  margin-left: 5px;
}
.page_navigation .active_page {
  background-color: #2e2e2f;
  color: #fff;
}

.logout {
  padding: 40px 30px;
}
.logout p {
  text-align: center;
  font-size: 2em;
  opacity: 0.8;
}
.logout p:last-child {
  text-align: right;
  font-size: 1em;
  margin-top: 50px;
}
.logout a {
  text-decoration: underline;
}

/*----------------------------------*\
               FOOTER
\*----------------------------------*/


#footer_static{
  background-color: #2e2e2f;
  padding: 10px 0;
  color: #878689;
  font-size: 1.1em;
}

#footer_static a{
  color :#fff;
}

#footer_static a:hover{
  text-decoration: underline;
}

#footer .sepF{
  margin: 0 10px;
}

#footer .footer-right,
#footer .footer-left{
  display: inline-block;
  vertical-align: top;
  width : 49%;
  padding: 0 10px;
}

#footer .footer-right{
  text-align: right;
}

/*----------RESPONSIVE CSS-----------*/
@media (max-width: 800px) {
  #header {
    background-color: #173757;
  }
  #header img {
    width: 100%;
  }
  .logout {
    padding: 30px 15px;
  }
  .logout p {
    text-align: left;
  }

  #footer .footer-left{
    margin-bottom: 10px;
  }

  #footer .footer-right, #footer .footer-left{
    display: block;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 500px) {
  #nav-wrapper {
    /*font-size: 1em;*/
  }
  #nav-wrapper ul {
    padding: 0;
  }
  #nav-wrapper li a {
    padding: 3px 5px;
  }
  #nav-wrapper li .submenu{
    top: inherit;
  }
  .list-couv ul {
    margin: 0 10px;
  }
  .list-couv li {
    margin: 0;
    width: 50%;
  }
  .list-couv li a img {
    width: 100%;
  }
  .list-couv li.big {
    float: none;
    margin: 0 auto;
    width: 100%;
  }
  .list-couv li.big img {
    width: 100%;
  }
  .page_navigation {
    margin: 20px 0 15px;
  }
  .modal-header p {
    margin: 17px 0;
  }
  .modal-content {
    padding: 15px 20px 10px;
  }
  .modal-content .text {
    font-size: 0.9em;
  }
  #content_actions {
    margin: 0 25px;
  }

  #page_actions div{
    display: block;
    text-align: center;
    float: none;
  }

}

@media (max-width: 450px) {
  #footer .footer-right span{
    display: block;
    text-align: center;
    margin-bottom: 15px;
  }

  #footer .footer-right span.sepF{
    display: none;
  }
}
