/* ::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
} */

.priestsmap::after {
    content: "";
    clear: both;
    display: table;
}

#PrContainer{
	position: relative;
	width:600px;
}

#MapDivKCET{
	position: relative;
    /* width: 600px; */
    width: 100%;
	/* height: 437px; */
	height: auto;
}

#MapDivJS {
    width: 100%;
    height: 600px;
}

.PriestListHeader{
	font-family:Arial;
	font-size:14px;
	text-align:center;
	font-weight:800px;
	color:#444444;
}

.PriestListHeader2{
	font-family:Arial;
	font-size:11px;
	text-align:center;
	font-weight:800px;
	color:#444444;
}

#PriestListKCET {
    display: none;
}


#PrSelections {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

#FullPriestListKCET,
#FullParishListKCET {
	position: relative;
	/* float:left; */
	/* display:inline-block; */
    margin-right: 20px;
}

#FullPriestSearch {
    width: 85%;
}
#FullParishSearch {
    width: 90%;
    display: inline;
}

#PriestListJS,
#ParishListJS {
	background-color:#fefefe;
	padding:10px;
	border-radius:5px;
	border:1px solid #bbbbbb;
	display:none;
    z-index:10000;
    margin-bottom: 10px;
}

#PriestInfoWindow{
	display:none;
}

.pInfoWindow{
	padding:0 10px;
}

#PriestListTable,#ParishListTable{
	font-family:Arial;
	font-size:12px;
	color:#444444;
}

#FullPriestListTable,#FullParishListTable{
	font-family:Arial;
	font-size:12px;
	color:#444444;
}

#FullPriestTableDiv{
	overflow-y:scroll;
	height:200px;
	/* width:198px; */
	width: auto;
    padding-right: 30px;
}

#FullPriestTableDiv,
#FullParishTableDiv {
    border-left:solid 1px #ccc;
    border-bottom:solid 1px #ccc;
}

#FullParishTableDiv{
	overflow-y:scroll;
	height:200px;
	width:348px;
}

.priestsmap .searchitem {
    padding-left: 5px;
}

.PriestList-Role{
	font-size:10px;
}

#DV-buttons{
	/* width:574px; */
    width: 100%;
    width: calc(100% - 20px);
	text-align:center;
	margin:0 10px;
}

#DV-buttons button {
    margin: 0 5px;
}

#DV-viewport{
	padding:10px;
}

#backbt{
	display:none;
}

#displaybar{
    text-align: left;
    /* width: 600px; */
    width: 100%;
    border-bottom: solid 1px #ccc;
    border-top: solid 1px #ccc;
    margin: 8px 0;
    /* height: 22px; */
    height: auto;
    padding: 7px 0;
}
#displaybar::after {
    content: "";
    clear: both;
    display: table;
}

#PriestLocAlert{
	float:left;
    line-height:22px;
    margin-right:10px;
}

#ShowAllParishes{
	float:left;
}

#downlink{
	float:right;
}

#docCloud{
	float:left;
}

#PriestDocument{
	/* width:594px; */
	width: 60%;
	display: inline-block;
	border:double;
	display:none;
	background-color:#fff;
}

.searchitem.active{
	background-color: #ebdeff;
}

#pageview{
	text-align:center;
	position:relative;
}

img#loading{
	z-index:-1;
	position:absolute;
	left: 50%;
	top:10px;
}

img#docimg{
	position:relative;
    z-index:1;
    /* width: 580px; */
    width: 100%;
}

@media only screen and (max-width: 480px) {
    #MapDivJS {
        height: 300px;
    }

  #PrSelections {
    flex-wrap: wrap;
  }
  #FullPriestListKCET,
  #FullParishListKCET,
  #PriestDocument,
  #DV-buttons {
      width: 100%;
      margin:0px;
  }

  #FullPriestListKCET,
  #FullParishListKCET {
      margin-bottom: 5px;
  }

  #FullPriestSearch {
    width: 90%;
  }

  #FullPriestTableDiv,
  #FullParishTableDiv {
      height: auto;
      max-height: 65px;
      overflow-y: scroll; /* has to be scroll, not auto */
      -webkit-overflow-scrolling: touch;
  }

  #DV-buttons button {
    margin: 0 3px;
  }

  img#docimg {
      width: 100%;
  }
}