/* ----- The five node types ----- */
:root { 
    /* These variables are also used by PtrTextEditor.css. ========================== */
    --bg-color-claim:  #cca4cd; /* Light purple */ 
    --bg-color-intcon: #ffcccc; /* Light orange pink */
    --bg-color-rule:   #ffff7f; /* 50% yellow */
    --bg-color-fact:   #c9e9de; /* Light green */
    --bg-color-rclaim: #c1e8ff; /* Light neon blue */
    --bg-color-truth:  #ebebeb; /* Very light gray. This is 10% gray. */

    /* These are used only in this file. ============================== */
    --bg-color-rule-lighter: #ffffdd;   /* Lighter than 50% yellow, for map node header. */
    --bg-color-rule-darker:  #e3e300;   /* Darker than 50% yellow, for markup border. */
    --bg-color-truth-type-bkg: #d0cece; /* A slightly darker gray, for mark type background. */
    --bg-color-truth-border: #b0b0b0;   /* Light medium gray, for text border. */

    --bg-color-articles-header: #4e89c1; /* Lighter than selected tab, which is medium dark blue. */
    --bg-color-editor-toolbar:  #f3f5f7; /* Slightly darker than GhostWhite, more blue. */
}
/* Claims and ICs have no database text. */
.arg-mark-claim .arg-mark-type, .arg-mark-button-claim { background: var(--bg-color-claim); }
.arg-mark-claim .arg-mark-type                       { border-color: var(--bg-color-claim); }
.arg-mark-claim .arg-mark-text                       { border-color: var(--bg-color-claim); }

.arg-mark-intcon .arg-mark-type, .arg-mark-button-intcon { background: var(--bg-color-intcon); }
.arg-mark-intcon .arg-mark-type                        { border-color: var(--bg-color-intcon); }
.arg-mark-intcon .arg-mark-text                        { border-color: var(--bg-color-intcon); }

.arg-mark-rule .arg-mark-type, .arg-mark-button-rule { background: var(--bg-color-rule); }
.arg-mark-rule .arg-mark-type                      { border-color: var(--bg-color-rule-darker); }
.arg-mark-rule .arg-mark-text                      { border-color: var(--bg-color-rule-darker); }
.arg-mark-rule .arg-mark-database                  { border-color: var(--bg-color-rule-darker); }

.arg-mark-fact .arg-mark-type, .arg-mark-button-fact { background: var(--bg-color-fact); }
.arg-mark-fact .arg-mark-type                      { border-color: var(--bg-color-fact); }
.arg-mark-fact .arg-mark-text                      { border-color: var(--bg-color-fact); }
.arg-mark-fact .arg-mark-database                  { border-color: var(--bg-color-fact); }

.arg-mark-rclaim .arg-mark-type, .arg-mark-button-rclaim { background: var(--bg-color-rclaim); }
.arg-mark-rclaim .arg-mark-type                          { border-color: var(--bg-color-rclaim); }
.arg-mark-rclaim .arg-mark-text                          { border-color: var(--bg-color-rclaim); }
.arg-mark-rclaim .arg-mark-database                      { border-color: var(--bg-color-rclaim); }

.arg-mark-truth .arg-mark-type                          { background: var(--bg-color-truth-type-bkg); } 
.arg-mark-button-truth                                  { background: var(--bg-color-truth); }
.arg-mark-truth .arg-mark-type                          { border-color: var(--bg-color-truth-type-bkg); }
.arg-mark-truth .arg-mark-text                          { border-color: var(--bg-color-truth-border); }
.arg-mark-truth .arg-mark-database                      { border-color: var(--bg-color-truth-border); }

/* .arg-mark-button-rule { background: var(--bg-color-rule-lighter); } */

/* ----- Markup ----- */
.arg-mark-type, .arg-mark-database, .arg-mark-text { 
    border-width: 2px; border-style: solid; border-left: none;
    border-top: none; /* Test to see how no box looks. Looks better so use it. */
}
.arg-mark-database { color: gray; display: none; } /* The color of marked node database text. */

/* ----- Button bar ----- */
.trs-editor-buttonbar {
    background-color: var(--bg-color-editor-toolbar);
}
.arg-mark-button {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    /* font-family: "Trebuchet MS", "Helvetica Neue", Helvetica, Tahoma, sans-serif; */
    font-size: 15px;
    padding: 3px 8px;
    border: 1px solid gray;
    border-top: 1px solid darkgreen;
    cursor: default;
    /* display: inline-block; */
}
.arg-mark-button:hover {
    background-color: DodgerBlue; /* Same as in PtrMain.css for the shell. */
    color: white;
}
.arg-mark-button:active {
    background-color: rgb(0, 111, 221);
    padding-left: 9px;
    padding-right: 7px;
}
.arg-mark-page-number, .arg-mark-rclaim-status {
    margin: auto 0 auto 13px;
    display: inline-block;
    font-size: 12px;
}
/* .arg-mark-rclaim-status {
    margin: auto 0 auto 13px;
    display: inline-block;
    font-size: 12px;
} */
/* ----- TinyMCE ----- */
.mce-container {
    border-width: 0;
}
/* 
Note that .mce-content-body is not requied, since an iframe is used. Can remmove it. ===================
But when claim-check articles are published, we will need a wrapper class. So keep it but rename it. 
*/
.mce-content-body  h1, .mce-content-body  h2, .mce-content-body  h3, .mce-content-body  h4,
.mce-content-body  h5, .mce-content-body  h6 {
    font-family: georgia,"times new roman",times,serif;
    font-weight: 700;
    /* margin: 40px 0 10px 0; */
    padding: 0;
} /* h1 is modeled after the NYTimes.  */
.mce-content-body  h1 { font-size: 2.125em; margin: 0 0 10px 0; }
.mce-content-body  h2 { font-size:  1.5em; font-family: Arial, Helvetica, sans-serif; margin-top: 35px; }
.mce-content-body  h3 { font-size:  1.2em; font-family: Arial, Helvetica, sans-serif; }
.mce-content-body  h4 { font-size:  1.1em; }
.mce-content-body  h5 { font-size:  1.0em; }
.mce-content-body  h6 { font-size:  1.0em; font-family: Arial, Helvetica, sans-serif; }

.mce-content-body p, .mce-content-body  blockquote, .mce-content-body  li {
    font-family: Georgia, "times new roman", times, serif;
    font-size: 17px;   
    line-height: 22px; /* To get markup lines to touch perfectly. */
    margin: 15px 0 15px 0; /* 10px on right for scrollbar. */
    padding: 0;
}
.mce-content-body  blockquote {
    font-style: italic;
    /* line-height: 1.6em; /* Causes marked node lines to not touch. */
    margin: 15px 30px;
    /* padding: 10px; */
}
.mce-content-body  pre {
    font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
    font-size: 14px;
    margin: 15px 30px;
    padding: 10px;
    /* line-height: 1.5em; */
    background-color: GhostWhite;
    display: block;
    white-space: pre-wrap;
}
.mce-content-body  figure {
    margin: 0;
}
.mce-content-body  a:link {
    text-decoration-line: none;
}
/* Margin set is better than none, but improperly aligned if align left. ============= */
.mce-content-body img {
    margin: 5px; 
    max-width: 100%;
    height: auto;
}
.trs-img-responsive {
    margin: 4px 5px 5px 5px;
    max-width: 100%;
    height: auto;
}
/* ----- Redactor - NO LONGER NEEDED ------ */
.redactor-box {
    margin: 0;
    padding: 0; /* 0 0 10px; /* None on right due to vertical scrollbar. */
    background: white;
    /* border: 1px solid LightGray; */
    border: none;
    /* display: flex;
    flex-direction: column; */
}
.redactor-focus { /* Can't see this is doing anything. ==================  */
    border-color: #82b7ec; 
}
.redactor-toolbar {
    padding: 5px 10px 1px 10px;
    background-color: var(--bg-color-editor-toolbar);
    border-bottom: 1px solid lightgray;
}
.redactor-toolbar a, .redactor-air a {
    cursor: default;
}
.redactor-dropdown a  {
    padding: 5px 8px;
}
.redactor-toolbar a.re-button-icon, .redactor-air a.re-button-icon {
    padding: 6px 10px 3px 10px;
}
/*  Let's hope the toolbar is not needed elsehere. This is shown on click image, not needed. 
    Using pointer-events: none; causes resize handle to not appear. */
.redactor-context-toolbar {
    opacity: 0;
    /* pointer-events: none; */
}
.redactor-dropdown {
    max-height: 500px;    
}
/* ----- Markup in the article ----- */
/* ----- Marked node type and text ----- */
.arg-mark-type {
    padding-bottom: 1px;
    font-weight: bold;
    cursor: default;
    /* Allow user to select entire type text with one click, for ease in drag and drop. */
    /* Bug, no effect in Chrome. ============= */
    -webkit-touch-callout: all;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    user-select: all;
}
.arg-mark-text, .arg-mark-database  {
    padding: 0 6px 1px 6px;
}
.arg-mark-text {
    border-left: none; 
}
.arg-mark-selected {
    position: relative; /* So appears over other touching marks. */
}
.arg-mark-selected .arg-mark-type, .arg-mark-selected .arg-mark-text, .arg-mark-selected .arg-mark-database  {
    /* border: 2px solid black; */
    border-bottom: 2px solid black;
}
/* .arg-mark-selected .arg-mark-type {
    font-size: 17px; 
    font-weight: bold;
} */
.arg-mark-selected .arg-mark-text, .arg-mark-selected .arg-mark-database  {
    border-left: none;
}
.arg-mark-selected .arg-mark-type, .arg-mark-selected .arg-mark-text, .arg-mark-selected .arg-mark-database  {
    padding-bottom: 0; /* Allow double width border to show on multiple lines. */
}
/* ----- NEW Toggle visibility of various portions of markup ----- */
/* The default is to show only the mark of the what's in the text and not the database text. */
.arg-mark-hide-mark .arg-mark-type {
    display: none;
}
.arg-mark-hide-mark .arg-mark-text {
    background-color: initial;
    border: none;
    padding-left: 0;
    padding-right: 0;
}
.arg-mark-show-database .arg-mark-database {
    display: inline; /* Normally it is display none. */
}
.arg-mark-show-only-highlight .arg-mark-type {
    display: none;
}
.arg-mark-show-only-highlight .arg-mark-text {
    background-color: none;
    border: none;
    border-bottom: 1px dashed gray;
    padding-left: 0;
    padding-right: 0;
}
/* ----- Images ----- */


/* Responsive, image only scales down. */
/* .arg-mark-image-left, .arg-mark-image-right, .arg-mark-image-center { 
    max-width: 100%;
    height: auto;
}
.arg-mark-image-left {
    float: left;
    margin: 5px 15px 10px 0;
}
.arg-mark-image-right {
    float: right;
    margin: 5px 0 10px 10px;
}
.arg-mark-image-center {
    display: block;
    margin: 10px auto 10px auto;
}
.arg-mark-image-border {
    border: 1px solid gray;
} */
/* ----- Claim check box ----- */
.trs-claim-check-box, .trs-rule-box {
    float: right;    
    margin: 5px 0 5px 8px;
    background: url(ClaimCheckBoxBackground.jpg) top center repeat;
    overflow: hidden;
}
.trs-claim-check-box {
    padding: 15px 5px 10px 10px;
    width: 320px;
    border: 5px solid #3f88d0;
    border-radius: 40px;
}
.trs-claim-check-box-heading {
    font-family: Arial, Helvetica, sans-serif;
    color: #3f88d0;
    font-size: 19px;
    font-weight: bold;
    text-align: left;
    line-height: 17px;
    margin: 0 0 2px 0;
}
.trs-claim-check-box-text {
    font-family: georgia,"times new roman",times,serif;
    font-size: 15.5px;
    margin: 0 0 10px 0;
    line-height: 20px;
}
.trs-claim-check-box-claim {
    font-weight: bold;
    font-size: 16px;
}
/* ----- Rule box ----- */
.trs-rule-box {
    width: 300px;
    border: 3px solid #3f88d0;
    border-radius: 20px;
}
.trs-rule-box-title {
    padding: 5px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    background-color: var(--bg-color-rule-lighter);
    border-bottom: 1px solid cadetblue;
}
.trs-rule-box p {
    margin: 10px 0;
    padding: 0px 5px 0px 8px;
    font-size: 15.5px;
    line-height: 20px;
}
/* ----- Rating Dial ----- */
.trs-claim-check-box-dial { /* The static image version */
    display: block;
    margin: -5px auto -10px auto;
}
/* The adjustable version */
.trs-dial-and-description-container {
    margin: -5px 0 5px 0;
}
.trs-dial-container { 
    position: relative; 
    display: inline-block;
    margin-left: 10px;
}
.trs-dial-container, .trs-dial-container img, .trs-dial-text, .trs-dial-percent {
    width:  155px;
}
.trs-dial-container img {
    margin: 0;
}
.trs-dial-arrow, .trs-dial-text, .trs-dial-percent { 
    position: absolute;
    display: flex; 
    justify-content: center;
}
.trs-dial-text, .trs-dial-percent {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.trs-dial-text {
    padding-top: 105px;
    font-size: 14px;
}
.trs-dial-percent {
    padding-top: 121px;
    font-size: 18px;
}
.trs-dial-description {
    float: right;
    padding: 28px 10px 0 0;
    width: 129px;
    color: Gray;
    font-size: 12px;
    cursor: default;
}
/* ----- Article summary box button. Says "Show Markup". ----- */
.trs-claim-check-box-button { 
    font-size: 12px;
    padding: 1px 5px 2px 5px;
    margin: 0 5px;
    border: 1px solid gray;
    border-radius: 7px;
    background-color: rgb(223, 223, 223);
    cursor: pointer;
    /* Center the element */
    /* position: relative;
    left: 50%;
    transform: translateX(-50%);  */
    /* Prevent selection and editing of button */
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.trs-claim-check-box-button:hover  {
    background-color: rgb(206, 206, 206); /* Slightly darker */
}
.trs-claim-check-box-button:active {
    box-shadow:0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;
    padding-left: 5px;
    padding-right: 3px;
}
/* ----- Various ----- */
.trs-info-panel-test-photo1, .trs-info-panel-test-photo2 { 
    padding-top: 50px;
    margin: 0 10px 0 5px;
    width: 200px;
    height: 110px;
    border: 2px solid black;
    float: right;
    text-align: center;
    background: gainsboro;
}
.trs-info-panel-test-photo2 {
    width: 150px;
    background: bisque;
}