.xs-margin-right{margin-right: 5px}
.ms-margin-right{margin-right: 10px}
.ms-margin-left{margin-left: 10px}
.ms-margin-bottom{margin-bottom: 10px}
.md-margin-top{margin-top: 10px}
.xs-margin-top{margin-top:5px}
.lg-margin-top{margin-top: 25px}
.md-padding-top{padding-top: 10px}

.text-gray{color:#a2a2a2}
.rich-editor img{max-width: 100%}

.textline-2-limit{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-singleline{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.5em;
}

.main-nav{
    position: fixed;
    top:0;
    z-index: 10000;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0,34,77,.1);
    width: 100%;
    height: 56px;
    padding-left: 10%;
    padding-right: 10%;
}

.main-nav a{
    color: #337ab7;
    text-decoration: none;
}

.main-nav .dropdown-menu{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
    right: 0px;
    left: auto;
}
.main-logo{
    display: block;
    font-size: 16pt;
    font-weight: 400;
    width: 150px;
}
.main-nav a:hover,.main-nav a:focus{  text-decoration: none;  }
.main-logo .brand-name{
    position: absolute;
    bottom: 0px;
    line-height: 48px;
}

.main-nav .nav-item{
    display: block;
    padding-left: 18px;
    padding-right: 18px;
    position: relative;
    line-height: 56px;
}

.main-nav .nav-item .badge{
    position: absolute;
    right: 5px;
    top: 10px;
    background-color: #d9534f;
}

.main-nav .nav-item:hover{
    background-color: #eee;
}

.main-top{  padding-top: 56px;  }
.main-bottom{ padding-bottom: 88px}

a{cursor: pointer;}

.z-depth-1 {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.z-depth-2 {
    -webkit-box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}

.z-depth-3 {
    -webkit-box-shadow: 0 12px 15px 0 rgba(0,0,0,.24), 0 17px 50px 0 rgba(0,0,0,.19);
    box-shadow: 0 12px 15px 0 rgba(0,0,0,.24), 0 17px 50px 0 rgba(0,0,0,.19);
}

.editable{
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: 1px #337ab7 solid;
}

.editable:focus{
    outline:none;
}

.btn-loadmore{
    width: 100%;
    padding: 12px;
    border:none;
    border-top: #eee solid 1px;
    border-radius: 0px;
    font-size: 14px;
    color: #777;
    background: #fff;
}

.btn-loadmore:hover{
    color: #337ab7;
}

.btn-link, .btn-link:focus, .btn-link:hover{
    text-decoration:none;
}

.video-cover-container{  position: relative;  }
.video-cover-container .video-proportion{width: 100%}
.video-cover-container .video-cover{
    position: absolute;
    left: 0;
    right: 0;
    top:0;
    bottom: 0;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-align: center;
    z-index: 10;
}
.video-cover-container .video-cover a{  color: #fff;  }
.video-cover-container .video-cover a:hover{ color: #eee;}
.video-cover-container .video-player{
    position: absolute!important;
    left: 0;
    right: 0;
    top:0;
    bottom: 0;
    z-index: 1;
}

/**gtp player**/
.barCursor { /* Defines the color of the bar background when a bar is played */
    background: rgba(255, 242, 0, 0.25);
}

.selectionWrapper div { /* Defines the color of the selection background */
    background: rgba(64, 64, 255, 0.1)
}

.beatCursor { /* Defines the beat cursor */
    background: rgba(64, 64, 255, 0.75)
}

.atHighlight * { /* Defines the color of the music symbols when they are being played (svg) */
    fill: #0078ff;
}

.alphaTab:not(.horizontal) {
    margin: 0 auto;
}

.alphaTabSurface {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    background:#FFF;
    border-radius:3px;
}

/** comment */
.comment-item{
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.comment-item .answer-list{
    margin-top: 10px;
    border-top: 1px solid #eee;
}

.comment-item .comment-avatar {
    width: 64px;
    border-radius: 50%;
}

.comment-item .comment-time {
    color: #ccc;
    font-size: 12px;
}

.comment-item .comment-content {
    margin-top: 8px;
    line-height: 1.5;
}

.cursor-hand{  cursor: pointer;  }

.load-more{
    font-size: 14px;
    padding: 10px;
}

.web-footer{
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 100px;
    color: #333;
    background-color: #FFF;
}

.web-footer ul{  padding-left: 0;}

.web-footer-links{
    display: block;
    list-style-type: disc;
    padding-left: 0px;
    margin: 0 auto;
}
.web-footer-links li{display: inline-block; margin-right: 10px; list-style: none;}

.modal-dialog{margin-top: 60px}

@media (max-width: 1024px) {
    .main-nav{padding-left: 20px;padding-right: 20px;}
}

@media (max-width: 768px) {
    .main-logo{font-size: 14pt}
    .modal-dialog{margin-top: 60px}
}

@media (max-width: 400px) {
    .web-footer p{font-size: 12px}
}

@media (max-width: 360px) {
    .web-footer p{font-size:10px}
    .web-footer li{font-size: 12px}
    .web-footer .container{padding-left: 5px; padding-right: 5px;}
    .main-nav{padding-left: 10px;padding-right: 10px;}
    .main-nav .nav-item{padding-left: 12px; padding-right: 12px;}
}

.sbx-twitter {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 33px;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: 12px;
}

.sbx-twitter__wrapper {
    width: 100%;
    height: 100%;
}

.sbx-twitter__input {
    display: inline-block;
    -webkit-transition: box-shadow .4s ease, background .4s ease;
    transition: box-shadow .4s ease, background .4s ease;
    border: 0;
    border-radius: 17px;
    box-shadow: inset 0 0 0 1px #E1E8ED;
    background: #F5F8FA;
    padding: 0;
    padding-right: 52px;
    padding-left: 16px;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    white-space: normal;
    font-size: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.sbx-twitter__input::-webkit-search-decoration, .sbx-twitter__input::-webkit-search-cancel-button, .sbx-twitter__input::-webkit-search-results-button, .sbx-twitter__input::-webkit-search-results-decoration {
    display: none;
}

.sbx-twitter__input:hover {
    box-shadow: inset 0 0 0 1px #c1d0da;
}

.sbx-twitter__input:focus, .sbx-twitter__input:active {
    outline: 0;
    box-shadow: inset 0 0 0 1px #D6DEE3;
    background: #FFFFFF;
}

.sbx-twitter__input::-webkit-input-placeholder {
    color: #9AAEB5;
}

.sbx-twitter__input::-moz-placeholder {
    color: #9AAEB5;
}

.sbx-twitter__input:-ms-input-placeholder {
    color: #9AAEB5;
}

.sbx-twitter__input::placeholder {
    color: #9AAEB5;
}

.sbx-twitter__submit {
    position: absolute;
    top: 0;
    right: 0;
    left: inherit;
    margin: 0;
    border: 0;
    border-radius: 0 16px 16px 0;
    background-color: rgba(62, 130, 247, 0);
    padding: 0;
    width: 33px;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    font-size: inherit;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sbx-twitter__submit::before {
    display: inline-block;
    margin-right: -4px;
    height: 100%;
    vertical-align: middle;
    content: '';
}

.sbx-twitter__submit:hover, .sbx-twitter__submit:active {
    cursor: pointer;
}

.sbx-twitter__submit:focus {
    outline: 0;
}

.sbx-twitter__submit svg {
    width: 13px;
    height: 13px;
    vertical-align: middle;
    fill: #657580;
}

.sbx-twitter__reset {
    display: none;
    position: absolute;
    top: 7px;
    right: 33px;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    fill: rgba(0, 0, 0, 0.5);
}

.sbx-twitter__reset:focus {
    outline: 0;
}

.sbx-twitter__reset svg {
    display: block;
    margin: 4px;
    width: 11px;
    height: 11px;
}

.sbx-twitter__input:valid ~ .sbx-twitter__reset {
    display: block;
    -webkit-animation-name: sbx-reset-in;
    animation-name: sbx-reset-in;
    -webkit-animation-duration: .15s;
    animation-duration: .15s;
}

@-webkit-keyframes sbx-reset-in {
    0% {
        -webkit-transform: translate3d(-20%, 0, 0);
        transform: translate3d(-20%, 0, 0);
        opacity: 0;
    }
    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}

@keyframes sbx-reset-in {
    0% {
        -webkit-transform: translate3d(-20%, 0, 0);
        transform: translate3d(-20%, 0, 0);
        opacity: 0;
    }
    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}

.dplayer-menu {
    display: none !important;
}

.ad-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}