/*Remove tap highlight on iOS/Android */
* {
  	-webkit-tap-highlight-color: rgba(0,0,0,0);
  	-webkit-touch-callout: none;
	-webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

:root {
	--white: #ffffff;
	--black: #101010;
	--maincolor: #2779aa;
	--maincolor-variant: #225988;
	--lightblue: #E8F0F6;
	--secondary-light-blue: #95c9e5; /* menu */
	--black-variant: #222222;
	--grey: #cccccc;
	--grey-variant: #aaaaaa;
	--lightgrey: #ebeef0;
	--lightgrey-variant: #f8f8f8;
	--darkgrey: #7b7b7b;
	--facebook-color: #2e4da7;
	--brown: #594841;
	--salmon: #ffb69d;
	--salmon-variant: #df8e73;
	--orange: #DD8500;
	--gold: #FED831;
	--silver: var(--grey);

	/* landing container */
	--primary-landing-bg: rgb(66, 66, 66);
	--primary-landing-bg-gradient: radial-gradient(circle, rgb(70, 70, 70) 0%, rgb(66, 66, 66) 90%);
	--primary-landing-text-color: var(--white);
	--landing-bg-lightbrown: rgb(222, 217, 212);
	--landing-bg-lightbrown-gradient: radial-gradient(circle, rgb(226, 221, 216) 0%, rgba(222,217,212,1) 90%);
	--landing-bg-lighbrown-text-color: var(--brown);
	--landing-bg-lightblue: rgb(160, 175, 184);
	--landing-bg-lightblue-gradient: radial-gradient(circle, rgba(164,179,188,1) 0%, rgba(160,175,184,1) 90%);
	--landing-bg-darkbrown: rgb(51, 43, 37);
	--landing-bg-darkbrown-gradient: radial-gradient(circle, rgba(55,47,41,1) 0%, rgba(51,43,37,1) 90%);

	/* text */
	--primary-text-color: var(--black-variant);
	--alternate-text-color: var(--white);
	--title-color: var(--orange);


	/* backgrounds */
	--primary-background-color: var(--white);
	--secondary-background-color: var(--lightgrey); /* submenu, content section backgrounds */
	--box-background: var(--lightgrey-variant); /* item boxes, result profiles */

	/* buttons */
	--primary-button-color: var(--maincolor);
	--primary-button-text-color: var(--white);
	--primary-button-hover-color: var(--maincolor-variant);
	--primary-button-disabled-color: var(--lightblue);

	--standardbutton-color: var(--lightblue);
	--standardbutton-text-color: var(--maincolor);
	--standardButton-hover-color: var(--white);
	--standardbutton-text-hover-color: var(--maincolor-variant);
	--standardbutton-disabled-color: var(--lightgrey);
	--standardbutton-disabled-text-color: var(--grey-variant);

	--alternate-button-color: var(--salmon);
	--alternate-button-text-color: #802100;
	--alternate-button-hover-color: var(--salmon-variant);
	--alternate-button-text-hover-color: #5f1800;
	--alternate-button-disabled-color: #ffede6;
	--alternate-button-disabled-text-color: #ddb9ad;

	/* links */
	--primary-link-color: var(--maincolor);
	--primary-link-hover-color: var(--maincolor-variant);
	--alternate-link-color: var(--salmon);
	--alternate-link-hover-color: var(--salmon-variant);


	/* input, textarea */
	--label-search: var(--grey-variant);
	--label-disabled: var(--grey);
	--input-searchbox-border-color: var(--grey-variant);
	--input-border-color: var(--maincolor);
	--input-border-focus-color: var(--maincolor-variant);
	--input-disabled-border-color: var(--grey);
	--input-disabled-color: var(--grey-variant);

	/* footer */
	--footer-background-color: var(--black);

	/* error, confirmation, highlight */
	--highlight-color: #FF3B30;
	--error-color: #FF3B30;
	--error-background-color: #ffbdbd;
	--confirmation-background-color: #daffda;
	--confirmation-color: #3a8121;

	/* password score colors */
	--score0: #EC0C00;
	--score1: #FF7000;
	--score2: #FFA521;
	--score3: #64AB4B;
	--score4: #4F8A10;

}

/* Layout styles */
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	min-width: 320px;
    background-color: var(--primary-background-color);
}

body.fixedBackground {
	overflow: hidden;
}

div, span, a {
	 -webkit-hyphens: auto;
	  hyphens: auto;
}

button, button div, .button, .button div, .standardButton, .printPedigree span  {
	-webkit-hyphens: none;
	hyphens: none;
}

html, body, input, textarea, select, label {
  	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: var(--primary-text-color);
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	border-radius: 3px;
}

table.fixedHeader {
	position: relative;
}

table th, table td {
	padding: 5px;
	text-align: left;
	position: relative;
}

table.fixedHeader th {
	position: sticky;
	position: -webkit-sticky;
	top: 60px;
	background-color: var(--primary-background-color);
	z-index: 1;
}

footer {
	font-size: 14px;
	background-color: var(--footer-background-color);
	padding: 0;
	display: block;
	width: 100%;
	color: var(--alternate-text-color);
	z-index: 1;
	transition: transform 0.4s ease 0s;
}

footer .icon-tba-logo {
	font-size: 56px;
	color: var(--alternate-text-color);
}

footer p {
	padding: 0 40px;
}

h1, h2, h3, h5 {
    color: var(--primary-text-color);
    clear: both;
	font-weight: 400;
	margin: 0;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4, .textHighlight {
	font-size: 16px;
	font-weight: 300;
	color: var(--maincolor);
	margin: 15px 0 5px 0;
}

h5 {
	font-size: 15px;
}

.contentSection h2, .contentSection h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--maincolor);
    font-weight: 300;
    text-transform: uppercase;
	padding: 10px 0;
	font-size: 26px;
}

.contentSection h3 {
	text-align: center;
}

img {max-width: 100%;}
input, textarea {width: 100%; outline: none;}
input, textarea {border: 1px solid var(--input-border-color); border-radius: 2px; box-sizing: border-box; padding: 3px;}
input:focus, textarea:focus {border: 2px solid var(--input-border-focus-color); padding: 2px; }
input[type=date] {width: auto; min-width: 125px; vertical-align: top; font-size: 90%;}
input[type=file] {border: none; height: auto;}
input[type=checkbox] {height: auto; width: auto !important; border: none;background-color:transparent; display: inline; }
input[type=radio] {height: auto; width: auto !important;border: none;background-color:transparent;}
textarea {resize: none; min-height: 47px; overflow: auto;}
input {height: 30px; box-sizing: border-box;}
select {height: 30px; width: 100%; margin-right: 3px; outline: none;}
select option {padding: 5px;}


label, .textLabel {
	font-weight: 600;
    text-align: left;
	word-wrap: break-word;
	width: 100%;
	margin-right: 5px;
}
label {cursor: pointer;}
label.disabled {
	font-weight: normal;
	color: var(--label-disabled);
	cursor: text;
}

a {
	text-decoration: none;
	color: var(--primary-link-color);
	cursor: pointer;
	word-wrap: break-word;
	transition: all 0.2s linear;
}
a:hover{color: var(--primary-link-hover-color);}
a img {border: 0;}

.buttonLink {
	font-size: 30px;
	cursor: pointer;
	color: var(--primary-link-color);
	transition: var(--linear-transition);
}

.buttonLink:hover {
	color: var(--primary-link-hover-color);
}

input[type=submit], button, .button {
	background-color: var(--primary-button-color);
	padding: 5px 14px;
	height: 30px;
	min-width: 140px;
	width: auto;
	border: 0;
	border-radius: 4px;
	color: var(--primary-button-text-color);
	cursor: pointer;
	font-size: 14px;
	display: flex;
	line-height: 1;
	align-items: center;
	justify-content: center;
	gap: 4px;
	transition: background-color 0.4s ease;
	margin: 0;
	font-weight: 400;
	outline: none;
	box-sizing: border-box;
}

input[type=submit]:hover, button:hover, .button:hover {background-color: var(--primary-button-hover-color);}

input[type=submit]:disabled, input[type=submit]:disabled:hover,
button:disabled, button:disabled:hover,
button.disabled, button.disabled:hover {
	background-color: var(--lightblue);
	cursor: not-allowed;
	color: var(--grey-variant);
}

input:disabled, textarea:disabled {border-color: var(--input-disabled-border-color); color: var(--input-disabled-color);}

ul {
    margin: 0;
    list-style-position: outside;
    padding-left: 25px;
}

li {
	list-style: outside none;
}

/* Mobile Menu */
.openMenu .main, .openMenu footer {
    transform: translate3d(280px, 0px, 0px);
}

.openMenu .backgroundOverlay.transparent {
	background-color: rgba(255,255,255,0.8);
	position: absolute;
}

/*Overlays*/

.backgroundOverlay.transparent {
    background: transparent;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 114;
	transition: transform 0.4s ease 0s;
}

.hideContent {display: none;}

.loadingIndicator {
	background-color: rgba(255,255,255,0.8);
    background-image: url("../images/ajaxload.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px auto;
    left: 0;
    position: absolute;
    width: 100%;
	z-index: 2;
	transition: all 0.3s ease;
}

.loadingIndicator.transparentBackground {
	background-color: transparent;
}

.standardDialog .loadingIndicator {
	top: 45px;
 	height: calc(100% - 45px);
}

.contentSection .loadingIndicator {
	top: 36px;
	height: calc(100% - 37px);
}

.pageContent.loadingIndicator {
	top: 0;
	height: 50px;
	position: relative;
	margin: 5px 0;
}

.fullPageContent.loadingIndicator {
	top:0;
	height: 100%;
	z-index: 1000;
	position: fixed;
}