/*
Theme Name:     Convalescence
Description:    Th&egrave;me r&eacute;alis&eacute; pour la <a href="http://www.croix-rouge.lu/">Croix Rouge luxembourgeoise</a>
Author:         nouvelle MARQUE
Author URI:     http://www.nouvelle-marque.com/
Version:        1.0
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
* {
    outline:0 none;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
body {
    line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}
ol, ul {
    list-style: none;
}
blockquote {
    quotes: none;
}
blockquote:before, blockquote:after {
    content: '';
    content: none;
}
del {
    text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a img {
    border: none;
}

/* =Fonts
-------------------------------------------------------------- */
* {     font-family: Arial, sans-serif; }
pre {   font-family: Courier, monospace; }
code {  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }

/* =Structural elements. Based on the 960 Grid System: http://960.gs/
-------------------------------------------------------------- */
.full, .three-quarter, .half, .quarter,
.full-l, .three-quarter-l, .half-l, .quarter-l,
.full-r, .three-quarter-r, .half-r, .quarter-r{
    min-height: 1px;
}
.full {         width: 960px; }
.three-quarter {width: 720px; }
.half {         width: 480px; }
.quarter {      width: 240px; }

/* Same with margins */
.full-wm, .three-quarter-wm, .half-wm, .quarter-wm {
    margin: 0 10px;
    min-height: 1px;
}
.full-wm {          width: 940px; }
.three-quarter-wm { width: 700px; }
.half-wm {          width: 460px; }
.quarter-wm {       width: 220px; }

/* Same with left or right margins */
.full-l, .three-quarter-l, .half-l, .quarter-l {
    margin-left: 10px;
}
.full-r, .three-quarter-r, .half-r, .quarter-r {
    margin-right: 10px;
}
.full-l,
.full-r {          
    width: 950px; 
}
.three-quarter-l,
.three-quarter-r { 
    width: 710px; 
}
.half-l,
.half-r {
    width: 470px; 
}
.quarter-l,
.quarter-r {
    width: 230px;
}

/* Same with left or right margins shared */
.full-ls, .three-quarter-ls, .half-ls, .quarter-ls {
    margin-left: 5px;
}
.full-rs, .three-quarter-rs, .half-rs, .quarter-rs {
    margin-right: 5px;
}
.full-ls,
.full-rs {          
    width: 955px; 
}
.three-quarter-ls,
.three-quarter-rs { 
    width: 715px; 
}
.half-ls,
.half-rs {
    width: 475px; 
}
.quarter-ls,
.quarter-rs {
    width: 235px;
}

/* =Floating et clearing elements
-------------------------------------------------------------- */
.left{  float: left; }
.right{ float: right; }
.clear{ clear: both; }
.spacer{ height: 10px; }

/* =Global Elements
-------------------------------------------------------------- */
body {
    background-color: #fff;
}
body,
input,
textarea {
    color: #363636;
    font-size: 11px;
}
.content h1, 
.content h2, 
.content h3, 
.content h4, 
.content h5, 
.content h6{
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.5em;
}
hr {
    background-color: #e6e6e6;
    border: 0;
    clear: both;
    height: 1px;
    margin-bottom: 12px;
}

/* Text elements */
p {
    line-height: 1.2em;
    margin-bottom: 0.6em;
}
p:last-child {
    margin-bottom: 0;
}
.content ul{
    list-style: square inside;
    margin-bottom: 1em;
}
ol {
    list-style: decimal;
    margin: 0 0 18px 1.5em;
}
ol ol {
    list-style: upper-alpha;
}
ol ol ol {
    list-style: lower-roman;
}
ol ol ol ol {
    list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
    margin-bottom: 0;
}
dl {
    margin: 0 0 5px 0;
}
dt {
    margin-bottom: 2px;
    font-weight: bold;
}
dd {
    margin-bottom: 4px;
}
strong {
    font-weight: bold;
}
cite,
em,
i {
    font-style: italic;
}
big {
    font-size: 131.25%;
}
ins {
    background: #ffc;
    text-decoration: none;
}
blockquote {
    color: #878787;
    font-size: 1.2em;
    margin-bottom: 1em;
}
blockquote p {
    margin-bottom: 0;
}
blockquote cite,
blockquote em,
blockquote i {
    font-style: normal;
}
pre {
    background-color: #F7F7F7;
    color: #222222;
    line-height: 14px;
    margin-bottom: 10px;
    padding: 10px;
}
abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
sup,
sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
}
sup {
    bottom: 1ex;
}
sub {
    top: .5ex;
}
textarea{
    resize: vertical;
}

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}

/* Form elements */
input[type="text"],
textarea {
    background-color: #e6e6e6;
    border: 1px solid #878787;
    padding: 1px 2px;
    vertical-align: middle;
}
.content input[type="text"]{
    min-width: 220px;
}
.content textarea{
    width: 100%;
}
.content input[type="submit"]{
    background: #e6e6e6;
    border: 1px solid #878787;
    font-size: 1.3em;
    font-weight: bold;
}
.search-form input[type="submit"]{
    background-color: #878787;
    border: 1px solid #878787;
    padding: 1px 2px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    vertical-align: middle;
}
.content input[type="submit"]:hover{
    cursor: pointer;
}

/* Link elements */
a:link {
    color: #00AEEF;
    text-decoration: none;
}
a:visited {
    color: #008dc1;
    text-decoration: none;
}
a:active,
a:hover {
    
}
a[href="#null"]{
    cursor: auto;
}
.content table th,
.content table td,
.content table caption{
    border: 1px dotted #363636;
    padding: 5px;
}
.content table{
    margin-bottom: 5px;
}

.sidebar{
    color: #666;
}
.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5
.sidebar h6{
    margin: 0.5em 0;
}
.content ul li,
.wysiwyg-widget-content li{
    list-style: none outside none;
    padding-left: 10px;
    background: url("img/color-arrows.png") no-repeat scroll 0 -22px transparent;
}
.wysiwyg-widget-content,
.textwidget{
    line-height:  1.2em;
}

.wysiwyg-widget-content ul,
.textwidget ul{
    margin-bottom: 0.6em;
}

/* =Layout
-------------------------------------------------------------- */
#wrapper {
    background: #fff;
    margin: 8px auto 0;
    width: 960px;
    position: relative;
}

/* =Header
-------------------------------------------------------------- */
#navigation-search form {
    float: left;
}
#search-tag {
    position: relative;
    margin: 5px 5px 0;
}
    #tag-link {
        background: url("img/color-arrows.png") no-repeat scroll 3px -21px transparent;
        display: block;
        height: 12px;
        width: 12px;
        cursor: pointer;
    }
        #tag-link.visible {
            background-color: #878787;
            background-position: 3px -213px;
        }
        #tag-link:hover {
            background-color: #878787;
        }
    #tag-cloud {
        background-color: #FFFFFF;
        border: 2px solid #878787;
        display: none;
        padding: 2px 5px;
        position: absolute;
        top: 12px;
        width: 151px;
        -moz-border-radius: 0 0 10px 10px;
        -webkit-border-radius: 0 0 10px 10px;
        border-radius: 0 0 10px 10px;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box; 
        background-clip: padding-box;
    }
        #tag-cloud a {
            color: #878787;
        }

#header-menu{
    margin: 4px 0;
    position: relative
}
    #header-menu ul{
        position: absolute;
        right: 0;
    }
        #header-menu li{
            float: left;
            margin-left: 4px;
            padding-right: 4px;
            border-right: 1px solid #00AEEF;
        }
            #header-menu li a{
                color: #878787;
            }
        #header-menu .sub-menu-0{
            display: none;
        }

#header-logo{
    margin-top: 20px;
}
    #header-logo a{
        font-size: 30px;
        color: #000;
        font-weight: bold;
        letter-spacing: -2px;
    }
                    
#header-navigation {
    position: relative;
    margin-top: 15px;
}
    .qtrans_language_chooser {
        text-transform: lowercase;
        position: absolute;
        right: 0;
    }
        .qtrans_language_chooser li {
            float: left;
            margin-left: 4px;
            padding-right: 4px;
            border-right: 1px solid #00AEEF;
        }
        .qtrans_language_chooser li.last{
            border-right: 0 none;
        }
        .qtrans_language_chooser li.active a{
            text-decoration: underline;
            color: #00AEEF;
        }
            .qtrans_language_chooser li a{
                color: #878787;
            }
                .qtrans_language_chooser li a:hover{
                    color: #00AEEF;
                }

/* =Navigation
-------------------------------------------------------------- */
#navigation {
    position: relative;
    font-size: 15px;
    height: 30px;
    margin-bottom: 1px;
}
    #main-menu > ul{
        position: absolute;
        right: 0;
        z-index: 99;
    }
    #main-menu li {
        float: left;
        line-height: 20px;
        margin-left: 5px;
        position: relative;
    }
        #main-menu li.last{
            border-right: 0 none;
        }
            #main-menu li a{
                color: #3777bc;
                display: block;
                line-height: 30px;
                padding: 0 8px;
            }
                #main-menu li:hover, 
                #main-menu li.active > a, 
                #main-menu li.visible > a, 
                #main-menu .current-menu-ancestor > a {
                    background-color: #e6e6e6;
                    text-decoration: none;
                }
                #main-menu .sub-menu-0{
                    display: none;
                    border-top: 1px solid #fff;
                }
                    #main-menu .sub-menu-0 li{
                        background-color: #e6e6e6;
                        border-right: 0 none;
                        margin-left: 0;
                        width: 100%;
                        float: none;
                    }
                        #main-menu .sub-menu-0 a{
                            font-size: 12px;
                            display: block;
                            text-align: center;
                            line-height: 25px;
                            border-bottom: 1px dashed #fff;
                        }
                        #main-menu .sub-menu-0 .last a{
                            border-bottom: 0 none;
                        }
                        
                    #main-menu .sub-menu-0 > ul{
                        display: none;
                    }    
               

/* =Fil d'ariane
-------------------------------------------------------------- */
#breadcrumb{
    background-color: #3777BC;
    font-size: 10px;
    height: 12px;
    padding: 10px;
    color: #fff;
    margin-bottom: 10px;
    width: 940px;
}
    #breadcrumb li{
        float: left;
        margin-right: 2px;
    }
        #breadcrumb a{
            color: #fff;
            background: url("img/color-arrows.png") no-repeat scroll 100% -44px transparent;
            padding-right: 10px;
        }
            #breadcrumb > li a:hover{
                text-decoration: underline;
            }
            #breadcrumb li.menu-lvl-0 a:hover,
            #breadcrumb li.menu-lvl-0 a[href="#null"]{
                text-decoration: none;
            }
            #breadcrumb li.last a{
                background-image: none;
                padding-right: 0;
                cursor: pointer;
            }

/* =Menu de gauche
-------------------------------------------------------------- */               
#sidebar-left{
    border-top: 3px solid #3777BC;
    background-color: #e6e6e6;
    padding: 4px 0;
}
    #sidebar-left a{
        color: #3777BC;
        display: block;
        padding: 0 10px;
        font-size: 15px;
        margin: 8px 0;
    }
    #sidebar-left .sub-menu a{
        color: #878787;
        border-bottom: 1px solid #878787;
        font-size: 11px;
        
    }
    #sidebar-left .current-menu-parent > a,
    #sidebar-left .current-menu-item > a{
        font-weight: bold;
        color: #878787;
    }
          
/* =Main Content
-------------------------------------------------------------- */
#main-baseline{
    background-color: #3777bc;
    color: #fff;
    padding: 20px 0 15px;
    margin-bottom: 10px;
}
    #main-baseline h2{
        font-size: 40px;
        margin-left: 40px;
    }
    #main-baseline h3{
        font-size: 18px;
        margin-left: 175px;
        margin-top: 5px;
    }

.home #main{
    margin-top: 1px;
}
    
#header-page{
    background: url(img/page-header.jpg) transparent no-repeat;
    height: 111px;
    margin-top: 1px;
}
.page #main-content .thumbnail{
    margin-bottom: 10px;
}
.page #main-content .title,
.single #main-content .title{
    margin: 0 0 10px;
    font-weight: normal;
    font-size: 22px;
    color: #3777BC;
}

.home #main-content .content *{
    display: none;
}
.home #main-content .content .nivoSlider,
.home #main-content .content .nivoSlider *{
    display: block;
}
.single .content a:hover{
    text-decoration: underline;
}

.search .content,
.tag .content,
.category .content{
    background-color: #E6E6E6;
    padding: 10px;
}
.search .content input[type="text"],
.search .content textarea,
.tag .content input[type="text"],
.tag .content textarea,
.category .content input[type="text"],
.category .content textarea  {
    border-color: #878787;
}

/* =Home sidebar
-------------------------------------------------------------- */
#sidebar-home{
    margin-top: 10px;
}
#sidebar-home .widget{
    border-top: 3px solid #3777bc;
    background-color: #e6e6e6;
    padding: 10px;
    width: 212px;
	max-height:205px;	
    overflow: auto;
    margin-right: 10px;
    float: left;
}
#sidebar-home .widget.last{
    margin-left: 2px;
    margin-right: 0;
    max-height:205px;
    overflow: auto;
    
}

    #sidebar-home .widgettitle, #sidebar-home h2{
        color: #3777bc;
        font-size: 14px;
        margin-bottom: 5px;
    }
        .widget_categoryposts li{
            border-bottom: 1px dashed #fff;
            padding-top: 5px;
        }
            .widget_categoryposts li .post-title{
                margin-right: 2px;
                font-weight: bold;
                color: #3777bc;
            }
            .widget_categoryposts .has-thumbnail p{
                margin-left: 36px;
            }
            .widget_categoryposts p{
                font-size: 10px;
                margin: 4px 0 5px;
            }
            .widget_categoryposts li .post-date{
                margin: 0;
                font-size: 8px;
                display: inline;
                color: #878787;
            }
        .textwidget{
            line-height: 1.2em;
        }
        .flickr_badge_image{
            margin-right: 5px;
            margin-bottom: 3px;
            float: left;
        }
        .flickr_badge_image img{
            width: 70px;
            height: auto;
        }
        .home .flickr_badge_image img{
            width: 68px;
        }
        .flickr_badge_wrapper .last{
            margin-right: 0;
        }
        .widget_links a{
            color: #363636;
            display: block;
            margin: 3px 0;
        }

/* =Sidebar left
-------------------------------------------------------------- */
#sidebar-right .widget{
    border-bottom: 1px dashed #363636;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-left: 1px solid #E7E7E7;
    padding-left: 9px;
}
#sidebar-right .last{
    border-bottom: 0 none;
}
#sidebar-right .widget_text,
#sidebar-right .wysiwyg_widget{
    border-left: 0 none;
    border-top: 3px solid #3777bc;
    background-color: #e6e6e6;
    padding: 10px;
    border-bottom: 0 none;
}
    #sidebar-right .widgettitle{
        color: #3777bc;
        font-size: 14px;
        margin-bottom: 4px;
    }
    #sidebar-right .textwidget{
        color: #878787;
    }
        .widget_categoryposts li{
            border-bottom: 1px dashed #878787;
            padding: 8px 0;
        }
            .widget_categoryposts li .thumbnail{
                float: left;
                margin-right: 5px;
            }
            .widget_categoryposts li .post-title{
                margin-right: 2px;
                font-weight: bold;
                color: #3777bc;
            }
            .widget_categoryposts .has-thumbnail p{
                margin-left: 30px;
            }
            .widget_categoryposts p{
                font-size: 10px;
                margin: 4px 0 5px;
            }
            .widget_categoryposts li .post-date{
                margin: 0;
                font-size: 8px;
                display: inline;
                color: #878787;
            }

.content img{
    border-top: 3px solid #3777bc;
}
.content h3{
    color: #3777bc;
}
.content h4{
    color: #3777bc;
    border-top: 5px solid #3777bc;
    padding-top: 5px;
    font-size: 13px;
}

/* =Listes d'articles
-------------------------------------------------------------- */
#cat-title, .single .title{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 0;
}
#cat-desc{
    margin: 5px 0;
    color: #e20018;
}
.category .classic{
    border-top: 1px dashed #878787;
    margin: 10px 0 0;
    padding: 5px 0;
}
    .category .classic .thumbnail{
        margin: 0 5px 5px 0;
    }

.first{
    margin-bottom: 15px;
}
.first .title a{
    font-weight: normal;
    color: #E20018;
}
.title{
    font-weight: bold;
    font-size: 15px;
    margin: 5px 0;
}
    .title a{
        color: #363636;
    }
    .title a:hover{
        color: #00AEEF;
    }

#list-navigation a{
    background: url("img/color-arrows.png") no-repeat scroll 0 -93px transparent;
    padding-left: 8px;
}
    #list-navigation a:hover{
        text-decoration: underline;
    }
    #list-navigation .nav-previous{
        text-align: left;
    }
        #list-navigation .nav-previous a{
            background-position: 0 -237px;
            padding-left: 10px;
        }
    #list-navigation .nav-next{
        text-align: right;
    }
        #list-navigation .nav-next a{
            background-position: 100% -93px;
            padding-right: 8px;
        }
        
/* =Footer
-------------------------------------------------------------- */
#footer{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 4px solid #939598;
    line-height: 40px;
}
#footer .pos-0{
    padding-right: 10px;
    border-right: 1px solid #878787;
}
#footer .pos-1{
    padding-left: 10px;
    color: #878787;
}
    #footer .pos-1 p{
        line-height: 16px;
    }
        #footer .blue{
            color: #3777BC;
        }

#footer .phone{
    background: url("img/small-phone.png") no-repeat scroll left center transparent;
    color: #E20018;
    margin-left: 2px;
    padding-left: 16px;
}


/* =Slider
-------------------------------------------------------------- */
.nivo-controlNav {
    position: absolute;
    right: 10px;
    top: 5px;
}
.nivo-controlNav a {
    display: block;
    width: 18px;
    height: 22px;
    background:url(img/bullets.png) no-repeat 0 -22px;
    text-indent: -9999px;
    border: 0;
    float: left;
}
.nivo-controlNav a.active {
    background-position: 0 0;
}