/* =====================================================================
   TECHINTERLAB – Bases communes
   Règles qui servent à plusieurs zones du site, reprises du thème d'origine :
     - éléments HTML (texte, liens, titres, listes, formulaires) ;
     - contenu saisi dans l'administration (images et vidéos insérées avec
       l'éditeur : .image, .image-style-*, .media ; tableaux) ;
     - cartes communes à plusieurs pages (actualités, événements, offres
       d'emploi) et grilles de cartes (.intro-wrap).
   Chargé en premier, juste après Bootstrap : les fichiers suivants
   l'emportent à force égale. Les tailles en px y restent comme dans
   l'original quand elles ne tombent pas sur l'échelle de 1-reglages.css.
   ===================================================================== */


body {
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 300;
    font-size: var(--taille-17);
    line-height: 1.5;
    color: gray;
    background: var(--blanc);
}

#page {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

a {
    color: var(--bleu);
}

a:hover,
a:active,
a:focus {
    color: var(--bleu);
    outline: none;
    text-decoration: none;
}

table tr td:nth-child(1) {
    padding-left: 0;
}

figure.media {
    padding: 0;
    margin: 15px 0;
}

@media (min-width: 576px) {
    figure.media {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    figure.media {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
}

@media (min-width: 992px) {
    figure.media {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
}

figure.media div {
    padding-bottom: 0;
    height: inherit;
}

figure.media div iframe {
    display: block;
}

.media {
    display: block;
}

p {
    margin-bottom: 1vh;
}

p a {
    text-decoration: underline;
}

p a:hover {
    color: var(--bleu-fonce);
    text-decoration: underline;
}

.image {
    margin: 15px 0;
}

.image img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
}

.image.image-style-align-left,
.image.image-style-align-center,
.image.image-style-align-right {
    max-width: 50%;
}

.image.image-style-align-left {
    padding-right: 40px;
    float: left;
    clear: both;
}

.image.image-style-align-center {
    text-align: center;
}

.image.image-style-side,
.image.image-style-align-right {
    padding-left: 40px;
    clear: both;
    float: right;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--noir);
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 400;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

::-moz-selection {
    color: var(--blanc);
    background: var(--bleu);
}

::selection {
    color: var(--blanc);
    background: var(--bleu);
}

.alert ul {
    margin-bottom: 0;
    padding-bottom: 0;
}

.trainer-img,
.classes-img,
.intro-img,
.subs-img,
.figure-img,
.user-img,
.blog-img,
.about-img,
.services-img {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#news,
#events,
#categories,
#introduction,
#contact,
#societe,
#offers,
#promotion,
#subscribe,
#websites {
    padding: 4em 0;
    clear: both;
}

#websites .intro-wrap {
    margin-top: 0;
}

#intro,
#websites {
    clear: both;
}

#intro .intro-wrap,
#websites .intro-wrap {
    z-index: 1;
}

#intro .intro-wrap .intro-flex,
#websites .intro-wrap .intro-flex {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

#intro .intro-wrap .intro-flex > div,
#websites .intro-wrap .intro-flex > div {
    padding: 2em 2em 4em 2em;
    position: relative;
    border: 2px ridge var(--bordure);
    border-radius: var(--arrondi);
    overflow: hidden;
    box-shadow: 5px 5px 12px var(--encre), -3px -3px 10px var(--encre);
    z-index: 0;
    margin: 3px;
    transition-duration: 0.3s;
}

@media screen and (max-width: 480px) {
    #intro .intro-wrap .intro-flex > div,
    #websites .intro-wrap .intro-flex > div {
        width: 100%;
    }
}

#intro .intro-wrap .intro-flex > div:after,
#websites .intro-wrap .intro-flex > div:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: var(--noir);
    opacity: .2;
    z-index: -1;
}

#intro .intro-wrap .intro-flex > div .desc,
#websites .intro-wrap .intro-flex > div .desc {
    z-index: 1;
}

#intro .intro-wrap .intro-flex > div .desc h3,
#websites .intro-wrap .intro-flex > div .desc h3 {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blanc);
    font-size: 1.4rem;
}

#intro .intro-wrap .intro-flex > div .desc p,
#websites .intro-wrap .intro-flex > div .desc p {
    color: rgba(var(--blanc-rgb), 0.8);
}

#intro .intro-wrap .intro-flex > div .desc .see_more,
#websites .intro-wrap .intro-flex > div .desc .see_more {
    display: block;
    position: absolute;
    bottom: -1em;
    right: 2em;
    font-size: var(--taille-14);
    padding: 1.2em 1em 2em 1em;
    color: var(--blanc);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--arrondi);
    background: linear-gradient(45deg, var(--bleu) 0%, var(--violet) 100%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition-duration: 0.3s;
}

#intro .intro-wrap .intro-flex > div .desc .see_more:hover,
#websites .intro-wrap .intro-flex > div .desc .see_more:hover {
    bottom: 0em;
}

#intro .intro-wrap .intro-flex > div .desc .see_more small,
#websites .intro-wrap .intro-flex > div .desc .see_more small {
    color: rgba(var(--blanc-rgb), 0.8);
    font-weight: 400;
}

#categories .intro-wrap {
    z-index: 1;
}

#categories .intro-wrap .intro-flex {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

#categories .intro-wrap .intro-flex > div {
    border: 1px solid white;
    padding: 4em 2em;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

#categories .intro-wrap .intro-flex > div:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: var(--noir);
    opacity: .2;
    z-index: -1;
}

#categories .intro-wrap .intro-flex > div .desc {
    z-index: 1;
}

#categories .intro-wrap .intro-flex > div .desc h3 {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blanc);
}

#categories .intro-wrap .intro-flex > div .desc p {
    color: rgba(var(--blanc-rgb), 0.8);
}

#categories .intro-wrap .intro-flex > div .desc .see_more {
    display: block;
    position: absolute;
    bottom: -1em;
    right: 2em;
    font-size: var(--taille-14);
    padding: 1.2em 1em 2em 1em;
    color: var(--blanc);
    text-transform: uppercase;
    font-weight: 700;
    transition-duration: 0.3s;
    border-radius: var(--arrondi);
    background: linear-gradient(45deg, var(--bleu) 0%, var(--violet) 100%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#categories .intro-wrap .intro-flex > div .desc .see_more:hover {
    bottom: 0em;
}

#categories .intro-wrap .intro-flex > div .desc .see_more small {
    color: rgba(var(--blanc-rgb), 0.8);
    font-weight: 400;
}

.news-entry,
.events-entry,
.offers-entry {
    padding: 1.3em;
    margin-bottom: 30px;
}

.news-entry.grey,
.events-entry.grey,
.offers-entry.grey {
    background: var(--fond-doux);
}

.news-entry .desc,
.events-entry .desc,
.offers-entry .desc {
    border-bottom: 1px solid var(--bordure);
    margin-bottom: 20px;
    padding-left: 75px;
    position: relative;
}

.news-entry .desc .meta,
.events-entry .desc .meta,
.offers-entry .desc .meta {
    line-height: 1.3;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
}

.news-entry .desc .meta span,
.events-entry .desc .meta span,
.offers-entry .desc .meta span {
    display: block;
    font-weight: 700;
    background: linear-gradient(45deg, var(--bleu) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-entry .desc .meta .date-1,
.events-entry .desc .meta .date-1,
.offers-entry .desc .meta .date-1 {
    font-size: var(--taille-36);
}

.news-entry .desc .meta .date-2,
.events-entry .desc .meta .date-2,
.offers-entry .desc .meta .date-2 {
    font-size: var(--taille-20);
    font-weight: 600;
}

.news-entry .desc .organizer span:last-child,
.events-entry .desc .organizer span:last-child,
.offers-entry .desc .organizer span:last-child {
    color: var(--noir);
}

.news-entry .location,
.events-entry .location,
.offers-entry .location {
    position: relative;
    padding: 0 15px;
}

.news-entry h2,
.events-entry h2,
.offers-entry h2 {
    font-size: 1.3em;
    line-height: 1.4;
    color: var(--noir);
}

.form-control {
    box-shadow: none;
    border: 1px solid var(--bordure);
    font-size: var(--taille-16);
    font-weight: 300;
    background: var(--fond-doux);
    border-radius: var(--arrondi);
}

/* Messages (Bootstrap les arrondit à 4 px) : même arrondi que le reste du site */
.alert {
    border-radius: var(--arrondi);
}

.form-control:focus,
.form-control:active {
    background: var(--fond-doux);
    box-shadow: none;
    border: 1px solid var(--lisere);
}

input[type="text"] {
    height: 50px;
}

.form-group {
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .form-group #firstname_contact {
        margin-bottom: 30px;
    }
}

.form-group label {
    font-weight: 400;
}

.heading h2 {
    font-size: var(--taille-30);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4vh;
}

@media screen and (max-width: 768px) {
    .heading h2 {
        font-size: var(--taille-30);
    }
}

.subs-img {
    background-attachment: fixed;
}

.btn {
    margin-right: 4px;
    margin-bottom: 4px;
    font-weight: 400;
    border-radius: var(--arrondi);
    padding: 15px 20px;
}

.btn.btn-md {
    padding: 8px 20px;
}

.btn:hover,
.btn:active,
.btn:focus {
    box-shadow: none;
    outline: none;
}

.btn-colored {
    font-size: var(--taille-12);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blanc);
    cursor: pointer;
    border: none;
    text-decoration: none;
    background: linear-gradient(45deg, var(--bleu) 0%, var(--violet) 100%);
}

.btn-colored:hover {
    color: var(--blanc);
    transform: scale(1.1);
}

.btn-colored.square {
    border-radius: var(--arrondi);
}

.row-pb-sm {
    padding-bottom: 3em;
}

@media screen and (max-width:768px) {
    .dropdown-toggle::after {
        opacity: 0;
    }
}

@media screen and (max-width:867px) {
    * {
        scrollbar-width: thin;
        scrollbar-color: rgb(54,1,37) var(--violet);
    }

    *::-webkit-scrollbar {
        width: 10px;
    }

    *::-webkit-scrollbar-track {
        border-radius: var(--arrondi);
        background: rgb(173,165,165);
    }

    *::-webkit-scrollbar-thumb {
        border-radius: var(--arrondi);
        background: linear-gradient(var(--bleu) 0%,var(--bleu) 100%);
    }
}

li video {
    position: absolute;
    top: -50px;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

@media screen and (max-width:768px) {
    li video {
        display: none;
        position: absolute;
        top: 27%;
        bottom: 0;
        width: 100%;
        height: 50%;
    }
}

.slider {
    box-shadow: 0 10px 20px -5px rgba(var(--noir-rgb), .125);
    height: 150px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before,
.slider::after {
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider .slide {
    height: 100px;
    width: 250px;
}

#recherche .intro-wrap .intro-flex>div {
    z-index: 0;
    position: relative;
    margin: 0 10px 0 10px;
    padding: 4em 2em;
    border: 3px ridge var(--blanc);
    border-radius: var(--arrondi);
    overflow: hidden;
    box-shadow: 5px 5px 12px var(--encre),-3px -3px 10px var(--encre);
}

#recherche .intro-wrap .intro-flex>div .desc .see_more {
    display: block;
    position: absolute;
    right: 2em;
    bottom: -1em;
    padding: 1.2em 1em 2em 1em;
    border-radius: var(--arrondi);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-transform: uppercase;
    font-size: var(--taille-14);
    font-weight: 700;
    color: var(--blanc);
    background: linear-gradient(45deg,var(--bleu) 0,var(--violet) 100%);
    transition-duration: .3s;
}

#recherche .intro-wrap .intro-flex>div .desc .see_more:hover {
    bottom: 0;
}
