/*.cause-img{
    display: block;
    position: relative;
}
.cause-img:after{
    position: absolute;
    content: '';
    width: 300px;
    height: 300px;
    border: 2px solid #eb464a;
    background: transparent;
}*/

.cause-bcm-main{
    
}

.cause-img{
    display: block;
    position: relative;
    overflow: hidden;
    /*height: 220px;*/
}

.cause-img:before{
    position: absolute;
    content: '';
    width: 0%;
    height: 400px;
    background: rgba(0,0,0,0.0);
    top:0 ;
    left: 0;
    transition: all 0.3s ease-in-out ;
    
}

.cause-img img.wp-post-image {
    margin-bottom: 0px !important;
    width:100%;
    /*border-top: 4px solid #eb464a;*/
    /*border-bottom: 3px solid #eb464a;*/
    
}

.cause-content{
    padding: 0px;
    margin-bottom: 1.5em;
}

.cause-text{
}

.cause-text h5 a{
    margin-top: 18px !important;
    color: #444444;
    font-weight: bold;
    font-size: 22px;
    display: block;
}

.cause-text p{
    font-size: 16px; 
    /*font-style: italic;*/ 
    font-weight: normal; 
    color: #626262;
}

.cause-fund{
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

 

.cause-bcm-main .progress{
    border-radius: 0;
    box-shadow: none;
    background: #FFF;
    margin-top: 24px;
    margin-bottom: 48px;
    margin-left: -1px;
    margin-right: -1px;
    height: 10px;
    position: relative;
    overflow: visible !important;
    border: 1px solid #CCC;
    padding: 1px;
}

.cause-bcm-main .progress .progress-bcm{
    border-radius: 0;
    background: #eb464a;
    height: 6px;
    position: relative;
}

.cause-bcm-main .progress span.bcm-raised{
    background: transparent none repeat scroll 0 0;
    border: 1px solid #eb464a;
    font-size: 12px;
    height: 28px;
    line-height: 28px;
    position: absolute;
    text-align: center;
    top: 18px;
    width: 38px;
    left: 0px;
    text-indent: 1px;
    
}

/*.cause-bcm-main .progress span.bcm-raised:before{
    content: '-';
    position: relative;
}*/


/* shared with before and after */
.cause-bcm-main .progress span.bcm-raised:before, 
.cause-bcm-main .progress span.bcm-raised:after {
    content: ' ';
    height: 0;
    position: relative;
    width: 0;
    border: 7px solid transparent; /* arrow size */
}

/* these arrows will point up */

/* top-stacked, smaller arrow */
.cause-bcm-main .progress span.bcm-raised:before {
   
    border-bottom-color: #eb464a;
    left: 0;
    position: absolute;
    top: -15px;
    z-index: 0;
}

/* arrow which acts as a background shadow */
/*.cause-bcm-main .progress span.bcm-raised:after {
	border-bottom-color: #CCCCCC;   arrow color 
	 positioning 
	position: absolute;
	top: -24px;
	left: 16px;
	z-index: 1;
}*/


.cause-bcm-main:hover .progress .progress-bar.progress-bcm{
/*    background: #274472;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;*/
}

.fund-item-text{
    /*text-transform: uppercase;*/
    margin: 12px 0px;
    text-align: left;
    font-size: 20px;
}

.fund-raised-text{
    font-weight: bold;
    color:  #eb464a;
}

.cause-button-container{
    border: 1px solid red;
}

.cause-bcm-main .cause-button{
    border-radius: 0 !important;
    bottom: 15px;
    position: absolute;
    right: 0px;
    transition: all 0.4s ease 0s;
    border: 0px;
    background: rgba(255,255,255, 0.95);
    font-size: 16px;
}

.cause-bcm-main .cause-button .fa{
    color: #eb464a;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.cause-bcm-main .cause-button:hover{
    background:#FFFFFF;
    border: 0px;
    
}

.cause-bcm-main .cause-button:hover .fa{
    /*color: #FFFFFF;*/
    
}


.cause-bcm-main:hover .cause-button{
    background: #eb464a;
    color: #FFFFFF;
}

.cause-bcm-main:hover .cause-button .fa{
    color: #FFFFFF;
    
}

.cause-bcm-main:hover .cause-img:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 400px;
    background: rgba(0,0,0,0.5);
    top:0 ;
    left: 0;
    
}



div#dgx-donate-container{

    border-radius: 0  !important;
    padding: 20px !important;
}

div.dgx-donate-form-section{
    border: 1px solid #cccccc !important;
    border-radius: 0  !important;
    padding: 12px !important;
}

div.dgx-donate-form-section h2{
    font-size: 24px;
}

div.single-page-donation-info{
    padding: 24px 0;
}

i.donate-font-size{
    font-size: 32px;
    margin-bottom: 13px;
}

a.btn-donate i{
    font-size: 32px;
    padding-top: 12px;
}

a.btn-donate{
    border-radius: 0;
    font-size: 24px;
    padding: 8px 12px;
    position: relative;
    top: 8px;
}

.causes-info-block{
    padding: 20px;
}

/*.causes-info-block:first-child,
.causes-info-block:last-child{
    padding: 32px 16px;
}*/

.cause-image-wrapper{
    /*padding: 5px;*/
    border: 0px solid #cccccc;
    box-sizing: border-box;
    text-align: center;
}

.cause-image-wrapper img.wp-post-image{
    margin-bottom: 0px;
}

.cause-info-container{
   background: #f9fafb none repeat scroll 0 0;
    border: 1px solid #eee;
    box-sizing: border-box;
    clear: both;
    float: left;
    width: 100%;
}

.cause-info-wrapper{
    margin-top: 24px;
}

/*------------------------------  Media Queries ---------------------------------*/

@media only screen and (min-width: 0px) and (max-width: 479px) {


    a.btn-donate{
        top: -5px;
    }

    .cause-info-wrapper{
        margin-top: 24px;
        padding-right: 0px;
    }
    
    .cause-bcm-main .cause-content:first-child{
        margin-top: 24px !important;
    }
    
    .cause-bcm-main .cause-content{
        margin-bottom: 24px !important;
    }
    
    .cause-bcm-main .cause-content:last-child{
        margin-top: 0px !important;
    }

}

@media only screen and (min-width: 480px) and (max-width: 979px) {
    a.btn-donate{
        top: -5px;
    }
    .cause-info-wrapper{
        /*margin-top: 24px;*/
        padding-right: 0px;
    }
    
    .cause-bcm-main .cause-content:first-child{
        margin-top: 24px !important;
    }
    
    .cause-bcm-main .cause-content{
        margin-bottom: 24px !important;
    }
    
    .cause-bcm-main .cause-content:last-child{
        margin-top: 0px !important;
    }
    
}