/*-------PRIMARY COLOR -----------*/
/*-------SECONDARY COLOR ----------*/
/* CALCUL DES TAILLE DE POLICES PX > EM */
/* CALCUL DES MARGIN PX > EM */
/* CALCUL DES PADDING PX > EM */
/* CALCUL DES LINE HEIGHT PX > EM */
/*FONCTION POUR UTILISER DES SRITES */
/*@media screen and (max-width: 1300px) {
    .button-download {
        right: 15px;
        left: initial;
        margin-left: 0;
    }
}*/
@media screen and (max-width: 1024px) {
  .rdv-fixe span {
    display: none;
  }
  .rdv-fixe span strong {
    font-weight: 300!important;
  }
  .rdv-fixe {
    padding: 10px;
  }
  .rdv-fixe strong {
    font-weight: 300!important;
  }
  /*------------------------------------*\
    $LAYOUT
\*------------------------------------*/
  .branding {
    margin-left: 10px;
  }
  .content,
  .grid-standard,
  footer ul.links {
    float: left;
    width: 100%;
    left: 0;
    margin-left: 0;
  }
  .main-menu {
    right: 20px;
  }
  footer .sitemap ul {
    padding-left: 10px;
  }
}
@media screen and (max-width: 1020px) {
  .item-img {
    padding: 0em 0em 0em 0.71428571em;
  }
  .item-details {
    padding: 0em 0.71428571em 0em 0em;
  }
  .detailslabo .block {
    width: 40%;
  }
  .professionnels #ubilab-frame {
    width: 100% !important;
    margin: 30px 0 0 0 !important;
  }
  /*------------------------------------*\
    $LAYOUT
\*------------------------------------*/
  .main-menu ul li {
    margin: 0em 0em 0em 0.71428571em;
    font-size: 1.07142857em;
  }
}
@media screen and (max-width: 980px) {
  /*------------------------------------*\
    $LAYOUT
\*------------------------------------*/
  .main-menu ul li {
    padding: 0em 0.28571429em 0em 0.28571429em;
    font-size: 1em;
  }
  .grid-small {
    width: 33.33333333%;
  }
  .professionnels #ubilab-frame {
    display: none;
  }
  .professionnels #ubilab-texte {
    display: block;
  }
}
@media screen and (max-width: 900px) {
  .container-people img {
    position: relative;
    left: 50%;
    margin-left: -450px;
  }
}
@media screen and (max-width: 880px) {
  /*------------------------------------*\
    $HEADER
\*------------------------------------*/
  .branding {
    background: url(../Images/Stats/logo-CBNA-x2.png) 0 0 no-repeat;
    width: 135px;
    height: 40px;
    display: block;
    background-size: 125px 40px;
  }
  .branding img {
    display: none;
  }
  .main-menu {
    top: 10px;
  }
  .bloc-people {
    display: none;
  }
}
@media screen and (min-width: 760px) {
  .main-menu {
    display: block !important;
  }
}
@media screen and (max-width: 760px) {
  /*------------------------------------*\
    $COOKIES
\*------------------------------------*/
  #cookie-bar {
    background-color: #2aa37f;
    text-align: center;
    font-size: 0.85714286em;
    color: #fff;
    margin: 60px 0 -60px 0;
    padding: 0.57142857em 0em 0.57142857em 0em;
  }
  #cookie-bar a {
    color: #fff;
  }
  #cookie-bar a.cb-enable {
    margin-left: 0;
    width: 100%;
    margin-top: 5px;
    padding: 0.35714286em 0.35714286em 0.35714286em 0.35714286em;
  }
  .mobile-rdv {
    display: block!important;
  }
  .mobile-rdv a {
    color: #4d91a9;
  }
  #colorbox,
  .rdv-fixe {
    display: none !important;
  }
  #cboxOverlay {
    visibility: hidden !important;
    cursor: default !important;
  }
  .item-img,
  .item-details {
    width: 100% !important;
    margin: 0em 0em 2.14285714em 0em;
  }
  .item-img a {
    cursor: default !important;
  }
  .item-img a img {
    width: 100%;
    height: auto;
  }
  #cboxWrapper *,
  #cboxWrapper {
    display: none !important;
  }
  .actualites .button {
    margin: 0.71428571em 0em 0.71428571em 0em;
  }
  /*------------------------------------*\
    $LAYOUT
\*------------------------------------*/
  .item-responsive {
    display: block;
  }
  footer .sitemap {
    display: none;
  }
  footer {
    background-color: #dddddd;
    font-size: 0.85714286em;
  }
  .container {
    margin-top: 61px;
  }
  /*------------------------------------*\
    $HEADER
\*------------------------------------*/
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    background-color: #ffffff;
    border-bottom: 1px #dddddd solid;
  }
  .branding {
    border-right: none;
    width: 125px;
  }
  .main-menu {
    background: #ffffff;
    top: 51px;
    right: 0;
    display: none;
    border-bottom: 1px #dddddd solid;
    width: 100%;
  }
  .main-menu ul li {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .main-menu ul li a {
    display: block;
    background-color: #f5f5f5;
    padding: 0.71428571em 0em 0.71428571em 0em;
  }
  .icon-menu {
    position: absolute;
    width: 35px;
    height: 35px;
    right: 15px;
    top: 2px;
  }
  .icon-menu span {
    width: 100%;
    display: block;
    height: 5px;
    background-color: #dddddd;
    margin-top: 5px;
    border-radius: 2px;
  }
  .icon-menu.active span {
    background-color: #2aa37f;
  }
  /*------------------------------------*\
    $GLOBAL
\*------------------------------------*/
  .block-center {
    width: 100%;
  }
  ul.list-number {
    width: 100%;
  }
  .feature h1 {
    font-size: 1.42857143em;
    bottom: 10px;
  }
  /*.button-download {
        position: relative;
        bottom: auto;
        right: auto;
        float: left;
        width: 100%;
        height: auto;
        opacity: 1;
        margin-top: 15px;
        padding: 10px;
        background-color: @kaki;
    }*/
  .feature li img {
    width: 100% !important;
    max-width: 100% !important;
  }
  .panel-promo {
    padding: 1.42857143em 1.42857143em 1.42857143em 1.42857143em;
  }
  .panel-promo p {
    margin: 0em 0em 1.42857143em 0em;
    height: auto;
  }
  .group-circle {
    margin-top: 30px;
  }
  .group-circle p {
    padding: 0em 1.42857143em 0em 1.42857143em;
  }
  .group-circle a {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 80px;
    border: 2px #ffffff solid;
    line-height: 80px;
    margin: 0em 0.35714286em 0em 0.35714286em;
    background-color: #000;
  }
  .group-circle a img {
    opacity: 0.7;
  }
  .group-circle a h2 {
    font-size: 1em;
    line-height: 16px;
    margin-top: 20px;
  }
  .group-circle a.douai h2 {
    margin-top: 30px;
  }
  .group-circle a:hover {
    background-color: #000;
  }
  .group-circle a:hover .icon {
    opacity: 0;
  }
  .group-circle a:hover img {
    opacity: 0.7;
  }
  .group-circle a:hover h2 {
    opacity: 1;
  }
  .detailslabo .block {
    width: 100%;
  }
  .detailslabo .block .button {
    width: auto;
  }
  .grid-small,
  .grid-small-particular {
    float: left;
    width: 100%;
  }
  .grid-small-particular {
    margin: 0em 0em 0em 0em !important;
    padding: 1.42857143em 1.42857143em 1.42857143em 1.42857143em !important;
  }
  .padding-grid {
    padding: 1.42857143em 0.71428571em 1.42857143em 0.71428571em;
  }
  .grid-full.bg-gray .group-circle {
    margin: 1.42857143em 0em 0.71428571em 0em;
  }
  .grid-panel {
    padding: 0.71428571em 0.71428571em 2.14285714em 0.71428571em;
  }
  .flashnews p {
    padding: 0.35714286em 0.71428571em 0.35714286em 0.71428571em;
    font-size: 1em;
  }
  /*------------------------------------*\
    $SIMPLE BORDER
\*------------------------------------*/
  .simple-border li {
    width: 75px;
    font-size: 1em;
    margin: 0em 0.35714286em 0em 0.35714286em;
  }
  .simple-border li span {
    font-weight: 700;
  }
  /*------------------------------------*\
    $BUTTON
\*------------------------------------*/
  .button {
    width: 100%;
    margin-left: 0!important;
  }
  /*------------------------------------*\
    $FORMS
\*------------------------------------*/
  .field {
    padding-left: 0;
    padding-right: 0;
  }
  .contact-form {
    width: 100%;
  }
  .contact-form .button {
    margin-right: 0;
  }
  .contact-form p.instructions {
    margin-top: 0;
    margin-right: 0;
  }
  /*------------------------------------*\
    $WINDOW 
\*------------------------------------*/
  .window-confirmation,
  .window-popup {
    width: 96%;
    margin-left: 0;
    left: 0;
    margin: 2%;
    top: 80px;
  }
  .window-popup {
    padding-left: 20px;
    padding-right: 10px;
  }
  .window-popup .inner {
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
    margin-top: 20px;
  }
  /*------------------------------------*\
    $HOMEPAGE
\*------------------------------------*/
  .homepage .group-circle {
    margin-top: 30px;
  }
  /*------------------------------------*\
    $LES LABOS
\*------------------------------------*/
  .leslabos.detailslabo p.address,
  .leslabos.detailslabo p.phone,
  .leslabos.detailslabo p.timetable {
    font-size: 1em;
  }
  .leslabos.detailslabo .icon-location {
    position: relative;
    top: 0;
    left: auto;
    margin: 0 auto;
    float: none;
    display: inline-block;
    clear: both;
  }
  .leslabos.detailslabo ul.list-step li {
    font-size: 1em;
    text-align: center;
  }
  .leslabos.detailslabo ul.list-step li span {
    margin: 0 auto;
    clear: both;
    display: block;
    margin-bottom: 10px;
  }
  /*------------------------------------*\
    $PMA
\*------------------------------------*/
  img.carte {
    width: 100%;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .icon {
    background-image: url(../Images/Stats/spriteX2.png) !important;
    background-size: 1024px 300px;
  }
}
