/*
 Theme Name:   WP Bootstrap 4 Child
 Theme URI:    https://kadencethemes.com/product/wp-bootstrap-4/
 Description:  WP Bootstrap 4 Child Theme
 Author:       Mike Wright at Taffy Tech
 Author URI:   https://taffytech.com
 Template:     wp-bootstrap-4
 Version:      1.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         customized
 Text Domain:  wp-bootstrap-4
*/

.woocommerce-input-wrapper {
    width: 100%;
}

.keyholder-result {
    margin-bottom: 20px;
    color: #dc3636;
}

.keyholder-content {
    text-align: center;
}

.keyholder-content .keyholder-name {
    display: inline-block;
    margin: 10px 0 0 10px;
    vertical-align: top;
}

table.variations {
    margin-bottom: 0;
}

table.keyholder-fields td.value {
    text-align: right;
}

table.keyholder-fields .field-desc {
    display: block; 
    float: left; 
    clear: left; 
    font-size: 12px; 
    width: 178px;
    text-align: left;
}

#keyholder-search {
    width: 178px;
    float: left;
}

#keyholder-search-button {
    /*float: right;*/
}

.account-status {
    font-size: 18px;
    margin-bottom: 20px;
    display: inline-block;
}

.account-status .status {
    display: inline-block;
    color: #fff;
    padding: 2px 15px;
    border-radius: 4px;
}

.account-status .status.pending {
    background-color: #00bfff;
}

.account-status .status.active {
    background-color: #00a100;
}

.account-status .status.inactive {
    background-color: #ff5358;
}

.status-info {
    position: relative;
    float: right;
    margin-top: -5px;
    margin-left: 5px;
    width: 20px;
    height: 20px;
    background-image: url("assets/img/info-icon.svg");
    background-size: contain;
    display: block;
}

.status-info ul {
    display: none;
    position: absolute;
    left: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin: 0;
    background: #fff;
    list-style-type: none;
    width: auto;
    min-width: 160px;
}

.status-info:hover ul {
    display: block;
}

.status-info li {
    color: #ff5358;
    font-size: 12px;
    display: block;
    padding-left: 20px;
    background-image: url("assets/img/cross-mark.png");
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: left;
}

.status-info li.status-info-active {
    color: #00a100;
    background-image: url("assets/img/check-mark.png");
    background-size: 15px;
}

.woocommerce-MyAccount-content .vacation-mode .optional {
    display: none;
}

/* Keyholder frotn-end profile - dashboard*/
.keyholder-dashboard .keyholder-avatar-input input[type="text"] {
    display: none;
}

.keyholder-dashboard .keyholder-avatar-img {
    max-width: 200px;
}

.keyholder-dashboard .keyholder-add-user-photo {
    margin-bottom: 30px;
    display: inline-block;
}

/* Keyholder front-end profile - customers */
.deny-reasons,
.deny-reasons .deny-reason-msg {
    display: none;
}

.deny-reasons {
    margin-top: 10px;
}

.customer label,
.deny-reasons label {
    display: block;
}

button[name="keyholding_customer_deny"] {
    margin-top: 10px;
}

.customer .customer-info {
    display: none;
}

.customer .actions {
    text-align: right;
    min-width: 200px;
}

.customer .actions .approve-button {
    display: inline-block;
    background: #00a100;
    border: 0;
    border-radius: 5px;
    height: 32px;
    line-height: 32px;
    padding: 0 20px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
}

.customer .actions .deny-button {
    display: inline-block;
    background: #ff5358;
    border: 0;
    border-radius: 5px;
    height: 32px;
    line-height: 32px;
    padding: 0 20px;
    color: #fff;
    font-weight: 500;
}

.customer .actions .deny-button:hover {
    text-decoration: none;
}

.customer-info .deliver-address {
    display: inline-block;
    margin-top: 15px;
}

.keyholder-subscription {
    font-size: 14px;
    text-decoration: underline;
}

.keyholder-customers h2 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 30px;
}

.keyholder-customers table td {
    border: 0;
}

.keyholder-customers td:first-child {
    width: 28%;
}

.keyholder-customers td:nth-child(2) {
    width: 40%;
}

.sharable-link-text-preview {
    padding: 1.10rem;
}

.copy-button {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 77px;
    font-size: 15px;
    vertical-align: bottom;
    cursor: pointer;
    background-image: url('assets/img/copy-icon.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: top left 3px;
}

@media only screen and (max-width: 640px) {
    .keyholder-customers table,
    .keyholder-customers table tbody,
    .keyholder-customers table tr,
    .keyholder-customers table tr td:first-child {
        display: block;
        width: 100%
    }

    .keyholder-customers table tr td:nth-child(2) {
        width: 70%;
    }
}

.shipping.recurring-total {
    display: none;
}

/* Shop page changes by Adrian Holobut */
.woocommerce.woocommerce-page.archive.post-type-archive .container .row > a[name="Top"] {
    display: block;
    width: 100%;
}

.woocommerce.woocommerce-page.archive.post-type-archive .product-img-link {
    background-size: cover !important;
    min-height: 300px !important;
    background-repeat: no-repeat;
}

#site-navigation #primary-menu-wrap li.nav-item.active a {
    background-color: #3c52cb !important;
}