﻿.WidgetBox_FlexContainer {
    display: flex;
    flex-direction: column; /* stacked vertically */
    align-items: stretch; /* all children same width */
}


.WidgetBox {
    /*width: 145px;*/
    border-width: 1px;
    border-style: solid;
    /*border-color: #000020;
    background-color: #000030;*/
    border-color: #00F;
    background: #ADD6FF;
    background: linear-gradient(to bottom, #8EC6FF, #ADD6FF);
    clear: both;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.WidgetBox_FlexContainer > .WidgetBox {
    display: block; /* normal block */
}

.WidgetBox > .TitleLabel
{
    font-weight: bold;
    text-align: center;
    display: inline-block;
    width: 100%;
    font-size: 1.5rem; /*relative to base size*/
}

.WidgetBox_Heading {
    margin: 0;
    border-bottom: 1px solid #00F;
    background: #ADD6FF;
    background: linear-gradient(to bottom, #5987D6, #033893);
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
    font-family: Calibri, Verdana,Arial,Helvetica,sans-serif;
    text-decoration: none;
    padding: 2px 6px;
    height: 25px;
    clear: both;
}

.WidgetBox_Content {
    font-size: 10px;
    color: #3300FF;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    padding: 5px 6px;
    clear: both;
}

.NoMargin_Bottom {
    margin-bottom: 0;
}

.BoxContent {
    background-color: #F2F4F7;
}

.SeparatorLine {
    width: 99%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: solid 1px #188F4A;
    height: 1px;
    clear: both;
    margin-top: 2px;
    margin-bottom: 15px;
}


.boxshadow {
    position: relative;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    /*background: white;*/
}

    .boxshadow::after {
        content: '';
        position: absolute;
        z-index: -1; /* hide shadow behind image */
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
        width: 70%;
        left: 15%; /* one half of the remaining 30% */
        height: 100px;
        bottom: 0;
    }

.textshadow {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}

.hover-emphasise:hover
{
    font-style: italic;
    font-weight: bold;
}

.WidgetBox > .Banner-Image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.widget-shadow {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 1.5px 4px rgba(0,0,0,0.12);
    /* You can adjust the values for a softer/harder shadow */
    border-radius: 8px; /* Optional: rounded corners for a modern look */
}