body.page-rank-item {
    background: url(../images/bg.jpg) no-repeat top center / cover!important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #1d0d0b;
}

body:not(.home):not(.page-template-pc) {
    background-color: #1d0d0b!important;
}

.slogan {
    margin: 200px 0 0 0;
    text-align: center;
}

.slogan .logo {
    max-width: 200px;
    margin: 0 auto;
	display:none;
}

.slogan img {
    margin: 0 auto;
}

    @media(max-width: 1024px){
        #slogan{
        max-width: 300px;
    }
}

.user_block {
    text-align: center;
    margin-bottom: 15px;
}

.user_block a {
    display: inline-block;
}

.rank {
    background: #611319;
    border-radius: 10px;
    padding: 10px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.rank .table-responsive{
    border: 1px solid #fff;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 400px;
}

.content-page .table {
    color: #fff;
    border: none;
    margin-bottom: 0;
}

.content-page .table th {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.content-page .table td {
    font-size: 13px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.rank .title{
    text-transform:uppercase;
    color:orange;
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    margin-top: 0;
}


table>tbody>tr:hover {
    background: rgba(0, 0, 0, 0.2);
}

#loginModal .modal-dialog {
    max-width: 440px;
}

#loginModal .modal-header {
    padding: 0;
    border: none;
}

#loginModal .modal-body .topmodal {
    text-align: center;
    margin-bottom: 20px;
}

#loginModal .modal-body .topmodal .note_login {
    margin-top: 5px;
}

#loginModal .modal-body .loginForm .form-group {
    position: relative;
}

#loginModal .modal-body .loginMeta {
    margin-top: 15px;
    overflow: hidden;
}

#loginModal .modal-body .or_text {
    margin-top: 25px;
    text-align: center;
    margin-bottom: 15px;
}

#loginModal .modal-body .or_text::before {
    width: 60px;
    height: 1px;
    background: #a2adb3;
    content: "";
    display: inline-block;
    margin-right: 5px;
}

#loginModal .modal-body .or_text::after {
    margin-left: 5px;
    width: 60px;
    height: 1px;
    background: #a2adb3;
    content: "";
    display: inline-block;
}

#loginModal .modal-body .continue_login .btn {
    text-align: left;
    height: 44px;
    margin-bottom: 10px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
}

#loginModal .modal-body .continue_login .btn i {
    margin-right: 10px;
    font-size: 20px;
}

#loginModal .modal-body .continue_login .btn-facebook {
    background: #3b5998;
    color: #fff;
    font-size: 15px;
}

#loginModal .modal-body .continue_login .abcRioButtonBlue {
    width: 100% !important;
    text-align: left !important;
}

#loginModal .modal-body .loginForm .form-group i.fa {
    position: absolute;
    top: 10px;
    left: 9px;
    color: #40474b;
}

#loginModal .modal-body .input-password,
#loginModal .modal-body .input-user {
    padding-left: 25px;
}

#loginModal .modal-body .loginMeta .acc-footer {
    float: left;
    clear: inherit;
    width: auto;
}

#loginModal .modal-body .loginMeta .acc-forgot {
    float: right;
    font-size: 13px;
}

.user_block .user_info {
    background: rgba(255, 251, 221, 0.6);
    border: 1px solid #611319;
    border-radius: 6px;
    text-align: left;
    padding: 10px;
    color: #611319;
    max-width: 400px;
    margin: 0px auto;
    display: flex;
}

.user_info p {
    margin-bottom: 5px;
}

.user_info .user_inf {
    width: 75%;
}

.user_info .user_action {
    width: 25%;
    padding-top: 15px;
}

.modal .modal-title {
    margin-top: 0;
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
}

.modal .modal-header {
    padding: 0;
}

#user_attendance .modal-dialog {
    max-width: 440px;
}

#user_attendance .modal-body {
    padding-top: 15px;
}

#thele .modal-dialog {
    width: 860px;
}

#thele .modal-content {
    background: none;
    border: none;
    box-shadow: inherit;
}

#thele .close {
    width: 57px;
    height: 57px;
    background: url(../images/btn-close.png) no-repeat top left / 100%;
}

#thele .modal-header {
    border-bottom: none;
    padding: 0;
}

@media(max-width: 800px) {
    body.page-rank-item {
        background: url(../images/bg-mob.jpg) no-repeat top center / cover, #1d0d0b!important;
    }
    .content-page {
        max-width: 420px;
    }
	
	.slogan .logo {
		max-width: 200px;
		margin-left:-75px;
		display:block;
	}
	
    .slogan img {
        max-width: 100%!important;
        width: 80%!important;
    }
	#slogan{
		margin-left: -54px;
	}
    .slogan {
        position: relative!important;
        transform: inherit!important;
        left: auto;
        bottom: 0;
    }
    #thele .modal-dialog {
        width: auto;
    }
    #thele .modal-dialog .modal-content {
        padding: 0;
        margin-left: -20px;
        margin-right: -20px;
    }
    #thele .close {
        display: block!important;
        right: 20px;
        width: 40px;
        height: 40px;
        z-index: 1;
        top: 10px;
    }
}

@media(max-width:550px) {
    .slogan {
        width: 280px;
        margin: 20px auto;
    }
    .user_block {
        margin-top: 15px;
    }
    .user_inf {
        font-size: 14px;
    }
    body:not(.home):not(.page-template-pc):not(.page-id-2327) {
        background-position: left top 0px!important;
    }
}