/*-------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: 1024px) {
  header .grid-470 {
    position: static;
  }
  .classement .grid-secondary {
    margin-top: 0;
  }
  .main-menu {
    position: absolute;
    bottom: 0;
    margin-top: 0;
  }
  .btn-mobile {
    bottom: 0;
    border-radius: 0 !important;
    width: 100%;
    z-index: 5000;
    position: fixed;
    left: 0;
    text-align: center;
    margin: 0 !important;
    border-top: solid 5px #FFF;
  }
  .grid-470 {
    width: 100%;
    left: 0;
    margin-left: 0;
  }
  .big-button {
    margin-bottom: 50px;
  }
  header {
    height: 220px;
    background: url(../Images/Stats/bg.jpg) no-repeat center center;
    background-size: 105px 1722px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    overflow: hidden;
  }
  .main-menu.fixed {
    /*position: fixed;
            top: 0;
            z-index: 5000;
            margin-top: 0;*/
  }
  .main-menu ul li:first-child {
    width: 23%;
  }
  .main-menu ul li:first-child + li {
    width: 19%;
  }
  .main-menu ul li a {
    width: 70%;
  }
  .content {
    margin-top: 0 !important;
  }
  .content .edit textarea {
    max-width: 1024px;
  }
  .classement span.magasin,
  .podiums span.magasin,
  .profil span.magasin {
    color: #4e5f6f;
    font-weight: normal;
    float: left;
    text-align: center;
    font-size: 1em;
    line-height: 2em;
  }
  .classement span.magasin span.pin,
  .podiums span.magasin span.pin,
  .profil span.magasin span.pin {
    float: none !important;
    margin: 0 auto !important;
    display: block;
    margin: 0em 0.57142857em 0em 11.42857143em;
    background-image: url(../Images/Stats/sprite.png);
    background-repeat: no-repeat;
    background-position: -82px -1168px;
    width: 14px;
    height: 22px;
    float: left;
  }
  .classement span.big-cup,
  .podiums span.big-cup,
  .profil span.big-cup {
    margin-top: 90px !important;
  }
  .classement span.likes,
  .podiums span.likes,
  .profil span.likes {
    margin-left: 52% !important;
  }
}
@media screen and (max-width: 880px) {
  a.connect {
    top: 139px;
    right: 0;
  }
  .main-menu ul li a {
    width: 70%;
  }
  span.likes {
    margin-left: 55% !important;
  }
}
@media screen and (max-width: 770px) {
  div.k-window.k-widget {
    width: 90%!important;
    left: 5%!important;
  }
  div.k-window.k-widget .edit-idee {
    width: 100%!important;
    box-sizing: border-box;
  }
  .main-menu ul li a {
    width: 82%;
  }
  .main-menu ul li a span.txt {
    display: none;
  }
  #cookie-bar {
    font-size: 12px;
  }
  #cookie-bar a {
    display: block;
  }
  a.connect {
    background-image: url('../Images/Stats/logout.png');
    width: 32px;
    height: 32px;
    display: block;
    text-indent: -3000em;
    background-size: 24px 24px;
    background-position: center center;
    padding: 10px;
    top: 143px;
    background-repeat: no-repeat;
  }
}
@media screen and (max-width: 640px) {
  .popup .footer-button {
    text-align: center;
  }
  .popup .footer-button .instructions {
    float: left;
    padding-top: 10px;
    padding-left: 5px;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
  }
  .k-widget.k-tooltip-validation {
    width: 20px;
    height: 20px;
    line-height: 27px;
    overflow: hidden;
  }
  .show-note {
    left: 90px;
  }
  .show-note.n1 {
    left: 110px;
  }
  .show-note.n2 {
    left: 134px;
  }
  .show-note.n3 {
    left: 161px;
  }
  .show-note.n4 {
    left: 183px;
  }
  .show-note.n5 {
    left: 208px;
  }
  .fil ul li .note {
    width: 100%;
    margin-bottom: 15px;
    display: inline-block;
  }
  .fil ul li .note div.raty {
    right: auto;
    left: 110px;
  }
  .fil ul li .note a.vote {
    float: left!important;
    margin-left: 70px;
  }
  .fil ul li img.post-img {
    margin-top: 20px!important;
    display: inline-block;
  }
  .filtres .select {
    width: 100%!important;
    border-top: 1px #ebebeb solid!important;
  }
  .filtres .button {
    width: 50%!important;
    padding: 10px!important;
    border-right: none !important;
  }
  .profil .mobile-upload {
    display: block;
  }
  .profil a.mobile-delete-photo {
    display: block;
  }
  .lots .fil ul li .gagne {
    font-size: 15px;
  }
  .main-menu ul li {
    width: 25% !important;
  }
  .main-menu ul li a {
    width: 100%;
  }
}
@media screen and (max-width: 580px) {
  .filtres {
    /*.select {
           height: 53px;
            margin-top: 5px;
            padding: 9px 5px 6px 17px;

            select {
                width: 108%;
                height:50px
            }
        }*/
  }
  .filtres span.txt {
    top: 0!important;
  }
  .k-window-title {
    font-family: Roboto;
    font-weight: 300;
    font-size: 15px;
    top: 10px;
  }
}
@media screen and (max-width: 490px) {
  .content .edit .button {
    padding: 0.57142857em 0.57142857em 0.42857143em 0.57142857em !important;
  }
  .idees .fil ul li .photo-profil {
    width: 18% !important;
  }
  .idees .fil ul li .post {
    width: 70% !important;
  }
  .branding {
    width: 100%;
    height: 111px;
  }
  .filtres.fixed {
    top: 0px !important;
    left: 0;
    margin-top: 0;
    position: fixed;
    z-index: 10000;
  }
  .main-menu ul li {
    width: 25% !important;
  }
  .main-menu ul li a {
    width: 100%;
    font-size: 0.85714286em;
    text-align: center;
  }
}
@media screen and (max-width: 380px) {
  .popup .delete-cancel {
    margin-left: 0!important;
  }
  .k-window-title {
    max-width: 210px;
  }
  .content .edit #indic {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@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/sprite@2x.png) !important;
    background-size: 142px 2000px;
  }
  .lots .fil ul li .gagne span.big-cup,
  .classement .fil ul li .post span.big-cup,
  .podiums .fil ul li .post span.big-cup {
    background-image: url(../Images/Stats/sprite-cup-x2.png) !important;
    background-size: 180px 62px;
  }
}
