﻿@media only screen and (min-width: 768px) {
    .contact-us address .detail {
        font-size: 18px;
    }  
    
    .herotext h2 {
        font-size: 45px;
    }  
    
    .contact-us address .icon {
        font-size: 45px;
    }
    
    section.blog.blog-inner-page {
        padding-top: 100px !important;
        padding-bottom: 220px !important;
    }


    .testimonials .testimonials-block {
        padding-left: 110px;
        padding-right: 160px;
    }    
}

@media only screen and (max-width: 768px) { /* 576*/
    .contact-us address .detail {
        font-size: 16px;
        line-height: 20px !important;
    }
    .contact-us address .detail .heading {
        font-size: 13px;
        line-height: 13px !important;
    }

    section.blog.blog-inner-page {
        padding-top: 0px !important;
    }

    section.home-services {
        padding-bottom: 20px !important;
    }

    .contact-us address .icon {
        font-size: 25px !important;
        padding-right: 14px !important;
    }    
    .contact-us .herotext h2 {
        font-size: 26px;
        line-height: 26px;
    }
    .contact-us .herotext h6 {
        font-size: 16px;
        margin-bottom: 1.0rem;
        line-height: 24px;
    }
    
    .testimonials.parallax-2 {
        background-color: rgba(0, 0, 0, .7);
        background-blend-mode: overlay
    }

    .herotext p, .testimonial p {
        font-size: 16px !important;
    }
}
@media only screen and (max-width: 991px) { /* 576*/
    .testimonials.parallax-2 {
        background-color: rgba(0, 0, 0, .7);
        background-blend-mode: overlay
    }
}

 section {
    padding-top: 130px;
}

.home-features .herotext {
    padding-top: 80px;
}
 
 .home-features .block {
    padding-left: 10px;
}

.light-grey-bg {
    background-color: #ededed;
}

 a:hover { 
    color: #ffffff;
}

section.home-services {
    padding-bottom: 20px;
}

.testimonials {
    margin-top: 0px;
}

.home-features {
    margin-top: -160px;
}

.testimonials .testimonials-block {
    padding-top: 170px;
}

.ps-md-0 {
   padding-left: 10px !important;
}



.parallax-2 {
  background-attachment: fixed;
  background-repeat: repeat-y;
  background-position: 50% 0;
}


.img-fluid {
    border-radius: 20px;
}

.herotext h5 {
    padding-left: 10%;
}

.contact-us address .detail {
    line-height: 22px;
}

 .accordion-body {
    color: #afadad;
}

.herotext h5 {
    color: #afadad;
}

.herotext p {
    color: #afadad;
}


footer {
    padding-top: 20px;
    padding-bottom: 20px;
}


.dark-grey-bg {
    background-color: #252526;
}

.card-box {
  background-color:  #3d3f40; /* gray */
  height: 250px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-box .title {
  color: white;
  position: absolute;
  top: 15px;
  left: 15px;
  margin: 0;
  z-index: 3;
  transition: all 0.3s ease;
}

.card-box .top-image {
  position: absolute;
  bottom: -5px;
  right: -45px;
  width: 460px;
  height: auto;
  z-index: 2;
  transition: all 0.3s ease;
}

.card-box .icon-circle {
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f15000;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* plus icon inside circle */
.card-box .icon-circle i {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% 60%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  transition: none; /* prevent movement/fade */
}

/* --- Hover animations --- */
.card-box:hover .top-image {
    bottom: 0px;
    right: -100px;
    transform: scale(1.4);
}

  
.card-box:hover .title {
  font-size: 1.5rem;
}


.card-box:hover .icon-circle {
  width: 140%;
  height: 140%;
  bottom: -20%;
  left: -20%;
  border-radius: 50%;
}

/* instantly hide the + icon on hover */
.card-box:hover .icon-circle i {
  display: none;
}

.navbar-brand {
    margin-left: 1rem;
}

.sidebar .categories .nav-item {
    cursor: pointer;
}

.sidebar .categories ul.nav li.nav-item h2 {
    color: #f15000;
}

.sidebar .categories ul.nav li.nav-item:hover,
.sidebar .categories ul.nav li.nav-item:has(div.info.active)
{
    background-color: #ffffff10;
}

.sidebar .categories ul.nav li.nav-item div.info {
    padding: 10px 20px;
    width: 100%;
}

.sidebar .categories ul.nav li.nav-item {
    margin-bottom: unset;
    padding-bottom: unset;
    width: 100%;
}

.txt-bloc {
    font-size: 16px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.txt-bloc.no-margin {
    margin: 0px !important;
}

.txt-bloc.no-top-margin {
    margin-top: 0px !important;
}

.txt-bloc p {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    color: #afadad;
}

.txt-bloc.black {
    color: #2d2e30;
}

.txt-bloc p a {
    color: #2d2e30;
}

.txt-bloc p a:hover {
    color: #dba547;
    /* text-decoration: underline; */
}

.txt-bloc.bold p {
    font-weight: 600;
}

.txt-bloc.white {
    color: #fff;
}

.txt-bloc.show-first-p p:not(:first-of-type) {
    display: none !important;
}

.txt-bloc.center {
    text-align: center;
}

.txt-bloc.no-padding p {
    padding: 0px !important;
}

.txt-bloc ul li {
    list-style: disc;
}

.txt-bloc ul li.ql-indent-1 {
    list-style: square;
    margin-left: 30px;
}

.txt-bloc ul {
    padding-left: 30px;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.alert-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1050;
}

.alert-container .alert {
    display: inline-block;
    margin: 1px;
    padding: 8px 110px;
}

.alert-dismissible button.close {
    position: absolute;
    right: 7px;
    font-size: 1.5rem;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background-color: transparent;
    border: 0;
}

.close:not(:disabled):not(.disabled):hover {
    opacity: .75;
    color: #000;
    text-decoration: none;
}

.hand {
    cursor: pointer;
}

.fancybox__slide.has-inline .fancybox__content, .fancybox__slide.has-error .fancybox__content {
    padding: 0px !important;
    min-width: 400px;
    min-height: 400px;
}

.fancybox__slide.has-inline .fancybox__content iframe, .fancybox__slide.has-error .fancybox__content iframe {
    min-width: 400px;
    min-height: 400px;
}

.actualite-size {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
