#gratify-product-search-container {
    padding: 10px 0 0;
}

#gratify-plugin-settings {
    border-top: 1px solid #CCC;
    margin: 0 -14px;
    padding: 17px 14px 0;
}

#gratify-plugin-settings label {
    margin-right: 10px;
}

#gratify-plugin-settings > div{
    margin-right: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 18px;
}

#gratify-plugin-settings > div h4 {
    margin-top: 0;
}

#gratify-plugin-settings > .fields {
    display: block;
}

#gratify-plugin-settings > .fields .button-text-control {
    padding: 5px;
    margin: 0;
    width: 242px;
    border-radius: 3px;
}

#gratify-plugin-settings > .fields .form-group {
    margin-bottom: 15px;
}

#gratify-plugin-settings > .fields .form-group.form-group-inline {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

#gratify-search-input {
    font-size: 28px;
    font-weight: 100;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 0 6px;
    border: none;
    border-bottom: 5px solid #eee;
}
#gratify-search-input, #gratify-search-input:focus {
    transition: border-color .3s ease-in;
    outline: 0;
}
#gratify-search-input:focus {
    border-color: #ed5565;
}
#gratify-search-input::-webkit-input-placeholder, #gratify-search-input:-moz-placeholder, #gratify-search-input:-moz-placeholder, #gratify-search-input:-ms-input-placeholder {
    font-weight: 100;
    color: #999;
}

#gratify-hits {
    margin: 4px 0;
    padding: 10px 0;
    border-top: 2px solid #eee;
    min-height: 450px;
}
#gratify-hits .hit {
    font-size: 0;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#gratify-hits .hit:hover {
    transition: background-color .3s ease-in;
    background-color: #eee;
}

#gratify-hits .hit.active {
    transition: background-color .3s ease-in, color .3s ease-in;
    background-color: #ed5565;
    color: #fff;
}

#gratify-hits .hit.active .hit-name {
    transition: color .3s ease-in;
    color: #fff;
}

#gratify-hits .hit.active .hit-price {
    transition: color .3s ease-in;
    color: #fff;
}

#gratify-hits .hit-image {
    display: inline-block;
    width: 16%;
}
#gratify-hits .hit-image img {
    max-width: 100%;
    max-height: 180px;
}
#gratify-hits .hit-content {
    font-size: 13px;
    font-weight: 300;
    display: inline-block;
    width: 98%;
    margin-right: 1%;
    margin-left: 1%;
    vertical-align: top;
}
#gratify-hits .hit-content .hit-price {
    font-size: 20px;
    float: right;
    margin-left: 20px;
    margin-top: 10px;
    color: #ed5565;
}
#gratify-hits .hit-content .hit-price, .hit-content .hit-name {
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 5px;
}
#gratify-hits .hit-content em {
    font-style: normal;
    background: #fbdde0;
}
#gratify-hits .hit-content .hit-description {
    color: #999;
}

/* PAGINATION
// ------------------------- */

#gratify-pagination {
    /*position: absolute;*/
    width: 60%;
    margin: 0 auto 20px;
}
#gratify-pagination ul {
    font-size: 0;
    list-style-type: none;
    text-align: center;
}
#gratify-pagination li {
    font-size: 14px;
    display: inline;
}
#gratify-pagination a {
    padding: 8px 12px;
    text-decoration: none;
    color: #000;
    border: 1px solid #eee;
    border-right: none;
}
#gratify-pagination a:hover {
    background: #f5f5f5;
}
#gratify-pagination li:first-child a {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
#gratify-pagination li:last-child a {
    border-right: 1px solid #eee;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
#gratify-pagination li.active a {
    color: white;
    border-color: #ed5565;
    background: #ed5565;
}
#gratify-pagination li.active a:hover {
    cursor: default;
}
#gratify-pagination li.disabled a {
    cursor: not-allowed;
}
#gratify-pagination li.disabled a:hover {
    background: none;
}

#gratify-product-search-container footer {
    font-size: 14px;
    /*padding-bottom: 24px;*/
    text-align: left;
    /*position: absolute;*/
    /*bottom: 0;*/
    /*left: 15px;*/
    background: #fff;
    /*right: 15px;*/
    /*padding-top: 20px;*/
}

#gratify-product-search-container footer.floating-footer {
    position: absolute;
    bottom: 0;
    padding: 14px 15px 10px;
    text-align: right;
    left: 0;
    right: 0;
}

#gratify-product-search-container footer.floating-footer button {
    padding: 8px 12px;
    text-decoration: none;
    color: #fff;
    border: 1px solid #ed5565;
    background: #ed5565;
}

#gratify-product-search-container footer.floating-footer button.small-button {
    padding: 6px 8px 5px;
    font-size: 12px;
}

#gratify-product-search-container footer.floating-footer button:disabled {
    background-color: #CCC;
    color: #000;
    opacity: 0.4;
    border-color: #CCC;
}

#gratify-product-search-container footer.floating-footer .id-display {
    float: left;
}

#gratify-product-search-container footer.floating-footer .id-display input {
    width: 310px;
    padding: 5px;
    margin: 0;
    border-radius: 3px;
}

#gratify-product-search-container footer a {
    text-decoration: none;
    color: #ed5565;
}
#gratify-product-search-container footer a:hover {
    text-decoration: underline;
    color: #ed5565;
}

#gratify-product-search-container footer.floating-footer .id-display {
    padding: 3px 0;
}

/* No-result
// ------------------------- */

.no-results #gratify-pagination{
    display: none;
}
#gratify-no-results-message {
    text-align: center;
}
#gratify-no-results-message p {
    font-size: 28px;
    font-weight: 100;
}
#gratify-no-results-message ul {
    list-style-type: none;
}
#gratify-no-results-message li {
    font-size: 12px;
    position: relative;
    display: inline-block;
    margin: 4px 2px;
    padding: 4px 28px 4px 8px;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 12px;
}
#gratify-no-results-message li span.value {
    font-weight: bold;
    color: #000;
}
#gratify-no-results-message li a.remove img {
    position: absolute;
    top: 3px;
    right: 5px;
    float: right;
    width: 17px;
    height: 17px;
    opacity: .5;
}
#gratify-no-results-message li a.remove:hover img {
    opacity: 1;
}

i.mce-ico.mce-i-gratify4wp-add-button {
    background-image: url('../img/tinygratify-32x32.png');
}