#Body {
  font-family: "Open Sans", Helvetica, Arial;
}
.FullWidth {
  width: 100%;
}
.Clear {
  clear: both;
}

/* Header */
.Registration {
  background: url(/DesktopModules/Agrando/Vigsel/Resources/Images/WeddingRings.jpg)
    no-repeat;
  width: 300px;
  height: 232px;
}

.Registration input {
  width: 100%;
  height: 30px;
  font-size: 14px;
  border: none;
  color: #1a1a1a;
}
.divBtnNewReg,
.divBtnOldReg {
  width: 214px;
  height: 36px;
  background-color: #e6e6e6;
  opacity: 0.9;
  position: relative;
  left: 80px;
  border-radius: 4px;
}
.divBtnNewReg:hover,
.divBtnOldReg:hover {
  box-shadow: 5px 5px 5px #606060;
}
.divBtnOldReg {
  top: 110px;
}
.divBtnNewReg {
  top: 48px;
}
.FromToLabel {
  float: left;
  width: 40px;
  padding-top: 4px;
  margin-top: 5px;
}
.DatePicker {
  /*border:1px dotted green;*/
  float: left;
  width: 320px;
}
.divDatePicker {
  width: 280px;
  float: left;
  margin-top: 5px;
}
.DivChurches {
  /*border:1px solid red;*/
  margin-bottom: 6px;
  max-width: 420px;
  float: left;
}
.ChurchList br {
  display: none;
}
.CbListItem {
  /*border:1px solid green;*/
  display: inline-block;
  height: 40px;
  background-color: #e6e6e6;
  margin-right: 4px;
  margin-bottom: 4px;
  padding: 4px;
  border-radius: 4px;
}
.CbListItem input[type="checkbox"] {
  display: inline;
  margin-top: -2px;
}
.CbListItem label {
  display: inline;
  margin-left: 2px;
  font-weight: normal;
  font-size: 13px;
}
/* Headers */
.Header {
  font-size: 1.2em !important;
  font-weight: 300;
  color: #333 !important;
  margin-bottom: 0;
}
.HeaderSelections {
  font-size: 1.2em !important;
  color: #d90011 !important;
  font-weight: 600;
  margin-bottom: 0;
}
.HeaderMsg {
  color: #333 !important;
  font-weight: 300;
  margin-bottom: 0;
  font-size: 13px !important;
}

/*Results and Selections*/
.DivResults {
  width: 320px;
  float: left;
}
.DivSelections {
  width: 320px;
  float: left;
}

.ResultItem {
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #fff;
  width: 260px;
  /*height:44px;*/
  height: 60px;
  padding: 6px;
  margin-bottom: 4px;
  border-collapse: separate !important;
}
.ResultItemText {
  float: left;
}
.ResultItemText p {
  font-weight: 600;
}
.ResultItemBtn {
  float: right;
}
.ResultContent {
  padding-bottom: 10px;
  margin-bottom: 0px;
  line-height: 18px;
  font-size: 13px !important;
  color: black !important;
}

.SelectionItem {
  border: 1px solid #d90011;
  border-radius: 4px;
  background-color: #fff;
  width: 260px;
  /*height:44px;*/
  height: 60px;
  padding: 6px;
  margin-bottom: 4px;
}
.SelectionItemText {
  float: left;
}
.SelectionItemText p {
  font-weight: 600;
}
.SelectionItemBtn {
  float: right;
}
.H1 {
  color: #333;
  font-size: xx-large;
  margin: 4px;
}

.H2 {
  color: #333;
  font-size: x-large;
  margin: 4px;
}

.H3 {
  color: #333;
  font-size: medium;
  margin: 4px;
}

.H4 {
  color: #333;
  font-size: small;
  margin: 4px;
}

/* Form labels */
.FormLabel {
  margin-right: 5px;
  font-size: small;
  font-weight: bold;
}

/* Date fields */
.uDateFrom,
.uDateTo {
  padding: 4px;
  text-align: center;
  font-size: small;
  font-weight: bold;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background: #ecf0f1;
  padding: 5px;
  display: inline-block !important;
  visibility: visible !important;
}

/* Checkboxlist labels */
.ChurchList td {
  width: 160px;
}

/* Button, blue hover */
.BlueHoverButton {
  padding: 6px;
  border: none;
  border-radius: 4px;
  background-color: #cccccc;
}

/* Button, blue hover: the hover effect */
.BlueHoverButton:hover {
  background-color: #999;
  color: #ffffff;
}

.DisabledButton {
  padding: 6px;
  border: none;
  border-radius: 4px;
}

.DisabledButton:hover {
  background-color: #f0f0f0;
  color: #cccccc;
  cursor: not-allowed;
}

/* Don't touch */

.Form {
  /*border:1px solid red;*/
  width: 100%;
  height: auto;
  font-size: small;
}

.ui-datepicker-trigger {
  margin: 0;
  margin-right: 4px;
  margin-top: 4px;
  float: left;
  width: 15px;
  height: 15px;
}

.ChurchList {
  vertical-align: top;
  font-size: small;
}

#FormButtons {
  height: 30px;
  width: 150px;
}

/* Fix for locations list */
.ChurchList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

@media (min-width: 768px) {
  .ChurchList {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ChurchList input[type="checkbox"] {
  display: none;
}

.ChurchList label {
  display: flex;
  align-items: center;
  padding: 0px 10px;
  background-color: #f0f0f0;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 40px;
  min-height: 44px;
  margin-bottom: 0px;
}

.ChurchList label::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  border-radius: 3px;
  background-color: white;
  flex-shrink: 0;
}

.ChurchList input[type="checkbox"]:checked + label {
  background-color: #e3f2fd;
  border-color: #2196f3;
}

.ChurchList input[type="checkbox"]:checked + label::before {
  background-color: #2196f3;
  border-color: #2196f3;
}

.ChurchList input[type="checkbox"]:checked + label::after {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  line-height: 18px;
}

.ChurchList label:hover {
  border-color: #bbb;
  background-color: #f8f8f8;
}
/* End: Fix for locations list */
