/* 
History
Date tag      Developer   Change
ERE20230807  Ed Einfeld  Add note that says views and visits are over a one year time frame.   
*/

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #efefef;
}

/* Map */
#map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#map .custom-control {
  z-index: 100;
  position: absolute;
  color: #efefef;
  opacity: 0.8;
}

#map .custom-control>a {
  color: #efefef;
}

/* Custom Controls */
#zoomer {
  top: 12px;
  right: 12px;
}

#zoomer>a {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 0 1px 0;
  background-color: #121212;
  font-size: 1.5em;
  text-align: center;
  line-height: 32px;
}

#zoomer>a.no-hover:hover {
  background-color: #323232;
  cursor: pointer;
}

#attribution {
  bottom: 60px;
  right: 12px;
  font-size: .65em;
  text-align: center;
  line-height: 9px;
}

@media all and (max-width: 800px) {
  #zoomer {
    top: 60px;
  }
}

/* Sidebar */
#sidebar {
  z-index: 100;
  position: absolute;
  top: 0;
  bottom: 48px;
  left: 0;
  width: 25%;
  background-color: #121212;
  opacity: 0.8;
}

#sidebar #logo {
  width: 80%;
  margin: 5vh 10% 0 10%;
}

#sidebar #content {
  width: 80%;
  margin: 2.5vh 10% 0 10%;
}

#sidebar #navigation {
  width: 80%;
  margin: 2.5vh 10% 2.5vh 10%;
  padding: 2.5vh 0 2.5vh 0;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

#sidebar #navigation ul {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

#sidebar #navigation ul li {
  display: inline-block;
  width: 31%;
}

#sidebar #navigation ul li a {
  display: block;
  padding: 6px;
  font-size: 1.15em;
  text-align: center;
  text-decoration: none;
  color: #efefef;
}

#sidebar #navigation ul li a i {
  display: block;
  width: 50%;
  margin: 0 25% 0 25%;
}

#sidebar #navigation ul li a.no-hover:hover {
  background-color: #303030;
}

.sidebar-note { /* ERE20230807 */
  position: absolute;
  bottom: 18px;
}

@media all and (max-width: 800px) {
  #sidebar {
    width: 96%;
    height: 48px;
    padding: 0 2% 0 2%;
  }

  #sidebar #logo {
    float: left;
    width: 80px;
    margin: 8px 0 0 0;
  }

  #sidebar #content {
    display: none;
  }

  #sidebar #navigation {
    float: right;
    width: 50%;
    padding: 0;
    margin: 8px 0 0 0;
    border: none;
  }

  #sidebar #navigation ul li a {
    font-size: .75em;
  }
  #btn-open-modal {
    margin-top: 30px!important;
  }
}

/* Colors */
#colors {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 48px;
  padding: 0 !important;
  opacity: 0.8;
}

#colors>div {
  float: left;
  width: 20%;
  height: 48px;
  font-size: 1.25em;
  font-weight: 700;
  text-align: center;
  line-height: 48px;
}

#colors #views {
  background-color: #3f51b5;
}

#colors #views.no-hover:hover {
  background-color: #3f61c5;
}

#colors #visits {
  background-color: #f44336;
}

#colors #visits.no-hover:hover {
  background-color: #f45346;
}

#colors #salvations {
  background-color: #4caf50;
}

#colors #salvations.no-hover:hover {
  background-color: #4cbf60;
}

#colors #disciples {
  background-color: #ff9800;
}

#colors #disciples.no-hover:hover {
  background-color: #ffa810;
}

#colors #listeners {
  background-color: #2196F3;
}

#colors #listeners.no-hover:hover {
  background-color: #42A5F5;
}

/* Modal popup */
#modal-container{
  z-index: 100;
}

#btn-open-modal {
  display: none;
  z-index: 100;  
  position: absolute;
  color: #efefef;
}

.modal-dialog {
  color: black;
}

.modal-content {
  background-color: #4caf50!important;
  color: #efefef;
  opacity: .8;
  border: 1px solid #efefef;
  border-radius: 0px;
}
@media all and (max-width: 800px) {
  #colors>div {
    font-size: .75em;
  }
}

/* Generic Classes */
.clear {
  clear: both;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.no-select {
  -webkit-user-select: none;
  /* Chrome/Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+ */
  /* Rules below not implemented in browsers yet */
  -o-user-select: none;
  user-select: none;
}