img#pic {
  border-radius: 50% !important; 
}

* {box-sizing: border-box;}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border: 1px solid #dddddd;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #dddddd;
  text-align: left;
}

img.rmdslogo {
 padding: 0;
 margin:0;
}

.dropdown-content a:hover {background-color: #fff;}

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

.dropdown:hover .dropbtn {background-color: #fff;}

.topnav .search-container {
  float: right;
  width: 80%;
}

.topnav input[type=text] {
  padding: 5px;
  margin-top: 8px;
  font-size: 17px;
  border: none;
}

.topnav .search-container button {
  float: right;
  padding: 5px 11px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.topnav .search-container button:hover {
  background: #4a97ef;
}

.nav-bar.row {
    padding: 15px 0;
}

@media only screen and (min-width:860px) {

 .topnav input[type=text] {
    width: 87%;
  }
  
  #pic {
    height: 0;
  }
  
  #profilepicmobile {
    display:none;
  }
  
  #searchbuttonmobile {
    display:none;
  }
  
  #divfornav {
    display:none;
  }  
  
  #block-ihelper-useraccountmenu {
   display:none;
  }
  .topnav .search-container {
    float: right;
    width: 100%;
  }
  .topnav .search-container button {
    float: right;
    padding: 3px 10px;
    margin-top: 8px;
    margin-right: 16px;
    background: #fff;
    font-size: 17px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 40%;
    left: 86%;
 }
 #block-ihelper-main-menu {
   float: left;
 }
 
.site-brand {
    float: left;
    height: 0;
 }
}

@media screen and (max-width: 600px) {
   
   #divfornav {
     width: 100%
   }
   
   .nav-bar.row {
    padding: 0;
    padding: 10px 10px;
   }
   
   body {
    font-size: 14px;
    color: #5f5f5f;
    font-family: 'Dante', sans-serif;
    line-height: 0px;
   }
   
  .topnav .search-container {
    float: none;
    width: 100%;
  }
  .topnav .search-container button {
    float: none;
    display: inline;
    text-align: left;
    width: 13%;
    margin: 0;
    padding: 14px;
  }
  .topnav a, .topnav input[type=text] {
    float: none;
    display: inline;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .topnav input[type=text] {
    border: 1px solid #ccc;  
    width: 87%;
    float:left;
  }
  
  #searchbutton {
    display:none;
  }
  #divfornavweb {
    display:none;
  }
  #divfornavweb {
    display:none;
  }
  #searchsection{
    display:none;
  }
}