/*** OLD STYLES ***/
/* We can consider everything under here to be pre-revamp. These are the styles we need to ensure that
   nothing breaks once we move to full-width, with all the other, new style defintions in place. Nothing
   here should apply to anything on a revamped page

   We call this the crutch, because it's needed until a page is "healed"
*/

body {
    font-size: 15px;
    line-height: 22px;
}

.ui-dialog .ui-dialog-titlebar-close {
    background-color: white;
}
.ui-dialog .ui-dialog-titlebar-close:hover {
    background-color: white;
}
#rc_toprec_infocontainer .ratecard_wrap {
    float: right;
    margin-left: 8px;
}
#rc_otherrecs .ratecard_wrap {
    background-color: white;
}
.titlerow .rate_card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: inherit;
    padding-top: 0px;
}

.titlerow_right .ratecard_wrap {
    width: 150px;
}

/*** Recommendations Page ***/


@media screen and (max-width: 575px) {
    .cr_container {
        padding: 16px;
    }
    .sidebar {
        width: 100%;
    }
    .desktop {
        display: none;
    }

    .rc_other_recs .titlerow_right {
        display: none;
    }
    #rc_mainrec h2 {
        margin-bottom: 8px;
    }
    .system_collection {
        font-size: 13px;
    }
}

#cr_leftcol_news h1 {
    margin: 0;
}
#ab_container h1, #cl_container h1, #sg_container h1, 
#tl_container h1, #adm_container h1 {
    margin-bottom: 24px;
}
#nr_container h1 {
    margin-bottom: 12px;
}
#ab_container h2, #sg_container h2, #tl_container h2,
#adm_container h2 {
    margin-bottom: 12px;
}
#ex_container h2 {
    margin: 24px 0 12px 0;
}
.cr_content.signin h1 {
    text-align: center;
    margin-bottom: 0;
}
.cr_content.signout {
    text-align: center;
}

@media screen and (min-width: 575px) {
    .cr_content h1,
    .cr_leftcol h1 {
        font-size: 38px;
        margin-bottom: 24px;
    }

    .cr_leftcol h2 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .cr_leftcol h3 {
        font-size: 20px;
        margin-bottom: 4px;
    }
}
