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

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

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

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

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    background: #f1f6fd;
    color: #474157;
    height: calc(100vh - 61px);
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}

/* 转码页面 */
#mainbody2 {
    width: 100%;
    background: #f1f6fd;
    color: #474157;
}

#mainbody2 .container h2 {
    font-size: 3rem;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

#mainbody2 .container h4 {
    text-align: right;
}

#mainbody2 .container button>a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer {
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}
.footer p {
    font-size: 14px;
    margin: 0;
}


.content-title {
    display: flex!important;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 10px 0;
}
.content-title p{
    font-size: 2.5rem;
}
.content-title a{
    font-weight: 600;
    color: #e21143;
    font-size: 1.6rem;
    text-decoration: revert;
}

/* 留言页面 */
#mainbody3 {
    width: 100%;
    background: #ffffff;
}
#mainbody3 .container h2 {
    font-size: 2.6rem;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}
#mainbody3 input{
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
}
#mainbody3 .form-group label{
    letter-spacing: 1.5px;
}
#mainbody3 .form-group>label>span{
    color: red;
    padding-right: 5px;
    vertical-align: middle;
}
#mainbody3 .form-group>p{
    color: rgb(156, 156, 156);
    font-size: 14px;
}
#mainbody3 button{
    margin: 30px 0 40px 0;
    color: #ffffff;
    background-color: #333333;
}


/* 列表页面 */
#mainbody4 .bd-callout{
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}
#mainbody4 .bd-callout-info{
    border-left-color: #5bc0de;
}

#mainbody4 .list-unstyled{
    margin: 5px 0;
}

#mainbody4 .bd-callout p{
    text-align: justify;
    transition: all 0.2s ease;
}
.bd-callout-title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: all 0.2s ease;
}

#mainbody4 .bd-callout a{
    display: block;
    text-align: right;
}
#mainbody4 .pageList{
    width: 100%;
    text-align: center;
}
#mainbody4 .empty{
    font-size: 18px;
    margin-top: 100px;
    text-align: center;
}

/* 留言首页 */
#mainbody5{
    width: 100%;
}

#mainbody5  h2 {
    font-size: 2.6rem;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

#mainbody5 form{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#mainbody5 form .form-control{
    height: 40px;
    width: calc(100% - 20% - 10px) !important;
}
#mainbody5 form button{
    height: 40px;
    width: 20% !important;
}
/* .mainbody5-write{
    margin-top: 35px;
} */

#mainbody5 code {
    background-color: #ffffff;
}