/*
 * Copyright (c) 2000 - 2020, Lumenogic, LLC. All Rights Reserved.
 * Confidential and Proprietary Information of Lumenogic, LLC.
 */

/*** THESE ARE CSS definitions for the Weaver page and widget */

DIV.weaver-serverBox {
    margin-top: 20px;
    padding: 4px;
    border: lightsteelblue 2px solid;
    border-radius: 14px;
    background-color: #e4eafa;
}

.weaver-serverName {
    padding: 4px;
    color: rgb(66, 102, 157);
    font-weight:bold
}


/* an IFP box in which one IFP is displayed */
DIV.ifpBox {
    margin: 10px 0;
    border: thin gray solid; border-radius: 10px;
    background-color: #f5f5f5;
    display: grid;
    grid-template-columns: min-content auto min-content;
    grid-template-rows: min-content min-content;
    grid-template-areas:
            "picture title butStats"
            "fcsts   fcsts butStats";
    grid-gap: 5px;
}

/* used to display the fcst info - contents specific to IFP type */
DIV.ifpBox-fcsts {
    grid-area: fcsts;
}

/* the IFP's picture */
IMG.ifp-picture, IMG.challenge-picture {
    grid-area: picture;
    margin: 5px;
    width: 100px;
    height: 100px;
    border: thin solid #CCC;
    border-radius:10px;
    overflow: hidden;
    object-fit:cover;
    object-position: center;
}

DIV.ifp-title, DIV.ifp-title-closed,
DIV.challenge-title, DIV.challenge-title-closed {
    grid-area:title;
    font-size: 24px;
    font-weight: bold;
    padding: 7px 0 3px 7px;
    color: #000;
}

DIV.ifp-title-closed,
DIV.challenge-title-closed {
    color: #999;
}

.ifp-butStats {
    grid-area:butStats;
    align-self: end;
}

.weaver-go {
    border-radius: 7px;
}

/***** CFIFPListFcstWidget ********/
TABLE.ifp-cfFcst-box {
    grid-area: fcsts;
}
