/* BASIC & GENERAL ELEMENTS ---------------------- */
* {
    box-sizing: border-box;
}
body {
	margin-left: auto;
	margin-right: auto;
	margin-top: 5pt;
	margin-bottom: 5pt;
    max-width: 640px;
	font-family: Futura, Arial, sans-serif;
    /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
}
h1 {
    margin-top: 10pt;
	margin-bottom: 8pt;
    font-family: Arial, sans serif;
    text-align: center;	
    color: darkslategray;
}
h2 {
    margin-top: 6pt;
    margin-bottom: 6pt;
    padding: 4pt;
    font-family: Tahoma, Arial, sans serif;
    font-size: 1.2em;
}
h2.blueBackground {
    background-color: whitesmoke;
}
h3 {
    margin-top: 6pt;
    margin-bottom: 3pt;
	font-family: Tahoma, Arial, sans serif;
}
a {
    color: royalblue;
}
a:hover {
	color: red;
}
p {
    margin-left: 4px;
    margin-top: 12px;
    margin-bottom: 8px;
    line-height: 1.3;
}
ol {
    padding-left: 45px;
	padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 5px;
}
ul {
    list-style-image: url(Images/ulLine.png);
    padding-left: 45px;
	padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 5px;
}
ul li, ol li {
    margin-top: 6pt;
    line-height: 1.2;
}
.ulSquare {
    list-style-image: none;	
    list-style-type: square;
}
.ulDisc {
	list-style-image: none;
	list-style-type: disc;
}
.ulCircle {
	list-style-image: none;
	list-style-type: circle;
}
.ulTriangle {
    list-style-image: url(Images/ulTriangle.png);
    padding-left: 25pt;	
}
.ulLine {
    list-style-image: url(Images/ulLine.png);
}
table {
	margin: auto;
	border-collapse: collapse;
}
table, td {
	border: 1px solid black;
	padding: 5px;
	text-align: center;
}


/* FORMS -- FORMS -- FORMS -- FORMS -- FORMS ----------------- */
form {
	padding: 2px;
}
form fieldset {
    border-radius: 5px;
    background-color: #f3f7fc;
    padding: 4px;
}
label {
	margin-top: 4px;
    padding: 4px;
    display: inline-block;	
}
form input, select, textarea {
    width: 100%;
	border: 1px solid darkslategrey;
	border-radius: 3px;
	margin-top: 4px;
    padding: 4px;
	font-family: Futura, Arial, sans serif;
    font-size: 1em;
}
form input[type=text]:focus, select:focus, textarea:focus {
    border: 2px solid #555;
}
form input[type=submit].defaultScriptsM {
    width: 20%;
    border: 1px solid #555;
    background-color: #2196F3;
    color: white;	
}
form input[type=submit].defaultScriptsM:hover {
    background-color: royalblue;
}
.col-20 {
    float: left;
    width: 20%;
    margin-top: 6px;
}
.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}
.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}
.col-80 {
    float: left;
    width: 80%;
    margin-top: 6px;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
/* Responsive layout - when the screen is less than 600px wide, make 
the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}


/* EMPHASIS -- DE-EMPHASIS -- EMPHASIS -- DE-EMPHASIS -------- */
em {
    font-style: normal;
    font-weight: bold;
}
.em_info_level_1 {
    padding: 2px;
    background-color: greenyellow;
	border-radius: 2px;
}
.em_info_level_2 {
    padding: 2px;
    background-color: lightcyan; /*#e6f9ff*/
	border-radius: 2px;
}
.em_info_level_3 {
    padding: 2px;
    background-color: gainsboro;
	border-radius: 2px;
}
.emItalic {
    font-weight: normal;
    font-style: italic;
}
.emSize {
    font-style: normal;
    font-weight: normal;
    font-size: 1.1em;
}
.emColorHot{
    padding: 2px;
    background-color: mistyrose;
	border-radius: 2px;
}
.emColorBlue{
    padding: 2px;
    /*background-color: #eaffff;*/
    background-color: #e6f9ff;
	border-radius: 2px;
}
.emColorRed{
    padding: 2px;
    background-color: Tomato;
    /*background-color: Tomato;*/
	border-radius: 2px;
}
.small_text {
    font-size: 0.9em;
}


/* HEADER -- HEADER -- HEADER -- HEADER ---------------- */
header {
	padding: 4px;
}
header h1 {
	margin-top: 5px;
    margin-bottom: 1px;
    margin-left: 15px;
    color: #2196F3;
	text-align: left;
    font-size: 1.4em;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: inline-block;
}
header h2 {
	font-size: 1.2em;
}
.accounts {
    float: right;
}
header a {
	padding: 4px;
    color:#2196F3;
    font-size: 0.95em;
}		
header button {
	padding: 4px 6px 4px 6px;
    border: 1px solid #555;
    border-radius: 3px;
    background :#2196F3;
    color:white;
    font-size: 0.95em;
}
header button:hover {
    background-color: royalblue;
}


/* NAV --- NAV --- NAV --- NAV --- NAV --- NAV --------- */
nav {
    overflow: hidden;
    background-color: rgba(93, 178, 248, 0.548);
    border-radius: 3px;
    margin-bottom: 2px;
}
nav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 3px;
}
nav a:hover {
    background-color: #2196F3;
    color: white;
}
nav a.active {
    background-color: #2196F3;
    color: white;
}
nav fieldset {
    float: right;
    margin-right: 6px;
    padding: 0;
    background-color: rgba(93, 178, 248, 0.1);
    border: none
}
nav input[type=text] {
    width: 25ch;
    padding: 6px;
    border: none
}
nav input[type=submit] {
    width: 5ch;
    float: right;
    padding: 6px;
    border: 1px solid #555;
    background-color: #2196F3;
    color: white
}
@media screen and (max-width: 600px) {
    nav fieldset {
      float: none;
      display: block;
      width: 100%;
      margin: 0;
    }
    nav input[type=submit] {
        float: none;
    }
}

/* -- ACCORDION -- DISPLAY/HIDE -- ACCORDION -- DISPLAY/HIDE -- ACCORDION -------- */
 /* Style the buttons that are used to open and close the accordion panel */
button.accordion {
    cursor: pointer;
    display: block;
    border-radius: 4px;
    padding: 3px;
    border: none;
    outline: none;
}
button.accordion_subsection {
    background-color: #ebf9f4;
    margin-left: 10px;
}
button.accordion:after {
    content: '\02796'; /* Unicode character for "heavy plus" sign (+) */
    font-size: 0.9em;
    margin-left: 5px;
}
button.accordion.active:after {
    content: "\2796"; /* Unicode character for "heavy minus" sign (-) */
}
button.button_info_level_1 {
    margin: 6px 0px 6px 40px;
    background-color: white;
    color: royalblue;
    cursor: pointer;
    font-size: 1em;
    border-bottom: 1px dotted royalblue;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), 
    and when you move the mouse over it (hover) */
button.button_info_level_1.active, button.button_info_level_1:hover {
    background-color: #2196F3;
    color: white;
}
button.button_info_level_1:after {
    content: "\025B6"; /* Unicode character for black right-pointing triangle */
    color: royalblue;
    margin-left: 3px;
    text-decoration: none;
}
button.button_info_level_1.active:after {
    content: "\025B6"; /* Unicode character for black right-pointing triangle */
    color: white;
}
/* Style the buttons that are used to display and hide supplementary text (which must go in a panel just after) 
   These buttons are styled like links */
button.displayText {
    padding: 0pt 4pt 0pt 4pt;
    background-color: white;
    color: royalblue;
    font-size: 0.9em;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.4s;
}
button.displayText:hover {
    color: red;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0px 5px 5px 5px;;
    display: none;
    overflow: hidden;
} 
.info_level_1 {
    border-left: 10px solid #2196F3;
}


/* --- NOTES --- NOTES --- NOTES --- NOTES --- NOTES --- NOTES --- NOTES --- */
.note {
    display: none;
    border-radius: 2px;
    padding: 2px;
    margin: 0px;
}
form.insertNote {
    display: none;
}
form.displayNote {
    display: none;
    background-color: lightyellow;
}
form.editNote {
    display: none;
    background-color: lightyellow;
}
form input[type=submit].insertNote {
    width: 50pt;
    float: right;
    background-color: rgb(255, 252, 230);
    border-radius: 3px;
    font-size: 0.8em;
    cursor: pointer;
    padding: 1px 4px 1px 4px;
    border: none;
}
form input[type=submit].insertNote:hover {
    background-color: yellow;
}
.headNote {
    font-style: italic;
}
form input[type=submit].editNote {
    width: 70pt;
    float: right;
    background-color: rgb(255, 245, 153);
    font-size: 0.8em;
    border-radius: 3px;
    cursor: pointer;
    padding: 1px 4px 1px 4px;
    margin: 0px 4px 0px 0px;
    border-left: none;
    border-top: none;
    border-right: 2px solid khaki;
    border-bottom: 2px solid khaki;
}
form input[type=submit].editNote:hover {
    background-color: gold;
}



/* -- FOOTER -- FOOTER -- FOOTER-- FOOTER-- FOOTER -- FOOTER ----------------- */
footer {
    display: block;
	margin-top: 4px;
	padding: 6px;
    border-radius: 2px;
    background-color: #85c5fa;
    /*background-color: rgba(93, 178, 248, 0.548);*/
    font-size: 0.9em;
	color: black;
}
footer a {
    color: white;
}
footer a:hover {
    background-color: whitesmoke;
	color: #2196F3;
}


/* -- SCRIPTSMED CLASSES -- CLASSES -- CLASSES -------------- */
.mainScriptItem_level_1 {
    margin-top: 18px;
    font-size: 1.0em;
}
.mainScriptItem_level_1:before {
    content: '\02610 \00a0';
}
.script_section {
    background-image: linear-gradient(to right, rgb(220, 220, 220, 1), rgb(242, 242, 242, 0.4));
    margin-top: 10px;
    padding-top: 10px;
    border-radius: 6px;
}
.evidence {
    font-size: 0.9em;
	opacity: 0.5;
}
#meta_data {
    font-size: 0.9em;
}
#meta_data h3, #meta_data p {
    margin-top: 0pt;
    margin-bottom: 0pt;
}
.messageBase {
	text-align: center;
    background-color: #e3f1ff;
    padding: 9px;
}
.messageError {
    background-color: #ffe6e6;
    color: #e00808;
}

/* Styles for search and list of scripts page (scriptsmedPageList.cshtml) */
.ScriptsList h2 {
    color: dimgray;
}
.ScriptsList ul {
    list-style-image: none; 
    list-style-type: none; 
    padding-left: 20px; 
    font-size: 1.1em;
}
.ScriptsList a {
    text-decoration: none;
}
.ScriptsList a:hover {
    text-decoration: underline;
}
.newScript {
    color: #e92fa5;
}

/* Styles for messages from validation helpers*/
.field-validation-error
{
    color: #e00808;
}
.field-validation-valid
{
    display: none;
}
.input-validation-error
{
    border: 1px solid #ff0000 !important;
    background-color: #f8e7e7 !important;
}

