/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Clearfix */

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/* Webfont */

@font-face {
    font-family: 'CallunaSans-Regular';
    src: url('../webfonts/23C606_0_0.eot');
    src: url('../webfonts/23C606_0_0.eot') format('embedded-opentype'), url('../webfonts/23C606_0_0.woff') format('woff'), url('../webfonts/23C606_0_0.ttf') format('truetype');
}

/*
*/

html {
    z-index: 0;
    background: url(../images/background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    font-size: 14px;
    line-height: 18px;
}

a {
    color: #113388;

}

p {
    line-height: 18px;
    margin-bottom: 10px;
}

h2 {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

html>/**/body #grid {
    position: fixed;
    z-index: 50;
    background: url(../images/grid_black.png);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#frame {
    width: 990px;
    margin: auto;
    z-index: 100;
    position: relative;
}

#header {
    background: #fff;
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 12px;
    position: relative;
    height: 150px;
}

#header img {
    position: absolute;
    top: 31px;
    left: 83px;
}

#header p {
    position: absolute;
    top: 97px;
    left: 407px;
}

#nav {
    margin: 3px 0 0 0;
}

#nav ul {
    margin: 0;
    padding: 0;
}

#nav li {
    display: block;
    width: 195px;
    float:left;
    margin: 0;
    padding: 0;
}

#nav li a {
    display: block;
    background: #fff;
    margin: 0 0 3px 3px;
    padding: 31px 0 0 14px;
    width: 178px;
    float: left;
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    color: #113387;
    font-size: 20px;
    line-height: 1.1;
    text-decoration: none;
    height: 69px;
}

#nav li.active a {
    margin-top: 3px;
    margin-bottom: 0;
    color: #333;
}

#nav li a:hover {
    color: #F1701A;
    border-top: 3px solid #F1701A;
    margin-bottom: 0;
    margin-top: 0;
}

#nav li.first {
    width:12px;
}

#nav li.first a {
    margin-left: 0;
    width: 12px;
    padding: 0;
    height: 100px;
}

#nav li.first a:hover {
    cursor:default;
    border:0;
}

#nav li.last a {
    width: 181px;
}

#content {
    clear: left;
    background: #fff;
    padding: 60px 15px 60px 10px;
}

#sidebar {
    width: 310px;
    margin-right: 15px;
    float: left;
    padding-top: 62px;
}

#main2 {
    width: 930px;

}

#main2 h1 {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 30px;
    line-height: 40px;
    color: #000;
    margin-bottom: 20px;

}

#main2 h1 a {
    color: #000;
    text-decoration: none;
}

#main {
	width: 555px;
	padding-right: 15px;
    float: left;
}

#main h1 {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 30px;
    line-height: 40px;
    color: #000;
    margin-bottom: 20px;
}

#main h1 a {
    color: #000;
    text-decoration: none;
}

.page-id-2730 #main {
    width: 820px;
    padding-right: 15px;
    float: left;
}

.page-id-2730 #main h1 {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 30px;
    line-height: 40px;
    color: #000;
    margin-bottom: 20px;
}

.page-id-2730 #main h1 a {
    color: #000;
    text-decoration: none;
}

#full {
    width: 750px;
    padding-right: 0px;
    float: left;
}

#full h1 {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 30px;
    line-height: 40px;
    color: #000;
    margin-bottom: 20px;
}

#full h1 a {
    font-size: 30px;
    line-height: 40px;
    color: #000;
    margin-bottom: 20px;
}

#footer {
    background: #fff url(../images/grid.png);
    padding: 60px 0;
}

#footer img {
    margin-left: 15px;
    float: left;
}

#footer h4 {
    margin-right: 15px;
	margin-top: 15px;
}

/*
    Accordion
*/

.accordion {
    margin-top: 30px;
}

.accordion li {
    margin-bottom: 20px;
}

.accordion h2 {
    color: #113386;
    line-height: 29px;
    background: url(../images/arrow_list.png) no-repeat;
    padding-left: 35px;
}

.accordion h2:hover {
    cursor: pointer;
}

.accordion li h2.active {
    background-image: url(../images/arrow_list_down.png);
}

/*
    News
*/

.news h2 {
    font-size: 30px;
    line-height: 1.1;
}

.news h2 a {
    color: #000;
    text-decoration: none;
}

.news h2 a:hover, .news .over h2 a {
    color: #F1701A;
}

.news h1 {
    text-transform: uppercase;
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 15px !important;
    padding: 0;
    margin: 0;
    line-height: 1.1;
    color: #333;
}

.news .date {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 20px;
    line-height: 1.1;
    color: #333;
}

.news .back {
    background: url(../images/arrow_back.png) no-repeat;
    padding-left: 20px;
}

.news .caption {
    font-size: 12px;
    color: #333;
    margin-bottom: 10px;
}

#main.news > div {
    background: url(../images/divider.png) no-repeat;
    padding-top: 10px;
    margin-bottom: 20px;
}

#main.news > div.pagination {
    background: none;
}

.wp-post-image {
    margin-bottom: 10px;
}

#sidebar.news, #main.news {
    padding-top: 0;
    margin-top: 0;
}

.more, #id-9 .right a {
    color: #113388;
    text-decoration: none;
    background: url(../images/arrow.png) no-repeat;
    padding-left: 20px;
    margin-left: 10px;
}

.more:hover, .over .more, #id-9 .right a:hover {
    color: #F1701A;
    background-image: url(../images/arrow_hover.png);
}

/*
    Downloads/Publications
*/

.news .downloads h3 {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
}

.news .downloads li {
    height: 60px;
    padding-top: 20px;
    background: url(../images/grid_blue.png);
    color: #113388;
    margin-bottom: 5px;
}

.news .downloads li.over {
    background-image: url(../images/grid_orange.png);
}

.news .downloads li div a {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
    padding-bottom: 10px;
}

.news .downloads li div {
    padding-left: 60px;
    background: url(../images/document_list.png) no-repeat 20px -2px;
    height: 60px;
}

#sidebar.news h1 {
    margin-bottom: 22px;
    line-height: 40px;
}

#sidebar.news .downloads li {
    height: 100px;
    width: 280px;
}

/*
*/

.social {
    width: 400px;
    float: right;
    background: none !important;
    text-align: right;
    padding-top: 5px !important;
}

/* */

.over {
    cursor: pointer;
}

/*
    Home page
*/

#id-37 #sidebar {
    padding-right: 10px;
    padding-top: 0;
    width: 290px;
}

#id-37 #sidebar h1 {
    margin-bottom: 20px;
}

#id-37 #sidebar h1 a {
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 30px;
    color: #000;
    text-decoration: none;
}

#home-interactive {
    position: relative;
    width: 536px;
    height: 430px;
}

#home-interactive .button {
    width: 79px;
    height: 43px;
    background: url('../images/home_illustration_button.png') no-repeat;
}

#home-interactive .button:hover {
    background-image: url('../images/home_illustration_button_hover.png');
}

#home-interactive #more-83 {
    position: absolute;
    top: 115px;
    left: 276px;
}

#home-interactive #more-82 {
    position: absolute;
    top: 260px;
    left: 75px;
}

#home-interactive #more-81 {
    position: absolute;
    top: 338px;
    left: 314px;
}

#home-interactive .overlay li {
    position: absolute;
    display: none;
    top: 50px;
    left: 31px;
    width: 480px;
    height: 318px;
    background: #fff url('../images/grid_blue.png');
    -webkit-box-shadow: 3px 3px 4px rgba(50, 50, 50, 0.4);
    -moz-box-shadow:    3px 3px 4px rgba(50, 50, 50, 0.4);
    box-shadow:         3px 3px 4px rgba(50, 50, 50, 0.4);
}

#home-interactive .overlay .close {
    position: absolute;
    top: 18px;
    left: 412px;
    text-decoration: underline;
    z-index: 200;
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 15px;
}

#home-interactive .overlay .content {
    position: absolute;
    top: 20px;
    left: 170px;
    width: 290px;
}

#home-interactive .overlay .illustration {
    position: absolute;
    top: 15px;
    left: 15px;
}

#home-interactive .overlay h2 {
    font-family: CallunaSans-Regular, sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    width: 200px;
}

.big-arrow {
    width: 210px;
    height: 50px;
    padding-left: 30px;
    background: url(../images/arrow_big.png) no-repeat;
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 20px;
    line-height: 50px;
    color: #000;
    margin-top: 20px;
}

/*
    Interactive map
*/

#map {
    width:555px;
    height:340px;
    position: relative;
    background: url(../images/map.png) no-repeat;
}

#map .overlay li {
    position: absolute;
    display: none;
    top: 50px;
    left: 31px;
    width: 440px;
    height: 240px;
    padding:20px;
    overflow:auto;
    background: #fff url('../images/grid_blue.png');
    -webkit-box-shadow: 3px 3px 4px rgba(50, 50, 50, 0.4);
    -moz-box-shadow:    3px 3px 4px rgba(50, 50, 50, 0.4);
    box-shadow:         3px 3px 4px rgba(50, 50, 50, 0.4);
}

#map .overlay .close {
    position: absolute;
    top: 18px;
    left: 412px;
    text-decoration: underline;
    z-index: 200;
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 15px;
}


#map .overlay h2 {
    font-family: CallunaSans-Regular, sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    width: 200px;
    background:none;
    padding:0;
    color:#333;
}

#map a.country-handle{
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size:15px;
    color:#113387;
    position: absolute;
}

#map #more-bangladesh {
    top:53px;
    left:183px;
}

#map #more-india {
    top:147px;
    left:74px;
}

#map #more-thailand {
    top:162px;
    left:174px;
}

#map #more-vietnam {
    top:125px;
    left:290px;
}

#map #more-cambodia {
    top:192px;
    left:269px;
}

#map #more-philippines {
    top:173px;
    left:393px;
}

#map #more-indonesia {
    top:281px;
    left:244px;
}



/*
    Partners page
*/

#id-9 .left {
    width: 280px;
    background: url(../images/grid_blue.png);
    float: left;
    padding: 15px 15px 0 15px;
    margin-right: 15px;
    height: 165px;
}

#id-9 .right {
    padding: 15px;
    line-height: 18px;
}

#id-9 #content li {
    clear: left;
}

/*
    What RIICE Does page
*/

.tabs ul li {
    width: 310px;
    height: 100px;
    background: url(../images/tab.png) no-repeat;
    margin-bottom: 5px;
    position: relative;
    font-family: "CallunaSans-Regular", "Trebuchet MS", sans-serif;
    font-size: 20px;
    color: #113388;
}

.tabs ul li.over {
    background-image: url(../images/tab_hover.png);
}

.tabs ul li.active, .tabs ul li.active.over {
    background-image: url(../images/tab_active.png);
}

.tabs ul li a {
    width: 180px;
    height: 50px;
    position: absolute;
    top: 33px;
    left: 100px;
    display: block;
    text-decoration: none;
}

.tabs ul img {
    position: absolute;
    top: 11px;
    left: 10px;
}

.tabs ul li div.img img {
    vertical-align: middle;
}

#sidebar.tabs {
    padding-top: 0;
}
