/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: rgba(0,0,0,0.2);
}
::-webkit-scrollbar:hover {
    background-color: rgba(0,0,0,0.3);
}
::-webkit-resizer {
    -webkit-border-radius: 4px;
    background-color: rgba(255,255,255,0.5);
}
::-webkit-scrollbar-thumb {
    min-height: 8px;
    min-width: 8px;
    background-color: rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.6);
}
::-webkit-scrollbar-thumb:active {
    background-color: rgba(0,0,0,0.7);
}

/* General body styling */
body {
    background: url("./background.jpg") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: #313131;
    color: #000305;
    font-size: 13px; 
    font-family: 'Lucida Sans', Arial, sans-serif;
    line-height: 13px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.body {
    clear: both; 
    margin: 0 auto;
    width: 70%;
}

h1 {
    color: #fff;
    font-size: 28px; 
    font-family: 'Lobster', 'Lucida Sans', Arial, sans-serif;
    line-height: 28px;
    text-align: right;
    float: right;
    margin: 30px 30px 0 0;
}    

h2 { font-size: 22px }
h3 { font-size: 20px }
h4 { font-size: 18px }
h5 { font-size: 16px }
h6 { font-size: 14px }

h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 15px;
    margin-bottom: 5px;
}

a {
    outline: 0;
}

a img {
    border: 0px; 
    text-decoration: none;
}

a:link, a:visited {
    color: #CF5C3F;
    padding: 0 1px;
    text-decoration: none;
}

a:hover, a:active {
    background-color: rgba(207,92,63,0.5);
    color: #fff;
    text-decoration: none;
}

/* Header styles */
.header nav {
    background: rgba(0,0,0,0.3);
    font-size: 1.143em;
    height: 40px;
    line-height: 30px;
    margin: 0 auto 30px auto;
    text-align: center;
    border-radius: 5px;
}
    
.header nav ul {
    list-style: none; 
    margin: 0 auto;
}

.header nav ul li {
    float: left; 
    display: inline; 
}
    
.header nav a:link, .header nav a:visited {
    color: #fff;
    display: inline-block;
    height: 30px;
    padding: 5px 23px;
    text-decoration: none;
}
.header nav a:hover, .header nav a:active,
.header nav .active a:link, .header nav .active a:visited {
    background-color: rgba(207,92,63,0.5);
    color: #fff;
    text-shadow: none !important;
}

.header nav li a {
    border-radius: 5px;
}

.header img {
    width: 30%;
    height: auto;
    margin: 3% 0;
}

/* Main content and sidebar layout */
.mainContent {
    overflow: hidden;
    line-height: 25px;
    border-radius: 5px;
}

.content-1, .content-2 {
    background-color: rgba(255,255,255,0.8);
    border-radius: 5px;
    padding: 3% 5%;    
    margin-bottom: 3%;
}

.content {
    width: 68%;
    float: left;
}

.post-from {
    font-style: italic;
    color: #999;
    font-size: 85%;
}

.sidebar-1, .sidebar-2, .sidebar-3 {
    width: 24%;
    float: left;
    margin-left: 2%;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.8);
    padding: 2% 3%;
    margin-bottom: 2%;
}

/* Footer styles */
.footer {
    width: 100%;
    float: left;
    margin-top: 2%;
    margin-bottom: 2%;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
    color: #FFF;
    padding-left: 0;
}

.footer p {
    width: 91%;
    margin: 2% auto;
}

/* Responsive styles */
@media only screen and (min-width: 10px) and (max-width: 700px) {
    .body {
        clear: both;
        margin: 0 auto;
        padding: 0;
        width: 90%;
        font-size: 90%;
    }
    
    h1 {
        font-size: 1.143em;
    }

    .header nav {
        background-color: rgba(0,0,0,0.5);
        font-size: 1.143em;
        height: 160px;
        line-height: 30px;
        margin-bottom: 0;
        border-radius: 5px;
    }

    .header nav ul {
        list-style: none;
        margin: 0 auto;
        padding-left: 0;
    }

    .header nav li {
        margin-left: 0 auto;
        width: 100%;
    }

    .header nav a:link, .header nav a:visited {
        color: #FFF;
        display: block;
        height: 30px;
        padding: 5px 0;
        text-decoration: none;
    }

    .mainContent {
        overflow: hidden;
        line-height: 25px;
        margin-top: 4%;
        margin-bottom: 2%;
    }

    .content-1, .content-2 {
        background-color: rgba(255,255,255,0.8);
        border-radius: 5px;
        padding: 2% 5%;
        margin-bottom: 4%;
    }

    .content {
        width: 100%;
        float: left;
    }

    .sidebar-1, .sidebar-2, .sidebar-3 {
        width: 86%;
        float: left;
        border-radius: 5px;
        background-color: rgba(255,255,255,0.8);
        margin-top: 4%;
        margin-left: 0;
        padding: 0 7%;
        margin-bottom: 0;
    }

    .footer {
        width: 100%;
        float: left;
        margin: 2% 0;
        background-color: rgba(0,0,0,0.3);
        border-radius: 5px;
        color: #FFF;
    }

    .footer p {
        width: 86%;
        margin: 2% auto;
    }
}
