:root {
    --bs-link-color: #279880;
    --bs-link-hover-color: #279880;
    --bs-success-rgb: 39, 152, 128;

    --bs-danger: #df5462;
    --bs-danger-rgb: 223, 84, 98;
}
.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-danger);
    --bs-btn-border-color: var(--bs-danger);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-danger);
    --bs-btn-hover-border-color: var(--bs-danger);
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-danger);
    --bs-btn-active-border-color: var(--bs-danger);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-danger);
    --bs-btn-disabled-border-color: var(--bs-danger);
}
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #279880;
    --bs-btn-border-color: #279880;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #279880;
    --bs-btn-disabled-border-color: #279880;
}

.btn-warning {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f3c44c;
    --bs-btn-border-color: #f3c44c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #f3c44c;
    --bs-btn-hover-border-color: #f3c44c;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #efbb37;
    --bs-btn-active-border-color: #efbb37;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #efbb37;
    --bs-btn-disabled-border-color: #efbb37;
}
/*body {
    background: linear-gradient(rgba(155, 155, 155, 0.5), rgba(0, 0, 0, 0.5)), url(../img/stade_background.svg);
    background-size: contain;
    background-attachment: fixed;
}*/

.navbar > .container, .navbar > .container-fluid, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: center;
}
.mobile-nav {
    background: #F1F1F1;
    position: fixed;
    bottom: 0;
    height: 65px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 9999;
    /*border-top: 1px solid #ccc; */
    padding: 8px 0px;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
}
.mobile-nav .bloc-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    text-decoration: none;
    font-weight: bold;
    color: grey;
}
.affiche-tournoi-backgound {
    max-width: 400px;
    width: 100%;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
span.overlay-affiche {
    width: 100%;
    height: 30px;
    display: inline-block;
    position: relative;
    margin-top: 220px;
    /* background-color: rgb(0 0 0 / 40%); */
    box-shadow: inset 0px -1.5rem 1.3rem 0px rgba(0, 0, 0, 0.50);
}
span.overlay-affiche::before {
    content: '';
    border-right: 4px solid;
    border-bottom: 4px solid;
    color: #c3bdbd;
    margin-right: 1em;
    display: inline-block;
    height: .75em;
    width: .75em;
    transform: rotate(45deg) translatey(-.1em);
}

a.bloc-icon:not(:last-child) {
    border-right: 1px solid #ccc;
}
a.bloc-icon.active {
    color: #279880;
}
.mobile-nav i.fa-solid {
    font-size: 1.3em;
}
/* .mobile-nav .bloc-icon div {
    width: 30px;
} */

summary  {
    list-style: none;
}
/* sigh, Safari again */
summary::-webkit-details-marker {
    display: none;
}
summary {
    display: flex;
    cursor: pointer;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
    align-items: center;
}
details summary .palmares-title::before {
    content: '';
    border-right: 4px solid;
    border-bottom: 4px solid;
    color: grey; 
    margin-right: 1em;
    display: inline-block;
    height: .75em;
    width: .75em;
    transform: rotate(45deg) translatey(-.1em);
  }/* before { 
    content:"🡒"; 
    color: grey; 
    margin-right: 1em;
  } */
  
  details[open] summary .palmares-title::before {
    transform: rotate(-135deg) translatey(-.3em);
  }/* before { 
    content:"🡑"; 
    color: grey;
    margin-right: 1em;
  } */
body {
    margin-bottom: 70px;
}
body.home {
    background-color: #e5e9ed;
}
body.home main {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.card {
    border-radius: 25px;
}
.nav-pills {
    --bs-nav-pills-border-radius: 0.375rem;
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #279880;
}
.nav {
    --bs-nav-link-color: #279880;
    --bs-nav-link-hover-color: #12603c;
    --bs-nav-link-disabled-color: #6c757d;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    border-radius: 45px;
}
.nav-tabs .nav-link.active, 
.nav-tabs .nav-item.show .nav-link {
    color: white;
    background-color: #279880;
    border-color: var(--bs-nav-tabs-link-active-border-color);
}


a {
    --bs-link-color: #279880;
    color: var(--bs-link-color);
    text-decoration: underline;
}

.nav-link {
    padding: 0.5rem;
}

.btn {
    border-radius: 45px;
}

/*table {
    background-color: white;
}*/
table.table-int {
    width: 100%;
}

.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, .1), inset 0 0.125em 0.5em rgba(0, 0, 0, .15);
}

.bg-light {
    background-color: #e7ecf1 !important;
}
table.dataTable {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.pf-title {
  background-color: #279880;
  color: white;
  left: -50;
  height: 150px;
  width: 100%;
  transform: rotate(-40deg);
}

.sticky-container{
  height:600px;
  position:relative;
  overflow: auto;
}
.sticky-box{
  position: -webkit-sticky;
  position: sticky;
  /*the following is how far from the top of the screen you want your element to stick if you change it to 20px it will start to stick 20px from the top of the screen*/
  top: -3px;
  z-index: 9999;
}


.title-tv-show, .car-tv-show {
    display: none !important;
}
/* TV SHOW FULLSCREEN */
/*body.front-poule-tv {
    min-width: 1500px;
}*/
.tvshow .title-tv-show,
.front-poule-tv .title-tv-show,
.front-phases-finales-tv .title-tv-show {
    display: flex !important;
    width: 60%;
    margin-right: auto;
    margin-left: auto;
}
.tvshow .car-tv-show,
.front-poule-tv .car-tv-show,
.front-phases-finales-tv .car-tv-show {
    display: block !important;
}
.tvshow .navbar,
.front-poule-tv .navbar,
.front-phases-finales-tv .navbar,
.tvshow .hide-tvshow,
.front-poule-tv .hide-tvshow,
.front-phases-finales-tv .hide-tvshow {
    display: none;
}
.tvshow .container,
.front-poule-tv .container, 
.front-phases-finales-tv .container {
    width: 95%;
    max-width: inherit;
}
.tvshow h3,
.front-poule-tv h3, 
.front-phases-finales-tv h3 {
    font-size: 3em;
}
.tvshow h4,
.front-poule-tv h4, 
.front-phases-finales-tv h4 {
    font-size: 2.5em;
}

.grid-item { width: 20%; }
.grid-item img:hover {
  opacity: 0.5;
}

.bottom-arrow-left {
    position: relative;
    background-color: var(--bs-danger);
    border-radius: 12px;
    height: 40px !important;
    width: 100% !important;
    margin-bottom: 16px;
    color: white;
    line-height: 38px;
}

.bottom-arrow-left:after {
    content: '';
    position: absolute;
    top: 98%;
    left: 15%;
    margin-left: 0px;
    width: 0;
    height: 0;
    border-top: solid 16px var(--bs-danger);
    border-left: solid 15px transparent;
    border-right: solid 15px transparent;
}

.block-card {
  border-radius: 16px;
  /*background-color: rgba(0,110,30, 0.05) !important;
  border: none !important;*/
}

/*.block-card h3 {
  text-align: start;
    color: #316b65;
    padding-left: 0;
    border-bottom-color: rgb(49 107 101 / 30%) !important;
    font-size: x-large;
}

.btn.btn-soft-green {
  background-color: #316b65;
    border-color: #316b65;
    color: #dadde1;
}*/
.badge {
    padding-top: 0.5em;
}
.palmares-title {
    margin: 1em 0 0.3em;
    font-size: 1.5em;
    
}
.palmares-team {
    padding: 8px;
    width: 70px;
}
.palmares-logo {
    /* padding: 10px; */
    height: 60px;
    width: 60px;
}
.palmares-logo img {
    height: auto;
    /* width: 83px; */
}
.palmares-name {
    display: flex;
    text-align: center;
    line-height: 15px;
    margin-top: 5px;
    min-height: 30px;
    vertical-align: middle;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    font-size: 0.8em;
}

.palmares-year {
    font-weight: bold !important;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
    font-size: 0.9em;
}

#moreText { display: none; }

@media (max-width: 768px) {
  .grid-item { width: calc(100%/3); }
}
@media (max-width: 425px) {
  .grid-item { width: calc(100%/2); }
}
@media (max-width: 320px) {
  .grid-item { width: 100%; }
}

@media (min-width: 1024px) {
  .sticky-container, .tableFixHead {
    height:800px;
  }
}