﻿.tabDiv,
.lookBtn {
    border: 1px solid #ddd;
    color: #236ec8;
    font-size: 14px;
    padding: 5px 20px;
    border-radius: 5px;
    cursor: pointer;

}

.tabDiv>a {
    color: #236ec8;
}

.tab_active>a {
    color: #fff;
}

.tabDiv {
    margin-bottom: 20px;
    margin-right: 20px;
}

.lookBtn {
    margin-left: 10px;
    color: #333;
}

.tab_active {
    background: #236ec8;
    color: #fff;
    font-size: 14px;
    border-color: #236ec8;
}

.tabForm {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.rtInput {
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: 0;
}

.rtInput:focus {
    border-color: #236ec8;
}

.mainCont {
    border: 1px solid #ddd;
}

.main_row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 0 20px;
}

.mrowHf .rowRt {
    width: 100px;
}

.mrowHf>a {
    display: flex;
    width: 90%;
}

.mrowHf>a .rowLt {
    display: flex;
    align-items: center;
    flex: 4;
}

.mrowHf>a .rowRt {
    flex: 1;
    margin: auto;
}

.rowLt {
    display: flex;
    align-items: center;
}

.reply_img {
    width: 80px;
    float: right;
}

.reply_img img {
    width: 100%;
}

.reply_img .tool-btn {
    margin: 5px 0;
}

.reply_img .tool-btn a {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -o-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -o-align-items: center;
    font-size: 13px;
    transition: all ease .3s;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -o-transition: all ease .3s;
}

.reply_img .tool-btn a:hover {
    cursor: pointer;
}

.reply_img .tool-btn a svg {
    margin-right: 5px;
    transition: all ease .3s;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -o-transition: all ease .3s;
}

.reply_img .tool-btn a:hover svg path {
    fill: #0056b3
}



@media screen and (max-width:992px) {
    .mrowHf>a {
        width: 100%;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;

    }

    .mrowHf>a .rowLt {
        width: 100%;
        flex: unset;
        -webkit-flex: unset;
        -moz-flex: unset;
        -o-flex: unset;

    }

    .mrowHf>a .rowLt .LtImg {
        width: 20%;
        margin: 0;
    }

    .mrowHf .rowRt {
        width: auto;
    }

    .main_row.mrowHf {
        flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        -moz-flex-wrap: nowrap;

    }

    .Lttxt>div,
    .rowRt>div {
        font-size: 12px !important;
        margin: 5px 0;
    }

    .detaile-wrapper .rowLt {
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
    }
}

@media screen and (max-width:768px) {
    .mrowHf>a {
        width: 100%;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;

    }

    .mrowHf>a .rowLt {
        width: 100%;
        flex: unset;
        -webkit-flex: unset;
        -moz-flex: unset;
        -o-flex: unset;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
    }

    .mrowHf>a .rowLt .LtImg {
        width: 100%;
        margin: 0;
    }

    .main_row.mrowHf {
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        padding-bottom: 10px;
    }

    .reply_img {
        margin: 5px 0;
    }
}

/*.rowRt{*/
/*width: 150px;*/
/*}*/
.LtImg {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
}

.LtImg img {
    width: 120px;
    margin: 0 auto;
}

.Lttxt {
    margin-left: 20px;
    width: 80%;
}

.Lttxt>div,
.rowRt>div {
    font-size: 14px;
}

.layui-layer {
    z-index: 999;
}

.txtCha {
    font-weight: bold;
    font-size: 16px !important;
}

.texteare_txt {
    padding: 30px;
    min-height: 200px;
    overflow: auto;
    color: #050505;
    line-height: 30px;
}


.productTr {
    border-top: 1px solid #ddd;
}

.proudctList {
    display: flex;
    /* align-items: center; */
    justify-content: space-evenly;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pdthead {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0;
    margin-left: 25px;
}

.products {
    width: 30%;
    margin-bottom: 40px;
    height: 200px;
    margin-top: 10px;
}

.products div {
    margin: 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.products img {
    height: 100%;
}

.pro_details {
    /*text-align: center;*/
    padding: 20px;
}

.pro_details img {
    width: 50%;
    height: 30%;
    /* margin: 0 auto;*/
}

.pro_details div {
    line-height: 30px;
}

.pro_details_title {
    text-align: left;
    color: #2b8cd5;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.pro_details_desc {
    text-align: left;
    color: #050505;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.pro_details_img {
    /*  text-align: center;*/
    margin-top: 15px;
}

.pro_details_img img {
    width: 30%;
}

/* 弹框 */
.poreyt {
    width: 100%;
    position: relative;
}

.modelwhite {
    position: absolute;
    top: 20%;
    left: 30px;
    right: 30px;
    height: 350px;
    z-index: 100;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    display: none;
}

.noModel {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -15px;
    top: -15px;
    background: #fff;
}

.detail_head {
    border-bottom: 1px dashed #333;
    margin: 0 20px;
    padding: 15px 0;
}

.detail_title {
    font-size: 20px;
    color: #236ec8;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail_text {
    height: 220px;
    overflow: auto;
}

.mainTable {
    width: 100%;
    overflow: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #e8e8e8;
}

table,
table tr th,
table tr td {
    border: 1px solid #e8e8e8;
}

table thead th {
    color: #fff;
    font-weight: bold;
    background: #236ec8;
}

table thead th {
    text-align: center;
    white-space: nowrap;
}

table tbody tr:nth-child(odd) {
    background: #f5f5f5;
}

th,
td {
    text-align: left;
    padding: 8px 8px;
}

tr>td:nth-child(4) {
    width: 30%;
    word-break: break-word;
}

/*tr>td:nth-child(2){
  width: 30%;
  word-break: break-word;
}*/
.mainlines {
    border-top: 1px dashed #ddd;
}

.dastr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding: 15px 10px;
    font-size: 14px;
}

.dastricon {
    margin-right: 2px;
    margin-top: 2px;
}



@media (max-width: 992px) {
    .main_row {
        padding: 0 15px;
    }

    .rowLt {
        width: 100%;
    }

    .LtImg {
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }

    .Lttxt {
        margin-left: 0;
    }

    .modelwhite {
        top: 27%;
    }

    .products {
        width: 100%;
        margin-bottom: 40px;
        height: 200px;
        margin-top: 10px;
    }

    table,
    table tr th,
    table tr td {
        font-size: 14px;
    }
}





/* 自定义滚动条 */

.texteare_txt::-webkit-scrollbar-track-piece,
.detail_text::-webkit-scrollbar-track-piece,
.mainTable::-webkit-scrollbar-track-piece {
    background-color: rgba(0, 0, 0, 0);
    border-left: 1px solid rgba(0, 0, 0, 0);
}

.detail_text::-webkit-scrollbar,
.texteare_txt::-webkit-scrollbar,
.mainTable::-webkit-scrollbar {
    width: 5px;
    height: 13px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.detail_text::-webkit-scrollbar-thumb,
.texteare_txt::-webkit-scrollbar-thumb,
.mainTable::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    min-height: 28px;
}

.detail_text::-webkit-scrollbar-thumb:hover,
.texteare_txt::-webkit-scrollbar-thumb:hover,
.mainTable::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


/*---------------------------留言form表单-------------------------*/
#replyPanel {
    width: 80%;
    margin: 0 auto;

}

textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.form-group label {
    display: inline-block;
    margin-bottom: .5rem;
}

@media (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.0em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-group .btn {
    width: 80px;
    height: 36px;
    border: 1px solid #c2c2c2;
    border-radius: 2px;
    transition: all ease .2s;
    cursor: pointer;
}

.form-group .btn:hover {
    box-shadow: 1px 1px 3px #ccc;
}

.form-group .btn.primary {
    border: 1px solid #1e9fff;
    background: #1e9fff;
    color: #fff;
}

.form-group .btn.default {
    background: #ffffff;
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-control:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #495057;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-control:focus::-ms-value {
    color: #495057;
    background-color: #fff;
}

.form-control-file,
.form-control-range {
    display: block;
    width: 100%;
}

.col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.2;
}

.col-form-label-lg {
    padding-top: calc(0.5rem + 1px);
    padding-bottom: calc(0.5rem + 1px);
    font-size: 1.25rem;
    line-height: 1.2;
}

.col-form-label-sm {
    padding-top: calc(0.25rem + 1px);
    padding-bottom: calc(0.25rem + 1px);
    font-size: 0.875rem;
    line-height: 1.2;
}

.form-control-plaintext {
    display: block;
    width: 100%;
    padding: 0.375rem 0;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.2;
    color: #212529;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}

.form-control-plaintext.form-control-sm,
.form-control-plaintext.form-control-lg {
    padding-right: 0;
    padding-left: 0;
}

.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.form-control-lg {
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.2;
    border-radius: 0.3rem;
}

select.form-control[size],
select.form-control[multiple] {
    height: auto;
}

textarea.form-control {
    height: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
}

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.form-row>.col,
.form-row>[class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.form-check-input[disabled]~.form-check-label,
.form-check-input:disabled~.form-check-label {
    color: #6c757d;
}

.form-check-label {
    margin-bottom: 0;
}

.form-check-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: 0.75rem;
}

.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: 0.3125rem;
    margin-left: 0;
}

.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #28a745;
}

.valid-tooltip {
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    margin-top: .1rem;
    font-size: 0.875rem;
    line-height: 1.2;
    color: #fff;
    background-color: rgba(40, 167, 69, 0.9);
    border-radius: 0.25rem;
}

.was-validated :valid~.valid-feedback,
.was-validated :valid~.valid-tooltip,
.is-valid~.valid-feedback,
.is-valid~.valid-tooltip {
    display: block;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid:focus,
.form-control.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated textarea.form-control:valid,
textarea.form-control.is-valid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:valid,
.custom-select.is-valid {
    border-color: #28a745;
    padding-right: calc(0.75em + 2.3125rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .custom-select:valid:focus,
.custom-select.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .form-check-input:valid~.form-check-label,
.form-check-input.is-valid~.form-check-label {
    color: #28a745;
}

.was-validated .form-check-input:valid~.valid-feedback,
.was-validated .form-check-input:valid~.valid-tooltip,
.form-check-input.is-valid~.valid-feedback,
.form-check-input.is-valid~.valid-tooltip {
    display: block;
}

.was-validated .custom-control-input:valid~.custom-control-label,
.custom-control-input.is-valid~.custom-control-label {
    color: #28a745;
}

.was-validated .custom-control-input:valid~.custom-control-label::before,
.custom-control-input.is-valid~.custom-control-label::before {
    border-color: #28a745;
}

.was-validated .custom-control-input:valid:checked~.custom-control-label::before,
.custom-control-input.is-valid:checked~.custom-control-label::before {
    border-color: #34ce57;
    background-color: #34ce57;
}

.was-validated .custom-control-input:valid:focus~.custom-control-label::before,
.custom-control-input.is-valid:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before,
.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before {
    border-color: #28a745;
}

.was-validated .custom-file-input:valid~.custom-file-label,
.custom-file-input.is-valid~.custom-file-label {
    border-color: #28a745;
}

.was-validated .custom-file-input:valid:focus~.custom-file-label,
.custom-file-input.is-valid:focus~.custom-file-label {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.invalid-tooltip {
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    margin-top: .1rem;
    font-size: 0.875rem;
    line-height: 1.2;
    color: #fff;
    background-color: rgba(220, 53, 69, 0.9);
    border-radius: 0.25rem;
}

.was-validated :invalid~.invalid-feedback,
.was-validated :invalid~.invalid-tooltip,
.is-invalid~.invalid-feedback,
.is-invalid~.invalid-tooltip {
    display: block;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated textarea.form-control:invalid,
textarea.form-control.is-invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:invalid,
.custom-select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(0.75em + 2.3125rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .custom-select:invalid:focus,
.custom-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-check-input:invalid~.form-check-label,
.form-check-input.is-invalid~.form-check-label {
    color: #dc3545;
}

.was-validated .form-check-input:invalid~.invalid-feedback,
.was-validated .form-check-input:invalid~.invalid-tooltip,
.form-check-input.is-invalid~.invalid-feedback,
.form-check-input.is-invalid~.invalid-tooltip {
    display: block;
}

.was-validated .custom-control-input:invalid~.custom-control-label,
.custom-control-input.is-invalid~.custom-control-label {
    color: #dc3545;
}

.was-validated .custom-control-input:invalid~.custom-control-label::before,
.custom-control-input.is-invalid~.custom-control-label::before {
    border-color: #dc3545;
}

.was-validated .custom-control-input:invalid:checked~.custom-control-label::before,
.custom-control-input.is-invalid:checked~.custom-control-label::before {
    border-color: #e4606d;
    background-color: #e4606d;
}

.was-validated .custom-control-input:invalid:focus~.custom-control-label::before,
.custom-control-input.is-invalid:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before,
.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before {
    border-color: #dc3545;
}

.was-validated .custom-file-input:invalid~.custom-file-label,
.custom-file-input.is-invalid~.custom-file-label {
    border-color: #dc3545;
}

.was-validated .custom-file-input:invalid:focus~.custom-file-label,
.custom-file-input.is-invalid:focus~.custom-file-label {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}

.form-inline .form-check {
    width: 100%;
}

@media (min-width: 576px) {
    .form-inline label {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 0;
    }

    .form-inline .form-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0;
    }

    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

    .form-inline .form-control-plaintext {
        display: inline-block;
    }

    .form-inline .input-group,
    .form-inline .custom-select {
        width: auto;
    }

    .form-inline .form-check {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: auto;
        padding-left: 0;
    }

    .form-inline .form-check-input {
        position: relative;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin-top: 0;
        margin-right: 0.25rem;
        margin-left: 0;
    }

    .form-inline .custom-control {
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .form-inline .custom-control-label {
        margin-bottom: 0;
    }
}

/*----------------------留言form结束-----------------------*/