﻿/* The Modal (background) */
.modalDialog {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    /*overflow: auto;*/ /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.mainDialog {
    background-color: white;
    margin: 1% auto; /* 15% from the top and centered */
    padding: 10px;
    max-height: 90vh; /* Limit height to 90% of viewport */
    overflow-y: auto; /* Add scroll if content is too tall */
}
DialogLabel {
}
.InputClass {
    width: 200px;
}
    .InputClass:focus {
        background-color: yellow;
    }
.InputMemo:focus {
    background-color: yellow;
}
.DialogTable {
    white-space: nowrap;
}
.DialogHeader {
    background-color: LightSkyBlue;
    border: 1px solid Black;
    text-align: center;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.DialoguePrompt {
    font-style: italic;
    position: absolute;
    top: 30px;
    text-align: center;
    width: 100%;
}
/*.DiscussPrompt {
    font-style: italic;
    position: absolute;
    top: 300px;
    text-align: center;
    width: 100%;
}*/
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*Dialog Buttons */

.DialogButtonsClass {
    position: relative; /* Essential for absolute positioning of child */
}
.DialogButtonOk {
   /* color: white;
    background-color: DodgerBlue;*/
    position: absolute;
    right: 40px;
    top: 5px;
}
.DialogButtonCancel {
   /* color: white;
    background-color: DodgerBlue;*/
    position: absolute;
    left: 40px;
    top: 5px;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#divMainFeedback {
    width: 500px;
    height: 250px;
}
#FeedbackMessage {
    width: 410px;
    resize: none;
}
#FeedbackFrom {
    width: 410px;
}
#FeedbackEmail {
    width: 410px;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/


#LogonForgot {
    font-size: 12px;
    text-decoration: underline;
    position: absolute; /* Positions relative to the parent */
    top: 60px;
    text-align: center; /*This doesn't work?*/
}

    #LogonForgot:hover {
        background-color: yellow;
        border: 1px solid Black;
    }
#divMainLogon {
    width: 296px;
    height: 155px;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#RegistrationMsg {
    position: absolute; /* Positions relative to the parent */
    top: 35px;
    font-size: 16px;
    font-style: italic;
    text-align: center;
    width: 100%;
}
#RegistrationReason {
    width: 100%;
    resize: none;
}
#divMainRegistration {
    width: 385px;
    height: 400px;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#DiscussCaption {
    display: inline-block;
    margin-right: 10px;
    width: calc(100% - 200px);
}
.DiscussButton {
    float: right;
    /*color: white;
    background-color: DodgerBlue;*/
    margin-right: 3px;
    width: 90px;
}
.DiscussPanel{
    padding:5px;
}
#divMainDiscuss {
    width: 50%;
    height: 50%;
    border: double;
}
#DiscussScrollList {
    overflow-y: auto;
    max-height: calc(100% - 60px); /* Subtract header height */
    padding: 5px;
    width: 100%;
}
.DiscussText {
    width: calc(100% - 120px); /* Leave room for emoji container on right */
    box-sizing: border-box; /* Includes padding and border in width and height */
    overflow: hidden;
    resize: none;
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
}

.DiscussEmojiContainer {
    display: inline-block;
    vertical-align: top;
    width: 110px;
}

.DiscussEmojiItem {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin-right: 5px;
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.DiscussEmoji {
    display: block;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

    .DiscussEmoji:hover {
        background-color: yellow;
        transform: scale(1.1);
    }

   /* .DiscussEmoji:hover {

    }*/


    .DiscussEmoji:active {
        transform: translateY(4px) scale(0.95);
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2)) brightness(0.9);
    }


    .DiscussEmoji:active {

    }

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.DiscussEmojiCount {
    display: block;
    font-size: 16px;
    text-align: center;
    color: #666;
}
    .DiscussEmojiCount:hover {
        background-color: yellow;
        transform: scale(1.1);
    }
    .DiscussEmojiCount:active {
        transform: translateY(4px) scale(0.95);
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2)) brightness(0.9);
    }
/*++++++++++++++++++ Discussion Entry +++++++++++++++++++++++++++*/


#divMainDiscussEntry {
    width: 40%;
    height: 180px;
}

#DiscussEntryText {
    width: 100%;
    resize: none;
    height: 100px;
}

#DiscussEntryPrompt {
    font-style: italic;
    position: absolute;
    top: 30px;
    text-align: center;
    width: 100%;
}

.DialogButtonsClass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
}

/* Discussion Entry Buttons */
/*#DiscussEntryCancel,
#DiscussEntryDelete,
#DiscussEntryConfirmDelete,
#DiscussEntryOk {
    color: white;
    background-color: DodgerBlue;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}*/


#DiscussPrompt {
     
    text-align: center;
    width: 100%;
    font-size: 17px;
    padding: 4px 4px;
    color: red;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*
    
    resize:block; 
     height:fit-content; max-content


*/

/* Discussion Entry Dialog */
 

#DiscussEntryText {
    width: 100%;
    resize: none;
}

