body
{
    background-color: #f1f0f0;
    color: black;
    font-size: 87.5%;
    font-family: Calibri;
     line-height: 1.5; 
     text-align: left;
}

a{
  text-decoration: none;
  color: #b40000;
}

a:link, a:visited{
  color: #b40000;
}

a:hover, a:active{
  color: #FFF;
    background-color: #b40000;
}





.body{
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
      margin: 0 auto; /*ALL are center*/
      width: 90%;
}

.mainheader hr{
          margin: 0 0;
         height: 5px;
    background-color: #b40000;
}


.mainheader img{
     width: 20%;
     height: auto;
     margin: 2% 0;
}

.mainheader nav{
    background-color: #171717;
    height: 40px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
}

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

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

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

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

.mainheader nav ul li  a{
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
}



.list{
  background: #393838;
}



.maincontent{
    line-height: 25px
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
}

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

.topcontent{
 float: left;
    background-color: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
     padding: 1% 2%;
      margin-top: 1%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



         .inner-sidebar {
           float: left;
            width: 29.3680297%;
         }

         .inner-content{
           width: 65%;
            float: right;
          }




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

.posted-img{
  max-width:100%; 
  height: auto;

  display: block;
     margin: 2% 0;
}





.top-sidebar{
    width: 24%;
    float: left;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
      margin-left: 3%;
      margin-bottom: 2%;
      margin-top: 2%;
     padding: 1% 1%;
   text-align: center;
    background-color: #FFF;
}

.first-sidebar{
    width: 24%;
    float: left;
    background-color: #0099cc;
    color: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
      margin-left: 3%;
      margin-bottom: 2%;
      margin-top: 2%;
     padding: 1% 1%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   text-align: center;
}


.secound-sidebar{
    width: 24%;
    float: left;
    background-color: #b80193;
    color: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
      margin-left: 3%;
      margin-bottom: 2%;
     padding: 1% 1%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   text-align: center;
}

.side1-img{
  max-width:100%; 
  height: auto;
  margin: auto;
  display: block;
}



.mainfooter{
     width: 100%; 
     height: 40px;
     float: left;
    background-color: #171717;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
      margin-top: 2%;
      margin-bottom: 2%;
}

.mainfooter p{
     width: 92%; 
     margin:1% auto;
    color: #FFF;
}






@media only screen and (min-width: 150px) and (max-width: 600px){

.body{
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
      margin: 0 auto; 
      width: 100%;
}


.mainheader img{
     width: 100%;
}

.mainheader nav{
    height: 320px;
   }

.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
}


         .inner-sidebar {
            float: right;
            width: 100%;
         }

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




.secoundcontent{
      margin-top: 3%;
}

.first-sidebar, .secound-sidebar{
    width: 94%;
      margin: 2% 0 2% 0;
     padding: 2% 3%;
}

.first-sidebar{
display: none
}

.top-sidebar {
    width: 90%;
     padding: 2%;
}

}
