﻿#donations {
    background-color: #fff;
}

    #donations .tab-content {
        color: #3d3d3d;
        background-color: #fff;
        padding: 0px 15px;
        margin: 0px 15px 5px 15px;
        width: 100%;
    }

    #donations .tabs {
        margin-top: 5px;
    }

    #donations .nav-link {
        cursor: pointer;
    }

    #donations .nav-item {
    }

    #donations #nav-summ {
        color: #3d3d3d;
        background-color: #fff;
        padding: 0px 15px;
        margin: 5px;
        width: 100%;
    }
    #donations #nav-summ a {
        /*font-family: 'Times New Roman';*/
    }
    #donations .rub {
        margin-top:-4px;
        margin-left:-8px;
        padding:0;
    }

    #donations ul.nav-tabs > li > a {
        border-radius: 0;
        border: 0;
        font-size: 22px;
        color: #4d4d4d;
        cursor:pointer;
        font-family:'Times New Roman';
    }

        #donations ul.nav-tabs > li > a.active {
            background-color: #fff;
            color: red;
        }

    #donations #one-time,
    #donations #every-month
    {
        text-align: center;
    }

        #donations #one-time .btn-outline-secondary,
        #donations #every-month .btn-outline-secondary
         {
            color: black;
        }

        #donations #one-time .money-group,
        #donations #every-month .money-group
         {
            display: inline-block;
        }

        #donations #nav-summ .fa-rub
         {
            font-size: 16pt;
        }


        /*--------1 tab--------*/


    #donations #one-time .nav-pills,
    #donations #nav-summ .nav-pills,
    #donations #every-month .nav-pills {
    margin-top:20px;
    margin-bottom:20px;
    }

        #donations #one-time .nav-link,
        #donations #nav-summ .nav-link,
        #donations #every-month .nav-link                
         {
            background-color: #fff;
            border: 2px solid #d8d8d8;
            color: #3d3d3d;
            /*box-shadow: 5px 5px 3px #b2b2b2;*/
            margin: 0px;
            font-size: 20pt;
        }

            #donations #one-time .nav-link.active,
            #donations #nav-summ .nav-link.active,   
            #donations #every-month .nav-link.active                        
             {
                border: 2px solid #fd5454;
            }

        #donations #nav-summ li:last-child > .nav-link {
            color: #b2b2b2;
        }

    #donations #nav-summ li input {
        width: 150px;
        font-size: 20pt;
        padding: 5px;
        text-align: center;
        margin-left:auto;
        margin-right:auto;
    }

        #donations #one-time .nav-item,
        #donations #nav-summ .nav-item, 
        #donations #every-month .nav-item                
         {
            padding: 5px;
        }


        #donations #one-time .expand-more {
            text-decoration-style: none;
            border-bottom: 1px dashed #3d3d3d;
            margin: 20px 0px 20px 0px;
        }

            #donations #one-time .expand-more.fa-chevron-up,
            #donations #one-time .expand-more.fa-chevron-down {
                color: red;
                border: 0px;
            }


            #donations #one-time .expand-more a {
                text-decoration: none;
                color: #3d3d3d;
            }

    #donations .requisites {
        width: 100%;
    }

        #donations .requisites .left {
            float: left;
        }

            #donations .requisites .left .comment {
                height: 100px;
            }

    #donations .requisites-text {
        text-align: center;
        margin-top:30px;
        padding-left:28px;
        padding-right:28px;
        color:#b2b2b2;
        font-size:12px;
    }

    #donations .form-check-label {
        color: #b2b2b2;
        text-align: center;
        margin-left: 30px;
        margin-top: 10px;
        padding-left:0;
    }


        #donations .form-check-label > a {
            color: #b2b2b2;
            text-decoration: underline;
        }

    #donations #info-1 {
        color:#666;
        padding:0;
        font-size:14px;
    }
    

    #donations #cpErrors {
        color:#ef8080;
    }


    #donations #btn-pay {
        width: auto;
        max-width: 320px;
        min-width: 240px;
        border-radius: 6px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }


    #donations #other-help .title {
        text-align: center;
        margin: 50px 0px 50px 0px;
        color: #3d3d3d;
        font-size: 20pt;
    }

    #donations #other-help .btn-outline-secondary:hover {
        border-color: red;
        color: red;
    }

    #donations #other-help .right {
        text-align: right;
    }

        #donations #other-help .right button,
        #donations #other-help .right a {
            background-color: #ebebeb;
        }


    #donations #other-help .method {
        margin: 40px 0px 30px 0px;
    }


#pay-form {
    width: 100%;
}

.hidden {
    display: none;
}


/*CARD*/
    #donations #cp-form {
        text-align:center;
        margin-bottom:40px;
    }

@media (min-width: 560px) {

    #donations #cp-card {
        width: 460px;
        height: 302px;
        padding-top: 70px;
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        background: url('/styles/img/card-bg.png');
    }

        #donations #cp-card input {
            text-align: center;
            text-transform: uppercase;
            font-size: 20px;
            padding: 6px;
        }

        #donations #cp-card .c12 {
            width: 100%;
            padding-bottom: 26px;
        }

        #donations #cp-card .c4 {
            width: 30%;
            margin-right: 19px;
            float: left;
        }

        #donations #cp-card .c4l {
            width: 30%;
            float: left;
        }
}

/*mobile*/
@media (max-width: 559px) {

    #donations #cp-card {
        width: 300px;
        height: 210px;
        padding-top: 52px;
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 15px;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        background: url('/styles/img/card-bg.png') no-repeat;
        background-size: 300px 210px;
    }

        #donations #cp-card input {
            text-align: center;
            text-transform: uppercase;
            font-size: 16px;
            padding: 3px;
        }

        #donations #cp-card .c12 {
            width: 100%;
            padding-bottom: 15px;
        }

        #donations #cp-card .c4 {
            width: 30%;
            margin-right: 12px;
            float: left;
        }

        #donations #cp-card .c4l {
            width: 30%;
            float: left;
        }

}

@media(min-width:700px) {
            #donations #one-time .payment,
        #donations #every-month .payment
         {
            text-align: center;
        }

            #donations #one-time .payment li,
            #donations #every-month .payment li
             {
                min-width: 220px;
                max-width: 33%;
                margin: auto;
            }

                #donations #one-time .payment li a,
                #donations #every-month .payment li a
                 {
                    text-align: center;
                    height: 120px;
                    padding-top: 26px;
                    margin-right: 20px;
                    margin-left: 20px;
                }
}

@media(max-width:699px) {
        #donations #one-time .payment,
        #donations #every-month .payment
         {
            text-align: center;
        }

                #donations #one-time .payment li a,
                #donations #every-month .payment li a                
                 {
                    text-align: center;
                    height: 64px;
                    margin-right: 10px;
                    margin-left: 10px;
                }

                #donations #one-time .payment li img,
                #donations #every-month .payment li img
                {
                    height: 50px;
                }
}
