/* -------------------------------------------------
Create a map for a Permit to Take Water application
Créez une carte pour une demande de permis de prélèvement d’eau

/page/create-map-permit-take-water-application
/fr/page/creez-une-carte-pour-une-demande-de-permis-de-prelevement-deau
--------------------------------------------------- */
body {
  height: 100%;
  margin: 0;
  padding: 0
}

#coordinates {
  display: none;
}

#query_table_break {
  page-break-after: always;
}

#map_canvas {
  width: 100%;
  height: 540px;
  position: relative;
  overflow: hidden;
  max-width: 48rem;
  line-height: 1.3;
}

#map_canvas img {
  max-width: none;
}

#map_canvas button {
  min-width: 0;
}

select {
  margin-bottom: 1.5rem !important;
}

button[disabled], input[disabled] {
  display: none;
}

.map_buttonsTable, .map_toolsTable {
  width: 48rem;
}

.map_buttonsTable tbody td, .map_toolsTable tbody td {
  padding: 0;
}

@media only screen and (min-width: 40em) {
  .moe-map__search {
    max-width: 48rem;
  }

  #query_table {
    overflow-x: hidden;
    max-width: 48rem;
  }

  #next_step input[type="submit"] {
    margin-right: 0;
  }

  .fishTable {
    width: 48rem;
    margin-right: 0;
  }
}

@media only screen and (max-width: 40em) {
  div#jqi {
    max-width: 100%;
    left: 0 !important;
    margin-left: 0 !important;
  }

  .map_buttonsTable, .map_toolsTable {
    width: 100%;
  }

  .map_toolsTable {
    width: 100%;
  }

  .map_buttonsTable input[type="submit"], .map_toolsTable input[type="submit"] {
    width: initial;
    min-width: 8rem;
  }

  #township_search_button {
    font-size: 1em;
  }

  #alertName {
    width: 100%;
  }

  div.jqi button {
    margin: 0
  }
}

@media print {
  .main-content input[type="button"], .main-content input[type="submit"] {
    display: none;
  }

  #query_table {
    overflow-x: hidden;
  }
}

/* -----------------------------------------------------------------------------
  LEGACY MOE MAP SUBMIT BUTTON
----------------------------------------------------------------------------- */
input[type=submit] {
  background-color: #06c;
  color: #fff;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  display: inline-block;
  font-size: 1.125rem;
  font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: 600;
  line-height: 1.5555555556;
  margin: 0 calc(1rem + 0.75rem) 1.5rem 0;
  min-width: 10rem;
  padding: 0.625rem 1.5rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #00478f;
  color: #fff;
}

input[type=submit]:focus {
  background-color: #00478f;
  color: #fff;
  box-shadow: 0 0 0 4px #009adb;
  outline: 4px solid transparent;
}

@media screen and (max-width: 39.9375em) {
  input[type=submit] {
    display: block;
    width: 100%;
  }
}
