body {
background-image: url("bg.jpg"); 
background-attachment:fixed;
background-size: 100% 100%;
color: #000305;
font-size: 87.5%; /* base font size is 14px */
font-family: Arial, 'Lucida Sans Unicode';
line-height: 1.3;
text-align: left;
}

a {
text-decoration: none;
}
a:link, a:visited{
color: #cf5c3f;
}
a:hover, a:active{
background-color: #cf5c3f;
color: #FFF;
}

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

.mainHeader .logo {
    width: 20%; /* smaller than html settings */
    height: auto;
    margin: 2% 0;
}

.mainHeader .sitename {
    width: 50%; /* smaller than html settings */
    height: auto;
    margin: 2% 0;
}

.mainHeader nav{
    background-color: #666;
    height: 40px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.mainHeader nav ul {
list-style: none;
margin: 0 auto;
}

.mainHeader nav ul li {
display: inline;
float: left; 
}

.mainHeader nav a:link, .mainHeader nav a:visited {
color: #FFF;
display: inline-block;
padding: 10px 25px; 
height: 20px;   
}

.mainHeader nav a:hover, .mainHeader nav a:active, .mainHeader nav .active a:link, .mainHeader nav .active a:visited {
background-color: #cf5c3f;
text-shadow: none;
}

.mainHeader nav ul li a{
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;    
}

.mainContent {
   /* line-height: 25px;*/
   /* overflow: hidden; */
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;    
}

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

.topContent, .bottomContent {
background-color: #FFF;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px; 
padding: 3% 5%;
margin-top: 2%;   
}

.gal-img img{
    width: 100%; 
    height: auto;
    margin: 1% 0;
}

.sidebar {
width: 21%;
float: left;
background-color: #FFF;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px; 
padding: 2% 3%;
margin-top: 2%; 
margin-left: 3%;
}

.post-info {
font-style: italic;
font-size: 90%;
color: #999;
}

.mainFooter {
width: 100%;
float: left;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px; 
background-color: #666;
margin-top: 2%; 
margin-bottom: 2%;
}

.mainFooter p {
width: 92%;
margin: 1.5% auto;
color: #FFF;
}

#back-to-top {
    position: fixed;
    bottom: 3em;
    right: 3em;
    background-color: rgba(255, 0, 0, .9);
    color: #313943;
    border: none;
    border-radius: 5px;
    padding: 1em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 0 2em 0 rgba(0, 0, 0, .25);
    transition: all .3s ease-in-out;
    display: inline-block;
    opacity: 0;
    text-decoration: none;
    font-size: .75em;
}

    #back-to-top:hover {
        color: #fff;
        background-color: rgba(255, 0, 0, .9);
        padding: 1em 3em;
    }

#back-to-top.visible {
    opacity: 1;
}

@media only screen and (min-width: 150px) and (max-width: 600px)
{
    .body1 {
        width: 90%;
        font-size: 95%;
        }
    
        .mainHeader .logo, .mainHeader .sitename {
            width: 100%; 
        }

        .mainHeader nav{
            height: 160px;
        }
        
        .mainHeader nav ul {
           padding-left: 0;
        }
        
        .mainHeader nav ul li {
            width: 100%; 
            text-align: center;
        }
        
        .mainHeader nav a:link, .mainHeader nav a:visited {
        padding: 10px 25px; 
        height: 20px; 
        display: block;  
        }
      
        .content {
            width: 100%;
            float: left;
            margin-top: 2%;
        }
        
        .post-info {
            display: none;
        }
        .topContent, .bottomContent {
            margin-top: 3%;   
        }

        .sidebar {
            width: 94%;
            margin-left: 0%;
            }

}