/* Responsive stuff */
#page {
    background: #fff;
    margin: 0 auto;
    padding: 0 19px;
    width: 900px;
}

.site-header {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

tr {
    background: #f2f4f2;
}

td,
th {
    border-color: rgb(153, 153, 153);
    border-style: solid;
    border-width: 1px 1px 0 0;
    padding: 0px 2px 0px 2px;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border-color: rgb(153, 153, 153);
    border-style: solid;
    border-width: 0 0 1px 1px;

}

#loading {
    display: none;
}

/* #LEFTOVER
 * Let's remove this if we can at some point.
 *----------------------------------------------*/
.style4 {
    font-size: large;
    font-weight: bold;
}

.style9 {
    font-size: large
}

.style26 {
    font-size: x-large;
    font-weight: bold;
    margin:5px 0;
    display:block;
}
/* fin */

.site-header,
.card-info {
    background-color: #fff;
    padding: 8px;
}

.card-info {
    overflow: hidden;
}

.card-left {
    float: left;
    width: 50%;
}

.card-right {
    float:right;
    width: 45%;
}

.table-wrap {
    padding: 10px 8px;
}

p.desc {
    line-height: 1.5em;
}

.show-phone,
.button-profile {
    display: none;
}

button.more {
    display: none;
}

.desc-title {
    color: #000;
}

.number {
    display: none;
}

.rating {
    text-align: center;
}

.rating img {
    display: inline-block;
}

.gold {
    background-color: #FFD700;
}

.gold a,
.green a {
    color: #000;
    text-decoration: underline;
}

.silver {
    background-color: #D3D3D3;
}

.green {
    background-color: #92D050;
}

#footer {
    background: #fff;
    height: auto;
    overflow: hidden;
    width: 900px;
}

#footer p {
    padding: 0;
    margin: -10px 0 5px 0;
}

.secondary-menu {
    float: left;
}

.donate {
    padding-right:30px; 
    float: right;
}

@media screen and (max-width: 768px) {

    td,
    th {
        white-space: normal;
    }

    #wrapper {
        padding: 0 10px 20px 10px;
        width: auto;
    }

    #page,
    #footer {
        padding: 0;
        width: 100%;
    }

    #page {
        background: #fff;
        padding: 0;
    }

    #footer {
        background: #fff;
    }

    .card-left,
    .card-right {
        float: none;
        width: 100%;
    }

    .show-phone {
        display: inline-block;
        vertical-align: bottom;
        max-width: 15px;
    }

    .table-wrap .footable.breakpoint>tbody>tr>td>span.footable-toggle {
        background: #DBE0DA;
        border-right:1px solid rgb(153, 153, 153);
        display: block;
        float: left;
        height: 55px;
        width: 20px;
        margin-right: 4px;
        font-size: 10px;
        line-height: 40px;
        text-align: center;
    }

    .top-mid,
    .footable.breakpoint>tbody>tr>td.no-toggle>span.footable-toggle,
    .footable.breakpoint>tbody>tr>td.no-toggle>span.footable-toggle:before {
        display: none;
    }

    .table-wrap .footable-row-detail-row {
        line-height: 1.8em;
    }

    #loading {
        display: none;
        font-size: 20px;
        padding: 40px 0;
        text-align: center;
    }

    .button-profile {
        clear: both;
        display: block;
        text-align: left !important;
    }

    button.more {
        border: 1px solid;
        border-color: rgb(153, 153, 153);
        background: #DBE0DA;
        color: #333;
        cursor: pointer;
        font-weight: bold;
        display: block;
        margin: 5px 2px;
        padding: 2px 10px;
        width: auto;
    }

    .more span {
        font-size: 15px;
        vertical-align: middle;
    }

    .desc {
        display: none;
    }

    .number {
        display: block;
    }

    .rating {
        text-align: center;
    }

    .rating img {
        display: none;
    }

    .donate,
    .secondary-menu {
        clear: both;
        float: none;
        margin: 0;
        padding: 0;
        width: auto;
    }

    #footer p {
        margin: 10px 0;
    }

    #footer {
        text-align: center;
    }

    #footer ul li {
        display: inline-block;
        float: none;
        text-align: center;
    }

    #footer ul {
        margin-bottom: 1.5em;
    }

}