/* CSS for SValley Farming Co. Ltd. - Vintage 2007 / Web 2.0 Style */

body {
    background-color: #E0E0E0;
    /* Light gray background common in Web 2.0 */
    background-image: linear-gradient(to bottom, #CCCCCC 0%, #E0E0E0 100%);
    /* Subtle gradient */
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
    font-size: 13px;
    color: #333333;
    margin: 0;
    padding: 20px 0;
}

a {
    color: #2E8B57;
    /* SeaGreen - fresher look */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #FF8C00;
    /* DarkOrange */
}

#container {
    width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border: 1px solid #999999;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    /* Drop shadow! Very 2007 */
    border-radius: 5px;
    /* Rounded corners creeping in */
}

#header {
    height: 150px;
    background-color: #87CEEB;
    background-image: url('images/header.png');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 4px solid #FFA500;
}

#header h1 {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px #000000;
    /* Text shadow */
    font-size: 36px;
    margin: 0;
    letter-spacing: 1px;
}

/* Glossy Navigation Bar */
#nav-bar {
    background: url('http://upload.wikimedia.org/wikipedia/commons/1/13/Button_Glossy_Blue.png') repeat-x;
    /* Fallback/Concept */
    background: linear-gradient(to bottom, #76c646 0%, #4c9e1e 100%);
    /* Green glossy gradient */
    height: 40px;
    border-bottom: 1px solid #367216;
}

#nav-bar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 40px;
    padding-left: 20px;
}

#nav-bar li {
    float: left;
    margin-right: 2px;
}

#nav-bar a {
    display: block;
    padding: 0 20px;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 1px #336600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

#nav-bar a:hover {
    background: linear-gradient(to bottom, #86d656 0%, #5cae2e 100%);
}

#main-wrapper {
    overflow: hidden;
    /* Clear floats */
    padding: 20px;
}

#sidebar {
    float: left;
    width: 200px;
    background-color: #F8F8F8;
    border: 1px solid #DDDDDD;
    padding: 10px;
    border-radius: 4px;
}

.sidebar-box {
    margin-bottom: 20px;
}

.sidebar-box h3 {
    background: linear-gradient(to bottom, #eeeeee 0%, #cccccc 100%);
    padding: 5px 10px;
    margin: 0 0 10px 0;
    border: 1px solid #bbbbbb;
    border-radius: 3px;
    font-size: 12px;
    color: #333;
}

#content {
    margin-left: 240px;
}

h2 {
    color: #4c9e1e;
    /* Matching the nav green */
    font-size: 20px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
    margin-top: 0;
}

.content-section {
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    background: linear-gradient(to bottom, #ffbd4a 0%, #ff8c00 100%);
    /* Orange glossy button */
    padding: 10px 20px;
    color: #FFF;
    font-weight: bold;
    border-radius: 15px;
    /* Pill button */
    border: 1px solid #cc7000;
    text-shadow: 1px 1px 0 #cc7000;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
    background: linear-gradient(to bottom, #ffcc6a 0%, #ff9c10 100%);
    text-decoration: none;
    color: #FFF;
}

#footer {
    clear: both;
    background-color: #F0F0F0;
    color: #666666;
    padding: 15px;
    text-align: center;
    font-size: 11px;
    border-top: 1px solid #CCCCCC;
}

.glossy-img {
    border: 4px solid #FFF;
    box-shadow: 1px 1px 5px #ccc;
    transform: rotate(2deg);
    /* Slightly jaunty angle, very Web 2.0 */
}