﻿html, body, form {
    margin: 0px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    background-color: lightgray;
    height: 100%;
}

form {
    overflow: hidden;
}

#content_tab1 {
    height: calc(100% - 114px);
}

#content_tab2 {
    height: calc(100% - 78px);
}

#content_tab3 {
    height: calc(100% - 75px);
}

#content_tab4 {
    height: calc(100% - 75px);
    overflow-y: scroll;
}

#ifTrainingStatus {
    height: 100%;
}

.RadTreeView, .RadTreeView a.rtIn, .RadTreeView .rtEdit .rtIn input, .w {
    font-size: 15px !important;
}

    .RadTreeView .rtLI {
        margin-top: 4px;
    }

.rtIn {
    /*display: inline-block !important;*/
    width: 400px;
}

.tbl {
    border-collapse: collapse;
    margin: 2px auto;
}

    .tbl td {
        vertical-align: top;
    }

.tdhead {
/*    padding-top: 10px;
    padding-bottom: 5px;*/
    text-align: center;
    /*height: 30px;*/
    background-color: #2a3f55;
    color: white !important;
    font-size: 16px;
    font-weight: bold;
}

.tdhead1 {
    background-color: #2a3f55;
    color: white !important;
    text-align: center;
    /*padding-top: 5px;*/
    font-size: 16px;
    font-weight: bold;
}

.tdfooter {
    color: white;
    background-color: #2a3f55;
    /*vertical-align: top;*/
    /*height: 26px;*/
    font-size: 12px;
    text-align: center;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 5px;
}

#RtvTrainingPlan {
    height: 62vh;
    margin-left: 50px;
}

#RtvCourses {
    width: 89%;
    height: 62vh;
    margin-left: 70px;
}

.course {
    border-color: #002d96 !important;
    color: #000000;
    background-color: #97b8e8;
    background-image: linear-gradient(#dceafc, #97b8e8);

    overflow: hidden; /* Hide anything that overflows outside the div */
    white-space: nowrap; /* Prevent the text from wrapping to a new line */
    text-overflow: ellipsis; /* Display ellipses (...) for overflow text */
}


.tp {
    font-weight: bold;
    border-color: #2ebf00 !important;
    color: #000000;
    background-color: #cccccc;
    background-image: linear-gradient(#808080, #d2f8c5);
    width: 380px;
}

.center {
    text-align: center;
}

.RadButton {
    vertical-align: inherit !important;
}

.tar {
    text-align: right;
    font-weight: 600;
}

.pd {
    padding: 20px;
}

.pdl {
    padding-left: 6px;
}

.pdr {
    padding-right: 6px;
}

img {
    cursor: pointer;
}

.img-disabled {
    cursor: default;
    pointer-events: none; /* Disable all mouse events */
}

.w {
    width: 100%;
}

fieldset {
    margin: 20px;
    padding: 25px;
}

.header {
    background: #015991 none repeat scroll 0 0;
    color: white;
    min-height: 35px;
    padding-left: 12px;
    line-height: 35px;
    font-weight: bold;
    margin-bottom: 1px;
}

.name {
    color: orange;
    text-align: right;
    float: right;
    width: 50%;
    padding-right: 10px;
}

#content_tab2, #content_tab3, #content_tab4 {
    display: none;
}

.RadGrid .rgRow > td, .RadGrid .rgAltRow > td, .RadGrid .rgEditRow > td, .RadGrid .rgFooter > td, .RadGrid .rgFilterRow > td, .RadGrid .rgHeader, .RadGrid .rgResizeCol, .RadGrid .rgGroupHeader td {
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.rgHeader {
    padding: 6px !important;
    font-size: 0.9em !important;
}

.rgRow, .rgAltRow, .rgGroupHeader {
    height: 30px !important;
}

.RadTreeView .rtImg {
    vertical-align: text-top !important;
}

.mgt {
    margin-top: 0px;
}

.pd {
    padding: 8px 20px 6px;
}

.mg {
    margin: 0 -16px;
}

.uline {
    text-decoration: underline
}

.pd10 {
    padding: 10px;
}

.RadInput .riLabel {
    text-align: right;
}

h6 {
    font-style: italic;
}

/* Mimic tooltip */

.drag-tooltip {
    position: absolute;
    background-color: blue;
    color: white;
    border: 1px solid #f0c36d;
    padding: 6px;
    border-radius: 3px;
    top: 76px;
    left: 400px;
    z-index: 10;
}

/***** RadTreeList *****/

.RadTreeList .rtlTable, .RadTreeList .rtlEditForm table {
    /*font-size: 0.9em !important;*/
}

.RadTreeList_Material tr.rtlHeader {
    background-color: lightgrey !important;
    height: 30px !important;
}

.RadTreeList_Material .rtlREdit, .RadTreeList_Material .rtlR, .RadTreeList_Material .rtlA {
    height: 30px !important;
}

.RadTreeList_Material .rtlHBorders .rtlR td, .RadTreeList_Material .rtlHBorders .rtlA td, .RadTreeList_Material .rtlHBorders .rtlREdit td, .RadTreeList_Material .rtlHBorders .rtlRFooter td {
    padding-bottom: 1px !important;
}

.RadTreeList_Material tr.rtlHeader th {
    padding: 1px 5px !important;
}

.RadTreeList_Material .rtlREdit td, .RadTreeList_Material .rtlR td, .RadTreeList_Material .rtlA td {
    padding: 1px 5px !important;
}

#imgPlus{
    margin-top: -10px;
}

.hide {
    display: none;
}

/***** TrainingPlan page ***************/

.container {
    display: flex;
    height: 100%;
}

.panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.panel-content {
    flex: 1;
    overflow-y: auto;
    width: 99.3%;
}

.left-panel {
    background-color: #e9ecef;
    width: 50%; /* Initial width */
}

.right-panel {
    background-color: #e9ecef;
    width: 50%; /* Initial width */
}

.resize-handle {
    width: 4px;
    background-color: lightgray;
    cursor: ew-resize;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
}

    .resize-handle:hover {
        background-color: aqua;
    }
/*
        h3 {
            display: inline-block;
            text-align: center;
            width: 90%;
        }*/

.rtIn.course, .rtIn.tp {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}

.RadTreeView_WebBlue .rtIn {
    cursor: default !important;
}

.rtEmojiTP, .rtEmojiC {
    cursor: pointer;
    font-size: smaller;
}

.title {
    display: inline-block;
    padding: 6px 35px;
    font-size: large;
    font-weight: 600;
    color: white;
    
}

.sp {
    padding-left: 74px;
}

.tcolor {
    background-color: #8FA6BB;
    margin-bottom: 15px;
}

.cname, .pname, .tpname {
    color: blue;
    font-style: italic;
}

.ctitle {
    color: blue;
    font-weight: bold;
    font-style: normal;
}

.subt {
    color: white;
    font-size: x-small;
    font-style: italic;
    cursor: pointer;
}

/***** Individual Status classes *******/

.status {
    height: 10px;
    width: 10px;
    background-size: cover;
}

.NotAssigned, .NotYetAssigned {
    background-image: url(../Resources/sta0-notassigned.gif);
    background-color: white;
    border-style: solid;
    border-color: silver;
    border-width: 1px;
}

.RecentlyAssigned {
    background-image: url(../Resources/sta1-recentlyassigned.gif);
    background-color: lightgray;
}

.NotStarted {
    background-image: url(../Resources/sta2-notstarted.gif);
    background-color: gray;
}

.NotStarted-Late {
    background-image: url(../Resources/sta3-notstarted-late.gif);
    background-color: darkgray;
}

.Started {
    background-image: url(../Resources/sta4-started.gif);
    background-color: blue;
}

.Started-Overdue {
    background-image: url(../Resources/sta5-started-overdue.gif);
    background-color: purple;
}

.Current {
    background-image: url(../Resources/sta6-current.gif);
    background-color: lightgreen;
}

.Expiring {
    background-image: url(../Resources/sta7-expiring.gif);
    background-color: yellow;
}

.Expired {
    background-image: url(../Resources/sta8-expired.gif);
    background-color: red;
}
/***** End of Individual Status classes *******/
