/*
Name        Original    New
Primary		Blue		Purple
				        #4F3674
				        79/54/116

Secondary	Grey		Cool Grey
                        #939597
                        147/149/151

Success		Green		Green
                        #AAAD00
                        170/173/0

Danger		Red		    Red
                        #AB162B
                        171/22/43

Warning		Yellow		Gold
                        #D6A800
                        207/164/39

Info		Teal		Orange
                        #D25D12
                        210/93/18
*/

.dropdown-menu {
    background-color: #3F2C5D;
}

.dropdown-item {
    color: #fff;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: #85739c;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #4F3674;
}

.btn-group-toggle .btn {
    border-color: #4F3674 !important;
    cursor: pointer;
}

.btn-group-toggle .btn.active {
    background-color: #4F3674 !important;
    color: #ffffff;
}

a {
    color: #4F3674 !important;
    font-weight: bold;
}

/* Primary */

.bg-primary {
    background-color: #4F3674 !important;
    color: #ffffff;
}

.btn-primary {
    background-color: #4F3674 !important;
    border-color: #4F3674 !important;
    color: #FFF !important;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-primary:active, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(79, 54, 116, .5) !important;
}

.btn-outline-primary {
    border-color: #4F3674 !important;
    color: #4F3674 !important;
}

.btn-outline-primary:hover {
    background-color: #4F3674 !important;
    color: #FFF !important;
}

.btn-outline-primary:active, .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(79, 54, 116, .5) !important;
    background-color: #4F3674 !important;
    color: #FFF !important;
}

.text-primary {
    color: #4F3674 !important;
}

.border-primary {
    border-color: #4F3674 !important;
}


/* Secondary */

.bg-secondary {
    background-color: #939597 !important;
    color: #000;
}

.btn-secondary {
    background-color: #939597 !important;
    border-color: #939597 !important;
    color: #000;
}

.btn-secondary:hover {
    opacity: 0.8;
}

.btn-secondary:active, .btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(147, 149, 151, .5) !important;
}

.text-secondary {
    color: #939597 !important;
}

.border-secondary {
    border-color: #939597 !important;
}

/* Success */

.bg-success {
    background-color: #AAAD00 !important;
    color: #FFF;
}

.btn-success {
    background-color: #AAAD00 !important;
    border-color: #AAAD00 !important;
    color: #FFF;
}

.btn-success:hover {
    opacity: 0.8;
}

.btn-success:active, .btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(170, 170, 0, .5) !important;
}

.text-success {
    color: #AAAD00 !important;
}

.border-success {
    border-color: #AAAD00!important;
}

/* Danger */

.bg-danger {
    background-color: #AB162B !important;
    color: #FFF;
}

.btn-danger {
    background-color: #AB162B !important;
    border-color: #AB162B !important;
    color: #FFF;
}

.btn-danger:hover {
    opacity: 0.8;
}

.btn-danger:active, .btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(171, 22, 43, .5) !important;
}

.text-danger {
    color: #AB162B !important;
}

.border-danger {
    border-color: #AB162B !important;
}

.alert-danger {
    background-color: #AB162B !important;
    color: #FFF;
}

/* Warning */

.bg-warning {
    background-color: #D6A800 !important;
    color: #000;
}

.btn-warning {
    background-color: #D6A800 !important;
    border-color: #D6A800 !important;
    color: #000;
}

.btn-warning:hover {
    opacity: 0.8;
}

.btn-warning:active, .btn-warning:focus {
    box-shadow: 0 0 0 0.2rem rgba(207, 164, 39, .5) !important;
}

.text-warning {
    color: #D6A800 !important;
}

.border-warning {
    border-color: #D6A800 !important;
}

/* Info */

.bg-info {
    background-color: #D25D12 !important;
    color: #FFF;
}

.btn-info {
    background-color: #D25D12 !important;
    border-color: #D25D12 !important;
    color: #FFF;
}

.btn-info:hover {
    opacity: 0.8;
}

.btn-info:active, .btn-info:focus {
    box-shadow: 0 0 0 0.2rem rgba(210, 93, 18, 0.5) !important;
}

.text-info {
    color: #D25D12 !important;
}

.border-info {
    border-color: #D25D12 !important;
}

/* Control */

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #4F3674;
    background-color: #4F3674;
}

.custom-control-input:not(:disabled):active~.custom-control-label::before {
    color: #fff;
    background-color: #4F3674;
    border-color: #4F3674;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(79, 54, 116, .5) !important;
}

.custom-select:focus {
    border-color: #4F3674;
    box-shadow: 0 0 0 0.2rem rgba(79, 54, 116, .5) !important;
}

.form-control:focus {
    border-color: #4F3674;
    box-shadow: 0 0 0 0.2rem rgba(79, 54, 116, .5) !important;
}

/* Print */

@media print {
    .btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info {
        color: #000 !important;
        border-color: #f8f9fa !important;
    }
}