html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

/*@media(max-width:767px) {*/
@media(max-width:20px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

#dashboard {
	display: grid; 
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

#dashboard a {
	text-decoration: none;
	color: #222222;
}

#dashboard .box {
	text-align: center;
	border-radius: 10px;
	background: #ffffff;
	padding: 10px;
}

#dashboard .box:hover {
	background: #E5E5E5;
	color: #1E90FF;
}

.amount {
    text-align: right;
}

.grid_footer {
    background-color: #7F7F7F;
    color: #FFFFFF;
    font-weight: bold;
}

.narrow_column {
    width: 20px;
}

.advanced_view {
    display: none;
}

#debaptisms-map-wrapper {
  width: 100%;
  /*height: 600px;*/
  margin: auto;
}

#mapdiv {
  width: 60%;
  /*height: 600px;*/
  float: left;
}

#infobox {
  width: 38%;
  /*height: 600px;*/
  float: right;
  margin-left: 20px;
  margin-right: 20px;
}

#parishinfo {
  display: none;
}

.admins_comment {
  padding: 20px;
  margin: 30px;
  background-color: #FFF7A5;
}

.public_comment {
  padding: 20px;
  margin: 30px;
  background-color: #90EE90;
  color: #000000;
}

.admin_comment {
  padding: 5px;
  margin: 30px;
  background-color: #aaaaaa;
}

.parish_intro {
  font-size: 70%;
}

.btn-backbutton {
  background-color: #96DCA5;
  border-color: #96DCA5;
}

.map-page {
    display: flex;
    flex-direction: row;
}

.btn {
    margin-top: 3px;
    margin-bottom: 3px;
}

@media screen and (max-width: 767px) {
  .map-page {
    flex-direction: column;
  }
  #mapdiv {
      width: 100%;
      height: 300px;
  }    
  #infobox {
    width: 100%;
  }
  
}
