/*****************************************************  */
/* global */
/*****************************************************  */


* {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
    /*color: #333333;*/
    color: #385a6c;
    font-size: 1.2rem;
    font-weight: 400;
}

main {
    min-height: 100vh;
    position: relative;
}

body.no-scrollable {
    overflow: hidden;
}

.container-fluid {
    width: 100%;
}

.mainContainer {
    padding-top: 80px;
    min-height: calc(100vh - 140px);
}

.lightTheme .mainContainer {
    padding-top: 0;
}

.container {
    width: min(1200px, 100vw);
    margin: 0 auto;
    padding-top: 30px;
}




/*****************************************************  */
/* navbar */
/*****************************************************  */

.navbar {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100px;
    z-index: 999;
    position: absolute;
    top:0;
    right: 0;
    overflow: hidden;
}

.navbar .container {
    height: 80px;
    padding: 0px 50px 0px 0px;
    width: min(100%, 1400px);
    display: flex;
    align-items: start;
    justify-content: space-around;
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbar .container-fluid {
    height: 80px;
    padding: 0px 50px 0px 0px;
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-around;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .item {
    flex: 1;
    display: flex;
    align-items: center;
}

.navbar .item:nth-child(1) {
    position: absolute;
    top: 40px;
    right: 30px;
    min-width: 70px;
    height: 31px;
    display: none;
    opacity: 1;
    transition: all 0.3s ease-in;
}

.navbar .item:nth-child(3) {
    flex: 1;
    display: flex;
    /*justify-content: end;*/
    transition: all 1s ease-in;
    opacity: 1;
    padding-top: 5px;
}

.navbar .item:nth-child(4) {
    flex: 4;
    display: flex;
    justify-content: end;
    transition: all 1s ease-in;
    opacity: 1;
}

/*.lightTheme .navbar .logo {*/
/*    background-image: url("/storage/app/public/marie-pierre-monier-senat-logo-engraisse.png");*/
/*    z-index: 100;*/
/*}*/

.navbar .logo, .lightTheme .navbar.fixed .logo {
    transition: transform 0.3s 0.3s ease-in-out;
    height: 100px;
    width: 222px;
    background-image: url("/storage/app/public/affuteur-gascon.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 100;
}


.navbar.fixed .logo {

    transform: translateY(-9%) scale(0.7);
}

.btnaf {
    margin-left: 20px;
    padding: 10px 40px;
    text-align: center;
    background-color: #6f42c1;
    color: white;
    text-decoration: none;
    vertical-align: middle;
    border-radius: 20px;
}

.hamburger {
    width: 40px;
    height: 31px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fffc;
    transform-origin: left;
    transition: all 2s ease;
    display: block;
}

.navbar .list {
    padding: 0;
    display: flex;
    align-items: flex-start;
    /*align-items: center;*/
    list-style: none;
    color: white;
    font-size: 0.9rem;
    margin-top: 1rem;;
}

.navbar .listItem {
    margin: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    text-align: center;
    /* overflow-x: hidden; */
}

.navbar .listItem::after {
    position: absolute;
    content: "";
    bottom: -10px;
    right: 0;
    left: 0;
    margin: auto;
    height: 1px;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}


.navbar .listItem:hover::after {
    transform: scaleX(1);
    transform-origin: center;
}

.navbar .listItem.active::after, .navbar .listItem.active::before {
    display: none;
}

/*.navbar .listItem:last-child:hover::before, .navbar .listItem:last-child:hover::after {*/
/*    display: none;*/
/*}*/

.navbar .listItem a {
    text-decoration: none;
    color: white;
    /*color: #333333;*/
}

/* navbar dark */
.navbar {
    /*background-color: #deb681 ;*/
    background-color: #385a6c ;
}

/*  navbar light */
.lightTheme .navbar {
    background-color: transparent;
    transition: background-color 0.2s ease-in;
}

.lightTheme .navbar.fixed {
    background-color: #385a6c;
    /*background-color: #deb681;*/
}

/* navbar active */
.navbar.active {
    background-color: #385a6c;
    /*background-color: #deb681;*/
    color: white;
}

.navbar.active .hamburger span:first-child {
    transform: rotate(45deg);
    background-color: white;

}

.navbar.active .hamburger span:nth-child(2) {
    opacity: 0;

}

.navbar.active .hamburger span:last-child {
    transform: rotate(-45deg);
    background-color: white;

}

.navbar .listItem.active {
    /*background-color: white;*/
    color: #385a6c;
    /*color: #deb681;*/
    /*padding: 0.5rem;*/
}

/*navbar searchBar*/
.navbar .item.searchBar {
    position: absolute;
    top: -100vh;
    width: 100%;
    transition: all 1s ease-in-out;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: end;
}
.navbar .item.searchBar .top{
    display: flex;
    justify-content: right;

}
.navbar .item.searchBar .bottom{
    display: flex;
    justify-content: right;
    margin-top: 5px;
}
.navbar .item.searchBar .bottom .tag{
    margin: 5px;
    background-color: white;
    border:1px solid white;
    color: #385a6c;
    /*color: #deb681;*/
    /*color: #ffffff;*/
    cursor:pointer;
    padding: 5px;
    font-size: 13px;
    transition: all 0.3s ease-in;
}
.navbar .item.searchBar .bottom .tag:hover{
    background-color:  #385a6c;
    /*background-color:  #deb681;*/

    color:white;
}
.navbar .item.searchBar input {
    color: white;
    background-color: transparent;
    height: 30px;
    border: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.64);
    margin-right: 10px;
    font-size: 1rem;
    padding-left: 10px;
    width: min(78%,440px);
}
.navbar .item.searchBar input::placeholder {
    opacity: 1;
}
.navbar .item.searchBar input:focus {
    outline: none;
}

#closeSearchBar {
    color: rgba(255, 255, 255, 0.64);
    font-weight: 500;
    font-size: 24px;
    cursor: pointer;
}

.navbar.search .item.searchBar {
    top: 39px;
    opacity: 1;
    right: 25px;
}

.navbar.search .item:nth-child(4) {
    transform: translateY(50vh);
    opacity: 0;
}

.navbar.search .item:nth-child(1) {
    transform: translateY(50vh);
    opacity: 0;
}

.magnifying-glass {
    cursor: pointer;
    margin-right: 10px;
}



/*****************************************************  */
/* footer */
/*****************************************************  */

footer {
    display: flex;
    justify-content: end;
    flex-direction: column;

    width: 100%;
    bottom: 0;
    background-color: white;

}

/* - bottom */

footer .bottom {
    /*padding: 0.5rem;*/
    background-color: #385a6c;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;

}

footer .bottom .navItem {
    text-align: center;
}

footer .bottom span {

}

footer .bottom span a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    word-spacing: 2px;
    transition: all 0.2s ease;;
    position: relative;
}

footer .bottom span.active a {
    font-weight: 800;
}


footer .bottom .navItem a::after {
    position: absolute;
    content: "";
    bottom: -4px;
    right: 0;
    left: 0;
    margin: auto;
    height: 1px;
    background-color: white;
    transition: transform 0.5s ease;
    transform: scale(0);
}

footer .bottom .navItem:hover a::after {
    transform: scaleX(1);
    transform-origin: center;
}

footer .bottom .navItem.active a::after {
    display: none;
}



/*****************************************************  */
/* smartMenu */
/*****************************************************  */
.smartMenu {
    width: 100vw;
    height: 100vh;
    background-color: #385a6c;
    /*background-color: #deb681;*/
    position: fixed;
    top: 0px;
    right: -100vw;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 1s ease;
    color: white;
    /*color: #333333;*/
    font-weight: 600;
}

.smartMenu.active {
    right: 0;
}

.smartMenuWrapper {
    width: 95%;
    padding: 0.7rem;;

}

.smartMenu .list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 30px;
    /*font-weight: 300;*/
    width: 60%;
}

.smartMenu .listItem {
    margin-bottom: 25px;

}

.smartMenu .listItem a {
    font-size: 1.2rem;
    color: white;
    /*color: #333333;*/
    text-decoration: none;
}

.smartMenu .listItem.active {
    background-color: white;
    color: #385a6c;
    /*color: #deb681;*/
    padding: 0.5rem;
}
.smartMenu .listItem.active a {
    color: #385a6c;
}


.imgHome {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}
.text-center {
    text-align: center;
}
h1 {
    color: #f03c4d;
    /*color: #8b7456;*/
    font-size: 4rem;
    font-family: 'Caveat', cursive;
}
h2 {
    color: #f03c4d;
    /*color: #8b7456;*/
    font-size: 2.5rem;
    font-family: 'Caveat', cursive;
}
.borderBottomHome {
    /*border-bottom: 1px solid #8b7456;*/
    border-bottom: 1px solid #385a6c;
    width: max-content;
    margin: 0 auto;
    padding-bottom: 10px;
}
.row {
    padding: 10px;
}
.rowActeur {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.leftRowActeur {
    flex: 1;
    padding: 10px;
}
.rightRowActeur {
    flex: 1;
    padding: 10px;
    margin-top: 10px;
}
.rightRowActeur img {
    width: 100%;
}
.rowDistance {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.leftRowDistance {
    flex: 1;
    padding: 10px;
}
.rightRowDistance {
    flex: 3;
    padding: 20px 10px 10px;
    /*padding: 60px 10px 10px;*/
}
.leftRowDistance img {
    width: 200px;
}
.listRepar {
    list-style-type: circle;
    padding-left: 50px;
}
.brandTel {
    margin-top: 30px;
    color: white;
    font-size: 0.9rem;
}
.brandTel a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}
.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    vertical-align: -0.3em !important;
}
.ml25 {
    margin-left: 25px;
}
.rowCuisine {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.colCuisine {
    flex: 1;
    padding: 10px;
}
.colCuisine img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.colCuisineText {
    padding: 0 10px 10px;
    /*color: #8b7456;*/
    font-weight: 600;
}
.colOutils {
    flex: 1;
    padding: 10px;
}
.colOutils img {
    width: 100%;
    object-fit: cover;
}
.rowContact {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    color: #f03c4d;
    /*color: #385a6c;*/
    /*color: #8b7456;*/
}
.colContact {
    text-align: center;
}
.colIconContact {
    font-size: 70px;
}
.colTextContact {
    margin-top: 20px;
}
.colTextContact a {
    color: inherit;
    text-decoration: none;
}
.colIconContact a {
    color: inherit;
    text-decoration: none;
}
.rowForm {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.colLeft {
    flex: 1;
    padding: 20px;
}
.colRight {
    flex: 1;
    padding: 20px;
}
.inputForm {
    width: 100%;
    padding: 10px;
    height: 50px;
    /*color: #8b7456;*/
    color: #385a6c;
    border-radius: 25px;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 800;
}
.textForm {
    width: 100%;
    padding: 10px;
    /*color: #8b7456;*/
    color: #385a6c;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 800;
}
.btnForm {
    padding: 10px 30px;
    border-radius: 20px;
    /*background-color: #8b7456;*/
    background-color: #385a6c;
    font-size: 20px;
    color: white;
    margin-left: 20px;
    cursor: pointer;
}
.titleTarif {
    color: #f03c4d;
    text-align: start;
    text-transform: uppercase;
}
.rowTarif {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.colTarif {
    flex: 1;
    padding: 10px;
}
.text-center {
    text-align: center;
}

.event {
    padding: 0;
    background-color: #385a6c;
    box-shadow: 2px 2px 2px #154a76;
    color: white;
}
.titleEvent {
    font-weight: 600;
    color: #f03c4d;
    background-color: white;
    width: max-content;
    border: 1px solid #385a6c;
    padding: 10px;
}
.descriptionEvent {
    padding: 20px;
}

.rowImgAccueil {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(1200px, 100vw);
}
.colImgAccueil {
    flex: 1;
}
.colImgAccueil img {
    width: 100%;
    padding: 10px;
}

.table {
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}
.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.table > tbody {
    vertical-align: inherit;
}
.table > thead {
    vertical-align: bottom;
}

.table-group-divider {
    border-top: 2px solid currentcolor;
}

.caption-top {
    caption-side: top;
}

.table-sm > :not(caption) > * > * {
    padding: 0.25rem 0.25rem;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

.table-striped-columns > :not(caption) > tr > :nth-child(even) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

.rowQui {
    display: flex;
    justify-content: center;
    align-items: start;
}
.leftRowQui {
    flex: 2;
}
.rightRowQui {
    flex: 1;
    margin: 10px auto;
}
.leftRowQui img, .rightRowQui img {
    width: 350px;
}
.footer1 {
    flex: 1;
    height: 80px;
}
.footer2 {
    flex: 1;
}
.footer3 {
    flex: 2;
    height: 80px;
}
.footer4 {
    flex: 4;
}
.footer4-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 10px;
    text-align: center;
}
.footer4-bottom {
    margin-top: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
    margin-right: 5px;
}
.mt10 {
    margin-top: 10px;
}
.mb10 {
    margin-bottom: 10px;
}
.listAccueil {
    display: flex;
    margin-top: 60px;
    margin-bottom: 60px;
}
.titreListAccueil {
    flex: 1; font-weight: bolder;
}
.btnListAccueil {
    flex: 3;
}
.btnListAccueil2 {
    flex: 1;
}

@media screen and (max-width: 1400px) and (min-width: 992px) {
    .navbar .list {
        font-size: 0.8rem;
    }
    .brandTel {
        font-size: 0.8rem;
    }
    footer .bottom {
        font-size: 0.8rem;
    }
}
@media screen and (max-width: 1200px) {
    .ml25 {
        margin-left: 5px;
    }
}
@media screen and (max-width: 992px) {
    /* navbar */
    footer .bottom {
        flex-direction: column;
    }
    .footer1, .footer2, .footer3 {
        margin-bottom: 10px;
    }
    .footer4-top, .footer4-bottom {
        flex-direction: column;
        margin-top: 10px;
    }

    .listAccueil {
        flex-direction: column;
    }
    .btnListAccueil, .btnListAccueil2 {
        flex: 1;
        flex-direction: column;
        display: flex;
    }
    .btnListAccueil a, .btnListAccueil2 a {
        margin-top: 10px;
    }
    .titreListAccueil {
        text-align: center;
    }
    .navbar .container {
        align-items: center;
    }
    .navbar .item:nth-child(1) {
        display: flex;
    }
    .navbar .item:nth-child(3) {
        display: none;
    }
    .navbar .item:nth-child(4) {
        display: none;
    }
    .navbar  .item:nth-child(2) {
        flex: 3;
    }
    .navbar .logo, .lightTheme .navbar.fixed .logo {
        margin-top: 20px;
    }
    .row {
        padding: 20px;
        max-width: 100%;
    }
    .rowActeur {
        display: flex;
        flex-direction: column-reverse;
    }
    .rightRowActeur {
        margin-bottom: 30px;
    }
    .rowCuisine {
        flex-direction: column;
    }
    .colCuisine {
        margin-bottom: 30px;
    }
    .colOutils {
        margin-bottom: 30px;
    }
    .rowContact {
        flex-direction: column;
        align-items: center;
    }
    .colContact {
        margin-bottom: 40px;
    }
    .rowDistance {
        flex-direction: column;
    }
    .rightRowDistance {
        padding: 20px;
    }
    .leftRowDistance {
        margin: 0 auto;
    }
    .leftRowDistance img {
        width: 80%;
    }
    .rowForm {
        flex-direction: column;
    }
    .colLeft {
        width: 100%;
    }
    .colRight {
        width: 100%;
    }
    .rowTarif {
        flex-direction: column;
        align-items: center;
    }
    .colTarif {
        padding: 20px;
        width: 100%;
    }
    h1 {
        font-size: 3rem;
        max-width: 90vw;
    }
    h2 {
        font-size: 2rem;
        max-width: 90vw;
    }
    .rowQui {
        flex-direction: column;
        padding: 20px;
    }
}
