
#tc-tab {
    color: white;
    background: #0067ac;
}
#ec-tab {
    background: #D2ECF5;
    color: #0067AC;
}
#nav .dropdown {
    padding: 16px 24px 24px;
}
#nav .dropdown span {
    font-size: 1.08em;
    display: block;
    font-weight: bold;
    color: #383838;
    margin-bottom: 3px;
}
#nav .dropdown li {
    color: #555557;
    font-size: 1.08em;
    padding: 2px 0 3px;
    border: 0 none;
    background: none;
}
#nav .dropdown a {
    width: auto;
    padding: 0;
    margin: 0;
}
#nav .dropdown .column {
    float: left;
}
#nav .dropdown .column.left {
    width: 59%;
}
#nav .dropdown .column.right {
}
.dropdown ul + span {
    margin-top: 1em;
}
#teacher .dropdown {
    width: 411px;
}
#nav #teacher .dropdown .column {
    width: 49.5%;
}
#subjects .dropdown {
    width: 130px;
}
#liturgical .dropdown {
    width: 265px;
}
#activities .dropdown {
    width: 197px;
}
#media .dropdown {
    width: 12.5em;
}
.startsnewcolumn {
    column-break-before: always;
    -ms-column-break-before: always;
    -moz-column-break-before: always;
    -webkit-column-break-before: always;
}
.bookdropdown-series {
    column-break-inside: avoid;
    -ms-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 1em;
}

/* ---- ILC Liturgy Calendar styling ---- */
.liturgy h1 {
    font-size: 2.2em;
    background: url('/static/img/ilc_line.png') repeat-x left 0.95em;
}
.liturgy #main_col {
    box-sizing: border-box;
    float: right;
    max-width: 775px;
    margin: auto;
    float: right;
    padding: 0 1em;
    position: relative;
    width: 100%;
}
.liturgy #main_col p span {
    font-weight: bold;
}

.liturgy #side_col {
    width: 223px;
    margin: 48px 0 0 1em;
    float: left;
}
.liturgy #side_col .block {
    margin-bottom: 18px;
    overflow: auto;
}
.liturgy #side_col h2 {
    font-family: 'Lalezar',sans-serif;
    font-size: 2em;
    color: #383838;
}
.liturgy #main_col h2 {
    font-size: 1.83em;
    line-height: 1;
}
.liturgy #main_col h2 img {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 2px;
}
.liturgy #main_col h2 .prev {
    padding-right: 4px;
}
.liturgy #main_col h2 .next {
    padding-left: 4px;
}
.liturgy .subhead {
    font-family: 'MuseoSans',sans-serif;
    font-size: 1.42em;
}
.liturgy #main_col h3 {
    color: #0067AC;
    font-size: 1.42em;
    margin-top: 20px;
    margin-bottom: 2px;
}
.liturgy div.day {
    max-width: 350px;
}
#day #main_col h3 {
    color: #383838;
}
.liturgy h4 {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.75;
}
.liturgy .header {
    position: relative;
    margin-bottom: 17px;
    margin-top: 1em;
}
.liturgy #main_col p {
    max-width: 535px;
    line-height: 1.75;
}
.liturgy .copy p {
    margin-bottom: 1em;
}
.saint_image {
    margin-bottom: 7px;
    float: left;
    margin-right: 1em;
    border-bottom: 2px solid #D8D8DA;
}
.saint_image img {
    float: none;
    margin-right: 0px;
}
.liturgy #main_col .saint_image p {
    line-height: 1.2em;
    margin-bottom: 3px;
    width: 135px;
    font-size: 11px;
}
.saint_image a {
    color: #808080;
}
#saint h4.reflection {
    clear: left;
}
#saint h3 {
    line-height: 0.8em;
    padding-bottom: 3px;
}
.reading span {
    color: #2C8F44;
    padding: 0px 4px 0px 2px;
}
.view_options {
    bottom: 0;
    left: 265px;
    width: 300px;
}
.view_options span {
    display: inline-block;
    position: relative;
    bottom: 1px;
    margin-right: 4px;
}
.view_options a {
    display: inline-block;
    padding: 0 7px 14px;
    font-family: 'MuseoSans',sans-serif;
    color: #000;
    font-size: 1.25em;/* 15px */
}
.view_options a:hover {
    color: #0067AC;
}
.view_options a.selected {
    cursor: auto;
    color: #383838;
    background: url('/static/img/ilc_arrow.png') no-repeat bottom center;
}
.print_aside {
    float: right;
}
.print_aside a {
    color: #000;
}
.print_aside a:hover {
    color: #0067AC;
}
.print_aside img {
    margin-left: 7px;
    vertical-align: middle;
}
.liturgy .day p {
    margin-bottom: 1px;
}
.liturgy #side_col li a {
    color: #000;
    display: block;
}
.liturgy #side_col li a:hover {
    color: #0067AC;
}
.liturgy #side_col ol li {
    font-family: 'MuseoSans',sans-serif;
    font-size: 1.42em;
    padding: 3px 11px 4px;
    border-bottom: 1px solid #D8D8DA;
    width: 128px;
}
#sundays #side_col ol li {
    width: 183px;
}
.liturgy #side_col ol .selected {
    background: #EEF7FB;
}
.liturgy #side_col ol .selected a:hover {
    color: #000;
}
.liturgy #side_col li.last {
    border-bottom: none 0px;
}
.liturgy #side_col ul li {
    margin-bottom: 7px;
}
/* ==== ILC Liturgy Ajax Calendar styling ==== */
#calendar {
    background-color: #d2ecf5;
    font-family: 'MuseoSans',sans-serif;
    float: left;
    color: #474748;
}
#calendar h3 {
    font-size: 1.25em;
    padding-top: 13px;
    text-align: center;
}
#calendar h3 img {
    vertical-align: middle;
    padding: 1px 5px 3px;
}
#calendar h3 a {
    border-bottom: none;
}
#calendar h3 span {
    display: inline-block;
    width: 7.53em;
}
#calendar table {
    margin-bottom: 7px;
}
#calendar tr {
    border-left: 1em solid #D2ECF5;
    border-right: 1em solid #D2ECF5;
}
#calendar td, #calendar th {
    padding: 4px 0 0;
    text-align: right;
}
#calendar td {
    font-size: 1.08em;
    color: #878889;/* for dates that don't have data */
}
#calendar td a {
    display: inline-block;
    padding: 2px 6px 4px;
}
#calendar th {
    font-size: 1.17em;
    text-align: center;
    padding-bottom: 1px;
    padding-left: 5px;
}
#calendar td.has_post, #calendar td.has_post a {
    color: #474748;
}
#calendar td.other_month a {/* today and selected come after and override this color */
    color: #A1A3A6;
}
#calendar td.selected a {
    color: #383838;
}
#calendar td.has_post:hover, #calendar td.selected {
    background-color: #ADCDE2;
}
#calendar tr.view_week:hover, #calendar tr.selected {
    background-color: #ADCDE2;
    border-color: #ADCDE2;
}
#calendar tr.view_week.incomplete_week:hover {
    background-color: #D2ECF5;
    border-color: #D2ECF5;
}
#calendar tr.view_week.incomplete_week:hover td.has_post {
    background-color: #d2ecf5;
}
#calendar tr.selected a {
    color: #383838;
}
#calendar td.today a {/* after selected day and week to override the red text of selected */
    color: #409A3C;
}
#day_labels {
    border-bottom: 2px solid #BEDCED;
}

/* ==== Resource Page Styling ---- */
/* GENERAL */
#resource_page #breadcrumbs {
    margin-left: 2em;
}
#resource_page #main_col {
    margin: 15px 2em 40px 2em;
    max-width: 710px;
    float: left;
}
#resource_page #side_col {
    width: 220px;
    margin: 15px 1em 0 0;
    float: right;
}
#resource_page h1 {
    font-family: 'MuseoSans',sans-serif;
    font-size: 23px;
    color: #000;
    margin-bottom: .5em;
}
#resource_page #main_col h2 {
    color: #383838; /* red */
    margin-bottom: 5px;
}
#resource_page #main_col p {
    margin-bottom: 1.25em;
    line-height: 1.6;
}
#resource_page #side_col h2 {
    color: #383838;
    font-family: 'Lalezar','MuseoSans',sans-serif;
    font-size: 2em;
    line-height: 1.0;
    margin-bottom: -2px;
}
#resource_page #related > div {
    margin-bottom: 22px;
}
#resource_page #side_col li {
    line-height: 1.3;
    border-bottom: 1px solid #D8D8DA;
    padding: 8px 4px;
}
#resource_page #side_col .last {
    border-bottom: none 0;
}
#resource_page #side_col li a {
    color: #000;
}
#resource_page #side_col li a:hover {
    color: #0067AC;/* our blue */
}
#resource_page .video_thumb {
    position: relative;
    display: inline-block;
}
#resource_page img.play {
    position: absolute;
    top: 41%;
    left: 39%;
}
#side_col .related_text h2 {
    margin-left: 4px;/* to match the indentation on the li elements */
}
#side_col .related_videos > div {
    margin-bottom: 26px;
}
#side_col .related_videos a {
    color: #000;
    display: block;
    margin-top: 7px;
}
#side_col .related_videos a:hover {
    color: #0067AC;/* our blue */
}
#side_col .related_images > div {
    background: #D0EBF7;
    margin-bottom: 18px;
    padding: 1em;
    overflow: hidden;
}
#side_col .related_images img {
    float: left;
    margin-right: 1em;
}
#side_col .related_images h3 {
    margin-bottom: 5px;
}
#side_col .related_images h3, #side_col .related_images span {
    padding-left: 120px;
}
#side_col .related_images span {
    color: #000;
    display: block;
}
.action_options {
    margin: 7px 0 23px -7px;
}
.action_options div {
    display: inline-block;
}
.action_options a {
    display: inline-block;
    border-right: 1px solid #D8D8DA;
    padding: 5px 7px;
    color: #808080;
}
.action_options a:hover {
    color: #0067AC;
}
.action_options a.download {
    padding-top: 4px;
    padding-bottom: 4px;
}
.action_options .addthis_button_compact {
    border-right: 0 none;
}
.action_options img {
    vertical-align: middle;
    margin-left: 5px;
}
#resource_page .page_numbers.top {
    margin: 12px 0 0;
}
#resource_page .page_numbers.bottom {
    margin: 8px 0;
}
#resource_page .secondary_nav {
    margin-bottom: 14px;
}
#resource_page .secondary_nav .page_numbers.top {
    margin: 0 0 3px;
}
#resource_page .secondary_nav div.download {
    float: left;
    margin-top: -2px;
}
#resource_page .secondary_nav .download img {
    vertical-align: bottom;
    margin-right: 5px;
    margin-left: 1px;
    height: 18px;
}
#resource_page .secondary_nav .download a {
    display: inline-block;
    border-right: 1px solid #D8D8DA;
    padding: 0 7px 1px;
    color: #808080;
}
#resource_page .secondary_nav .download a.last {
    border-right: none;
}

/* TYPE SPECIFIC */
#resource_page.pdf #main_col, #resource_page.imageset #main_col {
    width: 620px;
    margin-left: 1em;
}
#resource_page #pdf_img {
    border: 1px solid #D8D8DA;
}
#resource_page.article #main_col .summary {
    margin-top: 18px;
    border-top: 1px solid #E2E2E2;
    border-bottom: 1px solid #E2E2E2;
    padding-bottom: 5px;
    line-height: 1.6;
}
#resource_page.article #main_col .about {
    margin-top: 15px;
    margin-bottom: 1em;
    line-height: 1.6;
}
#resource_page.article #main_col .summary h2 {
    margin: 4px 0 2px;
    line-height: 1.23;
}
#resource_page.article #main_col .about h2 {
    margin-bottom: 1px;
}
#resource_page.article #main_col .summary p, #resource_page.article #main_col .about p {
    margin-bottom: 0;
}
#resource_page.article .copy {
    margin-top: 1.5em;
    line-height: 1.5;
}
#resource_page.article font[face="Arial Black, B Helvetica Bold, sans-serif"] {
    font-weight: bold;
}
#resource_page.article hr {
    width: auto;
    background: none;
    border: none 0;
    margin: 1em 2px;
    border-bottom:1px solid #D8D8DA;
}
#resource_page.article ol, #resource_page.article ul {
    margin-top: 0;
}
#resource_page.article i {
    font-style: normal;
}
#resource_page.article .copy i {
    font-style: italic;
}
#image-info {
    overflow: auto;
    clear: both;
}
#image .about {
    margin-top: 23px;
}
.imageset .about {
    clear: both;
}
#resource_page.linkset #main_col h2 {
    margin-bottom: 2px;
}
.linkset h2 a {
    color: #383838;
}
.linkset a.link {
    display: block;
    margin-bottom: 1em;

}
.linkset .block {
    margin-bottom: 2em;
}

/* ------------ RC Category/Subject Styling ----------- */
#category_items {
    clear: both;
}
#featured_resources {
    margin-top: 15px;
    background-color: #E8F5F9;
    border-bottom: 2px solid #E2E2E2;
    float: left;
    padding-bottom: 5px;
    max-width: 100%;
}
#featured_resources h2 {
    padding: 11px 0px 4px 15px;
    font-size: 1.83em;
}
#featured_resources #left_col {
    float: left;
    width: 310px;
}
#featured_resources #right_col {
    float: left;
    width: 220px;;
    margin-left: 20px;
    margin-right: 70px;
}
#featured_resources li {
     border-bottom: 1px solid #D8D8DA;
     padding: 8px 4px;
}
#featured_resources li.last {
    border-bottom: none;
}
#featured_resources li.first {
    padding-top: 0px;
}
#featured_resources .thumb {
    background-color: #D5EDF7;
    float: left;
    margin-bottom: 20px;
    margin-left: -15px;
    padding: 15px;
    position: relative;
}
.slide {
    min-height: 223px;
    padding: 0px 15px;
    overflow: auto;
}
.slide .embed {
    width: 380px;
    float: left;
}
.slide img {
    border: 1px solid #E2E2E2;
}
.slide .text {
    float: left;
    width: 185px;
    margin-left: 15px;
}
.slide h3 {
    font-size: 1.25em;
    padding-bottom: .5em;
}
#featured_resources #circles {
    max-width: 100%;
    margin-left: 15px;
    padding-top: 5px;
}
#featured_resources #circles a {
    outline: none;
}
.thumb .image {
    float: left;
    margin-right: 1em;
}
.thumb .video_thumb {
    position: relative;
    height: 110px;
    width: 110px;
    background-color: #000;
}
.thumb .video_thumb img {
    position: absolute;
    top: 12%;
}
.thumb .text {
    padding-left: 120px;
}
.thumb h3 {
    margin-bottom: 5px;
}
#corner_image {
    position: absolute;
    left: -1px;
    bottom: -11px;
}
#rc_category .secondary_nav {
    margin-bottom: 0px;
}
#rc_category .bookde {
    clear: left;
    margin-top: 7px;
    margin-bottom: 12px;
}
#rc_category #side_col h2 {
    color: #383838;
}
#rc_category #side_col h2.second_header {
    margin-bottom: 0px;
    margin-top: 24px;
}
#rc_category .page_header {
    z-index: 1;
}

/* ---------------- RC Book Resources page ------------- */

#book_resources {
    margin-left: 2em;
    margin-right: 2em;
}
.resource-template #breadcrumbs,
#book_resources #breadcrumbs {
    margin-top: 1em;
    margin-bottom: 16px;
}
#book_resources .title {
    margin-bottom: 28px;
}
#book_resources .title h1 {
    color: black;
    font-family: 'MuseoSans',sans-serif;
    font-size: 1.83em;
}
#main_respage{
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
}
.book_col, .sections_col, .search_results {
    float: left;
}
.book_col img.book {
    margin-bottom: 14px;
}
.book_col h3 {
    margin-bottom: 2px;
}
.book_col{
    margin-right: 20px;
}
.sections_col h2, .search_form h2 {
    font-family: 'Lalezar','MuseoSans',sans-serif;
    font-size: 2em;
    color: #383838;
    line-height: 1.0;
}
.sections_col{
    margin-top: 22px;
}
.sections_col li a.chapter_name {
    display: block;
    font-family: 'MuseoSans',sans-serif;
    font-size: 1.25em;
    line-height: 1.1;
    border-top: 1px solid #D9D9DA;
    padding: 4px 21px 5px 1px;
}
.sections_col li.first a {
    border-top: 0 none;
}
.sections_col .child_selected a.chapter_name {
}
.sections_col #down_arrow, .sections_col #right_arrow {
    font-size: 12px;
    margin-left: 1em;
}
.sections_col #down_arrow {
    display: none;
}
.sections_col .expanded #down_arrow {
    display: inline;
}
.sections_col #right_arrow {
    display: inline;
}
.sections_col .expanded #right_arrow {
    display: none;
}
.sections_col li .chapter_types li {
    display: none;
    padding: 2px 0 2px 22px;
}
.sections_col li.expanded .chapter_types {
    margin-bottom: 5px;
}
.sections_col li.expanded .chapter_types li {
    display: block;
}
.sections_col li.type.selected {
    color: black;
    background: #F0F8FB;
}
.sections_col li.type > a {
    border-top: none;
    line-height: 1.5em;
    color: #000;
    display: block;
}
.sections_col li.type a:hover {
    color: #0067AC;
}
.sections_col .button {
    display: inline-block;
    margin-top: 16px;
    padding-right: 13px;
    padding-left: 13px;
}
.search_form {
    margin-top: 22px;
    margin-bottom: 15px;
}
.search_form p {
    margin-bottom: 4px;
}
#book_resources .search_form input.text {
    width: 192px;
}
.search_results {
    width: 630px;
    margin-top: 12px;
}
.search_results .item_short.first {
    border-top: 2px solid #E2E2E2;
    margin-top: 4px;
}
.search_results .item_short h2, .search_results .item_short h2 a {
    color: #383838;
}
/* ---------------- RC Books (covers) page ------------- */
div.book_covers {
    padding: 0 2em 40px;
}
.book_covers h1 {
    margin-top: 25px;
    font-size: 2.2em;
}
.book_covers h2 {
    font-size: 1.83em;
    margin: 0 0 11px;
}
.book_covers .cover, .book_covers .title {
    display: inline-block;
    width: 125px;
    margin-right: 35px;
}
.book_covers .last {
    margin-right: 0;
}
.book_covers .cover {
}
.book_covers .title {
    color: #383838;
    font-family: 'MuseoSans',sans-serif;
    font-size: 1.33em;
    vertical-align: top;
    padding-top: 11px;
    margin-bottom: 35px;
}
.book_covers .title:hover {
    color: #8B0000;
}
.book_covers h2.first {
    margin-top: 25px;
}
.book_covers #breakthrough h2, .book_covers #cfh h2 {
    margin-right: 35px;
}
.book_covers .row {
    clear: left;
}
.book_covers #breakthrough, .book_covers #cfh {
    float: left;
}
.book_covers #breakthrough {
    width: 480px;
}
.book_covers #cfh {
    width: 460px;
}

/* ---------------- RC HomePage ------------- */
#calendar_home {
    max-width: 380px;
    margin-right: 20px;
    float: left;
}
#calendar_home #days {
    position: relative;
}
#calendar_home #days img {
    vertical-align: top;
    margin-top: 2px;
}
#calendar_home #days ul {
    display: inline;
}
#calendar_home #days a.arrow {
    background-color: #fff;
    display: inline-block;
}
#calendar_home #days a {
    color: #474748;
    font-family: 'MuseoSans',sans-serif;
}
#calendar_home h3 a {
    color: #2C8F44;
}
#rc_home #calendar_home #days li {
    display: inline-table;
    text-align: center;
    background-color: #D0EBF7;
    margin: 0 2px;
    padding: 4px 6px 4px;
    min-width: 15px;
}
#rc_home #calendar_home li {
    border-bottom: none;
    display: inline;
    padding: 0;
}
#calendar_home li span {
    font-weight: bold;
}
#calendar_home h3#month a {
    color: #003C69;
    font-size: 1.17em;
}
#calendar_home h3#month {
    padding-bottom: 1em;
    margin-top: 7px;
}
#calendar_home div.section {
    margin-top: 5px;
}
#home_bottom {
    clear: both;
}
#home_top {
    float: left;
    margin-bottom: 20px;
}
#rc_home {
    padding: 20px 1em 20px;
    position: relative;
    overflow: auto;
}
#rc_home h1 {
    padding-left: 2px;
}
#rc_home #banner {
    width: 365px;
    padding: 1em;
    float: left;
    background-color: #D0EBF7;
    height: 240px;
    position: relative;
}
#rc_home .banner_set {
    position: absolute;
}
#rc_home #banner h3 {
    margin-top: 21px;
}
#rc_home #control_bar {
    position: absolute;
    bottom: 22px;
    width: 365px;
}
#rc_home #control_bar img, #rc_category #control_bar img {
    padding: 6px 4px;
}
#rc_home #control_bar img.light {
}
#rc_home #left_col {
    float: left;
    max-width: 460px;
    margin-right: 25px;
}
#rc_home #right_col {
    float: left;
    width: 295px;
}
#rc_home #connect {
    float: left;
    max-width: 218px;
}
#rc_home #articles {
    padding-left: 1em;
    margin-left: 11px;
    border-left: 1px solid #D8D8D8;
    float: left;
    max-width: 220px;
}
#rc_home #articles a {
    color: #000;
}
#rc_home #articles a:hover {
    color: #0067AC;
}
#rc_home #blogs {
    margin-bottom: 20px;
}
#rc_home h4 {
    color: #808080;
    font-size: 0.9em;
    padding-bottom: 2px;
}
#rc_home li {
    border-bottom: 1px solid #D8D8DA;
    line-height: 1.3;
    padding: 8px 4px;
}
#rc_home li.last {
    border-bottom: none;
}
#rc_home #ole_portal {
    height: 140px;
    right: 0;
    padding-left: 25px;
    position: absolute;
    width: 140px;
}
#rc_home .thumb {
    background-color: #D0EBF7;
    overflow: auto;
    margin-bottom: 1em;
    padding: 1em;
}
#rc_home #videos .video {
    background-color: #000;
    border: 1px solid #D8D8D8;
    float: left;
    margin-bottom: 15px;
    margin-top: 5px;
    width: 218px;
}
#rc_home #video_1, #rc_home #video_3 {
    margin-right: 20px;
}
#rc_home .video_thumb {
    height: 180px;
    width: 218px;
    background-color: #000;
    position: relative;
}
#rc_home .video .title {
    color: #fff;
    height: 36px;
    padding: 1px 5px 5px;
}
#rc_home .video_thumb img {
    border: 0 none;
    position: absolute;
    top: 0px;
    width: 220px;
}
#rc_home .video_thumb img.play {
    left: 50%;
    margin-left: -22px;
    margin-top: -15px;
    position: absolute;
    top: 45%;
    width: auto;
}
#rc_home #videos {
    margin-bottom: 20px;
}
#join a {
    color: #000;
    font-size: 1.5em;
}
#join a:hover {
    color: #0067AC;
}
#join a img {
     padding: 4px 4px 4px 0;
     vertical-align: middle;
}
#rc_home #corner_image { /* temporary fix */
    display: none;
}
@media (max-width: 840px){
    .resource-template #resource_page #side_col{
      float: none;
    }
}
@media (max-width: 520px){
    .resource-template #resource_page #side_col{
      float: none;
      margin-left: 1em;
    }
}
