/********** Template CSS **********/
:root {
    --primary: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

/*	RHD Custom */


*,::after,::before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box; }
html, body { margin:0;padding:0;width:100%;max-width:100%;min-height:100%; }
body::-webkit-scrollbar { -webkit-appearance:none;opacity:0;margin:0;padding:0;width:100%;max-width:100%;min-height:100%; }


body { background-color:#f0e8df; color: #4D4D4D !important; font-family:"Trebuchet MS",sans-serif !important; min-width:300px !important; } /* color: #777; */
.footer { background-color:#d8c3ab !important; color:#F8F8F8 !important; }

.shadow {
	text-shadow: 00px 2px 5px rgba(0,0,0,0.5) !important;
	box-shadow: none !important;
}

.banner-fix-content {
	z-index: 2;
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	overflow: hidden;
	width: fit-content;
	height: 100%;
	padding:20%;
	align-items: center;
}

.owl-carousel-inner { background:none !important; }
.owl-carousel-inner .text-white { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)!important; }

@media screen and (max-width:639px) {  .owl-dots { display:none !important; } }

.navbar { background:rgba(255, 255, 255, 0); z-index:99999!important; }
.navbar.bg-white { background:rgba(255, 255, 255, 1); }

.navbar .navbar-nav .nav-link { color:#FFF !important; }
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active {color:#000 !important; }

.navbar.bg-white .navbar-nav .nav-link { color:var(--dark) !important; }
.navbar.bg-white .navbar-nav .nav-link:hover, .navbar.bg-white .navbar-nav .nav-link.active { color:#806246 !important; }


#contact {
	margin-top:40px;
	padding:20px;
	background-repeat: no-repeat, repeat;
	background-position: center;
	background-size: cover;
}

.webp-supported #contact { background-image: url("../../img/contact-bkg.webp"); }
.no-webp #contact { background-image: url("../../img/contact-bkg.jpg"); }

#contact .address { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important; }
#contact form p { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important; }
#contact form #Verify_Email { display:none; }
.clearat::before { content: "\0040"; }
.cleardot::before { content: "\002E"; }

/* Firefox */
::placeholder { color:#000; opacity:1; }

/* Edge 12 -18 */
::-ms-input-placeholder { color:#000; }

/* -------- */

.home-pictos img {
	border-radius: 50%; border:1px solid #BFBFBF;
	width:300px;
	height:300px;
	background:#FFF;
}

/* -------- */

.page div { overflow:hidden; margin:20px 0; }
.page h2, .page h3 { font-size:1rem; margin-bottom:20px; }

.rhd-grid {
	display:flex;
	flex-wrap:wrap;
	gap:0;
	justify-content:center;
}
.rhd-grid a { margin:5px; width:400px; height:400px; }
.rhd-grid img {
	width: auto;
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
.rhd-grid img:hover { opacity:0.5; }

@media screen and (max-width:450px) { .rhd-grid a { width:300px; height:300px; } }


.rhd-gallery {
	display:flex;
	flex-wrap:wrap;
	gap:0;
	justify-content:center;
}

/*
.rhd-gallery a { position:relative; margin:5px; width:480px; height:320px; }

.rhd-gallery img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.rhd-gallery img:hover { opacity:0.5; }

@media screen and (max-width:450px) { .rhd-gallery a { width:320px; height:213px; } }
*/

/* ------- */
.rhd-gallery .item {
	position: relative;
	display: inline-block;
	width:480px;
	height:320px;
	margin:5px;
}

.rhd-gallery .item-SQ400 { width:300px; height:300px; }

.rhd-gallery .item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.rhd-gallery .item:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0);
	transition: 1s;
}

.rhd-gallery .item:hover:after { background: rgba(0,0,0,.5); }

.rhd-gallery .item:hover .text { opacity: 1; }

.rhd-gallery .text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index:5;
	color: #FFF;
	font-size: 1.50rem;
	font-weight: 500 !important;
	width: 100% !important;
	text-align: center;
	padding: 20px;
	opacity: 0;
	transition: .5s;
}

/* ------- */

/*	Liste projets */

.bloc-projet { overflow:hidden !important; margin-bottom:80px; }

.bloc-projet h2 { font-weight:normal !important; }

.bloc-projet a { display:block; max-height:350px !important; max-widh:100% !important; text-align:center; }

.bloc-projet img {
	display:block; 
	width: auto !important;
	max-width:100%;
	height: auto !important;
	max-height: 100% !important;
	aspect-ratio: 1;
	object-fit: contain;
	margin:auto;
}

.bloc-projet img:hover { opacity:0.5; }

/*	fiche projet */

.hero { position:relative; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.hero div { position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); } /* top:calc(50% - 100px);  */
.hero img { width:auto; height:100%; }

.hero h1 {
    font-size: 2rem;
    text-align: center;
    color: white;
}

.hero p {
    font-size: 1.4rem;
    text-align: center;
    color: white;
}

.VRT {
	width:100%;
}

/* --- */

/*
.service-item {
	max-width: 300px !important;
	max-height: 300px !important;
	width: 100% !important;
}

.service-item img {
	width: auto !important;
	height: 100% !important;
	aspect-ratio: 1 !important;
	object-fit: cover !important;
}
*/
/* ----- */

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    max-width:100%;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner img { max-width:50%; }


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: #806246; /* var(--primary); */
    font-weight:normal !important;
    font-size:1.5rem !important;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
/*
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
	font-size: 1.50rem;
	font-weight: 500 !important;
	color:transparent;
    transition: .5s;
}

.service-item:hover .service-text {
	color:#FFF;
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}
*/

/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f054";
    font-family: "FontAwesome5Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright, .footer .copyright a {
    padding: 25px 0;
    font-size: 10px !important;
    font-weight:bold !important;
    color:#777777 !important;
    border-top: 1px solid rgba(256, 256, 256, .1);
}