#overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99500;
    height: 100%;
    width: 100%;
    background: #eee;
    padding: 0;
}

.quote-form {
    display: none;
    height: auto;
    min-height: 396px;
    max-height: calc(100% - 250px);
    min-width: 700px !important;
    width: 700px !important;
    background: #fff;
    position: absolute;
    top: -2000px;
    margin: 100px 0 0 calc(50% - 350px) !important;
    z-index: 99750;
    padding: 0 50px 40px 50px;
    overflow: auto;
}

.quote-form .quote-form-panel {
    display: none;
    width: 100%;
}

.quote-form .quote-form-panel[index="1"] {
    display: block;
}

.quote-form .quote-form-header {
    height: 20px;
    width: 100%;
    text-align: right;
    margin-bottom: 40px;
}

.quote-form .quote-form-header i {
    position: relative;
    top: 10px;
    left: 34px;
    color: rgba(49, 63, 94, 0.75);
}

.quote-form .quote-form-message {
    display: none;
    height: 52px;
    width: 100%;
    margin: 0 0 25px 0;
    padding: 15px 0;
    font-size: 16px;
    text-align: center;
    border-radius: 2px;
}

.quote-form .quote-form-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.quote-form .quote-form-message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.quote-form .quote-form-message.info {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.quote-form .quote-form-message i {
    margin-right: 10px;
}

.quote-form .quote-form-panel .quote-form-question {
    width: 100%;
    font-size: 20px;
    color: #40362f;
    margin-bottom: 26px;
    text-align: center;
}

.quote-form .quote-form-panel .quote-form-description {
    width: 100%;
    font-size: 17px;
    color: #40362f;
    marginn: 10px 0;
    text-align: center;
}

.quote-form .quote-form-panel .quote-form-option,
.quote-form .quote-form-panel .quote-form-checkbox {
    height: 55px;
    width: 100%;
    min-width: 100%;
    margin-bottom: 14px;
    border: 1px solid rgba(49,63,94,0.25);
    border-radius: 2px;
    font-size: 16px;
    color: r#40362f;
    text-align: center;
    padding-top: 17px;
    cursor: pointer;
}

.quote-form .quote-form-panel .quote-form-checkbox {
    text-align: left;
    padding-left: 20px;
}

.quote-form .quote-form-panel .quote-form-checkbox input[type="checkbox"] {
    display: inline-block;
    margin-right: 8px;
}

.quote-form .quote-form-panel .quote-form-checkbox label {
    display: inline-block;
}

.quote-form .quote-form-panel .quote-form-option.half {
    width: calc(50% - 20px) !important;
    min-width: calc(50% - 20px) !important;
}

.quote-form .quote-form-panel .quote-form-option.half.left {
    margin-right: 40px !important;
}

.quote-form .quote-form-panel .quote-form-option.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.quote-form .quote-form-panel .quote-form-option.selected {
    background: #40362f;
    color: #fff;
}

.quote-form .quote-form-panel .quote-form-option.county {
    width: calc(33.33% - 10px);
    min-width: calc(33.33% - 10px);
    margin-right: 14px;
    height: 35px;
    padding-top: 7px;
}

.quote-form .quote-form-panel .quote-form-textbox {
    height: 55px;
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid rgba(49,63,94,0.25);
    border-radius: 2px;
    font-size: 16px;
    color: #40362f;
    text-align: center;
    padding: 0;
    cursor: pointer;
}

.quote-form .quote-form-panel .quote-form-textbox.disabled,
.quote-form .quote-form-panel .quote-form-textbox.disabled input[type="text"] {
    background: #f4f4f4;
    color: #aaa;
}

.quote-form .quote-form-panel .quote-form-textbox input[type="text"]::placeholder {
  color: rgba(49, 63, 94, 0.75);
  opacity: 1; /* Firefox */
}

.quote-form .quote-form-panel .quote-form-textbox input[type="text"]::-webkit-input-placeholder {
  color: rgba(49, 63, 94, 0.75);
}

.quote-form .quote-form-panel .quote-form-textbox input[type="text"]::-moz-placeholder {
  color: rgba(49, 63, 94, 0.75);
  opacity: 1;
}

.quote-form .quote-form-panel .quote-form-textbox input[type="text"]:-ms-input-placeholder {
  color: rgba(49, 63, 94, 0.75);
}

.quote-form .quote-form-panel .quote-form-textbox.disabled input[type="text"]::placeholder {
  color: #aaa;
  opacity: 1; /* Firefox */
}

.quote-form .quote-form-panel .quote-form-textbox.disabled input[type="text"]::-webkit-input-placeholder {
  color: #aaa;
}

.quote-form .quote-form-panel .quote-form-textbox.disabled input[type="text"]::-moz-placeholder {
  color: #aaa;
  opacity: 1;
}

.quote-form .quote-form-panel .quote-form-textbox.disabled input[type="text"]:-ms-input-placeholder {
  color: #aaa;
}

.quote-form .quote-form-panel .quote-form-textbox.error,
.quote-form .quote-form-panel .quote-form-textbox.error input[type="text"],
.quote-form .quote-form-panel .quote-form-textbox.error input[type="date"] {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.quote-form .quote-form-panel .quote-form-textbox input[type="text"],
.quote-form .quote-form-panel .quote-form-textbox input[type="date"] {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 8px 10px;
    color: #40362f;
    font-size: 16px;
    outline: none !important;

    /* When autofilled and focused/selected */
    &:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 30px white inset !important;
    }

    /* You can also style the general autofill state */
    &:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #fff inset !important;
    }
}

.quote-form .quote-form-panel .quote-form-textbox input[type="text"]#decedent-dob,
.quote-form .quote-form-panel .quote-form-textbox input[type="text"]#decedent-dod {
    width: calc(100% - 140px);
    display: block;
    float: left;
    padding-top: 9px;
    color: #40362f !important;
    background: transparent !important;
    outline: none !important;
}

.quote-form .quote-form-panel .quote-form-textbox input[type="number"] {
    width: 65px;
    height: 32px;
    border: 1px solid #e0e0e0;
    float: left;
    margin: 10px 0 0 0;
    padding: 5px 10px;
    color: #40362f;
    font-size: 16px;
    outline: none !important;
}

.quote-form .quote-form-panel .quote-form-textbox span.date-label,
.quote-form .quote-form-panel .quote-form-textbox span.qty-label {
    width: 120px;
    font-size: 16px;
    display: block;
    float: left;
    margin: 19px 8px 0 10px;
    color: #40362f;
}

.quote-form .quote-form-panel .quote-form-textbox span.price-label {
    width: 120px;
    font-size: 16px;
    display: block;
    float: left;
    margin: 17px 0 0 0;
    color: #40362f;
}

.quote-form .quote-form-panel .quote-form-option.county.right {
    margin-right: 0;
}

.quote-form .quote-form-panel .quote-form-buttons {
    width: 100%;
    margin-top: 10px;
}

.quote-form .quote-form-panel .quote-form-buttons button {
    float: left;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0 0 0 3px;
}

.quote-form .quote-form-panel .quote-form-buttons button i {
    display: block;
    float: left;
    margin-right: 10px;
    font-size: 18px;
    color: #40362f;
}

.quote-form .quote-form-panel .quote-form-buttons button span {
    display: block;
    float: left;
    font-size: 16px;
    color: #40362f;
    position: relative;
    top: 0px;
}

.quote-form .quote-form-panel .quote-form-buttons button.go-to-quote,
.quote-form .quote-form-panel .quote-form-buttons button.next,
.quote-form .quote-form-panel .quote-form-buttons button.finish,
.quote-form .quote-form-panel .quote-form-buttons button.urn-next,
.quote-form .quote-form-panel .quote-form-buttons button.keepsake-next {
    float: right;
    padding: 0 3px 0 0;
}

.quote-form .quote-form-panel .quote-form-buttons button.go-to-quote i,
.quote-form .quote-form-panel .quote-form-buttons button.next i,
.quote-form .quote-form-panel .quote-form-buttons button.urn-next i,
.quote-form .quote-form-panel .quote-form-buttons button.keepsake-next i,
.quote-form .quote-form-panel .quote-form-buttons button.finish i {
    display: block;
    margin-left: 10px;
}

/* quote form textboxes with qty */
.quote-form .quote-form-panel.qty .quote-form-textbox {
    border: 0;
}

.quote-form .quote-form-panel.qty .quote-form-textbox span.date-label {
    width: auto;
    font-size: 16px;
    display: block;
    float: left;
    margin: 18px 20px 0 10px;
    color: #40362f;
}

.quote-form-note {
    width: 100%; 
    margin: 15px 0; 
    font-size: 16px;
    color: #40362f;
}

/* URNS */

.quote-form .quote-form-panel .quote-form-urn {
    height: auto;
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid rgba(49,63,94,0.25);
    border-radius: 2px;
    padding: 0;
    cursor: pointer;
}

.quote-form .quote-form-panel .quote-form-urn.selected {
    border: 2px solid #487f0a;
    background: rgba(49,63,94,0.05);
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-image {
    width: 70px;
    height: 70px;
    padding: 10px 0 10px 20px;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-image img {
    height: 100%;
    max-height: 100%;
    width: auto;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-meta {
    width: calc(100% - 140px);
    height: 100%;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-meta.family-provided-urn {
    width: calc(100% - 70px);
    margin-top: 18px;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-meta .quote-form-urn-title {
    width: 100%;
    font-size: 18px;
    color: #40362f;
    text-align: center;
    margin: 9px 0 0 0;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-meta .quote-form-urn-details-link {
    width: 100%;
    font-size: 16px;
    color: #40362f;
    text-align: center;
    margin: 9px 0 0 0;
    font-weight: bold;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-meta .quote-form-urn-details-link a {
    margin-right: 10px;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-details {
    display: none;
    width: 100%;
    font-size: 16px;
    color: #40362f;
    text-align: left;
    margin: 0;
    padding: 15px 30px;
    border-top: 1px solid rgba(49,63,94,0.25);
}


.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-check {
    width: 70px;
    height: 70px;
    padding: 18px 0 0 0;
    text-align: center;
    font-size: 32px;
    color: #ddd;
    border-left: 1px solid #e0e0e0;
}

.quote-form .quote-form-panel .quote-form-urn.selected .quote-form-urn-check {
    color: #487f0a;
    border-left: 1px solid rgba(49,63,94,0.25);
}

/* KEEPSAKES */

.quote-form .quote-form-panel .quote-form-keepsake {
    height: 110px;
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid rgba(49,63,94,0.25);
    border-radius: 2px;
    padding: 0;
    cursor: pointer;
}

.quote-form .quote-form-panel .quote-form-keepsake.selected {
    border: 2px solid #487f0a;
    background: rgba(49,63,94,0.05);
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-image {
    width: 70px;
    height: 110px;
    padding: 35px 0 10px 20px;
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-meta {
    width: calc(100% - 140px);
    height: 100%;
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-meta .quote-form-keepsake-title {
    width: 100%;
    font-size: 18px;
    color: #40362f;
    text-align: center;
    margin: 9px 0 0 0;
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-meta .quote-form-keepsake-details-link {
    width: 100%;
    font-size: 16px;
    color: #40362f;
    text-align: center;
    margin: 9px 0 0 0;
    font-weight: bold;
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-meta .quote-form-keepsake-details-link a {
    margin-right: 10px;
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-details {
    display: none;
    width: 100%;
    font-size: 16px;
    color: #40362f;
    text-align: left;
    margin: 0;
    padding: 15px 30px;
    border-top: 1px solid rgba(49,63,94,0.25);
}

.quote-form-keepsake-quantity {
    width: 200px;
    display: block;
    float: left;
    clear: both;
    margin: 0 0 0 calc(50% - 100px);
    text-align: center;
}

.quote-form-keepsake-quantity span.qty-label {
    width: auto;
    font-size: 16px;
    display: inline-block;
    float: left;
    margin: 16px 8px 0 10px;
    color: #40362f;
}

.quote-form-keepsake-quantity input[type="number"] {
    display: inline-block;
    float: left;
    position: relative;
    top: 12px;
    margin-right: 20px;
    width: 50px;
}

.quote-form .quote-form-panel .quote-form-keepsake .quote-form-keepsake-check {
    width: 70px;
    height: 125px;
    padding: 33px 0 0 0;
    text-align: center;
    font-size: 32px;
    color: #ddd;
    border-left: 1px solid #e0e0e0;
}

.quote-form .quote-form-panel .quote-form-keepsake.selected .quote-form-keepsake-check {
    color: #487f0a;
    border-left: 1px solid rgba(49,63,94,0.25);
}

.quote-form-mobile-close {
    display: none;
}

.urn-viewer {
    display: none;
    width: 100%;
    max-width: 700px;
    height: auto;
    position: absolute;
    top: 100px;
    left: calc(50% - 350px);
    z-index: 99900;
    background: #fff;
}

.urn-viewer .urn-viewer-header {
    height: 20px;
    width: 100%;
    text-align: right;
    margin-bottom: 40px;
}

.urn-viewer .urn-viewer-header i {
    position: relative;
    top: 10px;
    right: 15px;
    color: #40362f;
}

.urn-viewer .urn-viewer-image {
    height: calc(100% - 120px);
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0 60px;
}

.urn-viewer .urn-viewer-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.urn-viewer .urn-viewer-description {
    height: 100px;
    width: 100%;
    font-size: 16px;
    line-height: 21px;
    padding: 0 50px;
}

.keepsake-viewer {
    display: none;
    width: 100%;
    max-width: 700px;
    height: auto;
    position: absolute;
    top: 100px;
    left: calc(50% - 350px);
    z-index: 99900;
    background: #fff;
}

.keepsake-viewer .keepsake-viewer-header {
    height: 20px;
    width: 100%;
    text-align: right;
    margin-bottom: 40px;
}

.keepsake-viewer .keepsake-viewer-header i {
    position: relative;
    top: 10px;
    right: 15px;
    color: #40362f;
}

.keepsake-viewer .keepsake-viewer-image {
    height: calc(100% - 120px);
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0 60px;
}

.keepsake-viewer .keepsake-viewer-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.keepsake-viewer .keepsake-viewer-description {
    height: 100px;
    width: 100%;
    font-size: 16px;
    line-height: 21px;
    padding: 0 50px;
}

input[type="text"].autocomplete {
    overflow: auto;
}
