﻿html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    margin: 0px;
    font-family: 'freightsans', sans-serif;
    background-color: #ffffff;
}

.container {
    background-color: #fff;
}

ul {
    list-style: none;
    padding: 0;
}

h1 {
	color: #639CB3;
    font-size: 28px;
    font-weight: 300;
    margin: 2rem 0 1rem;
}

h2 {
    font-size: 22px;
    font-weight: 300;
    color: #40829D;
    margin: 20px 0 10px 0;
}


p {
    font-family: 'droid serif', serif;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}

strong {
    font-weight: 900;
}

.logo-image {
    margin:20px 0px 10px;
}


.form {
    /*    max-width: 360px;*/
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}

    .form .label {
        font-size: 13px;
        font-weight: 400;
        color: #666;
        display: block;
        line-height: 15px;
        margin: 0 0 3px;
    }

        .form .label.question {
            font-size: 14px;
            color: #000;
            font-weight: 600;
            margin-top: 20px;
        }

    .form input[type="email"] {
        height: 42px;
        background-color: #fff;
        border: 1px solid #bebd9a;
        border-radius: 3px;
        display: block;
        width: 100%;
    }

    .form input {
        height: 42px;
        font-size: 18px;
        font-weight: 300;
        background-color: #fff;
        border: 1px solid #bebd9a !important;
        border-radius: 3px;
        display: block;
        width: 100%;
        padding: 6px 8px;
        color: #000;
    }

        .form input[disabled] {
            background-color: transparent;
            color: rgba(0,0,0,0.3);
        }

::-webkit-input-placeholder {
    color: #999;
}
/* Webkit */
:-moz-placeholder {
    color: #999;
}
/* Firefox <= 18 */
::-moz-placeholder {
    color: #999;
}
/* Firefox >= 19 */
:-ms-input-placeholder {
    color: #999;
}
/* Internet Explorer */

.form textarea {
    min-height: 110px;
    font-size: 16px;
    font-weight: 300;
    background-color: #fff;
    border: 1px solid #bebd9a;
    border-radius: 3px;
    display: block;
    width: 100%;
    padding: 6px 8px;
    color: #000;
}

.form button.actionButton {
    width: 42px;
    height: 42px;
    position: absolute;
    right: 2%;
    border-radius: 100%;
}

.btn {
    margin: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #0f5d99;
    border: 1px solid #0f5d99;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, border 0.3s;
    will-change: background-color, border;
}

    .btn:hover {
        background-color: #0e4f81;
    }

    .btn.no-style {
        background: none;
        border: none;
        color: #2e96e5;
        border-radius: 0;
        box-shadow: none;
        font-weight: 400;
        font-size: 14px;
        cursor: pointer;
        width: auto;
        margin: 0;
        padding: 0;
        height: auto;
    }

        .btn.no-style:hover {
            color: #000;
        }

.frequencyButtons, .paymentTypeButtons {
    display: flex;
    width: 100%;
    justify-content: space-around;
}
.frequencyButtons .btn, .paymentTypeButtons .btn{
    min-width: 45%;
}
.amountButtons .btn {
    font-size: 20px;
}
.amountButtons .btn,
.btn-group .btn,
.frequencyButtons .btn, .paymentTypeButtons .btn
{
    background: #ECEFF0;
    border-color: #DCDFE0;
    border-width: 1px;
    border-style: solid;
    color: #888;
}
    .amountButtons .btn.active,
    .btn-group .btn.active,
    .frequencyButtons .btn.active, .paymentTypeButtons .btn.active
    {
    border-color: #00587C !important;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.25);
    z-index: 10;
    background: #00587C;
    color: #fff;
	}
	
	.amountButtons .btn:hover,
	.btn-group .btn:hover,
	.frequencyButtons .btn:hover, .paymentTypeButtons .btn:hover
	{
	    color: #444;
	}

	.amountButtons .btn.active:hover,
	.btn-group .btn.active:hover,
	.frequencyButtons .btn.active:hover, .paymentTypeButtons .btn.active:hover
	{
	    color: #fff;
	}

.fund-type-group > .fund-btn.active {
    border: #8c6f96 solid 3px;
    box-shadow: rgba(0,0,0,0.4) 0px 0px 7px;
    background-color: #fff;
}

.fund-type-group > .fund-btn {
    flex: 1;
    border: #DCDFE0 solid 1px;
    border-radius: 6px;
    padding: 1em;
    -webkit-transition: box-shadow 1s; /* Safari */
    transition: box-shadow 1s;
    cursor: pointer;
}

.fund-type-group {
    background: #ECEFF0;
    display: flex;
    flex-direction: column;
}

.fund-type-group > .fund-btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 0;
}

.fund-type-group > .fund-btn:first-child:not(:last-child):not(.dropdown-toggle) {
        border-radius: 6px 6px 0px 0px;
}

.fund-type-group > .fund-btn:last-child:not(:first-child) {
        border-radius: 0px 0px 6px 6px;
}
#donate-button{
    font-size: 20px;
    transition: All 0.3s ease;
}

#donate-button:hover {
	box-shadow: 0px 3px 12px rgba(0,0,0,0.25);
}

#donate-button:active {
	background-color: #00587C;
}

#donate-button[disabled] {
	padding: 1rem 2rem 1rem 3.5rem;
	background: #00587C url(https://hslda.org/donate/Images/spinner_blue.gif);
	background-position: 15px center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	color: #ffffff;
}

.center-btn .btn-primary {
	background-color: #fff;
	color: #40829D;
	margin-top: 1.5rem;
}

.btn-lg.btn-primary {
	border-radius: 40px;
	padding: 1rem;
	margin-top: 2rem;
	background-color: #00587C;
	border-color: #00587C;
}

.btn-lg.btn-primary:hover {
	background-color: #00587C;
}

.btn-primary.pull-right {
	float: right;
	background-color: #ECEFF0;
	border-color: #DCDFE0;
	color: #888;
}
#donate-button {
	color: #fff;
	padding: 1rem 2rem;
}

#confirmationScreen {
	margin-top: 20px;
}

.text-primary {
	color: #003E57 !important;
	font-weight: bold;
	font-size: 1.4rem;
}

#confirmationScreen p a {
	background-color: #efefef;
	padding: 10px 20px;
	border-radius: 20px;
	margin-left: 10px;
}


footer {
	margin-top: 35px;
}

#accreditations img {
	margin-right: 10px;
}

.g-recaptcha {
	margin: 20px 0 30px;
}

@media only screen and (min-width : 700px) {

    .fund-type-group {
        flex-direction: row;
    }

    .fund-type-group > .fund-btn:first-child:not(:last-child):not(.dropdown-toggle) {
        border-radius: 6px 0px 0px 6px;
    }

    .fund-type-group > .fund-btn:last-child:not(:first-child) {
        border-radius: 0px 6px 6px 0px;
    }

    #donate-button{
        width: initial;
        display: inline-block;
    }
    .logo-image {
        max-width:320px; 
    }
}