body{
    font-family: 'Montserrat', sans-serif;
    color: #343839;
    font-size: 14px;
    font-weight: 400;
    line-height:24px;
}

.readmore{
border-radius:5px;
}

h1{
font-family: 'Dosis', sans-serif;
font-weight:700;  
}

h2,h3,h4,h5,h6{   
font-family: 'Dosis', sans-serif;
font-weight:400;  
}

.text-center p{text-align:center!important}

/********************************Menu******************************************/
nav li {padding: 0 8px;}
nav li a {
font-style: normal;
    line-height: 25px;
position:relative;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
padding: 3px 0 6px;
font-family: 'Montserrat', sans-serif;
}
nav ul.sub-menu li a {line-height: 25px;}

nav li a:after{
    content: '';
    position: absolute;
    bottom: -7px;
    height: 4px;
    width: 0;
    left: 0;
   background:transparent;
    transition: .3s;
}
nav li a:hover:after,nav li.current-menu-item a:after{      width: 100%;      background: #5dc2ca ;
 }
nav li:nth-child(2) a:hover:after,nav li.current-menu-item:nth-child(2) a:after{      width: 100%;      background: #ffba52 ;
 }
nav li:nth-child(3) a:hover:after,nav li.current-menu-item:nth-child(3) a:after{      width: 100%;      background: #a082d2 ;
 }
nav li:nth-child(4) a:hover:after,nav li.current-menu-item:nth-child(4) a:after{      width: 100%;      background: #eb6ea6 ;
 }
nav li:nth-child(5) a:hover:after,nav li.current-menu-item:nth-child(5) a:after{      width: 100%;      background: #ffba52 ;
 }
/*********************homepage*****************************/
.block-grey{
    border: 20px solid #bbbdb2!important;
}

.image-hover-text .content-image-hover-text {   
    height: calc(100% - 40px)!important;    
    padding: 10px!important;
    background-color: #5dc2cae6!important;
}

.image-hover-text .content-image-hover-text  {
opacity: 1;
top: 80%;
background-color:#f7f9f9d6!important;
}

.panel-layout .panel-grid:nth-child(1) .panel-grid-cell:nth-child(1) .image-hover-text .content-image-hover-text h3{ 
margin-top: -20%!important;
color:#333!important;
display:block;
}



.image-hover-text .content-image-hover-text h3{ 
margin-top: -40%;
color:#333!important;
display:block;
}


.image-hover-text .content-image-hover-text p{
display:none;
}

.image-hover-text:hover .content-image-hover-text{
background-color:#5dc2cae6!important;
top: 20px!important;
width: calc(100% - 40px)!important;
    height: calc(100% - 40px)!important;
    left: 20px!important;
    padding: 10px!important;    
padding-left:10%!important;
padding-right:10%!important;
}

.image-hover-text:hover .content-image-hover-text h3{
display:none;
}

.panel-layout .panel-grid:nth-child(1) .panel-grid-cell:nth-child(1) .image-hover-text:hover .content-image-hover-text h3{ 
display:none;
}

.image-hover-text:hover .content-image-hover-text p{
display:block;
}

.decoration .decoration-inside{
opacity: 0.2;
}

/*******************Page interne********************************/
.archive h2 {
        font-weight: 700;
}
.single .related {
    color: #111;
}
.thumb-cover {
    margin-bottom: 0!important;
}
.archive h1, .single h1 {
    position: relative;
    font-size: 40px;
    font-weight: 600;
    text-shadow: 0px 2px 8px rgba(0,0,0,0.35);
}

.service_left .content h3{
font-size: 24px;
}
.subheader {
    padding: 290px 0 50px;
}
.post-loop {
    margin-bottom: 30px;
}
.post-content-loop {
    box-shadow: 0 30px 100px 0 rgba(221, 224, 231, 0.5);
    background: #fff;
    padding: 30px 30px 30px;
}
.archive .readmore {
    padding: 10px 20px 10px 20px;
    letter-spacing: 0.3px;
    position: relative;
    font-size: 12px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.archive .readmore {
    padding: 10px 20px 10px 20px;
    letter-spacing: 0.3px;
    position: relative;
    font-size: 12px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blog-post-content h2{
font-weight:700;
}

.related{
font-weight:500;
}

.blog-post-content p:first-of-type::first-letter { 
font-size: 30px;
    height: 55px;
    line-height: 22px;
    padding: 15px;
    width: 55px;
    font-weight: 500;
    margin-top: 5px;
color:#fff;
    float: left;
margin: 0 20px 0 0;
    text-align: center;
}
.widget_sidebar {
    margin-bottom: 50px;
    background: #fff;
    -webkit-box-shadow: 0 15px 76px 0 rgba(0,0,0,.1);
    box-shadow: 0 15px 76px 0 rgba(0,0,0,.1);
    box-sizing: border-box;
    padding: 25px 20px 20px;
}
.widget_sidebar .sidebar-widget:after, .widget_sidebar .sidebar-widget:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 0;
}
.widget_sidebar .sidebar-widget {
    margin-bottom: 1em;
    color: #111;
    text-align: left;
    position: relative;
    padding-bottom: 1em;
    font-weight: 500;
}
.widget_sidebar .sidebar-widget:before {
    width: 100%;
    border-bottom: 1px solid #ececec;
}
.widget_sidebar .sidebar-widget:after {
    width: 50px;
    border-bottom: 1px solid #ffba52;
}
.single .post-data {
    padding: 30px;
    background: #fff;
    -webkit-box-shadow: 0 15px 76px 0 rgba(0,0,0,.06);
    box-shadow: 0 15px 76px 0 rgba(0,0,0,.06);
    margin-bottom: 50px;
}
footer {
   position: relative;
padding: 40px 0 20px;
}

footer .footer-widget{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.8em;
    letter-spacing: 0.4px;
position:relative;
margin-bottom:25px;
color:#000;
}
footer .footer-widget:after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 25px;
    border-bottom: 2px solid #58b3e1;
}
.widget_footer .textwidget p{
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8em;
    letter-spacing: 0.4px;
}
#back_to_top{
padding: 0px 8px 0px;
   margin-right: 1%;
   display: block;
   vertical-align: top;
   color: #5dc2ca;
   text-align: center;
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/********************************responsive************************************/
@media only screen and (max-width: 1700px) {
.block-grey {
    padding: 12% 4% 4% 4%!important;
}
}

@media only screen and (max-width: 1400px) {
.block-1-pad{
    padding: 30% 10% 30% 10%;
}

.block-au-bord h3:before{
left: 7%;
}
.block-au-bord h3:after{
right: 7%;
}

.block-1-with-backgrounds .panel-grid-cell:nth-child(3) {
width:34%!important;
}
}



@media only screen and (max-width: 1024px) {
.block-au-bord h3:before{
left: 0%;
}
.block-au-bord h3:after{
right: 0%;
}

}

@media only screen and (max-width: 900px) {
.block-5 .so-widget-image-hover-text:before, .block-gris:before, .block-au-bord h3:before, .block-au-bord h3:after{
display:none;
}

.block-de-4-gris .panel-grid-cell:nth-child(1) .panel-cell-style{
margin-right: 0%!important;
    position: absolute!important;
    margin-left: -10%!important;
    margin-top: -10%!important;
}

.special p {
   font-size: 14px;
   letter-spacing: 0;
}
.home h1 {
    line-height: 25px !important;
    font-size: 20px !important;
}
.home h2 {
    line-height: 21px !important;
    font-size: 19px !important;
}
.home h3 {
    line-height: 22px !important;
    font-size: 22px !important;
}
dl, ol, ul {padding-left: 0;}
.single .post-data {padding: 30px;}
.sidebar {margin-top: 0; padding-top: 0;}
.navbar-collapse{margin-top: 2em;
background: transparent;}
.menu-bars { background:#5dc2ca;}
.scrolling-down .navbar-collapse{background: transparent;}
nav li a {line-height: 40px;}
.single .related { width: 100%;}
.post-inloop .col-md-7 {
    padding-left: 0;
}

.tp-leftarrow, .tp-rightarrow {
top: 70%!important;
}

.block-de-trois-icones .panel-first-child{
top: -40px;
}

.widget_footer {
    margin-top: 2em;
}
.space{height:30px!important;}
}