/*------------------------------------*\
    index.ejs
\*------------------------------------*/
body {
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    color: #868F9B;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 20px;
    color: #333;
}

h1 {
    font-size: 54px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

a {
    color: #FF7722;
    text-decoration: none;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
    opacity: 0.8;
    color: #FF7722;
}

.main-color {
    color: #FF7722;
}

.white-text {
    color: #FFF;
}

::-moz-selection {
    background-color: #FF7722;
    color: #FFF;
}

::selection {
    background-color: #FF7722;
    color: #FFF;
}

#top_box {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    padding: 80px 0 40px 0;
}

#top_bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

    z-index: -10;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-image: url("/img/web/sybj.jpg");
}

#top_overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

    z-index: -9;
    opacity: .6;
    background: #333333;
}

#header-box {
    text-align: center;
}

#avatar_img {
    border-radius: 5px;
    width: 6em;
    /* height: 8em; */
}

#txt_username {
    margin: 8px 0;
    color: #FFF;
    padding-top: 20px;
}

/* --  作品样式  -- */
.img-slt {
    width: calc(100% - 2px);

    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-top: 1px solid #EEE;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.txt-project-title {
    width: calc(100% - 2px);
    color: #333;
    text-align: center;
    line-height: 40px;

    border-top: 1px dotted #F8F8F8;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}


/* --  个人中心的样式  -- */
.txt-project-title1 {
    width: calc(100% - 2px);
    color: #333;
    text-align: center;
    line-height: 40px;

    border-top: 1px solid #EEE;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-bottom: 1px dotted #EEE;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

    background-color: #FFF;
    display: flex;
}

.img-slt1 {
    width: calc(100% - 2px);
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
}

.txt-project-title2 {
    width: calc(100% - 2px);
    color: #333;
    text-align: center;
    line-height: 40px;

    border-top: 1px dotted #F8F8F8;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

    background-color: #EEE;
    display: flex;
}

.project-top-right {
    border-top-right-radius: 5px;
    flex: 1;
    color: #BBB;
    font-size: xx-small;
}

.project-bottom-left {
    flex: 1;
    border-bottom-left-radius: 5px;
    margin-right: 1px;
    background-color: #FFF;
}

.project-bottom-right {
    flex: 1;
    border-bottom-right-radius: 5px;
    background-color: #FFF;
}

.project-bottom-left:hover,
.project-bottom-right:hover,
.project-top-right:hover {
    cursor: pointer;
    background-color: #FF5722;
    color: #FFF;
}

.is_null {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
}

/* --  个人中心菜单栏  -- */
#head_box {
    display: flex;
    align-items: center;
    height: 68px;
    width: 100%;
    margin: 0 auto;
}

#head_avatar {
        width: 40px;
    /* height: 20px; */
    border-radius: 5px;
    padding: 10px;
}

#head_username {
    width: 180px;
    font-size: large;
    margin-left: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

#head_menu {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

#head_menu>a {
    color: #333;
}

#head_menu>a:hover {
    color: #F72;
}


/* --  个人中心的样式  -- */
#content_box {
    display: flex;
    justify-content: center;
    background-color: #F8F8F8;
    text-align: center;
    padding: 20px;
}

.content-item {
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 30px 0 20px 30px;
}

#content_box2 {
    display: flex;
    justify-content: center !important;
    text-align: center;
}

.zhuangqu-box {
    background-color: #FFF;
    border-radius: 5px;
}

.zhuangqu-box:hover {
    background-color: #333;
}

.zhuangqu-img {
    width: 100%;
    height: 100%;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;

    transition-property: transform;
    transition-duration: 0.5s
}

.zhuangqu-img:hover {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    transform: translate(0px, 24px);
}

.zhuangqu-go:hover {
    background-color: #F72;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.zhuangqu-go {
    height: 48px;
    line-height: 48px;
    text-align: center;
}

.zhuangqu-go a {
    color: #333;
}

.zhuangqu-go a:hover {
    color: #FFF;
}

.section-header {
    position: relative;
    margin-bottom: 60px;
}

.section-header .title {
    text-transform: capitalize;
    text-align: center;
}

.title:after {
    content: "";
    display: block;
    height: 4px;
    width: 40px;
    background-color: #FF7722;
    margin-top: 20px;
}

.text-center .title:after {
    margin: 20px auto 0px;
}

/*------------------------------------*\
    Back to top
\*------------------------------------*/
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #FF7722;
    border-radius: 3px;
    color: #FFF;
    z-index: 9999;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    cursor: pointer;
}

#back-to-top:after {
    content: "\f106";
    font-family: 'FontAwesome';
}

#back-to-top:hover {
    opacity: 0.8;
}

/* --  background section  -- */

.bg-grey {
    background-color: #FAFAFA;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}
.bg-white {
    background-color: white;
}
.bg-dark {
    background-color: #333;
}


/* --  background image section  -- */
.bg-img {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.bg-img .overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: .8;
    background: #333333;
}


/* --  section header  -- */

.section-header {
    position: relative;
    margin-bottom: 60px;
}

.section-header .title {
    text-transform: capitalize;
}

.title:after {
    content:"";
    display:block;
    height:4px;
    width:40px;
    background-color: #FF7722;
    margin-top: 20px;
}

.text-center .title:after {
    margin: 20px auto 0px;
}

/*------------------------------------*\
    Why choose us
\*------------------------------------*/

.feature {
    margin: 15px 0px;
}
.feature i {
    float: left;
    padding: 5px;
    border-radius: 50%;
    color: #FF7722;
    border: 1px solid #FF7722;
    margin-right: 5px;
}

/*------------------------------------*\
    Numbers
\*------------------------------------*/

.number {
    text-align: center;
    margin: 15px 0px;
}

.number i {
    color: #FF7722;
    font-size: 36px;
    margin-bottom: 20px;
}

.number h3 {
    font-size: 36px;
    margin-bottom: 10px;
}



#head_menu>a {
    margin: 0 12px;
    background-color: #FF5722;
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    /* background-color: #009688; */
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
}

#head_menu>a:hover{
    opacity: .8;
    color: #fff;
}