body {
    background-color: #606061;
    font-family: Arial,sans-serif;
}

#wiki-wrapper {
    background-color: #dddddd;
    padding-bottom: 1em;
    padding-top: 1em;
    margin-bottom: 40px;
    margin-top: 4em;
}

#wiki-body {
    margin-bottom: 0.3em;
}

#wiki-content {
    clear: both;
    padding-top: 1.5em;
}

#head {
    margin-top: 0;
    overflow: visible;
}

#banner {
    display: none;
    margin: -1em -20px 10px;
}

#banner.Accueil {
    display: block;
}

.page #footer {
    margin-bottom: 0;
}

.page #comments {
    border-top: 1px solid #ddd;
    clear: both;
}

.page #comments .comment {
    background-color: #f7f7f7;
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec');
    background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec));
    background: -moz-linear-gradient(top, #f4f4f4, #ececec);
    border: 1px solid #d4d4d4;
    border-radius: 0.8em;
    margin: 0.9em 0;
}

.page #comments .comment .text,
.page #comments .comment .button {
    padding: 0.5em 1em;
}

.page #comments .comment .header {
    background-color: #aeaeae;
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#9a9a9a', endColorstr='#c3c3c3');
    background: -webkit-gradient(linear, left top, left bottom, from(#9a9a9a), to(#c3c3c3));
    background: -moz-linear-gradient(top, #9a9a9a, #c3c3c3);
    border-bottom: 1px solid #c3c3c3;
    border-radius: 0.8em 0.8em 0 0;
    padding: 0.5em;
}

.page #comments .comment .header input[name="author_name"],
.page #comments .comment .header input[name="captcha"],
.page #comments .comment textarea[name="text"] {
    border: 1px solid #d4d4d4;
    border-radius: 0.3em;
    font-family: Arial,sans-serif;
    font-size: 1em;
    height: 2.2em;
    margin-right: 2em;
    padding: 0 0.5em;
}

.page #comments .comment textarea[name="text"] {
    height: 10em;
    width: 100%;
}

.jqte {
    border: 1px solid #d4d4d4!important;
    border-radius: 0.3em!important;
    box-shadow: none!important;
    margin: 0!important;
}

.page #comments .comment .header input[name="author_name"].bad,
.page #comments .comment .header input[name="captcha"].bad,
.page #comments .comment textarea[name="text"].bad,
.jqte.bad {
    border-color: #ff5518!important;
    box-shadow: 0 0 10px #ff4200!important;
}

.page #comments .comment .header input[name="author_name"]:focus,
.page #comments .comment .header input[name="captcha"]:focus,
.jqte.jqte_focused {
    border-color: #00aae7!important;
    box-shadow: 0 0 10px #00bdff!important;
}

.btn-new-comment {
    background-color: #f7f7f7;
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec');
    background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec));
    background: -moz-linear-gradient(top, #f4f4f4, #ececec);
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    color: #333;
    display: inline-block;
    font-size: 0.9em;
    font-weight: bold;
    height: 1.4em;
    margin: 0;
    padding: 0.6em 1em;
    text-shadow: 0 1px 0 #fff;
}

.btn-new-comment:hover {
    background-color: #3072b3;
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3');
    background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3));
    background: -moz-linear-gradient(top, #599bdc, #3072b3);
    border-color: #518cc6 #518cc6 #2a65a0;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.markdown-body {
    font-size: 16px;
    overflow: visible;
    text-align: justify;
}

.markdown-body img,
.markdown-body x3d,
.markdown-body video {
    background: #eee;
    border: 1px solid #fff;
    border-radius: 0.4em;
    display: block;
    max-width: 100%;
    margin: auto;
    padding: 0.5em;
}

.markdown-body img,
.markdown-body x3d,
.markdown-body video.left {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.markdown-body video.right {
    float: right;
    margin-left: 1.5em;
}

.markdown-body .one-line img,
.markdown-body .one-line x3d,
.markdown-body .one-line video.left {
    float: none;
    display: inline-block;
}

.markdown-body .one-line {
    white-space: nowrap;
}

#head ul.actions {
    font-size: 1.4em;
    float: right;
}

#head ul.actions li {
    float: right;
}

#head h1 {
    clear: none;
}

#head #searchbar #searchbar-fauxtext #search-submit span {
    display: inline-block;
    height: 1.4em!important;
    margin-top: 0.3em;
}

input#search-query {
    width: 7em;
}

.markdown-body .buttons-bar {
    clear: both;
    display: block;
    line-height: 2.5em;
    text-align: center;
}

.markdown-body .buttons-bar,
#index td {
    font-size: 14px;
    padding: 1em 0;
}

.markdown-body .buttons-bar.navigation {
    text-align: center;
}

.markdown-body .buttons-bar.navigation a {
    font-size: 1.37em;
    max-width: 20em;
    width: auto;
}

.markdown-body .buttons-bar.navigation a:last-child {
    max-width: 223.6px;
    padding-right: 179.18px;
}

.markdown-body .buttons-bar.navigation a:first-child {
    max-width: 20em;
    padding-right: 1em;
}

.markdown-body .buttons-bar.navigation a:before {
    content: "";
    display: inline-block;
    height: 40px;
    margin-right: 0.5em;
    margin-top: -7px;
    vertical-align: top;
    width: 160px;
}

.markdown-body .buttons-bar.navigation a:last-child:before {
    background: url('/images/bullet-right.png');
    float: right;
    margin-right: -179.18px;
}

.markdown-body .buttons-bar.navigation a:first-child:before {
    background: url('/images/arrow-left.png');
    float: left;
    margin-right: 0.5em;
}

.markdown-body .buttons-bar a {
    width: 20%;
}

#index tr>td:first-child {
    padding-right: 0.5em;
    text-align: center;
}

.markdown-body .buttons-bar a,
#index a {
    background-color: #f7f7f7;
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec');
    background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec));
    background: -moz-linear-gradient(top, #f4f4f4, #ececec);
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    color: #333;
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
    height: 1.4em;
    line-height: 1em;
    margin: 0;
    overflow: hidden;
    padding: 0.8em 1em 0.4em;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 #fff;
    vertical-align: top;
    white-space: nowrap;
}

#index a {
    display: block;
}

.markdown-body .buttons-bar a:hover,
.markdown-body .buttons-bar a.highlight,
#index a:hover {
    background-color: #3072b3;
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3');
    background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3));
    background: -moz-linear-gradient(top, #599bdc, #3072b3);
    color: white;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.divide-by-two,
.divide-by-three,
.divide-by-four,
.divide-by-five {
    display: block;
    text-align: center;
}

.divide-by-two>*,
.divide-by-three>*,
.divide-by-four>*,
.divide-by-five>* {
    vertical-align: middle;
}

.divide-by-two>* { width: 50%; }
.divide-by-three>* { width: 33%; }
.divide-by-four>* { width: 25%; }
.divide-by-five>* { width: 20%; }

.divide-by-two img,
.divide-by-two video,
.divide-by-three img,
.divide-by-three video,
.divide-by-four img,
.divide-by-four video,
.divide-by-five img,
.divide-by-five video {
    display: inline-block;
    float: none;
    margin: 0.5%;
}
.divide-by-two img,
.divide-by-two video { width: 46%; }
.divide-by-three img,
.divide-by-three video { width: 29%; }
.divide-by-four img,
.divide-by-four video { width: 21%; }
.divide-by-five img,
.divide-by-five video { width: 16%; }

.center {
    display: block;
    text-align: center;
}

.center img,
.center video {
    display: inline;
    float: none;
}

.alt-img {
    background: #eee;
    border: 1px solid #fff;
    border-radius: 0.4em;
    display: inline-block;
    float: right;
    margin: 0 0 1em 2%;
    max-width: 98%;
    padding: 0.5em;
}

.alt-img .legend {
    display: block;
    font-size: smaller;
    margin-bottom: 0.5em;
    text-align: center;
}

.alt-img>img,
.alt-img>video {
    float: none;
    border: none;
    border-radius: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.divide-by-two .alt-img,
.divide-by-three .alt-img,
.divide-by-four .alt-img,
.divide-by-five .alt-img {
    display: inline-block;
    float: none;
}

.divide-by-two .alt-img { width: 45%; }
.divide-by-three .alt-img { width: 29%; }
.divide-by-four .alt-img { width: 21%; }
.divide-by-five .alt-img { width: 16%; }

.divide-by-two .alt-img:first-child,
.divide-by-three .alt-img:first-child,
.divide-by-four .alt-img:first-child,
.divide-by-five .alt-img:first-child {
    margin-left: 0;
}

.divide-by-two .alt-img>img,
.divide-by-two .alt-img>video,
.divide-by-three .alt-img>img,
.divide-by-three .alt-img>video,
.divide-by-four .alt-img>img,
.divide-by-four .alt-img>video,
.divide-by-five .alt-img>img,
.divide-by-five .alt-img>video {
    width: auto;
}

.bubble {
    border-radius: 2em;
    color: white;
    display: block;
    margin: 1em;
    margin-bottom: 100px;
    padding: 1em;
    white-space: normal;
}

.bubble.right {
    float: right;
    margin-right: -30px;
    width: 30%;
}

.bubble.left {
    float: left;
    margin-left: -30px;
    width: 30%;
}

.bubble>span.legend:first-child {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-align: right;
}

.bubble:after {
    content: "";
    display: block;
    height: 100px;
    margin-top: 1em;
    position: absolute;
    width: 200px;
}

.bubble.prof:after { background: url('images/prof.png'); }
.bubble.prof { background: #00aaff; }

.bubble.christine:after { background: url('images/christine.png'); }
.bubble.christine { background: #ffbd39; }

.bubble.paul:after { background: url('images/paul.png'); }
.bubble.paul { background: #70ad46; }

.bubble.brassens:after { background: url('images/brassens.png'); }
.bubble.brassens { background: #b9c5c8; }

#index td, #index tr {
    background: transparent;
    border: none;
}

#wiki-body table.columns {
    display: table;
    width: 100%;
}

#wiki-body table.columns>tbody>tr {
    background: transparent;
    border: none;
}

#wiki-body table.columns>tbody>tr>td {
    border: none;
}

.map-wrapper {
    margin: auto;
}

.map-wrapper img {
    float: none;
}

.map-wrapper .map-area,
.map-wrapper .map-point {
    overflow: visible;
    position: absolute;
}

.map-wrapper .map-area {
    font-size: 0;
    z-index: 1;
}

.map-wrapper .map-point {
    height: 1em;
    width: 1em;
    z-index: 11;
}

.map-wrapper .map-point a:before {
    background: #4d5865;
    border-radius: 0.5em;
    content: "";
    display: inline-block;
    height: 1em;
    left: 0em;
    position: absolute;
    vertical-align: middle;
    width: 1em;
}

.map-wrapper .map-point a {
    border-radius: 0.5em;
    color: transparent;
    display: inline-block;
    font-size: 0.9em;
    left: 1.3em;
    line-height: 1;
    margin-left: -1.3em;
    margin-top: -1em;
    padding: 0 0.5em 0 1.3em;
    position: relative;
    text-decoration: none;
    vertical-align: middle;
    white-space: pre;
    word-break: normal;
    word-wrap: normal;
}

.map-wrapper .map-area a {
    background: rgba(75, 88, 97, 0.2);
    color: transparent;
    font-weight: bold;
    display: block;
    height: 100%;
    text-decoration: none;
    width: 100%;
}

.map-wrapper .map-area a.highlight,
.map-wrapper .map-area a:hover {
    background: rgba(204, 0, 0, 0.5);
}

.map-wrapper .map-point a.highlight,
.map-wrapper .map-point a:hover {
    background: #b6c6bb;
    color: #4d5865;
    font-weight: bold;
    z-index: 100;
}

.map-wrapper .map-point a.highlight:before,
.map-wrapper .map-point a:hover:before {
    background: #cc0000;
}

.map-wrapper .map-point a:not([href]) {
    cursor: default;
}

.map-wrapper .map-point a:not([href]):before,
.map-wrapper .map-point a:not([href]):hover:before {
    background: #4d5865;
}

a[data-x3d] {
  cursor: pointer;
}

@media all and (max-width: 939px) {
    #banner {
        margin: -1em 0 10px;
        max-width: 100%;
    }

    .bubble {
        font-size: 0.7em;
        margin-bottom: 50px;
    }

    .bubble.right,
    .bubble.left {
        float: none;
        margin: 1em 1em 100px 1em;
        width: auto!important;
    }

    .actions .minibutton a {
        font-size: 0.7em;
    }

    .divide-by-two>*,
    .divide-by-three>*,
    .divide-by-four>*,
    .divide-by-five>* {
        box-sizing: border-box;
        width: 100%!important;
    }

    .bubble:after {
        zoom: 0.5;
    }
}
