/*screen_width_and_mobile*/
@media all and (max-width: 1250px){
  #shareIt{
    top:10px;
  }
  #printIt{
    top:10px;
  }
  #countyDataDownload{
    top:10px;
  }
  .footer-button{
    margin-right:10px;
  }
  #howto{
    margin-left:20px;
  }
  .centered-footer{
    text-align:center;
  }
  #countyDetail{
    width:95%;
  }
  .bottomBorderTable{
    border-bottom-width: 0px;
  }
}

@media all and (max-width: 1060px)  or only screen {
  #largeMapTitle{
    width: 250px;
  }
}

@media all and (max-width: 1060px){
/*@media only screen {*/
  body{
    position: absolute;
    width: 100vw;
    height: 100%;
    min-height: 100%;
    overflow-y:scroll;
  }
  
  .centered-footer{
  left: auto;
        transform: none;
        width: 200px;
        text-align: center;
        height: fit-content;
        margin-left: 0px;
  }
  /*Footer Changes*/
  
  #footer{
    border-top-color: black;
    position: absolute;
    bottom: 0px;
    /* top: 93%; */
    width: 100%;
    height: 13%;
    background-color: white;
    border-top-style: solid;
    border-top-width: 1px;
    top:77%;
    border-bottom: none;
  }
  #howto{
    margin-left:0px;
  }
  .footer-button{
    margin-right: 0px;
  }
  #countyDataDownload{
    right:90px;
    top:20px;
  }
  #shareIt{
    top:20px;
    right: 225px;
  }
  
  #share{
    display: none;
  }
  /*
  .right-footer{
    display: none;
  }
  .footer-button{
      width: 100%;
      text-align: center;
        display: inline-block;
  }

  .centered-footer{
    width:100%;
    margin-left: 0px;
    z-index: 20;
    left:50%;
    margin-top: 0px;
  }
  #openSideBar{
    display: block;
  }
  */
  /*Sidebar Change*/
  .sidebar{
    width:100%;
    top: 0px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: black;
    border-right:none;
    height: 100%;
  }
  .autocomplete{
    width:100%;
  }
  #miniMenu-1{
    margin-top: 30px;
  }
  #after-tooltip-menu7{
    top:50px;
  }
  #after-tooltip-menu1{
    top: 70px;
  }
  #closeB{
    display: inline-block;
  }
  #myInput{
    width: 100%;
  }

  /* Map Header CHanges*/
  #header{
    right: 0px;
    width: 100%;
    top:0px;
    padding-left:0px;
    height:fit-content;
    border-radius: 0px;
  }
  #pointLegendhHeader > div{
   width:80px; 
  }
  #mobileModal{
    display: none;
  }

  /* Map CHanges*/
  .map{
    width: 100%;
  }
  .polygonControl{
    top: 40px;
    left:15px !important;
  }
  .urbanControl{
    top: 40px;
    left: 130px !important;
  }
  .filterControl{
    left: 15px !important;
    top:120px;
  }
  .overlayControl{
    top:120px;
    left: 240px !important;
  }
  .HHSRegionControl {
     top: 40px;
     left: 240px !important;
  }
  #drawerToggle{
    display: none !important;
  }

  /* header Elements*/
  .polygonLegend{
    margin-top:20px;
  }

  #countyNameHeaderDiv{
    display: none;
  }
  .pointLegend{
    margin-top:20px;
  }
  .legendHeadingGroup{
    font-size:12px;
  }
  #pointLegendhHeader{
    width: 100px;
  }
  #legendLabelID-Bottom{
    position: absolute;
    /* bottom: 58px; */
    right: 150px;
    bottom: 22px;
    left: auto;
  }

  #largeMapTitleContainer{
    width:100%;
    margin-left: 0px !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  #largeSubHeader{
    width: 100%;
  }
  #largeMapTitle{
    width: 100%;
  }
  #map > div.leaflet-control-container > div.leaflet-top.leaflet-right > div{
        display: none;
  }

  /*Modals*/
  .modalLeft{
    width: 100%;
    padding-left: 10px;
  }

  .modalRight {
    width: 100%; 
    position: static;
    padding-top: 0px;
    padding-left: 10px;
    margin-bottom: 30px;
    padding-right: 0px;
  }
  #countyDetail{
    width:95%;
  }
  #modalBottomWrapper{
    padding-left: 10px;
    padding-right: 0px;
    width: 100%; 
    position: static;
    padding-bottom: 100px;
  }
  .modalSelector2Label{
        margin-top: 10PX;
  }
  .hearingLossTable{
    width:100%;
    padding-top: 10px;
  }
  .modal-content{
    width: 95%;
  }
  .modal-content-text{
    width:90%;
  }
  #mBody{
    top: 170px;
    padding-bottom: 200px;
  }
  
  #htBody{
    width:90%;
    padding-bottom: 200px;
  }
  #miBody{
    top:170px;
    padding-bottom: 200px;
  }
  .mainModalHeaderSmall{
        width:90%;
  }

  #modal_demographic_selectors{
    display: contents;
    float: left;
    height: 170px;
    width: 100%;
  }
  #downloadCountyDetailTables{
    display: none;
  }
  #modalRightIDTableContainer{
    margin-top: 20px;
  }
  .methodologyTableContainer{
    width: 90%;
  }
  #header > div.leaflet-control-zoom.leaflet-bar.leaflet-control{
    display: none;
  }

  #hamburger{
    display: inline-block;
    width: 100%;
    text-align: center;
    border-bottom: solid;
    border-bottom-width: 1px;
    top: 0px;
    left: 0px;
    position: absolute;
    padding-bottom: 5px;
    padding-top: 5px;
    border-top: solid;
    border-top-width: 1px;
    font-size: 16px;

  }
  #hamburgerText{
    display: inline;
    padding-left: 5px;
    font-size: 18px;
  }
  #hamburgerArrow{
    display: none !important;
    margin-top: 8px;
    border: solid black;
    border-width: 1px 0px 0px 1px;
    padding: 2px;
    color: black;
    border-color: black;
    position: absolute;
    transform: rotate( -45deg );
    -webkit-transform: rotate( -45deg );
  }
  #printIt{
    display:none;
  }
  .polygonLabelStack{
    width:85px;
  }
  .legendHeaderGroup{
    width: 115px;
  }

 #mobileOnlyCloseSidebar{
        display: block;
        color: black;
        font-size: 16px;
        cursor: pointer;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        font-weight: bold;
  }
  #closeSidebarArrow{
        margin-top: 9px;
        border: solid black;
        border-width: 1px 0px 0px 1px;
        padding: 2px;
        color: black;
        border-color: black;
        position: absolute;
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        margin-left: 5px;
  }

}
