/* Begin Rateboard CSS */

.featurebox {
    position: relative;
    z-index: 0;
    color: #333;
    padding: 15px 20px 20px;
    border-top: 1px solid #d7d7d7;
    margin: 0 0 1.5em;
    background: #f6f6f6;
}
.featurebox p, .featurebox h1, .featurebox h2, .featurebox h3, .featurebox h4, .featurebox h5, .featurebox h6 {
    margin: 0 0 .3em;
    border-bottom: 1px solid #c00;
    color: #c00;
}
.featurebox p {
    border: none;
    margin: 0 0 1em;
    color: #444;
}
.featurebox a {
    font-weight: bold;
}

/*Datatable*/

.datatable {
    border-width: 1px;
    border-style: none;
    margin-bottom: 1em;
    font-size: 18px;
    line-height: 1.1;
    /* font-family: 'Yanone Kaffeesatz', Calibri, Arial, Helvetica, sans-serif; */
}
.datatable td,
.datatable th
{
    border: 0;
    border-right: 1px solid #fff;
    padding: 0.5em 8px;
}

.datatable td:last-of-type,
.datatable thead th:last-of-type {
    border:0;
}
/* the first row of the table */
.datatable.rb caption
 {
    color: #444;
    background: #E9E9E9;
    padding: 8px 8px 4px;
    text-align:left;
}
.rb_title {
    font-size: 33px;
    line-height: 33px;
}
/* effective date */
.rb_edate, .rb_sep {
    font-size:20px;
    font-weight: normal;
    white-space: nowrap;
}
/* the second row of the header */
.datatable thead th {
    background-color: #A6A6A6;
    color: #fff;
    text-align:right;
    font-size: 20px;
    padding: 4px 8px;
}
.datatable thead th:first-of-type {
    text-align: left;
}
.datatable tbody th {
    color: #fff;
    vertical-align: top;
    text-align: center;
}
.datatable tbody th.sub {
    color: #333;
    text-align: left;
}
.datatable tbody th.sub a {
	font-family: inherit;
}
.datatable tbody th.sub_nocontent {
    background: #efefef;
}
.datatable tbody tr:nth-child(odd), .rowone {
    background: #fdfdfd;
}
.datatable tbody tr:nth-child(even), .rowtwo {
    background: #E5E5E5;
}
.datatable tbody tr:hover,
.datatable tbody tr:active,
.datatable tbody tr:focus
 {
    background: #ffffcc;
}
.datatable td {
    vertical-align: top;
}
.datatable td.apy {
    text-align: right;
    white-space: nowrap;
}
.datatable caption {
    text-align: left;
    font-weight: bolder;
}
.textleft {
    text-align: left;
}
.textright {
    text-align: right;
}
.textcenter {
    text-align: center;
}
.loans {}
.savings {}
.cds {}
#library_content {
    padding: 0 20px;
}
#library_content h1 {
    margin: 0;
    display: none;
}
#library_content h2 {
    margin: 0px;
}
#library_content .thumbnail {
    margin: 0 0 0 10px;
    position: relative;
    z-index: 9999;
    border: 1px solid #eee;
    float: right;
    width: 100px;
    padding: 5px;
    background: #fff;
}
#library_content .thumbnail img {
    border: 1px solid #000;
}
.rateblocks {
    font-size: 20px;
    line-height: 1.35;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    clear: both;
    text-align: center;
}
.rateblocks [itemtype~=rate] {
    display: block;
    width: 125px;
    min-height: 125px;
    float: left;
    clear: none;
    color: #373a3c;
    background: white;
    border: 1px solid #ccc;
    padding: 0.5em 0.5em 45px;
    margin: 0 1em 4px 0;
    position: relative;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: none;
}
.rateblocks [itemtype~=rate]:active, .rateblocks [itemtype~=rate]:focus, .rateblocks [itemtype~=rate]:hover {
    text-decoration: none;
    box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.3);
    margin-top: -52px;
    margin-bottom: 56px;
}
.rateblocks [itemtype~=rate]:active div[itemprop~=description], .rateblocks [itemtype~=rate]:focus div[itemprop~=description], .rateblocks [itemtype~=rate]:hover div[itemprop~=description] {
    opacity: 1;
    bottom: -50px;
    height: 50px;
    box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.3);
}
.rateblocks [itemtype~=rate] div[itemprop~=term] {
    font-size: 24px;
    margin-bottom: 0.5em;
    width: 100%;
    line-height: 1;
}
.rateblocks [itemtype~=rate] div[itemprop~=rate_unit] {
    font-size: 16px;
    width: 100%;
    line-height: 1;
}
.rateblocks [itemtype~=rate] div[itemprop~=rate] {
    font-size: 34px;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.rateblocks [itemtype~=rate] div[itemprop~=description] {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    opacity: 0;
    display: block;
    font-size: 15px;
    line-height: 1;
    position: absolute;
    height: 0;
    bottom: 0;
    right: 0;
    background: rgba(88, 172, 217, 0.9);
    color: white;
    width: 100%;
    margin: 0;
    padding: 2px;
    z-index: 1;
    overflow: hidden;
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
    table.rb.datatable {
	font-size: 17px !important;
	margin: 0;
	/* margin: 0 -25px; */
	width: 94vw;
    }
    table.rb.datatable thead tr {
	background-color: #00426a;
    }
    table.rb.datatable thead th {
	font-size: 16px !important;
	text-align: center;
    }
    table.rb.datatable th,
    table.rb.datatable td
    {
	padding: 5px 5px;
	line-height: 1;
	text-align: left !important;
	background: none !important;
	font-size: 17px;
    }
    table.rb.datatable tbody th { 
    }
    table.rb.datatable tbody td { 
    }

    /* Force table to not be like tables anymore */
    table.rb.datatable.legacy, 
    .rb.datatable.legacy thead, 
    .rb.datatable.legacy tbody, 
    .rb.datatable.legacy tr {
	display: block;
	width: 100%;
	border:0;
    }
    .rb.datatable.legacy th, 
    .rb.datatable.legacy td, 
    .rb.datatable.legacy caption {
	display: block;
	border:0;
    }
    .rb.datatable.legacy td { 
	text-align:right; padding: 4px 0.25em 0; 
    }
    .rb.datatable.legacy th.sub,
    .rb.datatable.legacy td.sub
    { text-align:left; }
}

/* End Rateboard CSS */
