h1{
    padding: 40px 0px 9px 0px;
    border-bottom: 1px solid #eee;
}

.navbar-expand-lg {
    padding:0px;
    height:55px;
    line-height: 14px;
}

.navbar-brand {
    padding:0px;
}
.navbar-brand img {
    height:55px;
}

.navbar-toggler {
    margin-left: auto;
}

.nav a{
    background: none;
    color: #CFD8DC;
    font-size: 14px;
    padding: 5px;
    display: block;
}

.navbar-right {
    padding-right:10px;
}

.page-maxed {
    max-width:1200px;
    margin:auto !important;
}

@media (max-width: 980px) {
    .child-content, .child-content h3 {
        font-size: 150%;
    }
    .navbar-expand-lg {
        height:80px;
    }

    .navbar-brand img {
        height: 80px;
    }

    .navbar-expand-lg .navbar-nav a {
        padding: 20px;
        margin: 20px 0px 10px;
        font-size: 28px !important;
    }

    .navbar-toggler {
        font-size:200%;
    }

    .navbar-right .avatar {
        margin:0px;
        width:45px;
        height:45px;
    }

    .navbar-right i {
        zoom:150%;
    }
}


@media (max-width: 850px) {
    .navbar-toggler {
        position: absolute;
        right: -5px;
    }

    .navbar-right {
        display:none;
    }
}

/* Sidebar Styles */
.contentsidebar {
    margin-left:250px;
}

#sidebar {
    z-index: 1000;
    position: fixed;
    left: 0px;
    width: 250px;
    height: 100%;
    overflow-y: auto;
    background: #37474F;
}

#sidebar header {
    background-color: #263238;
    font-size: 20px;
    line-height: 52px;
    text-align: center;
}

#sidebar header a {
    color: #fff;
    display: block;
    text-decoration: none;
}

#sidebar header a:hover {
    color: #fff;
}

#sidebar .nav{
    display: block;
    margin: 0px 10px;
}

#sidebar .nav a {
    padding: 0px 10px 5px 10px;
}

#sidebar .nav .last{
    border-bottom: 1px solid #455A64;
    padding-bottom:5px;
    margin-bottom: 10px;
}

#sidebar .title {
    color: #CFD8DC;
    font-size: 16px;
    padding: 0px 10px 0px 10px;
    display: block;            
    text-transform: uppercase;
    margin-left: 0px !important;
    font-weight: bold;
}

#sidebar .nav .last{
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
}

#sidebar .nav a:hover{
    background: none;
    color: #ECEFF1;
}

#sidebar .nav a i{
    margin-right: 5px;
    width: 20px;
    text-align: center;    
}

#sidebar .nav .select-control {
    padding: 0px 10px 5px 10px;
    margin-top: -12px;
}

.avatar {
    background-color: #343a40;
    width: 35px;
    height: 35px;
    border-radius: 100%;
    margin-top: -5px;
}

.avatar.big{
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .contentsidebar { 
        margin-left: auto;
    }
    
    #sidebar {
        position: static;
        margin:0px -15px;
        width: auto;
    }
} 

.page-header {
    text-transform: uppercase;    
}

a.btn {
    color:#ffffff;
}

.btn-link {
    padding:0px;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: none;
}


.media-body p {
    font-size :12px;
    margin-bottom:0px;
}

@media (min-width: 992px) {
    #sidebar {
        display: block;
    }
}   


.sectionheader {
    margin-top:55px;
}
@media (max-width: 991px) {
    .sectionheader {
        margin-top:80px;
    }
} 

th.dt-center, td.dt-center { text-align: center; }

.select2-container .select2-selection--single {
    height:38px;
}

/* footer */
footer {
    padding:15px;
    margin-top:300px;
    min-height:300px;
    text-align: center;
}

.footer-adress {
    margin-top:20px;
    font-size:80%;
}

.footer-partner {
    margin-top:90px;
}

.footer-partner-lien {
    opacity: 0.6;
}

.footer-partner-lien:hover {
    opacity: 1;
}

.footer-partner-lien img{
    height:70px;
    margin-bottom:5px;
}

.footer-mentions {
    margin-top:15px;
}

/* heros */
.heroheader {
    width:100%;
    height:300px;
    min-height:250px;
    max-height:400px;
}
.heroheader div{
    width:100%;
    height:100%;
    background-size: cover;
    background-position: center;
    color:#fff;
    text-align: left;
}

.heroheader h1{
    border:none;
    font-size: 60px;
    line-height: 50px;
    margin-top:30px;
    color: var(--colorfttitledark);
    text-shadow: 1px 1px 2px black
}

.heroheader h1 small{
    font-size:50%;
}

.heroheader #separateur {
    position:relative;
    top: 50px;
}

.heroheader #herotitle {
    padding-left:150px;
    height:auto;
}

.heroheader .herocredit {
    height:auto;
}

.heroheader a {
    z-index: 1000000;
}


/*== HEROHEADER DOTS ================================================================================================================================ */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots {
    position: absolute;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}

.slick-dotted.slick-slider{margin-bottom:0px;}

@media (max-width: 1024px) {
    .heroheader h1 {
        margin-top: 00px;
        font-size: 50px;
        line-height: 40px        
    }
    .heroheader #separateur {display:none}
}

@media (max-width: 980px) {
    .heroheader h1 { display:none}
    
    .herobox { display: none; }
    .herotitle { width:100%; top: 70px; left:0px; text-align:center; }
    .slick-dots { left: 0px; text-align: center; width: 100%; }
    .heromenu .facatmenu {display: none;}
    .catmenu { display:none }
    .linkmenu { display:none }
    .heroheader .btn-success { display:none}

    .herofloatmenu a {
        font-size: 40px;
    }

    .herofloatmenu .avatar {
        height: 40px;
        width:40px;
        margin-top:15px;
    }
}

/*== GRID ======================================================================================================================================= */


.gutter-sizer  { width: 0%;float:left; }

.grid-sizer {
    width: 5%;
    margin-bottom: 0%;
    float:left;
}

.grid-item {
    background-color:var(--colorbgbodydark);
    color: var(--colorfttitledark);
    overflow:hidden;
}

.grid-image {
    width:100%;
    transition: transform 0.3s;
}

.grid-item-title {
    background-color:var(--colorbgbodydark);
    color: var(--colorfttitledark);
    width:auto;
    padding:15px;
    text-align:center;
    margin:auto;
}


.grid-item-size-1 { width: 15% }
.grid-item-size-2 { width: 20% }
.grid-item-size-3 { width: 30% }
.grid-item-size-4 { width: 40% }
.grid-item-size-5 { width: 50% } 
.grid-item-full  { width: 100%;  margin-bottom: 0%; font-size:20px;float:left; }
.grid-item-full h1 {margin: 0; border:none; padding: 20px 0px 0px 10px; }

.grid-tag {font-style:italic}
.grid-image {cursor: pointer;}

@media (max-width: 980px) {
    .grid-item-size-1 { width: 30% }
    .grid-item-size-2 { width: 50% }
    .grid-item-size-3 { width: 50% }
    .grid-item-size-4 { width: 50% }
    .grid-item-size-5 { width: 50% } 
}

/*== CHILD ======================================================================================================================================= */

.child-share {
    padding-top:15px;
}
.share-btn{
    margin-right:5px;
}

.share-btn img{
    height:30px;
}

.childsize-1 {
    zoom:80%;
}

.child-name {
    border-color: var(--colorbgbodydark);
    border-block-width: 3px;
}

.child-description h1, .child-description h2 {
    margin-top:30px;
}

.child-sidebar {
    color:  var(--colorfttitlelight);
}

.child-sidebar h3 {
    font-size:1.4rem;
}

.child-adress {
    word-break: break-all;
    font-size: 90%;
}
.child-adress a{
    margin-top:10px;
    display: block;
}

.tag {
    background-color: var(--colorbgbodylight);
    border-radius: 10px;
    padding:5px 10px;
    margin-bottom:5px;
    display:inline-block;
}

.linkurl a {
    background-color: var(--colorbgbodylight) ;
    color: var(--colorftbodylight)!important;
    font-size: 14px;
    padding: 5px;
    display: inline-block;
    margin: 0px 10px 10px 0px;
}

.contactdescription {
    max-width:300px;
    text-align:justify;
}