﻿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: #171717;
}

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

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



.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%;
      background-color: #f1f0f0;
}
.mainheader{
    height:50px;

}






.logoad {
    width:100%;
    height:130px;
    float:left;
    text-align:justify;
    border:0px solid #000;
    margin: auto;
}

/* Add image */
.left_ad {
    border:0px solid #000;
    width:100%;
    margin-top: 4px;
    height: 130px;
        margin: auto;
}


.left_ad img{
width:100%;
    text-align:justify;
    height: 130px;
}




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

.toplinks {
    width:100%;
    float:left;
    text-align:justify;
    border:0px solid #4f92cb;
    -moz-box-shadow: 0px 4px 6px rgb(100,100,100);
-webkit-box-shadow: 0px 4px 6px rgb(100,100,100);
box-shadow: 0px 4px 6px rgb(100,100,100);
    border-bottom: 3px solid red;
}







.topnav a.logo {
		width:10%;
  font-size: 25px;
  font-weight: bold;
}
.logo img{
	width:90%;
}


.topnav {
  overflow: hidden;
  background-color: #061b2d;
    border-bottom: 1px solid red;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #0f4370;
  color: white;
}

.topnav .icon {
  display: none;
background-color: #061b2d;
}



.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #155e9d;
    color: blue;
    min-width: 74%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}



.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color:  #155e9d;
  color: white;
}

.dropdown-content a:hover {
    background-color: white;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}



/* Create three equal columns that floats next to each other */
.column {
    float: left;
    width: 21%;
    padding: 10px;
    height: auto;
}

.column a {
    float: none;
    color: white;
    padding: 10px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.column a:hover {
    background-color: #ddd;
    color: black;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        height: auto;
    }
}





.dropdown-content1 {
    display: none;
    position: absolute;
    background-color: #155e9d;
    color: blue;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}



.dropdown-content1 a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content1 a:hover {
    background-color: white;
    color: black;
}

.dropdown:hover .dropdown-content1 {
    display: block;
}














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


.maincontent{
	    width: 75%;
    line-height: 25px
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;

}

.content{
    width: 75%;
    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);
      width: 98%;
}



.titlebar{
    border-bottom: 3px solid #ff0d17;
    background-color: #061b2d;

}

.titlebar p{
    font-size: 16px;
}


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

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


.post-title{
    vertical-align: text-top;
   font-style: normal;
   color: #0d0d0d;
   font-size: 18px;
}

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

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

  display: block;
     margin: 2% 0;
}





.button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 4px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 1px 1px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    width: 100%;
}

.button2 {
    background-color: #008CBA; 
    color: white;
    border: 1px solid #008CBA;
}

.button2:hover {
    background-color: white;
    color: black; 
    border: 1px solid #008CBA;
}











.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 secc */
.Secound-sidebar{
    width: 25%;
    float: right;
    background-color: #FFF;
    color: Black;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
      margin-left: 1%;
      margin-bottom: 0%;
      margin-top: 1%;
     padding: 1% 1%;
   text-align: center;
}

.Secound-sidebar-row:hover {
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);	
}

.Secound-sidebar-column {
  float: left;
  width: 35%;
  padding: 2px;
}

.Secound-sidebar-column2 {
  float: left;
  width: 65%;
  padding: 2px;
  font-size: 11px;
}
/* Clearfix (clear floats) */
.Secound-sidebar-row::after {
	    background-color: red;
  content: "";
  clear: both;
  display: table;
}

/* add Secound secc */
.addSecound-sidebar{
    width: 25%;
    float: right;
    background-color: #FFF;
    color: Black;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -wekit-border-radius: 5px;
      margin-left: 1%;
      margin-bottom: 0%;
      margin-top: 1%;
     padding: 1% 1%;
   text-align: center;
}

.addSecound-sidebar-row:hover {
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);	
}

.addSecound-sidebar-column {
  float: left;
  width: 35%;
  padding: 2px;
}

.addSecound-sidebar-column2 {
  float: left;
  width: 65%;
  padding: 2px;
  font-size: 11px;
}
/* Clearfix (clear floats) */
.addSecound-sidebar-row::after {
	    background-color: red;
  content: "";
  clear: both;
  display: table;
}







.third-sidebar{
    width: 100%;
    float: left;
    background-color: #FFF;
}




.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 screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  

}



@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%;
}


.logoad {
    height:90px;
    float:left;
    text-align:justify;
    border:0px solid #000;
    border-top: 1px solid red;
}

.left_ad {
    border:0px solid #000;
    float:top;
    width:100%;
    display:inline-block;
    margin-top: 2px;
}



.left_ad img{
width:100%;
    text-align:justify;
    height:80px;
}




  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  
.topnav a.logo {
		width:20%;
}
.logo img{
	width:100%;
}
  
  
  
.maincontent{
	    width: 100%;
    line-height: 25px
}





.titlebar{
    border-bottom: 1px solid red;
    background-color: #404040;

}

.titlebar p{
    font-size: 12px;
}



.content{
    width: 100%;
    float: left;
   margin-top: 2%;
}

.post-title{
   font-size: 15px;
}




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

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






.secoundcontent{
      margin-top: 3%;
}

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


.Secound-sidebar{
display: none

}

.addSecound-sidebar{
    width: 98%;
}
  

}
