/* 2016 Style Sheet */
body {
    font-family: 'Open Sans', Verdana, sans-serif;
    background-color: #f0f0f0;
    background-image: linear-gradient(to bottom, #e0e0e0, #f0f0f0);
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 980px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

/* Header */
header {
    background: #337ab7; /* Bootstrap Primary Blue-ish */
    background: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
    background: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
    color: #fff;
    padding: 20px;
    border-bottom: 4px solid #1d4e75;
}

header h1 {
    margin: 0;
    font-size: 36px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

header p {
    font-size: 14px;
    margin: 5px 0 0;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: #f8f8f8;
    border-bottom: 1px solid #e7e7e7;
    padding: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav ul li {
    float: left;
    border-right: 1px solid #ddd;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #555;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
    transition: background 0.2s;
}
.sidebar-title {
    font-weight: bold;
}

nav ul li a:hover, nav ul li a.active {
    background: #e7e7e7;
    background: linear-gradient(to bottom, #fff 0%, #e7e7e7 100%);
    color: #333;
}

/* Main Layout */
.main-wrapper {
    display: flex;
    padding: 20px;
}

.content {
    flex: 3;
    padding-right: 20px;
}

.sidebar {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

/* Typography & Elements */
h1, h2, h3 {
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

h2 {
    font-size: 24px;
    margin-top: 0;
    background: linear-gradient(to right, #f9f9f9, #fff);
    padding: 5px 10px;
    border-left: 5px solid #337ab7;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

ul.feature-list {
    list-style: square;
    padding-left: 20px;
}

ul.feature-list li {
    margin-bottom: 8px;
}

/* Sidebar Elements */
.sidebar-widget {
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    font-size: 16px;
    text-transform: uppercase;
    color: #d9534f; /* Bootstrap Danger Red-ish warning color for contrast */
    border-bottom: 2px solid #d9534f;
    padding-bottom: 5px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    border-bottom: 1px dashed #ccc;
    padding: 8px 0;
}

.sidebar-links li a {
    color: #337ab7;
    text-decoration: none;
}

.sidebar-links li a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: #ccc;
    padding: 20px;
    text-align: center;
    border-top: 5px solid #555;
    font-size: 12px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

/* Responsive-ish fix for mobile keeping the 980px layout scales down or wraps */
@media (max-width: 1000px) {
    .container {
        width: 100%;
        box-shadow: none;
    }
    .main-wrapper {
        flex-direction: column;
    }
    .content {
        padding-right: 0;
    }
    .sidebar {
        margin-top: 20px;
    }
}
