/*
Rebranded Colors:
*/

:root {
    --hyland-teal: #13EAC1;
    --hyland-purple: #6E33FF;
    --hyland-blue: #52A1FF;
    --hyland-yellow: #F1CB61;
    --hyland-dark-blue: #191F5E;
    --hyland-dark-blue-tint1: #75799E; /* 60% tint */
    --hyland-dark-blue-tint2: #BABCCF; /* 30% tint */
    --hyland-gray: #F4F6FE;
    --hyland-dark-linear-gradient1: #000532; /* left */
    --hyland-dark-linear-gradient2: #194BAF; /* right */
    --hyland-light-linear-gradient1: #E0EBF6; /* left */
    --hyland-light-linear-gradient2: #F7FCFF; /* right */
    --default-border-color: #ccc;
    --default-background-color: #fff;
    --default-foreground-color: #000;
    --default-text-input-color: #444;
    --default-footer-color: #999;
    --error-color: red;
    --validation-background-color: #FFEEEE;
}

html {
    font-size: 11px /* base size */
}

body {
    background-color: var(--default-background-color);
    color: var(--default-foreground-color);
    background-image: url("img/thinline.png"); /* to retain vertical spacing for now */
    background-repeat: repeat-x;
    background-size: 100% 132px;  /* force horizontal stretching but preserve original height of PNG - must match! */
    font-family: hylfntw2,Verdana,Helvetica,Arial,Calibri,Sans-Serif;
    font-size: 1.3em; /* 1.3x bigger than "base" font-size */
    line-height: 1.05; /* base font size is now 11px from 10px as Source Sans 3 is slightly smaller than previous Verdana */
    margin: 0;
    padding: 0;
}

#bodybordertop {
    height: 4px;
    background: var(--hyland-dark-linear-gradient1); /* backup if below gradient not supported ??? */
    background: linear-gradient(to right,var(--hyland-dark-linear-gradient1),var(--hyland-dark-linear-gradient2));
}

a:link {
    color: var(--hyland-blue);
    text-decoration: underline;
}

a:visited {
    color: var(--hyland-purple);
}

a:hover {
    color: var(--hyland-purple) !important;
    text-decoration: none;
    border-bottom:1px solid var(--hyland-purple);
}

a:active {
    color: var(--hyland-teal);
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* hyland.com footer
----------------------------------------------------------*/
#bottom-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 100%;
}

#bottom-menu li {
    list-style-type: none;
    border-right: 1px solid var(--hyland-dark-blue);
}

#bottom-menu li:last-child {
    border:0;
}

#bottom-menu li a {
    color: var(--hyland-dark-blue);
    padding:0 3px;
    text-decoration: none;
}

#footer-copyright, #footer-trademarks {
    color: var(--hyland-dark-blue-tint2);
}
/*----------------------------------------------------------*/

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: var(--hyland-dark-blue); /* base color */
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
    font-size: 22px;
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1.45;    
    margin-bottom: 24px;    
    margin-top: 0px;    
}

/*--- not used ---------
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;
    min-width: 900px;
}

#advancedform {
    min-width: 1085px; /* keeps fieldsets from overlapping */
}

#editPartnerProductsForm {
    min-width: 1110px; /* keeps fieldsets from overlapping */
}

#header {
    position: relative;
    margin-bottom: 28px;
    padding: 0;
}

#header h1 {
    font-weight: normal;    
    padding: 5px 0;
    margin: 0;
    font-size: 18px; /* lexmark rebranding 32px -> 18px */
    font-size: 1.8rem;
}

#main {
    padding: 0px;
    background-color: var(--default-background-color);
    border-radius: 4px 0 0 0;
}

#footer {
    background-color: var(--default-background-color);
    color: var(--default-footer-color);
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    border-bottom: none;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: left;
}

ul#menu li {
    display: inline;
    list-style: none;
    margin-right: 22px;
}

ul#menu li a {
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: normal;
    padding-left: 0px;
}

#menu li a, #logindisplay a  {
    color: var(--hyland-dark-blue);
    text-decoration:none;
}

ul#menu li a:active {
    background-color: var(--hyland-teal);
    text-decoration: none;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid var(--hyland-dark-blue-tint2);
    padding:5px;
    margin: 0;
}

legend {
    font-size: 22px;
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1.45;
    color: var(--hyland-dark-blue);
    margin-bottom: 32px;
}

textarea {
    min-height: 75px;
    font-size: 1.1em;
    font-family: inherit;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid var(--default-border-color);
    padding: 5px;
    color: var(--default-text-input-color);
    width: 200px;
    font-family: inherit;
    font-size: inherit;
}

select {
    border: 1px solid var(--default-border-color);
    font-family: inherit;
    font-size: inherit;
    /* unfortunately cannot override browser's line-height for select/option (or have it take into effect) */
}

.ui-datepicker-year {
    width: 150px !important;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: var(--error-color);
}

nav, 
#menucontainer {
    margin-top: 40px;
}

div#title {
    right: 0px;
    position: absolute;
    top: -55px;
}

#logindisplay {
    font-size: 10px;
    font-size: 1.0rem;
    color: var(--hyland-dark-blue);
    display: block;
    text-align: right;
    float: right;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: var(--error-color);
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid var(--error-color);
    background-color: var(--validation-background-color);
}

.validation-summary-errors {
    font-weight: bold;
    color: var(--error-color);
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

/* Styles for my stuff
----------------------------------------------------------*/
table.borderless 
{
    border:0px;
    width:80%;
    border-spacing:0px;
    border-style:none;
}

table.borderless td
{
    padding: 0px;
    border:0px;
}

table.borderless th
{
    padding: 0px 0px;
}

table.user 
{
    border:0px;
    border-spacing:0px;
    border-style:none;
}

table.user td
{
    padding: 5px;
    border:0px;
}

table.user th
{
    padding: 0px 0px;
}

.dateTimeTd {
    min-width: 250px;
}

#maxUsersTextBox, .dateNoPast { /* add a little to the bottom when switch from unlimited */
    margin-bottom: 20px;
}

#col1
{
    width:30%
}

#dropdownListFeatures
{
    min-width:150px;
    height: auto;
}

#licenseContents
{
    min-width:70%;
    min-height:150px;
}

#commentsTextArea
{
    min-width:50%
}

.LicenseCol1a
{
    float:left;
    width:15em;
}

.LicenseCol1b
{
    float:left;
    width:6em
}

.advHighlight
{
    background-color: var(--hyland-purple);
    color:white;
}

/* Rebranded fonts
----------------------------------------------------------*/
@font-face {
  font-family:"hylfntw2";
  font-style:normal;
  font-display:swap;
  font-weight:200 900;
  src:url('fonts/source-sans-3/source-sans-3-latin-wght-normal.woff2') format("woff2-variations");
}
@font-face {
  font-family:"hylfntw2";
  font-style:italic;
  font-display:swap;
  font-weight:200 900;
  src:url('fonts/source-sans-3/source-sans-3-latin-wght-italic.woff2') format("woff2-variations");
}

/* post rebranding keeps
----------------------------------------------------------*/
form > div {
    background: linear-gradient(to right,var(--hyland-light-linear-gradient1),var(--hyland-light-linear-gradient2));
    padding: 20px;
    margin-bottom: 20px;
}

input[type=submit], input[type=button], #downloadFromEmail {
    background-color: var(--hyland-dark-blue);
    color: var(--default-background-color);
    border: 3px solid transparent;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: none;
    transition: 0.25s;
    backface-visibility: hidden;
    font-size: 16px;
    font-family: inherit;
}

input[type=submit]:hover, input[type=button]:hover, #downloadFromEmail:hover {
    border:3px solid var(--hyland-blue);
}

#logo img {
    height: 50px; /* defining height results in scaled width */
    margin: 20px 0px 10px 0px;
}

#menucontainer {
    margin-top: 0px;
    min-height: 46px;
    width: 570px; /* for the given font size to keep the items in the div in one line */
}
