﻿/* General*/
.clear{
    clear:both;
}

.right, html[dir=rtl] .left
{
    float:right;
}

.left, html[dir=rtl] .right
{
    float:left;
}

ul 
{
    list-style-type:none;
}

a {
	color: #06c;
}

img.flag
{
    margin-top: 5px;
    margin-right: 10px;
    border:1px solid #ccc;
    vertical-align: middle;
}

.record .country-name
{
    font-weight:bold;
    font-size:16px;
    vertical-align: sub;
}

input.placeholder,
textarea.placeholder
{
    color:#ccc;
}

.action-by
{
    font-style:italic;
}
.action-by-date
{
    color:Red;
}

img.doc-icon {
	vertical-align: text-bottom;
	margin-right: 8px;
}

.t-langMenu li b
{
    font-weight: bolder;
    color: #666;
    font-family: Sans-Serif;
    font-size: 14px;
}

/* Criteria */
#criteria 
{
    border: none;
}

#criteria h2 {
    color: #000;
    font-size: 15px;
    margin: 10px 0;
    font-weight:bold;
    margin-left:8px;

}


.criterion .change a img{
	padding: 3px;
	border: 1px solid transparent;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease; 
	
}

.criterion .change a:hover img {
	border-color:darkGray;
	background:white;
}

.criterion .condition-container .change a img {
	margin-top: 6px;}



.criterion li.date-range input.hasDatepicker
{
    width:70px;
    margin-left:1em;
}

.criterion a.search-button
{
    font-weight: bold;
}

#option-selector{
    display:none;

}

#option-selector select.multiple
{
    width:100%;
    height:240px;
}

#option-selector .column 
{
    float:left;
    width:295px;
}

#option-selector a.submit, #option-selector a.close
{
    background-color: white;
    border: 1px solid #B4B4B4;
    color: #747474;
    line-height: 32px;
    padding: 2px 7px;
}

#option-selector h3.cmsH3
{
    font-size: 16px;
    font-family: Sans-Serif;
    color: #009B48;
    font-weight: normal;
    border: 0;
    margin: 10px 0 5px;
}

/* ajax loader */
.ajax-loader 
{
    position:absolute;
    
}
.ajax-loader img
{
    display:none;
}
.ajax-loader.loading img
{
    display:block;
    position:relative;
    left: 300px;
    top: 40px;
}

/* Tabs*/

ul.tabs-nav li
{
    display:inline;
    float:left;
    padding:5px;
    margin:5px;
    border:1px solid #ccc;
    border-bottom:none;
}

.tabs .tab 
{
    display:none;
}
.tabs .active
{
    display:block;
}

.tabs .column
{
    float:left;
    width:350px;
}


/* Results*/

#g-results,
#kb-results
{
	background-color: #e6e6e6;
	padding: 12px;
}
#g-results
{
    margin-top: 15px;
}

#kb-results .result-count {
	padding-top: 8px;
	padding-bottom: 7px;
	line-height: 28px;
	padding-left: 12px;
}

.g-search-info 
{
    padding-left: 12px;
}

#kb-results .order-by {
	float: right;
	display: block;
}
html[dir=rtl] #kb-results .order-by {
	float: left;
	display: block;
}
#kb-results .order-by a {
	padding-top: 8px;
	padding-right: 16px;
	padding-bottom: 7px;
	padding-left: 16px;
	display: inline;
	line-height: 28px;
	text-decoration: underline;
}
#kb-results .order-by a.actuel {
	background-color: #009B48;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	
	border-radius:1px;    /* for Safari */
}
#kb-results .order-by strong {
	padding-right: 10px;
}
#kb-results .order-by .actuel.up {
	background-image: url(Images/sort_up.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

#kb-results .order-by .actuel.down {
	background-image: url(Images/sort_down.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

 #kb-results .column.column-id h5 {
	line-height: normal;
	color: #009B48;
}

#g-results h2,
#kb-results h2 {
	color: #009B48;
	font-size: 24px;
	margin-top: 5px;
}
#g-results .header-g-results,
#kb-results .header-kb-results {
	background-color: #FFF;
	padding-top: 14px;
	height: 42px;
	clear: both;
	margin-bottom: 7px;
	background-image: url(Images/discrete_fade1.jpg);
	background-repeat: repeat-x;
	background-position: left center;
	margin-top: -12px;
	margin-right: -12px;
	margin-left: -12px;
}

#kb-results h2 span {
	font-weight: bold;
	margin-right: 4px;
}


.result-row
{
	border: none;
	background-color: #fff;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 7px;
	margin-left: 0;
	padding-top: 10px;
	padding-right: 3px;
	padding-bottom: 9px;
	padding-left: 3px;
	border-radius:3px;    /* for Safari */
}
.result-row .column.column-summary p {
	margin-bottom: 12px;
}
.result-row .column.column-summary h3 {
	font-weight: bold;
}

.result-row .column.column-id p.date {
	white-space: nowrap;
}

.result-row h3, .result-row h3 a
{
    font-weight:bold;
}

.result-row .column
{
    float:left;
    margin: 5px 0 5px 10px;
}

html[dir=rtl] .result-row .column
{
    float:right;
    margin: 5px 5px 0 10px;
}

.result-row .column-icon
{
    width:80px;
}
.result-row .column-id
{
    width:100px;
    text-align:center; 
}
.result-row .column-summary
{
    width:444px;
    margin-right:10px;
}
html[dir=rtl] .result-row .column-summary
{
    margin-left:10px;
}

/* Result Pager */

.pager {
	background-color: transparent;
	display: block;
	clear: both;
	margin-top: 3px;
	margin-bottom: 3px;
}

.pager ul
{
    text-align: center;
    list-style-type:none;
    margin:0;
    padding:0;
}
.pager ul li
{
    display:inline;
}
.pager ul li a {
	color: #747474;
	line-height: 32px;
	padding-top: 2px;
	padding-right: 7px;
	padding-bottom: 2px;
	padding-left: 7px;
}
.pager ul li.actuel a {
	background-color: #f0f0f0;
	border: 1px solid #b4b4b4;
}

.pager .currentPage {
	float: right;
	padding-top: 8px;
}

html[dir=rtl] .pager .currentPage {
	float: left;
}

.pager .current {
	float: left;
	width: auto;
	padding-top: 8px;
}
html[dir=rtl] .pager .current {
	float: right;
}

#criteria h3, #CRightContainer h3 {
	font-size: 12px;
	color: #000;
	font-weight: bold;
	background-color: #e6e6e6;
	font-family: sans-serif;
	padding: 8px;

}


#CRightContainer p {
	padding: 10px;
	padding-right: 18px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #dddddd;
}

ul.condition-container li, #CRightContainer ul li {
	padding: 10px;
    padding-right: 18px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #dddddd;
	position:relative;
}
ul.condition-container li div.change, #CRightContainer ul li div.change {
	position:absolute;
	top:0;
	right:3px;
	left: auto;
}
html[dir=rtl] ul.condition-container li div.change, html[dir=rtl] #CRightContainer ul li div.change {
	position:absolute;
	top:0;
	left:3px;
	right: auto;
}

/*  Record */

.record article p 
{
    margin-bottom:1em;
}

img.record-thumbnail  
{
    width:149px;
    display:block;
    margin:1em auto;
    
}

/*jQuery UI */

.ui-dialog {
    -moz-box-shadow: 10px 10px 5px #333;
    -webkit-box-shadow: 10px 10px 5px #333;
    box-shadow: 10px 10px 5px #333;
}

.ui-dialog-title 
{
    font-size:16px;
}

.ui-datepicker
{
    margin-left: 80px;
    margin-top: -24px;
}

/* */

div.cmsTab
{
    margin-top: 20px;
}

ul.cmsTab
{
    height: 32px; /* extra pixel to match li's top border */
    border-bottom: 1px solid #CCC;
    list-style: none;
    margin-bottom:10px;
}
body.t-dirRtL ul.cmsTab
{
    padding-right: 10px;
}

ul.cmsTab > li
{
    font-weight: bold; 
    color: #333;
    cursor: pointer;
    
    margin: 0px 4px; 
    padding: 0px 8px;
    white-space: nowrap;
    border: 1px solid #CCC; /* match the whole row's */
    float: left;
    line-height: 30px;
    -moz-border-radius: 7px 7px 0px 0px;
    border-radius: 7px 7px 0px 0px;
    background-color: #E6E6E6;

}

body.t-dirRtL ul.cmsTab > li {
    float: right;
}

ul.cmsTab > li > a
{
    text-decoration: none;
    font-weight: bold;
    color: #333;
    cursor: pointer;    
}

ul.cmsTab > li.cmsTabCurrent,
ul.cmsTab > li.cmsTabCurrent:hover,
ul.cmsTab > li.cmsTabCurrent:hover > a,
ul.cmsTab > li.cmsTabCurrent > a,
ul.cmsTab > li.cmsTabCurrent > a:hover
{
    text-decoration: none; 
    color: #000;
    background-color: #FFF;
    border-bottom: 1px solid #FFF;
}

ul.cmsTab > li:hover,
ul.cmsTab > li:hover > a ,
ul.cmsTab > li > a:hover
{
    text-decoration: none; 
    color: #FFF;
    background-color: #009B48;
    border-bottom: 1px solid #009B48;
}

/* CSS Fixes 2012-05 */
h3 
{
    font-size: 100%; /* To fix CMS legacy settings of 145% */
}

h1, h2, h3, h4, h5
{
    font-family: Sans-Serif; /* Title */
}

div.g-search 
{
    padding-bottom: 5px;
}

ul.cmsListBullet
{
      list-style-image: url("http://www.cbd.int/images/bullet.gif") !important;
}

table.recordInformation
{
    border: 0;
    border-collapse: collapse;
    width: 100%; 
}

.recordInformation tr
{
    border-bottom: 1px solid #E8E8E8; 
    height: 1.8em;
}

.recordInformation td:first-child
{
    padding-left: 10px;
    font-weight: bold;
}

.t-langMenu
{
    display: none;