/*
These lines of code is belongs to top menu and login page
*/


#topnav{
    background-color:#1190cb;
    border:#1190cb solid 1px;
    border-radius:0px 0px 10px 10px;
}
#topnav a{
    color: white;
   cursor:pointer;
}
#topnav a:hover{
    color:white;
    background-color:#4ea3ca;
   

}


#searchbtn:hover{
    background-color: white;
    color:#1dbedb;
}
#notification{
    background-color: #1dbedb;
}
body{
    background-color: #e7e8e9;
    
}
#loginform{
    background-color:#fcfcfc;
    box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    margin-top: 40px;
    border-radius: 10px; 
}
#loginwrap{
    margin-top: 60px;
}

#searchform{
    float:left;
   border:#1190cb solid 1px;
    margin-left: 5px;
   
   
}
#logo{
    float:left;
    height:40px;
    width:40px;
    top:5px;
    
   position:relative;
}

@media only screen and (max-width: 767px)
{
     .logobtn{
         height:40px;
         width:40px;
         
         left:9px;
         top:8px;
         position:relative;
     }
    
    #searchform{
    float:left;
   width: 78%;
    margin:auto;
    margin-left: 12px;
    border:#1190cbsolid 1px;
    
   
}
#newsfeedsettingscontent{
    
        min-height: 300px;
        height:auto;
        width: 100%;
        background-color: green;
        display: none;
    }
    
    
    
   /* newsfeedsettingbtnn{
        text-align: center;
        width: 100%;
        height: 30px;
        background-color: #454646;
        line-height: 30px;
        margin-top: 5px;
        border-radius: 5px;
        color:white;
        
    }*/
    
    
}
@media only screen and (max-width: 650px)
{
    #searchform{
    float:left;
   width: 75%;
    margin:auto;
    margin-left: 12px;
  
}
}
@media only screen and (max-width: 550px)
{
    #searchform{
    float:left;
   width: 77%;
    margin:auto;
   
}
}
    

@media only screen and (max-width: 500px)
{
    #searchform{
    float:left;
   width: 73%;
   
    margin:auto;
    margin-left: 1px;
  
}
}
    


@media only screen and (max-width: 440px)
{
    #searchform{
    float:left;
   width: 66%;
   
    margin:auto;
    margin-left: 1px;
   
}
}
    

@media only screen and (max-width: 340px)
{
   
    #searchform{
    float:left;
   width: 60%;
   
    margin:auto;
   
}
}
    
/*
These lines of codes belongs to Home page
*/
#homemain{
   // background-color: #e5e5e5 ;
    //border-right: double #1cbedc 2px;
    //border-left: double #1cbedc 2px;
    min-height: 500px; 
    height:auto;
    margin-top: 50px;
    }
    #post{
        min-height: 270px;
        height: auto;
         box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
        border-radius: 10px;
       background-color:#fcfcfc;
        margin-top: 10px;
        
        
    } 
    
    #newsfeedsettings{
        height: auto;
        background-color: #fcfcfc;
        margin-top: 10px;
        box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        
        border-radius: 10px;
        
       
       
    }
    
    .ncolor{
        background-color: black;
    }
    
    #newsfeedsettingscontent{
        min-height: 300px;
        height:auto;
        width: 100%;
        
        background-color: #fcfcfc;
        border-radius: 10px;
        opacity: 0.9;
    }
   #newsfeedbtn{
        text-align: center;
        width: 100%;
        height: 30px;
        background-color: #1190cb;
        line-height: 30px;
        margin-top: 10px;
        border-radius: 5px;
        color:white;
         box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.19);
        
   }
   #newsfeedtitle{
       color:#1190cb;
       text-align: center;
       margin-top: 10px;
       font-size: 18px;
       font-weight: 600;
   } 
   #newsfeedbtn{
       display: none;
   }
   
   #itemparent div:first-child{
    background-color: gray;
    margin-top: -60px;
}
   #items{
     background-color:#fcfcfc;
     border-radius:10px;
     box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
     height: auto; 
    margin-top: 10px;
    
}


   @media only screen and (max-width: 767px)
{
    #homemain{
        margin-top: 50px;
    }
    #postform{
       
    }
    #newsfeedsettings{
       
       
        background-color: transparent;
        margin-top: 60px;
         box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0), 0 0px 0px 0 rgba(0, 0, 0, 0.0);
       
        
        
    }
    #newsfeedsettingscontent{
       background-color:#fcfcfc;
        box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
    }
     
    #newsfeedbtn{
        display: block;
        
    }
    #newsfeedbtn:hover{
       background-color:#4ea3ca;
        cursor: pointer;
    }
    #newsfeedtitle{
        display: none;
    }
    #itemparent div:first-child{
        margin-top: 10px;
        
    }
    #items{
     height: auto; margin-top: 10px;
}

}
.scrollabletextbox {
    height: 120px;
    margin-top: 20px;
    width: 100%;
    resize: none;
    
}
#postform select, #submitpost{
    height: 30px;
    
}
#submitpost{
    margin-top: -30px;
    background-color: #1190cb;
    color:white;
    
}
#submitpost:hover{
    color:white;
    background-color:#4ea3ca;
}
#file{
    height: 30px;
}
#postselectarea{
    margin-top: 2px;
    
} 
#postselectcategory{
    margin-top: 2px;
    
} 
#itemprice{
    margin-top: 2px;
    
}
#file{
    margin-top: 2px;
}
#profilepicture{
    display: inline-block;
    width: 202px;
    height: 202px;
    
    position: relative;
    margin-top: 20px;
   
}

/*

This lines of codes belongs to account settings page

*/

#dpButton{
    background-color: #454646;
}
#dpButton:hover{
    color:#1dbedb;
    
}
#infotitle{
    
   font-size: 18px;
   
  
  
   display: block;
   
}

.flexMe {
  overflow: hidden;
  width:92%;
  
  margin-left:auto;
  margin-right:auto;
}
.flexMe div {
  float: left;
  width: 32.2%;
  position: relative;
  padding: 1px;
  min-height: 150px;
  background-color: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
  margin:1px;
}
.flexMe img {
  max-width: 100%;
  display: block;
  position: absolute;
  max-height: 100px;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  margin-left:0.5px;
  cursor:pointer
    
}


.profilepic {
  
  width:50px;
  height:50px;
  float:left;
  margin-top:7px;
  
  
}
.profilepic div {
  float: left;
  width: 100%;
  position: relative;
  padding: 0px;
  min-height: 50px;
  
  border: 1px solid #ccc;
  overflow: hidden;
  margin:0px;
  background-color:white;
}
.profilepic img {
  max-width: 100%;
  display: block;
  position: absolute;
  max-height: 50px;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  margin-left:0px;
  cursor:pointer
    
}

