/***********404**********/
.error-page {
    margin: 100px 0 40px;
    text-align: center;
}
.error-page__header-image {
    width: 210px;
}
.error-page__title {
    font-size: 25px;
    color: rgba(42, 55, 68, 0.7);
    font-weight: normal;
}
.error-page__subtitle {
    font-size: 15px;
    color: rgba(42, 55, 68, 0.7);
    font-weight: normal;
    margin-top: 0;
}
.error-page__subtitle a {
    color: rgba(42, 55, 68, 0.7);
    text-decoration: none;
    font-weight: bold;
}
.error-page__message {
    font-family: "Lobster", cursive;
    font-size: 30px;
    margin: 30px 0 35px 0;
    line-height: 40px;
}
@media (max-width: 767px) {
    .error-page {
        margin: 0 0 40px;
    }
    .error-page__title {
        font-size: 22px;
    }
    .error-page__subtitle {
        font-size: 12px;
    }
    .error-page__message {
        font-size: 25px;
        margin: 30px 0 35px 0;
        line-height: 40px;
    }
}

* {
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;

    font-family: "Roboto Condensed", sans-serif;
}
html {
    scroll-behavior: smooth;
}
.notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}
.no-padding {
    padding-left: unset;
}
.msg-flash {
    padding-left: 0;
    padding-right: 0;
}
.msg-flash .alert {
    border-radius: 0;
}

/************/
/*CUSTOM CSS*/
/************/
hr {
    margin-top: unset;
}
form label {
    color: #1665c0;
}
.wrap-nav {
    text-transform: uppercase;
    font-weight: bold;
}
.navbar {
    background-color: white;
    padding: 0;
}

.permis_dropdown {
    padding-top: 0.5em;
    padding-left: 0.7em;
}
.nav-tabs {
    margin-right: 1rem;
    border-bottom: unset;
    min-width: 18rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
.navbar-light .navbar-nav .nav-link {
    height: 98px;
}
.nav-tabs li a {
    margin-left: 1.4rem;
    color: #758fdd;
}
.nav-tabs li.active {
    color: white !important;
}
.nav-tabs li a.active {
    color: white;
}
.tabs_menu li {
    color: #212529;
    font-weight: 400;
    list-style: none;
}
.clickable-row{
    cursor: pointer;
}
.list-group-item{
    border-color: white;
}
.dropdown-menu {
    background-color: #1665c0;
    color: #1665c0;
    border-radius: unset;
    margin-top: -0.05rem;
}
.dropdown-item {
    color: white;
}
.trafic_test {
    width: 1rem;
}
.nav-link {
    display: flex;
    align-items: center;
  }
  
  .trafict {
    margin-right: 5px; /* Adjust the spacing between the image and the text as needed */
  }
.dropdown-item:active {
    background-color: unset;
}
.dropdown-item:hover {
    background-color: unset;
    color: #758fdd;
}
.dropdown-menu[data-bs-popper] {
    margin-top: unset;
}
.fb_logo {
    color: #4267b2;
}
@keyframes bounceIn {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    96% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
    }
}
.bounceIn {
    animation-duration: 0s;
    animation-name: bounceIn;
    padding-left: 5%;
    padding-top: 10%;
    color: white !important;
}
@keyframes presentation_permis {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    80% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
    }
}
.presentation_permis {
    animation-duration: 1s;
    animation-name: presentation_permis;
    padding-left: 5%;
    padding-top: 5%;
}
@keyframes image_permis {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    80% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
    }
}
.image_permis {
    animation-duration: 0.7s;
    animation-name: image_permis;
}
.carousel-caption {
    bottom: 175px;
    padding: 0%;
}
.shadow {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
}
.carousel-caption h1 {
    text-transform: uppercase;
}
.image_banniere {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.banniere_accueil {
    margin: 0 !important;
    padding: 0 !important;
}
.ninja {
    width: 100%;
}
.presentation_permis p {
    color: #a7a9ac;
}
.les_permis {
    margin-bottom: 7em;
}
.btn-primary {
    border-radius: unset;
    background-color: #1665c0;
    border-color: #1665c0;
}
.btn-primary:hover {
    background-color: white;
    color: #1665c0;
    border-color: #1665c0;
}
.btn-primary:focus {
    background-color: #1665c0;
    border-color: #1665c0;
}
.btn-outline-primary {
    border-radius: unset;
    color: #1665c0;
    border-color: #1665c0;
}
.btn-outline-primary:hover {
    background-color: #1665c0;
    border-color: #1665c0;
}
.btn-outline-light {
    border-radius: unset;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: #1665c0;
    border-color: #1665c0;
}
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: #1665c0;
    border-color: #1665c0;
}
.logo_vehicule {
    color: #1665c0;
}
.scoot {
    width: 80%;
}
/* .dropdown:hover .dropdown-menu {
display: block;
} */
/*******************************************************************
PAGE NEWS
/****************************************************************/
.titre_page {
    background-color: rgb(247, 250, 251);
    padding: 30px 0 20px 0;
}
h4 {
    line-height: 0.99;
}

.image_news {
    width: 100%; /* width of container */
    height: 430px; /* height of container */
    object-fit: cover;
    margin-top: 7%;
}
.titre_news {
    font-weight: bold;
    margin-top: 5%;
    text-transform: uppercase;
    font-size: 1.875rem;
    color: #3f444a;
}
.badge {
    margin-right: 0.5rem;
    text-transform: uppercase;
    font-weight: unset;
    background-color: #1665c0;
}
.info_news {
    justify-content: space-between;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    margin-left: 0rem;
    margin-right: 0rem;
    padding-top: 0.8rem;
    padding-left: 0.5rem;
}
.date_news {
    color: #5c6873;
}
.info_news p {
    font-size: 14px;
}
.article_news {
    padding: 0 !important;
}
.lire_la_news {
    margin-top: 2.5rem;
    color: #5c6873;
    margin-bottom: 3rem;
}
.categories {
    text-transform: uppercase;
    font-weight: bold;
    color: #3f444a;
    font-size: 20px;
}
.ligne_separation {
    border-bottom: 4px solid #1665c0;
    width: 65px;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}
.liste_categorie {
    list-style: none;
    margin-top: 2rem;
    margin-left: 1rem;
}
.liste_categorie li {
    margin-top: 0.5em;
    border-bottom: 1px solid #f2f2f2;
}
.espace {
    width: 100%;
}
.description_miniature h5 {
    font-size: 17px;
}
.description_miniature p {
    font-size: 14px;
}
.autres_posts {
    margin-top: 3rem;
}
.petit_post {
    border: 1px solid #f2f2f2;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0.8rem;
}
.petit_post:hover {
    background-color: #1665c0 !important;
    color: white;
}
.post_recent {
    border-bottom: 3px solid #32c5d2;
    width: 7.5em;
}
.liens_autres_posts:hover {
    text-decoration: none;
}
.liens_autres_posts {
    color: unset;
}
/****
LISTE DES NEWS
/*********/
.barbuttons {
    margin-top: 7%;
    margin-bottom: 7%;
}
/***************************************
DESCRIPTION DU PERMIS
/***************************************/
.font_red {
    color: #1665c0 !important;
}
.bg-red {
    background-color: #1665c0 !important;
}
.red {
    color: #1665c0;
}
.studentfiche {
    border: 1px solid transparent;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    padding: 1rem;
}
.bg-gris {
    background-color: #eeeeee;
}
.bg-red td {
    color: white !important;
}
.font_red2 {
    color: #1665c0 !important;
}
.photo_du_permis {
    width: 100%;
}
.presentation_permis h4 {
    color: #1665c0;
}
.page_permis {
    margin-top: 2%;
    padding-bottom: 5%;
}
.theorie_permis {
    margin-top: 2%;
    padding-bottom: 3%;
}
.descri_pratique {
    text-align: right;
}

.def_rubrique {
    color: #a7a9ac;
}
.inscription {
    color: #a7a9ac;
    font-weight: bold;
}
.theoria {
    border: 0;
    background-color: #1665c0;
    width: 5.5rem;
    height: 0.3rem;
    text-align: left;
    margin-left: 2.1rem;
}

.loia {
    border: 0;
    background-color: #1665c0;
    width: 16.5rem;
    height: 0.3rem;
    text-align: left;
    margin-left: 1.9rem;
}

.pratika {
    border: 0;
    background-color: #1665c0;
    width: 5.7rem;
    height: 0.3rem;
    margin-right: 0;
    margin-left: auto;
}
.online {
    border: 0;
    background-color: #1665c0;
    width: 11rem;
    height: 0.3rem;
    margin-right: 0;
}
.sous_titre_permis_prat {
    text-align: right;
}
.all_pratique_moto {
    text-align: right;
}
.all_pratique_moto h4 {
    color: #1665c0;
}
.all_theori_moto h4 {
    color: #1665c0;
}
.table th {
    color: #1665c0;
}
.table td {
    color: #a7a9ac;
}
.miniFont {
    font-size: 1.5rem;
}
.modal_inscri {
    max-width: 859px;
}
.cursor-help {
    cursor: help !important;
}
.hide {
    display: none;
}
/*******************************************************************************
FOOTER
/************************************************************************/
footer {
    background: url("../img/footer.png");
    background-size: cover;
}
.form-control {
    background-color: transparent;
    border-radius: unset;
}
.white {
    background-color: transparent;
    color: white;
    border-radius: unset;
    border: 1px solid white;
}
.descri_footer {
    font-size: 15px;
    color: white;
    margin-top: 1rem;
}
.adresse_footer {
    color: #a7a9ac;
    font-size: 15px;
}
.partie_gauche {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.partie_droite {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.prices {
    margin-top: 2rem;
}
.partie_droite h3 {
    color: white;
}
.submit {
    background-color: transparent;
    border: 2px solid #6d5289;
    border-radius: unset;
    color: #6d5289;
}
.submit:hover {
    color: black;
    background-color: #1665c0;
    border: 2px solid #1665c0;
}
.btn-outline-light:hover {
    color: #1665c0;
}
.contacter {
    margin-left: 1rem;
}
.logo_fb {
    color: black !important;
}
.logo_fb:hover {
    color: #1665c0 !important;
    color: unset;
}
.logo_fb:hover {
    color: #1665c0;
}
/***********************************************************************
PAGE AGENCES
/****************************************************************/
.adresse_agence {
    text-align: center;
    line-height: 1.3;
    padding-top: 5rem;
}
.notre_agence {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.adresse_agence {
    background-color: #f7f7f7;
    padding: 4rem 0.5rem 4rem 0.5rem;
}
.towncity {
    color: #1665c0;
    font-weight: bold;
    text-transform: uppercase;
}
.framap {
    padding: 0;
}
/***************************************************************************************
INSCRIPTIONS
/**************************************************************************************/
.inscrivez_vous {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.choix_permis:hover {
    background-color: #f1f2f3;
    cursor: pointer;
}
a {
    text-decoration: none;
    color: unset;
}
a:hover {
    text-decoration: none;
    color: unset;
}
.motoregister {
    border-bottom: 2px solid #1665c0;
}
.permis_selected {
    background-color: #1665c0;
}

/*************************************************************************************
CALENDRIER
/***************************************************************************************/
.calendrier_cours {
    margin-top: 2rem;
}
.no_calendrier {
    margin-top: 3rem;
    min-height: 38vh;
}
/*************************************************************************
EXTRANET
/*********************************************************************/
.users_login {
    margin-top: 20%;
    border: 1px solid #1665c0;
    border-radius: 25px;
    padding: 5%;
}
.table td,
.table th {
    vertical-align: middle;
}
.details_theorie {
    border-bottom: 2px solid #1665c0;
    margin-bottom: 0.5rem;
}
.left_separation {
    border-left: 2px solid #1665c0;
}

.chunk {
    text-overflow: ellipsis;
    overflow: hidden;
    height: 20px;
}

.banner-first {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        no-repeat url("../img/monitor.jpg");
    background-position: center;
    height: 55vh;
    background-size: cover;
    opacity: 4;
}

@keyframes innerText {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    60% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
    }
}
@keyframes monitor {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    60% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
    }
}
.monitoring {
    animation-duration: 1.5s;
    animation-name: monitor;
}
.inner-text {
    animation-duration: 1s;
    animation-name: innerText;
}
.banner-first h1 {
    color: white;
    margin-left: 20%;
    padding-top: 5%;
    font-size: 3rem;
    width: 40rem;
}
.banner-first p {
    color: white;
    width: 40rem;
    margin-left: 20%;
}
.underline::after {
    content: "";
    display: block;
    background-color: #1665c0;
    height: 6px;
    width: 82px;
    margin: 0.5rem auto;
}
.whyMonitor {
    width: 60rem;
    margin: 0.5rem auto;
    height: 80px;
    position: relative;
}
.icon {
    height: 80px;
    width: 5rem;
    position: absolute;
    top: 40px;
    left: 40px;
}
.card-body h1 {
    font-size: 4rem;
}
.joinUs {
    background-color: #1665c0;
    padding: 0;
}
.imageContract {
    width: 100%;
}
.theImage {
    padding: 0;
}
.contractDescri {
    padding-top: 10rem;
    color: white;
}
.btn-light {
    background-color: transparent;
    color: white;
}
.btn-light:hover {
    color: #1665c0;
}
.moreinfo:hover {
    background-color: white;
    color: #1665c0;
}
@keyframes presentation_job {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    60% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
    }
}
.presentation_job {
    animation-duration: 1s;
    animation-name: presentation_job;
}
.hidden {
    visibility: hidden;
}
.listing li {
    margin-bottom: 1rem;
}
.firsttitle {
    text-align: right;
}
.bg-grey {
    background-color: #f4f4f4;
}
#conditions {
    padding: 2rem 0;
}
.card-body p {
    font-size: 1.1rem;
}
.courses {
    padding-top: 5%;
}
.card:hover {
    -webkit-box-shadow: -1px 2px 10px 4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 2px 10px 4px rgba(0, 0, 0, 0.75);
    box-shadow: -1px 2px 10px 2px rgba(0, 0, 0, 0.75);
}
.rtl {
    direction: rtl;
}
.sm-screen {
    display: none;
}
/*MEDIA QUERIES*/
/***************/

@media screen and (max-width: 768px) {
    .google_cart {
        display: none;
    }
    .search_mobile {
        display: none;
    }
    .trafic_test {
        height: auto;
    }
}

@media screen and (max-width: 991px) {
    h3 {
        font-size: 1.1rem;
    }
    .trafic_test {
        height: auto;
    }
    .carousel-caption h1 {
        font-size: 2.4rem;
    }
    .navbar-light .navbar-nav .nav-link {
        padding-top: unset;
        height: unset;
    }
    .mobile {
        flex-direction: column-reverse;
    }

    .contacter {
        margin-left: 0;
    }
    .navbar-light .navbar-nav .nav-link {
        height: 45px;
        padding: 0;
    }
    .license_button {
        margin-left: 0 !important;
    }
    .petit_post {
        border: unset;
        text-align: center;
    }
    .petit_post img {
        width: 60%;
    }
    .lefooter {
        flex-direction: column-reverse;
    }
    .ml-auto,
    .mx-auto {
        margin-top: 1.71rem;
    }
    .carousel_news {
        padding: 0;
        margin: 0;
    }

    .adresse_agence {
        line-height: unset;
    }
    .fa-search {
        margin-left: 3rem;
    }
    .search_icon {
        display: none;
    }
    .notre_agence {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .image_banniere {
        height: 350px;
    }
    .carousel-caption {
        bottom: 30px;
    }
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .table th {
        text-align: center;
    }
    .table td {
        text-align: center;
    }
}
@media screen and (max-width: 535px) {
    .btn-sm-screen {
        display: none;
    }
    .tb-sm {
        font-size: 11px;
    }

    .logostarter {
        width: 70%;
    }
    .navbar-brand {
        margin-right: 0;
        padding: 1rem 0;
      }
      .navbar-toggler {
        position: absolute;
        top: 1rem;
        right: 10px;
      }
}

@media screen and (max-width: 347px) {
    .house_button {
        margin-top: 0.3rem;
    }
}
@media screen and (max-width: 991px) {
    .navbar-light .navbar-nav .nav-link {
        padding-top: 1rem;
        height: unset;
    }
}

@media screen and (max-width: 1390px) {
    .height_presentation {
        height: auto;
    }
    .contractDescri {
        padding-top: 3rem;
        padding-bottom: 3rem;
        color: white;
    }

    .navbar .dropdown-toggle,
    .nav-tabs .dropdown-toggle {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 990px) {
    .lg-screen {
        display: none;
    }
    .sm-screen {
        display: unset;
    }
    .firsttitle {
        text-align: center;
    }
}

@media screen and (max-width: 810px) {
    .banner-first h1 {
        margin: 0 3%;
        text-align: center;
        width: auto;
    }
    .banner-first p {
        width: auto;
        text-align: center;
        margin: 0 3%;
    }
    .whyMonitor {
        width: auto;
        margin: 0.5rem auto;
        position: relative;
    }
    .height_presentation {
        height: auto;
    }
    .contractDescri {
        padding-top: 3rem;
        padding-bottom: 3rem;
        color: white;
    }
}
@media screen and (max-width: 370px), screen and (max-height: 569px) {
    .banner-first h1 {
        font-size: 1.9rem;
    }
    .banner-first p {
        font-size: 1.1rem;
    }
    .whyMonitor {
        margin-bottom: 2.2rem;
    }
}

.text-block {
   
    margin-top: 150px;
    margin-right: 150px;
    font-size: 19px;
}

.schedule {
    position: relative;
    width: 100%;
    padding: 25px 54px;
    border-radius: 20px;
    background-color: #1665c0;
    opacity: 80%;
    color: white;
    text-align: center;
}

.accueil h1{
    font-size: 3rem;
    font-weight: 300;
  display: table;

  position: relative;
  margin-left : auto;
  margin-right : auto;
}

.accueil h1:before{
    content: "";
    position: absolute;
    width: calc(100% + 20px);
    height: 0px;
    bottom: 1px;
    left: -2%;
    right: 7%;
    border-bottom: 19px solid #1665c0 !important;
    opacity: 90%;
    z-index: -1;
}

.chatcontainer {
    display: flex;
    padding: 10px;
}

.chatbubble {
    background-color: #007bff; /* Bootstrap primary color */
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
  
    position: relative;
}

/* Triangle for the bubble */
.chatbubble::after {
    content: '';
    position: absolute;
    border-width: 5px;
    border-style: solid;
    border-color: #007bff transparent transparent transparent;
    top: 100%;
}