/***************************************************************
******   VERSION TABLETTE
***************************************************************/

@media (max-width: 979px) {
    ul#slide-list {
        text-align: right;
    }
    #slideSubtitlesContainer {
        width: 50%;
    }
    #content.accueil h3 {
        font-size: 23px;
    }
    .ressoc {
        text-align: center;
    }
    .ressoc a {
        margin-top: 16px;
    }
    #slider_plus_container {
        height: auto;
    }
    
    #footer_inner .menus_footer { width: 100%; }

}


/***************************************************************
******   VERSION MOBILE
***************************************************************/

@media (max-width: 768px) {
	#content table {
		width: 100% !important;
	}
	#fancybox-title { 
	    font-size: 15px !important;
	}
    .header .brand {
        margin: 0 auto;
    }
    .forceChariot{
        display: inline;
    }
    
    .ressoc a {
        margin-top: 0px;
    }
    .body header > .container { padding: 0; }
    
    .image_fond {
        height: 260px;
        background-size: cover;
    }
    
    .breadcrumb,
    .col_gauche { display: none !important; }
    
    #footer_inner {
        width: 100%;
    }
    #footer_inner .infos_gauche {
        width: 100%;
        text-align: center;
    }
    .item-161,
    .item-164,
    .item-174 {
        position: static !important;
    }
    
    /*** menu ***/
    header .header-inner { padding: 20px; }
    header .header-search { display: none; }
    #button_hamburger { display: block; }
    header .header_menu {
        display: none;
        position: absolute;
        padding-top: 38px;
        left: 0;
        top: 0;
        width: 100%;
        background: #A1806C;
        z-index: 5;
    }
    header .header_menu ul.menu { display: block; height: auto; background: none;}
    header .header_menu ul.menu li.parent:hover ul,
    header .header_menu ul.menu ul.nav-child { display: none; }
    
    header .header_menu ul.menu li { 
        width: 100%; 
        text-align: center;
        padding: 0;
    }
    header .header_menu ul.menu > li ul.nav-child
	header .header_menu ul.menu > li ul.nav-child a,
    header .header_menu ul.menu li a { 
        width: 90%;
        margin: 0 5%;
        border: 0 none;
        border-bottom: 1px solid white;
        padding: 12px 0px;
        font-size: 19px;
        height: auto;
    }
    header .header_menu ul.menu li:last-child a { 
        border-bottom: 0 none;
    }
    header ul.menu li.parent ul { background: none; position: static;}
    
    header ul.menu li.parent ul a:link, 
    header ul.menu li.parent ul a:visited, 
    header ul.menu li.parent ul a:hover, 
    header ul.menu li.parent ul a:active {
        display: block;
        padding: 12px 0px;
    }
    header ul.menu li.parent ul li:after {
        content: none;
    }
    header .header_menu ul.menu li:last-child a {
        border-bottom: 1px solid white;
    }
    
    /*** slider accueil ***/
    #controls-wrapper { display: none !important; }
    #slideSubtitlesContainer { width: 100%; }
    
    #slider_real .ns_slideImage {
        max-width: 100% !important;
        width: 100%; height: auto;
        float: none;
        margin-bottom: 12px;
    }
    #slider_real .ns_slideImage a, #slider_real .ns_slideImage img {
        position: inherit;
    }
    #slider_real .ns_slideTxt {
        width: 100%;
        padding-bottom: 20px;
    }
    
    
    /*** gallerie ***/
    .item-pagedoublecolphoto .gallery .pictures a.fancy,
    .gallery .pictures a.fancy {
        width: 100% !important;
        height: auto !important;
        
    }
    
    
    
    #chronoform-Contact .gcore-input {
        width: 100%;
    }
    
    
    /*** menu footer mobile ***/
    #footer #button_hamburger {
        display: block;
    }
    #footer_inner .menus_footer { width: 100%;}
    #footer_inner .menus_footer ul.menu { display: block; height: auto; background: none;}
    #footer_inner .menus_footer ul.menu li.parent:hover ul,
    #footer_inner .menus_footer ul.menu ul.nav-child { display: none; }
    
    #footer_inner .menus_footer ul.menu li { 
        width: 100%; 
        text-align: center;
        padding: 0;
    }
    #footer_inner .menus_footer ul.menu > li ul.nav-child
	#footer_inner .menus_footer ul.menu > li ul.nav-child a,
    #footer_inner .menus_footer ul.menu li a { 
        width: 90%;
        margin: 0 5%;
        border: 0 none;
        border-bottom: 1px solid white;
        padding: 12px 0px;
        font-size: 19px;
        height: auto;
    }
    #footer_inner .menus_footer ul.menu li:last-child a { 
        border-bottom: 0 none;
    }
    #footer_inner .menus_footer ul.menu > li:before { content:""; display: none; }
    #footer_inner .menus_footer li.parent ul { background: none; position: static;}
    
    #footer_inner .menus_footer li.parent ul a:link, 
    #footer_inner .menus_footer li.parent ul a:visited, 
    #footer_inner .menus_footer li.parent ul a:hover, 
    #footer_inner .menus_footer li.parent ul a:active {
        display: block;
        padding: 12px 0px;
    }
    #footer_inner .menus_footer li.parent ul li:after {
        content: none;
    }
    #footer_inner .menus_footer ul.menu li:last-child a {
        border-bottom: 1px solid white;
    }
    #footer_inner .menus_footer ul.menu > li > ul > li:before { content: ""; display: none;}
    #footer_inner .menus_footer ul.menu > li > ul > li > a { font-size: 14px; }
}
