/* TEST */
.charities .charity {
    margin: 10px 0;
    padding: 10px 0;
    border-bottom: 1px solid #C6C8CA;
}

.charities .charity .charity-logo {
    width: 100%;
}

.charities .charity .charity-logo img {
    max-width: 90%;
    max-height: 100%;
    display: block;
    margin: 5px auto;
}

.charities .charity .donation-button-row {
    text-align: center;
    clear: both;
}

.charities .charity h3 {
    margin: 0;
    text-align: center;
}

.charities .charity .description {
    text-align: center;
    margin: 10px 0;
    max-height: 50px;
    overflow: hidden;
}

.charities .row {
    margin-bottom: 5px;
}

.charities .row label {
    display: block;
    width: 25%;
    float: left;
    margin-right: 5px;
    text-align: right;
}

.charities .row .value {
    display: block;
    width: 70%;
    float: left;
}

.charities .search-button-row {
    text-align: center;
}

.charities .charity-search .value select,
.charities .charity-search .value input {
    width: 100%;
}

.charities #charity-search-results .yui3-datatable-col-logoUrl {
    max-width: 200px;
}

.charities #charity-search-results th {
    font-size: 12px;
}

.charities #charity-search-results {
    text-align: center;
}

.charities #charity-search-results th,
.charities #charity-search-results td {
    text-align: left;
}

.charities #charity-search-results table {
    width: 100%;
}

@media only screen and (max-width: 640px) {
    .charities .charity-search select {
        height: 39px;
    }
    
    .charities #charity-search-results input.yui3-button {
        width: 100px;
        height: 30px;
    }
    
    .charities #charity-search-results .yui3-datatable-col-logoUrl,
    .charities #charity-search-results .yui3-datatable-col-state {
        display: none;
    }
}