body {
    background: #f6f6f6f6; !important;
}

ul.errorlist {
    padding-left: 0;
}

ul.errorlist > li {
    list-style: none;
}

.navbar {
    border-radius: 0;
}

.navbar-brand {
    font-family: 'Satisfy', cursive;
    font-size: 25px;
}

.navbar-nav > li{
    padding-left: 0;
    padding-right: 20px;
    font-size: 15px;
}

.copyright{
    color: #8c8c8c;
}

/* latin */
@font-face {
  font-family: 'Satisfy';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/satisfy/v11/rP2Hp2yn6lkG50LoCZOIHQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.navbar-logo {
    width: 120px;
    margin-right: 7%;
}
.navbar-logo img {
    width: 100%;
    height: auto;
}
.navbar-brand {
    font-family: Satisfy;
    font-size: 25px;
    color: #FA541C  !important;
}
.hlcoding-brand  {
    font-size: 20px;
    color: #FA541C  !important;
}
 .navbar-default .navbar-nav>.active>a {
    color: #fff;
    background-color: #FA541C;
}
.navbar-inverse .navbar-nav>.active>a {
    color: #fff;
    background-color: #FA541C;
}
.countdown-timer {
    font-size: 15px;
    color: #ffffff;
    transition: color 0.3s ease;
}
.countdown-timer:hover {
    color: #FA541C;
}
.new-flag:after {
    content: "新";
    color: #fff;
    position: absolute;
    padding: 1px 1px 1px 1px;
    z-index: 99;
    background: #f52c11;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    border: 1px solid #d43f3a;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 80px !important;
}

.body_content {
  min-height: calc(100vh - 170px);
}
.footer {
  height: 30px;
}

.vertical-center {
    display: flex;
    align-items: center;
    background-color: white;
}

.row.text-center > div {
    display: inline-block;
    float: none;
}

.btn-file {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}


#progress-wrp {
    border: 1px solid #0099CC;
    padding: 1px;
    position: relative;
    height: 30px;
    border-radius: 3px;
    margin: 10px;
    text-align: center;
    background: #fff;
    box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
}
#progress-wrp .progress-bar{
    height: 100%;
    border-radius: 3px;
    background-color: #5cb85c;
    width: 0;
    box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}
#progress-wrp .status{
    top:3px;
    left:45%;
    position:absolute;
    display:inline-block;
    color: #000000;
}

.round{
    border-radius: 1020px;
}

.btn-subtitle {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.btn-index{
    color: #FFF;
    box-shadow: 3px 3px 3px silver;
}

.personal-info{
    font-size: 20px;
}

blockquote{
    font-size: 13px;
}

.panel{
    box-shadow: 0 5px 15px 0 rgba(0,0,0,0.08);
}

.nice_font{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.notification-number{
    position: absolute;
    left: 25px;
    top: 10px;
    min-width: 15px;
    padding: 0 3px 0 3px;
    font-weight: bold;
    text-align: center;
    background: red;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
}

.chat-list-status-online {
    position: absolute;
    left: 25px;
    top: 10px;
    min-width: 15px;
    padding: 0 3px 0 3px;
    text-align: center;
    font-size: 12px;
}

.modal {
  text-align: center;
}

.modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

#code_editor {
    position: relative !important;
    border: 1px solid lightgray;
    margin: auto;
    min-height: 400px;
    height: auto;
    width: 100%;
}

#code_tool_bar {
    height: 60px;
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #c2c7d0;
    margin-bottom: 0;
}

#chat_code_editor {
    position: relative !important;
    border: 1px solid lightgray;
    margin: auto;
    min-height: 400px;
    height: auto;
    width: 100%;
}

#chat_code_tool_bar {
    height: 60px;
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #c2c7d0;
    margin-bottom: 0;
}

.editor_tool_btn {
    font-size: 25px;
    padding: 10px 20px 10px 10px;
}

.editor_tool_refresh_btn {
    font-size: 21px;
    padding: 13px 0 10px 15px;
}

.code-editor-option-head{
    font-size: 20px;
}

.code-editor-option-title{
    font-size: 17px;
    margin-bottom: 10px;
}

.code-editor-option-description{
    font-size: 13px;
    color: grey;
}

.comment-title {
    color:#999999;
    font-size: 13px;
}

a.hand-cursor:hover {
    cursor:pointer;
}

.acwing-window {
    width: 80%;
    position: fixed;
    height: 90%;
    top: 6%;
    right: 10%;
    z-index: 102;
}

.acwing-window-body {
    overflow-y: scroll;
    height: 90%;
}

.base_body{
    padding-top: 75px;
    position: relative;
}

.vote{
    text-align: center;
    font-size: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #afafaf;
}

.votecnt{
    font-size: 20px;
    color: #afafaf;
    padding-top: 10px;
    padding-bottom: 10px;
}

.vote_active{
    color: darkorange;
}

.favorite{
    color: #FFCC00;
}

.favoritecnt{
    font-size: 20px;
    color: #afafaf;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: -5px;
}

.favorite_number{
    color: #D4A849;
}

div.vote_cut{
    padding-left: 0;
    padding-right: 0;
}

.ui-autocomplete {
    z-index: 100000000 !important;
}

.user-profile-security-process-menu-link {
    font-size: 16px;
    font-weight: bold;
    color: black;
    transition: 200ms;
}

.user-profile-security-process-menu-link:hover {
    color: #00a1d6;
}

.user-profile-security-process {
    margin: 0 auto 0 auto;
    width: 80%;
}

.user-profile-security-process-nav {
    margin: 50px auto;
    text-align: center;
}

.user-profile-security-process-nav-step {
    color: #99a2aa;
    font-size: 18px;
    text-align: center;
    margin: 0 10px;
}

.user-profile-security-process-nav-step-item {
    height: 20px;
    width: 80%;
    margin: 10px 0;
}

.user-profile-security-error-message {
    font-size: 14px;
    color: #e40c0c;
    min-height: 30px;
    line-height: 30px;
}

#phone_area_code_list::-webkit-scrollbar {
    width: 5px;
}

/* Track */
#phone_area_code_list::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px grey;
    border-radius: 10px;
}

#phone_area_code_list::-webkit-scrollbar-track-piece {
    background: white;
}

/* Handle */
#phone_area_code_list::-webkit-scrollbar-thumb {
    background: darkgray;
    border-radius: 10px;
}

/* Handle on hover */
#phone_area_code_list::-webkit-scrollbar-thumb:hover {
    background: grey;
}

#overlay{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8) none 50% / contain no-repeat;
    cursor: pointer;
    transition: 0.3s;

    visibility: hidden;
    opacity: 0;
    z-index: 100000000;
}
#overlay.open {
  visibility: visible;
  opacity: 1;
}

#overlay:after { /* X button icon */
  content: "\2715";
  position: absolute;
  color:#fff;
  top: 10px;
  right:20px;
  font-size: 2em;
}

.user-myspace-base-person-info-bottom-item {
    font-size: 13px;
    font-family: Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;
    cursor: pointer;
}

.user-myspace-base-person-info-bottom-item-title {
    color: #99a2aa;
}

.user-myspace-base-person-info-bottom-item-content {
    margin-top: 5px;
    color: #222;
}


.user-myspace-base-person-info-bottom-item:hover > div {
    color: #00a1d6;
}

.user-myspace-base-person-info-bottom-item-normal {
    font-size: 13px;
    font-family: Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;
}

.user-myspace-base-person-visit-record-head {
    text-align: left;
    font-weight: bold;
}

.user-myspace-base-person-visit-record-body {
    margin-top: 5px;
}

.user-myspace-base-person-visit-record-body-items {
    display: inline-block;
    float: left;
    padding: 2px;
    width: 20%;
    cursor: pointer;
}

.user-myspace-base-person-visit-record-body-items-photo:hover {
    transform: scale(1.1);
    transition: 200ms;
}

.user-myspace-base-person-visit-record-body-items-username {
    overflow: hidden;
    white-space: nowrap;
}

#hlcoding_global_timer {
    position: fixed;
    top: 75px;
    left: 5px;
    font-size: 13px;
    background-color: rgba(50, 50, 50, 0.7);
    color: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 13%;
    max-width: 150px;
    text-align: center;
}
#hltimerDisplay {
    margin-top: 10px;
    font-size: 26px;
    text-align: center;
    font-weight: bold;
}
#hltimeSelect {
    background-color: rgba(50, 50, 50, 0.7);
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px;
    font-size: 13px;
}
#hltimeSelect option {
    background-color: rgba(50, 50, 50, 0.7);
    color: #eb5c20;
}
#hlplayButton {
    background: none;
    border: none;
    color: #f52c11;

    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s;
}
#hlplayButton:hover {
    color: #d4004a;
}
.huolong_watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 36px;
    color: rgb(255, 255, 255, 0.54);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: -1; /* 将水印放在最底层 */
}

.huolong_watermark {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    font-size: 0;
    color: transparent;
    transform: none;
}

.huolong_watermark::before {
    content: attr(data-watermark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 36px;
    color: rgb(255, 255, 255, 0.54);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    line-height: 1.35;
}

@media (max-width: 767px) {
    html,
    body,
    #huolong_body,
    .base_body {
        overflow-x: hidden;
    }
    
    .huolong_watermark::before {
        width: calc(100vw - 32px);
        max-width: 260px;
        font-size: 16px;
        white-space: normal;
        word-break: break-all;
        text-align: center;
        transform: translate(-50%, -50%);
        text-shadow: none;
    }
}


 .huolong-layout-footer {
        position: fixed;
        bottom: -100px;
        left: 0;
        width: 100%;
        flex: 0 0 auto;
        background-color: #353535;
        border-top: 1px solid #383c3d;
        color: #e8e8e8e8;
        z-index: 1000;
        transition: bottom 0.5s ease-in-out;
         box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    }
    .huolong-footer-layout {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .footer-visible {
        bottom: 0;
    }
    .hover-area {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        z-index: 999;
        background: transparent;
    }
.huolong-layout-footer a {
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.huolong-layout-footer a:hover {
    color: #f52c11;
    text-decoration: none;
}
    .huolong-footer-layout  .copy {
        padding-top: 60px;
        line-height: 24px;
        margin: 0 auto;
        text-align: center;
    }
    .huolong-footer-layout .line {
    margin: 0 8px 0 8px;
    color: #D9D9D9;
}