/*******************************************************************************
Ecrans Larges
*******************************************************************************/
@media (min-width: 1200px) {
    #page_title {
        top:0px;
    }
}
/*******************************************************************************

*******************************************************************************/
@media (max-width: 1020px) {
    #conteneur,header {
        width:95%;
    }

    #head_news_cont {
        right: 20px;
    }

    header img.logo{
        display:none;
    }

    #conteneur {
        -moz-box-shadow: 5px 5px 10px 0px #656565;
        -webkit-box-shadow: 5px 5px 10px 0px #656565;
        -o-box-shadow: 5px 5px 10px 0px #656565;
        box-shadow: 5px 5px 10px 0px #656565;
        filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=10);
    }
}


/*******************************************************************************
Tablettes
*******************************************************************************/
@media (max-width: 979px) {
    .agenda-bloc {
        float: none;
        width:auto;
    }
    #conteneur,header, footer{
        width:100%;
    }
    #conteneur{
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        -o-box-shadow: none;
        box-shadow: none;
        filter:none;
        -moz-border-radius:  0;
        -webkit-border-radius:  0;
        border-radius: 0;
        padding:0 ;

    }
    .navbar .brand{
        display:inline;
    }
    #menu .navbar .btn-navbar {
        display: none;
    }
    .navbar .nav > li {
        display:inline-block;
    }
    #menu .nav > li > a, #menu .nav > li > a:active, #menu .nav > li > a:focus, #menu .nav > li > a:visited, #menu .nav > li > a:link  {
        font-size: 15px;
        text-shadow: none;
    }
    .navbar .nav > li > a {
        padding: 10px 10px 10px;
    }
    #menu .nav-collapse .nav {
        margin: 0;
    }


    #wrap {
        padding:245px 10px 0 20px
    }
    #sidebar, #actus-liste {
        top:245px;
    }

    .actu-comments {
        margin-right: -120px;
    }
    .actu-detail blockquote, .actu-detail .message {
        margin-left: 20px;
    }

    #wrap footer p {
        padding: 0 15px;
    }


    .actu-bloc p {
        padding-right: 5px;
    }
}


/*******************************************************************************
Téléphone paysage
*******************************************************************************/
@media (max-width: 767px) {
    body {
        padding-right: 0;
        padding-left: 0;
    }
    #conteneur{
        padding:0;
    }
    #page_title h1 .subtitle {
        height: 15px;
        line-height: 15px;
        font-size: 15px;
        padding-left: 10px;
    }
    #page_title {
        top:20px;
    }
    #page_title h1 {
        background-image:none;
        padding-left: 0;
        height: 20px;
        line-height: 20px;
        font-size: 20px;
    }

    #sidebar, #actus-liste {
        top:201px;
    }
    #sidebar, #actus-search {
        position:static;
        display:block;
        float:none;
        width:90%;
        margin:0 auto;
    }
    #contenu, #contenu.actus {
        margin: 20px auto 0 auto;
        padding: 5px 10px 0 0px;
    }
    #installations-carousel {
        min-height: 0!important;
    }
    .left-content ul {
        margin: 0 0 10px 10px;
    }


    .actu-detail .thumbs_right {
        position: static;
        text-align: center;
    }
    .actu-detail .thumbs_right img {
        display: inline;

    }
    .actu-detail .thumbs_top {
        text-align: center;
    }
    .actu-detail {
        position: relative;
        padding-right: 0;
        min-height: 0;
    }
    .actu-comments {
        margin-right: 0px;
    }

    #sidebar.actus-liste {
        margin:0;
        width:100%;
    }

    .actus-liste ul {
        margin-left:0;
        text-align:center;
    }
    .actus-liste ul li{
        display:inline-block;
        margin:5px 10px;
        padding:4px;
        background-color:rgba(247,247,247,0.8);
        border-radius:10px;
    }
    .actu-bloc-photo.left .add-comment, .actu-bloc-photo.left p {
        padding-left: 0px;
    }
    .actu-bloc-comment .pseudo {

        margin-left: 0px;
    }

    #head_news_cont {
        right: 10px;
    }
    #head_news_cont a, #head_news_cont a:visited, #head_news_cont a:focus, #head_news_cont a:hover {
        font-size:12px;
    }
}

@media (max-width: 559px) {
    #page_title {
        border: none;
        position: absolute;
        left: 10px;
        top: auto;
        bottom:0px;
        background-color:rgba(247,247,247, 0.5);
        margin:0;
        padding:5px 0;
        height:30%;
        width:100%;

    }
    #menu .brand {
        display: none;
    }
    #wrap {
        padding:115px 5px 0 10px
    }
    header {
        top: -68px;
    }
    #actus-search p, #actus-search .input-prepend {
        width: 200px;
    }
}
/*******************************************************************************
Téléphone
*******************************************************************************/
@media (max-width: 480px) {
    #wrap {
        padding: 115px 0px 0 0px;
    }
    .hidden-xs{
        display:none;
    }
    #menu.navbar .nav > li {
        display:block;
    }
    #menu.navbar .nav > li a{        
        padding:0;
    }
    .prestation {
        padding-left: 0px;
    }

    .actu-bloc-images {
        float: none;
        margin: 0 5px 5px 0;
        height: auto;
        min-width: 0;
    }
    .carousel {
        margin-bottom: 0px;
    }
    .actu-bloc p {
        padding-right: 5px;
    }
    .acces-carte a {
        display:block;
        margin:0 auto;
    }

    .social {
        text-align: right;
        height: auto;
        line-height: normal;
        min-width: 0;
        float: none;
    }

    .social-btn {
        margin-left: 1px;
    }
    .social.highlight-bloc {
        margin-left:5px;
        margin-right:-5px;
    }

    .add-comment form .form-elements{
        visibility: visible;
        display:none;
    }
.add-comment form.editing .form-elements{
    display:block;
}

}


@media (max-height: 400px) {
    header {
        top:0;
        min-height:0;
    }
    #banner {
        display:none;
    }
    #menu.navbar .btn-navbar {
        padding: 0px 10px;
    }
    #menu.navbar .btn-navbar hr{
        display:none;
    }
    #menu .navbar-inner {
        min-height: 0px;
    }
    #menu.navbar .brand {
        padding:5px;
    }

    #wrap {
        padding: 50px 5px 0 10px;
    }
    img.left, img.right {
        max-width: 95%;
    }

    #actus-search .input-prepend input {
        width: 145px;
    }
    #installations-carousel img {
        max-height: 270px;
    }
    .hidden-xs{
        display:none;
    }
}



