html,
body {
    height: 100%;
    width: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
}

body::-webkit-scrollbar, .modal-open .modal::-webkit-scrollbar {
    display: none;
}

body {
    padding-right: 0 !important;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

.btn, .btn::after, .btn:active, .btn:hover, .btn:focus {
    border: none !important;
    outline: none;
}

ul, li {
    list-style: none;
}

body {
    max-width: 720px;
    margin: 0 auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #eee;
    -webkit-touch-callout: none;
    webkit-tap-highlight-color: #222222;
}

header.fix-top {
    position: fixed;
    width: 100%;
    max-width: 720px;
    z-index: 1030;
    height: 50px;
    background-color: white;
    border-color: rgba(34, 34, 34, 0.05);
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
}

header nav {
    background-color: #fff !important;
    border: none !important;
}

header nav .container {
    width: 100% !important;
}

.navbar-default{
    position: relative!important;
}

.navbar-default .navbar-header {
    display: flex;
    align-items: center;
}

.navbar-default .navbar-header .left,
.navbar-default .navbar-header .right {
    text-align: center;
    flex-basis: 100px;
}

.navbar-default .navbar-header .back {
    color: #fff;
    height: 35px;
    width: 35px;
    line-height: 35px;
    border-radius: 50%;
    background: #10a097;
    margin-left: 15px;
    font-size: 18px;
    font-weight: 400;
}

.navbar-default .navbar-header .back a {
    color: #fff;
    display: block;
    text-decoration: none;
}

.navbar-default .navbar-header .back i {
    margin-left: -2px;
}

.navbar-default .navbar-header .logo {
    flex: 1;
}

.navbar-default .navbar-header .navbar-brand {
    padding: 0;
    float: none;
}

.navbar-default .navbar-header .right {
    font-size: 15px;
    height: 50px;
    line-height: 50px;
}

.navbar-default .navbar-header .right a {
    color: #10a097;
    display: block;
    text-decoration: none;
}

section.body {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

section.body .list-item {
    margin: 0 5px 10px 5px;
    background: #fff;
    border-radius: 15px;
    cursor: pointer;
}

section.body .list-item .title {
    color: #10a097;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    margin: 0 10px;
    padding: 7px 0 4px;
    letter-spacing: 1px;
}

section.body .list-item .pic img {
    width: calc(100% - 10px);
    height: 140px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 10% 10%;
    object-position: 10% 10%;
    margin: 0 5px;
}

section.body .list-item .abstract {
    color: #949494;
    font-size: 15px;
    margin: 5px 10px 0;
    padding: 7px 0;
    letter-spacing: 1px;
    border-top: 1px solid #eee;
}

section.body .list-item .ctrl {
    display: flex;
    padding: 0 10px;
    justify-content: center;
}

section.body .list-item .ctrl .item-item {
    flex-basis: 50%;
    text-align: center;
    padding: 5px 0;
}

section.body .list-item .ctrl .item-item.apply {
    flex-basis: 50%;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    background: #10a097;
    border-radius: 15px;
    line-height: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    box-shadow: 0px 6px 2px 0px #48857d;
}

section.body .list-item .ctrl .item-item a {
    display: block;
    color: #fff;
    text-decoration: none;
}

section.body .list-item .ctrl .item-item:not(:last-child) {
    border-right: 1px solid #bce8f1;
}

#applyModal .modal-dialog {
    top: calc((100vh - 341px) / 2)
}

.modal.dialog .modal-dialog {
    top: calc((100vh - 181px) / 2)
}

.modal .modal-header {
    padding: 12px;
    border-bottom: 0;
}

.modal .modal-header .modal-title {
    color: #555;
    font-weight: 600;
    text-align: center;
}

.modal.query
.modal .modal-body {
    height: 220px;
}

.list-query {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    background: #fff;
    border-radius: 5px;
}

.list-query:first-child {
    margin-top: 0;
}

.list-query .avatar img {
    width: 120px;
    height: 70px;
    border-radius: 3px;
    margin: 5px;
}

.list-query .title {
    color: #777;
    font-size: 14px;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.list-query .content {
    display: flex;
}

.list-query .schedule {
    color: #666;
    margin: 5px 0 0 10px;
}

.modal.dialog .modal-body {
    /*height: 60px;*/
}

.modal .close {
    color: #fff;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    line-height: 22px;
    text-align: center;
    position: absolute;
    background: #e7000a;
    border: 2px solid #ffdf7a;
    border-radius: 50%;
    z-index: 1052;
    opacity: 1;
    margin-top: -10px;
    margin-right: -10px;
    box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, .25);
    text-shadow: none;
}

.dialog-message {
    margin-top: 10px;
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
}

input.form-control[readonly] {
    background: #fff;
}

.help {
    color: #999;
}

.help .title {
    color: red;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
}

.help .reminder {
    color: red;
    font-style: normal;
}

.modal .modal-footer {
    color: #007aff;
    display: flex;
    padding: 0;
    height: 50px;
    align-items: center;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.modal .modal-footer .btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 18px;
    font-weight: 600;
    height: 100%;
    line-height: 50px;
    padding: 0;
    border: none;
    flex-basis: 50%;
    background: #fff;
    border-radius: 0;
    margin-left: 0;
}

.modal.dialog .modal-footer .btn, .modal.query .modal-footer .btn {
    flex-basis: 100%;
    border-bottom-left-radius: 6px;
}


.modal .modal-footer .btn[data-dismiss] {
    border-right: 1px solid #eee !important;
    border-bottom-left-radius: 6px;
}

.modal .modal-footer .btn:last-child{
    border-right: none !important;
    border-bottom-right-radius: 6px;
}

.modal .modal-footer .btn.apply {
    border-bottom-right-radius: 6px;
}

a.btn {
    color: #007aff;
}

a.btn.apply:active {
    color: #007aff;
}

a.btn.apply:hover {
    color: #fff;
    background: #007aff;
}

footer.fix-bottom {
    position: fixed;
    width: 100%;
    max-width: 720px;
    bottom: 0;
    height: 60px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #cfcfcf;
    z-index: 1030;
}

footer.fix-bottom .container {
    width: 100% !important;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
}

footer.fix-bottom li {
    display: list-item;
    flex-basis: 25%;
}

footer.fix-bottom li a {
    display: flex;
    flex-direction: column;
    color: #10a097;
}

footer.fix-bottom li a .fa {
    font-size: 20px;
}

footer.fix-bottom li a span {
    padding-top: 3px;
}

footer ul li a:hover,
footer ul li a:focus,
footer ul li a:active,
footer ul li a.active {
    text-decoration: none;
}

@media (min-width: 768px) {
    body {
        background-color: #fff;
    }

    section.body {
        background: #eee;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }

    section.body .list-item .pic img {
        height: 250px !important;
    }

    footer.fix-bottom, header.fix-top {
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }

    .navbar-default .navbar-header{
        width: 100%;
    }

    .navbar-default .navbar-header .navbar-brand{
        margin: 0;
    }
}