.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
}

input {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    overflow: hidden;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 3rem;
    padding: 0.375rem 0.75rem;
    overflow: hidden;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: none;
}

.custom-control-label::before,
.custom-file-label,
.custom-select {
    transition: background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: 3rem;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 0.25rem 0.25rem 0;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form-control:focus {
    border-color: #16a085 !important;
}

.ad-image {
    width: 100px;
    height: 100px;
    border: 1px solid #16a085;
}

.thumbnailText {
    position: absolute;
    padding-top: 75px;
    margin-left: -88px;
    font-weight: 900;
}
.selectBoost {
    border: 1px solid #16a085;
}

.shop-banner {
    width: 100%;
    height: 420px;
    border-radius: 4px 4px 0 0;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: 2px;
}

@media only screen and (max-width: 480px) {
    .shop-banner {
        width: 100%;
        height: 212px;
    }
}
@media only screen and (max-width: 992px) {
    .shop-banner {
        width: 100%;
        height: 212px;
    }
}

.shop-banner .overlay {
    height: 420px;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: #3f3f3f;
    border-radius: 4px 4px 0 0;
}
.shop-banner:hover .overlay {
    opacity: 0.8;
    cursor: pointer;
}
.shop-banner .overlay .banner-text {
    color: #ddd;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.shop-logo {
    position: absolute;
    height: 100px;
    width: 133px;
    bottom: 0;
    margin: 12px;
}
.shop-logo .overlay {
    position: absolute;
    height: 100px;
    width: 133px;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s ease;
    background-color: #3f3f3f;
}
.shop-logo:hover .overlay {
    opacity: 0.8;
    cursor: pointer;
}
.logo-text {
    color: #ddd;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.business-info {
    margin: 24px 16px;
    border: 1px solid #e7edee;
    border-radius: 4px;
}
.shop-product-container {
    margin: 24px 0;
}
.shop-logo img {
    height: 100px;
    width: 133px;
}
.shop-info {
    padding: 16px 12px;
    border-bottom: 1px solid #e7edee;
}
.shop-info > span {
    display: block;
}
.shop_title {
    font-weight: 800;
    font-size: 18px;
    margin-top: -4px;
    line-height: 24px;
}
.shop-tagline {
    color: #707676;
    font-size: 16px;
    line-height: 22px;
}
.member {
    background-color: #afb7ad;
    color: #fff;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1em;
    display: inline-block;
    padding: 5px;
}
.shop-info .member-since {
    font-weight: 800;
}
.shop-info .shop_phone,
.shop-info .shop_address {
    display: inline-block;
    margin-left: 20px;
}
.shop-info i {
    font-size: 24px;
}

.cp-pagination {
    margin: 12px 0 10px;
    width: 100%;
    text-align: center;
}

.cp-pagination li {
    border-right: 1px solid #cccccc;
    padding: 0 5px;
    display: inline-block;
    line-height: 0.6;
}

.cp-pagination li a {
    display: block;
    padding: 5px 10px;
    color: #222222;
    font-weight: 600;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.cp-pagination li a:hover {
    color: #139e81;
}

.cp-pagination li a i {
    color: #139e81;
}

.cp-pagination li:first-child {
    line-height: 1.3;
    float: left;
    border-right: 1px solid #cccccc;
}

.cp-pagination li:first-child a {
    padding: 1px 10px;
}

.cp-pagination li:first-child i {
    margin-right: 10px;
}

.cp-pagination li:last-child {
    line-height: 1.3;
    border-right: none;
    float: right;
    border-left: 1px solid #cccccc;
}

.cp-pagination li:last-child a {
    padding: 1px 10px;
}

.cp-pagination li:last-child i {
    margin-left: 10px;
}

.cp-pagination li:nth-last-child(2) {
    border-right: 0;
}

.cp-pagination .active a {
    color: #139e81;
}
