#map svg {
  width: 100%;
  height: auto;
}

#map svg path:hover {
  opacity: 0.8 !important;
  cursor: pointer;
}

#map svg path.selected {
  opacity: 1 !important;
}

.result {
  border: solid 1px #ddd;
  padding: 20px;
  border-radius: 7px;
}

.entry-content {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 !important;
}

.entry-content>* {
  max-width: 100% !important;
  width: 100% !important;
}

.form-group {
  margin-bottom: 5px;
  margin-top: 5px;
}

.options-container {
  border-radius: 7px;
  padding: 10px;
}

.options-container .label {
  display: block;
  margin-bottom: 0;
}

.options-container input[type="number"] {
  max-width: initial;
}

.options-container input[type="checkbox"],
#contact-info input[type="checkbox"] {
  position: relative;
}

#contact-info input[type="email"],
#contact-info input[type="text"],
.options-container input[type="text"],
.options-container input[type="number"],
.options-container select,
.options-container .timespan {
  height: 25px !important;
  min-height: 25px !important;
  background-color: #fff;
  border: 1px solid #473a32;
  border-radius: 0;
}

textarea.form-control {
  background-color: #fff;
  border: 1px solid #473a32;
  border-radius: 0;
  min-height: 50px;
}

.options-container select {
  padding-top: 0;
  padding-bottom: 0;
}

.options-container .alt-timespan {
  width: calc(100% - 45px);
}

.options-container .delete {
  position: absolute;
  height: 100%;
  right: 0px;
}

.options-container #timespans>div {
  position: relative;
}

.calendar-table table td,
.calendar-table table th {
  padding: 3px;
}

.options-container,
.options-container input,
.options-container input.form-control,
.options-container select {
  font-size: 12px;
  padding-left: 6px;
  padding-right: 6px;
}

.options-container .form-label {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 3px;
}

/* Bootstrap css */

.px-2 {
  padding-left: 2px;
  padding-right: 2px;
}

.mt-0 {
  margin-top: 0px !important;
}

.mt-3 {
  margin-top: 15px;
}

.mb-3 {
  margin-bottom: 15px;
}

.my-3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

.my-2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.my-1 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.width-1-1 {
  width: 100%;
}

.width-1-2 {
  width: 50%;
  max-width: 50%;
}

.width-expand {
  flex: 1;
  min-width: 1px;
}

@media (min-width: 640px) {
  .width-1-2\@s {
    width: 50%;
  }

  .width-1-3\@s {
    width: calc(100% * 1 / 3.001);
  }

  .width-2-3\@s {
    width: calc(100% * 2 / 3.001);
  }

  .width-1-4\@s {
    width: 25%;
  }

  .width-3-4\@s {
    width: 75%;
  }

  .width-expand\@s {
    flex: 1;
    min-width: 1px;
  }

  .options-container {
    max-width: 200px;
  }
}

@media (min-width: 960px) {
  .width-1-2\@m {
    width: 50%;
  }

  .width-1-3\@m {
    width: calc(100% * 1 / 3.001);
  }

  .width-2-3\@m {
    width: calc(100% * 2 / 3.001);
  }

  .width-1-4\@m {
    width: 25%;
  }

  .width-3-4\@m {
    width: 75%;
  }
}

@media (min-width: 1200px) {
  .width-1-2\@l {
    width: 50%;
  }

  .width-1-3\@l {
    width: calc(100% * 1 / 3.001);
  }

  .width-2-3\@l {
    width: calc(100% * 2 / 3.001);
  }

  .width-1-4\@l {
    width: 25%;
  }

  .width-3-4\@l {
    width: 75%;
  }
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
  margin-bottom: 0px;
}

.alert-content {
  margin-bottom: 0;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #bbb;
  outline: 0;
  box-shadow: 0 0 0 0.2rem #bbbbbb25;
}

.btn.btn-primary,
.btn.btn-secondary {
  height: 48px;
  line-height: 1;
}

.btn.btn-text {
  background: #fff;
  color: #333;
  padding: 2px 10px;
  border-radius: 0px;
  border: solid 1px #473a32;
}

.btn.btn-danger {
  background: #dc3545;
  color: #fff;
  padding: 2px 8px;
  border-radius: 0;
  border: solid 1px #dc3545;
  margin-left: 5px;
}

.btn svg {
  margin: 3px;
}

.btn.btn-primary {
  border-color: #9e151a;
  color: #fff;
  background-color: #9e151a;
  font-weight: 600;
  font-size: 20px;
  margin-top: 30px;
  border: 0px solid transparent;
  padding: 14px 30px 14px 30px;
}

.btn.btn-secondary {
  border-color: #f0f0f0;
  color: #000;
  background-color: #f0f0f0;
  font-weight: 600;
  font-size: 20px;
  margin-top: 30px;
  border: 0px solid transparent;
  padding: 14px 30px 14px 30px;
}

.btn[disabled] {
  background-color: #ddd;
  color: #555;
  border-color: #555;
  pointer-events: none;
}

#contact-info input[type="text"],
#contact-info input[type="email"] {
  font-size: 14px;
  height: 40px !important;
  border: 1px solid #473a32;
  border-radius: 0;
  margin-bottom: 0;
}

/* Override datepicker */
.cancelBtn.btn.btn-sm.btn-default {
  color: #111;
  background-color: #efefef;
  border: none;
}

input[type="checkbox"]:checked::before {
  left: -1px;
  position: absolute;
}

.post-request input:not([type='checkbox']) {
  width: 100%;
  min-width: 100%;
  display: block;
}

.daterangepicker.show-calendar {
  z-index: 10000;
}

/* error */
input.error {
  border: solid 2px #b10101 !important;
}

label.error {
  color: #b10101;
  font-weight: bold;
  font-size: 14px;
}

.summary hr {
  margin: 5px 0;
}

.summary td {
  padding: 2px;
  border: none;
}

.summary tr.divider td {
  border-bottom: solid 1px #aaa;
}

.modal-open {
  overflow: hidden;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 60px auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  max-width: 630px;
  overflow-y: auto;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

form div.nonce-error {
  background: darkred;
  padding: 20px;
  border-radius: 11px;
  color: #fff;
}