﻿
.module_inline_container {
}

.module_inline_image {
}

.module_inline_title {
    margin: 0px;
    color: #000000;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.25em;
    line-height: 1.25em;
}

    .module_inline_title a,
    .module_inline_title a:active,
    .module_inline_title a:link,
    .module_inline_title a:visited {
        color: #222222;
    }

.module_inline_metadata {
    margin: 0px;
    font-weight: bold;
}

    .module_inline_metadata + .module_inline_title,
    .module_inline_title + .module_inline_metadata {
        margin-top: 4px;
    }

.module_inline_content {
    margin-top: 10px;
}

/*-----------------------------------------------------------------------------------------------*/

.module_listing_categories {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 30px;
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

    .module_listing_categories button {
        padding: 8px 14px;
        white-space: nowrap;
        color: var(--text-bluegrey);
        background: var(--white);
        border: 1px solid var(--light-grey);
        border-radius: 4px;
        font-family: var(--font-1);
        transition: all 0.2s ease;
    }
    .module_listing_categories button {
        white-space: nowrap;
    }

        .module_listing_categories button:hover,
        .module_listing_categories button:focus {
            color: var(--white);
            background: var(--pri);
            border-color: var(--pri);
        }

    .module_listing_categories .dropdown-menu {
        max-height: 250px;
        padding: 6px 0;
        overflow-y: auto;
        background: var(--white);
        border: 1px solid var(--light-grey);
        border-radius: 4px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    .module_listing_categories .dropdown-menu {
        max-height: 205px;
        overflow: auto;
    }

        .module_listing_categories .dropdown-menu > li > a {
            padding: 8px 15px;
            background: var(--pri);
            color: var(--white);
        }

            .module_listing_categories .dropdown-menu > li > a:hover,
            .module_listing_categories .dropdown-menu > li > a:focus {
                color: var(--white);
                background: var(--pri);
            }

@media (max-width: 767px) {
    .module_listing_categories {
        flex-wrap: wrap;
    }
}

/*-----------------------------------------------------------------------------------------------*/

.module_listing_container {
    margin-bottom: 15px;
}

.module_listing_image {
    margin-top: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    text-align: center;
}

    .module_listing_image a {
        display: inline-block;
        line-height: 0px;
    }

    .module_listing_image img {
        max-width: 100%;
        max-height: 190px;
    }

.module_listing_title {
    margin: 0px;
    color: #000000;
    font-weight: normal;
    font-size: 1.6em;
    line-height: 1.2em;
}

    .module_listing_title a,
    .module_listing_title a:active,
    .module_listing_title a:link,
    .module_listing_title a:visited {
        color: #222222;
    }

.module_listing_metadata {
    margin: 0px 0px 10px 0px;
    font-size: 1.15em;
    line-height: 1.3em;
}

    .module_listing_metadata + .module_listing_title,
    .module_listing_title + .module_listing_metadata {
        margin-top: 10px;
    }

.module_listing_content,
.module_listing_content:last-child {
    margin-top: 10px;
    margin-bottom: 15px;
}

/*-----------------------------------------------------------------------------------------------*/

.module_article_title {
    margin-bottom: 24px;
}

.module_article_metadata {
    margin-bottom: 24px;
    font-size: 1.3em;
    line-height: 1.3em;
}

.module_article_title + .module_article_metadata {
    margin-top: -18px;
}

.module_article_image.copy {
    display: none;
    margin-bottom: 20px;
    max-width: 290px;
    max-height: 290px;
    overflow: hidden;
}

.module_article_image.sidebar {
    margin-top: 50px;
}

.module_article_image img {
    max-width: 100%;
}

.module_article_read_other {
    margin-top: 10px;
    font-weight: bold;
}

.module_article_comments {
    margin-top: 30px;
}

.module_article_related_links {
    margin-top: 30px;
    margin-bottom: -20px;
}

    .module_article_related_links h2 {
        margin-bottom: 20px;
    }

    .module_article_related_links .related_link {
        margin-bottom: 20px;
    }

/*-----------------------------------------------------------------------------------------------*/
/* Calendar */

.calendar {
    margin: 15px 0;
}

.calendar_day_label {
    font-weight: bold;
    color: #999;
}

.calendar_week {
    clear: both;
}

.calendar_day {
    float: left;
    width: 14.28%;
}

.other_month.calendar_day {
    opacity: 0.6;
}

.calendar_day_today {
    background: #f7ebb3;
}

.calendar_day_inner {
    position: relative;
    border: 1px solid #ddd;
    padding: 7px;
    margin: 1px;
    min-height: 100px;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.calendar_day_number {
    position: absolute;
    top: 7px;
    right: 7px;
    color: #666;
}

.calendar_day_saturday .calendar_day_inner,
.calendar_day_sunday .calendar_day_inner {
    background: #efefef;
}

/*-----------------------------------------------------------------------------------------------*/
/* Data Pager */

.data_pager a,
.data_pager .data_pager_button {
    padding: 5px;
    background-color: #eef;
    border: 1px solid #bbb;
    margin: 0 2px;
}

.data_pager .data_pager_first {
    margin-left: 0;
    background-color: transparent;
    border: 0;
}

.data_pager .data_pager_last {
    margin-right: 0;
    background-color: transparent;
    border: 0;
}

.data_pager .data_pager_current {
    background-color: #f9f9f9;
}

.data_pager a.aspNetDisabled.data_pager_button {
    text-decoration: none;
    color: inherit;
}

/*-----------------------------------------------------------------------------------------------*/
/* LISTS */

#content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) {
    list-style-type: none;
    padding: 0;
    margin: 0px 0px 0px 1.2em;
}

    #content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) li {
        margin-bottom: 5px;
        font-size: 18px;
    }

        #content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) li:before {
            content: "\e074";
            font-family: 'Glyphicons Halflings';
            float: left;
            font-size: 10px;
            margin-top: 5px;
            margin-left: -20px;
            color: inherit;
        }

        #content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) li ul {
            list-style-type: none;
            padding: 0;
            margin: 0px 0px 0px 1em;
        }

            #content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) li ul li:before {
                content: "\e074";
                font-family: 'Glyphicons Halflings';
                float: left;
                font-size: 8px;
                margin-left: -15px;
                color: inherit;
            }

/*-----------------------------------------------------------------------------------------------*/
/* PAGINATION */

.pagination > li > a,
.pagination > li > span {
    color: #000;
}

    .pagination > li > a:focus,
    .pagination > li > a:hover,
    .pagination > li > span:focus,
    .pagination > li > span:hover {
        color: #000;
    }

.pagination > li.active > a,
.pagination > li.active > a:focus,
.pagination > li.active > a:hover,
.pagination > li.active > span,
.pagination > li.active > span:focus,
.pagination > li.active > span:hover {
    background-color: #666666;
    border-color: #666666;
    color: #FFFFFF;
}

/*-----------------------------------------------------------------------------------------------*/
/* REVIEWS */

.review_box {
    background: #eff1f7;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VmZjFmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #eff1f7 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eff1f7), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(top, #eff1f7 0%, #ffffff 100%);
    background: -o-linear-gradient(top, #eff1f7 0%, #ffffff 100%);
    background: -ms-linear-gradient(top, #eff1f7 0%, #ffffff 100%);
    background: linear-gradient(top, #eff1f7 0%, #ffffff 100%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

    .review_box > div {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .review_box .review_name {
        font-size: 1.2em;
        padding-top: 3px;
        display: block;
    }

    .review_box .review_number a {
        color: #A2A2A2;
    }

    .review_box .review_date {
        font-size: 0.8em;
        color: #8B867A;
        white-space: nowrap;
    }

    .review_box .review_comment {
        margin: 7px 0;
        font-size: 0.9em;
        line-height: 1.4em;
    }

    .review_box blockquote, blockquote {
        margin: 1em 3em;
        color: #999;
        border-left: 2px solid #999;
        padding-left: 1em;
        font-style: italic;
    }

        .review_box blockquote .quote_name,
        blockquote .quote_name {
            font-style: normal;
            color: #777;
        }

    .review_box .review_rating {
        float: right;
        font-weight: bold;
    }

    .review_box .review_rate {
        float: right;
        display: block;
        padding-right: 15px;
    }

    .review_box .quoteLink {
        float: right;
        font-size: 0.8em;
        background: url('../images/quote.png') center right no-repeat;
        padding-right: 15px;
        color: #A2A2A2;
    }

    .review_box .review_rating_good {
        color: #67A851;
    }

    .review_box .review_rating_neutral {
        color: #8B867A;
    }

    .review_box .review_rating_bad {
        color: #CF2929;
    }

/*-----------------------------------------------------------------------------------------------*/
/* TABLES */

.tabledefault {
    width: 100%;
    border-collapse: collapse;
}

    .tabledefault th {
        padding: 3px;
        font-weight: bold;
        background-color: #DFDFDF;
        border-bottom: solid 2px #CCCCCC;
        border-right: solid 1px #CCCCCC;
    }

    .tabledefault tr:hover td {
        background: #DFDFDF;
    }

    .tabledefault td {
        padding: 8px;
        background-color: #EFEFEF;
        border-bottom: 1px solid #FFFFFF;
        border-top: 1px solid transparent;
    }

/*-----------------------------------------------------------------------------------------------*/

h2.media-heading + p {
    margin-top: 0px;
}

.right_image img {
    width: 100%;
    height: auto;
}

/*-----------------------------------------------------------------------------------------------*/

.social_share {
    color: #999;
    white-space: nowrap;
    display: inline-block;
}

.share_buttons {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: inline;
}

    .share_buttons li {
        margin: 0;
        margin-left: 2px;
        display: inline;
    }

/*-----------------------------------------------------------------------------------------------*/
/* MODULE STYLES */

.cs_inline {
    background-size: cover;
}

    .cs_inline .cs_inner {
        background-color: rgba(0,0,0,0.65);
        padding: 25px;
    }

/*-----------------------------------------------------------------------------------------------*/

.btn-group.category_selector .dropdown-menu {
    min-width: 250px;
    padding: 8px;
}

.btn-group.category_selector li:first-child {
    margin-bottom: 8px;
}

.btn-group.category_selector .checkboxes {
    max-height: 200px;
    overflow-y: auto;
}

.btn-group.category_selector .clear_button {
    cursor: pointer;
}

/*-----------------------------------------------------------------------------------------------*/

.editable_panel .panel-title a .fa-caret-down,
.editable_panel .panel-title a .fa-caret-up {
    float: right;
    font-size: 1.2em;
}

.editable_panel .panel-heading {
    background-image: none;
}

.editable_panel .panel-title a {
    display: block;
    font-weight: 600;
}

/*-----------------------------------------------------------------------------------------------*/

.grid_blocks {
    margin-top: 30px;
}

    .grid_blocks + .grid_blocks {
        margin-top: 0;
    }

.grid_block {
    position: relative;
    margin-bottom: 30px;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .grid_block:hover {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

    .grid_block.row {
        margin-left: 0;
        margin-right: 0;
        display: flex;
        align-items: stretch;
    }
    .grid_block.row {
        margin-left: 0px;
        margin-right: 0px;
    }

    .grid_block .block_image {
        height: 220px;
        overflow: hidden;
        background-color: #f7f7f7;
    }
    .grid_block .block_image {
        height: 200px;
        overflow: hidden;
        text-align: center;
    }

    .grid_block.row .block_image {
        padding: 0;
        height: 250px;
        background-color: #f7f7f7;
    }
    .grid_block.row .block_image {
        padding-left: 0px;
        padding-right: 0px;
        height: 300px;
    }

.grid_blocks.minor .grid_block.row .block_image {
    height: 180px;
}

.grid_block .block_image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.grid_block .block_image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.grid_block .block_content {
    padding: 22px 25px 50px;
}

.grid_block.row .block_content {
    position: static;
}

.grid_block .block_content h2,
.grid_block .block_content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

    .grid_block .block_content h2 a,
    .grid_block .block_content h3 a {
        text-decoration: none;
    }

.grid_block .block_content p {
    line-height: 1.6;
}

.grid_block .block_content > p:last-child {
    margin-top: 0;
}

    .grid_block .block_content > p:last-child > a:first-child:last-child {
        position: absolute;
        right: 25px;
        bottom: 20px;
        font-weight: 600;
        text-decoration: none;
    }

.grid_blocks.minor .grid_block .block_content {
    padding-bottom: 15px;
}
    .grid_block .block_content > p:last-child > a:first-child:last-child {
        position: absolute;
        bottom: 15px;
        right: 15px;
    }

    .grid_blocks.minor .grid_block .block_content > p:last-child > a:first-child:last-child {
        position: static;
        display: block;
    }

@media (max-width: 767px) {
    .grid_block.row {
        display: block;
    }

        .grid_block.row .block_image {
            height: 220px;
        }

    .grid_block .block_content {
        padding: 20px 20px 55px;
    }

        .grid_block .block_content > p:last-child > a:first-child:last-child {
            right: 20px;
        }
}

/* Cards widget: shared front-end and inline-editor styling. */
.widget_cards .cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

    .widget_cards .cards > .card {
        box-sizing: border-box;
        min-width: 0;
        padding: 20px;
        background: #f1f1f1;
        color: var(--text-bluegrey);
    }

.widget_cards .card_text {
    width: 100%;
    overflow-wrap: anywhere;
}

    .widget_cards .card_text img {
        max-width: 100%;
        height: auto;
    }

    .widget_cards .card_text > :last-child {
        margin-bottom: 0;
    }

.widget_cards .card h1,
.widget_cards .card h2,
.widget_cards .card h3,
.widget_cards .card h4,
.widget_cards .card h5,
.widget_cards .card h6,
.widget_cards .card p {
    color: inherit;
}

.widget_cards[data-color="grey"] .card {
    background: var(--light-grey);
}

.widget_cards[data-color="light-blue"] .card {
    background: #e7eff3;
}

.widget_cards[data-color="light-pink"] .card {
    background: #f6f1f5;
    color: #424242;
}

    .widget_cards[data-color="light-pink"] .card h1,
    .widget_cards[data-color="light-pink"] .card h2,
    .widget_cards[data-color="light-pink"] .card h3,
    .widget_cards[data-color="light-pink"] .card h4,
    .widget_cards[data-color="light-pink"] .card h5,
    .widget_cards[data-color="light-pink"] .card h6 {
        color: #946e2d;
    }

    .widget_cards[data-color="light-pink"] .card p {
        color: #424242;
    }

.widget_cards[data-color="dark-blue"] .card {
    background: var(--bluegrey);
    color: var(--white);
}

    .widget_cards[data-color="dark-blue"] .card a {
        color: var(--white);
    }

        .widget_cards[data-color="dark-blue"] .card a:hover {
            color: var(--light-gold);
        }

.widget_cards[data-dropshadow="true"] .card {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .1);
}

.widget_cards[data-borders="true"] .card {
    border-radius: 10px;
}

.widget_cards[data-amount="two"] .card.two,
.widget_cards[data-amount="three"] .card.two,
.widget_cards[data-amount="four"] .card.two,
.widget_cards[data-amount="three"] .card.three,
.widget_cards[data-amount="four"] .card.three,
.widget_cards[data-amount="four"] .card.four {
    display: flex !important;
}

@media screen and (min-width: 768px) {
    .widget_cards .cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

        .widget_cards .cards > .card {
            flex: 1 1 calc(50% - 15px);
        }
}

@media screen and (min-width: 1200px) {
    .widget_cards .cards > .card {
        flex: 1 1 0;
    }
}

/*-----------------------------------------------------------------------------------------------*/
