﻿@font-face {
  font-family: "Bembo Regular";
  src: url("fonts/bembo.woff2") format("woff2"), url("fonts/bembo.woff") format("woff");
}
@font-face {
  font-family: "Bembo Semibold";
  src: url("fonts/bembo-semibold.woff2") format("woff2"), url("fonts/bembo-semibold.woff") format("woff");
}
@font-face {
  font-family: "Gill Sans Regular";
  src: url("fonts/gill-sans.woff2") format("woff2"), url("fonts/gill-sans.woff") format("woff");
}
@font-face {
  font-family: "Gill Sans Light";
  src: url("fonts/gill-sans-light.woff2") format("woff2"), url("fonts/gill-sans-light.woff") format("woff");
}
@font-face {
  font-family: "Gill Sans Semibold";
  src: url("fonts/gill-sans-semibold.woff2") format("woff2"), url("fonts/gill-sans-semibold.woff") format("woff");
}
body {
  font-family: "Gill Sans Regular";
  font-size: 16px;
  line-height: 24px;
}

h1, h2, h3 {
  color: #4e1f74;
  font-family: "Bembo Regular";
}

h1 {
  font-family: "Bembo Semibold";
  font-size: 60px;
}

h3 {
  font-family: "Bembo Semibold";
}

.content {
  padding-left: 15px;
  padding-right: 15px;
}

.primary-text {
  color: #4e1f74;
}

.text-editor {
  width: 100%;
  min-height: 250px;
  border: none;
  background-color: #fafafa;
  color: #747477;
  border-radius: 16px;
  padding: 18px 16px;
  margin: 30px 0 10px 0;
}

.text-editor:focus {
  outline: none;
}

label {
  color: #747477;
}

.table {
  margin: 5px 0;
}

.table th {
  color: #4e1f74;
  border: #747477 0 solid;
  border-top-width: 1px;
  line-height: 24px !important;
}

.table td {
  border: #747477 0 solid;
  border-top-width: 1px;
  color: #747477;
  line-height: 24px !important;
}

.panel {
  background-color: #fafafa;
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0;
}

.indented {
  margin-left: 28px;
  margin-right: 28px;
}

.html-editor h1, .html-editor h2, .html-editor h3 {
  font-family: "Gill Sans Regular";
  font-size: 20px;
}

.html-editor h1 {
  font-size: 24px;
}

.form-control {
  border-radius: 0;
}

/* ########## MAIN NAV ######## */
header.main {
  margin: 2em 2em 1em 2em;
  position: relative;
  font-size: 16px;
  font-weight: bold;
  font-family: "Gill Sans Light";
}

header.main nav {
  position: relative;
  height: 100px;
}

header.main .navbar {
  margin: 0;
  position: absolute;
  bottom: 0;
  right: 0;
}

.nav > li > a {
  color: #4e1f74;
  padding: 10px 20px;
}

.nav > li > a:hover, .nav > li > a:focus, .nav > li.active > a {
  color: #92cfcc;
  background-color: white;
}

.navbar-header button {
  background-color: #4e1f74;
}

.navbar-header button > .icon-bar {
  background-color: white;
}

@media screen and (max-width: 768px) {
  .navbar-nav {
    float: left;
    width: 100%;
  }

  header.main .navbar {
    position: relative;
  }

  header.main .navbar li {
    display: inline-block;
  }
}
.login-control {
  position: absolute;
  top: 0;
  right: 50px;
}

/* ####### BUTTONS ###### */
.btn {
  background-color: #4e1f74;
  color: white;
  padding: 4px 36px;
  border-radius: 20px;
  height: 30px;
}

.btn:hover {
  border-color: #4e1f74;
  background-color: white;
  color: #4e1f74;
}

.btn-success, .btn-secondary, .btn-success:active, .btn-secondary:active, .btn-success:focus, .btn-secondary:focus {
  background-color: #92cfcc;
  border-color: #92cfcc;
}

.btn-success:hover, .btn-secondary:hover {
  background-color: white;
  color: #92cfcc;
  border-color: #92cfcc;
}

.btn-danger {
  background-color: #d43f3a;
}

.btn-danger:hover {
  border-color: #d43f3a;
  background-color: white;
  color: #d43f3a;
}

.btn.outline {
  border-color: #4e1f74;
  background-color: white;
  color: #4e1f74;
}

.btn.outline:hover {
  background-color: #4e1f74;
  color: white;
}

.btn.btn-secondary.outline {
  border-color: #92cfcc;
  background-color: white;
  color: #92cfcc;
}

.btn.btn-secondary.outline:hover {
  background-color: #92cfcc;
  color: white;
}

/* ####### FOOTER ####### */
footer.main {
  padding: 0 2em;
  background-color: #fafafa;
  color: #4e1f74;
  margin: 30px 0 10px 0;
  min-height: 250px;
  font-family: "Gill Sans Light";
  font-size: 14px;
}

footer.main h1 .light-title {
  font-family: "Gill Sans Light";
}

footer.main h1 {
  font-size: 32px;
  font-family: "Gill Sans Semibold";
}

footer.main h2 {
  font-size: 24px;
  font-family: "Gill Sans Semibold";
  margin-bottom: 24px;
}

footer.main a {
  color: #4e1f74;
  text-decoration: none;
}

footer.main .divider {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  height: 250px;
  width: 1px;
  background-color: #E3E3E4;
  box-sizing: border-box;
  border-top: #fafafa solid 20px;
  border-bottom: #fafafa solid 20px;
}

.copyright {
  font-size: 11px;
}

@media screen and (max-width: 1200px) {
  footer.main .divider {
    display: none;
  }
}
/*######## TAB CONTROL ########*/
.nav-tabs {
  border-bottom: 0;
  margin-bottom: 0;
  background-color: #fafafa;
}

.nav-tabs > li {
  width: 15%;
  position: relative;
}

@media screen and (max-width: 1440px) {
  .nav-tabs > li {
    width: 25%;
  }
}
@media screen and (max-width: 900px) {
  .nav-tabs > li {
    width: 30%;
  }
}
.nav-tabs > li::after {
  content: "";
  height: 50%;
  width: 1px;
  background-color: #E3E3E4;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  margin: auto;
}

.nav-tabs > li:last-child::after {
  display: none;
}

.nav-tabs > li > a {
  border: none !important;
  border-radius: 0;
  line-height: 60px;
  text-align: center;
  margin: 0;
  color: #747477;
  font-weight: bold;
  font-size: 20px;
}

.nav-tabs > li.active {
  margin: 0;
}

.nav-tabs > li.active::after {
  display: none;
}

.nav-tabs > li.active > a {
  color: #4e1f74;
  position: relative;
}

.nav-tabs > li.active > a .tab-title {
  position: relative;
  display: inline-block;
}

.nav-tabs > li.active > a .tab-title::after {
  content: "";
  display: block;
  height: 10px;
  width: 100%;
  background-color: #92cfcc;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

.nav-tabs > li a:focus, .nav-tabs > li.active a:focus {
  outline: none;
  color: #4e1f74;
}

.tab-pane {
  padding-top: 60px;
}

.nav-tabs > li a:hover {
  color: #4e1f74;
}

/*######## custom checkbox ########*/
input.checkbox[type=checkbox] {
  display: none;
}

label.checkbox {
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #92cfcc;
  display: inline-block;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

label.checkbox::after {
  content: "";
  position: relative;
  display: inline-block;
  width: 20px;
  width: 20px;
  height: 20px;
  background-size: 100%;
  margin-left: 30px;
  top: 4px;
  border: solid 2px #92cfcc;
  border-radius: 4px;
}

label.checkbox:hover::after {
  box-shadow: inset 0 0 5px #92cfcc;
}

input[type=checkbox]:checked ~ label.checkbox::after {
  background-image: url("images/tick.png");
  background-color: #92cfcc;
}

/* ###### Arrangment details page ####### */
.obituary-deceased-name {
  margin-bottom: 0;
}

.obituary-deceased-date {
  font-family: "Gill Sans Regular";
  font-size: 20px;
  margin-top: 0;
}

.obituary-image {
  float: right;
  margin-bottom: 30px;
}

.obituary-content {
  display: inline-block;
  min-height: 500px;
  min-width: 500px;
  padding: 30px;
}

.obituary-image-select {
  padding-top: 20px;
}

.obituary-image-upload {
  padding-top: 30px;
  padding-left: 30px;
}

.obituary-content-preview {
  padding-top: 25px;
  padding-bottom: 25px;
  margin-left: 25px;
  clear: both;
}

.obituary-update {
  margin-left: 60px;
}

.image-uploader {
  height: 140px;
  width: 140px;
  background-size: contain !important;
  position: relative;
  margin: 0 10px;
}

.image-button {
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.image-uploader:hover:before {
  width: 200px;
  height: 200px;
}

.image-form:hover {
  cursor: pointer;
}

.image-form:hover .btn.outline {
  background-color: #4e1f74;
  color: white;
}

.obituary-content-buttons {
  margin: 10px 0;
}

.published-checkbox[type=checkbox] {
  margin: 0 50px 0 5px;
}

.obituary-content-editor .content-editable {
  background-color: #fafafa;
  border-radius: 16px;
  padding: 18px 16px;
  margin: 30px 0 30px 0;
}

.obituary-content-editor .content-editable p {
  color: #747477;
}

#condolences-table.table td, #condolences-table.table th {
  border-right-width: 1px;
  border-color: #dddddd;
}

#condolences-table.table th {
  border-top: #dddddd solid 1px;
}

#condolences-table.table td:last-child, #condolences-table.table th:last-child {
  border-right: none;
}

#condolences-table.table tr:last-child td {
  border-top: none;
}

#condolences-table .pagination {
  margin: 0;
}

#condolences-table.table .fixed-sm {
  width: 120px;
}

#condolences-table.table .fixed-md {
  width: 200px;
}

@media screen and (max-width: 1280px) {
  #condolences-table.table .fixed-md, #condolences-table.table .fixed-sm {
    width: auto;
  }
}
/* account page */
.divider {
  border-color: #4e1f74;
}

.finance-summary {
  margin: 20px 0;
}

.table.finance-summary td {
  border: none;
}

.table.finance-summary td:first-child {
  width: 70%;
}

.table.finance-summary tr:nth-child(odd) {
  background-color: #fafafa;
}

.table.finance-summary th {
  border-bottom: #4e1f74 solid 1px;
  border-top: none;
}

.table.finance-summary tr.total-row {
  font-weight: bold;
  border-top: #4e1f74 solid 1px;
}

.table.finance-summary tr.total-row td {
  color: #4e1f74;
}

.table.finance-summary tr.total-row td:first-child {
  float: right;
}

.table.finance-balance td {
  font-weight: bold;
  color: #4e1f74;
  height: 50px;
}

.payNow {
  background-color: #fafafa;
  margin: 10px 0;
  padding: 30px 20px;
}

.payment-box label {
  color: #4e1f74;
  font-weight: bold;
}

.payNow #amount {
  margin-left: 30px;
  display: inline;
  width: auto;
}

/* login page */
.login-page .intro-text {
  color: #747477;
}

.login-page .control-label, .reset-page .control-label, .set-password-page .control-label {
  color: #4e1f74;
}

.reset-page {
  min-height: 400px;
}

.center-content {
  max-width: 600px;
  margin: auto;
}

/* vlaidation */
.field-validation-error {
  color: #d43f3a;
  font-size: 14px;
}

.arrangement-image {
  background-size: contain;
  background-repeat: no-repeat;
  height: 160px;
  position: relative;
  color: #747477;
}

.arrangement-image.empty-image::before {
  content: "Awaiting Image";
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 32px;
}

.hidden-item {
  visibility: collapse;
  width: 0 !important;
  height: 0 !important;
}

.expiry-date {
  display: inline-block;
  width: 100px;
}

.checkout-form {
  margin: auto;
  max-width: 33%;
}

@media only screen and (max-width: 1200px) {
  .checkout-form {
    max-width: 80%;
  }
}
.checkout-form .row {
  margin-bottom: 10px;
}

.checkout-form div {
  display: flex;
}

.checkout-form .col-md-12 {
  flex-direction: column;
}

.checkout-form .col-md-6 {
  flex-direction: column;
}

.checkout-form .col-md-3 {
  flex-direction: column;
}

.checkout-form input {
  margin-right: 10px;
}

.checkout-form select {
  margin-right: 10px;
}

.checkout-form .required {
  color: red;
}

.checkout-form .error {
  white-space: nowrap;
}

.checkout-form .card-logos {
  margin-top: 20px;
}

.checkout-form .card-logos div {
  justify-content: space-around;
}

.checkout-form .StripeElement {
  display: block;
}

.cookie-consent {
  background-color: white !important;
  position: fixed;
  bottom: 0px;
  width: 100%;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
  z-index: 999;
  justify-content: center;
  min-height: 100px;
}

.cookie-consent > div {
  max-width: 60%;
  margin: auto;
  display: flex;
}

.cookie-consent > div .text {
  width: 60%;
  display: flex;
  align-items: center;
  flex-grow: 0;
}

.cookie-consent > div .buttons {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap-reverse;
}

.cookie-consent #cookie-consent-reject {
  background-color: transparent;
  border-color: transparent;
}

.tool-tip {
  color: #337AB7;
  padding-left: 0.5em;
  cursor: help;
}

.logo {
  max-width: 200px;
  max-height: 120px;
}

.payment-submittal-row {
  justify-content: space-between;
  width: 100%;
  margin-top: 3em;
}
