/*
    Theme Name: Guide PMU
    Theme URI: https://guidepmu.ch
    Author: karac web
    Author URI: https://karac.ch
    Version: 1.0
    Text Domain: guidepmu
*/

/* Couleurs par défaut */
:root {
    /*--primary: #00493d;
    --primary-light: #66928b;
    --secondary: #fff;
    --darkest: #1d1d1b;
    --simple: #029cc5;
    --couple: #ec660d;
    --trio: #f7a70a;
    --quarte: #077bc0;
    --deuxsurquatre: #612c83;
    --multi: #e50981;
    --tierce: #48a059;
    --quinte: #e62339;
    --superquatre: #084923;*/
    --pmu-green: #00493d;
    --darkest: #1d1d1b;
    --medium: #f0f0f0;
    --lightest: #fff;
}
/* END Couleurs */

/* Fonts */
@font-face {
    font-family: sohoStd;
    src: url(fonts/sohostd.otf);
}
@font-face {
    font-family: sohoGothicProRegular;
    src: url(fonts/sohogothicpro-regular.otf);
}
@font-face {
    font-family: sohoGothicProExtraBold;
    src: url(fonts/sohogothicpro-extrabold.otf);
}

/* END Fonts */



/* General */
html {
    scroll-behavior: smooth;
}

body {
    font-family: sohoStd;
}

#main-page-content {
    margin-top: 80px;
}

h1 {
    text-transform: uppercase;
}
h2 {
    margin-bottom: 0;
}
h2.t-game-title {
    font-family: sohoGothicProRegular;
    font-style: italic;
    font-weight: 800;
}
.t-game-title svg {
    max-height: 60px;
}

p {
    word-break: keep-all;
}

.t-color-darkest {
    color: var(--darkest);
}

.dark-square {
    padding: 4px 12px 8px;
    background-color: var(--darkest);
    color: var(--lightest);
    font-family: sohoGothicProRegular;
    font-weight: 800;
}

.big-nbr {
    font-family: sohoGothicProExtraBold;
}
.big-nbr::after {
    content: " I ";
    font-family: sohoGothicProRegular;
    color: var(--darkest);
}
.asterisk {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 12px;
}

/* Game nav */
.header-area {
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
}
.header-area .container-fluid {
    padding: 0;
}
#game-nav {
    display: flex;
    width: 100%;
    /*width: calc(100% - 160px);*/
    list-style-type: none;
    padding: 0;
    margin: 0;
    justify-content: space-between;
}
#game-nav li {
    flex: 1;
    display: flex;
    align-items: center;
    height: 80px;
    text-align: center;
    align-content: center;
    transition: all 0.3s ease;
}
#game-nav.t-scrolled li {
    height: 50px;
}
#game-nav li a {
    align-content: center;
    width: 100%;
    height: 100%;
}
#game-nav li img {
    display: inline-block;
    width: auto;
    height: 20px;
}
#main-logo-container {
    width: 120px;
    height: 80px;
    transition: all 0.3s ease;
}
#main-logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--lightest);
}
#main-logo {
    height: 32px;
}
#current-page-logo {
    height: 20px;
    width: auto;
}
.go-down {
    padding: 20px 50px;
    position: absolute;
    left: 0;
    bottom: 0;
}
.down-arrow {
    width: 60px;
    height: auto;
}
.top-page strong {
    font-family: sohoGothicProExtraBold;
}
.top-page-img-container {
    position: relative;
}
.top-page-img-container img {
    object-fit: cover;
    object-position: right;
    width: 100%;
    height: 460px;
}
.top-page-img-container span {
    position: absolute;
    z-index: 1;
    top: 2rem;
    left: 2rem;
    max-width: 860px;
    font-family: sohoGothicProRegular;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.1;
    color: var(--lightest);
}
.icon-b {
    display: inline-block;
    width: 18px;
    height: 22px;
    background-image: url("img/logo-boost.svg");
    background-repeat: no-repeat;
    background-size: 20px 22px;
    vertical-align: middle;
}

/* Responsive Nav */
#game-nav-mobile {
    display: flex;
}
#game-nav-mobile a.dropdown-toggle {
    height: 80px;
    color: var(--lightest);
    border-radius: 0;
}
#game-nav-mobile a {
    align-content: center;
    height: 60px;
    text-align: center;
    border: 0;
}
#game-nav-mobile li img {
  width: auto;
  height: 20px;
}
.dropdown-menu {
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.dropdown-toggle {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
}
.dropdown-toggle::after {
    content: none;
}
.dropdown-toggle span {
    margin-right: 12px;
    display: inline-block;
}
.dropdown-toggle div {
    padding-left: 12px;
    padding-right: 12px;
    height: 100%;
    display: flex;
}
.dropdown-toggle svg {
    width: 20px;
}

/* top page */
.top-page h1 {
    font-family: sohoGothicProExtraBold;
}
.top-page p {
    font-family: sohoGothicProRegular;
}

/* accordion */
.accordion-item {
    -webkit-box-shadow: 0px 0px 18px -12px rgba(0,0,0,0.4); 
    box-shadow: 0px 0px 18px -12px rgba(0,0,0,0.4);
}
.accordion-item:first-of-type,
.accordion-item:last-of-type,
.accordion-item:first-of-type > .accordion-header .accordion-button {
    border-radius: 0;
}
.accordion-button {
    background-color: var(--lightest);
    font-family: sohoGothicProRegular;
    font-weight: 800;
}
.accordion-button::after {
    content: url('data:image/svg+xml,<svg id="down-arrow-dark" data-name="down-arrow-dark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 62.58 32"><path d="M31.29,32.72L2.45,11.56C-.22,9.6-.8,5.84,1.16,3.17,3.12.5,6.88-.08,9.55,1.88l21.74,15.95L53.04,1.88c2.67-1.96,6.43-1.38,8.39,1.29,1.96,2.67,1.38,6.43-1.29,8.39l-28.84,21.16Z"/></svg>');
    width: 20px;
    height: auto;
    background-image: none;
}
.accordion-button:not(.collapsed) {
    background-color: var(--lightest);
    color: var(--darkest);
}
.accordion-button:not(.collapsed)::after {
    background-image: none;
}
.accordion-button.collapsed {
    border-left: 0;
}
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-radius: 0;
}
.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}
/* accordion dark */
.accordion.t-dark .accordion-button {
    background-color: var(--darkest);
    color: var(--lightest);
}
.accordion.t-dark .accordion-button::after {
    content: url('data:image/svg+xml,<svg id="down-arrow-light" data-name="down-arrow-light" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 62.58 32"><defs><style> .uuid-90e17ee2-3344-4883-aa56-2c22be351714 { fill: %23fff; } </style></defs><path class="uuid-90e17ee2-3344-4883-aa56-2c22be351714" d="M31.29,32.72L2.45,11.56C-.22,9.6-.8,5.84,1.16,3.17,3.12.5,6.88-.08,9.55,1.88l21.74,15.95L53.04,1.88c2.67-1.96,6.43-1.38,8.39,1.29,1.96,2.67,1.38,6.43-1.29,8.39l-28.84,21.16Z"/></svg>');
    width: 20px;
    height: auto;
    background-image: none;
}
.accordion-body table td {
    padding-left: 0;
    padding-right: 0;
}
.accordion-body ul {
    padding-left: 1.4rem;
}
.accordion-body ul li::marker {
    color: var(--main-color);
    font-size: 1.6rem;
}
/* game page */
.game-options {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
}
.game-options svg {
    height: 38px;
}
.game-explanation h3 {
    padding-top: 0.8rem;
    font-family: sohoGothicProRegular;
    font-weight: 800;
    font-size: 24px;
    color: var(--darkest);
    text-transform: uppercase;
}
.game-explanation h5 {
    padding-top: 0.8rem;
    padding-bottom: 1rem;
    font-family: sohoGothicProRegular;
    font-weight: 800;
    font-size: 24px;
    color: var(--darkest);
}
.quick-view h3 {
    padding-top: 0.8rem;
    font-family: sohoGothicProRegular;
    font-weight: 800;
    font-size: 24px;
    color: var(--lightest);
    text-transform: uppercase;
}
.custom-cards {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.custom-card {
    width: 100%;
    word-break: keep-all;
}
.custom-card a {
    color: var(--lightest);
}
.custom-card p,
.custom-card ul {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: var(--lightest);
}
.custom-card ul {
    list-style-type: none;
    padding-left: 0;
}
.custom-card ul.checkbox {
    padding-left: 2rem;
}
.custom-card ul.checkbox li {
    position: relative;
}
.custom-card ul.checkbox li span {
    position: absolute;
    left: -32px;
}
.custom-card div {
    padding: 3px 12px 6px;
    background-color: var(--lightest);
    font-family: sohoGothicProRegular;
    font-weight: 800;
}

/* tables */
/*table {
    margin-left: -10px;
    margin-right: -10px;
}*/
thead.t-darkest {
    background-color: var(--darkest);
}
thead th {
    padding: 4px 4px 4px 6px;
    color: var(--lightest);
}
th {
    font-weight: bold;
    color: red;
}
thead th:first-child {
    padding-left: 10px;
}
td {
    vertical-align: top;
    padding: 4px 4px 4px 6px;
    text-align: left;
    word-break: keep-all;
}
td.table-info {
    padding: 4px 4px 4px 10px;
    text-align: left;
}
.table-row-title {
    vertical-align: top;
    font-family: sohoGothicProRegular;
    font-weight: 800;
}
.table-row-title span {
    display: block;
    font-family: sohoStd;
    font-weight: normal;
}
thead tr {
    border-bottom: 0;
}

/* horses */
#simple-horse {
    position: relative;
    width: 200px;
    bottom: -56px;
    left: 50%;
    transform: translateX(-50%);
}
#couple-horse {
    position: relative;
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
}
#trio-horse {
    position: relative;
    width: 250px;
    bottom: -56px;
    left: 50%;
    transform: translateX(-50%);
}
#super4-horse {
    position: relative;
    width: 200px;
    bottom: -56px;
    left: 50%;
    transform: translateX(-50%);
}
#deux-sur-quatre-horse {
    position: relative;
    width: 250px;
    bottom: -56px;
    left: 50%;
    transform: translateX(-50%);
}
#multi-horse {
    position: relative;
    width: 250px;
    bottom: -49px;
    left: 50%;
    transform: translateX(-50%);
}
#pick5-horse {
    position: relative;
    width: 250px;
    bottom: -57px;
    left: 50%;
    transform: translateX(-50%);
}
#tierce-horse {
    position: relative;
    width: 250px;
    bottom: -58px;
    left: 50%;
    transform: translateX(-50%);
}
#quarte-plus-horse {
    position: relative;
    width: 250px;
    bottom: -58px;
    left: 50%;
    transform: translateX(-50%);
}
#quinte-plus-horse {
    position: relative;
    width: 250px;
    bottom: -58px;
    left: 50%;
    transform: translateX(-50%);
}
/* secondary nav */
#secondary-nav {
    position: relative;
    background-color: var(--lightest);
}
#secondary-nav ul {
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}
#secondary-nav ul a {
    display: inline-block;
    padding: 16px 40px 20px;
    text-decoration: none;
    font-family: sohoGothicProRegular;
    color: var(--darkest);
    background-color: var(--lightest);
    transition: all 0.3s ease;
}
#secondary-nav ul a.active {
    color: var(--lightest);
    background-color: var(--darkest);
}
#secondary-nav ul a:hover {
    color: var(--lightest);
    background-color: #40403c;
}

#secondary-nav-mobile {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--lightest);
}
#secondary-nav-mobile a {
    padding: 20px;
    color: var(--darkest);
    background-color: var(--darkest);
    transition: all 0.3s ease;
}
#secondary-nav-mobile .previous-btn {
    margin-right: 2px;
}
#secondary-nav-mobile .previous-btn svg,
#secondary-nav-mobile .next-btn svg {
    display: inline-block;
    height: 20px;
    width: auto;
}
#secondary-nav-mobile .previous-btn svg {
    transform: rotate(180deg);
}
#secondary-nav-mobile span {
    padding: 16px 20px 20px;
    font-family: sohoGothicProRegular;
    font-weight: 800;
    color: var(--darkest);
}
#secondary-nav.t-fixed {
    position: fixed;
    z-index: 10;
    top: 50px;
    width: 100%;
    -webkit-box-shadow: 0px 10px 29px -23px rgba(0,0,0,0.6); 
    box-shadow: 0px 10px 29px -23px rgba(0,0,0,0.6);
}
.arrow-path {
    fill: var(--lightest)
}

/* footer */
footer {
    background-color: var(--lightest);
    text-align: center;
}
footer ul {
    padding-left: 0;
    list-style-type: none;
    text-align: left;
} 
footer ul.two-cols {
    column-count: 2;
}
#main-logo-footer {
    height: 64px;
}
footer a {
    text-decoration: none;
    color: var(--darkest);
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--pmu-green);
}
footer h5 {
    color: var(--pmu-green);
    font-family: sohoGothicProRegular;
    text-transform: uppercase;
    text-align: left;
}



/* Media Queries */

@media (min-width: 768px) {
    .top-page-img-container span {
        font-size: 48px;
    }
    .go-down {
        padding: 20px 80px;
    }
    footer {
        text-align: left;
    }

}
@media (min-width: 992px) {
    #main-logo-container.t-scrolled {
        height: 50px;
    }
    #simple-horse {
        position: absolute;
        bottom: -53px;
        left: auto;
        transform: none;
    }
    #trio-horse {
        position: absolute;
        bottom: -53px;
        left: auto;
        transform: none;
    }
    #deux-sur-quatre-horse {
        position: absolute;
        bottom: -53px;
        left: auto;
        transform: none;
    }
    #super4-horse {
        position: absolute;
        bottom: -52px;
        left: auto;
        transform: none;
    }
    #multi-horse {
        position: absolute;
        bottom: -56px;
        left: auto;
        transform: none;
    }
    #pick5-horse {
        position: absolute;
        bottom: -58px;
        left: auto;
        transform: none;
    }
    #tierce-horse {
        position: absolute;
        bottom: -57px;
        left: auto;
        transform: none;
    }
    #quarte-plus-horse {
        position: absolute;
        bottom: -57px;
        left: auto;
        transform: none;
    }
    #quinte-plus-horse {
        position: absolute;
        bottom: -57px;
        left: auto;
        transform: none;
    }
    .custom-card {
        width: calc(50% - 10px);
    }
}

/* END Media Queries */
