/**
* MAIN STYLE
*/

body {
    width: 100%;
    min-height: 100%;
    background: #303030;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: #A09E9B;
}

.main-wrapper {
    max-width: 480px;
    min-height: 100px;
    margin: 0 auto;
    padding: 0;
}

.main-wrapper .main-block {
    background: #181818;
    padding: 10px;
    width: 97%;
    margin: 0 auto;
    border: 4px solid #1B1B1B;
}

a {
    color: #747474;
}

a.block {
    width: auto;
    display: block;
    padding: 5px 10px;
    background: #282828;
    border: 1px solid #c3aa99;
    text-decoration: none;
    margin: 5px auto;
}

a.block:hover {
    background: #3C3B3B;
    color: #B5B2B0;
}

a.block.small-block {
    text-align: center;
    padding: 0px 10px;
}

a.block.active{
    color: #B5B2B0;
}

/*TITLE*/
.top_title {
    padding-bottom: 5px;
}

.name_title {
    font-size: 16px;
    color: #A09E9B;
    text-align: center;
}

.progress-bar {
    background:#3E4963;
    height:1px;
    width:100%;
    padding:0;
    margin-bottom: 2px;
}
.progress-bar .bar {
    background:#A0A0A0;
    height:100%;
    width:0%;
}
.progress-bar .none {
    border-bottom: 1px solid #c3aa99;
}

.title {
    background: url('img/title.png') repeat-x;
    height: 30px;
    border: 1px solid #312621;
    padding: 2px 0 0 15px;
    margin: 5px 0;
}

.info, .empty {
    background: #282828;
    border: 1px solid #c3aa99;
    padding: 5px 10px;
    color: #B5B2B0;
    margin: 5px 0 !important;
}
.info.info-small {
    padding: 2px 10px;
    margin: 3px 0 !important;
}
.error-message {
    background: #282828;
    border: 1px solid #c3aa99;
    padding: 0px 10px;
    color: #DD6666; 
    margin: 2px 0 !important;
    text-align: center;
}

.footer {
    border: 1px solid #c3aa99;
    padding: 5px 10px;
    margin-top: 10px;
    text-align: center;
}
.footer .small {
    font-size: 12px;
    margin-top: 5px;
}

.textlink{
    background: #282828;
    border: 1px solid #c3aa99;
    padding: 5px 10px;
    color: #B5B2B0;
    margin: 5px 0;
}

.list_href {
    margin: 5px auto;
    text-align: center;
}
.list_href a {
    padding: 5px 10px;
    background: #282828;
    border: 1px solid #c3aa99;
    text-decoration: none;
}
.list_href a:hover {
    background: #3e2e23;
}  

.modal-class {
    left: 12px;
}

.modal-dialog {
    width: 450px;
}
.modal-body {
    padding: 10px;
}
.modal-content {
    background: #110d0a;
    max-width: 450px;
}
.modal-header {
    border-bottom: 1px solid #c3aa99;
    padding: 10px;
}
.modal-footer {
    border-top: 1px solid #c3aa99;
    padding: 10px 20px 10px;
    margin-top: 0px;
}

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: normal;
}

.info-time {
    display: inline-block;
    float: left;
    font-size: 80%;
    color: grey;
}
.info-close {
    display: inline-block;
    float: right;
    font-size: 80%;
    color: grey;
    text-decoration: underline;
}
/*for masters*/
.make-link_pre {
    display: inline-block;
    width: 34px;
    border: 1px solid rgb(231, 218, 218);
    height: 34px;
    margin-bottom: -12px;
    margin-right: -18px;
    border-radius: 50% 0 0 50%;
    background: #282828;
    border: 1px solid #c3aa99;
}
.make-link_price {
    display: inline-block !important;
    border-left: none !important;
    background: #282828 !important;
}

/* BOOTSTRAP CHANGES*/
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, 
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, 
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, 
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, 
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, 
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, 
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, 
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, 
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, 
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, 
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, 
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}
/*PAGINATION*/
.pagination {
    margin: 0px auto;
    border-radius: 0px;
}

.pagination > li > a, 
.pagination > li > span {
    padding: 5px 10px;
    line-height: 1.428571429;
    background-color: #282828;
    border: 1px solid #c3aa99;
    text-decoration: none;
    margin-left: 3px;
}
.pagination > .selected > a, 
.pagination > .selected > span, 
.pagination > .selected > a:hover, 
.pagination > .selected > span:hover, 
.pagination > .selected > a:focus, 
.pagination > .selected > span:focus {
    background-color: #3C3B3B;
    border-color: #c3aa99;
    color: #B5B2B0;
    cursor: default;
    z-index: 2;
}
.pagination > li > a:hover {
    background: #3C3B3B;
}

.pager {
    margin: 5px auto;
    text-align: center;
}

.pager li > a,
.pager li > span {
    border-radius: 0px;
}

a.page {
    padding: 5px 10px;
    background: #282828;
    border: 1px solid #c3aa99;
    text-decoration: none;
}
ul li .page a:hover {
    background: #3C3B3B;
}
.pagination>li>a, 
.pagination>li>span {
    color: #fff;
}

.pagination>li>a:hover, 
.pagination>li>span:hover, 
.pagination>li>a:focus, 
.pagination>li>span:focus {
    color: #fff;
    background: #3C3B3B;
    text-decoration: none;
    border: 1px solid #c3aa99;
}

hr {
    margin-top: 7px;
    margin-bottom: 7px;
    border: none;
    border-bottom: 1px solid ##999999;
}

.form-control:focus {
    border-color: #282828;
}

.form-group {
    margin-bottom: 5px;
}

.form-control {
    background-color: #282828;
    border: 1px solid #c3aa99;
    color: #B5B2B0;
    height: 28px;
    padding: 0px 12px;
    margin-bottom: 5px;
}
.dialog-block {
    background-color: rgb(62, 46, 35);
    padding: 5px;
    border-radius: 3px;
    text-align: center;
    margin-top: 10px;
}
.dialog-block_button {
    display: inline-block;
    background-color: #282828;
    border: 1px solid #c3aa99;
    color: #B5B2B0;
    height: 24px;
    padding: 0px 12px;
    font-size: 12px;
    border-radius: 3px;
}
.dialog-block_button:hover {
    text-decoration: none;
}
.input-group-addon {
    background-color: #282828;
    border: 1px solid #c3aa99;
}

.input-group-btn {
    background-color: #282828;
}

.btn-default {
    background-color: #282828;
    border: 1px solid #c3aa99;
    color: #B5B2B0;
}
.btn-default:hover, 
.btn-default:focus, 
.btn-default:active, 
.btn-default.active, 
.open .dropdown-toggle.btn-default {
    color: #B5B2B0;
    background-color: #282828;
    border-color: #3D3D3D;
}
.dropdown-menu {
    min-width: 50px;
    padding: 3px 0;
    margin: 2px 0 0;
}
.dropdown-menu>li>a:hover, 
.dropdown-menu>li>a:focus {
    background-color: #282828;
}
.dropdown-menu>li>a {
    padding: 3px 18px;
}

.resources {
    background-color: #282828;
    border: 1px solid #c3aa99;
}

/*ITEMS*/
.item-view {
    position: relative;
    margin-top: 5px;
}
.item-view_img {
    display: inline-block;
    position: relative;
    margin-top: 2px;
    margin-left: 8px;
    vertical-align: top;
}
.item-view_better {
    position: absolute;
    line-height: 12px;
    font-size: 12px;
    bottom: 0px;
    right: 0px;
    color: #58b52b;
    text-align: right;
    background-color: rgb(17, 13, 10);
    border-radius: 20px 0 0 20px;
    border-color: #58b52b;
    border-style: solid;
    border-width: 1px;
}
.item-view_info {
    display: inline-block;
    margin-left: 5px;
    line-height: normal;
}
.item-view_button {
    float: right;
    margin-top: 4px;
    margin-left: 8px;
    margin-right: 15px;
}
.item-stats {
    margin-left: 5px;
}
.item-stats hr {
    margin-right: 10px;
}
/*DUNGEON VIEW*/
.view-dungeons_block {
    position: relative;
    margin: 10px 0px 10px 0px;
    line-height: 16px;
}
.view-dungeons_img {
    display: inline-block;
    margin-left: 8px;
    vertical-align: top;
}
.view-dungeons_info {
    display: inline-block;
    margin-left: 5px;
    line-height: normal;
}
/*VIEW USER BLOCK*/
.view-users_block {
    position: relative;
    margin: 10px 0px 10px 0px;
    line-height: 16px;
}
.view-users_img {
    display: inline-block;
    margin-left: 8px;
    vertical-align: top;
}
.view-users_info {
    display: inline-block;
    margin-left: 5px;
    line-height: normal;
}
/*USER GUILD VIEW*/
.view_img {
    display: inline-block;
    margin-right: 8px;
    vertical-align: top;
}
.view {
    position: relative;
    margin: 10px 0px 85px 0px;
    line-height: 16px;
    min-height: 77px;
}
.view_info {
    display: inline-block;
/*    position: absolute;*/
/*    margin-left: 75px;*/
    margin-top: 0px;
    line-height: normal;
}
/*.view-small {
    position: relative;
    margin: 10px 0px 10px 0px;
    line-height: 16px;
}
.view-small_info {
    display: inline-block;
    margin-left: 5px;
    line-height: normal;
}*/
/*NPC VIEW*/
.npc-view_block {
    position: relative;
    line-height: 16px;
    background: #282828;
    border: 1px solid #c3aa99;
    padding: 5px 10px;
    margin: 10px 0;
    min-height: 75px;
}
@media (max-width: 320px) {
    .npc-view_img {
        text-align: center;
    }
    .npc-view_info {
        text-align: center;
        line-height: normal;
    }
}
@media (min-width: 321px) {
    .npc-view_img {
        position: absolute;
        display: inline-block;
        margin-right: 8px;
        vertical-align: top;
    }
    .npc-view_info {
        display: inline-block;
        margin-left: 75px;
        margin-top: 0px;
        line-height: normal;
    }
}
/*BUILD VIEW*/
.build-view_block {
    position: relative;
    line-height: 16px;
    background: #282828;
    border: 1px solid #c3aa99;
    padding: 5px 10px;
    margin: 10px 0;
    min-height: 110px;
}
@media (max-width: 320px) {
    .build-view_img {
        text-align: center;
    }
    .build-view_info {
        text-align: center;
        line-height: normal;
    }
}
@media (min-width: 321px) {
    .build-view_img {
        position: absolute;
        display: inline-block;
        margin-right: 8px;
        vertical-align: top;
    }
    .build-view_info {
        display: inline-block;
        margin-left: 105px;
        margin-top: 0px;
        line-height: normal;
    }
}

/*CHAT / FORUM MESSAGES*/
.dialogs_block {
    display: block;
    border-radius: 4px;
    background: url('img/title.png') repeat-x;
    border: 1px solid #312621;
    padding: 5px 10px;
    margin: 5px auto;
    color: #B5B2B0;
}
.dialogs_block:hover {
    text-decoration: none;
}
.dialogs_block-user {
    position: relative;
}
.dialogs_block-message {
    word-wrap: break-word;
}

.message_block {
    border-radius: 4px;
    background: url('img/title.png') repeat-x;
    border: 1px solid #312621;
    padding: 5px 10px;
    margin: 5px auto;
}

.message_block hr {
    margin-top: 2px;
    margin-bottom: 2px;
}

.message_block-user {
    position: relative;
}
.message_block-message {
    word-wrap: break-word;
}
.message_block-answer {
    word-wrap: break-word;
}

/* MAIN PAGE*/
.main-logo {
    position: relative;
    height: 380px;
    padding: 0;
    margin-top: 1px;
    background: url('/images/main_background.jpg') no-repeat 50% 0;
}
.main-buttons {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.main-button {
    display: inline-block;
}
.footer-block {
    text-align: center;
}
.footer-block a {
    color: #B8B8B8 !important;
}
@media (min-width: 336px) {
    .media_mr_25p {
        margin-right: 25px;
    }
}

.btn-sm, .btn-group-sm>.btn {
	padding: 0px 10px;
}

.progress {
    background-color: #c3aa99;
    margin-bottom: 10px;
}
.progress-bar-default {
    background-color: #282828;
}

.actions-block {
    text-align: center;
    color: rgb(223, 202, 222);
    display: block;
    text-decoration: none !important;
    border-radius: 4px;
    background: url('img/title.png') repeat-x;
    border: 1px solid #312621;
    padding: 5px 10px;
    margin: 5px auto;
}

/**
* HELPERS
*/
.percent {
    color: #fff;
}
.green {
    color: #58b52b;
}
.red {
    color:red;
}
.grey {
    color:grey;
}

.quality-0 {
    color:#9b8869;
}

.quality-1 {
    color:#9b8869;
}

.quality-2 {
    color:#9bcd69;
}

.quality-3 {
    color:#529ce4;
}

.quality-4 {
    color:#d67bfc;
}

.quality-5{
    color:#f96c27;
}

.quality-6{
    color:#EE2C2C;
}

.admin {
    color:#9CC;
}

.moder {
    color:#F96;
}

.better {
    color:#3C3;
    font-size:80%;
}

.error {
    color:#DD6666;
}
.infot {
    color:#6FCD72;
}
.notify {
    color:#FFF559;
}
.small{
    font-size:80%;
}
.mb_0 {
    margin-bottom: 0px;
}
.mb_5 {
    margin-bottom: 5px;
}
.mr_10 {
    margin-right: 10px;
}
.mr_5 {
    margin-right: 5px;
}
.mr_25p {
    margin-right: 25px;
}
.mt_10 {
    margin-top: 10px;
}
.h_34p {
    height: 34px !important;
}
.h_36p {
    height: 36px !important;
}
.h_50p {
    height: 50px !important;
}
.w_10p {
    width: 10% !important;
}
.w_90p {
    width: 90% !important;
}
.inline {
    display: inline-block !important;
}