﻿
:root {
    --white: #ffffff;
    --light: #f0eff3;
    --black: #000000;
    --dark-blue: #1f2029;
    --dark-light: #353746;
    --red: #009688;
    --yellow: #f8ab37;
    --grey: #ecedf3;
}
.wrapper-donate {
    position: relative;
    height: 660px;
}
.form-check {   
     padding-left: 0em; 
}
.checkbox-budget:checked + label,
.checkbox-budget:not(:checked) + label {
    position: relative;
    display: inline-block;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 80px;
    font-size: 18px;
    line-height: 8px;
    letter-spacing: 1px;
    margin: 0 auto;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    -webkit-text-stroke: 1px var(--white);
    text-stroke: 1px var(--white);
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    color: transparent;
}

.checkbox-budget:not(:checked) + label {
    background-color: var(--dark-light);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.checkbox-budget:checked + label {
    background-color: var(--red);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-budget:not(:checked) + label:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-budget:checked + label::before,
.checkbox-budget:not(:checked) + label::before {
    /* position: absolute;*/
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-image: linear-gradient(138deg, var(--red), var(--yellow));
    z-index: -1;    
}

.checkbox-budget:checked + label span,
.checkbox-budget:not(:checked) + label span {
    position: relative;
    display: block;
}

    .checkbox-budget:checked + label span::before,
    .checkbox-budget:not(:checked) + label span::before {
        /* position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    -webkit-text-stroke: transparent;
    text-stroke: transparent;
    -webkit-text-fill-color: var(--white);
    text-fill-color: var(--white);
    color: var(--white);
    -webkit-transition: max-height 0.3s;
    -moz-transition: max-height 0.3s;
    transition: max-height 0.3s;
}

    .checkbox-budget:not(:checked) + label span::before {
        max-height: 0;
    }

    .checkbox-budget:checked + label span::before {
        max-height: 100%;
    }

.checkbox:checked ~ .section .container .row .col-xl-10 .checkbox-budget:not(:checked) + label {
    background-color: var(--light);
    -webkit-text-stroke: 1px var(--dark-blue);
    text-stroke: 1px var(--dark-blue);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.05);    
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    /*   position: absolute;*/
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}

.section {
    margin-bottom: 10px;
}

.section [type="checkbox"] {
    width: 25px;
    height: 25px;       
}

.section label {
    vertical-align: top;        
}


@media(max-width:580px)
{
    .container-fluid{
        --bs-gutter-x: .5rem !important;           
    }
    .section label {
        vertical-align: top;
        display: initial !important;
    }

    .checkbox-budget:checked + label,
    .checkbox-budget:not(:checked) + label {
        position: relative;
        display: inline-block;
        padding: 0;
        padding-top: 15px;
        padding-bottom: 15px;
        width: 48px;
        font-size: 14px;
        line-height: 8px;
        letter-spacing: 1px;            
    }
}
.wrapper-donate input[type=text] {  
    padding: 10px 0px 10px 10px;
    width: 100%;
    text-align: left;
    border: 2px solid #dddddd;
    border-radius: 5px;
    letter-spacing: 1px;
    word-spacing: 3px;
    outline: none;
    font-size: 16px;
    color: #555555;
}

