html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#map_container {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: auto 450px;
  min-height: 750px;
  font-size: 15px;
}
@media (max-width: 1100px) {
  #map_container {
    height: auto;
    grid-template-rows: 350px auto;
    grid-template-columns: 100%;
    min-height: unset;
  }
}
@media (max-width: 450px) {
  #map_container {
    font-size: 12px;
  }
}
.map {
  height: 100%;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
}
.modal-fade-enter,
.modal-fade-leave-active {
  opacity: 0;
}
.modal-fade-enter-active,
.modal-fade-leave-active {
  transition: opacity 0.2s ease;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow: auto;
}
.modal {
  background: #fff;
  box-shadow: 2px 2px 20px 1px;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  max-width: 60em;
  padding: 30px;
}
.modal .header h1 {
  margin-top: 0;
  margin-bottom: 0.5em;
}
.modal .body {
  margin-bottom: 1em;
}
.modal .body ul.help-links {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
  font-size: 85%;
  color: #808080;
}
.modal .body ul.help-links li a {
  color: #808080;
}
.color-picker {
  height: 1.5em;
  width: 4em;
  padding: 2px;
}
.controls {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  grid-column: 2;
}
@media (max-width: 1100px) {
  .controls {
    height: auto;
    width: 100%;
    grid-column: 1;
    grid-row: 2;
    overflow-y: visible;
  }
}
.controls .inner {
  border: 2px solid #000;
  overflow: auto;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto auto auto;
}
@media (max-width: 1100px) {
  .controls .inner {
    grid-template-columns: auto 450px;
    grid-template-rows: auto auto;
  }
}
@media (max-width: 920px) {
  .controls .inner {
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
  }
}
#general_info {
  height: 3.5em;
  overflow: hidden;
  background-color: #eee;
  line-height: 3.5em;
}
@media (max-width: 1100px) {
  #general_info {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}
@media (max-width: 920px) {
  #general_info {
    grid-column: auto;
  }
}
#general_info .title {
  float: left;
  font-weight: bold;
  padding-left: 20px;
  font-size: 1.8em;
  vertical-align: middle;
}
#general_info .action {
  float: right;
  font-size: smaller;
  position: relative;
  line-height: 1em;
  height: 100%;
  width: 4em;
}
#general_info .action a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
#mosque_list {
  padding: 5px;
}
#mosque_list .list_header {
  width: 100%;
  height: 3em;
  overflow: hidden;
}
#mosque_list .list_header.search {
  height: auto;
  padding-bottom: 5px;
}
#mosque_list .list_header.search .fixed_left.label {
  padding-top: 0em;
}
#mosque_list .list_header .fixed_left.label {
  width: 5em;
  float: left;
  padding-top: 0.8em;
}
#mosque_list .list_header .float_right {
  padding-left: 5em;
}
#mosque_list .list_header .float_right .select_group {
  float: left;
  width: 50%;
}
#mosque_list .list_header .float_right .select_group .vis_select {
  padding-right: 1em;
}
#mosque_list .list_header .float_right .select_group .vis_select .select_input {
  border-radius: 10px;
  padding: 2px 8px;
  width: 100%;
  border-width: 1px;
  border-color: #bbb;
  border-style: solid;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
#mosque_list .qibla_table {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  border-color: #777;
  border-width: 1px;
  border-style: solid;
}
#mosque_list .qibla_table .mosques {
  overflow-y: scroll;
  height: 300px;
}
@media (max-width: 1100px) {
  #mosque_list .qibla_table .mosques {
    height: 200px;
  }
}
#mosque_list .qibla_table .row {
  padding-left: 5px;
  display: grid;
  grid-template-columns: 180px 60px 60px auto;
}
@media (max-width: 350px) {
  #mosque_list .qibla_table .row {
    grid-template-columns: 180px auto;
  }
}
#mosque_list .qibla_table .row.headers {
  background: #ddd;
}
#mosque_list .qibla_table .row.mosque {
  cursor: pointer;
}
#mosque_list .qibla_table .row.mosque.selected {
  background-color: #88f;
}
#mosque_list .qibla_table .row div {
  padding: 2px;
  vertical-align: middle;
  text-align: center;
  height: 1.2em;
  overflow: hidden;
}
#mosque_list .qibla_table .row div.city {
  text-align: left;
}
.dotted_box {
  margin: 5px;
  padding: 5px;
  border-style: dashed;
  border-color: #000;
  overflow: auto;
  display: grid;
  grid-template-columns: 230px 170px;
  grid-column-gap: 10px;
}
@media (max-width: 450px) {
  .dotted_box {
    grid-template-columns: auto 150px;
  }
}
.dotted_box .left .edit_button {
  float: right;
  color: #00f;
  text-decoration: underline;
  cursor: pointer;
}
.dotted_box .container>div {
  margin: 0.25em 0em;
}
.dotted_box .annotations {
  display: table;
}
.dotted_box .annotations >div {
  display: table-row;
}
.dotted_box .annotations >div >label {
  display: table-cell;
  white-space: nowrap;
  width: 60%;
}
.dotted_box .annotations >div >input {
  display: table-cell;
}
.dotted_box .annotations >div >.deviation {
  display: table-cell;
  text-align: right;
  min-width: 2em;
  padding-left: 5px;
}
.dotted_box .info_inner h3 {
  margin: 0.25em 0em;
}
