/* Style for Le Samourai 2 page website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #F0F0F0;
    font-family: 'Merriweather', serif;
    background-image: url(../images/background1.png);
    background-attachment: fixed;
}

#wrapper {
    background: rgba(51, 63, 79, 0.9);
    margin: 214px auto 20px;
    width: 940px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

header {
    background: #3a4557;
    color: #fff;
    padding-top: 11px;
    position: fixed;
    width: 100%;
    text-align: center;
    top: 0;
    left: 0;
}

.inner-header {
    width: 940px;
    margin: 0 auto;
}


#logo {
    display: inline;
    padding-bottom: 6px;
}

#primary {
    height: 45px;
    line-height: 45px;
    background: #34495E;
    color: #fff;
    text-align: center;
}

#primary ul {
    width: 1000px;
    margin: 0 auto;
}

#primary li {
    list-style-type: none;
    font-size: 1.2em;
    float: left;
    width: 50%;
    text-align: center;
}

#primary a {
    text-decoration: none;
    color: #ECF0F1;
    display: block;
    padding: 0 15px;
}

#primary a:hover, #primary a.active {
    background: #566573;
    color: #fff;
}

.home #primary li:nth-child(1) a,
.big #primary li:nth-child(2) a 
{
    background: #2b3e5c;
    color: #fff;
}

main {
    width: 580px;
    float: left;
    padding: 0 20px;
    margin-top: 20px;
}

p, a {
    color: #cad2d3;
}

img.right {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

img.left {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.center {
    margin: 20px auto;
    display: block;
    text-align: center;
}

aside {
    background: rgba(44, 50, 69, 0.9);
    width: 330px;
    padding: 20px;
    float: right;
    margin-top: 20px;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
    height: 50px;
    line-height: 50px;
    background: #3a4557;
    border-top: 1px dotted #666;
    clear: both;
    font-size: .9em;
}

footer ul {
    margin-left: 20px;
}

footer li {
    list-style-type: none;
    float: left;
    margin-right: 30px;
    color: #cad2d3;
}

footer li img {
    margin-top: 10px;
}

footer a {
    color: #cad2d3;
}

img + p {
    margin: 15px 0 20px 0;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3 {
    margin-bottom: 8px;
    font-family: 'Raleway', sans-serif;
    line-height: 1.25;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

h1 {
    font-weight: 200;
    font-size: 2.5em;
}

h2 {
    font-weight: 200;
    font-size: 2em;
}

h3 {
    font-size: 1.75em;
    font-weight: 200;
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.4;
}

aside p {
    font-size: 1em;
}