﻿/*#region *************** Globals ************************/
.module-content {
    position: relative;
    min-height: 40px; /*If the module is empty this will allow the module editor to be shown at least */
}

.module-wrapper {
    margin: 0 0 30px 0;
}

    .module-wrapper .list-wrapper,
    .module-wrapper .item-wrapper,
    .module-wrapper .table-wrapper,
    .module-wrapper .grid-wrapper,
    .module-wrapper .slider-wrapper,
    .module-wrapper .gallery-wrapper {
    }

    .module-wrapper article,
    .module-wrapper .table {
        margin-bottom: 30px;
    }

    .module-wrapper .user-select,
    .module-wrapper .thumb-image,
    .module-wrapper .detail-image,
    .module-wrapper .heading,
    .module-wrapper .title,
    .module-wrapper .detail {
        margin-bottom: 20px;
    }

    .module-wrapper .heading {
        /*display: none;*/
    }

        .module-wrapper .heading h2,
        .module-wrapper .heading h3,
        .module-wrapper .title h4 {
            margin: 0; /* Make sure default h margins dont mess up the container block */
        }

    .module-wrapper .date {
        font-size: smaller;
    }

    .module-wrapper .date,
    .module-wrapper .info-group {
        margin-bottom: 10px;
    }

    .module-wrapper .read-more {
        margin-top: 10px;
    }

    .module-wrapper .inline-more,
    .module-wrapper .read-more {
        display: none;
    }

    .module-wrapper .summary,
    .module-wrapper .content {
        /* This is the very minimum inside a module- it should not have any spacing - spacing is created by other components */
    }

        .module-wrapper .content + .content {
            margin-top: 20px;
        }

        .module-wrapper .content h1,
        .module-wrapper .content h2,
        .module-wrapper .content h3,
        .module-wrapper .content h4,
        .module-wrapper .content h5,
        .module-wrapper .content h6 {
            margin-top: 0; /* Prep headings so they dont have a top margin if sitting at the top of the content */
            margin-bottom: .5em;
        }

        .module-wrapper .content ul + h1,
        .module-wrapper .content ul + h2,
        .module-wrapper .content ul + h3,
        .module-wrapper .content ul + h4,
        .module-wrapper .content ul + h5,
        .module-wrapper .content ul + h6,
        .module-wrapper .content p + h1,
        .module-wrapper .content p + h2,
        .module-wrapper .content p + h3,
        .module-wrapper .content p + h4,
        .module-wrapper .content p + h5,
        .module-wrapper .content p + h6 {
            margin-top: 1em; /* Headings after <p> and <ul> should have a spacing */
        }

    .module-wrapper .pagination {
        margin: 0; /* bootstrap adds a margin by default - zero it out */
    }

    .module-wrapper .action-links {
    }

    .module-wrapper article .inner div:first-child {
        margin-top: 0;
    }

    .module-wrapper .info-group label, /* bootstrap adds a margin by default to labels - zero it out */
    .module-wrapper article .inner div:last-child,
    .module-wrapper .detail div:last-child,
    .module-wrapper .content p:last-child /* Make sure the last <p> does not push past the content block */ {
        margin-bottom: 0;
    }
/*#endregion*/


/*#region *************** News ***************************/
.module-type-news {
}

    .module-type-news .heading {
        display: none;
    }
/*#endregion*/
/*#region *************** News Detail ********************/
.module-type-news-detail {
}

    .module-type-news-detail .detail-image {
        display: none;
    }
/*#endregion*/


/*#region *************** Events *************************/
.module-type-events {
}

    .module-type-events .heading {
        display: none;
    }
/*#endregion*/
/*#region *************** Events Detail ******************/
.module-type-events-detail {
}

    .module-type-events-detail .event-region,
    .module-type-events-detail .event-date,
    .module-type-events-detail .event-time,
    .module-type-events-detail .event-date,
    .module-type-events-detail .event-venue,
    .module-type-events-detail .event-address,
    .module-type-events-detail .event-contact,
    .module-type-events-detail .event-cost {
    }
/*#endregion*/


/*#region *************** Content Editor *****************/
.module-type-contenteditor {
}
/*#endregion*/


/*#region *************** Article Preview ****************/
.module-type-articlepreview {
}

    .module-type-articlepreview .thumb-image {
        float: left; /* Setup image left and text right, without disturbing responsive behaviour */
        margin-bottom: 10px;
        margin-right: 15px;
    }

    .module-type-articlepreview .title {
        margin-bottom: 10px;
    }

    .module-type-articlepreview .date {
        margin-bottom: 5px;
    }

    .module-type-articlepreview .read-more {
        margin-top: 5px;
    }

    .module-type-articlepreview .reference {
        font-weight: bold;
    }
/*#endregion*/


/*#region *************** Slider *************************/
.module-type-slider {
}

    .module-type-slider .module-wrapper {
        margin-bottom: 0;
    }

    .module-type-slider .slider-title,
    .module-type-slider .slider-heading,
    .module-type-slider .slider-description,
    .module-type-slider .slider-html {
        padding: 5px;
    }

    .module-type-slider .slider-title {
        font-size: 180%;
    }

    .module-type-slider .slider-heading {
        font-size: 150%;
    }

    .module-type-slider .slider-description {
        font-size: 130%;
    }

    /*#region *************** Nivo Defaults ******************/
    .module-type-slider .nivoSlider {
        display: none; /* default display none until the images are loaded */
    }

    .module-type-slider .nivo-caption p {
        padding: 0;
    }

    .module-type-slider .nivo-controlNav {
        text-align: center;
        padding: 20px 0 20px 0;
    }

        .module-type-slider .nivo-controlNav a {
            display: inline-block;
            width: 22px;
            height: 20px;
            background: url(/Scripts/nivo-slider/themes/default/bullets.png) no-repeat;
            text-indent: -9999px;
            border: 0;
            margin: 0 2px;
        }

            .module-type-slider .nivo-controlNav a.active {
                background-position: 0 -22px;
            }

    .module-type-slider .nivo-directionNav a {
        display: block;
        width: 30px;
        height: 30px;
        background: url(/Scripts/nivo-slider/themes/default/arrows.png) no-repeat;
        text-indent: -9999px;
        border: 0;
        opacity: 0;
        -webkit-transition: all 200ms ease-in-out;
        -moz-transition: all 200ms ease-in-out;
        -o-transition: all 200ms ease-in-out;
        transition: all 200ms ease-in-out;
    }

    .module-type-slider:hover .nivo-directionNav a {
        opacity: 1;
    }

    .module-type-slider a.nivo-nextNav {
        background-position: -30px 0;
        right: 15px;
    }

    .module-type-slider a.nivo-prevNav {
        left: 15px;
    }
    /*#endregion*/

    /*#region *************** BxSlider Defaults **************/
    .module-type-slider .bxSlider {
    }
    /*#endregion*/

    /*#region *************** SlickSlider Defaults ***********/
    .module-type-slider .slick-slider.center {
    }

        .module-type-slider .slick-slider.center .slick-track {
            display: table;
            /*height: 257px;*/
        }

        .module-type-slider .slick-slider.center .slick-slide {
            text-align: center;
            display: table-cell;
            vertical-align: middle;
            float: none;
        }

            .module-type-slider .slick-slider.center .slick-slide img {
                display: inline-block;
                width: 77%;
                -moz-transition: all 500ms ease;
                -o-transition: all 500ms ease;
                -webkit-transition: all 500ms ease;
                transition: all 500ms ease;
            }

            .module-type-slider .slick-slider.center .slick-slide.slick-center img {
                width: 100%;
                color: #e67e22;
                opacity: 1;
            }
/*#endregion */

/*#endregion*/


/*#region *************** Gallery ************************/
.module-type-basicgallery {
}

    /*#region *************** BX Slider **********************/

    .module-type-basicgallery .bx-slider {
        visibility: hidden; /* This hides the images, until the gallery is fully init */
    }

        .module-type-basicgallery .bx-slider .bx-viewport {
            box-shadow: none;
            border: none;
            left: 0;
            background: none;
            -moz-transform: none;
            -ms-transform: none;
            -o-transform: none;
            -webkit-transform: none;
            transform: none;
        }

        .module-type-basicgallery .bx-slider ul,
        .module-type-basicgallery .bx-slider li {
            margin: 0;
            padding: 0;
        }

        .module-type-basicgallery .bx-slider img {
            margin: 0 auto;
        }

        .module-type-basicgallery .bx-slider .bx-caption {
            background: rgba(0, 0, 0, 0.8);
        }

        .module-type-basicgallery .bx-slider.bx-thumbs {
            margin-top: 10px;
        }

            .module-type-basicgallery .bx-slider.bx-thumbs img {
                width: 100%;
            }
/*#endregion*/

/*#endregion*/


/*#region *************** Testimonial ********************/
.module-type-testimonial {
}

    .module-type-testimonial .reference p {
        font-weight: bold;
    }

    /*.module-type-testimonial .article {
        position: relative;
        padding: 0 0 20px 0;
        margin: 0 0 20px 0;
        border-bottom: 1px solid #dfdfdf;
        overflow: hidden;
    }

        .module-type-testimonial .article .thumb-image {
            float: left;
            display: none;
        }

            .module-type-testimonial .article .thumb-image img {
                padding: 5px;
                background-color: #ffffff;
            }

        .module-type-testimonial .article .mid-image {
            float: left;
        }

            .module-type-testimonial .article .mid-image img {
                padding: 5px;
                background-color: #ffffff;
            }

        .module-type-testimonial .article .title,
        .module-type-testimonial .article .title {
            font-size: 18px;
            font-weight: normal;
            line-height: 1.2em;
            margin-bottom: 0.5em;
        }

        .module-type-testimonial .article .article-content {
            margin-bottom: 10px;
        }

            .module-type-testimonial .article .article-content p,
            .module-type-testimonial .article .article-content p {
                font-style: italic;
                margin: 0;
            }

        .module-type-testimonial .article .article-reference p,
        .module-type-testimonial .article .article-reference p {
            font-weight: bold;
            margin: 0;
        }*/


/*#endregion*/
