.nav-button { display: none; } /* hide the navigation button by default */



@media only screen and (min-width: 0px) and (max-width: 767px) {
    /*
    #logo_header_small{
        padding:0px 0px 40px 0px;
    }
    */
}


@media only screen and (min-width: 0px) and (max-width: 992px) {

    body{
        /*background-image:url(none);
        background-color:#627288;*/
    }

    #bloc_header_logo_nav{
		height:175px;
	}

    #logo_header_small{
        /*padding:80px 0px 40px 0px;*/
        box-shadow: 0px 0px !important;
    }
    #logo_header_small img{
        max-width:350px;
        box-shadow:none !important;
        background-color:transparent !important;
        position:relative;
        z-index:1000;
        width:350px;
        max-width:100%;
    }


    /* Navigation Button
    -------------------------------------------------------- */

    #bloc_menu{
       position:absolute;
       top:0px;
       left:0px;
       width:100%;
       display:block;
    }


    .nav-button {
        display: block;
        position: absolute;
        top: 7px;
        left: 25px;
        width: 50px;
        height: 35px;
        background: url('../images/menu-icon-large.png'), -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background: url('../images/menu-icon-large.png'),    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background: url('../images/menu-icon-large.png'),     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background: url('../images/menu-icon-large.png'),      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 21px, 100%;
        cursor: pointer;
        border: 0 none;
        border-bottom: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 0 4px rgba(0,0,0,.7) inset;
        border-radius: 5px;
        z-index: 2999;
        text-indent: -9999px;
    }
    .nav-button:hover {
        background-color: rgba(0,0,0,.1);
    }
    .nav-button.open {
        background: url('../images/close-icon-large.png'), -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background: url('../images/close-icon-large.png'),    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background: url('../images/close-icon-large.png'),     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background: url('../images/close-icon-large.png'),      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 21px, 100%;
    }

    /* Navigation Bar
    -------------------------------------------------------- */



    .primary-nav {
        width: 100%;
        float: none;
        /*background-color: #7a94c7; *//* change the menu color */
        background-color: #376786;
        background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background-image:    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background-image:     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        background-image:      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        display: block;
        height: 50px;
        margin: 0;
        padding: 0;
        overflow: visible;
        box-shadow: 0 1px 2px rgba(0,0,0,.6);
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: 2000;
        clear: both;
    }
    .primary-nav li {
        display: none;
        width: 100%;
        z-index: 2998;
    }
    .primary-nav li a {
        display: block;
        width: 100%;
        padding: 10px 5%;
        font-size: 18px;
        font-weight: normal;
        text-shadow: -1px -1px 0 rgba(0,0,0,.15);
        color: white;
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,.2);
        border-top: 1px solid rgba(255,255,255,.1);
        position:relative;
        z-index: 1000;
    }
    .primary-nav li a:hover {
        background-color: rgba(0,0,0,.5);
        border-top-color: transparent;
    }
    .primary-nav > li:first-child {
        border-top: 1px solid rgba(0,0,0,.2);
    }

    /* Toggle the navigation bar open  */

    .primary-nav.open {
        height: auto;
        padding-top: 50px;
    }
    .primary-nav.open li {
        display: block;
        z-index: 2998;
    }

    /* Submenus – optional .parent class indicates dropdowns */

    .primary-nav > li:hover > a {
        background: rgba(0,0,0,.5);
        border-bottom-color: transparent;
    }
    .primary-nav li.parent > a:after {
        /*content: "&raquo;";*/
        color: rgba(255,255,255,.5);
        float: right;
    }
    .primary-nav li.parent > a:hover {
        background: rgba(0,0,0,.75);
    }
    .primary-nav li ul {
        display: none;
        background: rgba(0,0,0,.5);
        border-top: 0 none;
        padding: 0;
    }
    .primary-nav li ul a {
        border: 0 none;
        font-size: 16px;
        padding: 10px 5%;
        font-weight: normal;
    }
    .primary-nav li:hover ul {
        display: block;
        border-top: 0 none;
    }

    .primary-nav li  ul li {
        padding-left:30px;
    }


    #diaporama{
        padding-top: 49.28%;
    }

    #diaporama .caption{
        /*padding: 10px 15px;*/
        /*display:none;*/
    }
} /* End Mobile Styles */
