.leaflet-magnifying-glass {
  box-shadow: 0 0 0 1px rgb(80, 80, 80), 
  0 0 20px 10px rgba(0, 0, 0, 0.25), 
  inset 0 0 40px 2px rgba(0, 0, 0, 0.25)!important;
  pointer-events:none;
}
.hide{
   display:none;
   }
.bottom-ribbon, .mask{

     -webkit-transition: all 0.6s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
    transition: all 0.6s ease;
 }

 #map {  
   position:absolute; 
   top:0; 
   bottom:0; 
   width:100%;
   pointer-events:all;
   -webkit-transition: all 0.6s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
   transition: all 0.6s ease;
   overflow: hidden;
}
  #map, #zoommap{
    background-image: url('../images/stone.jpg')
  }

body{
  margin:0; padding:0;
  font-family: 'Josefin Slab', serif;
}
  .noCursor{
      /*cursor:cell;
cursor: url(http://etc-mysitemyway.s3.amazonaws.com/icons/legacy-previews/icons/glossy-black-icons-business/080837-glossy-black-icon-business-magnifying-glass-ps.png), auto;
*/
  }
.ribbonContainer-initial{
  position:absolute;
  /*top:50%;*/
  left:50%;
  z-index:5;
   margin-left: -135px;
  top: 30px;
   -webkit-transition: all 0.6s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
   transition: all 0.6s ease;
}

.ribbonContainer-final{
  position:fixed;
  top:30px;
  left:45px;
  z-index:5;
  -webkit-transition: all 0.6s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
  transition: all 0.6s ease;
}
@media screen and (max-width: 767px) {
      .ribbonContainer-final{
        position:fixed;
        top:30px;
        left:-270px;
        z-index:5;
         -webkit-transition: all 0.6s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
         transition: all 0.6s ease;
      }
}

.ribbonContainer-final-full-hidden{
        position:fixed;
        top:50px;
        left:-270px;
        z-index:5;
         -webkit-transition: all 0.6s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
         transition: all 0.6s ease;

}
#background{
height: 280px;
   -webkit-transition: all 0.6s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
   transition: all 0.6s ease;
width: 230px;
position: fixed;
margin-left: 20px;
margin-top: -20px;
/*border-radius:5px;*/
-webkit-box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.3),
              inset 0 0 50px hsla(0,0%,0%,.2),
              0 2px 5px hsla(0,0%,0%,.25);
-moz-box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.3),
              inset 0 0 50px hsla(0,0%,0%,.2),
              0 2px 5px hsla(0,0%,0%,.25);
box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.3),
              inset 0 0 50px hsla(0,0%,0%,.2),
              0 2px 5px hsla(0,0%,0%,.25);
background: #f6f6f6;
                        
}
#ribbon-title{
  font-family: 'Josefin Slab', serif;
  font-size:27px!important;
}
#background-content{
  margin:95px 20px;
  overflow-y: auto;
height: 230px;
}
#displayYear{
  bottom: 0px;
  position: absolute;
  color: rgb(255, 255, 255);
  font-size: 35px;
  font-weight: bold;
  right: 170px;
  text-shadow: #000 2px 1px 4px;
    font-family: 'Josefin Slab', serif;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:default;
}

@media screen and (max-width: 767px) {
    /* #displayTypeContainer{
        display:none;
      }
      */
    #overlayMap, .overlay {
      width:250px;
      height:250px;
    }
    #displayYear{
      bottom: 0px;
      font-size: 25px;
      right: 100px;
    }
  .tipsy { font-size: 13px; }
  .tipsy-inner { max-width: 140px;}

}


        .last-button{
           margin-right:35px;
        }
.mask{
position:fixed;
width:35px;
height:65px;
bottom:-65px;
}

.mask, .bottom-ribbon-container{
  background: #CC9900
;
background: -webkit-gradient(linear, left top, left bottom, from(#CC9900
), to(#CC6600));
background: -webkit-linear-gradient(top, #CC9900
, #CC6600);
background: -moz-linear-gradient(top, #CC9900
, #CC6600);
background: -ms-linear-gradient(top, #CC9900
, #CC6600);
background: -o-linear-gradient(top, #CC9900
, #CC6600);
background-image: -ms-linear-gradient(top, #CC9900
 0%, #CC6600 100%);
/*-webkit-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
-moz-box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
*/
}
.bottom-ribbon-container{
   overflow-x: scroll;
margin-left:35px;
}
.bottom-ribbon{
  bottom: -65px; 
  position: fixed;
  height: 65px;
  width: 100%;
font-family: 'Helvetica Neue',Helvetica, sans-serif;
white-space:nowrap;
z-index:8;

}

#year-buttons{

  height:65px;
  background-color:transparent;
  width:100%;
  text-align: center;
  font-family: 'Josefin Slab', serif;
  color: #D3D3D3;
  text-shadow: #d65c5c 0 1px 0;
  font-size:14px;
  white-space: nowrap;
}

#year-buttons button, .go, .ribbon-close-button {
  margin-top:10px;
margin-bottom: 6px;
border: 1px dashed rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
border-radius: 2px;
background: #CC6600;
background: -webkit-gradient(linear, left top, left bottom, from(#CC9900
), to(#CC6600));
background: -webkit-linear-gradient(top, #CC9900
, #CC6600);
max-width: 88px;
min-width:70px;
height: 45px;
font-size: 16px;
font-family: 'Josefin Slab', serif;
color: #D3D3D3;
text-shadow: #d65c5c 0 1px 0;
}

#year-buttons button:hover, .go:hover, .ribbon-close-button:hover{
  background: #8B1F1F;
  background: -webkit-gradient(linear, left top, left bottom, from(#C33B3B), to(#8B1F1F));
  background: -webkit-linear-gradient(top, #C33B3B, #8B1F1F);
  cursor:pointer;
}
.button-active{
  background: #8B1F1F!important;
  background: -webkit-gradient(linear, left top, left bottom, from(#C33B3B), to(#8B1F1F))!important;
  background: -webkit-linear-gradient(top, #C33B3B, #8B1F1F)!important;
}

.blur{
   -webkit-filter: blur(5px); 
   -moz-filter: blur(5px); 
   -o-filter: blur(5px); 
   -ms-filter: blur(5px); 
   filter: blur(5px);

}
.go, .ribbon-close-button{
   width: 60px;
   height: 35px;
   font-size: 20px;
   margin-left: 78px;
   bottom: 8px;
   position: absolute;
}

#tip1{
width: 10px;
height: 10px;
background-color: transparent;
z-index: 2;
position: fixed;
margin-top: -5px;
margin-left: -5px;
top: 50%;
left: 50%;
}

.leaflet-control-help{
font-size:18px;
cursor:pointer;
background-size: 20px 20px;
}

.plaque-div-icon{
  background-image:url(../images/plaque.png);
  background-size: contain;
}
.listedBuilding-div-icon{
  background-image:url(../images/listedBuilding.png);
  background-size: contain;
}
.links{

}

links:link, links:visited{
  text-decoration: none; 
    color: #d65c5c;
}

links:hover, links:active {

  color: #d65c5c;
}

.leaflet-control-layers-toggle {
width: 26px!important;
height: 30px!important;
}

.leaflet-retina .leaflet-control-layers-toggle {
background-size: 20px 20px!important;
}
#background-wrapper{
   -webkit-transition: opacity 0.3s ease;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
   transition: opacity 0.3s ease;

}
