#overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 29500;
    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-left: calc(50% - 350px) !important;
    z-index: 29998;
    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: #999;
}

.quote-form .quote-form-message {
    display: none;
    height: 48px;
    width: 100%;
    margin: 0 0 25px 0;
    padding: 16px 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: #404040;
    margin-bottom: 26px;
    text-align: center;
}

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

.quote-form .quote-form-panel .quote-form-option {
    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: rgba(49,63,94,0.75);
    text-align: center;
    padding-top: 17px;
    cursor: pointer;
}

.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: #304562;
    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: rgba(49,63,94,0.75);
    text-align: center;
    padding: 0;
    cursor: pointer;
}

.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: #999;
    font-size: 16px;
    outline: none !important;
}

.quote-form .quote-form-panel .quote-form-textbox input[type="date"] {
    width: calc(100% - 140px);
     display: block;
    float: left;
    outline: none !important;
}

.quote-form .quote-form-panel .quote-form-textbox input[type="number"] {
    width: 65px;
    height: calc(100% - 20px);
    border: 1px solid #e0e0e0;
    float: left;
    margin: 10px 0 0 0;
    padding: 5px 10px;
    color: #999;
    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: #999;
}

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

.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: rgba(49,63,94,0.75);
}

.quote-form .quote-form-panel .quote-form-buttons button span {
    display: block;
    float: left;
    font-size: 16px;
    color: rgba(49,63,94,0.75);
    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-atneed,
.quote-form .quote-form-panel .quote-form-buttons button.urn-next-preneed {
    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-atneed i,
.quote-form .quote-form-panel .quote-form-buttons button.urn-next-preneed i,
.quote-form .quote-form-panel .quote-form-buttons button.finish i {
    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: #999;
}

/* 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 .quote-form-urn-title {
    width: 100%;
    font-size: 18px;
    color: rgba(49,63,94,0.75);
    text-align: center;
    margin: 9px 0 8px 0;
}

.quote-form .quote-form-panel .quote-form-urn .quote-form-urn-meta .quote-form-urn-details-link {
    width: 100%;
    font-size: 16px;
    color: rgba(49,63,94,0.75);
    text-align: center;
    margin: 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: rgba(49,63,94,0.75);
    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: 17px 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);
}

.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: 30500;
    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: #999;
}

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

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