/* Add a green text color and a checkmark when the requirements are right */
.valid {
    color: #1e620f;
}

.valid:before {
    margin-right: 10px;
    content: "✔";
}

.right-header-btn .search-btn {
    padding: 25px 0 25px 17px;
}

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
    color: #a94442;
}

.invalid:before {
    margin-right: 10px;
    content: "✖";
}

.right-header-btn .search-btn {
    border-left: 0px;
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.well blockquote {
    border-color: #ddd;
    border-color: rgba(0, 0, 0, .15);
}

.well-lg {
    padding: 24px;
    border-radius: 6px;
}

.well-sm {
    padding: 9px;
    border-radius: 3px;
}


/*
 * HELP
 */
.help-menu {
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 10px;
}

.help-menu .help-item .help-item-wrapper {
    margin-top: 1rem;
    display: table;
    width: 100%;
    padding: 5px 8px;
    border-radius: 4px;
}

.chev .icon-chevron-right:before {
    margin-left: 2px;
}

.help-item-wrapper i.glyph-icon {
    color: #8da0aa;
}

.help-item-wrapper .dotto {
    width: 20px;
    cursor: pointer;
    display: table-cell;
}

.help-item-wrapper .dotto + a {
    width: calc(100% - 22px);
}

.help-item .help-item-wrapper > a {
    display: table-cell;
}

.help-item-wrapper:hover {
    background-color: #dfe8f1;
}

.help-item-wrapper:hover a {
    color: #8da0aa !important;
}

.sub-items > .help-item > .help-item-wrapper {
    padding-left: 1.9em;
}

.sub-items .sub-items > .help-item > .help-item-wrapper {
    padding-left: 3.8em;
}

.sub-items .sub-items .sub-items > .help-item > .help-item-wrapper {
    padding-left: 5.7em;
}

.help-content h4 {
    padding-top: 20px;
}

.help-content figure.image > img,
.help-content p img {
    box-shadow: 0px 0px 20px #ccc;
    margin-top: 20px;
    max-width: 70%;
}

h3 {
    margin-top: 40px;
    margin-bottom: 10px;
}

p {
    padding-top: 5px;
}

#help_content p > i {
    background: #efefef;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #dfdfdf;
}

#help_content figure.image {
    text-align: center;
}

#help_content figure.image img,
#help_content img {
    max-width: 70%;
}

#help_content h1,
#help_content h2,
#help_content h3,
#help_content h4,
#help_content h5,
#help_content h6 {
    cursor: copy;
}

#help_content .hashtag {
    display: none;
}

#help_content .hashtag::before {
    content: "#";
}

#help_content h1:hover .hashtag,
#help_content h2:hover .hashtag,
#help_content h3:hover .hashtag,
#help_content h4:hover .hashtag,
#help_content h5:hover .hashtag,
#help_content h6:hover .hashtag {
    display: inline-block;
    padding-right: 10px;
}

.new-comment {
    border-top: 1px dashed #dfe8f1;
    margin-top: 3rem;
    padding-top: 3rem;
    margin-bottom: 0.5rem;
}

.new-comment .row {
    margin-top: 0.8rem;
}

.ticket-attachment.row {
    margin-top: 1rem;
}

.ticket-attachment-thumbnail {
    max-width: 8rem;
    max-height: 8rem;
}

.chat-bubble-new > .popover:not(.tour) > .popover-content {
    background-color: #e7f0f5;
}

.chat-bubble-new > .popover:not(.tour) > .arrow:after {
    border-right-color: #e7f0f5 !important;
}

.popover {
    max-width: 350px;
}

.chat-bubble-new > .popover:not(.tour) > .popover-content {
    background-color: #e7f0f5;
}

.chat-bubble-new > .popover:not(.tour) > .arrow:after {
    border-right-color: #e7f0f5 !important;
}

.popover.right:not(.tour) > .arrow {
    border-right-color: #ccc;
    border-right-color: rgba(0, 0, 0, 0.1);
}

.popover.left:not(.tour) > .arrow {
    border-left-color: #ccc;
    border-left-color: rgba(0, 0, 0, 0.1);
}

.popover.right > .arrow {
    left: -11px;
    border-left-width: 0;
}

.popover.left > .arrow {
    right: -21px;
}

textarea.form-control {
    resize: vertical;
}

.ajax-loader-element {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    margin-left: -52px;

    box-shadow: 1px 1px 20px #ccc;
    background: white;

    color: #a9a9a9;
    border: 1px solid #dfe8f1;
}

.footer {
    margin-top: 70px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 1px solid #c5c5c5;
}

.footer .section-header {
    color: #00b0a1;
    font-weight: bold;
}

.footer .section-content {
    margin-top: 10px;
    margin-bottom: 1rem;
}

.footer .section-content .glyph-icon {
    margin-right: 5px;
}

.search-results {
    margin-bottom: 3rem;
    background-color: #f9f9f9;
    border: 1px solid #c5c5c5;
}

.help-search-row {
    margin-bottom: 2rem;
}

.help-search-row .title {
    font-weight: bold;
}

.help-search-row .content {
    font-size: small;
    font-style: italic;
}

.help-useful-links {
    margin-top: 3rem;
}

.help-useful-links .icon-box {
    margin-top: 2.6rem;
}

.help-useful-links .icon-box .icon-content {
    font-size: small;
}

.blog-box {
    margin: 0 0 30px;
    padding: 0 0 30px;
}


.gi-1_5x {
    font-size: 1.5em;
}

.gi-1_8x {
    font-size: 1.8em;
}

.gi-2x {
    font-size: 2em;
}

.gi-3x {
    font-size: 3em;
}

.gi-4x {
    font-size: 4em;
}

.gi-5x {
    font-size: 5em;
}

.modal-content .content-box.border-top {
    margin-bottom: 0px;
}

ul.list-group.list-group-icons li.col-sm-2 {
    display: inline-block !important;;
    float: none !important;
}


.ck-content .mention {
    background: rgba(255, 130, 0, 0.1) !important;
    color: #ff7800 !important;
    padding: 2px 8px;
    border-radius: 5px;
    border: 1px solid;
}

.ck-editor__editable_inline {
    min-height: 350px !important;
    border: #dfe8f1 solid 1px !important;
}

.markdown-textarea.ck-editor__editable_inline {
    min-height: 130px !important;
}

.ck-editor .ck-content h3 {
    margin-top: 20px;
}


/**
 * CHAT
 */
#chatbot-messages-list {
    max-height: 50vh;
    overflow-x: auto;
}

#chatbot-messages-list .well {
    min-width: 250px;
    max-width: 450px;
    min-height: 45px;
}

.message-write > div {
    width: 18px;
    height: 18px;
    background-color: #8da0aa;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.message-write .bounce1 {
    -webkit-animation-delay: -.32s;
    animation-delay: -.32s
}

.message-write .bounce2 {
    -webkit-animation-delay: -.16s;
    animation-delay: -.16s
}

@-webkit-keyframes bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0.0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0)
    }
    40% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0)
    }
}


/**
 * RELEASE NOTES
 */
.help-content .version {
    display: none;
}

.help-content .item {
    overflow: auto;
    margin-bottom: 1em;
    /*border-top: 1px solid #cccccc;*/
    padding: 15px 0px;
}
.help-content .item h4 {
    font-weight: bold;
}

.help-content .item .image img {
    max-height: 250px;
    max-width: 80%;
    box-shadow: #ccc 0px 0px 7px;
    border-radius: 10px;
    border: 1px solid #c6c6c6;
    margin: 7px 7px 7px 0px;
}

.help-content .item .icon {
    padding: 15px 0px;
    font-size: 2em;
    width: 10%;
    text-align: center;
    float: left;
}

.help-content .item .content {
    padding-left: 1em;
    padding-right: 1em;
    width: 90%;
    float: right;
}

.help-content p {
    margin-bottom: 1em;
}

.help-content .label {
    font-weight: normal;
    border-radius: 8px;
    font-size: 0.8em;
    padding: 1px 8px;
}