/*
 * monitor/wapp/css/cyrin.css : Main CYRIN Range Management styles.
 *
 * Copyright 2014-2025, Architecture Technology Corporation.  All rights reserved.
 */

html,body {
	height:100%;
	background: #FFFFFF;
    font-family: Verdana,Arial;
}

a,img {
	border:none;
	outline:none;
}

h1,h2,h3 {
	color: #37547B;
	font-weight: normal;
}

h4,h5,h6 {
	color: #647FAD;
	font-weight: normal;
}

p, label, legend {
	color: #57575F;
}

code {
    color: #27272A;
}

.heading {
	font-weight: bold;
}

input:disabled + label {
    color:#ccc;
}

input[type=password].form-control, input[type=text].form-control, select.form-control, textarea.form-control {
    /* override w2ui resets for Bootstrap forms */
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    color: #495057;
    background-color: #fff;
}

div.icon-upload .w2ui-upload {
    /*width: 100% !important;*/
    padding: 8px !important;
    text-align: left !important;
}
div.icon-upload .w2ui-upload > span {
    line-height: unset !important;
}

.debrief-table {
    margin-left: auto;
    margin-right: auto;
}

.debrief-table .label {
	text-align: right;	
	font-weight: bold;
	font-size: 13px;
	padding-right: 0.5rem;
}

.debrief-table .value {	
	font-size: 13px;
}

#skillsTable tr, #hintsTable tr {
	text-align: center;
	font-size: 13px;
}
#skillsTable tr.goalMet {
	background:#a9e6a9;
}
#hintsTable tr.hintViewed {
	background:#a9a9e6;
}


.cyrin_table_header {
	background: #37495C; 
	color: white;
}


.cyrinmain {
	width: 90%;
	height: 600px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	
}


a {
    font-family: arial;
}

#results {
    border: 1px solid;
    background: #EEE;
    padding: 20px 30px 20px 30px;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}

.team-flag {
    width: 1rem;
    height: 1rem;
}
.team-flag-lg {
    width: 4rem;
    height: 4rem;
}
.team_summary_results {
    border-style: solid;
    border-width: 1;
    border-color: #aaa;
    min-height: 210px;
}
.team_summary_results > h4 {
    margin-left: auto;
    margin-right: auto;
}

.result-success {
    color: #4bb543;
}

.result-error {
    color: #ff0000;
    font-style: italic;
}

.admin-error {
    background: #EEE;
    padding: 20px 30px 20px 30px;
}


.login-screen {
	width: 600px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 60px;
	margin-bottom: auto;
	padding: 30px;
	background: #AFC2FF;
    border-style: solid;
	border-radius: 20px/10px;
    border-width: 2;
	box-shadow: rgb(150,150,150) 5px 5px 10px;
}

.login-error {
    width: 400px;
    margin-right: auto;
    margin-left: auto;
    padding: 5px;
    color: #ff0000;
    font-style: italic;
}


.nav {
	width: 20%;
	margin-top: 80px;
	text-align: right;
	float: left;
}
.main {
	margin: 80px 0px 0px 20px;
	float: left;
}

.description {
	margin: 80px 0px 0px 20px;
    float: left;
 }


.exdiv {
	width: 50%;
	padding: 10px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	border-style: solid;
	border-radius: 5px;
	border-width: 1px;
}

.exname {
	background: #e0e0eb;
}

.copyright {
    margin-top: 32px;
    text-align: center;
    font-size: 8pt;
	color: #666666;
}

.exdesc {

	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
}


/* sys admin page items */
.configItem {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.configItem label {
    text-align: right;
    flex-shrink: 0;
    margin-top: 6px;
    margin-bottom: 6px;
    width: 13em;
}
.configItem label.checkboxLabel {
    text-align: left;
    width: auto;
    flex-grow: 1;
    flex-basis: 10px;
    margin-left: 4px;
}


.group-badge {
    pointer-events: all;
    float: left;
    margin: 3px 0 3px 3px;
    border-radius: 15px;
    width: auto;
    padding: 3px 10px 1px 10px;
    border: 1px solid #b4d0de;
    background-color: #eff3f5;
    white-space: nowrap;
    cursor: default;
    font-family: OpenSans;
    font-size: 11px;
    line-height: 100%;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.group-overflow:not(.group-expanded) {
    padding-right: 30px!important;
    text-overflow: clip!important;
}

.group-overflow:not(.group-expanded)::after {
    content: "...";
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-left: 7px;
    border: solid 1px lightgray;
    border-radius: 5px;
    padding: 0px 5px 5px 5px;
    height: 15px;
    top: 4px;
}


/* context menu configuration */
.contextMenu{
    padding: 0px;
    margin: 0px;
    border: none;
    position: absolute;
    z-index:1000;
}

menu {
    display: block;

    margin: 0;
    padding: 3px 0 4px;

    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.35);
    border-radius: 4px;

    font-size: 14px;
    line-height: 15px;
    float:left;
}

menu::before {
    display: block;
    position: absolute;
    content: "";
    top: -1px;
    left: -1px;
    bottom: -1px;
    right: -1px;

    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    z-index: -1;
}

menu hr {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, 0.10);
    margin: 6px 1px 5px;
    padding: 0;
}

menu menuitem {
    display: block;
    padding: 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    white-space: nowrap;
}

menu menuitem.disabled {
	color: #ccc;
}

menu menuitem::after {
    vertical-align: 2px;
    content: attr(label);
}

menu menuitem:hover {
    background: -webkit-linear-gradient(top, #648bf5, #2866f2);
    background: linear-gradient(to bottom, #648bf5 0%, #2866f2 100%);
    border-top: 1px solid #5a82eb;
    border-bottom: 1px solid #1758e7;
}

menu menuitem.disabled:hover {
    background: none;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

menu menuitem:hover::after {
    color: #fff;
}

menu menuitem.disabled:hover::after {
    color: #ccc;
}


/* Properties for Customize Run / Dry-Run */
div#customizeRunningBar {
  padding: 6px;
  font-weight: bold;
  background-color: #febc38;
  display: inline-block;
  box-shadow: 0 2px 5px;
  border-radius: 5px;
  pointer-events: auto;
}
div#customizeRunningBar button {
  font-weight: normal;
  margin-left: 10px;
  padding: 3px 0.75rem;
}
div.modal-body p, div.modal-body label, div.modal-body legend {
  font-size: 14px;
}
.select-buttons {
  margin-top: 6px;
}
.select-buttons button.btn-sm {
  font-size: 0.6875rem;
}
div.smallSelectVMtable {
    height: 8rem;
}


/* Fix w2popup when presented within another w2popup. */
.w2ui-popup .w2ui-popup-message {
  z-index: 1800;
}

.w2ui-overlay-body::-webkit-scrollbar, .better-scroll ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.w2ui-overlay-body::-webkit-scrollbar-track, .better-scroll ::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.w2ui-overlay-body::-webkit-scrollbar-thumb, .better-scroll ::-webkit-scrollbar-thumb {
    background: #88888888;
	border-radius: 30px;
}
.w2ui-overlay-body::-webkit-scrollbar-thumb:hover, .better-scroll ::-webkit-scrollbar-thumb:hover {
    background: #999999ee;
}

/* Fix w2form fields being top aligned */
.w2ui-field > label {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.w2ui-field.w2ui-required:not(.w2ui-field-inline)>div::before {
    margin-top: 8px;
    margin-left: -10px;
}

.w2ui-grid .w2ui-grid-header {
    background-color: #edefef;
}

.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-even, .w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even {
    background-color: #f8f8f8;
}

.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even:hover {
    color: inherit;
    background-color: #f0f0f0;
}

/* Fix w2form radio button groups with long labels */
#form[name=exportForm] .w2ui-box-label > input[type=radio] + span {
    width: 90%;
    vertical-align: top;
    font-size: 115%;
    margin-bottom: 1rem;
}

#form[name=exportForm] .w2ui-field.w2ui-span6>label,
#form[name=importForm] .w2ui-field.w2ui-span6>label {
    align-items: start;
}

/* Task progress modals */
.task-progress {
    margin: 2rem 1rem 2rem 1rem;
}
.task-progress label {
    display: block;
}
.task-progress .progress {
    margin: 1rem auto 1rem auto;
    height: 1.5rem;
    background-color: #aaaaaa;
}
.task-progress .progress-bar {
    padding: 5px;
}

#bottomStatusBar {
    position: fixed;
    bottom: 5px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    pointer-events: none;
}

.CodeMirror.CodeMirror-wrap {
	height: calc(100% - 4.5rem);
}