/*reset typo*/
/* Headings */
h1 {
  margin-bottom: 2rem; /* mb-8 */
}

h2 {
  margin-bottom: 1.5rem; /* mb-6 */ 
}

h3 {
  margin-bottom: 1rem; /* mb-4 */
}

h4 {
  margin-top: 1.5rem; /* mt-6 */
  margin-bottom: 0.75rem; /* mb-3 */
}

h5 {
  margin-top: 1.25rem; /* mt-5 */
  margin-bottom: 0.5rem; /* mb-2 */
}

h6 {
  margin-top: 1rem; /* mt-4 */
  margin-bottom: 0.5rem; /* mb-2 */
}

/* Paragraphes */
.myblock .text p {
  margin-bottom: 1rem; /* mb-4 */
}
.myblock .text li p {
  margin-bottom: .5rem; /* mb-4 */
}
.myblock .text p a {
	text-decoration:underline
}

/* Tailles titres */

/*:not(.page-index) h1 {
  font-size: 2.666rem; 
  line-height: 3rem;
}*/
h1 {
  font-size: 1.875rem; /* text-3xl - 30px */
  line-height: 2.25rem;
  font-weight: 600;
}

h2 {
  font-size: 1.5rem; /* text-2xl - 24px */
  line-height: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.25rem; /* text-xl - 20px */
  line-height: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.125rem; /* text-lg - 18px */
  line-height: 1.75rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem; /* text-base - 16px */
  line-height: 1.5rem;
  font-weight: 600;
}

h6 {
  font-size: 0.875rem; /* text-sm - 14px */
  line-height: 1.25rem;
  font-weight: 600;
}
/* Desktop (md and up) */
@media (min-width: 768px) {
 h1 {
  font-size: 2.666rem; 
  line-height: 3rem;
}
	.page-index h1 {
		line-height:3.2rem
	}
  h2 {
    font-size: 2.25rem; /* md:text-4xl - 36px */
    line-height: 2.5rem;
  }

  h3 {
    font-size: 1.875rem; /* md:text-3xl - 30px */
    line-height: 2.25rem;
  }

  h4 {
    font-size: 1.5rem; /* md:text-2xl - 24px */
    line-height: 2rem;
  }

  h5 {
    font-size: 1.25rem; /* md:text-xl - 20px */
    line-height: 1.75rem;
  }

  h6 {
    font-size: 1.125rem; /* md:text-lg - 18px */
    line-height: 1.75rem;
  }
}

.text > ul,
.text div[data-element_type="widget"] > ul {
	list-style-type: disc;
	padding:0 0 0 1rem
} 
#layout-footer .text > ul {
	list-style-type: none;
	padding:0 
} 
#layout-footer .text > ul li p a {
	text-decoration: none;
} 
#layout-footer .text > ul li p a:hover {
	text-decoration: underline;
} 
.bottom-copy {
	padding-top:2rem;
	padding-bottom:1rem
}
.bottom-copy a {
	font-size: 0.75rem;
	text-decoration:none !important
}
.bottom-copy a:hover {
	text-decoration:underline !important
}
.myblock_wrapper.pt-0 { padding-top:0}
.myblock_wrapper.pb-0 { padding-bottom:0}
.myblock_wrapper.p-0 { padding:0}

.testimonial.description:before,
.testimonial.description:after { opacity:.2}
.rating {
	display: flex; gap:4px; margin: 1rem 0
}
.slick-slide .rating {
	width:100%; justify-content: center
}
.rating i {
	display: block;
	width:24px; height: 24px;
	background: url(../star.svg) no-repeat center center;
}

.slick-prev, .slick-next {
	height: 48px;
    width: 48px;
}
.slick-prev:before, .slick-next:before {
	font-size: 32px;
}

#layout-nav{
    width:calc(100% - 3rem);
	left:1.5rem;
	border-bottom:1px solid rgba(255,255,255,.2);
	z-index: 11
}
.page-index #layout-nav{
	position:absolute
}
body:not(.page-index) div[data-type="hero"] {
	color:#fff;
	        padding-top: 6rem;
        padding-bottom: 3rem;
}
div[data-type="hero"]::after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}
.page-index div[data-type="hero"]::after {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.5));
}
div[data-type="hero"] > div {
	position: relative;
	z-index: 1
}

div[data-type="carousel_search"] > .myblock {
	padding:0;
	position: relative
}
div[data-type="carousel_search"] > .myblock .intro {
bottom:0;
	left:0;
     padding:0 1.5rem 4rem 1.5rem;
}

#layout-footer > div {
	padding-bottom:0
}

.myblock .btn.bg-white {
	background-color:#fff;
	color:rgb(var(--primary-color))
}
.myblock .btn.bg-white:hover {
	color:#fff
}

/* Hero animation */
[data-type="hero"] {
  overflow: hidden !important;
}

[data-type="hero"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  animation: heroZoom 14s linear infinite alternate;
  z-index: 0;
}

[data-type="hero"] .block-hero {
  position: relative;
  z-index: 1;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}
/* -- */

/* Blog */
.sidebar-cnt {
	background-color:#fff;
	border-left:1px solid #ccc;
	padding-top:0
}
.sidebar-cnt .sidebar .sidebar-search form .form-control-search {
	border:1px solid #ccc;
	justify-content: space-between
}
.sidebar-cnt .sidebar .sidebar-search form button {
	margin:0
}
.posts-list .post .banner,
.post-full .banner img {
	box-shadow: none;
	border-radius:0.25rem
}
.posts-list .post .body h2.title {
	margin-bottom:.65rem
} 
.page-blog .card-meta {
	margin-bottom:0.5rem
}
.sidebar-categories {
	margin-bottom:1.125rem !important
}
.page-blog .card-meta,
.page-blog .card-meta .categories ul li a,
.sidebar-cnt .sidebar .sidebar-categories ul li a{
	font-weight:600;
	    font-size: 0.78rem;
}
.posts-list .post .body .featured_text {
	padding-top:0
}
body.layout-blog {
    color: rgb(var(--primary-color));
}
.posts-list {
	flex-direction: column;
}
/* Tableau */
.layout-blog table {
    border-collapse: collapse;
    width: 100%;
	margin: 1rem 0 2rem
}
.layout-blog table td {
    border: 1px solid;
    padding: .5em;
}
.layout-blog tbody>tr:nth-child(odd)>td {
    background-color: hsla(0, 0%, 50.2%, .0705882353);
}
.sidebar-cnt .sidebar .sidebar-archives ul {
	list-style-type:none
}
.sidebar-cnt .sidebar .sidebar-archives ul li a {
	display:block;
	font-weight:600;
	    font-size: 0.78rem;
	padding:.5rem 0;
	border-bottom:1px solid #eee
}

.category-header .intro {
	margin-left: auto;
    margin-right: auto;
    max-width: 71rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 3rem;
}

@media (min-width:1024px){
	div[data-type="carousel_search"] > .myblock .intro {
		 padding:0 20rem 8rem 2rem;
	}
	.main-nav > div > a {
		transition: all ease .3s;
		position: relative;
	}
	.main-nav > div > a::after {
		content:'';
		display: block;
		position: absolute;
		bottom: 0; left: 0;
		opacity: 0;
		height: 1px;
		width: 0;
		transition: all ease .3s;
		background:rgba(14,68,98,.6)
	}
	.main-nav > div > a:hover {
		color:rgba(14,68,98,.6);
		background: none;
	}
	.main-nav > div > a:hover::after,
	.main-nav > div > a.current::after{
		opacity: 1;
		width: 100%;
	}
	.main-nav > div > a.current::after {
		background:rgba(14,68,98,1)
	}
	.page-index .main-nav > div > a::after {
		background:rgba(255,255,255,.6)
	}

	.page-index .main-nav > div > a:hover {
		color:rgba(255,255,255,.6);
	}
	.has-sub-dropdown > div {
		box-shadow: 0 5px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0) !important;
	}
	
	.main-nav > div .has-sub a {
		color:rgb(var(--primary-color));
		transition:all ease .1s;
	}
	.main-nav > div .has-sub a:hover {
		background-color:rgb(var(--primary-color));
		color:#fff
	}
	.main-nav > div .has-sub a.current {
		text-decoration:underline
	}
	 
}

.goto-index {
	margin-top: 2.25rem !important;
}