/* #### Mobile Phones Portrait #### */
/*@media screen and (max-device-width: 480px) and (orientation: portrait){*/
  /* some CSS here */
/*}*/

/* #### Mobile Phones Landscape #### */
/*@media screen and (max-device-width: 640px) and (orientation: landscape){*/
  /* some CSS here */
/*}*/

/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-device-width: 640px){
  /* some CSS here */
    /*navbar*//* Navigation bar button color */
#navbar button.btn {
  background-color: var(--color-contrasted-elements);
}
/* Navigation bar active button color */
#navbar button.btn.active {
  background-color: var(--color-dark-gray-elements);
}
#navbar div.slider {
  background: var(--color-dark-gray-elements);
}
#navbar div.slider span {
  background: var(--color-dark-gray-elements);
  border: solid 1px var(--color-dark-gray-elements);
}
#navbar button.ui-button-icon-only{
  background : var(--color-contrasted-elements);
  border : solid 1px white;
}
#navbar button.ui-state-select{
  background-color : var(--color-dark-gray-elements);
}
#navbar .ui-state-default .ui-icon {
  background-image : url(/cartes/index.php/view/media/getMedia?repository=pnr&project=zonages&path=media%2Fthemes%2Fdefault%2Fcss%2F/images/sprite_20.png);
}
#navbar .ui-button-icon-only .ui-icon-pan {
  background-position : 0px -20px;
}
#navbar .ui-button-icon-only .ui-icon-zoom {
  background-position : -20px -20px;
}
#navbar .ui-button-icon-only .ui-icon-zoom-extent {
  background-position : -20px -40px;
}
#navbar .ui-button-icon-only .ui-icon-zoom-out {
  background-position : -20px 0px;
}
#navbar .ui-button-icon-only .ui-icon-zoom-in {
  background-position : 0px 0px;
}
#navbar .ui-button-icon-only.ui-state-usable .ui-icon-previous {
  background-position : 0px -80px;
}
#navbar .ui-button-icon-only .ui-icon-next {
  background-position : -25px -60px;
}
#navbar .ui-button-icon-only.ui-state-usable .ui-icon-next {
  background-position : -25px -80px;
}
}

/* #### Retina screen (iphone4, samsung note, etc.) Portrait or Landscape #### */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx),
only screen and (                   max-height : 640px) ,
only screen and (                   max-device-height : 640px) {

  /* Retina-specific stuff here */
  body{
    padding-top : 60px;
  }
  #header {
    height : 30px;
  }
  #logo {
    height : 30px;
    margin: 0px 5px;
  }
  #logo h1 {
    font-size : 1.5em;
    margin: 5px 5px 5px 40px;
    line-height: 20px;
  }
  #title{
    height : 30px;
    margin : 0px 5px;
    padding-right:5px;
  }
  #title h1 {
    margin : 0px 5px;
    font-size : 1.5em;
    line-height: 30px;
  }
  #headermenu{
    height:30px;
    position: fixed;
  }
  .navbar-inner {
    min-height:30px;
    padding: 0px 10px;
  }

  /*  for ie*/
/*  .navbar-inner ul {*/
/*    height:30px\9;*/
/*  }*/

  /*  for ie*/
  .navbar-inner ul li{
    display:inline\9;
  }

  #overview-box {
    right:10px;
    bottom:40px;
  }

  #bottom-dock  {
    width: 100%;
    height: auto;
  }
  #bottom-dock.visible {
    height: 100%;
    opacity: 1;
  }
  #bottom-dock.half-transparent {
    height: 100%;
    opacity: 1;
  }

}

/* #### Tablets Portrait or Landscape #### */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px){
  /* some CSS here */
}

/* #### Desktops #### */
@media screen and (min-width: 1024px){
  /* some CSS here */
}
