﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Noto+Sans');

:root {
    /*--ey-black: #333;*/
    --ey-black: #2e2e38;
    /*--ey-gray: #808080;*/
    --ey-gray: #2e2e38;
    --ey-gray-tint-2: #c0c0c0;
    --ey-gray-tint-3: #f0f0f0;
    --ey-link-blue: #155cb4;
    /*--ey-link-blue: #336699;*/
}

html 
{
    position: relative;
    min-height: 100%;
}
body {
	background: var(--ey-gray-tint-3);
	font-size: .85em;
	font-family: 'Noto Sans', sans-serif;
	margin: 0 0 70px;
	padding: 0;
	color: #141412;
}
#main a {
    font-size: 1em !important;
    font-family: 'Noto Sans', sans-serif !important;
}
a:link, input[type=submit].link {
    color: var(--ey-link-blue);
    text-decoration: underline;
}

a:visited {
    color: var(--ey-link-blue);
}

a:hover, input[type=submit].link:hover {
    color: var(--ey-link-blue);
    text-decoration: none;
}

a:active, input[type=submit].link:active {
    color: var(--ey-link-blue);
}
th a {
	text-decoration: none !important;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

.links a 
{
    margin-right: 15px;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 20px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
header, #header {
	position: relative;
	margin-bottom: 0px;
	color: var(--ey-gray-tint-3);
	background: var(--ey-black);
}
header #logindisplay a {
	color: var(--ey-gray-tint-2);
}
header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}
#main 
{
    padding: 5px 30px
}

footer, 
#footer {
	position: absolute;
	left: 0;
	bottom: 0;
	background: var(--ey-black);
	color: white;
	text-align: right;
	width: 100%;
}
footer div 
{
    margin: 20px;
}
.full 
{
    width: 100%;
}
.medium 
{
    width: 500px;
    float: left;
    margin-right: 50px;
}
.left 
{
    float: left;
}
.right 
{
    float: right;
}
.medium table 
{
    width: 100%;
}
.short 
{
    max-height: 100px !important;
}
.center 
{
    text-align: center;
}
.content-box 
{
    margin-left: 40px;
}
#site-title {
    text-align: left;
    /*padding: 35px 20px 30px;*/
    padding: 4px 20px 0px;
    font-size: 30px;
    display: flex;
    align-items: baseline;
}
#site-title span {
	margin-left: 25px;
}
#title img 
{
    width: 350px;
}
#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    float: right;
}

#logindisplay a:link {
    text-decoration: underline;
}

#logindisplay a:visited {
    text-decoration: underline;
}

#logindisplay a:hover {
    text-decoration: none;
}

#main h2 {
	color: var(--ey-black);
	font-weight: bold;
	font-size: 17px !important;
}

/* TAB MENU   
----------------------------------------------------------*/
nav {
    width: 100%;
    font-size: 18px;
    background: var(--ey-black);
    color: var(--ey-gray-tint-3);
}

nav ul {
    padding: 0px;
}

#nav {
    list-style: none;
    position: relative;
    z-index: 5;
    margin: 0px auto;
}

#nav li {
    display: inline-block;
    position: relative;
}

#nav a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    text-align: left;
    line-height: 1;
    font-size: 15px;
}

#nav ul {
    background: var(--ey-black);
    list-style: none;
    position: absolute;
}

#nav ul li {
    float: none;
}

#nav ul li a {
    width: 140px;
}

#nav ul a {
    white-space: nowrap;
}

#nav li:hover ul {
    left: 0;
}

#nav li:hover a {
    background: #333;
}

#nav li:hover ul a {
    text-decoration: none;
}

#nav li:hover ul li a:hover {
    background: #666;
}

.menuParent{

}
.menuParent ul li ul {
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    transition: all 0.5s ease;
    left: 0;
    display: none;
}

.menuParent ul li:hover > ul, ul li:focus-within > ul, ul li ul:hover, ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block;
    background: #333;
}

.menuParent ul li ul li {
    clear: both;
    width: 100%;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.1em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
    font-family: inherit;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 300px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

.number 
{
    width: 50px !important;
    text-align: center;
}

.form-controls 
{
    text-align: center;   
}
/* TABLE
----------------------------------------------------------*/
table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
    margin-top: 10px;
    width: 100%;
}

table tr:nth-child(odd), .checkbox-item-list div.checkbox:nth-child(odd)
{
    background: #F8FAFC;
}
table td {
    padding: 5px;
    border: solid 1px #e8eef4;
    text-align:center;
}

table .med-width 
{
    max-width: 100px;
}

table .large-width 
{
    max-width: 200px;
}

table .currency 
{
    text-align:right;
    /*float:right;*/
}

table th {
    padding: 6px 5px;
    text-align: center;
	background: var(--ey-gray);
    color: White;
    border: solid 1px #e8eef4;
    text-align:center;
    font-size: 1em !important;
    font-weight: 100;
}

table th a 
{
    color :White !important;
}

td.cell-red {
    /*background-color: rgba(255,0,0,0.24);*/
    background-color: #FF9A91;
}

td.cell-yellow {
    /*background-color: rgba(255,195,0,0.33);*/
    background-color: #FFE600;
}

td.cell-green {
    /*background-color: rgba(0,168,25,0.3);*/
    background-color: #8CE8AD;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

th input[type=submit].link 
{
    font-weight: bold;
}
input[type=submit].link 
{
    background:none!important;
    border:none; 
    padding:0!important;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}
.load-bar-small 
{
    width: 80px;
}
.warning {
    background-color: #FFF5CB !important;
}
.invalid {
    background-color: #ffd9d9 !important;
}
.valid 
{
    /*background-color: #dbffd9 !important;*/
}
pre 
{
    font-family: inherit;
}
.detail-item span 
{
    display: inline-block;
}
.detail-item .key 
{
    text-align: center;
    width: 20px;
}
.detail-item .val 
{
    width: 150px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    /*color: #ff0000;*/
    color: #9e0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    /*background-color: #ffeeee;*/
}

.validation-summary-errors {
    font-weight: bold;
    /*color: #ff0000;*/
    color: #9e0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
    font-weight: bold;
}
.display-field 
{
    max-height: 500px;
    overflow: auto;
    overflow-x: hidden;
}
.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
    margin-left: 20px;
}

input[type=number] {
    width: auto;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}
.checkbox-list 
{
    margin-left: 20px;
}
.large-input 
{
    width: 600px !important;
}
.medium-input 
{
    width: 30% !important;
}
.small-input 
{
    width: 10% !important;
}

#data-row td select{
    width:97%;
}

#search-term-row td select {
    width: 97%;
}

#newSearchTerms td select{
    width: 97%;
}

.view-message {
    /*color: #c1b47e;*/
    color: #2DB757;
    font-weight: bold;
    font-style: italic;
    text-align: center;
}

/*********************************************************
Role Index
*********************************************************/
.role-index form 
{
    float: left;
    margin-left: 20px;
}
.role-index table 
{
    display: block;
}

/*********************************************************
Check Box List
*********************************************************/
.checkbox-item-list 
{
    overflow: scroll;
    max-height: 500px;
}
div.checkbox 
{
}
.checkbox-link 
{
    float:right;
    margin-right: 15px;
}

/*********************************************************
Search Terms
*********************************************************/
.search-term-item table
{
    margin-top: 0px;
}

/*********************************************************
Disable Search Term Div
*********************************************************/
.disableddiv {
    pointer-events: none;
    opacity: 0.6;
}

.btn-submit {
    height: 25px;
    padding: 0 10px !important;
    font-size: 1em !important;
    cursor: pointer;
    background-color: #ffe600;
    border-radius: 3px;
}

.input-box {
    padding: 8px !important;
    border-style: none none solid none !important;
    border-color: transparent transparent #bababa transparent !important;
    border-width: 0 0 .0714285714rem 0 !important;
    border-radius: 0 !important;
    background: #fafafa !important;
    box-shadow: none !important;
    color: #1a1a24 !important;
    height: 12px !important;
    font-size: 1em !important;
    font-family: 'Noto Sans', sans-serif !important;
}

.input-editor {
    margin: 0.5em 0 0 0 !important;
}

.input-editor-label {
    margin: 1em 0 0 0 !important;
    text-shadow: 0.1px 0.1px 0.1px #2e2e38;
}

.input-select {
    padding: 0 !important;
    border-style: none none solid none !important;
    border-color: transparent transparent #bababa transparent !important;
    border-width: 0 0 .0714285714rem 0 !important;
    border-radius: 0 !important;
    background: #fafafa !important;
    box-shadow: none !important;
    height: 30px !important;
    font-size: 1em !important;
    font-family: 'Noto Sans', sans-serif !important;
}

.editor-label-side {
    margin: 20px 20px 0px 0 !important;
    float: left !important;
}

.editor-field-side {
    margin: 15px 20px 0px 0 !important;
    float: left !important;
}

.editor-field-link-side {
    margin: 18px 0px 0px 0 !important;
}