body {
    font-size: 10.2px;
}

#wrap {
    border: none;
}

#header a {
    display: inline;
}
img#logo {
    vertical-align: baseline;
}

.section-index h3, .section-index h3 a:link, .section-index h3 a:hover,
.section-ucp h3, .section-ucp h3 a:link, .section-ucp h3 a:hover {
    color: #105289;
}
.section-ucp #topicreview h3 a {
    color: #022000;
}

h1 {
    /* Forum name */
    margin-left: 160px;
    margin-top: 35px;
    font-size: 5em;
}
h2 {
    /* Forum header titles */
    font-size: 2.2em;
    /*line-height: 1.6em;*/
    margin: 1em 0 0.4em 0;
    border-bottom: 1px solid #555;
    padding-bottom: 2px;
    text-shadow: 0 1px 1px #BBB;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
h2:first-letter {
    color: #A3D900;
    font-weight: bold;
    font-size: 1.2em;
    line-height: inherit;
}
h2:first-letter,
h3:first-letter,
a.topictitle:first-letter {
    text-transform: capitalize;
}
.panel h2:first-letter {
    color: inherit;
    /*text-transform: capitalize;*/
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

.content {
    color: #222;
}

.forabg {
    background-color:#022000;
    background-image:url("images/bg_list.jpg");
    background-repeat:repeat;
}

.forumbg {
    background-color:#022000;
    background-image:url("images/bg_list.jpg");
    background-repeat:repeat;
}

/*
--------------------------------------------------------------
Colours and backgrounds for links.css
-------------------------------------------------------------- */

a:link	{ color: #022000; border-bottom-color: #748300;}
a:visited	{ color: #022000; }
a:hover	{ color: #748300; }
a:active	{ color: #748300; }

.navbar {
    margin-top: 0 !important;
}
.navbar a, .navbar a:link, .navbar a:visited, .navbar a:hover, .navbar a:active {
    color: #FFFFFF;
}

/* Links for forum/topic lists */
a.forumtitle {
    color: #022000;
}

/* a.forumtitle:visited { color: #022000; } */

a.forumtitle:hover {
    color: #748300;
}

a.forumtitle:active {
    color: #748300;
}

a.topictitle {
    display: inline-block;
}

a.topictitle, #notification_list .notification_text .notification-title {
    color: #022000;
}

/* a.topictitle:visited { color: #022000; } */

a.topictitle:hover {
    color: #748300;
}

a.topictitle:active {
    color: #748300;
}

/* Post body links */
a.postlink, .postbody .content a {
    display: inline;
}
a.postlink,
a.postlink-local {
    color: #022000;
    border-bottom-color: #748300;
}

a.postlink:visited,
a.postlink-local:visited {
    color: #022000;
    border-bottom-color: #748300;
}

a.postlink:active,
a.postlink-local:active {
    color: #a1b600;
    border-bottom-color: #748300;
    background-color: rgba(255,255,255,0.9);
}

a.postlink:hover,
a.postlink-local:hover {
    color: #748300;
    background-color: rgba(255,255,255,0.9);
}


/* --------------------------------------------------------------
Colours and backgrounds for content.css
-------------------------------------------------------------- */

ul.forums {
    background-color: #F6F4D0;
    background-image: none;
}

ul.topiclist li, #notification_list .notification_text, #notification_list .notification-time {
    color: #515950;
}

ul.topiclist li.row dl {
    padding: 8px 0;
}


.stat-block {
    padding-left:40px;
}
.stat-block a {
    display: inline !important;
}
.stat-block.online-list {
    background:  url("images/who-is-online.png") #FFFFFF no-repeat left top ;
}

.stat-block.\32 4stats {
    background:  url("images/clock.png") #FFFFFF no-repeat left top ;
}

.stat-block.birthday-list {
    background:  url("images/birthday.png") #FFFFFF no-repeat left top ;
}

.stat-block.statistics {
    background:  url("images/statistics.png") #FFFFFF no-repeat left top ;
}

#login-float {
    width: 120px;
    height: 120px;
    float: left;
    background: url("images/login.png") no-repeat 50% 50%;
}

#register-float {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    float: left;
    background: url("images/register.png") no-repeat 50% 50%;
}

li.header dt, li.header dd{
    padding-top: 0;
    paddig-bottom: 0;
}
dl.icon dt {
    padding-left: 60px;					/* Space for folder icon */
    background-repeat: no-repeat;
    background-position: 5px 95%;		/* Position of topic icon */
}
li.header dl.icon dt {
    padding-right: 60px;
}
li.header dl.icon dt, li.header dt div.list-inner {
    padding-left: 5px !important;
}
li.header dt {
    font-size: 1.3em;
    text-transform: none;
    font-variant: small-caps;
    font-weight: bold;
}

li.header dd {
    font-size: 0.8em;
    padding-top: 4px;
}

dl.icon {
    background-position: 15px 50%;
}

/* Pagination
---------------------------------------- */

.pagination span strong {
    color: #FFFFFF;
    background-color: #000000;
    border-color: #000000;
}
.pagination span a:hover {
    border-color: #368AD2;
    background-color: #008f00;
    color: #FFF;
}

/* Pagination in viewforum for multipage topics */
.row .pagination span a, li.pagination span a {
    background-color: #FFF;
}

.row .pagination span a:hover, li.pagination span a:hover {
    background-color: #008f00;
}
/* Arrow links  */
a.left {
    background: url("{T_THEME_PATH}/images/page_precedente.png") no-repeat 3px 50%;
}
a.right {
    background: url("{T_THEME_PATH}/images/page_suivante.png") no-repeat 95% 50%;
}
a.left:hover {
    background-position: 0px 50%;
}
a.right:hover {
    background-position: 100% 50%;
}

a.left, a.left:active, a.left:visited,
a.right, a.right:active, a.right:visited {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
}
a.left,
a.left:active,
a.left:visited {
    padding-left: 28px;
}
a.right,
a.right:active,
a.right:visited {
    padding-right: 29px;
}
a.left:hover,
a.right:hover {
    color: #105289;
}
.panel {
    background-color: #efedeb;
}
.icon-logout {
    background-image: none;
}

/*.section-viewtopic */
.bg1	{ background-color: #F2F2CE; }
.bg2	{ background-color: #F5F2D0; }
.bg3	{ background-color: #F2F2CE; }
.bg4	{ background-color: #E7E8CC; }

div.bg1	{ background-color: #F2F2CE; }
div.bg2	{ background-color: #F5F2D0; }
div.reported { background-color: #FFE0CA; }

li.bg1	{ background-color: #F2F2CE; }
li.bg2	{ background-color: #F5F2D0; }

li.bg1:hover	{ background-color: #F6F4D0; }
li.bg2:hover	{ background-color: #F6F4D0 !important; }





/* UCP navigation menu
----------------------------------------*/

/* Link styles for the sub-section links */
#navigation a {
    background: #CAC9BC url("./images/bg_menu.gif") repeat-y 100% 0;
}

#navigation a:hover {
    background-image: none;
    background-color: #F3F2E5;
    color: #555;
}
#navigation #active-subsection a,
#navigation #active-subsection a:hover {
    color: #105289;
}

/* Input field styles
---------------------------------------- */
.inputbox {
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
#format-buttons input[type="button"] {
    -khtml-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
select {
    -khtml-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.inputbox:hover {
    border-color: #000000;
}

input.search {
    background-position: 2px 50%;
    padding-left: 20px;
}

/* Form button styles
---------------------------------------- */
a.button1, input.button1, input.button3, a.button2, input.button2 {
    padding-top: 2px;
    padding-bottom: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
}


/* CP tabbed menu
----------------------------------------*/
#tabs a {
    background: #d9d5bf url("./images/bg_tabs1_bg4.gif") no-repeat 0 -35px;
    border: none;
    border-bottom: 1px solid #fff;
    color: #555;
}
#tabs .activetab a, #tabs .activetab a:hover {
    border-bottom: none;
    background-color: #e6e6cb;
    background-position: 0 0;
}
#tabs a:hover {
    background-position: -1px -70px;
}




/* Topic post / PM post
----------------------------------------*/

.online {
    background: none;
}

.pm .postprofile,
.postprofile {
    /*padding: 8px 4px 0 0px;*/
    margin: 0 0 10px 0;
    border-left: 0 none;
    width: 160px;
    /*float: left;*/
}

.postprofile { border-left: 1px solid #FFFFFF; }
.pm .postprofile { border-left: 1px solid #DDDDDD; }

.postprofile dt {
    font-size: 1.2em;
    line-height: 1.2em;
    /*margin-left: 0;*/
    /*float: none;*/
    text-align: center;
    /*clear: both;*/
}
.postprofile dt img {
    border: 2px solid #222;
    background-color: #FFF;
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 2px;
    -moz-box-shadow: 2px 2px 6px -3px rgba(0,0,0,0.9);
    -webkit-box-shadow: 2px 2px 6px -3px rgba(0,0,0,0.9);
    -khtml-box-shadow: 2px 2px 6px -3px rgba(0,0,0,0.9);
    box-shadow: 2px 2px 6px -3px rgba(0,0,0,0.9);
}

.postbody,
.post.pm .postbody {
    /*float: right;*/
    padding-left: 8px;
    /*clear: both;*/
}
.postbody {
    width: 81%;
}
.post.pm .postbody {
    width: 76%;
}

.post.pm #preview .postbody {
    width: 100%;
}

.post.pm .postbody ul.profile-icons {
    padding-top: 5px;
    /*float: right;*/
}

.postbody .inline-attachment {
    display: inline;
}

.section-index h3, .section-index h3 a:link, .section-index h3 a:hover, .section-ucp .page-body h3, .section-ucp .page-body h3 a:link, .section-ucp .page-body h3 a:hover {
    color: #006000 !important;
}
#navigation #active-subsection a {
    background-color: #F9F9F9;
    background-image: none;
}
#navigation #active-subsection a, #navigation #active-subsection a:hover {
    color: #008000;
}

/* Profile links */
.postprofile a:link, .postprofile a:visited, .postprofile dt.author a {
    color: #105289;
}

.postprofile a:hover, .postprofile dt.author a:hover {
    color: #105289;
}



/* BBCode styles
----------------------------------------*/
/* Quote block */
.content blockquote {
    border-left: 4px solid #444444;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    -moz-box-shadow: 1px 2px 14px -9px rgba(0,0,0,0.9);
    -webkit-box-shadow: 1px 2px 14px -9px rgba(0,0,0,0.9);
    -khtml-box-shadow: 1px 2px 14px -9px rgba(0,0,0,0.9);
    box-shadow: 1px 2px 14px -9px rgba(0,0,0,0.9);
}
.content ul {
    margin: 0 0 1.2em 3em;
}

.content blockquote cite > span.posthilit {
    float: none;
    font-weight: unset;
}
.content div.img-inline {
    display: inline;
}

/* BBCode button style
----------------------------------------*/
input[type="button"],
input[type="submit"] {
    font-size: 1.05em;
}
/*
a.button-custom, input.button-custom {
    content: "";
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
a.button-b, input.button-b { background-image: url("{T_THEME_PATH}/images/bbcode_bold.gif"); border: 1px #777 solid; }
a.button-i, input.button-i { background-image: url("{T_THEME_PATH}/images/bbcode_italic.gif"); border: 1px #777 solid; }
a.button-u, input.button-u { background-image: url("{T_THEME_PATH}/images/bbcode_borderline.gif"); border: 1px #777 solid; }
a.button-q, input.button-q { background-image: url("{T_THEME_PATH}/images/bbcode_quote.gif"); border: 1px #777 solid; }
a.button-c, input.button-c { background-image: url("{T_THEME_PATH}/images/bbcode_code.gif"); border: 1px #777 solid; }
a.button-l, input.button-l { background-image: url("{T_THEME_PATH}/images/bbcode_list.gif"); border: 1px #777 solid; }
a.button-o, input.button-o  { background-image: url("{T_THEME_PATH}/images/bbcode_list_order.gif"); border: 1px #777 solid; }
a.button-p, input.button-p  { background-image: url("{T_THEME_PATH}/images/bbcode_img.gif"); border: 1px #777 solid; }
a.button-w, input.button-w { background-image: url("{T_THEME_PATH}/images/bbcode_link.gif"); border: 1px #777 solid; }
a.button-d, input.button-d  { background-image: url("{T_THEME_PATH}/images/bbcode_flash.gif"); border: 1px #777 solid; }
a.button-palette, input.button-palette  { background-image: url("{T_THEME_PATH}/images/bbcode_text_color.gif"); border: 1px #777 solid; }


a.button-custom:hover,
input.button-custom:hover {
    border-color: #008000;
}
*/

#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover {
    color: inherit;
}

.forabg {
    margin-bottom: 15px;
}







.topic-actions {
    margin-bottom: 5px;
}
.topic-actions .search-box {
    margin-top: 1px;
}
#forum-search input.button2 {
    background: rgb(154, 204, 0);
    font-size: 0.929em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0px;
    margin-left: 2px;
    display: inline-block;
    padding: 5px 10px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: rgba(0, 0, 0, 0.498039) 0px 1px 3px;
    -khtml-box-shadow: rgba(0, 0, 0, 0.498039) 0px 1px 3px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.498039) 0px 1px 3px;
    text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 1px;
    border: 0px none;
    position: relative;
}
#topic-search input.button2 {
    padding: 3px 4px;
}
#forum-search input.inputbox,
#topic-search input.inputbox {
    padding-top: 4px;
    padding-right: 4px;
    padding-bottom: 4px;
}

div.rules strong {
    color: #000;
}
div.rules {
    background-color: #E0E6C3;
}





li.row,
#cp-main .panel li.row {
    border-top-color: #FFFFD9; /* background with full luminosité */
    border-bottom-color: #DBD9BA; /* background minus 10 luminosité */
}
li.row.bg1,
#cp-main .panel li.row.bg1 {
    border-top-color: #FFFFD9;
    border-bottom-color: #DBD9BA;
}
li.row.bg2,
#cp-main .panel li.row.bg2 {
    border-top-color: #FFFFD9;
    border-bottom-color: #D9D9B9;
}









.icon-home {
    background-image: none;
    padding-left: 0;
}
ul.navlinks {
    border-bottom : 0 none;
    padding-bottom: 0;
    margin-bottom: 0;
}




/* --------------------------------------------------------------
    MODS
-------------------------------------------------------------- */
.good-practice {
    font-size: 1.1em;
}

.hasjs .good-practice {
    display : none;
}

.good-practice ul {
    margin-left: 1.5em;
    list-style-type: square;
}
.good-practice .title {
    color: #105289;
    display: block;
    font-weight: bold;
}


/* Annonce
--------------------*/
#annonce table tr.bg3:hover {
    background-color: #F2F2CE;
}


/* Tag Board
 ------------ */

#tb_form {
    overflow-x: auto;
}
#tag_board {
    overflow-y: auto;
    overflow-x: hidden;
}
.tb_style1,
.tb_style2{
    padding:5px;
    font-size:1em;
}
.tb_style1 {
    border-top: 1px solid #FFFFD9;
    border-bottom: 1px solid #DBD9BA;
}
.tb_style2 {
    border-top: 1px solid #FFFFD9;
    border-bottom: 1px solid #D9D9B9;
}
.tb_style1 {
    background-color:#F5F2D0;
}
.tb_style2 {
    background-color:#F2F2CE;
}
.tb_post_time{
    color:#666666;
}
.tb_post_username{
    /* usr's span */
}
.tb_post_text{
    color:#333333;
}
.tb_style1 .tb_pointer, .tb_style2 .tb_pointer {
    margin-top: -10px;
}

/* Topic Evaluation
 ------------ */
body.section-viewtopic .topic-evaluation img {
    width: 13px !important;
    height: 10.4px !important;
    padding-bottom: 2px;
}


/* Similar topics
 ------------ */
#postingbox #similar_table {
    font-size: 80%;
}
#postingbox #similar_table dt {
    width: 100%;
}
#postingbox #similar_table dd {
    margin-left: 0;
}
#postingbox #similar_table ul.topiclist li.row dl {
    padding: 0;
    margin: 0;
 }



/* GoogieSpell
 ------------ */

.googie_window {
    font-size: 1.2em;
    text-align: left;
    border: 1px solid #555;
    background-color: #ecefff;
    margin: 0;
    position: absolute;
    visibility: hidden;
    z-index: 300;
    padding: 1px;
    width: 175px;
}

#message-box div.inputbox {
    font-size: 1.2em;
    line-height: 1.4em;
    padding-left: 2px;
    padding-top: 2px;
}

#spell_check {
    display: block;
    text-align: center;
}

.googie_list {
    margin: 0;
    padding: 0;
}

.googie_list td {
    padding: 1px 0 1px 0;
    cursor: pointer;
    list-style-type: none;
    color: #000;
}

.googie_list_onhover {
    background-color: #FBEC72;
}

.googie_list_onout {
    background-color: #ecefff;
}

.googie_list_selected {
    background-color: #ccc;
}

.googie_list_revert {
    color: #b91479;
}

.googie_list_close {
    color: #b91414;
}

.googie_link {
    color: #b91414;
    text-decoration: underline;
    cursor: pointer;
}

.googie_check_spelling_link {
    color: #0049B7;
    text-decoration: underline;
    cursor: pointer;
}

.googie_no_style {
    text-decoration: none;
}

.googie_resume_editing {
    color: green;
    text-decoration: underline;
    cursor: pointer;
}

.googie_check_spelling_ok {
    color: white;
    background-color: green;
    padding-left: 2px;
    padding-right: 2px;
    cursor: pointer;
}

.googie_lang_3d_click img {
    vertical-align: middle;
    border-top: 1px solid #555;
    border-left: 1px solid #555;
    border-right: 1px solid #b1b1b1;
    border-bottom: 1px solid #b1b1b1;
}

.googie_lang_3d_on img {
    vertical-align: middle;
    border-top: 1px solid #b1b1b1;
    border-left: 1px solid #b1b1b1;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
}




/* Highslide images / Fancybox
 --------------------------------------------- */

.file-image {
    outline: none;
    text-decoration: none;
    -moz-box-shadow: 4px 4px 16px -6px rgba(0,0,0,0.9);
    -webkit-box-shadow: 4px 4px 16px -6px rgba(0,0,0,0.9);
    -khtml-box-shadow: 4px 4px 16px -6px rgba(0,0,0,0.9);
    box-shadow: 4px 4px 16px -6px rgba(0,0,0,0.9);
    -moz-border-radius: 2px 2px 6px 6px;
    -webkit-border-radius: 2px 2px 6px 6px;
    -khtml-border-radius: 2px 2px 6px 6px;
    border-radius: 2px 2px 6px 6px;
    margin: 10px;
    display: inline-block !important;
    overflow: hidden;
    border: 2px solid #111;
    padding: 0;
    vertical-align: top;
}
.file-image dt {
    line-height: 0;
}
.file-image img {
    max-width: 300px;
    max-height: 250px;
}
.file-image .file-infos {
    /*position: absolute;*/
    bottom: 0;
    right: 0;
    left: 0;
    padding: 5px 8px;
    background-color: #181818;
    color: #FFF;
    font-size: 0.8em;
    text-align: center;
}
.file-image .file-infos p {
    margin-bottom: 0.5em;
}
.file-image .file-infos a,
.file-image .file-infos a:hover {
    color: inherit;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}
.file-image .file-infos a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/*
.file-image img:hover {
    cursor: url("{T_THEME_PATH}/images/zoomin.cur"), auto;
}
img#fancybox-img {
    border-color: gray;
    cursor: url("{T_THEME_PATH}/images/zoomout.cur"), auto;
}
*/

#cluetip .file-image {
    line-height: 0;
    display: block;
}
#cluetip .file-image img {
    max-width: none;
    max-height: none;
}

/* pas de soulignage pour les médailles de concours */
.postprofile a.postlink {
    border-bottom: none;
}

.attachbox {
    font-size: unset;
}

@media only screen and (max-width: 1220px), only screen and (max-device-width: 1220px) {
    #wrap {
        margin: unset;
    }
}
@media (max-width: 700px) {
    #phpbb #page .pm .postprofile, #phpbb #page .postprofile {
        position: static !important;
        width: auto !important;
    }
    .postprofile dt {
        text-align: unset;
        margin-left: 8px;
    }
    .postprofile .avatar {
        width: auto;
        max-height: 32px;
    }
    #phpbb.section-viewtopic #page .postbody h3,
    #phpbb.section-viewtopic #page p.author {
        margin-left: 0 !important;
        font-size: 1em !important;
    }
    #phpbb.section-viewtopic #page .postbody h3.first {
        font-size: 1.1em !important;
    }
}
@media (max-width: 700px) {
    ul.topiclist.forums dt {
        margin-right: 0;
        font-size: 1rem;
    }

    #wrap {
        padding: 0 5px !important;
    }
}

.dropdown-extended ul li:not(.bg2):hover {
    background-color: unset;
}
.dropdown-extended li.no_notifications {
    color: #000000 !important;
}
.dropdown-extended .header {
    text-shadow: none;
    background: #000 url("/script/style/images/header-bg-green.jpg") no-repeat 60% -50px;
}
.dropdown-extended .pointer-inner {
    border-color: #819921 transparent;
}
.dropdown-extended .mark_read.icon-mark {
    color: #0e870d;
    background-color: #E0E6C3;
    border-color: #F5F2D0;
    border-width: 1px;
    border-style: solid hidden solid solid;
}


.bg1	{ background-color: #F2F2CE; }
.bg2	{ background-color: #F5F2D0; }
.bg3	{ background-color: #F2F2CE; }
.bg4	{ background-color: #E7E8CC; }
.big-column > td {
    background-color: #E7E8CC;
}
.big-column {
    font-weight: bold;
    font-size: 1.1em;
}

label[for] {
    cursor: pointer !important;
}

.pagination li.active span, .pagination li .button {
    font-size: inherit !important;
}
