:root {
    --text: #FFFFFF;
    --textBox:#989898;
    --selected: #4BCFFC;
    --button:#83C9EC;
    --buttonHover:#405895;
    --buttonText:#000000;
  }

body{
    font-size: 20px;
    background-color: var(--text);
    text-align:center;
    font-family: "Roboto",sans-serif;
    font-weight:400;
}
div{
    padding-top:10px;
}

#header{
    padding-top: 10px;
    padding-bottom:10px;
}
#Logo{
    max-height:100px;
    max-width:100%;
}
#orgDescription > p {
    color:var(--buttonText)
}

#donFull{
    background: url('donation-form-desktop-image.jpg');
    margin:auto;
    color:var(--text);
    width:100%;
}
#sponsor-form{
    max-width:900px;
    display:inline-block;
    padding:50px;
    text-align:left;
}

h1{
    font-size:48px;
    font-weight: 900;
    text-align:center;
}
h5{
    font-size: 18px;
    font-weight: 500;
    text-align:center;
}

input,select,textarea{
    width:100%;
    color:var(--buttonText);
}
::placeholder{
    color:var(--textBox);
    font-size:13px;
    text-align:center;
}


:has(>.money)::before{
    content: "$";
    position:absolute;
    color:var(--buttonText);
	font-weight: bold;
    font-size: 105%;
    padding: 5px 10px 7px 10px;
}
:has(>.money)::after{
    content: ".00";
    position:absolute;
    color:var(--buttonText);
    font-size: 105%;
    padding: 5px 10px 7px 10px;
    margin-left:-60px;
    margin-top:-4px;
}
.money{
    padding-right: 50px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}


input[type=radio] {
    appearance: none;
  
    border-radius: 50%;
    width: 25px;
    height: 25px;
  
    border: 3px solid var(--text);
    margin-right: 5px;
  }
  
  input[type=radio]:checked {
    background-color:var(--selected);
  }

legend,label,p{
    color:var(--text);
    font-weight:500;
}
label{
    font-size:18px;
}

.payment-types > div,#contactButton{
    z-index:10;
    background-color: var(--button);
    color:var(--buttonText);
    cursor:pointer;
    text-align:center;
    height:40px;
    line-height:40px;
    padding:0px;
}
#payments{
  position: relative;
}
.payments-top{
    opacity: 50%;
    background-color: white;
    width: calc(100% - 28px);
    height: calc(100% - 10px);
    position: absolute;
    top: 0;
    left: 0;
    cursor:pointer;
    z-index: 1000;
    margin-top: 10px;
    margin-left: 14px;
}


#contact-form{
    padding-top:60px;
    max-width:500px;
    display:inline-block;
    padding:50px;
    text-align:center;
}
#contactButton{
    border-radius: 25%;
    padding-right: 25px;
    height: 60px;
    line-height: 60px;
    padding-left: 25px;
    color: var(--text);
}

#error{
    color:var(--selected);
    font-size:x-large;
}
.error{
    outline:3px solid var(--selected);
}



#spinner-overlay{
    z-index: 1001;/*need this even highter than the payment-top overlays*/
  	width:100%;
  	height:100%;
  	padding:20%;
    position: fixed;
    top: 0%;
  	right: 0%;
  	background: rgba(51, 51, 51, .3);
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid var(--selected);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--selected) transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
/*
p,legend,option,.small,label{
    color: var(--white);
}
legend{
    border-top: 1px solid yellow;
    border-bottom:none;
    text-align: left;
}
:disabled,::placeholder{
    color:#66aba1;
}
.payTypeLabel{
    text-transform: uppercase;
    letter-spacing: -1px;
    font-size: smaller;
    font-stretch: condensed;
    color: yellow;
    font-weight: lighter;
}
:disabled{
    opacity:70%
}
fieldset{
    padding-top: 0px ;
    padding-bottom: 20px ;
}
input{
    margin-bottom: 10px;
    height: 40px;
    min-width: 30px;
    text-align: center;
}
.personal-information input{
    width:100%;
}
.padding{
    visibility:hidden;
}



#error{
    color:#8c1d21;
    font-size:x-large;
}
.error{
    outline:3px solid #8c1d21;
}

:required {
    --icon-required: url('data:image/svg+xml,\
            <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-10 -6 16 16"> \
            <line id="line" y1="-2" y2="2" stroke="%238c1d21" stroke-linecap="butt" transform="rotate(15)"></line> \
            <line id="line" y1="-2" y2="2" stroke="%238c1d21" stroke-linecap="butt" transform="rotate(75)"></line> \
            <line id="line" y1="-2" y2="2" stroke="%238c1d21" stroke-linecap="butt" transform="rotate(-45)"></line> \
            </svg>');
    background-image: var(--icon-required);
    background-position-x: right;
    background-repeat: no-repeat;
    background-size: contain;
}

#credit-container,#check-container{
    border:1px solid #66aba1;
    color:#fbefbd;
    background-color: #2a664b;
    text-align: center;
    cursor:pointer;
    height:40px;
}
#payments-top{
    background: #fbefbd;
    opacity:50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor:pointer;
    z-index: 1000;
}
.collapse{
    display:none;
}
.payment-types{
    z-index:10;
}
#payments{
  position: relative;
}