.smallgray {
    font-size: smaller;
    color: var(--gray-500);
}

a.searchbig {
    background-image: url(../img/big/view.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

a.confirmButton {
    font-size: smaller;
    background-color: Navy;
    font-weight: bold;
    color: White;
    padding: 2px;
    border: solid 2px Aqua;
}

a.smallgray {
    font-size: smaller;
    color: var(--gray-500);
}

a.searchbig:hover {
    background-image: url(../img/big/view.png);
    text-decoration: underline;
}

a.addnewbig {
    background-image: url(../img/big/add.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.addnewbig:hover {
        background-image: url(../img/big/add.png);
        text-decoration: underline;
    }

a.documentbig {
    background-image: url(../img/big/document_edit.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.documentbig:hover {
        text-decoration: underline;
    }

a.sizeProjectBig {
    background-image: url(../img/big/sizeproject.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.sizeProjectBig:hover {
        text-decoration: underline;
    }

a.myOrdersBig {
    background-image: url(../img/trolley.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.myOrdersBig:hover {
        text-decoration: underline;
    }

a.myOrdersApproveBig {
    background-image: url(../img/shake.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.myOrdersApproveBig:hover {
        text-decoration: underline;
    }

a.myTasksBig {
    background-image: url(../img/big/pda_write.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.myTasksBig:hover {
        text-decoration: underline;
    }

a.myIssuesBig {
    background-image: url(../img/big/issuelog.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.myIssuesBig:hover {
        text-decoration: underline;
    }

a.myInvoicesBig {
    background-image: url(../img/valuation.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.myInvoicesBig:hover {
        text-decoration: underline;
    }

a.myCertifyBig {
    background-image: url(../img/certify.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.myCertifyBig:hover {
        text-decoration: underline;
    }

a.knowledge {
    background-image: url(../img/big/knowledge.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
}

    a.knowledge:hover {
        background-image: url(../img/big/knowledge.png);
        text-decoration: underline;
    }

a.addfavorite {
    background-image: url(../img/favourite_add.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}


    a.addfavorite:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.authorise_right {
    background-image: url(../img/check.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.authorise_right:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.deleteproject {
    background-image: url(../img/delete.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

    a.deleteproject:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.refresh {
    background-image: url(../img/replace.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.refresh:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.security {
    background-image: url(../img/security_agent.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.security:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.deleteproject:hover {
    color: var(--gray-900);
}

a.copyproject {
    background-image: url(../img/tables.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.copyproject:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.print_rightmenu {
    background-image: url(../img/printer.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.print_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.map_rightmenu {
    background-image: url(../img/map.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.map_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.doc_rightmenu {
    background-image: url(../img/document_edit.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.doc_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.config_rightmenu {
    background-image: url(../img/aim_online.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.config_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.authorise {
    background-image: url(../img/check.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.authorise:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }


a.label_rightmenu {
    background-image: url(../img/address_book3.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.label_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.audit_rightmenu {
    background-image: url(../img/auction_hammer.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.audit_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.link_rightmenu {
    background-image: url(../img/link.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.link_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.unlink_rightmenu {
    background-image: url(../img/unlink.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.unlink_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }

a.reviewPeriod {
    background-image: url(../img/exchange.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.reviewPeriod:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }


a.closeProject_rightmenu {
    background-image: url(../img/folder_lock_rightmenu.png);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 20px;
    text-decoration: none;
}

    a.closeProject_rightmenu:hover {
        color: var(--gray-900);
        text-decoration: underline;
    }




/* USERS DATA GRID */
table.tblusers {
    border-collapse: collapse;
    margin-top: 5px;
    text-align: left;
    width: 100%;
}

    table.tblusers a {
        font-weight: normal;
    }

        table.tblusers a:hover {
        }

    table.tblusers tr {
        height: 18px;
    }

        table.tblusers tr img {
            border: solid white 0px;
        }

        table.tblusers tr.over {
            background-color: rgb(253, 223, 160);
            cursor: pointer;
        }

            table.tblusers tr.over img {
                border: solid rgb(173,197,237) 1px;
            }

        table.tblusers tr.alt {
            background-color: rgb(219, 234, 245);
        }

        table.tblusers tr.hdr {
            font-weight: 600;
        }

    table.tblusers td {
        border-bottom: solid 1px var(--gray-100);
        padding: 0.65rem;
    }

/* GENERAL VIEWONLY DATA GRID */


table.tblview {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

    table.tblview a {
        cursor: pointer;
        font-weight: bold;
    }

        table.tblview a:hover {
            text-decoration: underline;
        }

    
    table.tblview tr.viewhdr td,th{
        border-bottom: solid var(--gray-100) 1px;
        padding: 1rem!important;
        line-height: 1.75;
    }

    table.tblview tr.viewhdr_noDash td {
        padding: 0.5rem;
    }

    table.tblview tr.viewhdr_gs td {
        border-bottom: solid var(--gray-200) 1px;
        padding-top: 5px;
        padding-bottom: 5px;
    }



    table.tblview td {
        vertical-align: top;
    }

        table.tblview th.label {
            font-weight: 600;
            width: 25%;
            color: var(--gray-900);
        }

        table.tblview td.label {
            font-weight: 600;
            width: 25%;
            color: var(--gray-900);
        }

        table.tblview td.data {
            color: var(--gray-800);
        }


    table.tblview table.viewgrid {
        border-bottom: dotted rgb(173,197,237) 1px;
        margin-top: 15px;
    }

        table.tblview table.viewgrid th {
            border-bottom: dotted rgb(173,197,237) 1px;
        }

        table.tblview table.viewgrid td, th {
            padding: 3px;
        }

        table.tblview table.viewgrid tr.viewalt {
            background-color: var(--gray-100);
        }


/*CHARTS*/
div.div_charts {
    /*float:left; 	height:250px; 	width:250px;*/
}

div.floatnone {
    float: none;
}


a.vista {
    background-image: url(../img/vista_bttn.png);
    background-repeat: no-repeat;
    color: #006699;
    display: block;
    width: 148px;
    text-decoration: none;
    text-align: center;
    font-size: 8pt;
    font-weight: bold;
    height: 25px;
    padding-top: 7px; /*margin-left: 5px; 	margin-top: 5px; 	float: left;*/
}

/*a.vista:hover {
	background-image: url(../img/vista_bttn_purple.png);
}*/

div.rightCaption {
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 3px;
    background-color: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
    padding: 4px 5px 4px 20px;
    margin-top: 15px;
    position: relative;
    border-bottom: solid 1px var(--gray-300);
    border-top: solid 1px var(--gray-300);
    border-radius: 0.375rem;
}

div.rightCaptionRight,
div.rightCaptionDown {
    align-items: center;
    background-color: var(--gray-100);
    border-radius: 0.375rem;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    /* Right padding clears the chevron, which is positioned rather than laid out. */
    padding: 0.75rem 2rem 0.75rem 0.75rem;
    position: relative;
}

    div.rightCaptionRight:focus-visible,
    div.rightCaptionDown:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    .rightCaption__icon {
        color: var(--primary);
        font-size: 1.15rem;
    }

    .rightCaption__text {
        font-size: 1.15rem;
    }

/* One chevron for both states, rotated rather than swapped, so the caption
   animates as it collapses. This replaces an up/down PNG pair whose collapsed
   arrow was too pale to make out against the grey strip. It sits on the right
   so the icon and heading get the whole left side. */
    div.rightCaptionRight::after,
    div.rightCaptionDown::after {
        content: "";
        position: absolute;
        right: 0.75rem;
        top: 50%;
        width: 12px;
        height: 12px;
        margin-top: -6px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23374151' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 2 6 6-6 6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 12px 12px;
        transform: rotate(0deg);
        transition: transform 0.2s ease-in-out;
    }

    div.rightCaptionDown::after {
        transform: rotate(90deg);
    }

@media (prefers-reduced-motion: reduce) {
    div.rightCaptionRight::after,
    div.rightCaptionDown::after {
        transition: none;
    }
}

div.siteFav {
    margin: 10px;
    text-align: left;
}

    div.siteFav img.site {
        border: solid 1px var(--gray-700);
        float: left;
    }

div.siteFavDesc {
    margin-left: 190px;
}

td.siteFavTd {
    background-color: var(--gray-50);
}

div.big_buttons a {
    background-position: 0 0;
    background-repeat: no-repeat;
    border: solid var(--gray-50) 1px;
    display: block;
    float: left;
    height: 172px;
    margin-right: 5px;
    width: 200px;
}

    div.big_buttons a:hover {
        background-position: 0 -170px;
    }

div.programmeNode {
    border: solid 1px var(--gray-200);
    text-align: center;
    min-height: 30px;
    cursor: pointer;
    margin-right: 0.25rem;
    border-radius: 0.375rem !important;
    transition: 0.3s;
}

    div.programmeNode:hover {
        border: solid 1px var(--primary);
        background-color: var(--gray-100);
    }


    div.programmeNode div.nodeBody {
        padding: 2rem;        
    }

    div.programmeNode div.nodeBodyName {
        font-weight: bold;
        font-size: 11pt;
        margin-bottom: 5px;
        color: var(--gray-600);
    }

div.teamNode {
    border: solid 1px var(--gray-200);
    text-align: center;
    cursor: pointer;
    border-radius: 0.375rem !important;
    transition:0.3s;
}

    div.teamNode div.nodeHeader {
        font-weight: bold;
        background-color: var(--gray-100);
        padding: 0.5rem;
        border-top-left-radius: 0.375rem;
        border-top-right-radius: 0.375rem;
    }

    div.teamNode div.nodeBody {
        padding: 1rem;
    }

div.nodeDivider {
    width: 50%;
    border-right: solid 2px var(--gray-200);
    height: 40px;
}

div.teamNode div.nodeBodyName {
    font-weight: bold;
    font-size: 12pt;
    margin-bottom: 5px;
    color: var(--gray-600);
}


div.teamNode:hover {
    border: solid 1px var(--primary);
    background-color: var(--gray-50);
}



div.nodeBoard {
    background-color: var(--light-yellow);
}

div.nodeKey {
    background-color: var(--light-yellow);
    border: solid 1px var(--gray-100);
    padding: 0.5rem;
}

div.otherKey {
    border: solid 1px var(--gray-100);
    color: darkred;
    padding: 0.5rem;
}


table.pictureRow {
    margin-top: 20px;
    background-color: var(--light-red);
    padding: 10px;
}

    table.pictureRow tr {
    }

    table.pictureRow td {
        vertical-align: top;
        border: solid 1px var(--light-red);
        padding: 0px;
        background-color: var(--gray-50);
    }

div.pictureRowWords {
    margin-top: 10px;
    padding: 5px;
    font-weight: normal;
    color: var(--gray-600);
}

div.pictureRowTitle {
    font-weight: normal;
    color: #8f0f0f;
    margin-bottom: 5px;
}

a.picturegallery {
    font-weight: bold;
    cursor: pointer;
}

    a.picturegallery:hover {
        text-decoration: underline;
    }

a.externalLink {
    background-image: url(../img/link.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12pt;
}

    a.externalLink:hover {
        text-decoration: underline;
    }

a.externalLinkSmall {
    background-image: url(../img/link.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 20px;
    font-weight: bold;
    cursor: pointer;
}

    a.externalLinkSmall:hover {
        text-decoration: underline;
    }


table.tblAuth {
    border-collapse: collapse;
    margin-top: 5px;
    text-align: left;
    width: 100%;
}

    table.tblAuth tr.viewhdr td {
        padding: 0.5rem;
    }

        table.tblAuth tr.viewhdr td.left {
            width: 300px;
            min-width: 300px;
            font-weight: normal;
            font-weight:600;
        }

table.stock_ordered {
    border-collapse: collapse;
    margin-top: 5px;
    text-align: left;
    width: 100%;
}

    table.stock_ordered td {
        padding: 4px;
    }

    table.stock_ordered th {
        background-color: var(--gray-100);
    }

.sort-activities-main {
    background-color: red !important;
}


.sort-activities {
    float: right;
    width: auto;
    margin-right: 2em;
    background-color: transparent;
}

.sort-activities-first {
    padding-right: 2em;
}
