* {
	margin: 0px;
	padding: 0px;
    outline: none; /* needed to avoid blue outline in jquery UI dialogs with links in the text. we never need outlines, so we put that here. */
    font-family: 'DM Sans', 'sans-serif';
    font-weight: 400;
}

body {
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 16%, rgba(198,200,213,1) 69%, rgba(169,169,189,1) 100%); /* two white stops because we have a logo at the top which may have a white background */
    min-height: 100vh; /* needed because gradient is repeated on sites with minimal content */
}

body, td, div {
    font-size: 16px;
}

img {
	border: 0px;
}

input[type="text"], input[type="password"], textarea, select, option { /* NB: firefox has a bug - the font-family is not applied to selection options */
    font-family: 'DM Sans', 'sans-serif';
    min-height: 30px;
}

input[type="color"] {
    min-height: 38px;
    max-width: 60px !important;
}

input[type="radio"][disabled] + label {
    color: #aa0000;
}

input, textarea {
    padding-left: 2px;
}

label, input[type="radio"], input[type="checkbox"] {
    vertical-align: top;
}

label {
    padding-left: 5px;
    font-weight: normal;
}

h1 {
    font-family: 'DM Sans', 'sans-serif';
    padding-bottom: 10px;
    /* text-shadow: horizontal-offset vertical-offset blur color; */
    text-shadow: 0px 2px 3px rgba(0,0,0,0.4),
                 0px 4px 13px rgba(0,0,0,0.1),
                 0px 9px 23px rgba(0,0,0,0.1);
}

h1 small {
    text-shadow: 0px 2px 3px rgba(0,0,0,0.2),
                 0px 4px 13px rgba(0,0,0,0.05),
                 0px 9px 23px rgba(0,0,0,0.05);
}

h2 {
    font-family: 'DM Sans', 'sans-serif';
    padding-bottom: 6px;
    /* text-shadow: horizontal-offset vertical-offset blur color; */
    text-shadow: 0px 1px 2px rgba(0,0,0,0.4),
                 0px 2px 6px rgba(0,0,0,0.1),
                 0px 3px 11px rgba(0,0,0,0.1);
}

h3 {
    font-family: 'DM Sans', 'sans-serif';
    padding-bottom: 6px;
}

h4 {
    font-family: 'DM Sans', 'sans-serif';
    padding-bottom: 6px;
}

ul, ol {
    display: block;
    /*list-style-type: square;*/
    list-style-position: outside;
    margin-left: 15px; /* this was commented out (and list-style-position: inside was used) in order to properly show the numbers/bullets in the new TinyMCE editor but it seems that using the margin in combination with list-style-position: outside is the better approach */
    /*text-indent: -3px;*/ /* this is needed to properly show the numbers/bullets in the new TinyMCE editor */
    padding-left: 5px;
}

#headerDiv {
    margin-top: 40px;
}

#headerDiv img {
    max-width: 400px;
    max-height: 120px;
}

#mainDiv {
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 200px;
}

#mainPopupDiv {
    float: left;
    padding: 10px;
}

#footerDiv {
    /*width: inherit;*/
    margin-top: 10px;
    /*border-top: 1px solid #dee0e1;*/
    text-align: right;
    padding-top: 10px;
    padding-bottom: 50px;
}

#footerDiv img {
    padding-bottom: 2px;
}

#waitingListSearchLinkBlock {
    margin-top: 40px;
}

.topNavLinks {
    margin-bottom: 10px;
}

.dataTables_filter input {
    border-width: 1px;
    border-style: solid;
    font-weight: normal;
}

.separatorLine {
    border-top: 1px solid #dee0e1;
}

.separatorLineThick {
    border-top: 2px solid #bec0c1;
}

.popupBody {
    background-color: #FFFFFF;
}

.boxWithOutline {
    border-radius: 4px;
    border: 4px solid #555555;
    padding: 10px;
    background-color: #efefef;
}

.nowrap {
    white-space: nowrap;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.vat {
    vertical-align: top;
}

.vam {
    vertical-align: middle;
}

.vab {
    vertical-align: bottom;
}

.tdl {
    padding: 1px 2px 1px 0px;
}

.tdm {
    padding: 1px 2px 1px 2px;
}

.tdr {
    padding: 1px 0px 1px 2px;
}

.tdbl {
    border-bottom: 1px solid #dee0e1;
}

.breadcrumbHighlighted {
    font-weight: 700;
    color: #444444;
}

.breadcrumbNormal {
    color: #888888;
}

.pluploadArea {
    border-top: 1px solid #5b5e60;
    padding-top: 10px;
    border-bottom: 1px solid #5b5e60;
    padding-bottom: 10px;
}

.formEltLabel {
    padding-bottom: 3px;
}

.formEltLabelMandatory {
    padding-bottom: 3px;
}

.formEltLabelMandatory:after {
    content: " *";
    color: #CC0000;
    font-weight: 700;
}

.formEltInfoTxt {
    padding-top: 4px;
    font-size: 13px;
    color: #444444;
    /*padding-left: 20px;
    background-image: url(../Images/information.png);
    background-repeat: no-repeat;*/
    /*float: left;*/
    /*background-position: left 3px;*/
}

.formEltTextField {
    width: 100% !important;
}

.formEltPasswordField {
    width: 100% !important;
}

.formEltTextArea {
    width: 100% !important;
}

.formEltSelect {
    width: 100% !important;
}

.formEltCbWithLabel {
    display: inline-block;
    padding-right: 10px;
}

.formElementFeatureCheckAllLink {
    padding-top: 5px;
    float: left;
    padding-right: 20px;
}

.formElementFeatureGeneric {
    padding-top: 5px;
    float: left;
    padding-right: 20px;
}

.wideTable {
    width: 100%;
}

.listTable { /* rounded corners style inspired by https://unused-css.com/blog/css-rounded-table-corners/ */
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
    border: solid black 1px;
    border-radius: 4px;
    overflow: hidden;
}

.listTable th {
    padding: 2px 4px;
    background-color: #555555;
    color: white;
    vertical-align: top;
    text-align: left;
    /*border-left: solid black 1px;*/
    border-top: none;
}

.listTable td {
    padding: 3px;
    vertical-align: top;
    /*border-left: solid black 1px;*/
    border-top: solid black 1px;
}

.listTable td:first-child, .listTable th:first-child {
    border-left: none;
}

/* link styles >>>>>>>> */

a:link    { color: #444444; text-decoration: none; font-weight: bold; }
a:visited { color: #444444; text-decoration: none; font-weight: bold; }
a:active  { color: #444444; text-decoration: none; font-weight: bold; }

a {
    color: #444444;
    position: relative;
}

a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #555555;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
    a:hover::before {
        left: 0;
        right: auto;
        width: 100%;
    }
}

/* <<<<<<<< link styles */

.cursorHand {
    cursor: pointer;
    cursor: hand;
}

.formFields {
    border-radius: 4px;
    background-color: #ececec;
    border: 4px solid #dadada;
}

.formElementBlockContainer {
    padding: 4px;
}

.formElementWrapperTable {
    width: 100%;
}

.topMarginTransp {
    margin: 3px 0px 0px 0px;
}

.topAndBottomMarginTransp {
    margin: 3px 0px 3px 0px;
}

.bottomMarginTransp {
    margin: 0px 0px 3px 0px;
}

.formElementBlock {
    padding: 4px 7px 4px 4px;
}

.formEltWithProblem {
    border: 4px solid #DC2520;
    border-radius: 4px;
}

.messageBlock {
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
}

.successMsg  {
    background-color: #539453; /* needed to avoid pixelated display in IE when we fade out with jquery */
    color: #ffffff;
    border: 4px solid #226622;
    font-weight: normal;
}

.noticeMsg  {
    color: #DE6E22;
    border: 4px solid #DE6E22;
}

.warningMsg  {
    color: #DE6E22;
    border: 4px solid #DE6E22;
}

.errorMsg {
    background-color: #df4944; /* needed to avoid pixelated display in IE when we fade out with jquery */
    color: #ffffff;
    border: 4px solid #DC2520;
    font-weight: normal;
}

.singleFormElementErrorMsg {
    color: #DC2520;
    /*border: 2px solid #DC2520;*/
    font-weight: 700;
    /*width: 300px;*/
    text-align: center;
}

/*.button {
    width: 100px;
    height: 26px;
    font-size: 15px;
    font-weight: 700;
    color: #303030;
}*/

.twoDigitTextField {
    width: 30px;
}

.minWidthTable {
    min-width: 100px;
}

.inactive {
    color: #CCCCCC;
}

.highlightedText {
    color: #009fe3;
}

.filesizeSpan {
    padding-left: 5px;
}

.ui-datepicker-trigger {
    vertical-align: middle;
    cursor: pointer;
    cursor: hand;
    padding-left: 2px;
}

.clear {
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

.page-break  {
    display: none;
}

.bi-info-circle-fill { /* bootstrap info icon */
    color:#0a58ca;
}

.bi-arrow-right-circle-fill { /* bootstrap right arrow icon */
    color: #0a58ca;
}

/* hide close button on all jquery ui dialogs */
.ui-dialog-titlebar-close {
    visibility: hidden;
}

.noSel { /* prevents text highlighting on double click */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/* ============= */
/* media queries */
/* ============= */
@media only screen and (max-width: 767px) {
    body, td, div {
        font-size: 12px;
    }

    h1 {
        font-size: calc(1.1rem + .6vw);
    }

    h2 {
        font-size: calc(1.0rem + .6vw);
    }

    h3 {
        font-size: calc(0.9rem + .6vw);
    }

    h4 {
        font-size: calc(0.8rem + .6vw);
    }

    h5 {
        font-size: calc(0.7rem + .6vw);
    }

    .form-control, .btn { /* override bootstrap styles */
        font-size: 12px;
    }

    .formEltInfoTxt {
        font-size: 10px;
    }

    .messageBlock {
        font-size: 15px;
    }

    #headerDiv img {
        max-width: 267px;
        max-height: 80px;
    }
}