/* ===================================================================
   COMPONENTS/BUTTONS.CSS
   Generic Button Styles and Bootstrap Replacements
   =================================================================== */

/* ===== BUTTON STYLES ===== */

/* ----- Default Button ----- */
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #CCC;
}

/* ===== 70. BUTTON EFFECTS ===== */

/* ----- 70.1 Swap Effect ----- */
.btn-swap-1:hover > :nth-child(1) {
    transform: translate(-50%, -120%);
    opacity: 0;
}

.btn-swap-1:hover > :nth-child(2) {
    transform: none;
    opacity: 1;
}

/* ===== 71. BUTTON ICONS ===== */

/* ----- 71.1 Left Icon ----- */
.btn-icon i {
    margin-right: 10px;
}

/* ----- 71.2 Right Icon ----- */
.btn-icon-right i {
    margin-right: 0;
    margin-left: 10px;
}

/* ===== 72. BUTTON VARIANTS ===== */

/* ----- 72.1 Primary Button ----- */
.btn-primary {
    background-color: #CCC;
    border-color: #CCC;
    color: #FFF;
}

/* ----- 72.2 Primary Button States ----- */
.btn-primary:hover,
.btn-primary:focus {
    background-color: #b9b9b9;
    border-color: #b9b9b9;
    color: #FFF;
}

/* ----- 72.3 Outline Primary Button ----- */
.btn-outline.btn-primary {
    color: #CCC;
    background-color: transparent;
    border-color: #CCC;
}

/* ----- 72.4 Outline Primary Button States ----- */
.btn-outline.btn-primary:hover,
.btn-outline.btn-primary:focus {
    color: #FFF;
    background-color: #CCC;
    border-color: #CCC;
}

/* ===== BOOTSTRAP BUTTON REPLACEMENTS ===== */

/* Base Button Styles */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    color: #212529;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn:disabled,
.btn.disabled {
    pointer-events: none;
    opacity: 0.65;
}

/* Button Sizes */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

/* Button Outline Light */
.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:hover {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:focus {
    box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5);
}

/* Button Close */
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}

.btn-close:disabled,
.btn-close.disabled {
    pointer-events: none;
    user-select: none;
    opacity: 0.25;
}


