.hide {
    display: none;
}
.err {
    color: red;
}
.right{
    float: right;
}
.nav {
	height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2;
    top: 51px;
    left: 0;
    background-color: #fbfbfb;
    border-right: 1px solid #D9D9D9;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 5px;
    margin:0;
    box-shadow: 5px 10px 20px #D9D9D9;


}

.nav-ul {
	padding-left:15px;

}
.nav-ul li{
	list-style-type: none;
}
.nav a {
	padding: 8px 8px 6px 8px;
    text-decoration: none;
    font-size: 25px;
    color: black;
    display: block;
    transition: 0.3s;

}
.nav a:hover:not(.active-s) {
    background-color: #D9D9D9;
}
.active {
	background-color:silver ;
	position: relative;
	right:20px;


}
#nmcl {
	float: right;    
	color: red;
	font-size: 27px;
	padding: 7px;
    cursor: pointer;
}
 #tSettings:hover, #sNazad:hover, .settingsP:hover {
	color:white;
}
#nav-open {
    display: none;
    position: absolute;  
    left: 77px;
    top: 4px;
    float: left;
    font-size: 27px;
    margin:  0 10px 10px 5px;
    cursor: pointer;
    color: black;


}
#nav-open:hover, #nmcl:hover {
    color:green;
    font-size: 29px;
}
.btn{
   display: inline;
   background-color: #e7e7e7; 
   color: black;
   padding: 10px;
   font-size: 15px;
}
.extra-nav {
    display: none;
}
.settings {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 2;
    top: -20px;
    right: 0;
    background-color: #111;  
    overflow: auto;
    transition: 0.5s;
    padding-top: 20px;
    margin:0;

}
#settings {
    position: fixed;
    top: 5px;
    right: 20px;
    cursor: pointer;
    float: right;

}
#settings img {
    border-radius: 50%;

}
.bottom-n {
    height: 11px;
    width: 100%;
}
#box1 ul li a, #testSettings a{
    text-decoration: none;
    color: #818181;

}
#box1 ul li a:hover {
    color:white;
    cursor: pointer;
}
#testSettings, #favoriteSettings{
    display: none;  

}
#tSettings, #sNazad, .settingsP {
    color: #818181;
    margin: 0;
    padding: 0;
    cursor: pointer;

}
#bar{
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    border-bottom: 1px solid #D9D9D9;
    margin:0;
    padding-left: 5px;
    z-index: 1;

}
.search, .searchBtn  {
    display: none;
}
#group {
  display: inline;
  position: fixed;
  width: 40px;
  height: 40px;
  top: 6px;
  right: 195px;
  border-radius: 50%;
  cursor: pointer;
  
}
.search {
  position: fixed; 
  top: 61px; 
  left: 5px;
  width: 280px;
  height: 35px;
  padding: 4px 0 4px 22px;
  background-image: url(../img/searchFr.png);
  background-repeat: no-repeat;
  text-indent: 20px;
  border-radius:  4px 0 0 4px;

}
.searchBtn {
  position: fixed;
  top: 59px; 
  left: 284px;
  width: 59px; 
  height: 36px;  

}
#messages {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 102px;
  background: url(../img/icons3.png) 0 -53px ;
  cursor: pointer;


}

#imgfr {
  /*search friends*/
  position: absolute;
  width: 40px;
  height: 40px;
  background: url(../img/icons3.png) 0 -115px;
  cursor: pointer;


}
#frRecuest {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 152px;
  background: url(../img/icons3.png) 0 2px;
  cursor: pointer;

}
.imgIcon24 {
  background: url(../img/imgIcon24.png) 4px 0;
  background-repeat: no-repeat;
}

@media screen and (min-width: 450px) {
    .settings{
        width: 300px;


    }
}
@media screen and (min-width: 650px) {
    .nav {
        width: 300px;

    }
}
    
@media screen and (min-width: 800px) {
    .extra-nav{
        font-size: 23px;
        position: relative;
        float: left;
        display: inline;
        width: 100%;
        background-color: #555;
     

    }
    .position {
        position: relative;
        float: left;
        display: inline;
        
    }
 
    .position-ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #555;


    }
    .position li {
        float: left;
    }
    .position li a {
        display: block;

        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

}
@media screen and (min-width: 900px) {
body {
    margin-left: 310px;
    }
#group {
    display: none;
}
.search {
  display: inline;
  top: 8px; 
/*  left: 77px; */
  left: 127px; 
  width: 330px;


}
.searchBtn {
  display: inline;
  top: 7px; 
  left: 456px; 
  width: 70px; 
  margin: 0;   
  border: none; 
  border-radius: 0 4px 4px 0; 

}
.searchBtn:hover {
  color: green;
}

}