/* =============================================================================
 * 	--	Modification examples - Use or delete as needed
 * ========================================================================== */

/* --- Buttons  --- */
/* Button border-radius examples */
/*
.btn{border-radius: 25px;}
.btn-lg{border-radius: 32px}
*/

/* Button colors*/
.btn-success {
    color: #fff;
    background-color: #1C325E;
    border-color: #1C325E;
    transition: all 0.4s ease 0s;
    border-width: 2px;
    border-radius: 38px;
}
.btn-success:hover {
    color: #fff;
    background-color: #495B7E;
    border-color: #495B7E;
}
.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show>.btn-success.dropdown-toggle {
    color: #fff;
    background-color: #495B7E;
    border-color: #495B7E;
    box-shadow: 0 0 0 0.2rem rgba(57, 77, 145,.5);
}
.btn-success.focus, .btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(57, 77, 145,.5);
}
.btn-success.disabled, .btn-success:disabled {
    color: #fff;
    background-color: #495B7E;
    border-color: #495B7E;

}
.btn-group-toggle .btn-link{
	color: rgba(33,37,41,.7);
	text-decoration: none;
/* 	box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.2); */
}
.btn-group-toggle .btn-link:hover{
	background-color: rgb(245,245,245);
}
.btn-group-toggle .btn-link.active {
    background-color: #1C325E;
    border-color: #1C325E;
    color: #fff;
    box-shadow: none;
}
.form-control:focus {
    /* border-color: #495B7E; */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(70,191,224,.25);
}

/* --- Links --- */
a, .link-button{ color: #1C325E;}
a:hover, .link-button:hover{color: #495B7E;}
footer a, footer a:hover{color: inherit;}

/* --- Border radius  --- */
/* No border-radius examples - delete if not used */
/*
.card,
.form-control,
.btn,
ul.donation-amount-options li.first,
ul.donation-amount-options li.last,
.custom-amount,
.payment-options .card.first,
.payment-options .card.last
{border-radius: 0;}
*/

/* --- Custom radios & checkboxes  --- */
/* You need to add the jquery in _template_customer_name  */
/* This is the default state */
.donation-amount-options label, .payment-options .card-title{
	position: relative;
}
.custom-radio .custom-control-label::before {
	border: 1px solid rgb(195,195,195);
	background: #fff; 
}
.custom-checkbox .custom-control-label::before {
	border: 1px solid rgb(195,195,195);
	background: #fff; 
}

/* This is the checked state */
.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-color: #1C325E; 
    border-color: #1C325E;
    /* this bg image SVG is just a white circle, you can replace it with any valid SVG code */
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E); 
    border-radius: 50%;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before,
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-color: #1C325E; 
    border-color: #1C325E;
    border-radius: .25rem;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/></svg>");
}
/* active state i.e. displayed while the mouse is being pressed down */
.custom-radio .custom-control-input:active ~ .custom-control-label::before {
    color: #fff;
    background-color: #30aac9;
    border-color: #30aac9;
}
.custom-checkbox .custom-control-input:active ~ .custom-control-label::before {
    color: #fff;
    background-color: #30aac9;
    border-color: #30aac9;
}
    
/* the shadow; displayed while the element is in focus */
.custom-radio .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(70,191,224,0.25);
}
.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(70,191,224,0.25);
}

/* Special for payment and amount options */
.donation-amount-options .custom-radio-graphic{
	position: relative;
	display: block;
	width: 16px;
    height: 16px;
    margin: 0 auto;
    margin-bottom: 8px;
}
.payment-options .custom-radio-graphic{
	position: absolute;
	top: 15px;
	left: 14px;
}
.custom-radio-graphic::before{
	position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #fff;
    border: 1px solid rgb(195,195,195);
    border-radius: 50%;
}
.custom-radio-graphic::after{
	position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    border-radius: 50%;
}
.custom-control-input:checked~.custom-radio-graphic::before{
	background-color: #1C325E; 
	border-color: #1C325E;
	color: #fff;
}
.custom-control-input:checked~.custom-radio-graphic::after{
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
}
.custom-control-input:active ~ .custom-radio-graphic::before {
    color: #fff;
    background-color: #30aac9;
    border-color: #30aac9;
}
.custom-control-input:focus ~ .custom-radio-graphic::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(70,191,224,0.25);
} 

/* --- Misc  --- */
/* Highligt amounts with box-shadow example */
/* .donation-amount-options, .custom-amount{box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);} */
