body {
  min-width: 0;
}

#header > .container {
  padding-bottom: 0px;
}

#top_menu {
  margin-top: 10px;
}

#slider {
  background-image: url(../images/slider_bg_mobile.jpg);
}

#members_menu {
  text-align: center;
  margin: 0px auto;
}
#members_menu > li {
  float: none;
  display: inline-block;
}

#members_menu > li > a {
  line-height: 20px;
  display: inline-block;
  width2: 10em;
}

[class*="span"] {
  width: auto;
  display: block;
}

.container, .row-fluid [class*="span"] {
  width: 100%;
}

.container-fluid {
  padding-left: 10px;
  padding-right: 10px;
}

[class*="span"] {
  margin: 0 5px;
  float: none;
}

.row {
  margin-left: 0px;
}

.row-fluid [class*="span"] {
  margin-left: 0px;
  margin-top: 15px;
  float: none;
}

.row .span12 .thumbnails .span3,
.row-fluid .thumbnails .span3,
.row-fluid .thumbnails .span4 {
  width: 31.333%;
  float: left;
}

.thumbnails-grid {
	grid-template-columns: repeat(3, 1fr); }

.nav {
  margin-bottom: 0px;
}

#footer_menu li.sep,
.nav-pills.nav.nav-menu > li.sep,
.nav-pills > li > a {
  padding: 6px 6px;
}

.title-bigger, #content .title-bigger  {
  font-size: 3.5em;
}

/*.pull-left {
  float: left;
}

.pull-right {
  float: right;
}*/

#search_form {
  flex-direction: column;
}

#search_form > div {
  margin-bottom: 10px;
}

#search_form .search-query {
  width: 85%;
}

#search_form .btn {
  margin-top: 15px;
}

#search_form label {
  margin-left: 0;
}

#search_form .select2-container {
  position: absolute;
  left: 10em;
}

/*.pull-right[class*="span"], .row-fluid .pull-right[class*="span"] {
  float: right;
}*/

#content > .row-fluid, #content > .alert {
  margin: 0px 5px;
  width: auto;
}

#content .widget {
  padding: 5px;
}

.widget.widget-wall .span6 {
  margin: 0;
}
#content .widget.widget-wall {
  padding: 0;
}
#content .widget.widget-wall .span6:first-child {
  float: none;
  text-align: center; }
#content .widget.widget-wall .span6 + .span6 {
  padding: 0 5px 20px; }
#content .widget.widget-wall h2.title {
  margin: 25px 0; }

#content .row-form {
  padding: 0 5px 20px; }

/*.offset1 {
  margin-left: 0px;
}*/

.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

.form-horizontal .small-labels .control-label {
  width: 100px; }
.form-horizontal .small-labels .controls {
  margin-left: 100px; }

#privacy .control-label,
#privacy .control-label.two-lines {
  padding-top: 0;
  width: 100%; }
#privacy .controls {
  margin-left: 0;
  padding-left: 10px; }

/* sous-menu de filtrage des actus/tournois... */
#content .no-margin-no-padding-widget.widget a {
  width: auto;
  display: block;
}

.level-contrepied {
  margin: 0 0 5px 3px; }

.photo-contrepied-team {
  margin-bottom: 5px; }

.photo-contrepied-team.margin-left-photo {
  margin-left: 3px; }

/* espacement entres les actus/tournois... */
.thumbnails .span4 + .span4 + .span4 + .span4 {
  margin-top: 15px;
}

.thumbnails > li {
  margin-right: 10px;
}

#content .thumbnails > li {
  margin-left: 1%;
  margin-right: 1%;
}

.thumbnails .thumbnail .caption {
  padding: 10px;
}

/* seems useless */
.peoples .span3 {
  width: 45%;
  display: inline-block;
  float: left;
}

.colonne-left label {
  margin-left: 0px;
}

.sep-middle {
  display: none;
}

.sep-right {
  border-right: 0;
}

#fsgt_purple_line {
  display: none;
}

#slider #login_box {
  right: 0px;
}

.row-fluid .no-margin.left-team {
  width: auto;
  margin-right: 0px;
}

.row-fluid .no-margin.right-team {
  float: none;
  width: auto;
}

.border-right-blue {
  border: 0px;
}

.affiche-participant {
  height: auto;
}

.prochains-match {
  display: none;
}

/* Wall, news, tournois internes/externes : affiche le menu avant le contenu */
.row-tile-reorder {
  display: flex;
  flex-direction: column-reverse;
  width: calc(100% - 10px) !important;
}
.row-tile-menu {
  position: static; }

/* TODO pas de scroll sur fancybox sur webkit */
.fancybox-overlay-fixed {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.fancybox-inner {
  -webkit-overflow-scrolling: touch;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
  z-index: 840;
}

.fancybox-inner > * {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
  z-index: 840;
}

/* TODO pb boutons sur boite modale de confirmation */
.modal {
  width: 100%;
  left: 0px;
  margin: 0px;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

/*.modal *, .modal * * {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
  z-index: 1100;
}*/

.modal a, .modal button {
  z-index: 1100;
}

.questions input[type="text"] {
  width: 95%;
}

/* Agenda : see agenda.css */

/*#spacer {
  margin-top: 0px;
  height: 20px;
}*/

#footer {
  height: auto;
  line-height: 1.3em;
}

#footer_menu {
  margin-top: 0px;
}

/* Archive button */
.thumbnails-tournaments a.corner-archive,
.thumbnails-events a.corner-archive {
  margin-right: -10px;
}

@media only screen and (max-width: 450px) {
.row .span12 .thumbnails .span3,
.row-fluid .thumbnails .span3,
.row-fluid .thumbnails .span4 {
  width: 48%;
}

.thumbnails-grid {
	grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px; }

}