.giphy-widget {
    display: inline-block;
    width: 280px;
    height: 254px;
    text-align: center;
    position: absolute;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    z-index: 100;
}

.giphy-content {
    position: relative;
    height: 80%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.giphy-message {
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 1.7em;
    margin: 0 auto;
    width: 81%;
}

.giphy-loading {
    display: block;
    margin: 10% auto;
}

.giphy-widget li img:hover {
    outline: 1px solid #43908C;
}

.giphy-hidden {
    display: none;
}

.giphy-widget input {
    margin: 2%;
    width: 95%;
    height: 13%;
}

.giphy-widget li {
    list-style: none;
    display: inline;
}

.giphy-widget li img{
    cursor: pointer;
    width: 125px;
    height: 100px;
}

.giphy-widget:before {
    position: absolute;
    display: inline-block;
    content: "";
    border: 8px solid transparent;
    border-bottom-color: rgba(0,0,0,0.15);
    top: -16px;
    right: 50%;
    transform: translateX(50%);
}

.giphy-widget:after {
    position: absolute;
    display: inline-block;
    content: "";
    border: 7px solid transparent;
    border-bottom-color: #fff;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
}

.giphy-widget li:nth-child(odd) {
    margin-right: 2%;
}

/* Styles to override Refined GitHub and play nicely */
.toolbar-group .toolbar-item.js-giphy-btn {
    display: block;
}
