body.model-17 {
    background: url(/images/backgrounds/model-17-body.jpg) repeat;
}
#all-wrapper {
    margin: 0 auto;
    width: 1200px;
}

.model-17 .flags-wrapper {
    float: none;
    position: absolute !important;
    right: 0;
    top: 0;
}

.model-17 #header-with-menu-wrapper {
    background: url(/images/backgrounds-2000xmaxs/justice-justice2-2000xmax.jpg) top center repeat;
    background-size: 100%;
    height: 748px;
    margin: 30px 0 15px;
    overflow: hidden;
    padding: 25px;
    position: relative;
    width: 1150px;
}
#header-with-menu-wrapper:before {
    background: url(/images/elements/gradient-x-gray-to-transparent-w400.png) repeat-y;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 400px;
}
#header-with-menu-wrapper:after {
    background: url(/images/elements/gradient-bottomright-743x767.png) no-repeat;
    bottom: 0;
    content: "";
    display: block;
    height: 767px;
    position: absolute;
    right: 0;
    width: 743px;
}
#header-with-menu-wrapper > * {
    position: relative;
    z-index: 1;
}
#header-with-menu-wrapper .reseaux-wrapper {
    position: absolute;
    right: -5px;
    top: 30px;
}
.editmode #header-with-menu-wrapper .reseaux-wrapper {
    top: 40px;
}
#header-with-menu-wrapper .tooltip {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
}

#header-logo {
    margin-bottom: 30px;
    width: 300px;
}
#header-with-menu-wrapper h1 {
    border: 4px solid white;
    border-left: none;
    border-right: none;
    font-family: Oswald;
    margin: 0;
    padding: 4px 0;
    width: 300px;
}
#header-with-menu-wrapper h1,
#header-with-menu-wrapper h1 a,
#header-with-menu-wrapper h1 textarea {
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}
#header-with-menu-wrapper h1 textarea {
    font-size: 24px;
}
#header-with-menu-wrapper h2 {
    bottom: 35px;
    margin: 0;
    position: absolute;
    right: 35px;
}
#header-with-menu-wrapper h2,
#header-with-menu-wrapper h2 textarea {
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: bold;
    text-align: right;
    width: 500px;
}

#menu-wrapper {
    width: 300px;
}
.model-17 #menu-wrapper {
    background: transparent;
    box-shadow: none;
}
#menu {
    border-bottom: 4px solid white;
    width: auto;
}
#menu li {
    float: none;
}
#menu li a {
    color: white;
    font-family: Oswald;
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
}
#menu li a:hover {
    text-decoration: underline;
}
#menu li li a {
    font-size: 12px;
}
#menu li ul {
    background: transparent;
    border: none;
    box-shadow: none;
    /*display: block;*/
    height: auto;
    filter: none;
    margin: 0 0 0 20px;
    padding: 0;
    opacity: 1;
    position: relative;
    z-index: 200;
}
#menu li.active ul {
    display: block;
}
#menu li li a {
    border-bottom: none;
    color: white;
    font-size: 16px;
    text-transform: none;
}
#menu li li a:hover {
    background: transparent;
}

#corps {
    width: 100%;
}
#content {
    float: none;
}

/* ======== Accueil ======== */
.tile {
    float: left;
    font-family: 'Open Sans', sans-serif;
    height: 205px;
    margin: 0 15px 15px 0;
    padding: 10px 15px;
    overflow: hidden;
    width: 235px;
}
.tile,
.tile textarea {
    font-size: 13px;
}
.tile.image {
    height: 225px;
    padding: 0;
    width: 225px;
}
.tile.last {
    margin-right: 0;
}
.tile > div {
    line-height: 1.2em;
}
#all .tile h2 {
    font-family: Oswald;
    margin: 0 0 12px;
}
#all .tile h2,
#all .tile h2 textarea {
    color: #3c3c3c;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}
#all .tile-1-1 h2,
#all .tile-1-1 h2 textarea,
#all .tile-1-3 h2,
#all .tile-1-3 h2 textarea,
#all .tile-3-2 h2,
#all .tile-3-2 h2 textarea {
    color: white;
}

.tile-1-1 {
    background: #000;
}
.tile-1-1,
.tile-1-1 a,
.tile-1-1 textarea {
    color: white;
}
.tile-1-3 {
    width: 435px;
}
.tile-2-2,
.tile-2-4,
.tile-3-1,
.tile-3-4 {
    background: #eee;
}
.tile.tile-2-1 {
    width: 440px;
}
.tile-2-1 img {
    height: 225px;
}
.accueil .tile-2-3 img {
    height: 225px;
    width: 225px;
}
.tile-2-4 {
    width: 195px;
}
.tile-2-4,
.tile-2-4 textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    text-align: center;
}
.tile-3-2 .tel {
    font-size: 24px;
    font-weight: bold;
    line-height: 1em;
}
.tile.tile-3-3 {
    width: 400px;
}
.tile.tile-3-4 {
    width: 195px;
}

#accueil-carrousel-promo {
    margin: 0;
    width: 440px;
}
.marquee_container {
    height: 225px;
}
.marquee_photo {
    border-radius: 0;
}

/* footer */
#footer {
    border-top: 4px solid white;
    margin-top: 15px;
    padding: 15px 0 40px;
    text-align: right;
    width: 100%;
}
#footer,
#footer a,
#footer textarea {
    color: white;
}
#footer-content > a {
    border-left: 1px solid white;
    display: inline-block;
    margin-left: 5px;
    padding-left: 5px;
}
#footer a.backlink {
    border: none;
    margin: 0;
    padding: 0;
}

/* ======== Pages de contenu ======== */
.nonaccueil #corps-wrapper {
    background: #eee;
    float: left;
    margin-right: 15px;
    min-height: 685px;
    padding: 10px 20px;
    width: 680px;
}
.nonaccueil #corps-wrapper .content-header {
    font-family: Oswald;
    margin: 0;
}
.content-header span {
    font-size: 24px;
    margin: 0 0 1em;
}
.nonaccueil #corps-wrapper .content-header,
.nonaccueil #corps-wrapper .content-header textarea {
    font-size: 24px;
    font-weight: bold;
}
#overfooter-wrapper {
    float: left;
    width: 465px;
}
#overfooter-wrapper .tile-1-3 {
    width: 435px;
}
#overfooter-wrapper .tile-3-4 {
    width: 195px;
}

/* ==== Cabinet ==== */
.withcollabs {
    float: none;
}
#collabsWrapper {
    display: none;
}

/* ==== Plan d'acces ==== */
.model-17.layout-4 #header-with-menu-wrapper {
    background-image: none;
}
#header-with-menu-wrapper .googlemap-iframe {
    left: 0;
    position: absolute;
    top: 0;
    z-index: -1;
}
#header-with-menu-wrapper .googlemap-voircarte {
    background: #000;
    bottom: 0;
    color: white;
    padding: 5px 10px;
    position: absolute;
    right: 0;
}
.layout-4 #header-with-menu-wrapper h2 {
    display: none;
}
.layout-4 #corps-wrapper {
    background: transparent;
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.tile-3-3-accessplan img {
    height: 225px;
    width: 640px;
}

/* ======== Télphone ======== */
@media
(max-width: 1000px),
screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
    #all-wrapper {
        padding: 20px;
        width: calc(100% - 40px);
    }
    .model-17 #header-with-menu-wrapper {
        height: auto;
        margin-top: 0;
        padding: 20px 2%;
        width: 96%;
    }
    #header-with-menu-wrapper:before {
        display: none;
    }
    #header-logo {
        width: 50%;
    }
    #header-with-menu-wrapper .reseaux-wrapper {
        display: none;
    }
    #header-with-menu-wrapper h1 {
        width: 50%;
    }
    #header-with-menu-wrapper h1,
    #header-with-menu-wrapper h1 a {
        font-size: 22px;
    }
    #header-with-menu-wrapper h2 {
        font-size: 18px;
        width: calc(45% - 35px);
    }
    
    #menu-toggle {
        display: block;
        font-size: 30px;
        font-weight: bold;
        margin: 0;
        padding: 20px 0;
        width: 100%;
    }
    #menu-toggle .text {
        display: inline;
        margin-right: 5px;
        text-transform: uppercase;
    }
    #menu-toggle .glyphicon {
        font-size: 26px;
    }
    #menu-wrapper {
        display: none;
    }
    
    #header-with-menu-wrapper h2 {
        margin: 0;
        text-align: left;
        font-size: 32px;
        position: static;
        width: 100%;
    }
    
    #menu-wrapper {
        width: 100%;
    }
    #menu li a{
        text-align: center;
    }
    
    /* accueil */
    .tile {
        height: auto;
        padding-bottom: 15px;
    }
    .tile-1-1 {
        float: none;
        width: calc(100% - 30px);
    }
    .tiles-line-1 .tile.image {
        display: none;
    }
    .tile-1-3 {
        float: none;
        width: calc(100% - 30px);
    }
    .tile.tile-2-1 {
        display: none;
    }
    .tile-2-2 {
        float: none;
        width: calc(100% - 30px);
    }
    .tile.tile-2-3 {
        margin: 0 2% 15px 0;
        width: 49%;
    }
    .tile-2-4 {
        height: 200px;
        margin: 0 0 15px 0;
        width: calc(49% - 30px);
    }
    .tile-3-1 {
        height: 150px;
        margin: 0 2% 15px 0;
        width: calc(49% - 30px);
    }
    .tile-3-2 {
        height: 150px;
        margin: 0 0 15px 0;
        width: calc(49% - 30px);
    }
    .tile.tile-3-3 {
        float: none;
        width: 100%;
    }
    .tile.tile-3-4 {
        float: none;
        width: calc(100% - 30px);
    }
    
    /* page contenu */
    .nonaccueil #anchor-top-contentpage {
        display: none;
    }
    .nonaccueil #corps-wrapper {
        float: none;
        margin: 0 0 15px 0;
        min-height: inherit;
        width: calc(100% - 40px);
    }
    #overfooter-wrapper {
        float: none;
        width: 100%;
    }
    #overfooter-wrapper .tile-1-3 {
        width: calc(100% - 30px);
    }
    #overfooter-wrapper .tile-3-4 {
        width: calc(100% - 30px);
    }
    .nonaccueil #content h1 .miniature {
        display: none;
    }
    
    /* contact */
    .contact-form {
        width: 100%;
    }
    
}