﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

nav.navbar
{
    background-color: #511D60 !important;
    color: white;
}

a.navbar-brand
{
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a
{
    color: #0366d6;
}

.btn-primary
{
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link
{
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html
{
    font-size: 14px;
}

body
{
    background-color: lightgray;
}

.border-top
{
    border-top: 1px solid #e5e5e5;
}

.border-bottom
{
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow
{
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy
{
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html
{
    position: relative;
    min-height: 100%;
}

body
{
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer
{
    background-color: rgba(255, 255, 255, .8);
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.main-carousel
{
    background-color: #511D60;
    color: white;
    padding: 1em;
    border-radius: .3rem;
    margin-bottom: 1em;
}



#mainCarousel .carousel-inner
{
    padding-left: 1em;
    padding-right: 1em;
}

#mainCarousel .service-block .service-text h5
{
    color: white;
}

.service-block
{
    background-color: rgba(240, 240, 240, .8);
    border-radius: .3rem;
    display: flex;
    align-items: center;
    padding: 2em;
}

.message-block
{
    background-color: rgba(240, 240, 240, .8);
    border-radius: .3rem;
    align-items: center;
    padding: 2em;
}

.carousel-item .service-block
{
    background-color: transparent;
}

.service-block + .service-block
{
    margin-top: 2rem;
}

.service-block .service-img
{
    display: none;
}

.service-block .service-text
{
    flex-grow: 1;
    padding-left: 2em;
}

    .service-block .service-text h5
    {
        color: #732A89;
    }

    .service-block .service-text .service-link
    {
        display: inline-block;
        padding: .3em 1em;
        background-color: #511D60;
        color: white;
        border-radius: .3rem;
    }

#mainCarousel .service-block .service-text .service-link
{
    background-color: rgba(240, 240, 240, .8);
    color: #511D60;
}

.logo
{
    height: 4rem;
}

.tmt-card
{
    background-color: rgba(255, 255, 255, .8);
}

    .tmt-card .card-header
    {
        background-color: #511D60;
        color: white;
        font-weight: 600;
    }

/*.tmt-card .card-body
{
    background-color: rgba(255, 255, 255, .5);
}*/

.jumbotron
{
    background-color: rgba(240, 240, 240, .8);
}

.services-menu
{
    background-color: #1f618d; /* #511D60;*/
    color: white;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}

    .services-menu .services-menu-item
    {
        border: 1px solid rgba(255, 255, 255, .2);
        color: white;
        padding: .5rem;
    }

        .services-menu .services-menu-item:hover
        {
            background-color: rgba(255, 255, 255, .05);
        }

        .services-menu .services-menu-item.active
        {
            font-weight: 600;
        }

.top-nav-btn-grp
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

    .top-nav-btn-grp a
    {
        border: 1px solid #511D60;
        border-radius: .3rem;
        display: block;
        height: 4rem;
        margin-bottom: 1rem;
        padding: 1rem;
    }

        .top-nav-btn-grp a img
        {
            height: 100%;
        }

.evnt-template
{
    overflow-wrap: normal;
    padding-left: .5em;
}

    .evnt-template .evnt-title
    {
        font-weight: 600;
    }

.news-list-item
{
    border: 1px solid darkgray;
    border-radius: .3rem;
    float: left;
    padding: 1rem;
    width: 100%;
}

    .news-list-item + .news-list-item
    {
        margin-top: 1em;
    }

    .news-list-item .news-title
    {
        color: darkgray;
        font-size: 1.2em;
        font-weight: 600;
    }

    .news-list-item .news-read button
    {
        margin-top: .5rem;
        font-size: .9rem;
    }

.news-page
{
    margin-top: .5rem;
}

    .news-page img
    {
        width: 100%;
    }

.onsert-container
{
    display: flex;
    flex-direction: column;
}

.onsert
{
    background-color: rgba(255, 255, 255, .9);
    padding: 1rem;
    border-radius: .3rem;
}

    .onsert a
    {
        text-decoration: none;
    }

    .onsert + .onsert
    {
        margin-top: .5rem;
    }

    .onsert .onsert-title
    {
        font-size: 1.2rem;
        font-weight: 600;
        color: #511D60;
        margin-bottom: .5rem;
    }

    .onsert .onsert-image
    {
        color: black;
    }

        .onsert .onsert-image img
        {
            width: 100%;
        }

.k-event-actions:empty
{
    display: none;
}

@media (min-width: 768px)
{
    html
    {
        font-size: 16px;
    }

    body
    {
        background-image: url("/images/bricks-unsat-2560.png");
        background-attachment: fixed;
    }

    #mainCarousel
    {
        height: 22em;
    }

        #mainCarousel .carousel-inner
        {
            padding-left: 2em;
            padding-right: 3em;
        }

    .main-carousel
    {
        background-color: rgba(81, 29, 96, .9);
    }

    .news-list-item
    {
        margin: .5rem;
        width: 150px;
    }

        .news-list-item .news-title
        {
            font-size: 1em;
        }

        .news-list-item .news-desc
        {
            font-size: .8em;
        }

        .news-list-item + .news-list-item
        {
            margin-top: .5rem;
        }

    .k-listview-content
    {
        display: flex;
        align-items: stretch;
    }
}

@media (min-width: 992px)
{
    #mainCarousel
    {
        height: 23em;
    }

        #mainCarousel .carousel-inner
        {
            padding-left: 6em;
            padding-right: 6em;
        }

    .service-block .service-img
    {
        display: block;
        max-height: 9em;
        flex-grow: 0;
        flex-shrink: 0;
        text-align: center;
        width: 9em;
    }

        .service-block .service-img img
        {
            display: block;
            max-width: 9em !important;
            max-height: 9em !important;
            width: auto !important;
            height: auto !important;
            margin: auto;
        }

    .news-list-item
    {
        width: 220px;
    }
}

@media (min-width: 1200px)
{
    #mainCarousel
    {
        height: 20em;
    }

    .service-block .service-img
    {
        max-height: 13em;
        width: 13em;
    }

        .service-block .service-img img
        {
            max-width: 13em !important;
            max-height: 13em !important;
        }

    .news-list-item
    {
        width: 270px;
    }
}
