/**
 * Tatoeba Project, free collaborative creation of multilingual corpuses project
 * Copyright (C) 2010  HO Ngoc Phuong Trang <tranglich@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http: //www.gnu.org/licenses/>.
 */


/*
 * Fonts
 */

body, select, input, textarea {
  font-family: "Average Sans", sans-serif;
}

h1, h2, h3, h4 {
    font-family: "Overlock", sans-serif;
}

pre, code {
    font-family: "Droid Sans Mono", monospace;
}


/*
 * Generic
 */

body {
    padding: 0px;
    margin: 0px;
    color: #222222;
    background: #e5e3da;
}

h1 {
    font-size: 2em;
    color: #000;
}

h2 {
    font-size: 1.6em;
    color: #333;
}

h3 {
    font-size: 1.4em;
    color: #666;
}

h4 {
    font-size: 1.2em;
    margin-bottom: -10px;
    color: #999;
}

h1 {
    text-shadow: 0px 1px 0px #aaa;
}

a img {
    border: none;
}

a {
    color: #08F;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    color: #F80;
}

table {
    border-collapse: collapse;
    width: 100%;
}

fieldset {
    border: none;
}

dt {
    font-weight: bold;
}


/*
 * Menu
 */

#top_menu {
    height: 30px;
    width: 960px;
    margin: auto;
    overflow: hidden;
}

#top_menu a {
    color: #FFFFFF;
}

#top_menu a:hover {
    color: #F80;
}



/* 
 * Login
 */

#user_menu {
    float: right;
}

#top_menu_container {
    background-color: #414141;
    border-bottom: 1px solid #000000;
}


/*
 * Menu items
 */

#top_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#top_menu li {
    float: left;
    padding: 0px;
}

#top_menu .menuSection{
    display:block;
    line-height:30px;
    margin:0px;
    padding:0px 10px;
    text-align:center;
    text-decoration:none;
}

#top_menu li a:hover, #top_menu ul li:hover a{
    text-decoration:none;
}

#top_menu li ul{
    background:#414141;
    display:none;
    height:auto;
    padding:0px;
    margin:0px;
    border:0px;
    position:absolute;
    width:225px;
    z-index:200;
}

#top_menu li:hover ul{
    display:block;
}

#top_menu li li {
    border-top: 1px solid #555;
    display:block;
    float:none;
    margin:0px;
    padding:0px;
    width:225px;
}

#top_menu li:hover li a {
    background:none;
}

#top_menu li ul a {
    display:block;
    margin:0px;
    padding:7px 10px;
    text-align:left;
}

#top_menu li ul a:hover, #top_menu li ul li:hover a {
    border:0px;
    text-decoration:none;
}

#top_menu .show {
    font-weight: bold;
}

.menuItem img {
    margin-left: 2px;
}


/* 
 * Header
 */

#header {
    display: none;
}


/*
 * Container
 */

#container1 {
    width: 960px;
    margin: auto;
    background-color: #fff;
    box-shadow: 0px 0px 5px 5px rgba(50, 50, 50, 0.3);
}

#container {
    width: 100%;
    min-height: 550px;
}


/*
 * Modules
 */

.module {
    padding: 10px 10px 5px 10px;
    margin: 0px 0px 20px 0px;
    color: #333;
    overflow: hidden;
}


/* 
 * Main content
 */

#main_content {
    float: left;
    width: 70%;
}

#main_content h2 {
    margin-top: 30px;
    border-bottom: 1px solid #ddd;
}

#main_content h3 {
    margin-top: 30px;
}

#main_content .module {
    padding: 10px 30px;
}


/* 
 * Annexe content
 */

#annexe_content {
    float: right;
    width: 30%;
}

#annexe_content .module {
    background-color: #f1f1f1;
    margin: 20px 15px;
    padding: 5px 10px;
    border-radius: 10px;
}

#annexe_content h2 {
    margin: 0px;
    padding: 0px;
}

#annexe_content ul {
    margin: 5px 0px;
    padding-left: 0px;
    list-style-type: none;
}

#annexe_content ul ul {
    padding-left: 20px;
    list-style-type: square;
}

#annexe_content ul ul ul {
    padding-left: 20px;
    list-style-type: circle;
}

#annexe_content ul ul li a {
    position: relative;
}
.annexeMenu {
   text-indent: 0px;
}


/*
 * Footer 
 */

#footer {
    background: #e3e0d6;
    clear: both;
}

#footer_container {
    width: 960px;
    height: 24px;
    margin: auto;
    padding: 0px 10px;
}

#footer a {
    color: #3d3d3d;
    cursor: pointer;
    text-decoration: none;
}

#footer ul {
    margin: 0;
    display: block;
    font-size: 80%;
}

#footer li {
    display: block;
    height: 30px;
    line-height: 30px;
    text-align: right;
    list-style: none;
    padding-left: 10px;
    padding-right: 10px;
}


/*
 * Flash message
 */

#flashMessage, #authMessage {
    margin: 20px 10px;
    padding: 10px;
    background: #FE8;
    text-align: center;
    border-radius: 5px;
}


/*
 * Warning
 */

.warning {
    font-size: 15px;
    padding: 10px;
    margin: 10px 0px;
    border: 1px solid #FFC1B5;
    background-color: #FFDDD6; 
    color: #D1523C;
}


/*
 * Temp for the search input in the nav bar
 */

.search-query {
    float: right;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    margin-top: 4px;
    padding: 1px 10px;
}


/*
 * Code
 */

pre {
    color: #ddd;
    background: #444;
    border-left: 5px solid #777;
    padding: 10px;
    white-space: pre-wrap;
    font-size: 12px;
}

pre code {
    padding: 0px;
    background: none;
    color: #ddd;
}

code {
    color: #fff;
    background: #666;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
}