#all-wrapper {
    padding-top: 20px;
}
#all {
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 0 10px #888;
    margin: 0 auto;
    padding: 20px 20px 0;
    width: 960px;
}

.model-1 #header {
    width: 100%;
}
#header-wrapper {
    background: white;
}
#header-content {
    
}
.model-1 .header-gradient {
    filter: none;
    -ms-filter: none;
}
#header-content h1, #header-content h1 textarea,
#header-content .h1, #header-content .h1 textarea {
    font-size: 24px; font-weight: bold;
    margin: 0 0 10px;
}
#header-content h2, #header-content h2 textarea,
#header-content .h2, #header-content .h2 textarea {
    font-size: 16px; font-weight: normal;
    margin: 0 0 4px;
}
#header-content h3, #header-content h3 textarea,
#header-content .h3, #header-content .h3 textarea {
    font-size: 12px; font-weight: normal;
    margin: 0 0 12px;
}

#header .reseaux-wrapper {
    top: -8px;
}

/* menu */
.model-1 #menu-wrapper {
    background: white;
    box-shadow: none;
    height: 40px;
    margin: 25px 0;
    position: relative;
}
#menu {
    /*margin-left: 230px;*/
    position: absolute;
    right: 0px;
    width: auto;
}
#menu li.first a {
    border-radius: 8px 0 0 8px;
    padding: 8px 4px;
}
#menu li.first a .text {
    display: none;
}
#menu li a {
    font-size: 15px; font-weight: normal;
    /*padding: 11px 20px;*/
    padding: 11px 12px;
}
.model-1 #menu li.last a {
    border-radius: 0 8px 8px 0;
    color: white;
}
.model-1 #menu li {
    background: #f0f0f0;
}
.model-1 #menu li a {
    border-right: 1px solid #cacaca;
    color: gray;
    text-shadow: none;
}
.model-1 #menu > li.active > a {
    font-weight: bold;
    padding: 11px 20px 10px;
}
#menu > li:hover > a {
    color: white;
}
.model-1 #menu li li {
    background: white;
    font-weight: normal;
}

/* contenu */
#corps {
    margin-bottom: 20px;
    width: 960px;
}
#corps-wrapper {
    /*padding: 15px 0;*/
}
.model-1 #corps-wrapper {
    background: white;
}

#accueil-carrousel-promo {
    margin: 15px 0;
    width: 960px;
}
.marquee_container {
    height: 300px;
}
.marquee_photos_wrapper {
    left: 460px;
}
.marquee_photo {
    border-radius: 0;
}
.marquee_texte {
    border-radius: 0;
    left: 0;
    height: 260px;
    top: 0;
    padding: 20px;
    width: 420px;
}
.marquee_texte .titre {
    font-size: 22px; font-weight: bold;
    line-height: 1.5em;
}
.marquee_texte .texte {
    font-size: 14px;
    line-height: 1.5em;
}
.marquee_nav {
    left: 15px;
}

/* footer */
#footer-wrapper {
    background: #f0f0f0;
    margin-left: -20px;
    padding: 20px;
    width: 960px;
}
#footer-wrapper, #footer-wrapper a, #footer-wrapper textarea {
    color: gray;
}
#footer {
    width: auto;
}

/* accueil */
.model-1 .sidebar .titre, .model-1 .sidebar .nom {
    text-align: left;
}
#accueil-col-2 {
    float: left;
    margin-right: 20px;
    width: 500px;
}
#accueil-col-2 .titre, #accueil-col-2 .titre textarea {
    font-size: 14px;
    font-weight: bold;
}
.image-zen-wrapper {
    margin: 10px 0;
}
#accueil-col-3 {
    float: left;
    margin: 0;
    padding: 0;
    width: 200px;
}
#accueil-col-3 a .lien-publications {
    display: inline;
}
#accueil-col-3 textarea.lien-publications {
    display: inline;
    width: 175px;
}

/* contenu */
.nonaccueil #content {
    width: 720px;
}
.withcollabs {
    width: 385px;
}

/* ======== Télphone ======== */
@media
(max-width: 1000px),
screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
    body {
        background: white !important;
        font-size: 16px;
    }
    #all-wrapper {
        padding: 0;
    }
    #all {
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 20px 0 0;
        width: 100%;
    }
    #header-wrapper {
        margin: 0 auto;
        width: 92%;
    }
    #header .reseaux-wrapper {
        display: none;
    }
    #header-content h1 {
        border: 1px solid #cecece;
        border-left: none;
        border-right: none;
        padding: 15px 0;
        text-align: center;
    }
    #header-content h1,
    #header-content h1 a,
    #header-content h1 a div {
        font-size: 20px;
        font-weight: bold;
    }
    #header-content h2 {
        text-align: center;
    }
    #header-content h2,
    #header-content h2 a,
    #header-content h2 a div {
        font-size: 17px;
        font-weight: normal;
    }
    #header-content h3 {
        text-align: center;
    }
    #header-content h3,
    #header-content h3 a
    #header-content h3 a div {
        font-size: 14px;
        font-weight: normal;
    }
    
    #menu-toggle {
        background: #f0f0f0;
        border: 1px solid #cecece;
        display: block;
        font-size: 26px;
        font-weight: bold;
        margin: 0 auto;
        padding: 10px 0;
        text-align: center;
        width: 92%;
    }
    #menu-toggle:hover {
        background: #cecece;
        text-decoration: none;
    }
    #menu-toggle .text {
        display: inline;
        margin-right: 5px;
        text-transform: uppercase;
    }
    #menu-toggle .glyphicon {
        font-size: 22px;
    }
    .model-1 #menu-wrapper {
        border: 1px solid #cecece;
        display: none;
        height: auto;
        margin: 0 auto;
        width: 92%;
    }
    .model-1 #menu {
        border-top: none;
        left: auto;
        position: relative;
        right: auto;
    }
    .model-1 #menu > li {
        float: none;
    }
    .model-1 #menu > li > a {
        font-size: 22px;
        padding: 10px;
    }
    #menu li.first a {
        border-radius: 0;
    }
    #menu li.first a img {
        display: none;
    }
    #menu li.first a .text {
        display: inline;
    }
    #menu li .bgDark {
        background: transparent !important;
    }
    .model-1 #menu li.last a {
        border-radius: 0;
        color: gray;
    }
    .dropdownmenu li ul {
        background: transparent;
        border: none;
        box-shadow: none;
        position: relative;
        opacity: 1;
    }
    .dropdownmenu li.active ul {
        display: block;
    }
    .model-1 #menu li li {
        background: #f0f0f0;
        max-width: 100%;
        width: 100%;
    }
    #menu li li a {
        border-bottom-style: dashed;
        font-size: 18px;
        font-style: italic;
        padding: 10px;
        text-align: center;
    }
    
    #corps {
        margin: 0 auto;
        width: 92%;
    }
    
    #accueil-carrousel-promo {
        width: 100%;
    }
    .marquee_container {
        height: auto;
    }
    .marquee_photos_wrapper {
        left: auto;
        position: relative;
    }
    .marquee_texte {
        bottom: auto;
        height: inherit;
        left: auto;
        padding: 20px;
        position: relative;
        right: inherit;
        text-align: justify;
        top: auto;
        width: calc(100% - 40px);
    }
    .marquee_texte .bienvenue-ligne1 {
        font-size: 15px;
    }
    .marquee_texte .bienvenue-ligne2 {
        font-size: 14px;
    }
    .marquee_nav {
        display: none;
    }
    
    .sidebar {
        float: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .sidebar .titre {
        font-size: 18px;
        margin-bottom: 1em;
    }
    .sidebar .coordonnees-wrapper {
        margin-bottom: 20px;
    }
    .sidebar .coords-buttons-wrapper .brick {
        color: white;
        font-size: 18px;
        margin: 15px 0;
        text-transform: uppercase;
        width: 100%;
    }
    .sidebar .coords-buttons-wrapper .brick a {
        color: white;
    }
    .sidebar .coords-buttons-wrapper .brick td {
        padding: 15px 10px;
    }
    .sidebar .coords-buttons-wrapper .nb-lines-1 {
        font-size: 22px;
    }
    .sidebar .coords-buttons-wrapper .lbl-text {
        display: none;
    }
    .sidebar .coords-buttons-wrapper .lbl-icon {
        display: table-cell;
        font-size: 25px;
        text-align: center;
        width: 30px;
    }
    .sidebar .coords-buttons-wrapper .address .lbl-icon {
        font-size: 30px;
    }
    .sidebar .coords-buttons-wrapper .text {
        color: white;
        padding: 10px;
        text-align: left;
        width: calc(100% - 70px);
    }
    
    .sidebar .profilinfos-specialites {
        margin-bottom: 20px;
    }
    .sidebar .profilinfos-specialites p {
        margin: 1em 0;
    }
    
    #accueil-col-3 ul li {
        margin: 10px 0;
    }
    
    #accueil-col-2 {
        border-top: 1px solid #cecece;
        float: none;
        margin: 20px 0;
        padding: 20px 0 0;
        width: 100%;
    }
    #accueil-col-2 .titre {
        font-size: 18px;
    }
    
    #accueil-col-3 {
        float: none;
        font-size: 14px;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    #footer-wrapper {
        font-size: 14px;
        margin: 0;
        padding: 20px;
        width: calc(100% - 40px);
    }
    
    #content iframe{
        width: 100%;
    }
    
    /* non accueil */
    .nonaccueil #content {
        padding-bottom: 20px;
        width: 100%;
    }
    .nonaccueil #corps-wrapper {
        margin-top: 30px;
    }
    
    .nonaccueil .sidebar .entete,
    .nonaccueil .sidebar .specialites-wrapper,
    .nonaccueil #content h1 .miniature {
        display: none;
    }
    
    .nonaccueil #content h1 {
        font-size: 18px;
        text-align: left;
        text-transform: uppercase;
    }
    
    /* page contact */
    .contact-form {
        width: 100%;
    }
    .contact-form .sendbutton-wrapper {
        text-align: right;
    }
    .contact-form .sendbutton {
        font-size: 16px;
        width: 50%;
    }
    
    /* publication */
    .article .titre {
        font-size: 18px;
    }
}