/* ----- Layout ----- */
.trsc-container-all {
    display: flex;
    height: 100%;
}
.trs-page > .trsc-container-all {
    max-width: 1000px;
    margin: 0 auto;
    border-right: 1px solid LightSkyBlue;
    border-left:  1px solid LightSkyBlue;
    background-color: #eaf1ea; /* Very  light gray green */
}
.trsc-container-main {
    display: flex;
    width: 100%;
    position: relative;
}
/* ----- Panel - MenuItems ----- */
.trscPanel-menuitems-toggle {
    float: left;
    margin: 0px 5px 5px 7px;
    font-size: 18px;
    text-align: right;
    cursor: pointer;
    color: #afafaf; /* A little darker than light gray */
}
.trsc-panel-menuitems-list {
    transition: width .5s;
    white-space: nowrap;
    padding-top: 20px;
    font-family: var(--font-sans-serif);
    overflow-x: auto;
    background-color: ghostwhite;
    border-right: 1px solid LightSkyBlue;
    overflow-x: hidden;
    box-sizing: border-box;
}
.trsc-panel-menuitems-item {
    padding: 6px 0 8px 10px;
    transition: padding .5s;
    font-size: 15px;
    cursor: pointer;
    border-left: 2px solid ghostwhite;
}
.trsc-panel-menuitems-item-current {
    background-color: lightblue;
    border-left: 2px solid blue;
}
.trsc-panel-menuitems-item:not(.trsc-panel-menuitems-item-current):hover {
    background-color: #75cfec;
    border-left: 2px solid #75cfec;
}
/* ----- Panel - MultiPanel ----- */
.trsc-panel-multipanel {
    flex: 1;
    height: 100%;
    position: relative;
}
.trsc-panel-multipanel-item {
    height: 100%;
}
.trsc-panel-multipanel-loadmessage {
    /* Center in middle */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45%;
    /* Other properties */
    border: 3px solid gray;
    border-radius: 30px;
    padding: 10px 25px;
    color: gray;
    background-color: ghostwhite;
    opacity: .4;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
}
/* ----- Panel - RecordList ----- */
/* The only difference between these 2 classes is editrecord has fit-content. */
.trsc-panel-default, .trsc-panel-editrecord {
    display: flex;
    flex-direction: column;
    margin: 15px 0 15px 15px;
    font-family: var(--font-sans-serif);
    background-color: white;
    border-radius: 15px;
    border: 3px solid var(--rounded-border-color-standard);
    overflow: hidden;
}
.trsc-panel-recordlist-title {
    padding: 3px;
    font-size: 17px;
    text-align: center;
    background-color: WhiteSmoke;
    border-bottom: 1px solid LightGray;
}
.trsc-panel-recordlist-items {
    flex: 1;
    width: 300px;
    font-size: 14px;
    overflow-y: scroll;
}
.trsc-panel-recordlist-buttonbar {
    border-top: 1px solid LightGray;
    font-size: 0px; /* To eliminate whitespace between buttons. */
}
.trsc-panel-recordlist-row {
    padding: 1px 5px;
    font-size: 12px;
    cursor: default;
    outline: none;
}
.trsc-panel-recordlist-row-current {
    background-color: var(--listrow-selected-bkg);
    color:            var(--listrow-selected-color);
}
.trsc-panel-recordlist-row:not(.trsc-panel-recordlist-row-current):hover {
    background-color: var(--listrow-hover);
}
/* ----- Panel - EditRecord ----- */
.trsc-panel-editrecord {
    height: fit-content;
}
.trsc-panel-editrecord-title {
    margin: 4px 0 4px 0;
    text-align: center;
    font-size: 19px;
    font-weight: bold;
    color: var(--rounded-border-color-standard);
}
.trsc-panel-editrecord-fields {
    flex: 1;
    padding: 0 10px 0 10px;
    font-size: 12px;
}
/* .trsc-panel-editrecord-fields input {
    padding: 0 3px;
} */
.trsc-panel-editrecord-tabsetcontainer {
    padding: 0 5px;
}
.trsc-panel-editrecord-tabsetcontainer .trs-tab-content {
    overflow-y: unset;
}
/* ----- Source CR Page NEW ----- */
.trsc-article-patternsbox-container {
    flex: 1;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 7px;
    border: solid 1px lightgray;
    border-top: none;
    background-color: ghostwhite;
}
.trsc-sourcecr-article-label {
    margin: 2px 0 4px 7px;
    font-size: 16px;
}
.trsc-sourcecr-article-textview {
    flex: 1; 
    /* padding: 0 10px;  */
    overflow-y: scroll; 
    border-top: 1px solid lightgray;
}
.trsc-sourcecr-articleslist-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    background-color: ghostwhite;
    border: 1px solid lightgray;
}
.trsc-sourcecr-articleslist-buttonbar {
    display: flex;
    justify-content: center;
    border: 1px solid lightgray;
    border-top: none;
    background-color: ghostwhite;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.trsc-sourcecr-recordlist-header-container {
    width: 400px; /* Matches the need of trsc-panel-recordlist-items. */
    background-color: WhiteSmoke;
    border-bottom: 1px solid LightGray;
}
.trsc-sourcecr-recordlist-header-columnheadings div {
    display: inline-block;
    font-size: 14px;
    text-align: center;
}
.trsc-sourcecr-recordlist-header-title {
    font-size: 19px;
    font-weight: bold;
    text-align: center;
}
.trsc-sourcecr-recordlist-header-subtitle {
    padding: 0 10px 5px 10px;
    font-size: 14px;
    text-align: center;
    font-style: italic;
    line-height: 14px;
}
/* ----- Source CR Page OLD ----- */
.trsc-sourcecr-recordlist-title-container { /* Replaced */
    background-color: WhiteSmoke;
    border-bottom: 1px solid LightGray;
}
.trsc-sourcecr-recordlist-title-container div { /* Replaced */
    display: inline-block;
    font-size: 14px;
    text-align: center;
}
.trsc-sourcecr-recordlist-row {
    padding: 0 5px;
    font-size: 13px;
    letter-spacing: -.5px;
    line-height: 16px;
    cursor: default;
    outline: none;
    white-space: nowrap;
    border-bottom: 1px solid lightgray;
}
.trsc-sourcecr-recordlist-row:not(.trsc-panel-recordlist-row-current):hover {
    background-color: #dff7f6;
}
.trsc-sourcecr-recordlist-row-name {
    width: 270px;
    display: inline-block;
    overflow: hidden;
}
.trsc-sourcecr-recordlist-row-cr {
    width: 40px;
    float: right;
    text-align: right;
}
.trsc-sourcecr-recordlist-row-did {
    width: 35px;
    float: right;
    text-align: right;
}
.trsc-sourcecr-recordlist-row-uc {
    width: 25px;
    float: right;
    text-align: right;
}
.trsc-sourcecr-rightpanel-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 300px;
    max-width: 700px;
    margin-right: 15px;
    position: relative;
}
/* ----- Edit surveys system ----- */
.trsc-pseudotabs {
    padding: 1px 0 1px 10px;
}
.trsc-pseudotabs div {
    display: inline-block;
}
.trsc-pseudotabs label {
    border-radius: 5px 5px 0 0;
}
.trsc-pseudotabs label:hover {
    background-color: lightgray;
}
/* .trsc-pseudotabs label:checked {
    background-color: lightblue;
} */
/* .trsc-pseudotabs-selected {
    background-color: lightblue;
} */
.trsc-editsurvey-declaration {
    flex: 1;
    margin-top: -1px;
    resize: none;
    font-size: 20px; /* Must synch with Panel Mgr. */
    line-height: 1.5em;
    font-family: var(--font-serif);
    /* font-family: monospace;
    background-color: midnightblue;
    color: chartreuse; */
}
.trsc-editsurvey-gotoquestion {
    width: 30px;
    margin-right: 10px;
    padding: 0;
    font-size: 12px;
    text-align: center;
}
.trsc-survey-header {
    padding-bottom: 2px;
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid gray;
    background-color: #f2f2f2;
}
.trsc-survey-admin {
    margin-top: -1px; /* To hide bottom border on header div. */
    text-align: center;
    border-bottom: 1px solid gray;
    background-color: #f2f2f2;
}
.trsc-survey {
    flex: 1;
    max-width: 550px;
    min-width: 200px;
    padding: 0 10px 30px 10px;
    overflow-y: scroll;
}
.trsc-survey p {
    margin: 15px 0 0 0;
    font-family: var(--font-serif);
    font-size:   var(--font-serif-size-standard);
}
p.trsc-survey-subheading1 {
    margin-top: 50px;
    font-family: var(--font-sans-serif);
    font-size: 20px;
    font-weight: bold;
}
p.trsc-survey-subheading2 {
    margin-top: 50px;
    font-family: var(--font-sans-serif);
    font-size: 20px;
    color: darkorchid;
}
/* p.trsc-survey-subheading:first-of-type {
    margin-top: 20px;
} */
.trsc-survey-section {
    margin: 60px 0 20px 0;
    font-family: var(--font-sans-serif);
    font-size: 22px;
    font-weight: 600;
}
.trsc-survey-separator {
    margin: 50px -10px;
    border-bottom: 3px solid var(--rounded-border-color-standard);
}
.trsc-survey-separator-title {
    margin: 50px -10px;
    padding: 5px;
    text-align: center;
    font-size: 20px;
    letter-spacing: 1px;
    color: white;
    background-color: var(--rounded-border-color-standard);
}
.trsc-survey-separator-subtitle {
    margin: 70px -10px 10px -10px;
    padding-top: 10px;
    text-align: center;
    font-size: 20px;
    letter-spacing: 1px;
    border-top: 3px solid var(--rounded-border-color-standard);
}
.trsc-survey-separator-smallcenter {
    border-bottom: 3px solid var(--rounded-border-color-standard);
    width: 200px;
    margin: 50px auto;
}
.trsc-survey-question {
    margin: 30px -10px 0 -10px;
    padding: 4px 5px 6px 10px;
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.5em;
    letter-spacing: .1px;
    background-color: #cae7f0; /* A lighter lightblue */
}
/* .trsc-survey-question strong {
    font-weight: 800;
} */
.trsc-survey-answerchoice {
    margin: 10px -10px 40px -5px;
}
.trsc-survey-answerchoice-optionline {
    font-size: 12px;
    letter-spacing: -.2px;
    cursor: pointer;
    border-radius: 5px;    
}
.trsc-survey-answerchoice-optionlist {
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px; 
}
.trsc-survey-answerchoice-optionline input, .trsc-survey-answerchoice-optionlist input {
    margin: 3px 5px 0 3px;
    /* transform: scale(1.2, 1.2); */
}
.trsc-survey-answerchoice-optionline {
    margin: 0 10px 0 0;
    padding: 5px 0;
}
.trsc-survey-answerchoice-optionlist {
    display: block;
    padding: 5px 0 5px 4px;
}
.trsc-survey-answerchoice-optionlist:hover, .trsc-survey-answerchoice-optionline:hover {
    background-color: lightgray;
}
.trsc-survey-answerchoice-highlight {
    font-weight: 700;
    text-decoration: underline;
}
.trsc-survey-answertext, .trsc-survey-resultscomment { /* Height grows automatically to fit content, using an event. */
    resize: vertical;
    min-width: 100%;
    overflow-y: auto;
    min-height: 135px;
    max-height: 491px;

    margin: 10px 0 20px 0;
    padding: 2px 5px 15px 5px;
    font-family: var(--font-sans-serif);
    font-size: 14px;
    line-height: 21px;
    border-radius: 5px;
    box-sizing: border-box;
}
.trsc-survey-input {
    width: 100px;
    margin: 10px 0 20px 15px;
    font-family: var(--font-sans-serif);
    font-size: 14px;
}
.trsc-survey-image {
    margin: 20px 0;
    width: 100%;
}
.trsc-survey-image-caption {
    padding: 2px 1px 2px 4px;
    font-family: var(--font-sans-serif);
    font-size: 14px;
    line-height: 1.3em;
    border: 1px solid gray;
    border-top: none;
}
.trsc-survey-resultslist {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 5px;
    background-color: ghostwhite;
    border: 1px solid gray;
}
/* ----- Pure rank item ----- */
.trsc-survey-purerank-container {
    margin-top: 10px;
    outline: none; /* Prevent focus blue border. */
    overflow: hidden;
}

/* ----- Pyramid rank item ----- */
.trsc-survey-rank-container {
    margin: 10px 0 0 0;
    border-bottom: 2px solid gray;
    outline: none; /* Prevent focus blue border. */
}
.trsc-survey-rank-pyramidtitle {
    margin-bottom: 5px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}
.trsc-survey-rank-group-container {
    position: relative;
    border: 2px solid gray;
    border-bottom: none;
}
.trsc-survey-rank-group-folder {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: dodgerblue;
    border-bottom: 1px solid lightgray;
    background-color: beige;
}
.trsc-survey-rank-group-members {
    position: relative;
    background-color: ghostwhite;
}
.trsc-survey-rank-group-impact {
    position: absolute;
    width: 200px;
    display: none;
    color: gray;
}
.trsc-survey-rank-member {
    display: inline-block;
    margin: 6px 5px 6px 5px;
    padding: 1px 3px 4px 3px;
    border: 1px solid gray;
    box-sizing: border-box;

    font-size: 16px;
    color: black;
    line-height: 16px;
    cursor: pointer;
    outline: none;
    background-color: white;
}
.trsc-survey-rank-member:not(.trsc-survey-rank-member-selected):hover {
    color: black;
    background-color: #a4f3f0;
}
.trsc-survey-rank-member-selected {
    background-color: LightSeaGreen;
    color: white;
}
.trsc-survey-rank-member-bigger {
    padding: 2px 5px 5px 5px;
    font-size: 17px;
}
/* ----- Take the survey page ----- */
.trsc-surveypage-container {
    display: flex;
    /* width: 885px; */
    /* width: 595px; */
    margin: 0 auto;
    height: 100%;
}
.trsc-surveypage-leftsidebar-container, .trsc-surveypage-rightsidebar-container {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    font-family: var(--font-sans-serif);
    border: 1px solid lightgray;
    border-radius: 15px;
    overflow: hidden;
    background-color: ghostwhite;
}
.trsc-surveypage-leftsidebar-container {
    max-width: 400px;
}
.trsc-surveypage-rightsidebar-container {
    width: 560px;    
}
.trsc-surveypage-sidebar-title {
    padding: 2px 0;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid lightgray;
    background-color: #f2f2f2;
}
.trsc-surveypage-sidebar-content, .trsc-surveypage-rightsidebar-content {
    flex: 1;
    padding: 0 10px 5px 10px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.trsc-surveypage-sidebar-content p {
    font-family: var(--font-sans-serif);
    font-size: 14px;
}
.trsc-surveypage-rightsidebar-content {
    background-color: white;   
}
.trsc-surveypage-rightsidebar-content p {
    /* font-family: var(--font-serif); */
    font-size:   var(--font-serif-size-standard);
}
.trsc-surveypage-rightsidebar-content .trsc-survey-separator {
    display: none;
}
.trsc-surveypage-navigation-item {
    padding: 2px 0 2px 0;
    font-size: 15px;
    font-family: var(--font-sans-serif);
    cursor: pointer;
}
.trsc-surveypage-navigation-item:hover {
    color: black;
    background-color: #baffd5; /* Light neon green */
}
.trsc-surveypage-navigation-item-checkoff {
    font-style: italic;
}
.trsc-surveypage-navigation-item-checked {
    color: forestgreen;
    font-weight: bold;
    letter-spacing: -.5px;
}
.trsc-surveypage-navigation-item-checked::after {
    content: ' \221a';
}
.trsc-surveypage-navigation-item-current {
    /* background-color: #7fc098;  Darker neon green */
    color: white;
    background-color: #008881;
}
.trsc-surveypage-rightsidebar-sectiontitle {
    margin: 50px -10px 0 -10px;
    padding: 10px 0 5px 0;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-top: 2px solid gray;
}
.trsc-surveypage-rightsidebar-sectiontitle:first-of-type {
    margin: 10px 0 0 0;
    border: none;
}
.trsc-survey-separator-sectionTitle {
    margin: 50px -10px 0 -10px;
    padding: 10px 0 5px 0;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-top: 2px solid gray;
}
.trsc-survey-separator-sectionTitle:nth-child(2) {
    margin: 10px 0 0 0;
    border: none;
}
.trsc-surveyItem-special-contentsTitle, .trsc-surveyItem-special-contentsItem {
    padding: 3px 0;
}
.trsc-surveyItem-special-contentsTitle {
    margin-top: 5px;
    font-size: 18px;
    font-weight: bold;
}
.trsc-surveyItem-special-contentsItem {
    cursor: pointer;
    font-size: 15px;
    color: #0083f5; /* Standard webkit link color. */
}
.trsc-surveyItem-special-contentsItem:hover {
    text-decoration: underline;
}
.trsc-surveypage-gotobutton {
    position: 'absolute';
    top: '-5px';
    right: '2px';
    font-size: '11px';
    outline: 'none';
}
.trsc-surveypage-takeabreak-container {
    margin: 40px 10px 40px 10px;
    padding: 0 10px 10px 10px;
    text-align: center;
    border: 1px solid rosybrown;
    border-radius: 10px;
    background-color: antiquewhite;
}
.trsc-surveypage-takeabreak-container p {
    text-align: left;
}
.trsc-surveypage-takeabreak-progressbar {
    margin: 5px auto; 
    height: 20px; 
    background: white;
    border: 1px solid var(--rounded-border-color-standard); 
}
.trsc-surveypage-takeabreak-progressindicator {
    width: 0; 
    height: 100%; 
    background: var(--rounded-border-color-standard); 
    font-size: 14px; 
    text-align: center; 
    color: white;
}