@charset "utf-8";

.service-search-body {
    background: #f5f7fa;
}

.service-search-body.modal-open {
    overflow: hidden;
}

.service-search-page {
    width: 100%;
    min-width: 1200px;
    min-height: calc(100% - 73px);
    margin: 0;
    padding: 0;
    
    color: #212133;
}

.full-screen-bg{
    background: url('../../images/img/search/wrw_search_bg.png') no-repeat center center;
    background-size: cover;
}

.full-screen-bg-top{
    background: url('../../images/img/search/wrw_search_bg-top.png') no-repeat center top #fff;
    background-size: cover;
}

.service-search-hero {
    box-sizing: border-box;
}

.service-search-inner {
    width: 900px;
    margin: 0 auto;
    padding-top: 257px;
    text-align: center;
}

.full-screen-bg-top .service-search-inner {
    width: 900px;
    margin: 0 auto;
    padding-top: 103px;
    text-align: center;
    height: 500px;
    box-sizing: border-box;
}

.service-search-title {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: normal;
    color: #333333;
    margin-bottom: 32px;
}

.service-search-title img {
    display: block;
    width: 61px;
    height: 59px;
    object-fit: contain;
}

.service-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 704px;
    height: 56px;
    padding: 0 8px 0 28px;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 40px;
    background: #FFFFFF;
    box-shadow: 0px 4px 8px 0px rgba(146, 81, 53, 0.05),0px 8px 15px 0px rgba(72, 29, 14, 0.035);
}

.service-search-form input {
    width: 570px;
    height: 38px;
    padding-right: 10px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: normal;
    line-height: 12px;
    color: #212133;
}

.service-search-form input::placeholder {
    color: #bebfc8;
    font-size: 12px;
}

.service-search-error {
    position: absolute;
    bottom: -30px;
    left: 28px;
    color: #f75043;
    font-size: 12px;
    line-height: 20px;
    text-align: left;
}

.service-search-error[hidden] {
    display: none;
}

.service-search-form button {
    flex: 0 0 112px;
    height: 40px;
    border: none;
    outline: none;
    border-radius: 40px;
    background: linear-gradient(120deg, #f75043 41%, #ff8e1b 122%);
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: normal;
    color: #FFFFFF;
    cursor: pointer;
}

.service-search-form button:hover,
.service-search-form button:focus {
    background: #fb644f;
    box-shadow: 0 4px 12px rgba(247, 80, 67, 0.24);
}

.service-search-form button:disabled {
    cursor: default;
    opacity: .72;
    box-shadow: none;
}

.button-loading {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: service-loading .7s linear infinite;
}

@keyframes service-loading {
    to { transform: rotate(360deg); }
}

.cooperation-tip-trigger {
    margin-top: 32px;
    padding: 0;
    color: #212133;
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
}

.cooperation-tip-trigger:hover,
.cooperation-tip-trigger:focus {
    color: #f75043;
}

.cooperation-tip-trigger span {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 3px;
    border: 1px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
}

.service-results {
    min-height: 420px;
    padding: 20px 0 70px;
    box-sizing: border-box;
}

.service-results[hidden],
.service-modal[hidden] {
    display: none !important;
}

.service-results-shell {
    width: 900px;
    margin: 0 auto;
}

.service-result-summary {
    min-height: 20px;
    margin: 0 0 20px;
    color: #8e8f9e;
    font-size: 13px;
    line-height: 20px;
}

.service-result-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-result-card {
    padding: 24px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
}

.service-provider-name {
    margin: 0 0 16px;
    overflow: hidden;
    color: #3D3D3D;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-provider-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 150px;
    background: #f5f7fa;
}

.service-provider-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
}

.service-provider-label {
    display: block;
    margin-bottom: 16px;
    color: #8e8f9e;
    font-size: 14px;
    line-height: 14px;
}

.service-provider-value {
    display: block;
    color: #212133;
    font-size: 14px;
    line-height: 14px;
}

.certificate-thumbnail {
    width: 120px;
    height: 86px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: none;
    outline: none;
}

.certificate-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    cursor: pointer;
}

.service-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 240px;
    color: #8E8F9E;
    background: #fff;
    border-radius: 4px;
    text-align: center;
}

.service-empty img {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
}

.service-empty p {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
}

.service-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .42);
}

.service-modal-panel {
    position: relative;
    z-index: 1;
    width: 600px;
    height: 424px;
    padding: 0 20px;
    border: none;
    outline: none;
    box-sizing: border-box;
    border-radius: 12px;
    background: rgba(253, 231, 222, 1);
    background: url('../../images/img/search/wrw_pop_bg.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.service-modal-panel h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 73px;
    font-size: 18px;
    font-weight: 500;
}

.service-modal-panel h2 img{
    display: block;
    width: 103px;
    height: 24px;
}

.service-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #8e8f9e;
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 30px;
}

.service-modal-close:hover,
.service-modal-close:focus {
    color: #f75043;
}

.cooperation-modal-content {
    width: 560px;
    height: 263px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    color: #585B6B;
    padding: 20px;
}

.cooperation-modal-content  p:nth-of-type(2) {
    margin-top: 20px;
}

.service-modal-primary {
    display: block;
    width: 160px;
    height: 40px;
    margin: 20px auto 0;
    color: #fff;
    border: none;
    border-radius: 8px;
    background: #FF442B;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.service-modal-primary:hover,
.service-modal-primary:focus {
    background: #fb644f;
}

.certificate-modal-panel {
    width: 760px;
    height: auto;
    max-height: calc(100vh - 40px);
    padding-bottom: 20px;
}

.certificate-preview-wrap {
    max-height: none;
    overflow: visible;
    text-align: center;
}

.certificate-preview-wrap img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 148px);
    height: auto;
    margin: 0 auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media screen and (max-width: 1728px) and (max-height: 1000px) {
    .service-search-inner {
        padding-top: 8%;
    }
    .full-screen-bg-top .service-search-inner{
        height: 390px;
    }
}
