/*	
	Theme Name: Montigny - Child Theme
	Theme URI: http://basketball.stylemixthemes.com/
	Author: Ozkasuma
	Author URI: http://stylemixthemes.com/
	Description: Montigny Child theme
	Version: 1.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: blue, red, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, flexible-header, custom-background, custom-colors, custom-header, custom-menu, editor-style, sticky-post, theme-options
	Text Domain: Montigny-child
    Template: splash

    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
*/
@import url('assets/css/styles.css');
/* Add your own styles here */

/*Club's template*/

.club-template {
  display: grid;
  grid-template-columns: 10% 80% 10%;
}
.club-image {
  grid-column: 2;
}
.image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.club-infos {
  grid-column: 2;
}
.club-description {
  grid-column: 2;
}
.description {
  text-align: center;
}
.club-name, .prog-we-name {
  text-align: center;
}
.blogname-club {
  display: block;
  margin: 30px;
  text-align: center;
}
.club-teams {
  grid-column: 2;
  text-align: center;
}
.card-team {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 15rem;
}
@media (min-width: 630px) {
  .club-header {
    display: grid;
    grid-template-columns: 40% 60%;
  }
  .club-image {
    grid-column: 1;
    /*background-color: purple;*/
  }
  .club-infos {
    grid-column: 2;
    /*background-color: lightblue;*/
  }
  .club-name {
    text-align: left;
    margin-top: 30px;
  }
  .blogname-club {
    text-align: left;
  }
  .image {
    display: block;
    margin-right: 50px;
  }
  .card-team {
    width: 50rem;
  }
}

/* League's template*/

.league-title, .season-title {
  text-align: center;
}

.seasons-list-template, .leagues-list-template{
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 5%;
  flex-wrap: wrap;
}

:root {
  --el-list: 400px;
}
ul.events-list {
  column-count: 4;
  column-gap: 1em;
  margin:0 calc((100% - (4*var(--el-list) + 30px))/2);
}

p.card-score{
  display: block;
  padding: 7px 20px;
  background-color: #c66f00;
  font-weight: 700;
  color: white;
  width: 90px;
  margin: 0 auto;
  text-align: center;
}

h5.card-title {
  text-align:center;
  position:relative;

}
h6.card-date {
  text-align: center;
}

p > a.match-link {
  display: block;
  text-align: center;
  padding-top: 10px;
  color: white;
}

.events-item:hover {
  background-color: #013224;
}

.card-no-match {
  display: block;
  min-width: 300px;
  margin-top: 10px;
  border: solid;
  padding: .75em;
  font-weight: 700;
  text-align: center;
}
ul.events-no-list {
  display: block;
  margin:0 calc((100% - 300px)/2);
}

li.events-item {
  border: solid;
  margin-top: 15px;
  background-color: #eee;
  display: inline-block;
  margin: 0 0 1em;
  width: 100%;
  margin-top: 20px;
  min-width: 400px;
  padding: 0 0;
}

div.events {
  z-index: 0;
}

li.events-item:before {
  display: none;
}

.league-button {
  padding-bottom: 10px;
}
div.season-select, div.league-select {
  display: none;
}
.choose-title{
  margin: 0 calc((100% - 161px)/2);
}

/*And main menu style*/

.dropbtn {
  color: white;
  width: 100%;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content-list span {
  color: black;
  width: 100%;
  text-decoration: none;
  display: block;
  font-size: 17px;
  text-align: center;
  margin-left: -15px;
  padding-top: 5px;
}
button.match-sp_league-button.dropbtn, button.match-sp_season-button.dropbtn{
  width: 265px;
}

.dropdown-content span:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}

li.dropdown-content-list:before {
  display: none;
}

div.league-button.dropdown.archive, div.season-button.dropdown.archive {
  z-index: 1;
}

button.dropbtn::after {
  content:"  ▼";
  margin-left: 5px;
  font-size: 14px;
}

.header_1 .stm-header .stm-main-menu .stm-main-menu-unit, .header_2 .stm-header .stm-main-menu .stm-main-menu-unit, .header_3 .stm-header .stm-main-menu .stm-main-menu-unit, .header_magazine_one .stm-header .stm-main-menu .stm-main-menu-unit {
  text-align: center;
}
.container{
  max-width: none;
}

.stm-header .logo-main {
  margin: 0 auto;
  float: none;
}

.stm-main-menu {
  display: flex;
  justify-content: center;
}

div.season-button {
  padding-bottom: 10px;
}

/*Menu part */
div.ellipsis-menu.dropbtn {
  display: none;
}

ul.dropdown-content-list.main-menu > li {
  display: none;
}

.ellipsis-menu > div {
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: white;
  display: inline-block;
  margin-right: 3px;
}

ul.dropdown-content-list.main-menu > li:before {
  display: none;
}

ul.dropdown-content-list.main-menu {
  left: -100%;
}

ul.dropdown-content-list.main-menu, div.dropdown-content.main-menu {
  width: max-content;
  z-index: 0;
}

div.dropdown-content.main-menu{
  z-index: 21;
}

.dropdown-content-list.main-menu > li > a > span:before {
  text-decoration: none;
}

.dropdown-content-list.main-menu > li > a > span {
  width: auto;
}

ul.dropdown-content-list.main-menu, ul.dropdown-content-list.main-menu > li {
  margin: 0;
  padding: 0;
}

.dropdown-content span:hover {
  background-color: inherit;
}

div.dropdown-content.main-menu {
  margin-left: auto;
}

div.dropdown-content.main-menu {
  right: 0;
}

@media (max-width: 1652px) and (min-width: 1250px) {
  ul.events-list {
    column-count: 3;
    column-gap: 1em;
    margin:0 calc((100% - (3*var(--el-list) + 30px))/2);
  }
}

@media (max-width: 1652px) and (min-width: 1250px) {
  ul.events-list {
    column-count: 3;
    column-gap: 1em;
    margin:0 calc((100% - (3*var(--el-list) + 30px))/2);
  }
}

@media (max-width: 1250px) and (min-width: 654px) {
  :root {
    --el-list: 300px;
  }
  ul.events-list {
    column-count: 2;
    column-gap: 1em;
    margin:0 calc((100% - (2*var(--el-list) + 30px))/2);
  }
  li.events-item {
    min-width: 300px;
  }
}

@media (max-width: 800px) {
  div.league-select{
    display: block;
    width:100%;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
  }
  .league-button {
    display: none;
  }
  h5.choose-title {
    display: none;
  }
}

@media (max-width: 654px) {
  :root {
    --el-list: 300px;
  }
  ul.events-list {
    column-count: 1;
    column-gap: 1em;
    margin: 0 5px;
  }
  li.events-item {
    min-width: 300px;
  }
  .season-button {
    display: none;
  }
  div.season-select{
    display: block;
    width:100%;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
  }
}

/*Site style*/

#wrapper {
  background-color: #024d38;
}

bdi{
  color: black;
}

.cart-collaterals {
  padding: 0;
  margin: 0;
  background-color: inherit;
}

td {
  color: black;
}

li.events-item {
  background-color: inherit;
  border-color: white;
  box-shadow: 5px 5px #404040;
}

h1.woocommerce-products-header__title.page-title {
  display: flex;
  justify-content: center;
}

nav.woocommerce-pagination > ul.page-numbers {
  display: flex;
  justify-content: center;
}

div.row > div.product-type-simple {
  background-color: wheat;
  border-color: black;
}

li.dropdown-content-list:hover {
  background-color: #c66f00;
}

div.col-md-9.col-sm-12.col-xs-12 {
  float: none;
}

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

div.grid-row > .product-type-simple.stm-single-product-loop{
  /*enfant grid*/
  width: 400px;
}

div.col-md-9.col-sm-12.col-xs-12{
  align-self: center;
}

.col-md-9 {
  width: 100%;
}

table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-subtotal > th, table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.order-total > th {
  color: #c66f00;
}

.col-md-push-3 {
  left: 0%;
}

.row::before {
  display: none;
}
.row-sm-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
  padding: 0 30px;
}

.col-md-4 {
  margin: 0 auto;
}

.row.row-3.row-sm-2 > .col-md-4 {
  width: 100%;
}
.stm-single-post-loop > a > div.image {
  margin: 0 auto;
}

.product-type-simple{
  padding-left: 0px;
  padding-right: 0px;
}

.stm-single-post-loop{
  display: flex;
  flex-direction: column;
}

img {
  margin: 0 auto;
}

.comment-author, .comment-meta > .date{
  color: black;
}
.container, .stm-format- {
  margin: 0 100px;
}
/*Main menu class*/
.container.stm-header-container {
  margin: 0 0;
}
.stm-default-page > .container {
  margin: 0 0;
}
/*product template*/

.type-product{
  width: 100%;
}

figure.woocommerce-product-gallery__wrapper, figure.wp-block-image {
  margin: 0 auto;
}

div.woocommerce-tabs.wc-tabs-wrapper{
  background-color: black;
}

form.comment-form {
  position: relative;
}

/*order your mug template*/
button.pushbutton-wide {
  margin-top: 10px;
}

figure.wp-block-image {
  display: flex;
}

@media (max-width: 1430px) {
  .row-sm-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1045px) {
  .row-sm-2{
    display: grid;
    grid-template-columns: 1fr;
  }
  .grid-row{
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
  }
  .product-type-simple{
    /*enfant grid*/
    width: auto;
    margin: 0 auto;
  }
  .container, .stm-format- {
    margin: 0 0;
  }
}

/*League-season page*/

h2, .leagues-type, .seasons-type{
  text-align: center;
  padding-top: 20px;
}

.league-button-part, .season-button-part {
  justify-content: center;
  display: grid;
  grid-template-columns: 20% 60% 20%;
}

button.league-page, button.season-page {
  width: 70%;
  padding: 15px 0px;
  grid-column: 2;
  margin: 6px auto;
}

@media (max-width: 1500px) {
  .league-button-part, .season-button-part {
    justify-content: center;
    display: grid;
    grid-template-columns: 10% 80% 10%;
  }
  button.league-page, button.season-page {
    width: 100%;
  }
}

div.details, div.training-location {
  display: flex;
}
ul.ul-schedules > li:before {
  display: none;
}
div.details > div > label {
  color: white;
}
select.select-training {
  padding: 5px;
}

/*training page */

input.tab-season {
  color: black;
}

.li-training-schedules, li.li-season-hours {
  color: white;
}

ul.ul-season-hours, ul.ul-season-hours > li.li-season-hours, li, li.tabs, ul, ul.nav-tabs {
  list-style-type: none;
}

span.span-team {
  font-weight: bold;
  font-size: 20px;
  color: #c66f00;
}
text {
  color: white;
}

/*training admin part*/
.input-training, div.details, .select-training {
  display: flex;
  flex-direction: row;
}

.season-hours, .schedule-title {
  margin-left: 10px;
}

hr.rounded {
  width:60%;
  text-align:left;
  margin-left:0;
}

li.tabs::before {
  display: none;
}
li.li-season-hours::before {
  content: '*';
  top: 3px;
  background-color: transparent;
}
li.tabs > a {
  text-decoration: none;
}