@media (max-width: 999px) {

  #bar-logo {
    display: block!important;
    width: 35px;
    height: 30px;
    margin-left: -2px;
  }
  
  #logo-big {
    display: none;
  }
  
  #heading {
    display: none;
  }

  .detail #header {
    height: 56px!important;
    border-bottom: 1px solid #ebebeb!important;
    background: none!important;
  }

  #menu_bar A.logo{
    /*background: url('./new/img/mg/logo.png');*/
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    margin-top: 4px;
    background-size: cover;
    margin-left: -5px; 
  }

  #menu_bar {
    background-color: white!important;
    padding-left: 14px!important; 
  }

  #menu_bar .search-input {
    height: 44px;
    position: absolute;
    top: 5px;
    left: 50px;
    font-size: 24px;
    font-weight: 400;
    border: 0;
  }

  .rdiv.menur .menu {
    display: block!important;
  }
  .rdiv.menur .menu.hidden {
    display: none!important;
  }

  .rdiv.menur .menu.lang {
    cursor: pointer;
  }

  .rdiv.menur UL {
    display: block!important;
  }

  .rdiv.search {
    display: none;
  }
  .rdiv.menur {
    display: none;
  }
  
  #menu_list {
    height: 34px;
    position: absolute;
    z-index: 20;
    right: 0;
    top: 0;
    height: 55px;
    width: 55px;
    background: #3fbaf0;
    color: white;
    border-radius: 0;
    font-size: 30px;
    line-height: 46px;
    border: 0;
  }

  #search_hints {
    top: 0px!important;
    padding-top: 55px!important;
    width: 100%;
    z-index: 1001;/*51*/
    left: 0px !important;
    position: absolute;
  }

  #menu-lb {
    position: absolute;
    right: 72px;
    top: 11px;
    color: #3fbaf0;
    font-size: 22px;
    font-weight: 300;
  }

  @media all and (max-width: 450px) {
    #menu-lb {
      display: none;
    }
  }

  .rdiv.menur {
    background: rgba(0, 0, 0, 0.77);
    top: 55px!important;
    border-radius: 0;
    width: 100%;
    left: 0;
    z-index: 600!important;
    overflow-y: scroll;
  }

  .rdiv.menur ul {
    z-index: 0;
    padding-left: 0px;
  }

  LI.divider {
    width: 100%!important;
  }

  .rdiv.menur > a, .rdiv.menur #menu-wrapper > a {
    display: none!important;
  }
  #menu-wrapper {
    padding-bottom: 15px;
  }
  
  #menu-wrapper .dropdown-menu {
    float: none;
  }

  /* ------ */

  #header {
      position:absolute;
      width:100%;
      left:0px;
      top:0px;
      z-index:505;
  }

  /* Menu list button that toggles the menu display in collapsed mode. */
  /*
  #menu_list {
      float:right;
      height:34px;
      position:relative;
      z-index:20;
  }
  */
  /* Contents of the menu (dropdowns). */
  .menu_contents {
      display:block;
      width:100%;
      border: none;
      position:static;
      background-color: rgba(0, 0, 0, 0);
      padding-left:30px;
      color:#ffffff;
      box-shadow: none;
  }

  LI.divider {
      width:200px;
  }

  .dropdown-menu>li>a {
      color:#ffffff;
  }

  /* Menu bar area of the header. Contains the search bar, menu, language selector and logo. */
  #menu_bar {
      width:100%;
      height:55px;
      padding:10px;
      background-color:rgba(0, 0, 0, 0.6);
      position: fixed;
      top: 0;
      left: 0;
  }

  /* Place search form and its hints. */
  #search_form {
      position:absolute;
  }

  #search_marker {
      font-size:20px;
  }

  .search_hints {
      padding-left:44px;
      background-image:url("images/flags32.png");
      background-repeat:no-repeat;
      width:32px;
      height:32px;
      float:left;
      z-index:11;
      /* nove ico: */
      padding-left: 30px;
      margin: 2px 6px 0 -4px;
      width: 32px!important;
  }

  .search_hints_info {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-size:20px;
      text-align:left;
      float:left;
      clear:none;
  }

  .search_hints_small {
      text-align:left;
      font-size:12px;
      color:#606060;
  }

  #menu-wrapper li {
    margin: 2px 0;
  }

  #menu-wrapper i.fa {
    margin: 0 7px 0 2px;
  }
  
  /* Menu container */
  #menu {
      background-color: rgba(0, 0, 0, 0.6);
      width:100%;
      position:absolute;
      top:55px;
      left:0px;
      overflow:scroll;
      display:none;
  }

  /* Menu item */
  .menu {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-size:16px;
      color:#ffffff;
      margin-left:20px;
      margin-right:20px;
      padding-top:15px;
      display:block;
      position:static;
      text-transform: uppercase;
      border-bottom: 2px solid rgba(255, 255, 255, 0.7);
      padding-bottom: 4px;
  }

  /** Glyphicon for the menu items. */
  .menu_glyphicon {
      width:25px;
  }

  /* Menu item for languages */
  .menu_languages {
      font-size:16px;
      color:#ffffff;
      padding-left:20px;
      padding-right:20px;
      padding-top:15px;
      position:static;
  }

  /* Language flags */
  .language {
      margin-right:10px;
      cursor:pointer;
  }

  /* Medard logo picture */
  #logo {
      position:static;
      height:55px;
      width:150px;
      margin-left:auto;
      margin-right:auto;
      display:none;
  }

  /* Messages container */
  #messages {
      width:100%;
      padding-left:20px;
      padding-right:20px;
      padding-top:60px!important;
  }


  button.timezone {
      width:100%;
      text-align:center;
      white-space:normal;
  }

  .timezone_modal {
      width:300px;
  }
  .visible_full {
    display: none;
  }
}

@media (max-width: 425px) {
  #place_selector .btn {
    padding: 4px 6px;
  }
  #place_selector .search_hints {
    height: 15px;
    padding-left: 0;
    margin: 2px 0px 0 -6px;    
  }
  #place_selector .search_hints_info {
    font-size: 14px;
  }
  
}