/* Index display */
#container .player-main-container {
    overflow: visible;
}

#player-rename {
    margin: 20px auto;
    width: 520px;
    text-align: center;
}
#player-rename h2 {
    text-align: center;
    color: #fff;
    text-shadow: 1px 2px 1px #040404;
    line-height: 1em;
}
#player-rename form {
    margin-top: 1em;
    padding: 1em;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
}
#player-rename form label {
    display: block;
    font-size: 14px;
}

#player-rename form input[type="text"] {
    border-radius: 7px;
    font-size: 16px;
    font-family: Rubik, cursive;
    width: 250px;
    height: 35px;
    margin: 6px 0;
    padding: 0 10px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.6) inset;
    border: none;
    color: #4c4c4c
}

#login-form input[type="submit"] {
    margin: 1em;
}

#player-display {
    width: 800px;
    height: 600px;
    margin: 0 auto;
    border: 1px solid black;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

#player-display-draggable {
    width: 210px;
    height: 594px;
    position: absolute;
    top: 0;
    left: 295px;
}

#player-display-pet {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
}

#player-display-draggable-handler {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 10;
}

#player-display-pet.dragEnabled:hover, #player-display-draggable.dragEnabled #player-display-draggable-handler:hover {
    box-shadow: inset 0 0 5px white;
}

#player-display .player-element {
    /*width:332px;
    height:470px;*/
    width: 420px;
    height: 594px;
    background-size: contain;
    position: absolute;
    left: -105px;
    pointer-events: none;
}

#player-display .background-element {
    width: 800px;
    left: 0;
    height: 600px;
    background-size: cover;
}

#player-pet-containment {
    position: absolute;
}

.player-reportMessage {
    transition: color 0.3s;
    -webkit-transition: color 0.3s;
    color: gray;
    position: absolute;
    bottom: 1px;
    right: 10px;
    cursor: pointer;
    padding-bottom: 5px;
}

div.player-reportMessage:hover {
    color: rgb(52, 56, 111);
}

#player-moderation {
    position: absolute;
    right: 50px;
}

#player-info-name-change {
    position: absolute;
    background: url('/static/img/pet_sprite.png');
    background-position: -123px 0px;
    width: 41px;
    height: 41px;
    top: 0px;
    right: 0px;
}

#player-info-name-change:hover {
    background-position: -82px 0px;
}

/* Appearance portrait */
#player-head-display {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border: 1px solid black;
}

.player-head-element {
    width: 300px;
    height: 300px;
    position: absolute;
}

/* Appearance */
.element-list {
    clear: both;
    overflow: auto;
    height: 117px;
    white-space: nowrap;
    text-align: center;
}

.element-group {
    overflow: hidden;
    width: 102px;
    height: 102px;
    display: inline-block;
}

.element-group.autoWidth {
    width: auto;
}

.selectable-element {
    width: 100px;
    height: 100px;
    border: 1px solid black;
    display: inline-block;
}

/* Equipment */
#equipment-list {
    width: 710px;
    height: 450px;
    margin: 0 auto;
    overflow: auto;
    border: 1px solid black;
    margin-top: 1px;
}

#equipment-list .equipment-piece {
    width: 100px;
    height: 100px;
    margin: 2px;
    border: 1px solid black;
    float: left;
    position: relative;
}

#equipment-list .equipment-piece > img {
    position: absolute;
    z-index: 1;
}

#equipment-list .equipped {
    border: 3px solid purple;
    margin: 0px;
}

#equipment-list .equipment-toolbox {
    display: none;
    position: absolute;
    z-index: 2;
}

#equipment-list .equipment-toolbox-element {
    width: 20px;
    height: 20px;
    border: 1px solid black;
    margin: 2px;
    font-size: 0.7em;
}

/* Inventory */
#container .page-main-container.inventory-main-container {
    overflow: visible;
}

#empty-inventory {
    padding: 8px;
}

#inventory-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    pading-bottom: 8px;
    color: #d0eded;
    margin-top: 20px;
    box-shadow: 0 0 0 2pt #494f9a;
}

.inventory-item {
    width: 80px;
    height: 80px;
    background: white;
    margin: 4px;
    display: inline-block;
    position: relative;
    border-radius: 3px;
    box-shadow: 0px 0px 5px black;
}

.inventory-item.usable, .inventory-item.catbag {
    cursor: pointer;
}

.inventory-item img.inventory-egg-gender {
    margin-left: 5px;
}

.inventory-item img.inventory-item-icon {
    width: 100%;
    height: 100%;
}
.inventory-item img.inventory-item-icon.small {
    width: 20px;
    height: 20px;
    margin:10px;
}
.inventory-item > span.info{
    display: block;
    font-size: 11px;
    bottom: 5px;
    position: absolute;
    text-align: center;
    width: 100%;
    line-height: 12px;
}

.inventory-item:hover {
    background: #B9F8FA;
}

.inventory-item:after {
    display: block;
    position: absolute;
    bottom: 0;
    left: 1px;
    width: 100%;
    border-top: 1px solid rgb(0, 238, 248);
    border-bottom: 1px solid rgb(0, 164, 178);
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
    content: '';
}

.inventory-item h3 {
    font-weight: bold;
}

.inventory-item .tooltip-content .guard-restricted {
    padding-top: 5px;
    color: #ccc;
    font-style: italic;
}

.inventory-quantity {
    display: inline-block;
    color: black;
    font-family: Rubik, cursive;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 2px 7px 10px;
    background-color: rgba(255, 255, 255, 0.3);
}

.inventory-list {
    text-align: left;
    clear: both;
    margin: 5px auto;
    display: none;
    width: 820px;
    padding: 8px 0px;
}
.inventory-list.opened {
    display: block;
}
.inventory-scroll-wrapper {
    height: 270px;
    /*overflow-y: auto;*/
    overflow: hidden;
}
#inventory-menu {
    background-color: rgba(255, 255, 255, 0.6);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 4px;
    text-align: center;
}
#inventory-menu li {
    display: inline-block;
}
#inventory-menu li.disabled img {
    filter: grayscale(100%);
    cursor: inherit;
}
#inventory-menu li.disabled img:hover {
    opacity: 1;
}
.inventory-menu-category {
    width: 35px;
    cursor: pointer;
    opacity: 1;
}
.inventory-menu-category-active {
    opacity: 1;
}
.inventory-menu-category:not(.inventory-menu-category-active):hover {
    opacity: 0.5;
}

#quest-list {
    display: inline-block;
    text-align: left;
    margin-top: 5px;
    color: #fff;
    text-shadow: 1px 1px 1px #040404;
    font-size: 16px;
    font-weight: bold;
}
#quest-list li {
    padding: 3px;
}
#quest-list li:first-of-type {
    padding-top: 0px;
}
#quest-list li em {
    font-size: 20px;
    font-style: normal;
    text-shadow: 2px 3px 2px #040404;
}
#inventory-quest {
    text-align: center;
}

/* Profile */
#player-actions-tab {
    text-align: center;
    width: 75%;
    margin: 10px auto 0;
}

#player-actions-tab li {
    display: inline-block;
    overflow: hidden;
    font-family: Rubik, cursive;
    margin: 4px;
}

#player-left-tab {
    float: left;
    margin: 10px 10px 0 84px;
    width: 370px;
    padding: 10px;
    background-color: #34386f;
    border-radius: 10px;
    position: relative;
}

#player-crystal-pot {
    position: absolute;
    left: -10px;
    top: -20px;
    width: 100px;
    height: 165px;
    background: url("/static/img/crystalpot.png") no-repeat;
}

#left-info-tab {
    float: left;
    position: relative;
    width: 292px;
    margin-left: 80px;
}

#left-info-tab div {
    color: white;
    font-family: Rubik, cursive;
}

#player-profile-guard-icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    margin-left: -45px;
    vertical-align: middle;
    display: inline-block;
}

#player-profile-guard-icon.Absynthe {
    background-image: url('/static/img/absynthe_gem.png');
}

#player-profile-guard-icon.Ombre {
    background-image: url('/static/img/ombre_gem.png');
}

#player-profile-guard-icon.Obsidienne {
    background-image: url('/static/img/obsidienne_gem.png');
}

#player-profile-guard-icon.Etincelante {
    background-image: url('/static/img/etincelante_gem.png');
}

#left-info-tab h3 {
    font-family: Merriweather, serif;
    font-weight: lighter;
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 10px;
}

#left-contacts-tab ul {
    text-align: center;
    max-height: 47px;
}

#left-contacts-tab li {
    text-align: center;
    display: inline-block;
}

#left-contacts-tab li a {
    display: inline-block;
    width: 47px;
    height: 47px;
    text-decoration: none;
    color: transparent;
}

#left-contacts-tab li a p {
    display: none;
}

#left-contacts-tab li a {
    background: url('/static/img/player_sprite.png');
}

#left-contacts-tab li.actionAddAsFriend a, #left-contacts-tab li.actionAcceptAsFriend a {
    background-position: 0px 0px;
}

#left-contacts-tab li.actionFriendRequestSent a {
    background-position: -47px 0px;
}

#left-contacts-tab li.actionAddAsFriend:hover a, #left-contacts-tab li.actionAcceptAsFriend:hover a {
    background-position: -94px 0px;
}

#left-contacts-tab li.actionDenyAsFriend a {
    background-position: -282px 0px;
}

#left-contacts-tab li.actionDenyAsFriend:hover a {
    background-position: -329px 0px;
}

#left-contacts-tab li.actionRemoveAsFriend a {
    background-position: -376px 0px;
}

#left-contacts-tab li.actionRemoveAsFriend:hover a {
    background-position: -423px 0px;
}

#left-contacts-tab li.actionFriendRequestSent a {
    background-position: -47px 0px;
}

#left-contacts-tab li.actionBlacklist a {
    background-position: -141px 0px;
}

#left-contacts-tab li.actionBlacklist:hover a {
    background-position: -235px 0px;
}

#left-contacts-tab li.displayBlacklisted a {
    background-position: -188px 0px;
}

#left-contacts-tab li.actionSendMessage a {
    background-position: -470px 0px;
}

#left-contacts-tab li.actionSendMessage:hover a {
    background-position: -517px 0px;
}
#player-inventory h2 {
    color: #fff;
    text-shadow: 1px 2px 1px #040404;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
    margin-bottom: 8px;
}
#player-inventory {
    text-align: center;
}

#right-profile-tab {
    float: left;
    width: 372px;
    padding: 15px 15px 30px;
    margin: 10px 0 0;
    background-color: rgba(255,255,255,0.8);
    border-radius: 10px;
    position: relative;
    overflow: auto;
    min-height: 111px;
}

#action-changeProfile {
    position: absolute;
    bottom: 15px;
}

#action-changeProfile a {
    color: #A2A2A2;
    text-decoration: none;
}
#action-changeProfile a:hover {
    color: #000;
}

#changeProfile textarea {
    width: 300px;
    height: 150px;
}

#purroTroc-item-preview-container {
    position: relative;
    max-width: 700px;
    width: 700px;
    text-align: center;
}

/* Aperçu du contenu d'un sac */
div.purroTroc-item-preview {
    position: relative;

    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;

    margin: 3px;
    padding: 2px;
    border: 1px solid #F8F8F8;
}

#background-oracle {
    background-image: url('/static/img/user/oracle_bg.jpg');
    width: 800px;
    height: 600px;
    position: absolute;
    top: 0;
    left: 0;
}
#avatar_oracle {
    position: absolute;
    top: -20px;
    left: 185px;
    width: 445px;
    height: 668px;
    background-image: url('/static/img/user/oracle.png');
}

#background-technical {
    background-image: url('/static/img/user/technical_bg.jpg');
    width: 800px;
    height: 600px;
    position: absolute;
    top: 0;
    left: 0;
}
#avatar_technical {
    position: absolute;
    top: -20px;
    left: 150px;
    width: 549px;
    height: 856px;
    background-image: url('/static/img/user/technical.png');
}

/*  Aperçu tooltip du contenu du sac */
.presentBag-preview-popup{
    position: relative;
    font-size: 0.9em;
    max-width: 380px;
    padding: 5px;
    overflow: hidden;
    width: auto;
}
.presentBag-preview-popup > div{
    display:inline-block;
    width: 180px;
    margin:2px;
    text-align: left;
    vertical-align: text-top;
}
.presentBag-preview-popup > div small{
    color:#ebc701;
    display: inline-block;
    width: 30px;
}
.presentBag-preview-popup > div > div {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    clear: both;
    white-space: initial;
}
.presentBag-preview-popup > div h3{
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 25px;
    font-family: Rubik, cursive;
}
.presentBag-preview-popup > div h3 span{
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 30px;
    background-color: white;
    vertical-align: middle;
    margin-right: 7px;
    text-align: center;
    line-height: 26px;
    color: #54589C;
    font-size: 18px;
}
.presentBag-preview-popup > div h3 span img{
    width:23px;
    height: 23px;
    padding: 1px;
    margin-left:0px;
    margin-bottom: 1px;
    vertical-align: middle;
}

span.small {
    font-size: 70%;
}

span.big {
    font-size: 120%;
}

.marketplace-abstract .bag-helper-small{
    right:332px;
}
.marketplace-search-items .bag-helper-small{
    right:425px;
}


.bag-helper-small{
    position: absolute !important;
    right: 0px;
    top: 0px;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 auto;
    background-color: #bdbdbd;
    color: white;
    text-align: center;
    font-size: 15px;
    line-height: 19px;
    font-family: Rubik, cursive;
    cursor: pointer;
}
/*
.bag-helper-small.common{ background-color: #bdbdbd; }
.bag-helper-small.rare{ background-color: #71ccfe; }
.bag-helper-small.epic{ background-color: #df7df3; }
.bag-helper-small.legendary{ background-color: #fad25e; }
.bag-helper-small.event{ background-color: #3ada32; }*/

.bag-helper-small:before{
    content: "?";
}

