/**
 * Copyright (c) 2012, Sergey Kambalin
 * All rights reserved.

 * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/
 * and is licensed under Oxwall Store Commercial License.
 * Full text of this license can be found at http://www.oxwall.org/store/oscl
 */

/**
 *
 * @author Sergey Kambalin <greyexpert@gmail.com>
 * @package hint.static
 */

/* Private hint */

.hint-private-hint .uhint-avatar .uhint-avatar-image {
    width: 50px;
    height: 50px;
    
    background-size: 100%;
}

.hint-private-hint.uhint-wrap .uhint-avatar {
    margin-top: 0px;
    margin-right: 10px;
}

.hint-private-hint.uhint-wrap {
    min-height: 65px;
    padding-top: 5px;
}

.ph-info {
    float: left;
    padding-top: 5px;
    width: 270px;
}

.ph-info-title {
    font-weight: bold;
}

/* Context buttons ------------------------------------------------------------- */
div.h-context-w {
    margin-left: 0px;
}

a.ow_context_action_value.h-context-label,
a.ow_context_action_value.h-context-label:hover,
.h-toolbar-item {
    display: inline-block;
    height: inherit;
    
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 10px;
    background-image: none;
}

.h-context-has-icon a.ow_context_action_value.h-context-label {
    padding-left: 16px;
}

a.ow_context_action_value.h-context-label.h-context-ic-check {
    background-image: url(check.png);
}

a.ow_context_action_value.h-context-label {
    padding: 0px 5px 0px 0px;
    height: inherit;
    line-height: 21px;
    border: none;
}

.h-preview .h-context-btn-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 3;
    display: block;
}

.h-preview .h-context-w {
    position: relative;
}

.h-context-btn-overlay {
    display: none;
}

ul.h-context-list a,
.h-menu-w {
    max-width: 200px;
}

ul.h-context-list a {
    background-image: none;
    border: none;
    height: auto;
    line-height: 14px;
    
    display: block;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
}

.h-cl-label {
    padding: 4px 0px 4px 12px;
}

body ul.h-context-list li {
    float: none;
    margin: 0px;
}

div.h-context-content ul.h-context-list li.h-list-label a {
    padding-left: 10px;
}

ul.h-context-list li.h-li-selected a {
    font-weight: bold;
}

span.h-li-check {
    display: inline-block;
    width: 11px;
    height: 12px;
}

.h-li-selected span.h-li-check {
    background-color: transparent;
    background-image: url(check.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 10px;
}

/* Event Hint ------------------------------------------------------------------ */


a.ehint-date {
    display: block!important;
    text-decoration: none!important;
    color: inherit!important;
}

.ehint-date
{
    width: 50px;
    height: 50px;
    border-width: 1px;

    border-radius: 4px;
    float: left;
    
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    
    cursor: pointer;
}

.ehint-date-month {
    margin-top: 1px;
    line-height: 23px;
    
    font-size: 11px;
    text-transform: uppercase;
}

.ehint-date-date {
    font-size: 25px;
}


/* Mock */

.ehint-type-image .hint-user-list {
    width: 215px;
}

.ehint-type-date .hint-user-list {
    margin-left: 4px;
}

.ehint-type-date.hint-on-lines .hb-info-content {
    display: none;
}

.ehint-type-date.hint-on-lines .ehint-date {
    margin-top: -60px;
}

.ehint-type-date.hint-on-lines .uhint-wrap {
    min-height: 0;
}

.ehint-type-date .ehint-date {
    margin-top: -66px;
}

.ehint-type-date.hint-on-lines .uhb-head {
    border-bottom-width: 0px;
}

.ehint-type-date .uhint-no-cover .uhb-head,
.ehint-type-date.uhint-no-cover .uhb-head
{
    height: 70px;
}

.ehint-type-date.hint-on-lines .uhint-bottom-corner,
.ehint-type-date.hint-on-lines .uhint-top-corner,
.ehint-type-date.hint-on-lines .uhint-right-corner,
.ehint-type-date.hint-on-lines .uhb-head {
    background: none;
}

.ehint-type-date .uhb-head-text-wrap {
    padding-bottom: 22px;
}

.ehint-type-date .uhb-head-text-wrap.uhbht-extra-line {
    padding-bottom: 15px;
}

.ehint-type-date .uhb-head-text {
    margin-left: 70px;
}

.ehint-type-date .hb-info-content {
    height: auto;
    max-height: 65px;
    margin-bottom: 4px;
}

.ehint-type-date .hb-info-content {
    margin-left: 10px;
    /*padding-top: 6px;*/
}

.ehint-date {
    position: absolute;
    margin-top: -50px;
    margin-left: 10px;
}

.ehint-type-date .uhb-info {
    height: auto;
    max-height: 72px;
}


/* Group Hint ------------------------------------------------------------------ */





/* User Hint ------------------------------------------------------------------ */

#hint-prototype {
    display: none;
}

a.hint-target {

}

a.hint-target-ib {
    display: inline-block;
}

.hint-container {
    position: absolute;
    z-index: 100;
}

.hint-content {
    position: relative;
    border-width: 1px;

    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hint-body-wrap {
    background: inherit;
    border-radius: 3px;

    position: relative;
    /*overflow: hidden;*/
}

.hint-corner-wrap {
    border: inherit;
    background: inherit;

    height: 10px;
    width: 10px;

    overflow: hidden;
    position: absolute;

    transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);

    display: none;
}

.hint-corner-wrap {
    box-shadow: 2px 0px 4px rgba(0, 0, 0, 0.1);
}

.hint-corner {
    width: 15px;
    height: 10px;

    transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);

    position: relative;
}

/* Hint positions */

.hint-top-corner-wrap .hint-corner {
    transform-origin: 0 10px 0;
    -o-transform-origin: 0 10px 0;
    -ms-transform-origin: 0 10px 0;
    -webkit-transform-origin: 0 10px 0;
}

.hint-bottom-corner-wrap .hint-corner {
    transform-origin: 10px 5px 0;
    -o-transform-origin: 10px 5px 0;
    -ms-transform-origin: 10px 5px 0;
    -webkit-transform-origin: 10px 5px 0;
}


.hint-right-corner-wrap .hint-corner {
    transform-origin: 5px 9px 0;
    -o-transform-origin: 5px 9px 0;
    -ms-transform-origin: 5px 9px 0;
    -webkit-transform-origin: 5px 9px 0;
}


div.hint-top-corner-wrap {
    border-width: 1px 0px 0px 1px;
    top: -6px;
}

div.hint-bottom-corner-wrap {
    border-width: 0px 1px 1px 0px;
    bottom: -6px;
}

div.hint-right-corner-wrap {
    border-width: 1px 1px 0px 0px;
    right: -5px;
}


div.hint-console-hint .hint-right-corner-wrap {
    display: block;
    top: 10px;
}

div.hint-console-hint .hint-corner {
    height: 15px;
}

div.uhint-right-corner-cover {
    transform: translate(-341px, -9px);
    -o-transform: translate(-341px, -9px);
    -ms-transform: translate(-341px, -9px);
    -webkit-transform: translate(-341px, -9px);
}


div.hint-bottom-right .hint-top-corner-wrap,
.hint-top-right .hint-bottom-corner-wrap
{
    display: block;
    left: 16px;
}

div.hint-bottom-left .hint-top-corner-wrap, 
.hint-top-left .hint-bottom-corner-wrap
{
    display: block;
    right: 16px;
}

.hint-bottom-right, .hint-bottom-left {
    padding-top: 7px;
}

.hint-top-right, .hint-top-left {
    padding-bottom: 7px;
}


html div.hint-console-hint
{
    position: fixed;
}

.hint-body {

}

.hint-preloader {
    width: 280px;
    padding: 10px;

    font-size: 11px;
}

/* User Hint */

.uhint-wrap, .uhint-corner-cover {
    width: 350px;
}

.uhint-wrap {

    min-height: 100px;
}

.uhint-foot {
    bottom: 0px;
    padding: 6px 6px 2px;
    border-top-width: 1px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDQjU0RDA2OTI1N0IxMUUxODZCMkI1QzRDODAzNUQyMCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDQjU0RDA2QTI1N0IxMUUxODZCMkI1QzRDODAzNUQyMCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkVBNEIwN0YyMjU3NzExRTE4NkIyQjVDNEM4MDM1RDIwIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkNCNTREMDY4MjU3QjExRTE4NkIyQjVDNEM4MDM1RDIwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+6prF3wAAABhJREFUeNpi3L17txQDGmBiwAIoFAQIMADubwJVV8STtgAAAABJRU5ErkJggg==");
}

html .uhint-foot ul.ow_bl li {
    /*margin-bottom: 0px;*/
}

.uhb-info
{
    height: 70px;
}

.uhb-head
{
    border-radius: 3px 3px 0px 0px;
    border-bottom-width: 1px;
    height: 60px;
    position: relative;
    overflow: hidden;

    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAA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REFUeNpi3L17txQDGmBiwAIoFAQIMADubwJVV8STtgAAAABJRU5ErkJggg==");
}

.uhb-head .uhint-cover-img {
    position: absolute;
}

.uhb-head-text-wrap {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 25px 0 8px;
}

.uhb-head-text-wrap.uhbht-extra-line {
    padding-bottom: 6px;
}

.uhint-has-cover .uhb-head-text-wrap {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3)) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.3)) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.3)) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(transparent, rgba(0, 0, 0, 0.3)) repeat scroll 0 0 transparent;
}

.uhb-head-text
{
    margin-left: 125px;
}


.uhint-avatar
{
    float: left;
    margin-left: 7px;
    margin-top: -47px;
    margin-right: -120px;
    position: relative;
}

.uhint-avatar.ow_avatar_console {
    padding: 4px;
}

.uhint-avatar-image
{
    background-size: 100px;
    height: 100px;
    width: 100px;
}

.hb-info-content {
    margin: 5px 5px 0px 125px;
    overflow: hidden;
    height: 65px;
}


.uhbht-title {
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
}

.uhint-has-cover .uhbht-title,
.uhint-has-cover .uhbht-info-line,
.uhint-has-cover .uhbht-info-line a
{
    color: #fff;
    font-weight: bold;
    text-rendering: optimizelegibility;
    
    font-family: arial,sans-serif;
    -webkit-font-smoothing: antialiased;

    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    -moz-text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    -webkit-text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.uhint-has-cover .uhbht-info-line.hb-info-line0 .ow_remark {
    color: #fff;
}

/*html .uhint-has-cover .uhbht-info-line,*/
html .uhbht-info-line
{
    font-weight: normal;
    padding-left: 2px;
    max-height: 26px;
    overflow: hidden;
}



.uhint-cover-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: none;
}

.uhint-has-cover .uhint-cover-gradient {
    display: block;
}

.uhint-bottom-corner, .uhint-top-corner, .uhint-right-corner {
    width: 20px;
    height: 20px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDQjU0RDA2OTI1N0IxMUUxODZCMkI1QzRDODAzNUQyMCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDQjU0RDA2QTI1N0IxMUUxODZCMkI1QzRDODAzNUQyMCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkVBNEIwN0YyMjU3NzExRTE4NkIyQjVDNEM4MDM1RDIwIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkNCNTREMDY4MjU3QjExRTE4NkIyQjVDNEM4MDM1RDIwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+6prF3wAAABhJREFUeNpi3L17txQDGmBiwAIoFAQIMADubwJVV8STtgAAAABJRU5ErkJggg==");
}

html .uhint-bottom-corner.ow_bg_color {
    background-image: none;
}

.hint-invisible {
    visibility: hidden;
}

.uhint-corner-cover {
    position: relative;

    transform: translate(0px, 10px);
    -o-transform: translate(0px, 10px);
    -ms-transform: translate(0px, 10px);
    -webkit-transform: translate(0px, 10px);
}

.uhint-corner-cover-img {
    position: absolute;
}


.hint-preview .uhint-corner-cover {
    margin-left: -14.45px;
}

.hint-body .ow_miniic_live {
    display: inline-block;
}

.uhint-avatar .ow_miniic_live {
    position: absolute;
    bottom: 5px;
}

.uhint-avatar .ow_miniic_live .ow_lbutton {
    line-height: 11px;
    height: 10px;
    font-size: 8px;
}

.hint-from-floatbox {
    z-index: 103;
}

.hb-info-line1 .hint-user-list {
    margin-bottom: 4px;
}

.hint-user-list {
    overflow: hidden;
    height: 32px;
}

.hb-info-line2 .hint-user-list {
    margin-top: 4px;
}

.hint-user-list img {
    width: 32px;
}

.hint-view-all {
    vertical-align: top;
    background-image: url("more.png");
    background-position: center center;

    display: inline-block;
    width: 30px;
    height: 30px;
    border-width: 1px;
}

.hint-fgift {
    display: block;
    position: absolute;
    left: -5px;
    top: -20px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    overflow: hidden;
}

.uhint-no-cover .hint-fgift {
    top: -12px;
}

.hint-fgift img {
    max-width: 40px;
    max-height: 40px;
}   


html .ow_chat_dialog_wrap {
    z-index: 101;
}

.mcompose-new-message-opened .hint-container {
    z-index: 101;
}

/* Simplicity based themes */
.simplicity .uhint-avatar,
.turquoise .uhint-avatar
{
    border-radius: 50%;
    margin-top: -53px;
}

.simplicity .uhint-avatar .uhint-avatar-image,
.turquoise .uhint-avatar .uhint-avatar-image
{
    border-radius: 50%;
}

.simplicity .uhint-avatar.ow_avatar_console,
.turquoise .uhint-avatar.ow_avatar_console
{
    padding: 2px;
}

.simplicity .uhint-avatar .ow_miniic_live,
.turquoise .uhint-avatar .ow_miniic_live
{
    bottom: -17px;
    left: 10px;
}

.simplicity .hint-user-list img,
.turquoise .hint-user-list img
{
    border-radius: 50%;
}

.simplicity .hint-user-list,
.turquoise .hint-user-list
{
    margin-top: 5px;
}

.simplicity .hint-view-all,
.turquoise .hint-view-all
{
    border-radius: 50%;
    background-position: center 0px;
}